From mwieder at ahsoftware.net Mon Jul 1 00:34:28 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 30 Jun 2013 21:34:28 -0700 Subject: OT: Android file locations In-Reply-To: References: Message-ID: <114392860182.20130630213428@ahsoftware.net> > I can see the pictures in the Android gallery in an album labeled > "Bluetooth". Now I'd like to transfer them off the tablet into a web thingy > somewhere, but I don't know where to find them. Any clues as to where to > find them and how to transfer them out? For anyone who still cares about this (or remembers) I found the pictures thanks to ES File Explorer in a folder called Bluetooth. I dropboxed them off the tablet and all is well. -- -Mark Wieder mwieder at ahsoftware.net From gcanyon at gmail.com Mon Jul 1 01:53:02 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 1 Jul 2013 00:53:02 -0500 Subject: Weekend challenge In-Reply-To: <51D0F96D.9090704@hyperactivesw.com> References: <1372637090.80204.YahooMailBasic@web120505.mail.ne1.yahoo.com> <51D0CD04.20205@hyperactivesw.com> <51D0F96D.9090704@hyperactivesw.com> Message-ID: Okay, this is a beast, and in no way good or generalized. It doesn't use the previous function, instead just going through line by line and flagging all the issues it sees in one pass. It should: 1. Flag any new ID that doesn't have just two items on the line. 2. Following that line, flag if the next line doesn't have just 3 items 3. Flag any line that doesn't have an ID 4. Flag any line that doesn't have a section. 5. Flag any line where the ID is a duplicate of any previous section, subsection or type. 6. Flag any line where the section is a duplicate of any previous id, subsection or type. 7. Flag any line where the subsection is a duplicate of any previous id, or section 8, Flag any line where the subsection is a duplicate of a previous type that was under a different subsection 9. Flag any line where the subsection is empty, unless it's line 1 or 2 of a new ID 10. Flag any line where the type is a duplicate of any previous id or section 11. Flag any line where the type is a duplicate of any previous subsection, unless that is the current subsection. 12. Flag any line where the type is a duplicate of any previous type. 13. Flag any line where the type is empty, unless it is line 1 or 2 of a new ID 14. Flag any line where OP1 or OP2 is not one of the allowed values, or they are the same. I might be missing some, but I think that's it. If you choose to use this feel free to check in with me with any questions. In the words of Gene Wilder, "It's alive! But watch for page breaks." function validateList aList put 0 into lineNumber put "DIV,1 MULT,1 PLUS,1 MINUS,1 COUNT,1" into OP split OP using space and comma repeat for each line L in aList add 1 to lineNumber put empty into lineError put L into W split W using tab -- Check to see if this should be the second line of an ID with three items if W[1] is empty then put " -- ID missing" & cr after lineError else if W[1] is lastID then put false into newID else if itemList[1][W[1]] is not empty then put " -- ID out of order" & cr after lineError if W[3] is not empty or W[4] is not empty then put " -- FIrst line of ID has wrong item count" & cr after lineError put 1 into itemList[1][W[1]] if itemList[2][W[1]] + itemList[3][W[1]] + itemList[4][W[1]] > 0 then put " -- ID is a duplicate" & cr after lineError put true into newID put W[1] into lastID end if end if if W[2] is empty then put " -- Section missing" & cr after lineError else if W[2] is not lastSection and itemList[2][W[2]] is not empty then put " -- Section out of order" & cr after lineError put 1 into itemList[2][W[2]] if itemList[1][W[2]] + itemList[3][W[2]] + itemList[4][W[2]] > 0 then put " -- Section is a duplicate" & cr after lineError put W[2] into lastSection end if if newID and W[3] is empty and W[4] is empty then put true into newSection next repeat end if if W[3] is empty then put " -- Subsection missing" & cr after lineError else if W[3] is not lastSubsection and itemList[3][W[3]] is not empty then put " -- Subsection out of order" & cr after lineError put 1 into itemList[3][W[3]] if itemList[1][W[3]] + itemList[2][W[3]] + itemList[5][W[3]] > 0 then put " -- Subsection is a duplicate" & cr after lineError put W[3] into lastSubsection end if if newSection then put false into newSection if W[4] is empty then next repeat put " -- Second line of new ID has wrong item count" & cr after lineError end if split W[4] using "|" if W[4][1] is empty then put " -- Type missing" & cr after lineError else if W[4][1] is not lastType and itemList[4][W[4][1]] is not empty then put " -- Type out of order" & cr after lineError if (W[4][1] is not W[3] and itemList[3][W[4][1]] is not empty) or itemList[1][W[4][1]] + itemList[2][W[4][1]] + itemList[4][W[4][1]] > 0 then put " -- Type is a duplicate" & cr after lineError put 1 into itemList[4][W[4][1]] if W[4][1] is not W[3] then put 1 into itemList[5][W[4][1]] put W[4][1] into lastType end if if OP[W[4][2]] is empty then put " -- OP1 is empty" & cr after lineError if OP[W[4][3]] is empty then put " -- OP2 is empty" & cr after lineError if W[4][2] = W[4][3] then put " -- OP values are the same" & cr after lineError if lineError is not empty then put lineNumber && L & cr & lineError & cr after R end repeat return R end validateList From john at onechip.com Mon Jul 1 02:41:41 2013 From: john at onechip.com (John) Date: Sun, 30 Jun 2013 23:41:41 -0700 Subject: User's language Message-ID: <28D2E0AD-9F74-4A42-9672-7911C70DFC6D@onechip.com> I am not sure how localizations are supposed to work in Live Code. I understand including the ".lproj" indicates which languages you intend to support, but how do I determine the language that the user currently has his computer set for? A search of the dictionary seems to indicate that this information is available for mobile but I can't find any entries for the desktop. Thanks, John From toolbook at kestner.de Mon Jul 1 04:08:43 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 1 Jul 2013 10:08:43 +0200 Subject: Win stack crashes on Mac when opening Message-ID: <000c01ce7632$34a230d0$9de69270$@de> Hello, I have a few years old LC stack, my main development platform is windows. On Mac I do additional testing, last polishes and creating the Mac standalone. Since LC 5.5.3 I can't open this stack on Mac anymore. LC crashes immediately. This behavior also happens with LC 6.0.2. The only workaround by now is to save the stack in legacy format 2.7. In that format the stack can be opened on Mac. But that's no lasting option for the future. Has anybody experienced this behavior or even better has any recipe, what I could check for? (QC bug is reported) Thanks Tiemo From toolbook at kestner.de Mon Jul 1 04:57:33 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 1 Jul 2013 10:57:33 +0200 Subject: how to rebuild a stack from scatch? Message-ID: <001701ce7639$075de310$1619a930$@de> Hello, see my previous posting, I have the feeling that my stack file is somehow corrupted and I won't find a solution to get it back to a stable and healthy LC stack. Now is my thinking to rebuild my stack from scratch in a new fresh stack file, but I am not sure is there is any approach to do that, beside building everything manually. As far as I can see it, I can't copy complete stacks from one stack file to another, neither cards, only objects. Would it be the way to do that, to build first a new empty main stack with its cards and properties manually, then copy all objects and scripts from the old mainstack to the new main stack and then assign the old substacks to the new main stack, saving the new stack file and hoping the corruption is gone? Or any better approaches recommended? Thanks Tiemo From matthias_livecode_150811 at m-r-d.de Mon Jul 1 05:33:21 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 1 Jul 2013 11:33:21 +0200 Subject: how to rebuild a stack from scatch? In-Reply-To: <001701ce7639$075de310$1619a930$@de> References: <001701ce7639$075de310$1619a930$@de> Message-ID: Hi Timo, regarding copying stacks, you could use message box clone stack "your substack" The cloned substack is copied as main stack and is named "copy of your substack" You could then assign this stack as substack to your newly created mainstack. This way your original stack remains as it is. Regards, Matthias Am 01.07.2013 um 10:57 schrieb Tiemo Hollmann TB : > Hello, > > > > see my previous posting, I have the feeling that my stack file is somehow > corrupted and I won't find a solution to get it back to a stable and healthy > LC stack. Now is my thinking to rebuild my stack from scratch in a new fresh > stack file, but I am not sure is there is any approach to do that, beside > building everything manually. As far as I can see it, I can't copy complete > stacks from one stack file to another, neither cards, only objects. > > > > Would it be the way to do that, to build first a new empty main stack with > its cards and properties manually, then copy all objects and scripts from > the old mainstack to the new main stack and then assign the old substacks to > the new main stack, saving the new stack file and hoping the corruption is > gone? > > > > Or any better approaches recommended? > > Thanks > > Tiemo > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Mon Jul 1 06:05:35 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 1 Jul 2013 12:05:35 +0200 Subject: AW: Win stack crashes on Mac when opening - solved In-Reply-To: <000c01ce7632$34a230d0$9de69270$@de> References: <000c01ce7632$34a230d0$9de69270$@de> Message-ID: <005401ce7642$87fdcf40$97f96dc0$@de> Hello, my compliments and respect to the runrev support (Mark Waddingham)! Filing a QCC report this morning Mark confirmed my bug and gave me a workaround within 2 hours. The problem is that the title string (containing german characters) in the stackfile is being translated incorrectly when going from Windows -> Mac, which is leading into a crash. Setting the stack title in preopen stack is a pretty welcome workaround for me. The problem will be fixed in the next build. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Tiemo Hollmann TB > Gesendet: Montag, 1. Juli 2013 10:09 > An: 'How to use LiveCode' > Betreff: Win stack crashes on Mac when opening > > Hello, > > > > I have a few years old LC stack, my main development platform is windows. > On Mac I do additional testing, last polishes and creating the Mac > standalone. > Since LC 5.5.3 I can't open this stack on Mac anymore. LC crashes > immediately. This behavior also happens with LC 6.0.2. The only workaround > by now is to save the stack in legacy format 2.7. In that format the stack > can be opened on Mac. But that's no lasting option for the future. > > > > Has anybody experienced this behavior or even better has any recipe, what I > could check for? (QC bug is reported) > > > > Thanks > > Tiemo > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m_p_wilcox at yahoo.co.uk Mon Jul 1 06:18:39 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Mon, 1 Jul 2013 11:18:39 +0100 (BST) Subject: Augmented reality with LiveCode ? In-Reply-To: <51D0DEDD.10501@hindu.org> References: <3F146744-998A-44BC-9C32-91CEE4C30F95@gmail.com> <51D0DEDD.10501@hindu.org> Message-ID: <1372673919.23802.YahooMailNeo@web28805.mail.ir2.yahoo.com> > Is there any way or tool for creating an Augmented Reality app for iOS using LiveCode ? LiveCode is (currently at least) a truly terrible tool for building augmented reality apps - primarily because it has no functionality for handling 3d content or 3d rendering. ?Even if you're doing the sort of AR that's based on sensor input and location with 2d overlays rather than marker or point cloud recognition, you still need to render in a 3d world. ?With an external you'd either have to handle all of the 3d stuff outside of LiveCode, or build quite a complex interface to enable it to be managed from LiveCode. At least until LiveCode adds 3d graphics capabilities the best general purpose environment for building cross-platform AR apps is Unity and the best library/plugin for tracking markers or point clouds is Qualcomm's Vuforia. ?I'd suggest looking at those first. Mark From toolbook at kestner.de Mon Jul 1 07:05:03 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 1 Jul 2013 13:05:03 +0200 Subject: AW: how to rebuild a stack from scatch? In-Reply-To: References: <001701ce7639$075de310$1619a930$@de> Message-ID: <006a01ce764a$d69a7fb0$83cf7f10$@de> Vielen Dank f?r den Tipp Matthias! Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Matthias Rebbe > Gesendet: Montag, 1. Juli 2013 11:33 > An: How to use LiveCode > Betreff: Re: how to rebuild a stack from scatch? > > Hi Timo, > > regarding copying stacks, you could use message box > > clone stack "your substack" > > The cloned substack is copied as main stack and is named "copy of your > substack" > > You could then assign this stack as substack to your newly created > mainstack. > This way your original stack remains as it is. > > Regards, > > Matthias > > Am 01.07.2013 um 10:57 schrieb Tiemo Hollmann TB : > > > Hello, > > > > > > > > see my previous posting, I have the feeling that my stack file is > > somehow corrupted and I won't find a solution to get it back to a > > stable and healthy LC stack. Now is my thinking to rebuild my stack > > from scratch in a new fresh stack file, but I am not sure is there is > > any approach to do that, beside building everything manually. As far > > as I can see it, I can't copy complete stacks from one stack file to > another, neither cards, only objects. > > > > > > > > Would it be the way to do that, to build first a new empty main stack > > with its cards and properties manually, then copy all objects and > > scripts from the old mainstack to the new main stack and then assign > > the old substacks to the new main stack, saving the new stack file and > > hoping the corruption is gone? > > > > > > > > Or any better approaches recommended? > > > > Thanks > > > > Tiemo > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sims at ezpzapps.com Mon Jul 1 08:02:54 2013 From: sims at ezpzapps.com (Jim Sims) Date: Mon, 1 Jul 2013 13:02:54 +0100 Subject: Livecode 5.5.5 and what? Message-ID: <20DF4DBE-CD02-4E4C-B629-3F63903329DE@ezpzapps.com> Hello - been far far away from (many) things for a while :-P I have LiveCode version 5.5.5 (also have 5.5.4) and Xcode 4.4.1 Can anyone please tell me: 1. can I use 5.5.5 and Xcode 4.4.1 to make test iOS apps with that version? In other words, do an ad hoc thing on Apple Developer and then use iTunes to load onto an iPad? [Do the above and maybe not submit it to the Apple Store but just do testing on an iPad] 2. if the above is a no-can-do now, what do I need for doing the above? 3. what versions of LiveCode and Xcode do I need to actually submit to the Apple Store now? sims From mcgrath3 at mac.com Mon Jul 1 08:58:58 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 01 Jul 2013 08:58:58 -0400 Subject: Livecode 5.5.5 and what? In-Reply-To: <20DF4DBE-CD02-4E4C-B629-3F63903329DE@ezpzapps.com> References: <20DF4DBE-CD02-4E4C-B629-3F63903329DE@ezpzapps.com> Message-ID: Jim, I use 5.5.5 for all of my current testing. But I use xCode 4.6.3 and have successfully published to the App store with that combo. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jul 1, 2013, at 8:02 AM, Jim Sims wrote: > Hello - been far far away from (many) things for a while :-P > > I have LiveCode version 5.5.5 (also have 5.5.4) and Xcode 4.4.1 > > Can anyone please tell me: > > 1. can I use 5.5.5 and Xcode 4.4.1 to make test iOS apps with that version? > In other words, do an ad hoc thing on Apple Developer and then use iTunes to load onto an iPad? > [Do the above and maybe not submit it to the Apple Store but just do testing on an iPad] > > 2. if the above is a no-can-do now, what do I need for doing the above? > > 3. what versions of LiveCode and Xcode do I need to actually submit to the Apple Store now? > > sims > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sims at ezpzapps.com Mon Jul 1 09:51:36 2013 From: sims at ezpzapps.com (Jim Sims) Date: Mon, 1 Jul 2013 14:51:36 +0100 Subject: Subject: Re: Livecode 5.5.5 and what? Message-ID: <80264417-B323-4863-8185-D09C305D21EB@ezpzapps.com> Thank you Tom and Pierre. Ciao ciao, sims From ben at runrev.com Mon Jul 1 10:49:34 2013 From: ben at runrev.com (Benjamin Beaumont) Date: Mon, 1 Jul 2013 15:49:34 +0100 Subject: BETA RELEASE: LiveCode 6.1.0 Release Candidate 2 In-Reply-To: References: <57865428-8620-4F5B-850A-3B55C0CE2CE4@all-auctions.com> <51CC8C68.50206@gmail.com> <08AB4408-1E64-4DC0-928B-4647EAF443A4@all-auctions.com> <51CCB6E9.8040208@hyperactivesw.com> <0324C30A-B794-4221-AB1F-F3A3C5BFA4DA@revigniter.com> Message-ID: Hi Richard, The commercial version of server is fully integrated into our build system. We're just working out the best way to deliver it considering that the server product requires no activation. In the past, we created a generic password protected download, however, as our user base is growing rapidly via the commercial edition, we need to look at a slightly different deliver mechanism. We'll have this resolved soon providing you with commercial server builds for every release we make. At the moment, if there is a specific build you require, simply email support and they will send you the installer. Warm regards, Ben On 30 June 2013 00:07, Dr. Hawkins wrote: > On Thu, Jun 27, 2013 at 3:51 PM, Monte Goulding > wrote: > > It could be that commercial server is not yet integrated into the > automated build process... > >could be a lower priority because 99.99% of server use cases will be > covered by community... > > If I have to re-write in php (or whatever) to make a web version (open > source of the product is just plain not an option, for reason I've > discussed in the past), it's not much of a step to flat-out compile in > another language while I'm at it for the desktop. > > The server version being "second class" will be a deal-stopper for > commercial use . . . > > -- > 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 > -- _____________________________________________ 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 Jul 1 12:32:21 2013 From: ben at runrev.com (Benjamin Beaumont) Date: Mon, 1 Jul 2013 17:32:21 +0100 Subject: BETA RELEASE: LiveCode 6.1.0 RC3 Message-ID: Dear All, We are pleased to announce the release of LiveCode 6.1.0-rc-3. This is a release candidate not a stable release so please be sure to make backups of your stacks before testing. We expect this to be the final release candidate for this cycle with the stable release to be pushed out shortly, assuming not major bugs are reported. *Installation* The easiest way to update is to choose "check for updates" from the help menu in LiveCode. Alternatively, you can download the installers manually here: http://downloads.livecode.com/livecode/6_1_0/ *This release contains the following changes* - Crash when using 'flip' on a referenced image. - Images with filenames that look like URLs can cause slowdown. - ASCII string check - UUID Generation - Improved properties Property - Additional statistical functions - Activation removed in Community edition - The cardIds of group - The childControlNames and childControlIds of group - the effective visible - Chained Behaviors - iOS Remote Control Support - Locking Group Updates - Random Number Generation - Getting the Page Ranges of a Field - 18 bug fixes: 11006 - Crash on Mac when attempting to load a stack with non-ascii title after transferring from Windows. - 10989 - mobilePickPhoto ignores size parameters if they are passed as strings and not numbers. - 10991 - If a memory warning is received whilst acceleratedRendering mode is enabled, a crash can occur on iOS. - 10990 - Memory leak when using acceleratedRendering on iOS in certain cases. - 10986 - 'select before/after field ...' selects the field object, rather than the text in the field. - 10982 - RevDB doesn't work with LiveCode server on Mac - 10914 - PIE binaries are now built for ARMv7+ meaning the 'Non-PIE Binary' warning from iTunes Connect should no longer occur. - 10976 - Ungrouping objects can result in their id's changing. - 10975 - Image objects don't properly resolve filenames to be absolute before searching the cache. - 10974 - Instability in acceleratedRendering caused in specific circumstances when a static layer moves just above a dynamic layer. - 10967 - Import snapshot on 16-bit displays on Windows causes a blank image to be produced. - 10966 - Fetching properties of function expressions now works correctly (e.g. the name of controlAtLoc(the mouseLoc)). - 10961 - Passing script locals as parameters to external functions doesn't work correctly in behaviors. - 10960 - Getting 'the lockUpdates of ' now works correctly. - 10950 - 'is a color' now checks the input string more carefully, in particular it doesn't allow trailing characters, or more than 3 items. - 10945 - mobileControls() returns deleted controls in the list - 10926 - 'filter' does not honour the lineDelimiter property. - 10863 - Group command doesn't throw an error when attempting to group a shared group. Warm regards, The LiveCode Team From jacque at hyperactivesw.com Mon Jul 1 13:46:37 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 01 Jul 2013 12:46:37 -0500 Subject: Weekend challenge In-Reply-To: References: <1372637090.80204.YahooMailBasic@web120505.mail.ne1.yahoo.com> <51D0CD04.20205@hyperactivesw.com> <51D0F96D.9090704@hyperactivesw.com> Message-ID: <51D1C07D.3060100@hyperactivesw.com> On 7/1/13 12:53 AM, Geoff Canyon wrote: > Okay, this is a beast, and in no way good or generalized. It doesn't use > the previous function, instead just going through line by line and flagging > all the issues it sees in one pass. Thanks Geoff, I'll definitely look it over. I actually won't have to use it though because I was excused from the exercise, the server is doing it instead. But it bugged me that I couldn't write a nice, neat handler to do it. The backstory: The client wanted a data verification check performed on both the server and in the LiveCode stacks. I spent a weekend toiling over this, I probably wrote six or eight different versions using different methods. I never did produce anything neat and compact, so the next Monday I asked the server person how they did it. They replied with a four or five line algorithm which was very close to one of my initial attempts, but they didn't have to do any duplicate checking. Apparently there's a way in Rails to do that easily. They were bouncing arrays around. A couple of my attempts used arrays but looping through all the sub-keys wasn't any easier than just looping through the list. I was feeling kind of miffed that they were able to produce a workable script in a couple of hours and I'd been messing with it for days. Fortunately the client said never mind, they would just use the one on the server, and that I should move on to other things. I was not disappointed, but it did leave me feeling kind of stupid (and a little defensive about LiveCode.) I was relieved that no one here jumped in to say "oh, just do this". But I still wonder if I was missing some cool trick. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From roger.e.eller at sealedair.com Mon Jul 1 14:27:48 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 1 Jul 2013 14:27:48 -0400 Subject: BETA RELEASE: LiveCode 6.1.0 RC3 In-Reply-To: References: Message-ID: Ben, When 6.1.0 goes GM, is the commercial version still going to be AMW (annoy-me-ware) like 6.0.2? What I mean is that a final released "paid" product shouldn't be telling me to go on-line and get a fresh license file every few weeks, IMHO. 6.0.2 is telling me that I will need a new license in 6 days. None of the commercial versions prior have done this. ~Roger On Mon, Jul 1, 2013 at 12:32 PM, Benjamin Beaumont wrote: > Dear All, > > We are pleased to announce the release of LiveCode 6.1.0-rc-3. This is a > release candidate not a stable release so please be sure to make backups of > your stacks before testing. We expect this to be the final release > candidate for this cycle with the stable release to be pushed out shortly, > assuming not major bugs are reported. > > *Installation* > > The easiest way to update is to choose "check for updates" from the help > menu in LiveCode. Alternatively, you can download the installers manually > here: http://downloads.livecode.com/livecode/6_1_0/ > > *This release contains the following changes* > > - Crash when using 'flip' on a referenced image. > - Images with filenames that look like URLs can cause slowdown. > - ASCII string check > - UUID Generation > - Improved properties Property > - Additional statistical functions > - Activation removed in Community edition > - The cardIds of group > - The childControlNames and childControlIds of group > - the effective visible > - Chained Behaviors > - iOS Remote Control Support > - Locking Group Updates > - Random Number Generation > - Getting the Page Ranges of a Field > - 18 bug fixes: 11006 - Crash on Mac when attempting to load a stack > with non-ascii title after transferring from Windows. > - 10989 - mobilePickPhoto ignores size parameters if they are passed > as strings and not numbers. > - 10991 - If a memory warning is received whilst acceleratedRendering > mode is enabled, a crash can occur on iOS. > - 10990 - Memory leak when using acceleratedRendering on iOS in > certain cases. > - 10986 - 'select before/after field ...' selects the field object, > rather than the text in the field. > - 10982 - RevDB doesn't work with LiveCode server on Mac > - 10914 - PIE binaries are now built for ARMv7+ meaning the 'Non-PIE > Binary' warning from iTunes Connect should no longer occur. > - 10976 - Ungrouping objects can result in their id's changing. > - 10975 - Image objects don't properly resolve filenames to be > absolute before searching the cache. > - 10974 - Instability in acceleratedRendering caused in specific > circumstances when a static layer moves just above a dynamic layer. > - 10967 - Import snapshot on 16-bit displays on Windows causes a > blank image to be produced. > - 10966 - Fetching properties of function expressions now works > correctly (e.g. the name of controlAtLoc(the mouseLoc)). > - 10961 - Passing script locals as parameters to external functions > doesn't work correctly in behaviors. > - 10960 - Getting 'the lockUpdates of ' now works correctly. > - 10950 - 'is a color' now checks the input string more carefully, in > particular it doesn't allow trailing characters, or more than 3 > items. > - 10945 - mobileControls() returns deleted controls in the list > - 10926 - 'filter' does not honour the lineDelimiter property. > - 10863 - Group command doesn't throw an error when attempting to > group a shared group. > > > Warm regards, > > The LiveCode Team > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From revdev at pdslabs.net Mon Jul 1 14:30:13 2013 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 01 Jul 2013 11:30:13 -0700 Subject: User's language In-Reply-To: <28D2E0AD-9F74-4A42-9672-7911C70DFC6D@onechip.com> References: <28D2E0AD-9F74-4A42-9672-7911C70DFC6D@onechip.com> Message-ID: <51D1CAB5.3030808@pdslabs.net> Hi John, Not sure if this gives the absolutely authoritative info about the system's language, but it should be at least semi-authoritative: On a Mac: put shell("locale") into tMyInfo -- then look for the line in tMyInfo that starts with "LANG=" on Windows (at least Win7): put shell("systeminfo") into tMyInfo -- then look for the line in tMyInfo that starts with "System Locale:" HTH - Phil Davis On 6/30/13 11:41 PM, John wrote: > I am not sure how localizations are supposed to work in Live Code. I understand including the ".lproj" indicates which languages you intend to support, but how do I determine the language that the user currently has his computer set for? A search of the dictionary seems to indicate that this information is available for mobile but I can't find any entries for the desktop. > > Thanks, > John > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From scott at tactilemedia.com Mon Jul 1 14:43:01 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 01 Jul 2013 11:43:01 -0700 Subject: User's language In-Reply-To: <28D2E0AD-9F74-4A42-9672-7911C70DFC6D@onechip.com> Message-ID: You're welcome to try the language stack on my site. In your message box: go url "http://www.tactilemedia.com/site_files/downloads/language_specs.livecode" Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 6/30/13 11:41 PM, "John" wrote: > > I am not sure how localizations are supposed to work in Live Code. I >understand including the ".lproj" indicates which languages you intend to >support, but how do I determine the language that the user currently has >his computer set for? A search of the dictionary seems to indicate that >this information is available for mobile but I can't find any entries for >the desktop. > >Thanks, >John >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Mon Jul 1 14:54:48 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 1 Jul 2013 20:54:48 +0200 Subject: BETA RELEASE: LiveCode 6.1.0 RC3 In-Reply-To: References: Message-ID: <50D82EFD-4966-48C4-AD60-1B6A9369FF63@m-r-d.de> Roger, i never experienced such a behavior with LC 6.0.2 under Mac OS X. Did you license your LiveCode version offline with a license file or did you license it with your emailadress/password? Regards, Matthias Am 01.07.2013 um 20:27 schrieb Roger Eller : > Ben, > > When 6.1.0 goes GM, is the commercial version still going to be AMW > (annoy-me-ware) like 6.0.2? What I mean is that a final released "paid" > product shouldn't be telling me to go on-line and get a fresh license file > every few weeks, IMHO. 6.0.2 is telling me that I will need a new license > in 6 days. None of the commercial versions prior have done this. > > ~Roger > > > On Mon, Jul 1, 2013 at 12:32 PM, Benjamin Beaumont wrote: > >> Dear All, >> >> We are pleased to announce the release of LiveCode 6.1.0-rc-3. This is a >> release candidate not a stable release so please be sure to make backups of >> your stacks before testing. We expect this to be the final release >> candidate for this cycle with the stable release to be pushed out shortly, >> assuming not major bugs are reported. >> >> *Installation* >> >> The easiest way to update is to choose "check for updates" from the help >> menu in LiveCode. Alternatively, you can download the installers manually >> here: http://downloads.livecode.com/livecode/6_1_0/ >> >> *This release contains the following changes* >> >> - Crash when using 'flip' on a referenced image. >> - Images with filenames that look like URLs can cause slowdown. >> - ASCII string check >> - UUID Generation >> - Improved properties Property >> - Additional statistical functions >> - Activation removed in Community edition >> - The cardIds of group >> - The childControlNames and childControlIds of group >> - the effective visible >> - Chained Behaviors >> - iOS Remote Control Support >> - Locking Group Updates >> - Random Number Generation >> - Getting the Page Ranges of a Field >> - 18 bug fixes: 11006 - Crash on Mac when attempting to load a stack >> with non-ascii title after transferring from Windows. >> - 10989 - mobilePickPhoto ignores size parameters if they are passed >> as strings and not numbers. >> - 10991 - If a memory warning is received whilst acceleratedRendering >> mode is enabled, a crash can occur on iOS. >> - 10990 - Memory leak when using acceleratedRendering on iOS in >> certain cases. >> - 10986 - 'select before/after field ...' selects the field object, >> rather than the text in the field. >> - 10982 - RevDB doesn't work with LiveCode server on Mac >> - 10914 - PIE binaries are now built for ARMv7+ meaning the 'Non-PIE >> Binary' warning from iTunes Connect should no longer occur. >> - 10976 - Ungrouping objects can result in their id's changing. >> - 10975 - Image objects don't properly resolve filenames to be >> absolute before searching the cache. >> - 10974 - Instability in acceleratedRendering caused in specific >> circumstances when a static layer moves just above a dynamic layer. >> - 10967 - Import snapshot on 16-bit displays on Windows causes a >> blank image to be produced. >> - 10966 - Fetching properties of function expressions now works >> correctly (e.g. the name of controlAtLoc(the mouseLoc)). >> - 10961 - Passing script locals as parameters to external functions >> doesn't work correctly in behaviors. >> - 10960 - Getting 'the lockUpdates of ' now works correctly. >> - 10950 - 'is a color' now checks the input string more carefully, in >> particular it doesn't allow trailing characters, or more than 3 >> items. >> - 10945 - mobileControls() returns deleted controls in the list >> - 10926 - 'filter' does not honour the lineDelimiter property. >> - 10863 - Group command doesn't throw an error when attempting to >> group a shared group. >> >> >> Warm regards, >> >> The LiveCode Team >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 1 15:05:53 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 1 Jul 2013 19:05:53 +0000 (UTC) Subject: Weekend challenge References: <1372637090.80204.YahooMailBasic@web120505.mail.ne1.yahoo.com> <51D0CD04.20205@hyperactivesw.com> <51D0F96D.9090704@hyperactivesw.com> <51D1C07D.3060100@hyperactivesw.com> Message-ID: J. Landman Gay writes: > Fortunately the client said never mind, ...clients... -- Mark Wieder mwieder at ahsoftware.net From roger.e.eller at sealedair.com Mon Jul 1 15:48:59 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 1 Jul 2013 15:48:59 -0400 Subject: BETA RELEASE: LiveCode 6.1.0 RC3 In-Reply-To: <50D82EFD-4966-48C4-AD60-1B6A9369FF63@m-r-d.de> References: <50D82EFD-4966-48C4-AD60-1B6A9369FF63@m-r-d.de> Message-ID: Yes, LC is installed on Windows 7, and activated using the off-line activation file. This is the same method I have to use with 4.x and 5.x of LiveCode as well, but the license sticks permanently with the earlier versions. ~Roger On Mon, Jul 1, 2013 at 2:54 PM, Matthias Rebbe < matthias_livecode_150811 at m-r-d.de> wrote: > Roger, > > i never experienced such a behavior with LC 6.0.2 under Mac OS X. Did you > license your LiveCode version offline with > a license file or did you license it with your emailadress/password? > > Regards, > > Matthias > > > Am 01.07.2013 um 20:27 schrieb Roger Eller : > > > Ben, > > > > When 6.1.0 goes GM, is the commercial version still going to be AMW > > (annoy-me-ware) like 6.0.2? What I mean is that a final released "paid" > > product shouldn't be telling me to go on-line and get a fresh license > file > > every few weeks, IMHO. 6.0.2 is telling me that I will need a new > license > > in 6 days. None of the commercial versions prior have done this. > > > > ~Roger > > > > > > On Mon, Jul 1, 2013 at 12:32 PM, Benjamin Beaumont > wrote: > > > >> Dear All, > >> > >> We are pleased to announce the release of LiveCode 6.1.0-rc-3. This is a > >> release candidate not a stable release so please be sure to make > backups of > >> your stacks before testing. We expect this to be the final release > >> candidate for this cycle with the stable release to be pushed out > shortly, > >> assuming not major bugs are reported. > >> > >> *Installation* > >> > >> The easiest way to update is to choose "check for updates" from the help > >> menu in LiveCode. Alternatively, you can download the installers > manually > >> here: http://downloads.livecode.com/livecode/6_1_0/ > >> > >> *This release contains the following changes* > >> > >> - Crash when using 'flip' on a referenced image. > >> - Images with filenames that look like URLs can cause slowdown. > >> - ASCII string check > >> - UUID Generation > >> - Improved properties Property > >> - Additional statistical functions > >> - Activation removed in Community edition > >> - The cardIds of group > >> - The childControlNames and childControlIds of group > >> - the effective visible > >> - Chained Behaviors > >> - iOS Remote Control Support > >> - Locking Group Updates > >> - Random Number Generation > >> - Getting the Page Ranges of a Field > >> - 18 bug fixes: 11006 - Crash on Mac when attempting to load a stack > >> with non-ascii title after transferring from Windows. > >> - 10989 - mobilePickPhoto ignores size parameters if they are > passed > >> as strings and not numbers. > >> - 10991 - If a memory warning is received whilst > acceleratedRendering > >> mode is enabled, a crash can occur on iOS. > >> - 10990 - Memory leak when using acceleratedRendering on iOS in > >> certain cases. > >> - 10986 - 'select before/after field ...' selects the field object, > >> rather than the text in the field. > >> - 10982 - RevDB doesn't work with LiveCode server on Mac > >> - 10914 - PIE binaries are now built for ARMv7+ meaning the > 'Non-PIE > >> Binary' warning from iTunes Connect should no longer occur. > >> - 10976 - Ungrouping objects can result in their id's changing. > >> - 10975 - Image objects don't properly resolve filenames to be > >> absolute before searching the cache. > >> - 10974 - Instability in acceleratedRendering caused in specific > >> circumstances when a static layer moves just above a dynamic layer. > >> - 10967 - Import snapshot on 16-bit displays on Windows causes a > >> blank image to be produced. > >> - 10966 - Fetching properties of function expressions now works > >> correctly (e.g. the name of controlAtLoc(the mouseLoc)). > >> - 10961 - Passing script locals as parameters to external functions > >> doesn't work correctly in behaviors. > >> - 10960 - Getting 'the lockUpdates of ' now works correctly. > >> - 10950 - 'is a color' now checks the input string more carefully, > in > >> particular it doesn't allow trailing characters, or more than 3 > >> items. > >> - 10945 - mobileControls() returns deleted controls in the list > >> - 10926 - 'filter' does not honour the lineDelimiter property. > >> - 10863 - Group command doesn't throw an error when attempting to > >> group a shared group. > >> > >> > >> Warm regards, > >> > >> The LiveCode Team > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Jul 1 15:58:52 2013 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 01 Jul 2013 12:58:52 -0700 Subject: User's language In-Reply-To: References: Message-ID: <51D1DF7C.30608@pdslabs.net> Thanks Scott. I like your ways better than mine. :-) Phil On 7/1/13 11:43 AM, Scott Rossi wrote: > You're welcome to try the language stack on my site. In your message box: > go url > "http://www.tactilemedia.com/site_files/downloads/language_specs.livecode" > > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 6/30/13 11:41 PM, "John" wrote: > >> I am not sure how localizations are supposed to work in Live Code. I >> understand including the ".lproj" indicates which languages you intend to >> support, but how do I determine the language that the user currently has >> his computer set for? A search of the dictionary seems to indicate that >> this information is available for mobile but I can't find any entries for >> the desktop. >> >> Thanks, >> John >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From warren at warrensweb.us Mon Jul 1 17:18:37 2013 From: warren at warrensweb.us (Warren Samples) Date: Mon, 01 Jul 2013 16:18:37 -0500 Subject: User's language In-Reply-To: References: Message-ID: <51D1F22D.5050404@warrensweb.us> On 07/01/2013 01:43 PM, Scott Rossi wrote: > You're welcome to try the language stack on my site. In your message box: > go url > "http://www.tactilemedia.com/site_files/downloads/language_specs.livecode" > > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > Scott, I see this does not include a method for Linux. Tsk, tsk. Perhaps users of other distros can verify this works (or doesn't!) under their favorite flavor, but I can confirm that under Mint and openSUSE LiveCode places this information into a global variable called $LANG which can be directly called. For example, 'get $LANG' or 'put $LANG'. All sorts of interesting stuff revealed by pressing the "V" button in the Message Box. Warren From sschvarstein at gmail.com Mon Jul 1 17:19:36 2013 From: sschvarstein at gmail.com (Sergio Schvarstein) Date: Mon, 1 Jul 2013 23:19:36 +0200 Subject: Augmented reality with LiveCode ? In-Reply-To: References: Message-ID: Thanks Dave for your answer. Sorry for not clarifying it before, but I mean the second AR way, that is displaying a 3D model, an image or a video on a printed pattern. Actually, I have no hope that this is possible to solve with LiveCode, except with the addition of an external utility. ______________________________ Sergio Schvarstein ______________________________ From sschvarstein at gmail.com Mon Jul 1 17:19:45 2013 From: sschvarstein at gmail.com (Sergio Schvarstein) Date: Mon, 1 Jul 2013 23:19:45 +0200 Subject: Augmented reality with LiveCode ? In-Reply-To: References: Message-ID: <7C8AF0AE-F6E7-4812-893D-052F4A666BD5@gmail.com> Thanks Hakan ! It seems very very interesting and I am starting to explore this way. Today I don't know how to convert a tool like this into an external, but maybe it's time to learn about it. ______________________________ Sergio Schvarstein ______________________________ From sschvarstein at gmail.com Mon Jul 1 17:19:49 2013 From: sschvarstein at gmail.com (Sergio Schvarstein) Date: Mon, 1 Jul 2013 23:19:49 +0200 Subject: Augmented reality with LiveCode ? In-Reply-To: References: Message-ID: <473E33FF-1CD0-49F0-9053-5447040AEBC3@gmail.com> Thanks Brahmanathaswami ! I completely agree that all the features described can be a very promising market for developers, creating tools and also offering customization, as in the case I am needing now to solve. I also agree that mixing the software capabilities and the server space offering is completely non-sense. Maybe this features can be a nice request for the next Open Source LiveCode. ______________________________ Sergio Schvarstein ______________________________ From sschvarstein at gmail.com Mon Jul 1 17:19:38 2013 From: sschvarstein at gmail.com (Sergio Schvarstein) Date: Mon, 1 Jul 2013 23:19:38 +0200 Subject: Augmented reality with LiveCode ? In-Reply-To: References: Message-ID: <5D2A1B27-A161-425C-A9ED-995F5152A2FB@gmail.com> Thanks Monte for your answer. As I wrote to Dave I need the other AR way, that is to glue a 3D object to a printed pattern. Nice try and also interesting to know it for another projects. Maybe you can add this kind of tools to your future set of externals. I think there's lot of market for this features. Also, today I don't know how to convert a tool like this into an external. Maybe learning some more about this matter can give me some more light. ______________________________ Sergio Schvarstein ______________________________ From mwieder at ahsoftware.net Mon Jul 1 17:54:07 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 1 Jul 2013 21:54:07 +0000 (UTC) Subject: Weekend challenge References: <1372637090.80204.YahooMailBasic@web120505.mail.ne1.yahoo.com> <51D0CD04.20205@hyperactivesw.com> <51D0F96D.9090704@hyperactivesw.com> <51D1C07D.3060100@hyperactivesw.com> Message-ID: ...can't live with 'em, can't shoot 'em... -- Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Tue Jul 2 00:54:44 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 1 Jul 2013 21:54:44 -0700 Subject: OT: Alan Kay on OOP Message-ID: <24480476150.20130701215444@ahsoftware.net> Dr. Alan Kay explains when "object-oriented" was first used and what it means. http://www.purl.org/stefan_ram/pub/doc_kay_oop_en -- -Mark Wieder mwieder at ahsoftware.net From john at onechip.com Tue Jul 2 03:31:24 2013 From: john at onechip.com (John) Date: Tue, 2 Jul 2013 00:31:24 -0700 Subject: User's language In-Reply-To: <51D1F22D.5050404@warrensweb.us> References: <51D1F22D.5050404@warrensweb.us> Message-ID: <928B69DD-B0F7-409B-A5F4-0076F1E97BC9@onechip.com> Thanks everyone. This is indeed a helpful list. John From gcanyon at gmail.com Tue Jul 2 04:42:27 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 2 Jul 2013 03:42:27 -0500 Subject: Weekend challenge In-Reply-To: <51D1C07D.3060100@hyperactivesw.com> References: <1372637090.80204.YahooMailBasic@web120505.mail.ne1.yahoo.com> <51D0CD04.20205@hyperactivesw.com> <51D0F96D.9090704@hyperactivesw.com> <51D1C07D.3060100@hyperactivesw.com> Message-ID: <433927F6-9896-4357-86E7-B4C32A62A00F@gmail.com> I'd be very curious to know what the rails code looked like. I've said many times, and I hope the new language features enable this soon, that there are *many* extensions to the LC language that would be equal parts intuitive and useful. The unique requirement on the type might be (assuming the data has been processed to 6-item comma-delimited lines): put the indexes of lines of myList where the count of item 4 of each > 1 into myDupedTypes For the requirement across the ID, section, and subsection, and type, not counting the type when it dupes its parent subsection, maybe: put the indexes of lines of myList where item 1 of each is among the items of item 2 to 4 of any into myDupedIDs Just a thought. As one example of what we're missing, consider this implementation of Conway's game of Life in J: life=: (_3 _3 (+/ e. 3+0,4&{)@,;._3 ])@(0,0,~0,.0,.~]) Granted, that looks like greek, but J is incredibly expressive. Consider what it does in just one line: 1. Pad the array representing the current state of the grid with zeroes all the way around, so 1,0 1,1 becomes 0,0,0,0 0,1,0,0 0,1,1,0 0,0,0,0 2. Slice that array up into 3x3 sub-arrays, allowing overlaps, so now we have: 0,0,0 0,0,0 0,1,0 1,0,0 0,1,1 1,1,0 0,1,0 1,0,0 0,1,1 1,1,0 0,0,0 0,0,0 3. Sum those arrays to an element in a new array -- 1 if the sum is 3 (dead cell with 3 live neighbors, or live cell with 2 live neighbors) or 4 if the center cell is 1 (live cell with 3 live neighbors). The result is: 1,1 1,1 On Mon, Jul 1, 2013 at 12:46 PM, J. Landman Gay wrote: > On 7/1/13 12:53 AM, Geoff Canyon wrote: >> Okay, this is a beast, and in no way good or generalized. It doesn't use >> the previous function, instead just going through line by line and flagging >> all the issues it sees in one pass. > > > > Thanks Geoff, I'll definitely look it over. I actually won't have to use it though because I was excused from the exercise, the server is doing it instead. But it bugged me that I couldn't write a nice, neat handler to do it. > > The backstory: The client wanted a data verification check performed on both the server and in the LiveCode stacks. I spent a weekend toiling over this, I probably wrote six or eight different versions using different methods. I never did produce anything neat and compact, so the next Monday I asked the server person how they did it. They replied with a four or five line algorithm which was very close to one of my initial attempts, but they didn't have to do any duplicate checking. Apparently there's a way in Rails to do that easily. They were bouncing arrays around. A couple of my attempts used arrays but looping through all the sub-keys wasn't any easier than just looping through the list. > > I was feeling kind of miffed that they were able to produce a workable script in a couple of hours and I'd been messing with it for days. Fortunately the client said never mind, they would just use the one on the server, and that I should move on to other things. > > I was not disappointed, but it did leave me feeling kind of stupid (and a little defensive about LiveCode.) I was relieved that no one here jumped in to say "oh, just do this". But I still wonder if I was missing some cool trick. > > > -- > 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 sc at sahores-conseil.com Tue Jul 2 06:25:35 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Tue, 2 Jul 2013 12:25:35 +0200 Subject: OT: Alan Kay on OOP In-Reply-To: <24480476150.20130701215444@ahsoftware.net> References: <24480476150.20130701215444@ahsoftware.net> Message-ID: Many Thanks for this, Mark ! Le 2 juil. 2013 ? 06:54, Mark Wieder a ?crit : > Dr. Alan Kay explains when "object-oriented" was first used and what > it means. > > http://www.purl.org/stefan_ram/pub/doc_kay_oop_en > > -- > -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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From sschvarstein at gmail.com Tue Jul 2 06:25:49 2013 From: sschvarstein at gmail.com (Sergio Schvarstein) Date: Tue, 2 Jul 2013 12:25:49 +0200 Subject: Augmented reality with LiveCode ? In-Reply-To: References: Message-ID: Thanks Mark for your answer. These days I am exploring different possibilities and I found Vuforia as a very possible solution. I will also look Unity, following your advice. I have a lot of 3D programming skills inherited from 3D Lingo so maybe I can find a good path with Unity. I've explored Unity's 3D possibilities a year ago, but the licensing price didn't convinced me. Maybe it's time for a new approach and thanks for reminding it. Regards. ______________________________ Sergio Schvarstein sschvarstein at gmail.com ______________________________ From tate83 at gmail.com Tue Jul 2 06:47:48 2013 From: tate83 at gmail.com (Pascal Lehner) Date: Tue, 2 Jul 2013 12:47:48 +0200 Subject: Valentina DB, SQLite and DBLib Message-ID: Hi everyone, Another rather n00b-ish question ;-) I have a SQLite database with about 15 tables. Some of them are obviously relational. Some of the tables will have a row added every 15 or 30 minutes, but only with 4-5 columns each, the others will be much smaller. I started to write my app using DBLib which works very nicely. I assumed that I have to handle the table-relations (update several fields in several tables if necessary) myself and remember to write the data everywhere where it is required. I installed Valentina Studio yesterday and see that Valentina actually can handle diagrams and automatically creates the connecting tables to handle m:m relations. Does that mean using the right command, I can also have the data automatically interlinked in these realtion tables? Now I'm wondering: Can I use Andre's DBLib to write the data to the database and get the relations handled automatically after I add some Valentina DB script to my stack? Or do I need to use the VDatabase-handles and probably loose the nice features like DBWhere from DBLIB? What would you do? Are there any VDatabase features that I just MUST have or use? I might also want to offer MySLQ and SQLite in the future for this app and make as less changes as possible. Best regards, Pascal From me at paulmaguire.me Tue Jul 2 06:50:15 2013 From: me at paulmaguire.me (Paul Maguire) Date: Tue, 2 Jul 2013 11:50:15 +0100 Subject: OT: Alan Kay on OOP In-Reply-To: <24480476150.20130701215444@ahsoftware.net> References: <24480476150.20130701215444@ahsoftware.net> Message-ID: <127211C1-4F44-4BF7-BB51-DC4589662584@paulmaguire.me> Great! Thanks. Biological metaphors... From tvogelaar at de-mare.nl Tue Jul 2 07:19:27 2013 From: tvogelaar at de-mare.nl (Terry Vogelaar) Date: Tue, 2 Jul 2013 13:19:27 +0200 Subject: Regular expressions Message-ID: <7068BD19-383D-413A-A898-E890F5F0C1A4@de-mare.nl> GREP saved my bacon in several occasions. And the regular expressions in LC are somewhat similar to GREP, but not quite. In GREP I can do this: stringToChange: Block of text matchExpression: [^<]+ replacementString:
?
result:
Block of text
The question-mark fills in everything that matches the matchExpression. Very useful when you want to put something around the found instances. Or you can even take it a step further by using ( and ) in combination with \1, \2 etc.: stringToChange: Block of text matchExpression: ([^<]+) replacementString: \1: \2 result: MakeMeVisible: Block of text The \1 fills in what it found inside the first pair of parentheses; the \2 the second pair. This way you can do really powerful replacements, if you know what you are doing. So I wonder how I do this in LC. I know I need to use Perlre and not GREP. So how do I do this in Perlre? Terry From MikeKerner at roadrunner.com Tue Jul 2 09:14:20 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 2 Jul 2013 09:14:20 -0400 Subject: Valentina DB, SQLite and DBLib In-Reply-To: References: Message-ID: The easiest way to try to do this (i.e. enforcing referential integrity, maintain related tables, etc.), is to use triggers. You have to tell the DB what to do. Even RDBMS's (4D is one I use all the time that comes to mind) can't read your mind, but if you write triggers/stored procedures/etc., it can at least do a lot of work for you automatically. On Tue, Jul 2, 2013 at 6:47 AM, Pascal Lehner wrote: > Hi everyone, > > Another rather n00b-ish question ;-) > > I have a SQLite database with about 15 tables. Some of them are > obviously relational. Some of the tables will have a row added every > 15 or 30 minutes, but only with 4-5 columns each, the others will be > much smaller. > > I started to write my app using DBLib which works very nicely. I > assumed that I have to handle the table-relations (update several > fields in several tables if necessary) myself and remember to write > the data everywhere where it is required. > > I installed Valentina Studio yesterday and see that Valentina actually > can handle diagrams and automatically creates the connecting tables to > handle m:m relations. Does that mean using the right command, I can > also have the data automatically interlinked in these realtion tables? > > Now I'm wondering: Can I use Andre's DBLib to write the data to the > database and get the relations handled automatically after I add some > Valentina DB script to my stack? Or do I need to use the > VDatabase-handles and probably loose the nice features like DBWhere > from DBLIB? What would you do? Are there any VDatabase features that I > just MUST have or use? > > I might also want to offer MySLQ and SQLite in the future for this app > and make as less changes as possible. > > Best regards, > > Pascal > > _______________________________________________ > use-livecode mailing list > use-livecode 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 mazzapaoloitaly at gmail.com Tue Jul 2 10:15:52 2013 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Tue, 2 Jul 2013 16:15:52 +0200 Subject: Reload the page on hitting back button Message-ID: Hi LiveCoders, I want the browser to reload the page on hitting back button Using php I would use this script: What about a LiveCode server script ? How can I force the browser to reload a dinamic .lc page from the server? Consider the session has been expired and user can not access anymore reserved pages ... how can I prevent the user to go back hitting the back button? All the best Paolo From janschenkel at yahoo.com Tue Jul 2 10:31:13 2013 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 2 Jul 2013 07:31:13 -0700 (PDT) Subject: Regular expressions In-Reply-To: <7068BD19-383D-413A-A898-E890F5F0C1A4@de-mare.nl> References: <7068BD19-383D-413A-A898-E890F5F0C1A4@de-mare.nl> Message-ID: <1372775473.60967.YahooMailNeo@web141101.mail.bf1.yahoo.com> Hi Terry, Maybe the 'matchChunk' function can help you achieve your goal? From its dictionary entry: #### Syntax: matchChunk(string,regularExpression[,positionVarsList]) ... If the regularExpression includes a pair of parentheses, the position of the substring matching the part of the regular expression inside the parentheses is placed in the variables in the positionVarsList. The number of the first character in the matching substring is placed in the first variable in the positionVarsList, and the number of the last character is placed in the second variable. Additional starting and ending positions, matching additional parenthetical expressions, are placed in additional pairs of variables in the positionVarsList. If the matchChunk function returns false, the values of the variables in the positionVarsList are not changed. #### So if matchText(...) returns true, and you've provided enough start and end match variables, you can iterate backwards over those match position pairs to insert the replacement text. Or maybe I haven't completely grasped what you were trying to accomplish - it's been a long day. Jan Schenkel. ? ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) ----- Original Message ----- > From: Terry Vogelaar > To: How to use LiveCode > Cc: > Sent: Tuesday, July 2, 2013 1:19 PM > Subject: Regular expressions > >G REP saved my bacon in several occasions. And the regular expressions in LC are > somewhat similar to GREP, but not quite. > > In GREP I can do this: > > stringToChange: Block of text > matchExpression: [^<]+ > replacementString:
?
> result:
Block of > text
> > The question-mark fills in everything that matches the matchExpression. Very > useful when you want to put something around the found instances. > > Or you can even take it a step further by using ( and ) in combination with > \1, \2 etc.: > > stringToChange: Block of > text > matchExpression: class="([^"]+)">([^<]+) > replacementString: \1: \2 > result: MakeMeVisible: Block of > text > > The \1 fills in what it found inside the first pair of parentheses; the > \2 the second pair. This way you can do really powerful replacements, if you > know what you are doing. > > So I wonder how I do this in LC. I know I need to use Perlre and not GREP. So > how do I do this in Perlre? > > Terry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m_p_wilcox at yahoo.co.uk Tue Jul 2 10:59:53 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Tue, 02 Jul 2013 15:59:53 +0100 Subject: Augmented reality with LiveCode ? Message-ID: If you don't need the "Pro" features and can live with the standard Unity splash screen then it's free for iOS now. If those thing aren't true then yes, its several times the cost of LiveCode. Sergio Schvarstein wrote: >Thanks Mark for your answer. > >These days I am exploring different possibilities and I found Vuforia as a very possible solution. > >I will also look Unity, following your advice. I have a lot of 3D programming skills inherited from 3D Lingo so maybe I can find a good path with Unity. I've explored Unity's 3D possibilities a year ago, but the licensing price didn't convinced me. Maybe it's time for a new approach and thanks for reminding it. > >Regards. > > >______________________________ >Sergio Schvarstein >sschvarstein at gmail.com > >______________________________ > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From mfstuart at cox.net Tue Jul 2 11:14:27 2013 From: mfstuart at cox.net (mfstuart at cox.net) Date: Tue, 2 Jul 2013 11:14:27 -0400 Subject: Reading XML with start tag and end tag all in one tag Message-ID: <20130702111427.SHEZI.635795.imail@fed1rmwml108> Hi, I'm using LC to read this type of XML and my script returns an error: xmlerr, can't find element. when reading the tag (see below). XML to read:
This is just a snipping of the XML file, but wanted to show at least a part of it to see what it looks like. I have the script reading the
tag and extracting the version val value, but it returns the error above. I've searched the user-list for a solution, and it seems each answer results in people spinning their own "XML reader". Surely LC's XML functions can read this type of tag? So if it can, what functions are used to do that? If not, what are your suggestions? Thanx, Mark Stuart LiveCode Community 6.0 OS: Win7 From userev at canelasoftware.com Tue Jul 2 11:34:51 2013 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 2 Jul 2013 08:34:51 -0700 Subject: Pilots required In-Reply-To: <51CF10B9.8030602@splash21.com> References: <51CF10B9.8030602@splash21.com> Message-ID: <4052F428-3364-4444-8538-AF9A5223810A@canelasoftware.com> This is a pretty cool example of what can be done in LC for gaming. Nice work John. Best regards, Mark Talluto canelasoftware.com On Jun 29, 2013, at 9:52 AM, John Craig wrote: > I've been doing some multi player game testing with LiveCode - if anyone is interested in a test game sometime to report on how well the client stack runs and the server app runs with more players connected, then drop me a line off list. > > Here's a video of a dog fight between myself and Dixie; > http://youtu.be/qacVlr3lpj0 > > Thanks, > > J > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Jul 2 11:53:47 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 02 Jul 2013 08:53:47 -0700 Subject: Determining LC Server memory usage? In-Reply-To: <51D0E680.9010100@pdslabs.net> References: <51D0E680.9010100@pdslabs.net> Message-ID: <51D2F78B.2060503@fourthworld.com> Phil Davis wrote: > Interesting question, Richard. Here is something I just tried in a quick > CGI script. Don't know it gives the memory info we need, but here goes: > > put "

" & word 2 of shell("ps -p" && the processID && "-o rss") & > "k

" Nice solution. I had forgotten about processID. I was hoping for something that could be done from outside the script a la strace, but this is a very useful solution for now. Thanks - much appreciated. -- 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 Tue Jul 2 12:46:29 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 2 Jul 2013 09:46:29 -0700 Subject: Global variable for user name Message-ID: OSX = $USER Windows=$USERNAME Linux=??? Pete lcSQL Software From ambassador at fourthworld.com Tue Jul 2 12:52:51 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 02 Jul 2013 09:52:51 -0700 Subject: Global variable for user name In-Reply-To: References: Message-ID: <51D30563.3090406@fourthworld.com> Peter Haworth wrote: > OSX = $USER > Windows=$USERNAME > Linux=??? $USER Once again, in a world increasingly dominated by POSIX systems, Microsoft continues to marginalize itself with non-standard ways of doing things. ;) -- 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 warren at warrensweb.us Tue Jul 2 12:55:58 2013 From: warren at warrensweb.us (Warren Samples) Date: Tue, 02 Jul 2013 11:55:58 -0500 Subject: Global variable for user name In-Reply-To: References: Message-ID: <51D3061E.6070900@warrensweb.us> On 07/02/2013 11:46 AM, Peter Haworth wrote: > OSX = $USER > Windows=$USERNAME > Linux=??? > > Pete > lcSQL Software $USER From heather at runrev.com Tue Jul 2 12:57:18 2013 From: heather at runrev.com (Heather Laine) Date: Tue, 2 Jul 2013 17:57:18 +0100 Subject: LiveCode 6.1 Released Today Message-ID: <9826BE19-0441-425C-A7AE-3D70F6B66F94@runrev.com> Dear List Members, LiveCode 6.1 has been launched today and brings with it some exciting updates. We have listened to the feedback and 6.1 brings with it optional licence activation. Another exciting feature in this release is the new ?chained? behaviors. Behaviors help developers to put more structure into their code and avoid repetition. Less repetition = faster coding and fewer opportunities for error! LiveCode 6.1 includes 15 new features of which 7 were user contributed - go you! We're very impressed here at RunRev at how you guys have got stuck in and started work on the engine, even before it has been modularised and tamed. Features include: ? Chained Behavior - sophisticated OOP-like programming ? iOS Remote Control Support - eg control audio and video playback via a headset ? Activation removed in Community edition - allows easy fast installation ? Locking Group Updates - speeds up custom controls composed of many objects ? Getting the Page Ranges of a Field ? Improved properties Property - list all the built in attributes of the object you are working with ? Additional statistical functions Thanks for making LiveCode Better! Commercial license holders will receive this update automatically, log in to your account to see it. Community users can download the update here: http://livecode.com/get-started/ Warm Regards, Heather Heather Laine Customer Services Manager http://www.runrev.com/ From ambassador at fourthworld.com Tue Jul 2 12:59:42 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 02 Jul 2013 09:59:42 -0700 Subject: LiveCode 6.1 Released Today In-Reply-To: <9826BE19-0441-425C-A7AE-3D70F6B66F94@runrev.com> References: <9826BE19-0441-425C-A7AE-3D70F6B66F94@runrev.com> Message-ID: <51D306FE.8000106@fourthworld.com> Heather Laine wrote: > LiveCode 6.1 has been launched today and brings with it some exciting updates. ... > Features include: > > ? Chained Behavior - sophisticated OOP-like programming Whoohoo! Thanks to all who had a hand in making that one happen. -- 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 tvogelaar at de-mare.nl Tue Jul 2 13:13:29 2013 From: tvogelaar at de-mare.nl (Terry Vogelaar) Date: Tue, 2 Jul 2013 19:13:29 +0200 Subject: Regular expressions In-Reply-To: <1372775473.60967.YahooMailNeo@web141101.mail.bf1.yahoo.com> References: <7068BD19-383D-413A-A898-E890F5F0C1A4@de-mare.nl> <1372775473.60967.YahooMailNeo@web141101.mail.bf1.yahoo.com> Message-ID: Hi Jan, This sure is helpful. However, I need to do some thinking how I can turn this into a search-and-replace-all style action. I probably need to write a loop where I use offset to find the first "", then use matchChunk to see if it matches and to put things in variables, and then change the span tags into something else temporarily to keep the offset function to find the first one over and over again, and if the last one is found, do some cleaning up to get the span tags back into place. Doable, but way more complex than it is in BBEdit using GREP. Thanks for the response. With kind regards, Terry Vogelaar Op 2 jul. 2013, om 16:31 heeft Jan Schenkel het volgende geschreven: > Hi Terry, > > Maybe the 'matchChunk' function can help you achieve your goal? > From its dictionary entry: > #### > Syntax: > matchChunk(string,regularExpression[,positionVarsList]) > ... > If the regularExpression includes a pair of parentheses, the position of the substring matching the part of the regular expression inside the parentheses is placed in the variables in the positionVarsList. The number of the first character in the matching substring is placed in the first variable in the positionVarsList, and the number of the last character is placed in the second variable. Additional starting and ending positions, matching additional parenthetical expressions, are placed in additional pairs of variables in the positionVarsList. If the matchChunk function returns false, the values of the variables in the positionVarsList are not changed. > #### > > > So if matchText(...) returns true, and you've provided enough start and end match variables, you can iterate backwards over those match position pairs to insert the replacement text. Or maybe I haven't completely grasped what you were trying to accomplish - it's been a long day. > > > Jan Schenkel. > > > ===== > Quartam Reports & PDF Library for LiveCode > www.quartam.com > > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) > > > ----- Original Message ----- >> From: Terry Vogelaar >> To: How to use LiveCode >> Cc: >> Sent: Tuesday, July 2, 2013 1:19 PM >> Subject: Regular expressions >> >> G REP saved my bacon in several occasions. And the regular expressions in LC are >> somewhat similar to GREP, but not quite. >> >> In GREP I can do this: >> >> stringToChange: Block of text >> matchExpression: [^<]+ >> replacementString:
?
>> result:
Block of >> text
>> >> The question-mark fills in everything that matches the matchExpression. Very >> useful when you want to put something around the found instances. >> >> Or you can even take it a step further by using ( and ) in combination with >> \1, \2 etc.: >> >> stringToChange: Block of >> text >> matchExpression: > class="([^"]+)">([^<]+) >> replacementString: \1: \2 >> result: MakeMeVisible: Block of >> text >> >> The \1 fills in what it found inside the first pair of parentheses; the >> \2 the second pair. This way you can do really powerful replacements, if you >> know what you are doing. >> >> So I wonder how I do this in LC. I know I need to use Perlre and not GREP. So >> how do I do this in Perlre? >> >> Terry >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Tue Jul 2 13:16:13 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 2 Jul 2013 10:16:13 -0700 Subject: Global variable for user name In-Reply-To: <51D30563.3090406@fourthworld.com> References: <51D30563.3090406@fourthworld.com> Message-ID: Thanks Richard. Pete lcSQL Software On Tue, Jul 2, 2013 at 9:52 AM, Richard Gaskin wrote: > Peter Haworth wrote: > >> OSX = $USER >> Windows=$USERNAME >> Linux=??? >> > > $USER > > Once again, in a world increasingly dominated by POSIX systems, Microsoft > continues to marginalize itself with non-standard ways of doing things. ;) > > -- > 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 jacque at hyperactivesw.com Tue Jul 2 13:26:28 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Jul 2013 12:26:28 -0500 Subject: Regular expressions In-Reply-To: References: <7068BD19-383D-413A-A898-E890F5F0C1A4@de-mare.nl> <1372775473.60967.YahooMailNeo@web141101.mail.bf1.yahoo.com> Message-ID: <51D30D44.1070303@hyperactivesw.com> On 7/2/13 12:13 PM, Terry Vogelaar wrote: > Hi Jan, > > This sure is helpful. > > However, I need to do some thinking how I can turn this into a > search-and-replace-all style action. I probably need to write a loop > where I use offset to find the first " "", then use matchChunk to see if it matches and to put things > in variables, and then change the span tags into something else > temporarily to keep the offset function to find the first one over > and over again, and if the last one is found, do some cleaning up to > get the span tags back into place. You wouldn't need to change the text if you use the third parameter in the offset command (in the dictionary, "charsToSkip".) That allows you to pick up the offset search where you left off. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Tue Jul 2 14:48:52 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 2 Jul 2013 18:48:52 +0000 (UTC) Subject: Global variable for user name References: <51D30563.3090406@fourthworld.com> Message-ID: Richard Gaskin writes: > Once again, in a world increasingly dominated by POSIX systems, > Microsoft continues to marginalize itself with non-standard ways of > doing things. ;) ...and drags their partners down with them... http://qz.com/99887/if-windows-phone-continues-to-fail-nokia-has-no-plan-b/ -- Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Tue Jul 2 14:57:04 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 2 Jul 2013 18:57:04 +0000 (UTC) Subject: Reading XML with start tag and end tag all in one tag References: <20130702111427.SHEZI.635795.imail@fed1rmwml108> Message-ID: writes: > Surely LC's XML functions can read this type of tag? > So if it can, what functions are used to do that? Here's a minimalist version. starting with your data in tXMLText: put revCreateXMLTree(tXMLText,false,true,false) into tDocID if tDocID is a number then put revXMLAttribute(tDocID, "/Application/Header/Version", "val") end if -- Mark Wieder mwieder at ahsoftware.net From ruslan_zasukhin at valentina-db.com Tue Jul 2 15:58:39 2013 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Tue, 02 Jul 2013 22:58:39 +0300 Subject: Valentina DB, SQLite and DBLib In-Reply-To: Message-ID: On 7/2/13 1:47 PM, "Pascal Lehner" wrote: > Hi everyone, > > Another rather n00b-ish question ;-) > > I have a SQLite database with about 15 tables. Some of them are > obviously relational. Some of the tables will have a row added every > 15 or 30 minutes, but only with 4-5 columns each, the others will be > much smaller. > > I started to write my app using DBLib which works very nicely. I > assumed that I have to handle the table-relations (update several > fields in several tables if necessary) myself and remember to write > the data everywhere where it is required. > > I installed Valentina Studio yesterday and see that Valentina actually > can handle diagrams and automatically creates the connecting tables to > handle m:m relations. Does that mean using the right command, I can > also have the data automatically interlinked in these realtion tables? Pascal, Please note that Valentina Studio + SQLite DB Is set of tools to work with SQLite DB. Valentina DB -- this is something else. Yes, Valentina Studio can work with Valentina DB also, And exists Valentina DB ADK for Livecode. --- If you want to use in your application, scripts generated by Valentina Studio for SQLite db, just use them. This is just SQL commands. Never mind how you will call them: -- directly from LiveCode -- using some library as DBLib Valentina DB ADK is NOT required for this absolutely. > Now I'm wondering: Can I use Andre's DBLib to write the data to the > database and get the relations handled automatically after I add some > Valentina DB script to my stack? Or do I need to use the > VDatabase-handles and probably loose the nice features like DBWhere > from DBLIB? What would you do? Are there any VDatabase features that I > just MUST have or use? You can use DBLIb. But automatically links ? Actually this is one of MAJOR jobs for DB developer: take care about linking of records. When you insert a record into T1 and T2, you take care about ID of one record to be stored into record of another table. MM-table also cannot autoamte this. Its GUI of your app will somehow manage events when a record is added, and when records should be linked. > I might also want to offer MySLQ and SQLite in the future for this app > and make as less changes as possible. > > Best regards, > > Pascal -- 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 ruslan_zasukhin at valentina-db.com Tue Jul 2 16:01:52 2013 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Tue, 02 Jul 2013 23:01:52 +0300 Subject: Valentina DB, SQLite and DBLib In-Reply-To: Message-ID: On 7/2/13 4:14 PM, "Mike Kerner" wrote: > The easiest way to try to do this (i.e. enforcing referential integrity, > maintain related tables, etc.), is to use triggers. You have to tell the > DB what to do. Even RDBMS's (4D is one I use all the time that comes to > mind) can't read your mind, but if you write triggers/stored > procedures/etc., it can at least do a lot of work for you automatically. Just a couple of note. 1) Triggers was used in SQLite while was no FK constraints. Now when FK exists, IMO developer should avoid triggers. One of our DB gurus even thinks that triggers is bad style. They should be used only by admins of DB, to resolve some bad cases 2) FK Constraints -- take care when we UPDATE or DELETE a parent record. They do nothing when we adding a new record. So question from Pascal how to automate linking -- cannot be resolved by triggers. Again, only semantic of app defines when and how link records. -- 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 mfstuart at cox.net Tue Jul 2 16:19:37 2013 From: mfstuart at cox.net (Mark Stuart) Date: Tue, 2 Jul 2013 13:19:37 -0700 (PDT) Subject: Reading XML with start tag and end tag all in one tag In-Reply-To: References: <20130702111427.SHEZI.635795.imail@fed1rmwml108> Message-ID: <1372796377386-4667089.post@n4.nabble.com> Hi Mark, That did the trick. I didn't see the attributeName part of the revXMLAttribute function, wasn't looking close enough. No wonder I was getting the error. Thanx, Mark Stuart ----- Regards, Mark Stuart ----------- LC: 4.6.4 WinXP/7/8 32bit and 64bit -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Reading-XML-with-start-tag-and-end-tag-all-in-one-tag-tp4667074p4667089.html Sent from the Revolution - User mailing list archive at Nabble.com. From warren at warrensweb.us Tue Jul 2 16:35:30 2013 From: warren at warrensweb.us (Warren Samples) Date: Tue, 02 Jul 2013 15:35:30 -0500 Subject: Global variable for user name In-Reply-To: References: <51D30563.3090406@fourthworld.com> Message-ID: <51D33992.1070900@warrensweb.us> On 07/02/2013 01:48 PM, Mark Wieder wrote: > Richard Gaskin writes: > >> Once again, in a world increasingly dominated by POSIX systems, >> Microsoft continues to marginalize itself with non-standard ways of >> doing things. ;) > > ...and drags their partners down with them... > > http://qz.com/99887/if-windows-phone-continues-to-fail-nokia-has-no-plan-b/ > I don't know that this is reason for any great glee. I for one am sick to death of all the usability and performance issues I have with my Samsung/Android phone and am looking forward to the Nokia 925. Warren From monte at sweattechnologies.com Tue Jul 2 17:05:38 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 3 Jul 2013 07:05:38 +1000 Subject: LiveCode 6.1 Released Today In-Reply-To: <51D306FE.8000106@fourthworld.com> References: <9826BE19-0441-425C-A7AE-3D70F6B66F94@runrev.com> <51D306FE.8000106@fourthworld.com> Message-ID: <68A75759-9A15-4570-B3A1-C47F1F551247@sweattechnologies.com> On 03/07/2013, at 2:59 AM, Richard Gaskin wrote: > Thanks to all who had a hand in making that one happen. It was pure runrevmark... with some cheerleading from mwieder and myself ;-) -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From dsc at swcp.com Tue Jul 2 21:26:05 2013 From: dsc at swcp.com (Dar Scott) Date: Tue, 2 Jul 2013 19:26:05 -0600 Subject: LiveCode and Sleep/Hibernation Message-ID: I was wonder what kinds of issues and problems (if any) people have found with LiveCode applications and the computer going to sleep (or put into hibernation). Including I/O and shell(). Time updates after sleep. Anything. I'm going to be doing some tests and I want to catch these things. Dar A LiveCode Programmer's Programmer From revdev at pdslabs.net Tue Jul 2 22:07:31 2013 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 02 Jul 2013 19:07:31 -0700 Subject: LiveCode and Sleep/Hibernation In-Reply-To: References: Message-ID: <51D38763.6040709@pdslabs.net> Hi Dar, On a contrasting note, long ago I discovered that a sleeping HD can be awakened by getting "the detailed files" from one of its directories. I thought it was pretty cool you could do that, since I needed that particular capability at the time. Don't know if it still works that way. Best - Phil Davis On 7/2/13 6:26 PM, Dar Scott wrote: > I was wonder what kinds of issues and problems (if any) people have found with LiveCode applications and the computer going to sleep (or put into hibernation). Including I/O and shell(). Time updates after sleep. Anything. I'm going to be doing some tests and I want to catch these things. > > Dar > > A LiveCode Programmer's Programmer > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 jacque at hyperactivesw.com Tue Jul 2 23:13:57 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Jul 2013 22:13:57 -0500 Subject: Memory usage Message-ID: <51D396F5.5020600@hyperactivesw.com> Can I safely assume that if I load a whole bunch of stacks into RAM, that virtual memory will take care of memory usage for me? My project is getting huge. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Jul 2 23:28:26 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Jul 2013 22:28:26 -0500 Subject: Weekend challenge In-Reply-To: <433927F6-9896-4357-86E7-B4C32A62A00F@gmail.com> References: <1372637090.80204.YahooMailBasic@web120505.mail.ne1.yahoo.com> <51D0CD04.20205@hyperactivesw.com> <51D0F96D.9090704@hyperactivesw.com> <51D1C07D.3060100@hyperactivesw.com> <433927F6-9896-4357-86E7-B4C32A62A00F@gmail.com> Message-ID: <51D39A5A.1010706@hyperactivesw.com> On 7/2/13 3:42 AM, Geoff Canyon wrote: > I'd be very curious to know what the rails code looked like. They basically ended up with something very similar to what I did, but I don't have their code. They said it was like this: look at a line and store the ID in a variable look at that line + 1 if the ID is the same, keep going if the ID is different, look at line + 2 if line+2 is the old ID, then line+1 is out of order if line+2 is the same as line+1, it's a new block put the new ID into the stored variable That was what I ended up with too for sequencing checks. Then they said something about "automatic duplicate checking" which Rails has and we don't. I had enough repeat loops to make me dizzy. Your one-pass script was better. > The unique requirement on the type might be (assuming the data has > been processed to 6-item comma-delimited lines): > > put the indexes of lines of myList where the count of item 4 of each > > 1 into myDupedTypes > > > For the requirement across the ID, section, and subsection, and type, > not counting the type when it dupes its parent subsection, maybe: > > put the indexes of lines of myList where item 1 of each is among the > items of item 2 to 4 of any into myDupedIDs > I asked a while back if I could just lift out the keys of sub-arrays from a big array without looping through them all, but nope. Your suggestions would have been useful too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dunbarx at aol.com Tue Jul 2 23:32:36 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 2 Jul 2013 23:32:36 -0400 (EDT) Subject: LiveCode and Sleep/Hibernation In-Reply-To: References: Message-ID: <8D045B518B606A3-98C-4D38E@webmail-m136.sysops.aol.com> Dar. I made an application in LC that communicated with an external device via the USB port. The framework I used to allow LC to communicate to that device simply broke upon sleeping, and chaos ensued. The issue came up because the nature of the project required that the lid of a Macbook Air be closed most of the time. Of course, one can always set the machine to never sleep, but this was not an option for me. I bought a small gadget called "Sleepless" that fools the machine into staying awake while the lid is closed. Craig -----Original Message----- From: Dar Scott To: How to use LiveCode Sent: Tue, Jul 2, 2013 9:27 pm Subject: LiveCode and Sleep/Hibernation I was wonder what kinds of issues and problems (if any) people have found with LiveCode applications and the computer going to sleep (or put into hibernation). Including I/O and shell(). Time updates after sleep. Anything. I'm going to be doing some tests and I want to catch these things. Dar A LiveCode Programmer's Programmer _______________________________________________ use-livecode mailing list use-livecode at 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 Jul 3 02:04:51 2013 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 02 Jul 2013 23:04:51 -0700 Subject: Memory usage In-Reply-To: <51D396F5.5020600@hyperactivesw.com> References: <51D396F5.5020600@hyperactivesw.com> Message-ID: <51D3BF03.6070305@pdslabs.net> That would be my guess. Phil On 7/2/13 8:13 PM, J. Landman Gay wrote: > Can I safely assume that if I load a whole bunch of stacks into RAM, > that virtual memory will take care of memory usage for me? > > My project is getting huge. > -- Phil Davis From richmondmathewson at gmail.com Wed Jul 3 02:06:08 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 03 Jul 2013 09:06:08 +0300 Subject: LiveCode 6.1 Released Today In-Reply-To: <68A75759-9A15-4570-B3A1-C47F1F551247@sweattechnologies.com> References: <9826BE19-0441-425C-A7AE-3D70F6B66F94@runrev.com> <51D306FE.8000106@fourthworld.com> <68A75759-9A15-4570-B3A1-C47F1F551247@sweattechnologies.com> Message-ID: <51D3BF50.4010006@gmail.com> On 07/03/2013 12:05 AM, Monte Goulding wrote: > On 03/07/2013, at 2:59 AM, Richard Gaskin wrote: > >> Thanks to all who had a hand in making that one happen. > It was pure runrevmark... with some cheerleading from mwieder and myself ;-) > > I didn't have a 'hand', but I had a finger (possibly the rude, middle one). Well Done, RunRev this 6.1 Community release is a landmark! And I will never, ever bother you about "the death of RevMedia" or related topics ever again. Richmond. From monte at sweattechnologies.com Wed Jul 3 02:24:07 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 3 Jul 2013 16:24:07 +1000 Subject: LiveCode 6.1 Released Today In-Reply-To: <51D3BF50.4010006@gmail.com> References: <9826BE19-0441-425C-A7AE-3D70F6B66F94@runrev.com> <51D306FE.8000106@fourthworld.com> <68A75759-9A15-4570-B3A1-C47F1F551247@sweattechnologies.com> <51D3BF50.4010006@gmail.com> Message-ID: On 03/07/2013, at 4:06 PM, Richmond wrote: > And I will never, ever bother you about "the death of RevMedia" or related topics ever again. Now that's worth celebrating ;-) -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From gandalf at doctorTimothyMiller.com Wed Jul 3 02:27:10 2013 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Tue, 2 Jul 2013 23:27:10 -0700 Subject: multiple crashes with OS 10.8.4 and 6.0.2 community Message-ID: <5DC2F8C1-9978-4AF8-98A5-7FFB91A0B873@doctorTimothyMiller.com> I've experienced half a dozen crashes in the past hour or two with the same stack. I haven't yet had a chance to investigate the possibility of similar problems on other stacks. It's a very simple and ordinary stack, except that it has about 1600 cards. I store a lot of text in this stack. Most of the text is in one field, spread out over the 1600 cards. About a million words of text altogether. This stack has been very well-behaved for several years. I have made no changes to it recently, except to add a few more cards and some more text. It's crashed three times in the past hour. The kind of crash that seems to happen instantly. The application quits and the OS generates a crash report to send to Apple. If other applications are open, they are not affected. In addition, in the past hour, on two or three other occasions, when simply entering text, or cutting and pasting text, in the same field, on the same card, strange characters started showing up in place of text. In some cases, a crash came next. In other cases, I was able to erase the strange characters and continue entering text. Sometimes the crash came when I was entering text. In other cases, just scrolling through the stack with go next and go prev, with a simple visual effect. I used this stack last night and this morning, at length, also with LC 6.0.2 Community. No problems then. The machine, a late 2009 MacBook with 8 GB RAM, is otherwise working normally. This stack is very important to me. Data loss or corruption would be very, very bad. (Of course I am backed up.) Any thoughts? Any suggestions? Thanks in advance, Tim From m_p_wilcox at yahoo.co.uk Wed Jul 3 03:25:33 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Wed, 03 Jul 2013 08:25:33 +0100 Subject: Memory usage Message-ID: On desktop platforms, yes, as long as the user hasn't changed settings to disable it (unlikely). On mobile platforms, no, use too much memory and the OS will kill your app. Mark "J. Landman Gay" wrote: >Can I safely assume that if I load a whole bunch of stacks into RAM, >that virtual memory will take care of memory usage for me? > >My project is getting huge. > >-- >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 toolbook at kestner.de Wed Jul 3 03:40:15 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 3 Jul 2013 09:40:15 +0200 Subject: AW: multiple crashes with OS 10.8.4 and 6.0.2 community In-Reply-To: <5DC2F8C1-9978-4AF8-98A5-7FFB91A0B873@doctorTimothyMiller.com> References: <5DC2F8C1-9978-4AF8-98A5-7FFB91A0B873@doctorTimothyMiller.com> Message-ID: <003101ce77c0$8f508c90$adf1a5b0$@de> Do you have any Unicode chars in your text? I just had crashes because of Unicode in the stack title with 6.0.2. Not a solution, but perhaps a trace. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Timothy Miller > Gesendet: Mittwoch, 3. Juli 2013 08:27 > An: How to use LiveCode > Betreff: multiple crashes with OS 10.8.4 and 6.0.2 community > > I've experienced half a dozen crashes in the past hour or two with the same > stack. I haven't yet had a chance to investigate the possibility of similar > problems on other stacks. > > It's a very simple and ordinary stack, except that it has about 1600 cards. > I store a lot of text in this stack. Most of the text is in one field, > spread out over the 1600 cards. About a million words of text altogether. > > This stack has been very well-behaved for several years. I have made no > changes to it recently, except to add a few more cards and some more text. > > It's crashed three times in the past hour. The kind of crash that seems to > happen instantly. The application quits and the OS generates a crash report > to send to Apple. If other applications are open, they are not affected. > > In addition, in the past hour, on two or three other occasions, when simply > entering text, or cutting and pasting text, in the same field, on the same > card, strange characters started showing up in place of text. In some > cases, a crash came next. In other cases, I was able to erase the strange > characters and continue entering text. > > Sometimes the crash came when I was entering text. In other cases, just > scrolling through the stack with go next and go prev, with a simple visual > effect. > > I used this stack last night and this morning, at length, also with LC > 6.0.2 Community. No problems then. > > The machine, a late 2009 MacBook with 8 GB RAM, is otherwise working > normally. > > This stack is very important to me. Data loss or corruption would be very, > very bad. (Of course I am backed up.) > > Any thoughts? Any suggestions? > > Thanks in advance, > > Tim > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From me at paulmaguire.me Wed Jul 3 04:34:06 2013 From: me at paulmaguire.me (Paul Maguire) Date: Wed, 3 Jul 2013 09:34:06 +0100 Subject: Augmented reality with LiveCode ? In-Reply-To: <5D2A1B27-A161-425C-A9ED-995F5152A2FB@gmail.com> References: <5D2A1B27-A161-425C-A9ED-995F5152A2FB@gmail.com> Message-ID: <1DCF1F7B-3075-46BD-8AD7-9D223DC48B90@paulmaguire.me> Hi. Did I hear you say you were a Director user? (I think I recognise your name for Direct-L list). You can do this type of AR in Director using a Flash object to handle video input and map a 3d object into a scene using Valentin's AR library. I've only messed with the demos - never done anything to ship. New iOS export in v12 should be able to handle the Xtras - no 3rd party. But a common approach is Unity - should be lots of examples. But you'll need an iOS export license. Kind regards, Paul. From klaus at major-k.de Wed Jul 3 06:08:43 2013 From: klaus at major-k.de (Klaus major-k) Date: Wed, 3 Jul 2013 12:08:43 +0200 Subject: LiveCode 6.1 Released Today In-Reply-To: References: <9826BE19-0441-425C-A7AE-3D70F6B66F94@runrev.com> <51D306FE.8000106@fourthworld.com> <68A75759-9A15-4570-B3A1-C47F1F551247@sweattechnologies.com> <51D3BF50.4010006@gmail.com> Message-ID: <7C142ADD-77D4-45E1-BF37-41737D45B0AF@major-k.de> Hi all, Am 03.07.2013 um 08:24 schrieb Monte Goulding : > On 03/07/2013, at 4:06 PM, Richmond wrote: >> And I will never, ever bother you about "the death of RevMedia" or related topics ever again. > > Now that's worth celebrating ;-) Yep, and we will surely print and frame this statement for later reference! :-D > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From jvalle at 1234web.net Wed Jul 3 06:23:21 2013 From: jvalle at 1234web.net (Jose Valle) Date: Wed, 3 Jul 2013 12:23:21 +0200 Subject: =?windows-1252?Q?off_topic_or_so=85_issue_when_open_user_guide_f?= =?windows-1252?Q?rom_livecode?= Message-ID: Hi when try to open User Guide from Resource Center (Launch PDF) from Livecode 6.1.0 Build 2005 or from Help menu from version 6.0.2 in both ways opens Flash Builder. I've checked and Flash Builder is not in the list of applications related with PDF files in my Mac. Another PDF files opens great with Mac viewer. Any idea about what could be wrong? Related with that, any idea from where could be downloaded User Guide? Thanks Jose From john at splash21.com Wed Jul 3 06:53:43 2013 From: john at splash21.com (John Craig) Date: Wed, 03 Jul 2013 11:53:43 +0100 Subject: Pilots required In-Reply-To: <4052F428-3364-4444-8538-AF9A5223810A@canelasoftware.com> References: <51CF10B9.8030602@splash21.com> <4052F428-3364-4444-8538-AF9A5223810A@canelasoftware.com> Message-ID: <51D402B7.8080504@splash21.com> Thanks, Mark. LiveCode is continuing to impress me with with each addition the team makes. This game is running from a server - we are both connected remotely and I had to turn the speed down a few notches after the latest tweak - it was just too fast to play sensibly! I'm really looking forward to the new sprite layer mode and physics engine - so many possibilites :D Dog fight on the latest version of the demo with speed cranked down; http://youtu.be/65EcxAWrRvk Example running too quickly (it's great that LiveCode is capable of this and that we had to crank things down); http://youtu.be/nFEwaEO3zbc We also tried at x3 speed - which was just ridiculous... On 02/07/2013 16:34, Mark Talluto wrote: > This is a pretty cool example of what can be done in LC for gaming. Nice work John. > > > Best regards, > > Mark Talluto > canelasoftware.com > > > > On Jun 29, 2013, at 9:52 AM, John Craig wrote: > >> I've been doing some multi player game testing with LiveCode - if anyone is interested in a test game sometime to report on how well the client stack runs and the server app runs with more players connected, then drop me a line off list. >> >> Here's a video of a dog fight between myself and Dixie; >> http://youtu.be/qacVlr3lpj0 >> >> Thanks, >> >> J >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sschvarstein at gmail.com Wed Jul 3 07:29:35 2013 From: sschvarstein at gmail.com (Sergio Schvarstein) Date: Wed, 3 Jul 2013 13:29:35 +0200 Subject: Augmented reality with LiveCode ? In-Reply-To: References: Message-ID: <47D4A482-ECA2-435E-9E87-489D68048867@gmail.com> Thanks Paul ! Yes, I am a 3D Lingo veteran and I also recognize your name from Direct-L. I thought that Director will never give me any more aid in this life, but I will certainly explore the solution you suggest as a main option. Cheers, these are great news ! (if it is Director-quirk-proof, of course) Answering also to Mark about the Unity way, my client probably can accept the splash screen, so it sounds possible too. So, now it will be time to evaluate the different learning curves because I have a little more than a month for delivering the finished project. Lots of alternatives and time to take decisions. Thanks for all your answers, they helped a lot, as always. :-) Regards. ______________________________ Sergio Schvarstein ______________________________ From coiin at verizon.net Wed Jul 3 09:49:03 2013 From: coiin at verizon.net (Colin Holgate) Date: Wed, 03 Jul 2013 09:49:03 -0400 Subject: LiveCode publicity Message-ID: <764A2F22-77F1-4B8D-BF7F-43F999294275@verizon.net> LiveCode is in first place of the product updates list on macintouch.com. That will help make sure the most number of people see the news: http://www.macintouch.com It will no doubt get mentioned on other sites, but those tend to add articles throughout the day, pushing the older news down. With macintouch the list stays that way all day. From matthias_livecode_150811 at m-r-d.de Wed Jul 3 10:28:32 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 3 Jul 2013 16:28:32 +0200 Subject: =?windows-1252?Q?Re=3A_off_topic_or_so=85_issue_when_open_user_g?= =?windows-1252?Q?uide_from_livecode?= In-Reply-To: References: Message-ID: <267768C7-8EB9-408C-B24E-44045025C062@m-r-d.de> Hi Jose, i do not know what?s wrong with your system. But you will find the documentation in the application bundle Right click "livecode 61.app" and select "show Package contents". Now navigate to Contents->Tools->Documentation->pdf There you find the Users Guide. HTH. Regards, Matthias Am 03.07.2013 um 12:23 schrieb Jose Valle : > Hi > > when try to open User Guide from Resource Center (Launch PDF) from Livecode 6.1.0 Build 2005 or from Help menu from version 6.0.2 in both ways opens Flash Builder. I've checked and Flash Builder is not in the list of applications related with PDF files in my Mac. Another PDF files opens great with Mac viewer. Any idea about what could be wrong? > > Related with that, any idea from where could be downloaded User Guide? > > Thanks > Jose > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 3 10:39:29 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 3 Jul 2013 09:39:29 -0500 Subject: Weekend challenge In-Reply-To: <51D39A5A.1010706@hyperactivesw.com> References: <1372637090.80204.YahooMailBasic@web120505.mail.ne1.yahoo.com> <51D0CD04.20205@hyperactivesw.com> <51D0F96D.9090704@hyperactivesw.com> <51D1C07D.3060100@hyperactivesw.com> <433927F6-9896-4357-86E7-B4C32A62A00F@gmail.com> <51D39A5A.1010706@hyperactivesw.com> Message-ID: On Tue, Jul 2, 2013 at 10:28 PM, J. Landman Gay wrote: > look at a line and store the ID in a variable > look at that line + 1 > if the ID is the same, keep going > if the ID is different, look at line + 2 > if line+2 is the old ID, then line+1 is out of order > if line+2 is the same as line+1, it's a new block > put the new ID into the stored variable > The above code is just for the ID, but even on that task it doesn't seem to do the same thing I did. The above will not flag this as a problem, but my code would: ID SECTION SUBSECTION TYPE|OP1|OP2 AB MediumOrchid AB MediumOrchid OrangeRed2 AB MediumOrchid Khaki2 DeepPink1|DIV|MULT AB MediumOrchid Gray100 Gray100|MULT|DIV CD OliveDrab1 CD OliveDrab1 Gray47 CD OliveDrab1 Gray47 Ivory2|PLUS|DIV CD OliveDrab1 Azure2 Gray23|MULT|PLUS AB MediumOrchid AB MediumOrchid Gray100 AB Gray40 Gray39 AntiqueWhite4|MULT|MINUS AB Gray40 Gray39 Ivory3|MULT|MINUS AB Gray40 Gray39 PowderBlue|MINUS|DIV From ambassador at fourthworld.com Wed Jul 3 10:51:27 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 03 Jul 2013 07:51:27 -0700 Subject: Weekend challenge In-Reply-To: References: Message-ID: <51D43A6F.2000806@fourthworld.com> Geoff Canyon wrote: > The above code is just for the ID, but even on that task it doesn't seem to > do the same thing I did. The above will not flag this as a problem, but my > code would... Earlier Jacque wrote: > That was what I ended up with too for sequencing checks. Then they said > something about "automatic duplicate checking" which Rails has and we > don't. I had enough repeat loops to make me dizzy. Your one-pass script > was better. So it seems. I would love to see that Ruby code. While it's possible that Ruby has some nifty function that's especially useful here, whatever it is it isn't magic; regardless of language, computers are too stupid to count past 1, so the algorithms for such data manipulation can only be optimized so much. This reminds me of the RB vs Rev thread started here years ago by an ardent RB fan with an xtalk grudge, only to discover in the end that when it comes to string manipulation LC holds up very well against the best of them. It's not always the fastest (though it was in that case ), but even when it's slower it's not by enough to matter much relative to the productivity gains of a typeless system. I suspect, as it seems we're seeing here, that the Ruby code is "faster" only because it's cutting a lot of corners. -- 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 abilitybf at att.net Wed Jul 3 11:06:39 2013 From: abilitybf at att.net (Joe Hamburger) Date: Wed, 3 Jul 2013 08:06:39 -0700 (PDT) Subject: multiple crashes with OS 10.8.4 and 6.0.2 community In-Reply-To: <5DC2F8C1-9978-4AF8-98A5-7FFB91A0B873@doctorTimothyMiller.com> References: <5DC2F8C1-9978-4AF8-98A5-7FFB91A0B873@doctorTimothyMiller.com> Message-ID: <1372863999.28701.YahooMailNeo@web181405.mail.ne1.yahoo.com> I have also experienced multiple crashes. It never happened before I switched to V6. I'm using Mac OS 10.6.8. The crashes have happened while putting data into a field from a script in a different stack. Another time LiveCode crashed while I was saving the stack. I have also experienced the strange characters that Timothy reported. I have no idea whet unicode characters are, so I don't know if they are being used. Luckily, I too have backed up regularly so the problem is annoying, but not catastrophic. I hope this is addressed soon. Joe in Orlando ________________________________ From: Timothy Miller To: How to use LiveCode Sent: Wednesday, July 3, 2013 2:27 AM Subject: multiple crashes with OS 10.8.4 and 6.0.2 community I've experienced half a dozen crashes in the past hour or two with the same stack. I haven't yet had a chance to investigate the possibility of similar problems on other stacks. It's a very simple and ordinary stack, except that it has about 1600 cards. I store a lot of text in this stack.? Most of the text is in one field, spread out over the 1600 cards. About a million words of text altogether. This stack has been very well-behaved for several years. I have made no changes to it recently, except to add a few more cards and some more text. It's crashed three times in the past hour. The kind of crash that seems to happen instantly. The application quits and the OS generates a crash report to send to Apple. If other applications are open, they are not affected. In addition, in the past hour, on two or three other occasions, when simply entering text, or cutting and pasting text, in the same field, on the same card, strange characters started showing up in place of text. In some cases, a crash came next. In other cases, I was able to erase the strange characters and continue entering text. Sometimes the crash came when I was entering text. In other cases, just scrolling through the stack with go next and go prev, with a simple visual effect. I used this stack last night and this morning, at length, also with LC 6.0.2 Community. No problems then. The machine, a late 2009 MacBook with 8 GB RAM, is otherwise working normally. This stack is very important to me. Data loss or corruption would be very, very bad. (Of course I am backed up.) Any thoughts? Any suggestions? Thanks in advance, Tim _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Wed Jul 3 11:56:22 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 3 Jul 2013 17:56:22 +0200 Subject: AW: multiple crashes with OS 10.8.4 and 6.0.2 community In-Reply-To: <1372863999.28701.YahooMailNeo@web181405.mail.ne1.yahoo.com> References: <5DC2F8C1-9978-4AF8-98A5-7FFB91A0B873@doctorTimothyMiller.com> <1372863999.28701.YahooMailNeo@web181405.mail.ne1.yahoo.com> Message-ID: <008801ce7805$de28d2b0$9a7a7810$@de> You must file it to the QCC, best with the mentioned stack and data, that?s the only way runrev cares about it Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Joe Hamburger > Gesendet: Mittwoch, 3. Juli 2013 17:07 > An: How to use LiveCode > Betreff: Re: multiple crashes with OS 10.8.4 and 6.0.2 community > > I have also experienced multiple crashes. It never happened before I > switched to V6. I'm using Mac OS 10.6.8. The crashes have happened while > putting data into a field from a script in a different stack. Another time > LiveCode crashed while I was saving the stack. I have also experienced the > strange characters that Timothy reported. > > I have no idea whet unicode characters are, so I don't know if they are > being used. Luckily, I too have backed up regularly so the problem is > annoying, but not catastrophic. I hope this is addressed soon. > > Joe in Orlando > > > ________________________________ > From: Timothy Miller > To: How to use LiveCode > Sent: Wednesday, July 3, 2013 2:27 AM > Subject: multiple crashes with OS 10.8.4 and 6.0.2 community > > > I've experienced half a dozen crashes in the past hour or two with the same > stack. I haven't yet had a chance to investigate the possibility of similar > problems on other stacks. > > It's a very simple and ordinary stack, except that it has about 1600 cards. > I store a lot of text in this stack.? Most of the text is in one field, > spread out over the 1600 cards. About a million words of text altogether. > > This stack has been very well-behaved for several years. I have made no > changes to it recently, except to add a few more cards and some more text. > > It's crashed three times in the past hour. The kind of crash that seems to > happen instantly. The application quits and the OS generates a crash report > to send to Apple. If other applications are open, they are not affected. > > In addition, in the past hour, on two or three other occasions, when simply > entering text, or cutting and pasting text, in the same field, on the same > card, strange characters started showing up in place of text. In some > cases, a crash came next. In other cases, I was able to erase the strange > characters and continue entering text. > > Sometimes the crash came when I was entering text. In other cases, just > scrolling through the stack with go next and go prev, with a simple visual > effect. > > I used this stack last night and this morning, at length, also with LC > 6.0.2 Community. No problems then. > > The machine, a late 2009 MacBook with 8 GB RAM, is otherwise working > normally. > > This stack is very important to me. Data loss or corruption would be very, > very bad. (Of course I am backed up.) > > Any thoughts? Any suggestions? > > Thanks in advance, > > Tim > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 3 11:57:01 2013 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 3 Jul 2013 08:57:01 -0700 Subject: multiple crashes with OS 10.8.4 and 6.0.2 community In-Reply-To: <5DC2F8C1-9978-4AF8-98A5-7FFB91A0B873@doctorTimothyMiller.com> References: <5DC2F8C1-9978-4AF8-98A5-7FFB91A0B873@doctorTimothyMiller.com> Message-ID: <4C89013D-0D73-417D-B8ED-580A6F003FA3@canelasoftware.com> On Jul 2, 2013, at 11:27 PM, Timothy Miller wrote: > I've experienced half a dozen crashes in the past hour or two with the same stack. I haven't yet had a chance to investigate the possibility of similar problems on other stacks. If these crashes are taking place in the IDE, try closing the new project browser and testing again. We have found that the new PB is revealing a bug that is yet to be fixed in the engine. When it is updating itself, it can cause a crash. Have you sent your crash logs to RR via bugzilla yet? Best regards, Mark Talluto canelasoftware.com From userev at canelasoftware.com Wed Jul 3 12:03:45 2013 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 3 Jul 2013 09:03:45 -0700 Subject: Pilots required In-Reply-To: <51D402B7.8080504@splash21.com> References: <51CF10B9.8030602@splash21.com> <4052F428-3364-4444-8538-AF9A5223810A@canelasoftware.com> <51D402B7.8080504@splash21.com> Message-ID: <9633759F-C58B-45A9-88CE-7053BE9918DA@canelasoftware.com> Most impressive. Would you reveal more about the architecture of the game? I am curious about your server/client implementation. Are the clients reporting their positions to the server and the server redistributes the data to the other clients? Or are the positions coming from the server and the clients are displaying those positions? This is all very interesting. Best regards, Mark Talluto canelasoftware.com On Jul 3, 2013, at 3:53 AM, John Craig wrote: > Thanks, Mark. LiveCode is continuing to impress me with with each addition the team makes. This game is running from a server - we are both connected remotely and I had to turn the speed down a few notches after the latest tweak - it was just too fast to play sensibly! I'm really looking forward to the new sprite layer mode and physics engine - so many possibilites :D > > Dog fight on the latest version of the demo with speed cranked down; > http://youtu.be/65EcxAWrRvk > > Example running too quickly (it's great that LiveCode is capable of this and that we had to crank things down); > http://youtu.be/nFEwaEO3zbc > > We also tried at x3 speed - which was just ridiculous... From jacque at hyperactivesw.com Wed Jul 3 12:27:33 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 03 Jul 2013 11:27:33 -0500 Subject: Memory usage In-Reply-To: References: Message-ID: <51D450F5.6060702@hyperactivesw.com> Thanks. It's a desktop app. I was pretty sure that was the case and I wouldn't have to worry. It's just that 6.x still isn't stable for me yet so I was wondering. On 7/3/13 2:25 AM, Mark Wilcox wrote: > On desktop platforms, yes, as long as the user hasn't changed > settings to disable it (unlikely). On mobile platforms, no, use too > much memory and the OS will kill your app. > > Mark > > > "J. Landman Gay" wrote: > >> Can I safely assume that if I load a whole bunch of stacks into >> RAM, that virtual memory will take care of memory usage for me? >> >> My project is getting huge. >> >> -- Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ use-livecode >> mailing list use-livecode at lists.runrev.com Please visit this url to >> subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing > list use-livecode at lists.runrev.com Please visit this url to > subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Jul 3 12:30:04 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 03 Jul 2013 11:30:04 -0500 Subject: Weekend challenge In-Reply-To: References: <1372637090.80204.YahooMailBasic@web120505.mail.ne1.yahoo.com> <51D0CD04.20205@hyperactivesw.com> <51D0F96D.9090704@hyperactivesw.com> <51D1C07D.3060100@hyperactivesw.com> <433927F6-9896-4357-86E7-B4C32A62A00F@gmail.com> <51D39A5A.1010706@hyperactivesw.com> Message-ID: <51D4518C.206@hyperactivesw.com> On 7/3/13 9:39 AM, Geoff Canyon wrote: > The above code is just for the ID, but even on that task it doesn't seem to > do the same thing I did. The above will not flag this as a problem, but my > code would: > > ID SECTION SUBSECTION TYPE|OP1|OP2 > AB MediumOrchid > AB MediumOrchid OrangeRed2 > AB MediumOrchid Khaki2 DeepPink1|DIV|MULT > AB MediumOrchid Gray100 Gray100|MULT|DIV > CD OliveDrab1 > CD OliveDrab1 Gray47 > CD OliveDrab1 Gray47 Ivory2|PLUS|DIV > CD OliveDrab1 Azure2 Gray23|MULT|PLUS > AB MediumOrchid > AB MediumOrchid Gray100 > AB Gray40 Gray39 AntiqueWhite4|MULT|MINUS > AB Gray40 Gray39 Ivory3|MULT|MINUS > AB Gray40 Gray39 PowderBlue|MINUS|DIV Right, that's why yours is better. The nature of the data is usually that only a single line would be out of sequence, but of course you can't rely on that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Jul 3 12:49:22 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 03 Jul 2013 11:49:22 -0500 Subject: multiple crashes with OS 10.8.4 and 6.0.2 community In-Reply-To: <1372863999.28701.YahooMailNeo@web181405.mail.ne1.yahoo.com> References: <5DC2F8C1-9978-4AF8-98A5-7FFB91A0B873@doctorTimothyMiller.com> <1372863999.28701.YahooMailNeo@web181405.mail.ne1.yahoo.com> Message-ID: <51D45612.1080905@hyperactivesw.com> On 7/3/13 10:06 AM, Joe Hamburger wrote: > I have also experienced multiple crashes. Me too, or unresponive need-to-force-quit loops. They are not predictable and not repeatable so I can't make a sample stack. But I did post a hang log to a bug report on the hope that it might help. Anyone else having the problem should do the same, I think. I'm not on 10.8, I'm still on OS X 10.7.5 using LiveCode 6.1. The issues started with the first release of 6.0. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gcanyon at gmail.com Wed Jul 3 12:50:33 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 3 Jul 2013 11:50:33 -0500 Subject: List links and open them on mobile? Message-ID: <8B9D0E23-D360-4867-8C4A-A11F997AAB3E@gmail.com> Has anyone written code they'd be willing to share for mobile to show a list of links and then open them in a browser object? Similar to what the Facebook app does, in a way. From ambassador at fourthworld.com Wed Jul 3 12:56:39 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 03 Jul 2013 09:56:39 -0700 Subject: Memory usage In-Reply-To: <51D396F5.5020600@hyperactivesw.com> References: <51D396F5.5020600@hyperactivesw.com> Message-ID: <51D457C7.5080809@fourthworld.com> J. Landman Gay wrote: > Can I safely assume that if I load a whole bunch of stacks into RAM, > that virtual memory will take care of memory usage for me? Yes, but with two caveats: 1. Swap space is limited, and the OS uses it a lot. In most cases it'll do what you need, but it's possible to meet limits. 2. Swap space is slow. If the foreground app dips into swap space the user will encounter a noticeable performance hit. At best, things will momentarily hang; at worst, it'll hang long enough to invoke the spinning beach back for a few seconds until the swap is done. -- 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 simplsol at aol.com Wed Jul 3 13:01:34 2013 From: simplsol at aol.com (Paul Looney) Date: Wed, 3 Jul 2013 10:01:34 -0700 Subject: Memory usage In-Reply-To: <51D457C7.5080809@fourthworld.com> References: <51D396F5.5020600@hyperactivesw.com> <51D457C7.5080809@fourthworld.com> Message-ID: This is a situation where using an SSD instead of an HD can make a world of difference. Swaps into and out of an SSD take about a tenth the time. Paul Looney On Jul 3, 2013, at 9:56 AM, Richard Gaskin wrote: > J. Landman Gay wrote: >> Can I safely assume that if I load a whole bunch of stacks into RAM, >> that virtual memory will take care of memory usage for me? > > Yes, but with two caveats: > > 1. Swap space is limited, and the OS uses it a lot. In most cases it'll do what you need, but it's possible to meet limits. > > 2. Swap space is slow. If the foreground app dips into swap space the user will encounter a noticeable performance hit. At best, things will momentarily hang; at worst, it'll hang long enough to invoke the spinning beach back for a few seconds until the swap is done. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Jul 3 13:22:10 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 03 Jul 2013 10:22:10 -0700 Subject: Memory usage In-Reply-To: References: Message-ID: <51D45DC2.7060907@fourthworld.com> Paul Looney wrote: > This is a situation where using an SSD instead of an HD can make a > world of difference. > Swaps into and out of an SSD take about a tenth the time. True enough. My first-gen Core i3-powered Dell boots Ubuntu 13.04 in about 9 seconds since I replaced the drive with an SSD. But I'm not sure if Jacque's client is in a position to bundle an SSD with the software. :) -- 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 jiml at netrin.com Wed Jul 3 13:29:28 2013 From: jiml at netrin.com (Jim Lambert) Date: Wed, 3 Jul 2013 10:29:28 -0700 Subject: Augmented reality with LiveCode ? In-Reply-To: References: Message-ID: <7F85C7F6-9A91-402D-8768-E54E3BBA9BA2@netrin.com> I'm guessing Actable uses QualComm AR technology under the hood. Jim Lambert From simplsol at aol.com Wed Jul 3 13:29:40 2013 From: simplsol at aol.com (Paul Looney) Date: Wed, 3 Jul 2013 10:29:40 -0700 Subject: Memory usage In-Reply-To: <51D45DC2.7060907@fourthworld.com> References: <51D45DC2.7060907@fourthworld.com> Message-ID: If Jacque's program is too big to work with 8 G of RAM, an SSD should be a trivial expense to run it properly. How big IS it? PL On Jul 3, 2013, at 10:22 AM, Richard Gaskin wrote: > Paul Looney wrote: > > > This is a situation where using an SSD instead of an HD can make a > > world of difference. > > Swaps into and out of an SSD take about a tenth the time. > > True enough. My first-gen Core i3-powered Dell boots Ubuntu 13.04 in about 9 seconds since I replaced the drive with an SSD. > > But I'm not sure if Jacque's client is in a position to bundle an SSD with the software. :) > > -- > 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 sc at sahores-conseil.com Wed Jul 3 13:34:55 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Wed, 3 Jul 2013 19:34:55 +0200 Subject: Memory usage In-Reply-To: References: <51D396F5.5020600@hyperactivesw.com> <51D457C7.5080809@fourthworld.com> Message-ID: I confirm. SSD makes my two MBP internal temp lots colder than when they went embedding stock's HD : 50 ? C / 2000 RPM fans for more 95% of the use time. I expect i will no more have to trash each of my MBP after 18 months of use as it went the case over the teen last years. Note : i still own a 2003 PWB G4 1 Ghz with stock's HD and this machine works like a charm as a LAN server. Problems came with the intel powered MBP, probably because the FOXCONN (human) dram began at that time... Le 3 juil. 2013 ? 19:01, Paul Looney a ?crit : > This is a situation where using an SSD instead of an HD can make a world of difference. > Swaps into and out of an SSD take about a tenth the time. > Paul Looney > > On Jul 3, 2013, at 9:56 AM, Richard Gaskin wrote: > >> J. Landman Gay wrote: >>> Can I safely assume that if I load a whole bunch of stacks into RAM, >>> that virtual memory will take care of memory usage for me? >> >> Yes, but with two caveats: >> >> 1. Swap space is limited, and the OS uses it a lot. In most cases it'll do what you need, but it's possible to meet limits. >> >> 2. Swap space is slow. If the foreground app dips into swap space the user will encounter a noticeable performance hit. At best, things will momentarily hang; at worst, it'll hang long enough to invoke the spinning beach back for a few seconds until the swap is done. >> >> -- >> Richard Gaskin >> Fourth World >> LiveCode training and consulting: http://www.fourthworld.com >> Webzine for LiveCode developers: http://www.LiveCodeJournal.com >> Follow me on Twitter: http://twitter.com/FourthWorldSys >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From dsc at swcp.com Wed Jul 3 13:35:47 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 3 Jul 2013 11:35:47 -0600 Subject: Memory usage In-Reply-To: <51D450F5.6060702@hyperactivesw.com> References: <51D450F5.6060702@hyperactivesw.com> Message-ID: <12FF1132-3FD0-46BA-A200-9074BEB89B15@swcp.com> If virtual memory makes things slow then customers get cranky. For me, a scroll handle that doesn't follow the mouse pointer is very irritating. Clicking a button again because "it didn't work the first time" is also very bad, especially if something is done twice. I'd say, work with virtual memory for now to get the concept down, but be ready to do some planning to make things faster. If you are many miles from your customer, you don't see how irritating slow GUI is for your customer, so you have to guess. You can set up processor and memory and disk requirements, but that only partially helps. Dar On Jul 3, 2013, at 10:27 AM, J. Landman Gay wrote: > Thanks. It's a desktop app. I was pretty sure that was the case and I wouldn't have to worry. It's just that 6.x still isn't stable for me yet so I was wondering. > > On 7/3/13 2:25 AM, Mark Wilcox wrote: >> On desktop platforms, yes, as long as the user hasn't changed >> settings to disable it (unlikely). On mobile platforms, no, use too >> much memory and the OS will kill your app. >> >> Mark >> >> >> "J. Landman Gay" wrote: >> >>> Can I safely assume that if I load a whole bunch of stacks into >>> RAM, that virtual memory will take care of memory usage for me? >>> >>> My project is getting huge. >>> >>> -- Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> _______________________________________________ use-livecode >>> mailing list use-livecode at lists.runrev.com Please visit this url to >>> subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ use-livecode mailing >> list use-livecode at lists.runrev.com Please visit this url to >> subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Jul 3 13:38:18 2013 From: john at splash21.com (John Craig) Date: Wed, 03 Jul 2013 18:38:18 +0100 Subject: Pilots required In-Reply-To: <9633759F-C58B-45A9-88CE-7053BE9918DA@canelasoftware.com> References: <51CF10B9.8030602@splash21.com> <4052F428-3364-4444-8538-AF9A5223810A@canelasoftware.com> <51D402B7.8080504@splash21.com> <9633759F-C58B-45A9-88CE-7053BE9918DA@canelasoftware.com> Message-ID: <51D4618A.8020709@splash21.com> All the clients can do is request a change of heading, target speed, fire, refuel, shield, etc. The server validates the requests, detects collisions, updates co-ordinates, etc. then sends the data to each client. The communication is all via UDP sockets. It's only been tested with a few people playing, so I'm not sure what it's limitations are yet - maybe I need to set up a bot that can connect and play then start several bot instances.. The current client stack is available at https://drive.google.com/folderview?id=0B_yStO6pph2XWjZDUEtmZmMzTEk&usp=sharing Feel free to have a poke at the code :D On 03/07/2013 17:03, Mark Talluto wrote: > Most impressive. Would you reveal more about the architecture of the game? I am curious about your server/client implementation. Are the clients reporting their positions to the server and the server redistributes the data to the other clients? Or are the positions coming from the server and the clients are displaying those positions? This is all very interesting. > > > Best regards, > > Mark Talluto > canelasoftware.com > > > On Jul 3, 2013, at 3:53 AM, John Craig wrote: > >> Thanks, Mark. LiveCode is continuing to impress me with with each addition the team makes. This game is running from a server - we are both connected remotely and I had to turn the speed down a few notches after the latest tweak - it was just too fast to play sensibly! I'm really looking forward to the new sprite layer mode and physics engine - so many possibilites :D >> >> Dog fight on the latest version of the demo with speed cranked down; >> http://youtu.be/65EcxAWrRvk >> >> Example running too quickly (it's great that LiveCode is capable of this and that we had to crank things down); >> http://youtu.be/nFEwaEO3zbc >> >> We also tried at x3 speed - which was just ridiculous... > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 3 13:46:21 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 03 Jul 2013 12:46:21 -0500 Subject: Memory usage In-Reply-To: References: <51D396F5.5020600@hyperactivesw.com> <51D457C7.5080809@fourthworld.com> Message-ID: <51D4636D.90008@hyperactivesw.com> On 7/3/13 12:01 PM, Paul Looney wrote: > This is a situation where using an SSD instead of an HD can make a world of difference. > Swaps into and out of an SSD take about a tenth the time. > Paul Looney A commercial desktop app doesn't have any control over that, unfortunately. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From simplsol at aol.com Wed Jul 3 13:55:37 2013 From: simplsol at aol.com (Paul Looney) Date: Wed, 3 Jul 2013 10:55:37 -0700 Subject: Memory usage In-Reply-To: <51D4636D.90008@hyperactivesw.com> References: <51D396F5.5020600@hyperactivesw.com> <51D457C7.5080809@fourthworld.com> <51D4636D.90008@hyperactivesw.com> Message-ID: <97AAB3AA-69D0-4C95-8CBB-1DD2A7BC8054@aol.com> Jacque, For as long as I can remember, the developer has been able to specify the OS Version, the amount of RAM, and the amount of disk space required for a program. If the program really requires 16 G of RAM or an SSD, the developer should specify that as well. Small SSDs (60 G) are less than $100 today - it once cost more than that to add enough RAM for high-end programs. PL On Jul 3, 2013, at 10:46 AM, J. Landman Gay wrote: > On 7/3/13 12:01 PM, Paul Looney wrote: >> This is a situation where using an SSD instead of an HD can make a world of difference. >> Swaps into and out of an SSD take about a tenth the time. >> Paul Looney > > A commercial desktop app doesn't have any control over that, unfortunately. > > -- > 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 dsc at swcp.com Wed Jul 3 13:57:36 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 3 Jul 2013 11:57:36 -0600 Subject: Memory usage In-Reply-To: <51D4636D.90008@hyperactivesw.com> References: <51D396F5.5020600@hyperactivesw.com> <51D457C7.5080809@fourthworld.com> <51D4636D.90008@hyperactivesw.com> Message-ID: <379E5E33-063B-43FD-B532-8C6D6E9A7745@swcp.com> I just can't remember what it was, but I recently saw an app that would not run at all unless it could perform well. Short of that, you can list system requirements. But maybe (eventually) a commercial app should run well even in typical RAM. Now, what is typical RAM? Dar On Jul 3, 2013, at 11:46 AM, J. Landman Gay wrote: > On 7/3/13 12:01 PM, Paul Looney wrote: >> This is a situation where using an SSD instead of an HD can make a world of difference. >> Swaps into and out of an SSD take about a tenth the time. >> Paul Looney > > A commercial desktop app doesn't have any control over that, unfortunately. > > -- > 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 jvalle at 1234web.net Wed Jul 3 14:02:44 2013 From: jvalle at 1234web.net (Jose Valle) Date: Wed, 3 Jul 2013 20:02:44 +0200 Subject: =?windows-1252?Q?Re=3A_off_topic_or_so=85_issue_when_open_user_g?= =?windows-1252?Q?uide_from_livecode?= In-Reply-To: <267768C7-8EB9-408C-B24E-44045025C062@m-r-d.de> References: <267768C7-8EB9-408C-B24E-44045025C062@m-r-d.de> Message-ID: <9F768347-9F14-4214-9FB5-18052AB94CA4@1234web.net> Hi Matthias, well, don't know what is wrong with my system, Mac OSX 10.7.5, but ever happened again. Maybe is not my system or is anything else. Thansk to Mark Shonewille noticed that file info showed that LiveCode User Guide PDF included with at least with last 3 versions of LiveCode, file class is defined as "MXML File" and set to be opened with Adobe Flash Builder by default. I checked a couple of other PDF files and class it is "Portable Document Format (PDF)" and set to be opened with Mac Viewer. Thanks Jose El 03/07/2013, a las 16:28, Matthias Rebbe escribi?: > Hi Jose, > > i do not know what?s wrong with your system. > > But you will find the documentation in the application bundle > > Right click "livecode 61.app" and select "show Package contents". Now navigate to Contents->Tools->Documentation->pdf > > There you find the Users Guide. > > HTH. > > Regards, > > Matthias > > > Am 03.07.2013 um 12:23 schrieb Jose Valle : > >> Hi >> >> when try to open User Guide from Resource Center (Launch PDF) from Livecode 6.1.0 Build 2005 or from Help menu from version 6.0.2 in both ways opens Flash Builder. I've checked and Flash Builder is not in the list of applications related with PDF files in my Mac. Another PDF files opens great with Mac viewer. Any idea about what could be wrong? >> >> Related with that, any idea from where could be downloaded User Guide? >> >> Thanks >> Jose >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Wed Jul 3 14:05:21 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 3 Jul 2013 14:05:21 -0400 Subject: Pilots required In-Reply-To: <51D4618A.8020709@splash21.com> References: <51CF10B9.8030602@splash21.com> <4052F428-3364-4444-8538-AF9A5223810A@canelasoftware.com> <51D402B7.8080504@splash21.com> <9633759F-C58B-45A9-88CE-7053BE9918DA@canelasoftware.com> <51D4618A.8020709@splash21.com> Message-ID: Yeah, since I'm usually the only one on late, a bot was my next suggestion (after the list of others I've sent). This really is getting to be a good little game. On Wed, Jul 3, 2013 at 1:38 PM, John Craig wrote: > All the clients can do is request a change of heading, target speed, fire, > refuel, shield, etc. The server validates the requests, detects > collisions, updates co-ordinates, etc. then sends the data to each client. > The communication is all via UDP sockets. It's only been tested with a > few people playing, so I'm not sure what it's limitations are yet - maybe I > need to set up a bot that can connect and play then start several bot > instances.. > > The current client stack is available at https://drive.google.com/** > folderview?id=0B_**yStO6pph2XWjZDUEtmZmMzTEk&usp=**sharing > > Feel free to have a poke at the code :D > > > > On 03/07/2013 17:03, Mark Talluto wrote: > >> Most impressive. Would you reveal more about the architecture of the >> game? I am curious about your server/client implementation. Are the >> clients reporting their positions to the server and the server >> redistributes the data to the other clients? Or are the positions coming >> from the server and the clients are displaying those positions? This is >> all very interesting. >> >> >> Best regards, >> >> Mark Talluto >> canelasoftware.com >> >> >> On Jul 3, 2013, at 3:53 AM, John Craig wrote: >> >> Thanks, Mark. LiveCode is continuing to impress me with with each >>> addition the team makes. This game is running from a server - we are both >>> connected remotely and I had to turn the speed down a few notches after the >>> latest tweak - it was just too fast to play sensibly! I'm really looking >>> forward to the new sprite layer mode and physics engine - so many >>> possibilites :D >>> >>> Dog fight on the latest version of the demo with speed cranked down; >>> http://youtu.be/65EcxAWrRvk >>> >>> Example running too quickly (it's great that LiveCode is capable of this >>> and that we had to crank things down); >>> http://youtu.be/nFEwaEO3zbc >>> >>> We also tried at x3 speed - which was just ridiculous... >>> >> >> >> >> >> >> >> >> >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> >> > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jacque at hyperactivesw.com Wed Jul 3 14:21:53 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 03 Jul 2013 13:21:53 -0500 Subject: Memory usage In-Reply-To: References: <51D45DC2.7060907@fourthworld.com> Message-ID: <51D46BC1.4040600@hyperactivesw.com> On 7/3/13 12:29 PM, Paul Looney wrote: > If Jacque's program is too big to work with 8 G of RAM, an SSD should > be a trivial expense to run it properly. > How big IS it? It's for students and they will run the app on their own machines. My concern is for students with old machines, or school lab computers with minimum RAM. The project has an engine with all the shared code, and hundreds of content stacks that are loaded on demand from a server. The student can open as many as they want. They won't have a hundred stacks open at once, but they could easily have ten or twelve, maybe more. Most stacks are around 3 megs, give or take, some are closer to 5 MB. The stacks have destroystack set to false so that they stay resident, which allows navigation between them without having to re-download from the server each time. Nothing is ever written to disk. The engine and its resources must always remain open of course, and it is about 5 megs so far. It will be more when it becomes a standalone. Each stack has multiple movie and audio content that will be streamed. In general, two or three players will be open and running per card. Generally these are maybe 15 MB for a movie and 300K per audio in their compressed sizes (m4a and m4v.) I don't know what they become in RAM while playing. The app also has to hold 2-3 megs of data permanently in variables for internal functions. I have the main "engine" and three stacks open right now in the IDE. I haven't loaded any players yet or any of the stored variable content data. Console shows 270 MB in real memory and 218 MB in virtual memory. I'm not sure how much of that is the IDE. Thunderbird and Firefox are showing larger amounts. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Jul 3 14:24:15 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 03 Jul 2013 13:24:15 -0500 Subject: Memory usage In-Reply-To: <379E5E33-063B-43FD-B532-8C6D6E9A7745@swcp.com> References: <51D396F5.5020600@hyperactivesw.com> <51D457C7.5080809@fourthworld.com> <51D4636D.90008@hyperactivesw.com> <379E5E33-063B-43FD-B532-8C6D6E9A7745@swcp.com> Message-ID: <51D46C4F.9000303@hyperactivesw.com> On 7/3/13 12:57 PM, Dar Scott wrote: > Now, what is typical RAM? I'd like to know that too, especially for school lab computers. I'd also like to know how I should calculate the minimum requirements. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gandalf at doctorTimothyMiller.com Wed Jul 3 14:32:21 2013 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Wed, 3 Jul 2013 11:32:21 -0700 Subject: multiple crashes with OS 10.8.4 and 6.0.2 community In-Reply-To: <003101ce77c0$8f508c90$adf1a5b0$@de> References: <5DC2F8C1-9978-4AF8-98A5-7FFB91A0B873@doctorTimothyMiller.com> <003101ce77c0$8f508c90$adf1a5b0$@de> Message-ID: Hi Tiemo, Thanks. It's possible I unwittingly entered a Unicode character into a field. Is it possible to do this by accident? Tim On Jul 3, 2013, at 12:40 AM, "Tiemo Hollmann TB" wrote: > Do you have any Unicode chars in your text? > I just had crashes because of Unicode in the stack title with 6.0.2. > Not a solution, but perhaps a trace. > Tiemo From dsc at swcp.com Wed Jul 3 14:37:47 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 3 Jul 2013 12:37:47 -0600 Subject: Memory usage In-Reply-To: <51D46C4F.9000303@hyperactivesw.com> References: <51D396F5.5020600@hyperactivesw.com> <51D457C7.5080809@fourthworld.com> <51D4636D.90008@hyperactivesw.com> <379E5E33-063B-43FD-B532-8C6D6E9A7745@swcp.com> <51D46C4F.9000303@hyperactivesw.com> Message-ID: <58ADF0A0-0DC9-4C23-85E5-6D95C13BB503@swcp.com> Now, I'm being (half) goofy. You can have a student and homeschool version which limits the student to some number of things being worked on and has a requirement of 4G. You can have a school or teacher or government institution version that has no such limit and has a requirement of 8G. Allow people to spend more money on the latter. Dar On Jul 3, 2013, at 12:24 PM, J. Landman Gay wrote: > On 7/3/13 12:57 PM, Dar Scott wrote: >> Now, what is typical RAM? > > I'd like to know that too, especially for school lab computers. I'd also like to know how I should calculate the minimum requirements. > > -- > 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 dsc at swcp.com Wed Jul 3 14:49:18 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 3 Jul 2013 12:49:18 -0600 Subject: Memory usage In-Reply-To: <51D46C4F.9000303@hyperactivesw.com> References: <51D396F5.5020600@hyperactivesw.com> <51D457C7.5080809@fourthworld.com> <51D4636D.90008@hyperactivesw.com> <379E5E33-063B-43FD-B532-8C6D6E9A7745@swcp.com> <51D46C4F.9000303@hyperactivesw.com> Message-ID: <79A37C31-700F-4203-898A-B3BCA4944FE4@swcp.com> > I'd like to know that too, especially for school lab computers. I'd also like to know how I should calculate the minimum requirements. Perhaps school districts have guidelines for memory requirements of purchased software as well as upgrade/retire memory requirements for computers in place. That is, your contacts might be able to steer you to district policy that helps. My guess is that most computers in schools were purchased 4 years ago (with 20-year bonds) and have memory for OS+Word or OS+Photoshop. So, maybe 2G? This is just a very wild guess. Dar From devin_asay at byu.edu Wed Jul 3 14:53:13 2013 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 3 Jul 2013 18:53:13 +0000 Subject: Memory usage In-Reply-To: <51D46BC1.4040600@hyperactivesw.com> References: <51D45DC2.7060907@fourthworld.com> <51D46BC1.4040600@hyperactivesw.com> Message-ID: On Jul 3, 2013, at 12:21 PM, J. Landman Gay wrote: > On 7/3/13 12:29 PM, Paul Looney wrote: >> If Jacque's program is too big to work with 8 G of RAM, an SSD should >> be a trivial expense to run it properly. >> How big IS it? > > It's for students and they will run the app on their own machines. My concern is for students with old machines, or school lab computers with minimum RAM. > > The project has an engine with all the shared code, and hundreds of content stacks that are loaded on demand from a server. The student can open as many as they want. They won't have a hundred stacks open at once, but they could easily have ten or twelve, maybe more. Most stacks are around 3 megs, give or take, some are closer to 5 MB. The stacks have destroystack set to false so that they stay resident, which allows navigation between them without having to re-download from the server each time. Nothing is ever written to disk. The engine and its resources must always remain open of course, and it is about 5 megs so far. It will be more when it becomes a standalone. > > Each stack has multiple movie and audio content that will be streamed. In general, two or three players will be open and running per card. Generally these are maybe 15 MB for a movie and 300K per audio in their compressed sizes (m4a and m4v.) I don't know what they become in RAM while playing. > > The app also has to hold 2-3 megs of data permanently in variables for internal functions. > > I have the main "engine" and three stacks open right now in the IDE. I haven't loaded any players yet or any of the stored variable content data. Console shows 270 MB in real memory and 218 MB in virtual memory. I'm not sure how much of that is the IDE. > > Thunderbird and Firefox are showing larger amounts. Jacque, Why not set the destroyStack to true, and save the stacks as they are downloaded from the server to specialFolderPath("temporary")? Then they would open quickly when re-called. You could make sure the temporary cache was deleted before quitting. Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From m.schonewille at economy-x-talk.com Wed Jul 3 14:54:29 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 03 Jul 2013 20:54:29 +0200 Subject: Walter Brown Message-ID: <51D47365.1020002@economy-x-talk.com> Dear Walter Brown, Please contact me off-list. It seems that the contact information you provided me with is incorrect. If you don't get a reply from me, try to use a different e-mail server with a different domain 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 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ From gcanyon at gmail.com Wed Jul 3 16:19:13 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 3 Jul 2013 15:19:13 -0500 Subject: Weekend challenge In-Reply-To: <51D4518C.206@hyperactivesw.com> References: <1372637090.80204.YahooMailBasic@web120505.mail.ne1.yahoo.com> <51D0CD04.20205@hyperactivesw.com> <51D0F96D.9090704@hyperactivesw.com> <51D1C07D.3060100@hyperactivesw.com> <433927F6-9896-4357-86E7-B4C32A62A00F@gmail.com> <51D39A5A.1010706@hyperactivesw.com> <51D4518C.206@hyperactivesw.com> Message-ID: On Wed, Jul 3, 2013 at 11:30 AM, J. Landman Gay wrote: > Right, that's why yours is better. The nature of the data is usually that > only a single line would be out of sequence, but of course you can't rely > on that. So tell those guys that you don't condone half-assed error checking ;-) From jacque at hyperactivesw.com Wed Jul 3 16:25:12 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 03 Jul 2013 15:25:12 -0500 Subject: Memory usage In-Reply-To: References: <51D45DC2.7060907@fourthworld.com> <51D46BC1.4040600@hyperactivesw.com> Message-ID: <51D488A8.6000901@hyperactivesw.com> On 7/3/13 1:53 PM, Devin Asay wrote: > Why not set the destroyStack to true, and save the stacks as they are > downloaded from the server to specialFolderPath("temporary")? Then > they would open quickly when re-called. You could make sure the > temporary cache was deleted before quitting. Yeah. But I have been forbidden to write anything to disk, for any reason, no how, no way. They are concerned about their content being swiped. Though I confess I've thought about doing it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Jul 3 16:28:34 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 03 Jul 2013 15:28:34 -0500 Subject: Memory usage In-Reply-To: <79A37C31-700F-4203-898A-B3BCA4944FE4@swcp.com> References: <51D396F5.5020600@hyperactivesw.com> <51D457C7.5080809@fourthworld.com> <51D4636D.90008@hyperactivesw.com> <379E5E33-063B-43FD-B532-8C6D6E9A7745@swcp.com> <51D46C4F.9000303@hyperactivesw.com> <79A37C31-700F-4203-898A-B3BCA4944FE4@swcp.com> Message-ID: <51D48972.2070109@hyperactivesw.com> On 7/3/13 1:49 PM, Dar Scott wrote: > > >> I'd like to know that too, especially for school lab computers. I'd >> also like to know how I should calculate the minimum requirements. > > Perhaps school districts have guidelines for memory requirements of > purchased software as well as upgrade/retire memory requirements for > computers in place. That is, your contacts might be able to steer > you to district policy that helps. > > My guess is that most computers in schools were purchased 4 years ago > (with 20-year bonds) and have memory for OS+Word or OS+Photoshop. > So, maybe 2G? This is just a very wild guess. I can ask them, they might know what the general setup is. Suppose there is only 2G of RAM. There will be lots os disk swapping, right? But nothing will actually blow up? We can say they need to run on a machine with more RAM, but we probably shouldn't crash and burn. Any idea if 4G RAM would be okay for a setup like I describe? I really have no clue about this stuff. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Wed Jul 3 16:43:07 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 03 Jul 2013 23:43:07 +0300 Subject: Memory usage In-Reply-To: <51D48972.2070109@hyperactivesw.com> References: <51D396F5.5020600@hyperactivesw.com> <51D457C7.5080809@fourthworld.com> <51D4636D.90008@hyperactivesw.com> <379E5E33-063B-43FD-B532-8C6D6E9A7745@swcp.com> <51D46C4F.9000303@hyperactivesw.com> <79A37C31-700F-4203-898A-B3BCA4944FE4@swcp.com> <51D48972.2070109@hyperactivesw.com> Message-ID: <51D48CDB.90307@gmail.com> On 07/03/2013 11:28 PM, J. Landman Gay wrote: > On 7/3/13 1:49 PM, Dar Scott wrote: >> >> >>> I'd like to know that too, especially for school lab computers. I'd >>> also like to know how I should calculate the minimum requirements. >> >> Perhaps school districts have guidelines for memory requirements of >> purchased software as well as upgrade/retire memory requirements for >> computers in place. That is, your contacts might be able to steer >> you to district policy that helps. >> >> My guess is that most computers in schools were purchased 4 years ago >> (with 20-year bonds) and have memory for OS+Word or OS+Photoshop. >> So, maybe 2G? This is just a very wild guess. I run 4-5 year old computers (HP Compaq) with 1 GB RAM each and Linux, and find that I can comfortably run OS + GIMP + LibreOffice + Thunderbird + Firefox. Interestingly enough, I tried one of them with Windows XP and Photoshop CS 2 (Free) and managed Firefox as well. So, I'm not sure about the above. > > I can ask them, they might know what the general setup is. Suppose > there is only 2G of RAM. There will be lots os disk swapping, right? > But nothing will actually blow up? > > We can say they need to run on a machine with more RAM, but we > probably shouldn't crash and burn. Any idea if 4G RAM would be okay > for a setup like I describe? I really have no clue about this stuff. > From userev at canelasoftware.com Wed Jul 3 16:53:22 2013 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 3 Jul 2013 13:53:22 -0700 Subject: Pilots required In-Reply-To: <51D4618A.8020709@splash21.com> References: <51CF10B9.8030602@splash21.com> <4052F428-3364-4444-8538-AF9A5223810A@canelasoftware.com> <51D402B7.8080504@splash21.com> <9633759F-C58B-45A9-88CE-7053BE9918DA@canelasoftware.com> <51D4618A.8020709@splash21.com> Message-ID: <425D2EC5-CFA8-474D-8D00-71A96470F043@canelasoftware.com> On Jul 3, 2013, at 10:38 AM, John Craig wrote: > The current client stack is available at https://drive.google.com/folderview?id=0B_yStO6pph2XWjZDUEtmZmMzTEk&usp=sharing Shows as an empty folder. I like the server/client design. Clearly it is super fast. Best regards, Mark Talluto canelasoftware.com From pete at lcsql.com Wed Jul 3 17:04:58 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 3 Jul 2013 14:04:58 -0700 Subject: 6.1 Message-ID: Just been reading the release notes for 6.1 Community. The description of the properties property improvements says: "It returns the minimal set of properties of an object to allow it to be recreated exactly." I thought that had been changed. It also says "When setting properties which contain both non-empty color and pattern properties of the same type, the color property will take precedence." Maybe I'm misunderstanding what that means but it seems to be contradict what the dictionary entries for the various xxxcolor properties say, eg "If an object's *foregroundPattern* is set, the pattern is shown instead of the color specified by *foregroundColor*." Pete lcSQL Software From john at splash21.com Wed Jul 3 17:18:01 2013 From: john at splash21.com (John Craig) Date: Wed, 03 Jul 2013 22:18:01 +0100 Subject: Pilots required In-Reply-To: <425D2EC5-CFA8-474D-8D00-71A96470F043@canelasoftware.com> References: <51CF10B9.8030602@splash21.com> <4052F428-3364-4444-8538-AF9A5223810A@canelasoftware.com> <51D402B7.8080504@splash21.com> <9633759F-C58B-45A9-88CE-7053BE9918DA@canelasoftware.com> <51D4618A.8020709@splash21.com> <425D2EC5-CFA8-474D-8D00-71A96470F043@canelasoftware.com> Message-ID: <51D49509.1020508@splash21.com> I have just updated it with the latest version :) On 03/07/2013 21:53, Mark Talluto wrote: > On Jul 3, 2013, at 10:38 AM, John Craig wrote: > >> The current client stack is available at https://drive.google.com/folderview?id=0B_yStO6pph2XWjZDUEtmZmMzTEk&usp=sharing > Shows as an empty folder. I like the server/client design. Clearly it is super fast. > > > 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 monte at sweattechnologies.com Wed Jul 3 17:25:43 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 4 Jul 2013 07:25:43 +1000 Subject: 6.1 In-Reply-To: References: Message-ID: On 04/07/2013, at 7:04 AM, Peter Haworth wrote: > The description of the properties property improvements says: > > "It returns the minimal set of properties of an object to allow it to be > recreated exactly." I think this statement is still correct even though it now returns empty values if they aren't set. > > I thought that had been changed. > > It also says > > "When setting properties which contain both non-empty color and pattern > properties of the same type, the color property will take precedence." > > Maybe I'm misunderstanding what that means but it seems to be contradict > what the dictionary entries for the various xxxcolor properties say, eg "If > an object's *foregroundPattern* is set, the pattern is shown instead of the > color specified by *foregroundColor*." It doesn't contradict it. Setting a pattern will unset a color and setting a color will unset a pattern. That's why we needed to have a consistent precedence rule. Same for image filename/text in that case text has precedence. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From coiin at verizon.net Wed Jul 3 17:27:36 2013 From: coiin at verizon.net (Colin Holgate) Date: Wed, 03 Jul 2013 17:27:36 -0400 Subject: Pilots required In-Reply-To: <51D49509.1020508@splash21.com> References: <51CF10B9.8030602@splash21.com> <4052F428-3364-4444-8538-AF9A5223810A@canelasoftware.com> <51D402B7.8080504@splash21.com> <9633759F-C58B-45A9-88CE-7053BE9918DA@canelasoftware.com> <51D4618A.8020709@splash21.com> <425D2EC5-CFA8-474D-8D00-71A96470F043@canelasoftware.com> <51D49509.1020508@splash21.com> Message-ID: While you seem to have this bit of spare time, could you comment on the state of MobGUI? I?m currently 7 weeks overdue on sending in updates for my book chapters, and that?s one of the things I need to give people an update about. On Jul 3, 2013, at 5:18 PM, John Craig wrote: > >I have just updated it with the latest version :) From monte at sweattechnologies.com Wed Jul 3 17:30:09 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 4 Jul 2013 07:30:09 +1000 Subject: 6.1 In-Reply-To: References: Message-ID: On 04/07/2013, at 7:25 AM, Monte Goulding wrote: >> Maybe I'm misunderstanding what that means but it seems to be contradict >> what the dictionary entries for the various xxxcolor properties say, eg "If >> an object's *foregroundPattern* is set, the pattern is shown instead of the >> color specified by *foregroundColor*." > > It doesn't contradict it. Setting a pattern will unset a color and setting a color will unset a pattern. That's why we needed to have a consistent precedence rule. Same for image filename/text in that case text has precedence. > Actually, I spoke too soon. The color property docs are wrong. They should state that an object can only have one or the other. The way it's worded does seem to indicate patterns have precedence which they don't. Maybe a good contribution for you Pete? No C coding involved just editing the xml files. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From john at splash21.com Wed Jul 3 18:26:15 2013 From: john at splash21.com (john at splash21.com) Date: Wed, 03 Jul 2013 23:26:15 +0100 Subject: Pilots required In-Reply-To: References: <51CF10B9.8030602@splash21.com> <4052F428-3364-4444-8538-AF9A5223810A@canelasoftware.com> <51D402B7.8080504@splash21.com> <9633759F-C58B-45A9-88CE-7053BE9918DA@canelasoftware.com> <51D4618A.8020709@splash21.com> <425D2EC5-CFA8-474D-8D00-71A96470F043@canelasoftware.com> <51D49509.1020508@splash21.com> Message-ID: <20130703232615.450839yeomjp20p3@webmail.splash21.com> With pluggable themes being added soon; "Pixel perfect native looking themes for every single platform we support including Android and iOS" I'm not sure how much of MobGUI will become redundant. My guess is that MobGUI could still provide the native placeholder controls for browser, scroller, etc. (which are almost complete for V6) and controls such as the carousel, etc. with friendly interfaces to set them up. Quoting Colin Holgate : > While you seem to have this bit of spare time, could you comment on > the state of MobGUI? I?m currently 7 weeks overdue on sending in > updates for my book chapters, and that?s one of the things I need to > give people an update about. > > > On Jul 3, 2013, at 5:18 PM, John Craig wrote: > >> >I have just updated it with the latest version :) > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 3 17:50:28 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 03 Jul 2013 16:50:28 -0500 Subject: Memory usage In-Reply-To: <79A37C31-700F-4203-898A-B3BCA4944FE4@swcp.com> References: <51D396F5.5020600@hyperactivesw.com> <51D457C7.5080809@fourthworld.com> <51D4636D.90008@hyperactivesw.com> <379E5E33-063B-43FD-B532-8C6D6E9A7745@swcp.com> <51D46C4F.9000303@hyperactivesw.com> <79A37C31-700F-4203-898A-B3BCA4944FE4@swcp.com> Message-ID: <51D49CA4.2000806@hyperactivesw.com> On 7/3/13 1:49 PM, Dar Scott wrote: > My guess is that most computers in schools were purchased 4 years ago > (with 20-year bonds) and have memory for OS+Word or OS+Photoshop. > So, maybe 2G? This is just a very wild guess. You're a good guesser. I just asked, and the client thinks a 2-gig average is about right. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Wed Jul 3 17:53:49 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 3 Jul 2013 14:53:49 -0700 Subject: 6.1 In-Reply-To: References: Message-ID: On Wed, Jul 3, 2013 at 2:25 PM, Monte Goulding wrote: > > The description of the properties property improvements says: > > > > "It returns the minimal set of properties of an object to allow it to be > > recreated exactly." > > I think this statement is still correct even though it now returns empty > values if they aren't set. OK, just checking that properties with empty values are still being returned. Pete lcSQL Software From coiin at verizon.net Wed Jul 3 17:54:03 2013 From: coiin at verizon.net (Colin Holgate) Date: Wed, 03 Jul 2013 17:54:03 -0400 Subject: Pilots required In-Reply-To: <20130703232615.450839yeomjp20p3@webmail.splash21.com> References: <51CF10B9.8030602@splash21.com> <4052F428-3364-4444-8538-AF9A5223810A@canelasoftware.com> <51D402B7.8080504@splash21.com> <9633759F-C58B-45A9-88CE-7053BE9918DA@canelasoftware.com> <51D4618A.8020709@splash21.com> <425D2EC5-CFA8-474D-8D00-71A96470F043@canelasoftware.com> <51D49509.1020508@splash21.com> <20130703232615.450839yeomjp20p3@webmail.splash21.com> Message-ID: <53991BCD-ED3F-459C-B97A-DFEA9549E383@verizon.net> Yes, that?s what it?s good for. The ?pixel perfect? approach isn?t ideal, just look at how different iOS 7 will be to iOS 6 for example, and having to make your apps know which of the several OSes graphics to pull up could get tricky. How is your community version of the existing add-on going? Are you going to have all of the controls on Android? On Jul 3, 2013, at 6:26 PM, john at splash21.com wrote: > >I'm not sure how much of MobGUI will become redundant. My guess is that MobGUI could still provide the native placeholder controls for browser, scroller, etc. (which are almost complete for V6) and controls such as the carousel, etc. with friendly interfaces to set them up. From pete at lcsql.com Wed Jul 3 17:55:14 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 3 Jul 2013 14:55:14 -0700 Subject: 6.1 In-Reply-To: References: Message-ID: On Wed, Jul 3, 2013 at 2:30 PM, Monte Goulding wrote: > Actually, I spoke too soon. The color property docs are wrong. They should > state that an object can only have one or the other. The way it's worded > does seem to indicate patterns have precedence which they don't. > That's the way I read it and why it seemed to contradict the release notes > > Maybe a good contribution for you Pete? No C coding involved just editing > the xml files. > I'll take a look at what's involved. Pete lcSQL Software From john at splash21.com Wed Jul 3 18:35:46 2013 From: john at splash21.com (john at splash21.com) Date: Wed, 03 Jul 2013 23:35:46 +0100 Subject: Pilots required In-Reply-To: <53991BCD-ED3F-459C-B97A-DFEA9549E383@verizon.net> References: <51CF10B9.8030602@splash21.com> <4052F428-3364-4444-8538-AF9A5223810A@canelasoftware.com> <51D402B7.8080504@splash21.com> <9633759F-C58B-45A9-88CE-7053BE9918DA@canelasoftware.com> <51D4618A.8020709@splash21.com> <425D2EC5-CFA8-474D-8D00-71A96470F043@canelasoftware.com> <51D49509.1020508@splash21.com> <20130703232615.450839yeomjp20p3@webmail.splash21.com> <53991BCD-ED3F-459C-B97A-DFEA9549E383@verizon.net> Message-ID: <20130703233546.17981ug3r2owtpoi@webmail.splash21.com> Yes - it's looking like everything will work on android this time around - the team have done a good job bringing it up to par with iOS :) Quoting Colin Holgate : > Yes, that?s what it?s good for. The ?pixel perfect? approach isn?t > ideal, just look at how different iOS 7 will be to iOS 6 for > example, and having to make your apps know which of the several OSes > graphics to pull up could get tricky. > > How is your community version of the existing add-on going? Are you > going to have all of the controls on Android? > > > On Jul 3, 2013, at 6:26 PM, john at splash21.com wrote: > >> >I'm not sure how much of MobGUI will become redundant. My guess >> is that MobGUI could still provide the native placeholder controls >> for browser, scroller, etc. (which are almost complete for V6) and >> controls such as the carousel, etc. with friendly interfaces to >> set them up. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 3 18:10:08 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 4 Jul 2013 08:10:08 +1000 Subject: 6.1 In-Reply-To: References: Message-ID: <9C790C43-70B1-4F71-B8CA-A4D2D75D0BB5@sweattechnologies.com> On 04/07/2013, at 7:55 AM, Peter Haworth wrote: > I'll take a look at what's involved. It's not complicated and actually you could do docs editing without even checking out the repo locally by editing the files on github Create a github account Go the runrev repo Click fork go to your fork in the branches pulldown there's a field to enter a branch name which allows you to create one so create one named something like bugfix-color_docs navigate to the xml files of the docs you want to change then click the edit button once you've done your edit on each file there's a field at the bottom for entering in what your changes were about once you have them all changed use the pull request button to send a pull request to runrev about your changes Come to think of it I think RunRev should advertise this process because I imagine there would be more people willing to contribute to the docs if it were known how to do it easily online... I've CC'd Mark Waddingham so he can have someone add it to the how to contribute docs. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From revolution at derbrill.de Wed Jul 3 18:13:36 2013 From: revolution at derbrill.de (Malte Brill) Date: Thu, 4 Jul 2013 00:13:36 +0200 Subject: [ANN] libDate updated In-Reply-To: References: Message-ID: Update to libDate (download here: http://forums.runrev.com/phpBB2/viewtopic.php?f=16&t=15752 ) New functions added: libDate_DaysBetween -> returns the number of days between 2 dates libDate_DateInDaysFrom -> returns the date in a number of days libDate_DaysOfCalendarWeekIso -> returns the dates in a specific calendar week (ISO Format) Helper functions: libDate_DayNumber -> returns a numeric value for a date libDate_DateFromNumber -> inverse function of the above The library is released into the public domain. No strings attached. No warranty. There is a button to test each function that is implemented. I am looking forward to feedback and contributions if you would like to help out. Best, Malte From devin_asay at byu.edu Wed Jul 3 18:16:38 2013 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 3 Jul 2013 22:16:38 +0000 Subject: Memory usage In-Reply-To: <51D488A8.6000901@hyperactivesw.com> References: <51D45DC2.7060907@fourthworld.com> <51D46BC1.4040600@hyperactivesw.com> <51D488A8.6000901@hyperactivesw.com> Message-ID: <87DBEED0-BAB2-4C4E-A707-C1D2788889AC@byu.edu> On Jul 3, 2013, at 2:25 PM, J. Landman Gay wrote: > On 7/3/13 1:53 PM, Devin Asay wrote: > >> Why not set the destroyStack to true, and save the stacks as they are >> downloaded from the server to specialFolderPath("temporary")? Then >> they would open quickly when re-called. You could make sure the >> temporary cache was deleted before quitting. > > Yeah. But I have been forbidden to write anything to disk, for any reason, no how, no way. They are concerned about their content being swiped. Though I confess I've thought about doing it. But now we're getting into semantics, right? Because if you use up all your RAM the OS is going to start spooling stuff onto the hard drive. Seems like there are all kinds of safeguards you could put in place to protect their content and still maintain programming efficiencies. Encrypting stacks written to disk for one. Devin Devin AsayLearn to code with LiveCode University http://university.livecode.com From monte at sweattechnologies.com Wed Jul 3 18:19:27 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 4 Jul 2013 08:19:27 +1000 Subject: Memory usage In-Reply-To: <87DBEED0-BAB2-4C4E-A707-C1D2788889AC@byu.edu> References: <51D45DC2.7060907@fourthworld.com> <51D46BC1.4040600@hyperactivesw.com> <51D488A8.6000901@hyperactivesw.com> <87DBEED0-BAB2-4C4E-A707-C1D2788889AC@byu.edu> Message-ID: On 04/07/2013, at 8:16 AM, Devin Asay wrote: > But now we're getting into semantics, right? Because if you use up all your RAM the OS is going to start spooling stuff onto the hard drive. Seems like there are all kinds of safeguards you could put in place to protect their content and still maintain programming efficiencies. Encrypting stacks written to disk for one. If this is the same project I think it is then she can't use encryption because she can't use any externals... nothing but the executable is allowed... -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From devin_asay at byu.edu Wed Jul 3 18:22:03 2013 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 3 Jul 2013 22:22:03 +0000 Subject: Memory usage In-Reply-To: References: <51D45DC2.7060907@fourthworld.com> <51D46BC1.4040600@hyperactivesw.com> <51D488A8.6000901@hyperactivesw.com> <87DBEED0-BAB2-4C4E-A707-C1D2788889AC@byu.edu> Message-ID: On Jul 3, 2013, at 4:19 PM, Monte Goulding wrote: > > On 04/07/2013, at 8:16 AM, Devin Asay wrote: > >> But now we're getting into semantics, right? Because if you use up all your RAM the OS is going to start spooling stuff onto the hard drive. Seems like there are all kinds of safeguards you could put in place to protect their content and still maintain programming efficiencies. Encrypting stacks written to disk for one. > > If this is the same project I think it is then she can't use encryption because she can't use any externals... nothing but the executable is allowed? > Hey, just make up your own encryption scheme. I know a good one-- A=1, B=2, C=3, etc. ;-) D Devin Asay Learn to code with LiveCode University http://university.livecode.com From monte at sweattechnologies.com Wed Jul 3 18:23:34 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 4 Jul 2013 08:23:34 +1000 Subject: Memory usage In-Reply-To: References: <51D45DC2.7060907@fourthworld.com> <51D46BC1.4040600@hyperactivesw.com> <51D488A8.6000901@hyperactivesw.com> <87DBEED0-BAB2-4C4E-A707-C1D2788889AC@byu.edu> Message-ID: On 04/07/2013, at 8:22 AM, Devin Asay wrote: > Hey, just make up your own encryption scheme. I know a good one-- A=1, B=2, C=3, etc. ;-) Ah.. everyone knows how to crack that one now Devin ;-) -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From m.schonewille at economy-x-talk.com Wed Jul 3 20:10:39 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 04 Jul 2013 02:10:39 +0200 Subject: Joe DaSilva Message-ID: <51D4BD7F.30805@economy-x-talk.com> Dear Joe DaSilva, Please contact me off-list. It seems that the contact information you provided me with is incorrect. If you don't get a reply from me, try to use a different e-mail server with a different domain name. If anyone knows Joe, please alert him. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ From m_p_wilcox at yahoo.co.uk Thu Jul 4 03:52:28 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Thu, 4 Jul 2013 08:52:28 +0100 (BST) Subject: Memory usage In-Reply-To: <51D49CA4.2000806@hyperactivesw.com> References: <51D396F5.5020600@hyperactivesw.com> <51D457C7.5080809@fourthworld.com> <51D4636D.90008@hyperactivesw.com> <379E5E33-063B-43FD-B532-8C6D6E9A7745@swcp.com> <51D46C4F.9000303@hyperactivesw.com> <79A37C31-700F-4203-898A-B3BCA4944FE4@swcp.com> <51D49CA4.2000806@hyperactivesw.com> Message-ID: <1372924348.44422.YahooMailNeo@web28801.mail.ir2.yahoo.com> jacque at hyperactivesw.com wrote: >> You're a good guesser. I just asked, and the client thinks a 2-gig average is about right. From what you described of the memory usage of your system, it's not going to get even remotely close to needing swap on a PC with 2GB RAM (video decoding only requires enough RAM for the codec and a few frames at a time). ?If it really is a problem (e.g. much less than 2GB available) and you can't cache stacks to the disk then you could write your own in memory caching system that destroys the least recently used one when you go past a certain number of stacks downloaded. Mark From toolbook at kestner.de Thu Jul 4 04:01:38 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 4 Jul 2013 10:01:38 +0200 Subject: AW: multiple crashes with OS 10.8.4 and 6.0.2 community In-Reply-To: References: <5DC2F8C1-9978-4AF8-98A5-7FFB91A0B873@doctorTimothyMiller.com> <003101ce77c0$8f508c90$adf1a5b0$@de> Message-ID: <002301ce788c$b6f0ec00$24d2c400$@de> I don't know, perhaps by copy/paste? But I don't know, if our bugs are related at all. In my case it were German accents in a stack title Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Timothy Miller > Gesendet: Mittwoch, 3. Juli 2013 20:32 > An: How to use LiveCode > Betreff: Re: multiple crashes with OS 10.8.4 and 6.0.2 community > > Hi Tiemo, > > Thanks. > > It's possible I unwittingly entered a Unicode character into a field. > > Is it possible to do this by accident? > > Tim > > On Jul 3, 2013, at 12:40 AM, "Tiemo Hollmann TB" > wrote: > > > Do you have any Unicode chars in your text? > > I just had crashes because of Unicode in the stack title with 6.0.2. > > Not a solution, but perhaps a trace. > > Tiemo > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Jul 4 09:53:13 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 04 Jul 2013 06:53:13 -0700 Subject: Memory usage In-Reply-To: References: Message-ID: <51D57E49.4030108@fourthworld.com> Monte Goulding wrote: > If this is the same project I think it is then she can't use > encryption because she can't use any externals... nothing but > the executable is allowed... While not nearly as secure as Blowfish (not by a long shot), this modest encryption script can at least slow down hacks, and as a script is fully embeddable: I wouldn't recommend it for data requiring really strong security, but the sort of person able to crack it is likely able to do a memory dump, so it's probably no less secure than limiting stacks to RAM. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From pmbrig at gmail.com Thu Jul 4 11:08:43 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Thu, 4 Jul 2013 11:08:43 -0400 Subject: Regular expressions In-Reply-To: References: <7068BD19-383D-413A-A898-E890F5F0C1A4@de-mare.nl> <1372775473.60967.YahooMailNeo@web141101.mail.bf1.yahoo.com> Message-ID: <1269AB5A-BF58-4D26-B0C1-BB2EA52B8999@gmail.com> On Jul 2, 2013, at 1:13 PM, Terry Vogelaar wrote: > However, I need to do some thinking how I can turn this into a search-and-replace-all style action. I probably need to write a loop where I use offset to find the first "", then use matchChunk to see if it matches and to put things in variables, and then change the span tags into something else temporarily to keep the offset function to find the first one over and over again, and if the last one is found, do some cleaning up to get the span tags back into place. I don't fully understand what you are doing here, but would the following be useful? function offsets str,container,includeOverlaps -- returns a comma-delimited list of all the offsets of str in container -- returns 0 if not found -- third param is optional: -- offsets("xx","xxxxxx") returns "1,3,5" not "1,2,3,4,5" -- ie, by default, overlapping offsets are not counted -- if you want overlapping offsets then pass "true" in 3rd param if str is not in container then return 0 if includeOverlaps = empty then put false into includeOverlaps put empty into offsetList put 0 into startPoint repeat put offset(str,container,startPoint) into thisOffset if thisOffset = 0 then exit repeat add thisOffset to startPoint put startPoint & comma after offsetList if not includeOverlaps then add length(str)-1 to startPoint end if end repeat return item 1 to -1 of offsetList -- delete trailing comma end offsets -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From jacque at hyperactivesw.com Thu Jul 4 15:34:10 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 04 Jul 2013 14:34:10 -0500 Subject: Memory usage In-Reply-To: References: <51D45DC2.7060907@fourthworld.com> <51D46BC1.4040600@hyperactivesw.com> <51D488A8.6000901@hyperactivesw.com> <87DBEED0-BAB2-4C4E-A707-C1D2788889AC@byu.edu> Message-ID: <51D5CE32.1090503@hyperactivesw.com> On 7/3/13 5:19 PM, Monte Goulding wrote: > > On 04/07/2013, at 8:16 AM, Devin Asay wrote: > >> But now we're getting into semantics, right? Because if you use up >> all your RAM the OS is going to start spooling stuff onto the hard >> drive. Seems like there are all kinds of safeguards you could put >> in place to protect their content and still maintain programming >> efficiencies. Encrypting stacks written to disk for one. > > If this is the same project I think it is then she can't use > encryption because she can't use any externals... nothing but the > executable is allowed... Yeah, same one. I can't use anything useful. On the bright side, it makes you creative. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Jul 4 15:35:31 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 04 Jul 2013 14:35:31 -0500 Subject: Memory usage In-Reply-To: References: <51D45DC2.7060907@fourthworld.com> <51D46BC1.4040600@hyperactivesw.com> <51D488A8.6000901@hyperactivesw.com> <87DBEED0-BAB2-4C4E-A707-C1D2788889AC@byu.edu> Message-ID: <51D5CE83.4000700@hyperactivesw.com> On 7/3/13 5:22 PM, Devin Asay wrote: > Hey, just make up your own encryption scheme. I know a good one-- > A=1, B=2, C=3, etc. ;-) It's even harder if you offset those by 2: A=3, B=4. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Jul 4 15:38:07 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 04 Jul 2013 14:38:07 -0500 Subject: Memory usage In-Reply-To: <1372924348.44422.YahooMailNeo@web28801.mail.ir2.yahoo.com> References: <51D396F5.5020600@hyperactivesw.com> <51D457C7.5080809@fourthworld.com> <51D4636D.90008@hyperactivesw.com> <379E5E33-063B-43FD-B532-8C6D6E9A7745@swcp.com> <51D46C4F.9000303@hyperactivesw.com> <79A37C31-700F-4203-898A-B3BCA4944FE4@swcp.com> <51D49CA4.2000806@hyperactivesw.com> <1372924348.44422.YahooMailNeo@web28801.mail.ir2.yahoo.com> Message-ID: <51D5CF1F.8070401@hyperactivesw.com> On 7/4/13 2:52 AM, Mark Wilcox wrote: > jacque at hyperactivesw.com wrote: > >>> You're a good guesser. I just asked, and the client thinks a >>> 2-gig average is about right. > >> From what you described of the memory usage of your system, it's >> not going to get even remotely close to needing swap on a PC with >> 2GB RAM (video decoding only requires enough RAM for the codec and >> a few frames at a time). If it really is a problem (e.g. much less >> than 2GB available) and you can't cache stacks to the disk then you >> could write your own in memory caching system that destroys the >> least recently used one when you go past a certain number of stacks >> downloaded. That's what I wanted to hear, thanks. Deleting the oldest files is actually in their specs but I didn't want to have to track that. They have some ancient, decrepit Windows machines to test on so I think we'll find out soon enough if I'm worrying for nothing. I hope so. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Jul 4 15:39:31 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 04 Jul 2013 14:39:31 -0500 Subject: Memory usage In-Reply-To: <51D57E49.4030108@fourthworld.com> References: <51D57E49.4030108@fourthworld.com> Message-ID: <51D5CF73.1000209@hyperactivesw.com> On 7/4/13 8:53 AM, Richard Gaskin wrote: > Monte Goulding wrote: > > If this is the same project I think it is then she can't use > > encryption because she can't use any externals... nothing but > > the executable is allowed... > > While not nearly as secure as Blowfish (not by a long shot), this modest > encryption script can at least slow down hacks, and as a script is fully > embeddable: > > > I wouldn't recommend it for data requiring really strong security, but > the sort of person able to crack it is likely able to do a memory dump, > so it's probably no less secure than limiting stacks to RAM. I'd forgotten all about that. Yes, that would be an option. I'll file it away (again). BTW, RR recently removed the ability to see scripts in a memory dump. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Thu Jul 4 16:00:55 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 04 Jul 2013 13:00:55 -0700 Subject: Memory usage In-Reply-To: <51D5CF73.1000209@hyperactivesw.com> References: <51D5CF73.1000209@hyperactivesw.com> Message-ID: <51D5D477.9070308@fourthworld.com> J. Landman Gay wrote: > BTW, RR recently removed the ability to see scripts in a memory dump. :) Which version? The implications are interesting: does it make things faster or slower? If they're only saving a tokenized form of the script that would seem likely to make things faster, as it would obviate some of the steps needed for execution. But if they're merely encrypting the scripts at runtime, that would of course slow things down. If the former, how much more could be done to further approach true machine-code speeds? -- 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 kowalskiotto+lc at googlemail.com Thu Jul 4 16:02:45 2013 From: kowalskiotto+lc at googlemail.com (Otto Kowalski) Date: Thu, 4 Jul 2013 22:02:45 +0200 Subject: Fwd: post,get,etc Jason to URL on android In-Reply-To: References: Message-ID: Subject: post,get,etc Jason to URL on android To: use-livecode at lists.runrev.com hi guys, i try to develop a mobile app for android/ios using the apis of a web application. it expects a Login like this: { "username":"xx","password":"yy" } i already set the http Header to application/json and it works in the ide... but it Shows no function on android/ empty Response. vBody is the Jason abpve and URL the url *post* vBody to url vUrl *put* it into eUrl *answer* eUrl would be glad if someone could Point me into the right direction -- Otto Kowalski From gcanyon at gmail.com Thu Jul 4 18:11:33 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Thu, 4 Jul 2013 17:11:33 -0500 Subject: Regular expressions In-Reply-To: <1269AB5A-BF58-4D26-B0C1-BB2EA52B8999@gmail.com> References: <7068BD19-383D-413A-A898-E890F5F0C1A4@de-mare.nl> <1372775473.60967.YahooMailNeo@web141101.mail.bf1.yahoo.com> <1269AB5A-BF58-4D26-B0C1-BB2EA52B8999@gmail.com> Message-ID: I like general utility functions like this. I've written this one myself somewhere in the past. When we can tinker with the language this will definitely be in my lexicon. On Thu, Jul 4, 2013 at 10:08 AM, Peter M. Brigham wrote: > > function offsets str,container,includeOverlaps > From jacque at hyperactivesw.com Thu Jul 4 18:22:13 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 04 Jul 2013 17:22:13 -0500 Subject: Memory usage In-Reply-To: <51D5D477.9070308@fourthworld.com> References: <51D5CF73.1000209@hyperactivesw.com> <51D5D477.9070308@fourthworld.com> Message-ID: <58709270-0488-4d09-b7f7-000a6f4dcbd3@email.android.com> I'm not sure how it's done exactly. Mark Waddingham mentioned it to me at the last conference, he just said it was no longer possible to read the code from memory. I didn't even ask what version but I got the impression it was a recent change. Richard Gaskin wrote: >J. Landman Gay wrote: >> BTW, RR recently removed the ability to see scripts in a memory dump. >:) > >Which version? > >The implications are interesting: does it make things faster or >slower? > >If they're only saving a tokenized form of the script that would seem >likely to make things faster, as it would obviate some of the steps >needed for execution. > >But if they're merely encrypting the scripts at runtime, that would of >course slow things down. > >If the former, how much more could be done to further approach true >machine-code speeds? > >-- > 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 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andrew at ctech.me Thu Jul 4 22:44:05 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 4 Jul 2013 21:44:05 -0500 Subject: post,get,etc Jason to URL on android In-Reply-To: References: Message-ID: Sounds like you need to: libUrlSetSSLVerification false On Thu, Jul 4, 2013 at 3:02 PM, Otto Kowalski < kowalskiotto+lc at googlemail.com> wrote: > Subject: post,get,etc Jason to URL on android > To: use-livecode at lists.runrev.com > > > hi guys, i try to develop a mobile app for android/ios using the apis of a > web application. > it expects a Login like this: > > { > > "username":"xx","password":"yy" > > } > > > i already set the http Header to application/json and it works in the > ide... > but it Shows no function on android/ empty Response. > > vBody is the Jason abpve and URL the url > > *post* vBody to url vUrl > > *put* it into eUrl > > *answer* eUrl > > would be glad if someone could Point me into the right direction > -- > Otto Kowalski > _______________________________________________ > use-livecode mailing list > use-livecode 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 sims at ezpzapps.com Fri Jul 5 03:13:01 2013 From: sims at ezpzapps.com (Jim Sims) Date: Fri, 5 Jul 2013 09:13:01 +0200 Subject: mouseLeave mouseWithin - iOS Message-ID: I don't have what I need to test this so I am asking here. Does mouseLeave and mouseWithin work with iOS? If you run your finger over a set of buttons do they change with mouseLeave and mouseWithin or does one need tap? sims From kowalskiotto+lc at googlemail.com Fri Jul 5 03:14:09 2013 From: kowalskiotto+lc at googlemail.com (Otto Kowalski) Date: Fri, 5 Jul 2013 09:14:09 +0200 Subject: Fwd: post,get,etc Jason to URL on android In-Reply-To: References: Message-ID: ---------- Forwarded message ---------- From: Otto Kowalski Date: 2013/7/5 Subject: Re: post,get,etc Jason to URL on android To: How to use LiveCode i put libUrlSetSSLVerification false before post url and now i'm not even getting an empty answer :/ 2013/7/5 Andrew Kluthe > Sounds like you need to: > > > libUrlSetSSLVerification false > > > > > On Thu, Jul 4, 2013 at 3:02 PM, Otto Kowalski < > kowalskiotto+lc at googlemail.com> wrote: > > > Subject: post,get,etc Jason to URL on android > > To: use-livecode at lists.runrev.com > > > > > > hi guys, i try to develop a mobile app for android/ios using the apis of > a > > web application. > > it expects a Login like this: > > > > { > > > > "username":"xx","password":"yy" > > > > } > > > > > > i already set the http Header to application/json and it works in the > > ide... > > but it Shows no function on android/ empty Response. > > > > vBody is the Jason abpve and URL the url > > > > *post* vBody to url vUrl > > > > *put* it into eUrl > > > > *answer* eUrl > > > > would be glad if someone could Point me into the right direction > > -- > > Otto Kowalski > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 > -- Otto Kowalski, Am Nitzelbach 11, 35108 Allendorf (Eder), Telefon: 06452/2059726 From MikeKerner at roadrunner.com Fri Jul 5 08:04:46 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 5 Jul 2013 08:04:46 -0400 Subject: mouseLeave mouseWithin - iOS In-Reply-To: References: Message-ID: John, According to the docs, yes, however the docs also note that mouseWithin is sent continuously while the object has the touch, so mouseMove is more efficient. On Fri, Jul 5, 2013 at 3:13 AM, Jim Sims wrote: > I don't have what I need to test this so I am asking here. > > Does mouseLeave and mouseWithin work with iOS? > > If you run your finger over a set of buttons do they change with > mouseLeave and mouseWithin or does one need tap? > > > sims > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Jul 5 08:34:09 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 5 Jul 2013 08:34:09 -0400 Subject: mouseLeave mouseWithin - iOS In-Reply-To: References: Message-ID: Also, don't forget about mouseEnter, and how could I forget the touch events (touchStart, touchRelease, touchMove, touchEnd) On Fri, Jul 5, 2013 at 8:04 AM, Mike Kerner wrote: > John, > According to the docs, yes, however the docs also note that mouseWithin is > sent continuously while the object has the touch, so mouseMove is more > efficient. > > > On Fri, Jul 5, 2013 at 3:13 AM, Jim Sims wrote: > >> I don't have what I need to test this so I am asking here. >> >> Does mouseLeave and mouseWithin work with iOS? >> >> If you run your finger over a set of buttons do they change with >> mouseLeave and mouseWithin or does one need tap? >> >> >> sims >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 pmbrig at gmail.com Fri Jul 5 08:59:33 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 5 Jul 2013 08:59:33 -0400 Subject: Memory usage In-Reply-To: <51D57E49.4030108@fourthworld.com> References: <51D57E49.4030108@fourthworld.com> Message-ID: On Jul 4, 2013, at 9:53 AM, Richard Gaskin wrote: > Monte Goulding wrote: > > If this is the same project I think it is then she can't use > > encryption because she can't use any externals... nothing but > > the executable is allowed... > > While not nearly as secure as Blowfish (not by a long shot), this modest encryption script can at least slow down hacks, and as a script is fully embeddable: > > > I wouldn't recommend it for data requiring really strong security, but the sort of person able to crack it is likely able to do a memory dump, so it's probably no less secure than limiting stacks to RAM. I notice that this routine uses md5digest. I have only glanced at it, so I don't know what the weak point is, but would it make any difference if it were updated to use SHA? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From bdrunrev at gmail.com Fri Jul 5 09:00:56 2013 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 5 Jul 2013 14:00:56 +0100 Subject: Memory usage In-Reply-To: <51D5CE32.1090503@hyperactivesw.com> References: <51D45DC2.7060907@fourthworld.com> <51D46BC1.4040600@hyperactivesw.com> <51D488A8.6000901@hyperactivesw.com> <87DBEED0-BAB2-4C4E-A707-C1D2788889AC@byu.edu> <51D5CE32.1090503@hyperactivesw.com> Message-ID: Jacques, Since your client has the requirement of no externals, I think there is still one way to encrypt the data, using nothing but the engine. Isn't it the case that if you store data as custom properties in password-protected stacks that the custom property data is encrypted? I think you can put a whole object into a custom property. Thus your players could be stored as custom properties, then the password set on the stacks, and those stacks stored to disk. When loaded from disk, and unencrypted, the player could be moved out of the custom property (and the property deleted) onto a card. But in this scenario, you are then dependent on the level of encryption offered by LiveCode itself. That still should be faster/superior to any simple encryption scheme knocked up in LC. Bernard On Thu, Jul 4, 2013 at 8:34 PM, J. Landman Gay wrote: > On 7/3/13 5:19 PM, Monte Goulding wrote: > >> >> On 04/07/2013, at 8:16 AM, Devin Asay wrote: >> >> But now we're getting into semantics, right? Because if you use up >>> all your RAM the OS is going to start spooling stuff onto the hard >>> drive. Seems like there are all kinds of safeguards you could put >>> in place to protect their content and still maintain programming >>> efficiencies. Encrypting stacks written to disk for one. >>> >> >> If this is the same project I think it is then she can't use >> encryption because she can't use any externals... nothing but the >> executable is allowed... >> > > Yeah, same one. I can't use anything useful. On the bright side, it makes > you creative. > > > -- > 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 andrew at ctech.me Fri Jul 5 09:31:27 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Fri, 5 Jul 2013 08:31:27 -0500 Subject: post,get,etc Jason to URL on android In-Reply-To: References: Message-ID: I was a little inebriated when I posted this last night. I missed the part about the mobile. I know that some of the url commands operate differently on mobile than on the desktop and I don't have much experience there. Maybe try looking for "the result" variable instead of "it" on mobile? put the result into eUrl On Fri, Jul 5, 2013 at 2:14 AM, Otto Kowalski < kowalskiotto+lc at googlemail.com> wrote: > ---------- Forwarded message ---------- > From: Otto Kowalski > Date: 2013/7/5 > Subject: Re: post,get,etc Jason to URL on android > To: How to use LiveCode > > > i put > libUrlSetSSLVerification false > before post url and now i'm not even getting an empty answer :/ > > > 2013/7/5 Andrew Kluthe > > > Sounds like you need to: > > > > > > libUrlSetSSLVerification false > > > > > > > > > > On Thu, Jul 4, 2013 at 3:02 PM, Otto Kowalski < > > kowalskiotto+lc at googlemail.com> wrote: > > > > > Subject: post,get,etc Jason to URL on android > > > To: use-livecode at lists.runrev.com > > > > > > > > > hi guys, i try to develop a mobile app for android/ios using the apis > of > > a > > > web application. > > > it expects a Login like this: > > > > > > { > > > > > > "username":"xx","password":"yy" > > > > > > } > > > > > > > > > i already set the http Header to application/json and it works in the > > > ide... > > > but it Shows no function on android/ empty Response. > > > > > > vBody is the Jason abpve and URL the url > > > > > > *post* vBody to url vUrl > > > > > > *put* it into eUrl > > > > > > *answer* eUrl > > > > > > would be glad if someone could Point me into the right direction > > > -- > > > Otto Kowalski > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode 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 > > > > > > -- > Otto Kowalski, Am Nitzelbach 11, 35108 Allendorf (Eder), Telefon: > 06452/2059726 > _______________________________________________ > use-livecode mailing list > use-livecode 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 kowalskiotto+lc at googlemail.com Fri Jul 5 10:34:17 2013 From: kowalskiotto+lc at googlemail.com (Otto Kowalski) Date: Fri, 5 Jul 2013 16:34:17 +0200 Subject: AW: post,get,etc Jason to URL on android In-Reply-To: References: Message-ID: <004801ce798c$bc0157b0$34040710$@googlemail.com> put "https://xxx.dyndns.org:1337/api/login" into vUrl set the httpHeaders to vHeader #answer vHeader #answer vBody #answer vUrl post vBody to url vUrl put the result && it into vAnswer put vAnswer into fld "getErgebnis" result is successful login on windows result is on android: "javax.net.ss.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Andrew Kluthe Gesendet: Freitag, 5. Juli 2013 15:31 An: How to use LiveCode Betreff: Re: post,get,etc Jason to URL on android I was a little inebriated when I posted this last night. I missed the part about the mobile. I know that some of the url commands operate differently on mobile than on the desktop and I don't have much experience there. Maybe try looking for "the result" variable instead of "it" on mobile? put the result into eUrl On Fri, Jul 5, 2013 at 2:14 AM, Otto Kowalski < kowalskiotto+lc at googlemail.com> wrote: > ---------- Forwarded message ---------- > From: Otto Kowalski > Date: 2013/7/5 > Subject: Re: post,get,etc Jason to URL on android > To: How to use LiveCode > > > i put > libUrlSetSSLVerification false > before post url and now i'm not even getting an empty answer :/ > > > 2013/7/5 Andrew Kluthe > > > Sounds like you need to: > > > > > > libUrlSetSSLVerification false > > > > > > > > > > On Thu, Jul 4, 2013 at 3:02 PM, Otto Kowalski < > > kowalskiotto+lc at googlemail.com> wrote: > > > > > Subject: post,get,etc Jason to URL on android > > > To: use-livecode at lists.runrev.com > > > > > > > > > hi guys, i try to develop a mobile app for android/ios using the > > > apis > of > > a > > > web application. > > > it expects a Login like this: > > > > > > { > > > > > > "username":"xx","password":"yy" > > > > > > } > > > > > > > > > i already set the http Header to application/json and it works in > > > the ide... > > > but it Shows no function on android/ empty Response. > > > > > > vBody is the Jason abpve and URL the url > > > > > > *post* vBody to url vUrl > > > > > > *put* it into eUrl > > > > > > *answer* eUrl > > > > > > would be glad if someone could Point me into the right direction > > > -- > > > Otto Kowalski > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode 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 > > > > > > -- > Otto Kowalski, Am Nitzelbach 11, 35108 Allendorf (Eder), Telefon: > 06452/2059726 > _______________________________________________ > use-livecode mailing list > use-livecode 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 roger.e.eller at sealedair.com Fri Jul 5 12:08:34 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 5 Jul 2013 12:08:34 -0400 Subject: [OT] New quad-core China tablet (mini-look-alike) Message-ID: I think this device (especially for $158) would be an excellent LiveCode testing device. Or, something fun to play around with. It ships with Jelly Bean 4.2, and can be rooted if you require it. Also, this quad core mini will fit iPad mini cases. The following video is a VERY thorough review. Looks like a great browsing / gaming tablet with a very good price point. https://www.youtube.com/watch?v=YOHOW7dArIc http://www.merimobiles.com/window-mini-one-rk3188-quad-core-bluetooth-1-8ghz-7-85-inch-ips-1024-768-with-android-4-2-hdmi-tablet-pc_p/meri7549.htm ~Roger From andrew at ctech.me Fri Jul 5 12:53:41 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Fri, 5 Jul 2013 11:53:41 -0500 Subject: post,get,etc Jason to URL on android In-Reply-To: <004801ce798c$bc0157b0$34040710$@googlemail.com> References: <004801ce798c$bc0157b0$34040710$@googlemail.com> Message-ID: That has to be an issue with SSL then. Do SSL posts work on android (Directed at other people on this list)? On Fri, Jul 5, 2013 at 9:34 AM, Otto Kowalski < kowalskiotto+lc at googlemail.com> wrote: > put "https://xxx.dyndns.org:1337/api/login" into vUrl > set the httpHeaders to vHeader > #answer vHeader > #answer vBody > #answer vUrl > post vBody to url vUrl > put the result && it into vAnswer > put vAnswer into fld "getErgebnis" > > result is successful login on windows > result is on android: "javax.net.ss.SSLHandshakeException: > java.security.cert.CertPathValidatorException: Trust anchor for > certification path not found. > > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag > von Andrew Kluthe > Gesendet: Freitag, 5. Juli 2013 15:31 > An: How to use LiveCode > Betreff: Re: post,get,etc Jason to URL on android > > I was a little inebriated when I posted this last night. I missed the part > about the mobile. I know that some of the url commands operate differently > on mobile than on the desktop and I don't have much experience there. > > Maybe try looking for "the result" variable instead of "it" on mobile? > > put the result into eUrl > > > > On Fri, Jul 5, 2013 at 2:14 AM, Otto Kowalski < > kowalskiotto+lc at googlemail.com> wrote: > > > ---------- Forwarded message ---------- > > From: Otto Kowalski > > Date: 2013/7/5 > > Subject: Re: post,get,etc Jason to URL on android > > To: How to use LiveCode > > > > > > i put > > libUrlSetSSLVerification false > > before post url and now i'm not even getting an empty answer :/ > > > > > > 2013/7/5 Andrew Kluthe > > > > > Sounds like you need to: > > > > > > > > > libUrlSetSSLVerification false > > > > > > > > > > > > > > > On Thu, Jul 4, 2013 at 3:02 PM, Otto Kowalski < > > > kowalskiotto+lc at googlemail.com> wrote: > > > > > > > Subject: post,get,etc Jason to URL on android > > > > To: use-livecode at lists.runrev.com > > > > > > > > > > > > hi guys, i try to develop a mobile app for android/ios using the > > > > apis > > of > > > a > > > > web application. > > > > it expects a Login like this: > > > > > > > > { > > > > > > > > "username":"xx","password":"yy" > > > > > > > > } > > > > > > > > > > > > i already set the http Header to application/json and it works in > > > > the ide... > > > > but it Shows no function on android/ empty Response. > > > > > > > > vBody is the Jason abpve and URL the url > > > > > > > > *post* vBody to url vUrl > > > > > > > > *put* it into eUrl > > > > > > > > *answer* eUrl > > > > > > > > would be glad if someone could Point me into the right direction > > > > -- > > > > Otto Kowalski > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode 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 > > > > > > > > > > > -- > > Otto Kowalski, Am Nitzelbach 11, 35108 Allendorf (Eder), Telefon: > > 06452/2059726 > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 ambassador at fourthworld.com Fri Jul 5 13:46:58 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 05 Jul 2013 10:46:58 -0700 Subject: Memory usage In-Reply-To: References: Message-ID: <51D70692.2020006@fourthworld.com> Peter M. Brigham wrote: > On Jul 4, 2013, at 9:53 AM, Richard Gaskin wrote: >> >> While not nearly as secure as Blowfish (not by a long shot), this >> modest encryption script can at least slow down hacks, and as a >> script is fully embeddable: >> >> >> I wouldn't recommend it for data requiring really strong security, >> but the sort of person able to crack it is likely able to do a >> memory dump, so it's probably no less secure than limiting stacks >> to RAM. > > I notice that this routine uses md5digest. I have only glanced at it, > so I don't know what the weak point is, but would it make any > difference if it were updated to use SHA? Indeed it would. I have updating that on my to-do list, just after I finish some more critical updates needed for RevNet. That said, I've been designing a new CMS for LiveCodeJournal.com and some other sites I work on, and I may wait to do that update once the new CMS is in place. Either way, your suggestion of updating that handler to use SHA1 is a good one, which will find its way into the article at first opportunity. -- 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 kowalskiotto+lc at googlemail.com Fri Jul 5 13:52:22 2013 From: kowalskiotto+lc at googlemail.com (Otto Kowalski) Date: Fri, 5 Jul 2013 19:52:22 +0200 Subject: post,get,etc Jason to URL on android In-Reply-To: References: <004801ce798c$bc0157b0$34040710$@googlemail.com> Message-ID: how do i post via post to url to this list? O,o as for now we are trying to get an trusted ca ss cert to see if it will work... 2013/7/5 Andrew Kluthe > That has to be an issue with SSL then. Do SSL posts work on android > (Directed at other people on this list)? > > > On Fri, Jul 5, 2013 at 9:34 AM, Otto Kowalski < > kowalskiotto+lc at googlemail.com> wrote: > > > put "https://xxx.dyndns.org:1337/api/login" into vUrl > > set the httpHeaders to vHeader > > #answer vHeader > > #answer vBody > > #answer vUrl > > post vBody to url vUrl > > put the result && it into vAnswer > > put vAnswer into fld "getErgebnis" > > > > result is successful login on windows > > result is on android: "javax.net.ss.SSLHandshakeException: > > java.security.cert.CertPathValidatorException: Trust anchor for > > certification path not found. > > > > -----Urspr?ngliche Nachricht----- > > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > > Auftrag > > von Andrew Kluthe > > Gesendet: Freitag, 5. Juli 2013 15:31 > > An: How to use LiveCode > > Betreff: Re: post,get,etc Jason to URL on android > > > > I was a little inebriated when I posted this last night. I missed the > part > > about the mobile. I know that some of the url commands operate > differently > > on mobile than on the desktop and I don't have much experience there. > > > > Maybe try looking for "the result" variable instead of "it" on mobile? > > > > put the result into eUrl > > > > > > > > On Fri, Jul 5, 2013 at 2:14 AM, Otto Kowalski < > > kowalskiotto+lc at googlemail.com> wrote: > > > > > ---------- Forwarded message ---------- > > > From: Otto Kowalski > > > Date: 2013/7/5 > > > Subject: Re: post,get,etc Jason to URL on android > > > To: How to use LiveCode > > > > > > > > > i put > > > libUrlSetSSLVerification false > > > before post url and now i'm not even getting an empty answer :/ > > > > > > > > > 2013/7/5 Andrew Kluthe > > > > > > > Sounds like you need to: > > > > > > > > > > > > libUrlSetSSLVerification false > > > > > > > > > > > > > > > > > > > > On Thu, Jul 4, 2013 at 3:02 PM, Otto Kowalski < > > > > kowalskiotto+lc at googlemail.com> wrote: > > > > > > > > > Subject: post,get,etc Jason to URL on android > > > > > To: use-livecode at lists.runrev.com > > > > > > > > > > > > > > > hi guys, i try to develop a mobile app for android/ios using the > > > > > apis > > > of > > > > a > > > > > web application. > > > > > it expects a Login like this: > > > > > > > > > > { > > > > > > > > > > "username":"xx","password":"yy" > > > > > > > > > > } > > > > > > > > > > > > > > > i already set the http Header to application/json and it works in > > > > > the ide... > > > > > but it Shows no function on android/ empty Response. > > > > > > > > > > vBody is the Jason abpve and URL the url > > > > > > > > > > *post* vBody to url vUrl > > > > > > > > > > *put* it into eUrl > > > > > > > > > > *answer* eUrl > > > > > > > > > > would be glad if someone could Point me into the right direction > > > > > -- > > > > > Otto Kowalski > > > > > _______________________________________________ > > > > > use-livecode mailing list > > > > > use-livecode 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 > > > > > > > > > > > > > > > > -- > > > Otto Kowalski, Am Nitzelbach 11, 35108 Allendorf (Eder), Telefon: > > > 06452/2059726 > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode 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 > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 jacque at hyperactivesw.com Fri Jul 5 15:18:23 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 05 Jul 2013 14:18:23 -0500 Subject: Memory usage In-Reply-To: References: <51D45DC2.7060907@fourthworld.com> <51D46BC1.4040600@hyperactivesw.com> <51D488A8.6000901@hyperactivesw.com> <87DBEED0-BAB2-4C4E-A707-C1D2788889AC@byu.edu> <51D5CE32.1090503@hyperactivesw.com> Message-ID: <51D71BFF.80504@hyperactivesw.com> On 7/5/13 8:00 AM, Bernard Devlin wrote: > Jacques, > > Since your client has the requirement of no externals, I think there is > still one way to encrypt the data, using nothing but the engine. > > Isn't it the case that if you store data as custom properties in > password-protected stacks that the custom property data is encrypted? > > I think you can put a whole object into a custom property. Thus your > players could be stored as custom properties, then the password set on the > stacks, and those stacks stored to disk. When loaded from disk, and > unencrypted, the player could be moved out of the custom property (and the > property deleted) onto a card. I'd need to store entire stacks that have been downloaded on demand from a server. They are already encrypted with a password, so I'd just need to save them to the temp folder directly. My plan is to wait to see if there's actually a problem at all (seems like there may not be.) If I need to, I'll tell the client what their options are: we either store the stacks in temp, or re-download. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Fri Jul 5 16:28:58 2013 From: dsc at swcp.com (Dar Scott) Date: Fri, 5 Jul 2013 14:28:58 -0600 Subject: Memory usage In-Reply-To: <51D70692.2020006@fourthworld.com> References: <51D70692.2020006@fourthworld.com> Message-ID: <7F5850DC-F221-44B3-9CCB-C933C3DDE186@swcp.com> There is no harm in using SHA1 in a scrambling/encrypting function of this type. The longer key might make it harder to crack. (Redoing the key based on the previous key every so-many characters might also help.) However, there is a tiny way in which MD5 is better. It is faster. That might be a smidgen of convenience and even a smidgen of security. Dar On Jul 5, 2013, at 11:46 AM, Richard Gaskin wrote: > Peter M. Brigham wrote: > > On Jul 4, 2013, at 9:53 AM, Richard Gaskin wrote: > >> > >> While not nearly as secure as Blowfish (not by a long shot), this > >> modest encryption script can at least slow down hacks, and as a > >> script is fully embeddable: > >> > >> > >> I wouldn't recommend it for data requiring really strong security, > >> but the sort of person able to crack it is likely able to do a > >> memory dump, so it's probably no less secure than limiting stacks > >> to RAM. > > > > I notice that this routine uses md5digest. I have only glanced at it, > > so I don't know what the weak point is, but would it make any > > difference if it were updated to use SHA? > > Indeed it would. I have updating that on my to-do list, just after I finish some more critical updates needed for RevNet. > > That said, I've been designing a new CMS for LiveCodeJournal.com and some other sites I work on, and I may wait to do that update once the new CMS is in place. > > Either way, your suggestion of updating that handler to use SHA1 is a good one, which will find its way into the article at first opportunity. > > -- > 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 gcanyon at gmail.com Fri Jul 5 17:05:58 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 5 Jul 2013 16:05:58 -0500 Subject: RosettaCode Message-ID: http://rosettacode.org/wiki/Category:Revolution Has anyone looked at this site before? There is only one example so far. Many of them aren't too difficult. gc From gerry.orkin at gmail.com Fri Jul 5 18:34:48 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Fri, 05 Jul 2013 15:34:48 -0700 (PDT) Subject: AW: multiple crashes with OS 10.8.4 and 6.0.2 community In-Reply-To: <002301ce788c$b6f0ec00$24d2c400$@de> References: <002301ce788c$b6f0ec00$24d2c400$@de> Message-ID: <1373063688179.1072ea46@Nodemailer> I'm getting hangs and the occasional crash on OS X 10.8 with 6.1 commercial. Never happened before.? ? Gerry On Thu, Jul 4, 2013 at 6:01 PM, Tiemo Hollmann TB wrote: > I don't know, perhaps by copy/paste? But I don't know, if our bugs are > related at all. > In my case it were German accents in a stack title > Tiemo >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag >> von Timothy Miller >> Gesendet: Mittwoch, 3. Juli 2013 20:32 >> An: How to use LiveCode >> Betreff: Re: multiple crashes with OS 10.8.4 and 6.0.2 community >> >> Hi Tiemo, >> >> Thanks. >> >> It's possible I unwittingly entered a Unicode character into a field. >> >> Is it possible to do this by accident? >> >> Tim >> >> On Jul 3, 2013, at 12:40 AM, "Tiemo Hollmann TB" >> wrote: >> >> > Do you have any Unicode chars in your text? >> > I just had crashes because of Unicode in the stack title with 6.0.2. >> > Not a solution, but perhaps a trace. >> > Tiemo >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Fri Jul 5 19:02:13 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 5 Jul 2013 16:02:13 -0700 Subject: RosettaCode In-Reply-To: References: Message-ID: <22804925058.20130705160213@ahsoftware.net> Geoff- Friday, July 5, 2013, 2:05:58 PM, you wrote: > http://rosettacode.org/wiki/Category:Revolution "This page was last modified on 7 December 2009"... -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Jul 5 19:06:13 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 5 Jul 2013 16:06:13 -0700 Subject: RosettaCode In-Reply-To: References: Message-ID: <100805164957.20130705160613@ahsoftware.net> Geoff- ...but to see something *really* dismal, check out http://rosettacode.org/wiki/Category:XTalk -- -Mark Wieder mwieder at ahsoftware.net From irog at mac.com Fri Jul 5 19:41:29 2013 From: irog at mac.com (Roger Guay) Date: Fri, 05 Jul 2013 17:41:29 -0600 Subject: LiveCode IDE Appearance on Windows References: Message-ID: Hi All, I convinced a good friend to try LiveCode. He's a Windows guy and I, a Mac. I am forwarding his question to me about the degraded appearance of Livecode on his screen in contrast with his other installed apps. I have no idea about this . . .Can anyone help? Thanks, Roger Begin forwarded message: > Hi Rog, > > I have a question that doesn?t involve "programming with LiveCode, but the display of the LC desktop itself. > > My computer monitor is a 27 inch flat screen (Dell) set at the highest resolution (1920 x 1080) HDMI. > All my installed applications are very sharp and clear. I?ve seen better, but not by a whole bunch. > > When I open LC, the ?desktop? (Menu bar, tool bar, stacks, objects, etc.) are blurry compared to > everything else on the screen. > > I?m guessing that that?s NOT the case on a MAC. > > I can?t find any place in the LC website support to ask the question: > > Is there any way to IMPROVE the resolution on my (inferior) PC? > > I can live fine with it, but it would be nice to sharpen things up a bit. The difference is quite noticeable. > From andrew at ctech.me Fri Jul 5 21:19:04 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Fri, 5 Jul 2013 20:19:04 -0500 Subject: LiveCode IDE Appearance on Windows In-Reply-To: References: Message-ID: Screenshots would help. I use livecode on windows 7 and we have some apps running on windows 8. Things seem great here. Andrew On Fri, Jul 5, 2013 at 6:41 PM, Roger Guay wrote: > Hi All, > > I convinced a good friend to try LiveCode. He's a Windows guy and I, a > Mac. I am forwarding his question to me about the degraded appearance of > Livecode on his screen in contrast with his other installed apps. I have no > idea about this . . .Can anyone help? > > Thanks, > > Roger > > > > Begin forwarded message: > > > Hi Rog, > > > > I have a question that doesn?t involve "programming with LiveCode, but > the display of the LC desktop itself. > > > > My computer monitor is a 27 inch flat screen (Dell) set at the highest > resolution (1920 x 1080) HDMI. > > All my installed applications are very sharp and clear. I?ve seen > better, but not by a whole bunch. > > > > When I open LC, the ?desktop? (Menu bar, tool bar, stacks, objects, > etc.) are blurry compared to > > everything else on the screen. > > > > I?m guessing that that?s NOT the case on a MAC. > > > > I can?t find any place in the LC website support to ask the question: > > > > Is there any way to IMPROVE the resolution on my (inferior) PC? > > > > I can live fine with it, but it would be nice to sharpen things up a > bit. The difference is quite noticeable. > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 irog at mac.com Fri Jul 5 22:08:48 2013 From: irog at mac.com (Roger Guay) Date: Fri, 05 Jul 2013 20:08:48 -0600 Subject: LiveCode IDE Appearance on Windows In-Reply-To: References: Message-ID: <271F272D-3AF3-4799-BDFE-39C011C476C7@mac.com> Good idea, Andrew. I'll ask my friend to send a screenshot. Thanks for your help! On Jul 5, 2013, at 7:19 PM, Andrew Kluthe wrote: > Screenshots would help. I use livecode on windows 7 and we have some apps > running on windows 8. Things seem great here. > > Andrew > > > On Fri, Jul 5, 2013 at 6:41 PM, Roger Guay wrote: > >> Hi All, >> >> I convinced a good friend to try LiveCode. He's a Windows guy and I, a >> Mac. I am forwarding his question to me about the degraded appearance of >> Livecode on his screen in contrast with his other installed apps. I have no >> idea about this . . .Can anyone help? >> >> Thanks, >> >> Roger >> >> >> >> Begin forwarded message: >> >>> Hi Rog, >>> >>> I have a question that doesn?t involve "programming with LiveCode, but >> the display of the LC desktop itself. >>> >>> My computer monitor is a 27 inch flat screen (Dell) set at the highest >> resolution (1920 x 1080) HDMI. >>> All my installed applications are very sharp and clear. I?ve seen >> better, but not by a whole bunch. >>> >>> When I open LC, the ?desktop? (Menu bar, tool bar, stacks, objects, >> etc.) are blurry compared to >>> everything else on the screen. >>> >>> I?m guessing that that?s NOT the case on a MAC. >>> >>> I can?t find any place in the LC website support to ask the question: >>> >>> Is there any way to IMPROVE the resolution on my (inferior) PC? >>> >>> I can live fine with it, but it would be nice to sharpen things up a >> bit. The difference is quite noticeable. >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 richmondmathewson at gmail.com Sat Jul 6 01:25:41 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 06 Jul 2013 08:25:41 +0300 Subject: RosettaCode In-Reply-To: <22804925058.20130705160213@ahsoftware.net> References: <22804925058.20130705160213@ahsoftware.net> Message-ID: <51D7AA55.9040307@gmail.com> On 07/06/2013 02:02 AM, Mark Wieder wrote: > Geoff- > > Friday, July 5, 2013, 2:05:58 PM, you wrote: > >> http://rosettacode.org/wiki/Category:Revolution > "This page was last modified on 7 December 2009"... > That, me dears, is fairly obvious, as the 'thing' is still called 'Revolution' and it says the 'thing' runs in "modern (sic) web browsers", and the web plug-in was a fairly brief phenomenon. Richmond. From richmondmathewson at gmail.com Sat Jul 6 01:29:36 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 06 Jul 2013 08:29:36 +0300 Subject: RosettaCode In-Reply-To: <100805164957.20130705160613@ahsoftware.net> References: <100805164957.20130705160613@ahsoftware.net> Message-ID: <51D7AB40.2060208@gmail.com> On 07/06/2013 02:06 AM, Mark Wieder wrote: > Geoff- > > ...but to see something *really* dismal, check out > > http://rosettacode.org/wiki/Category:XTalk > "Rarely used today, its modern descendant is AppleScript ." Really? That sounds very odd indeed, misleading in fact. The whole Rosetta website is patchy anyway: no mention of Metacard or MiniFortran. It is all a bit too "Hitch Hiker's Guide to the Galaxy" - ish for me. Richmond. From richmondmathewson at gmail.com Sat Jul 6 01:41:34 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 06 Jul 2013 08:41:34 +0300 Subject: LiveCode IDE Appearance on Windows In-Reply-To: References: Message-ID: <51D7AE0E.10100@gmail.com> On 07/06/2013 02:41 AM, Roger Guay wrote: > Hi All, > > I convinced a good friend to try LiveCode. He's a Windows guy and I, a Mac. I am forwarding his question to me about the degraded appearance of Livecode on his screen in contrast with his other installed apps. I have no idea about this . . .Can anyone help? > > Thanks, > > Roger > > > > Begin forwarded message: > >> Hi Rog, >> >> I have a question that doesn?t involve "programming with LiveCode, but the display of the LC desktop itself. >> >> My computer monitor is a 27 inch flat screen (Dell) set at the highest resolution (1920 x 1080) HDMI. >> All my installed applications are very sharp and clear. I?ve seen better, but not by a whole bunch. >> >> When I open LC, the ?desktop? (Menu bar, tool bar, stacks, objects, etc.) are blurry compared to >> everything else on the screen. >> >> I?m guessing that that?s NOT the case on a MAC. >> >> I can?t find any place in the LC website support to ask the question: >> >> Is there any way to IMPROVE the resolution on my (inferior) PC? >> >> I can live fine with it, but it would be nice to sharpen things up a bit. The difference is quite noticeable. >> > Well: I have just played one of those merry "Compare and Contrast" exercises much beloved by EFL teachers like myself: 1. LC 6.1 Community on UbuntuStudio Linux 13.04 2. LC 6.1 Community on Windows 7 (VMware) 3. LC 6.1 Community onMac OS 10.6.7 (VMware) All on a 1920 x 1080 27 inch display. Precious little difference between them all, and all as clear as each other, and as other applications. Richmond. From tbandi at swissonline.ch Sat Jul 6 02:28:03 2013 From: tbandi at swissonline.ch (Till Bandi) Date: Sat, 6 Jul 2013 08:28:03 +0200 Subject: Dropbox in livecode In-Reply-To: <51BB14D4.2070901@braguglia.ch> References: <1371162827196.84882d61@Nodemailer> <5CD2A88E-1FFE-4A4D-A796-F8442B5E23A6@sweattechnologies.com> <005b01ce68a7$b522ffc0$1f68ff40$@net> <005B1F5E-8FA5-424C-A86F-78AA63C0F27A@sweattechnologies.com> <26EB9B03-8CCE-49C7-9948-C72DA0623D8A@sweattechnologies.com> <51BB14D4.2070901@braguglia.ch> Message-ID: Guglielmo I need a little help: Where do I get "myAppKey" and "myAppSec"? The link I get for the shared file (it is a stack I would like to open in LC) from Dropbox is one long string. Do I have to take that apart and, if yes, how. Thanks Till Am 14.06.2013 um 15:04 schrieb Guglielmo Braguglia : > Hi Mike, > sorry for the long silence ... I was out of office for quite long time ... :-) > > I updated the library with your corrections and with few other corrections ... you can still download from the same link (http://www.phoenixsea.ch/downloads/Livecode/phxDropboxLib.zip - /version 1.03/). Please, before replacing your library, verify that the corrections that I made are ok ... ;-) > > Cordially, > > Guglielmo > > > On 6/14/13 14:30 PM, Mike Kerner wrote: >> Mark: >> >> 1) I'm doing it to the web. You could certainly go to your local folder, >> but that would be difficult on iOS, and I have the desktop app running on a >> user's machine, so I don't want them having unfettered access to the folder. >> 2) I have a bunch of users using it with multiple folders that I control on >> ios and desktop. >> 3) I'm using guglielmo's library, BUT, he has an issue in the 1.02 >> version. i don't know if he's fixed it or not, but I fixed it in mine and >> sent him the changes sometime between a couple of weeks and a month ago. >> 4) I'm using the library on both ios and desktop. There some issue or >> another with mergdropbox when I was implementing this, and I got it working >> with guglielmo's library on ios, so I'm just using that for now. >> >> >> On Fri, Jun 14, 2013 at 3:10 AM, Monte Goulding >> wrote: >>> On 14/06/2013, at 5:05 PM, Monte Goulding wrote: >>> >>>> It's in the github repo for livecode... a folder named lcidl >>> Actually... scratch that... it's on the runrev site as the iOS Externals >>> SDK... but you still need to cherrypick the commit if you want to >>> LCObjectPost... >>> >>> -- >>> 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 guglielmo at braguglia.ch Sat Jul 6 03:12:42 2013 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Sat, 06 Jul 2013 09:12:42 +0200 Subject: Dropbox in livecode In-Reply-To: References: <1371162827196.84882d61@Nodemailer> <5CD2A88E-1FFE-4A4D-A796-F8442B5E23A6@sweattechnologies.com> <005b01ce68a7$b522ffc0$1f68ff40$@net> <005B1F5E-8FA5-424C-A86F-78AA63C0F27A@sweattechnologies.com> <26EB9B03-8CCE-49C7-9948-C72DA0623D8A@sweattechnologies.com> <51BB14D4.2070901@braguglia.ch> Message-ID: <51D7C36A.3070804@braguglia.ch> Hi Till, you have to into *your* "Dropbox App console" (https://www.dropbox.com/developers/apps) where you can create the Apps and access the Apps Options. Inside the Options you have both "App key" and "App secret" ;-) Guglielmo On 7/6/13 08:28 AM, Till Bandi wrote: > Guglielmo > > I need a little help: Where do I get "myAppKey" and "myAppSec"? The link I get for the shared file (it is a stack I would like to open in LC) from Dropbox is one long string. Do I have to take that apart and, if yes, how. > > Thanks > > Till > > Am 14.06.2013 um 15:04 schrieb Guglielmo Braguglia : > >> Hi Mike, >> sorry for the long silence ... I was out of office for quite long time ... :-) >> >> I updated the library with your corrections and with few other corrections ... you can still download from the same link (http://www.phoenixsea.ch/downloads/Livecode/phxDropboxLib.zip - /version 1.03/). Please, before replacing your library, verify that the corrections that I made are ok ... ;-) >> >> Cordially, >> >> Guglielmo >> >> >> On 6/14/13 14:30 PM, Mike Kerner wrote: >>> Mark: >>> >>> 1) I'm doing it to the web. You could certainly go to your local folder, >>> but that would be difficult on iOS, and I have the desktop app running on a >>> user's machine, so I don't want them having unfettered access to the folder. >>> 2) I have a bunch of users using it with multiple folders that I control on >>> ios and desktop. >>> 3) I'm using guglielmo's library, BUT, he has an issue in the 1.02 >>> version. i don't know if he's fixed it or not, but I fixed it in mine and >>> sent him the changes sometime between a couple of weeks and a month ago. >>> 4) I'm using the library on both ios and desktop. There some issue or >>> another with mergdropbox when I was implementing this, and I got it working >>> with guglielmo's library on ios, so I'm just using that for now. >>> >>> >>> On Fri, Jun 14, 2013 at 3:10 AM, Monte Goulding >>> wrote: >>>> On 14/06/2013, at 5:05 PM, Monte Goulding wrote: >>>> >>>>> It's in the github repo for livecode... a folder named lcidl >>>> Actually... scratch that... it's on the runrev site as the iOS Externals >>>> SDK... but you still need to cherrypick the commit if you want to >>>> LCObjectPost... >>>> >>>> -- >>>> 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 richmondmathewson at gmail.com Sat Jul 6 03:38:22 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 06 Jul 2013 10:38:22 +0300 Subject: revCapture ??? Message-ID: <51D7C96E.7090507@gmail.com> Where does one find out about this? Richmond. From richmondmathewson at gmail.com Sat Jul 6 04:09:03 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 06 Jul 2013 11:09:03 +0300 Subject: cihnlkhcxlfg and cntnkhwvrlhu Message-ID: <51D7D09F.8080207@gmail.com> The forum is being badly compromised by these characters. They might be working for the ghost of H. P. Lovecraft . . . whatever, a right royal pain in the posterior. I assume there is some sort of a block-list ???? Richmond. From m.schonewille at economy-x-talk.com Sat Jul 6 07:07:44 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 6 Jul 2013 13:07:44 +0200 Subject: cihnlkhcxlfg and cntnkhwvrlhu In-Reply-To: <51D7D09F.8080207@gmail.com> References: <51D7D09F.8080207@gmail.com> Message-ID: Hi Richmond, Sure, the forum software has many very effective tools to combat spam. Unfortunately, RunRev doesn't care about using these tools. I administer two forums and a few other public sites. I have put all available tools into place and the forums never get compromised by spam bots. I'm using the same forum software as RunRev. I guess, when the spam level gets unacceptable, I'll simply start a new forum and keep spammers out. -- 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 6 jul 2013, at 10:09, Richmond wrote: > The forum is being badly compromised by these characters. > > They might be working for the ghost of H. P. Lovecraft . . . whatever, a right royal pain in the posterior. > > I assume there is some sort of a block-list ???? > > Richmond. From lists at mangomultimedia.com Sat Jul 6 07:35:16 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 6 Jul 2013 07:35:16 -0400 Subject: LiveCode IDE Appearance on Windows In-Reply-To: References: Message-ID: On Fri, Jul 5, 2013 at 7:41 PM, Roger Guay wrote: > Hi All, > > I convinced a good friend to try LiveCode. He's a Windows guy and I, a > Mac. I am forwarding his question to me about the degraded appearance of > Livecode on his screen in contrast with his other installed apps. I have no > idea about this . . .Can anyone help? > I'm guessing that he has the "Make it easier to read what's on your screen" percentage set to "Larger - 150%". At this percentage Windows uses a DPI of 144. If an application isn't marked as DPI aware then Windows will scale the UI. Check out this document for more information (see the DWM Scaling section): http://msdn.microsoft.com/en-us/library/windows/desktop/ff684173(v=vs.85).aspx -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From richmondmathewson at gmail.com Sat Jul 6 07:37:19 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 06 Jul 2013 14:37:19 +0300 Subject: cihnlkhcxlfg and cntnkhwvrlhu In-Reply-To: References: <51D7D09F.8080207@gmail.com> Message-ID: <51D8016F.3040006@gmail.com> On 07/06/2013 02:07 PM, Mark Schonewille wrote: > Hi Richmond, > > Sure, the forum software has many very effective tools to combat spam. Unfortunately, RunRev doesn't care about using these tools. I have got a very odd feeling over the last 10-12 years with RunRev; they are a bit like a bunch of manic-depressives: it's all "luvvy-dovey" for a bit and they demonstrate their over-wheening love for end-users like nobody's business, then it's quite the reverse for a patch. If RunRev only realised that by not "bopping" those daft messages by H. P. Lovecraft's children as soon as they start to propagate like fungus through the Forum (they have been spreading today; I have checked hourly just to see how quickly this sort of thing happens) they are doing their installed user-base a disservice and sending out a signal that doesn't do them any good at all. However; here I am on Saturday afternoo, cranking away; while I do get a distinct feeling that RunRev closes up on Friday evening and doesn't open up again until Monday morning. > > I administer two forums and a few other public sites. I have put all available tools into place and the forums never get compromised by spam bots. I'm using the same forum software as RunRev. > > I guess, when the spam level gets unacceptable, I'll simply start a new forum and keep spammers out. > > -- > 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 6 jul 2013, at 10:09, Richmond wrote: > >> The forum is being badly compromised by these characters. >> >> They might be working for the ghost of H. P. Lovecraft . . . whatever, a right royal pain in the posterior. >> >> I assume there is some sort of a block-list ???? >> >> Richmond. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Sat Jul 6 07:59:37 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 06 Jul 2013 13:59:37 +0200 Subject: cihnlkhcxlfg and cntnkhwvrlhu In-Reply-To: <51D8016F.3040006@gmail.com> References: <51D7D09F.8080207@gmail.com> <51D8016F.3040006@gmail.com> Message-ID: <51D806A9.6080700@economy-x-talk.com> Hi Richmond, I think that you're right, as far as support and marketing are concerned. Those people usually don't work on weekends and bank holidays. Programmers, on the other hand, never rest ;-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 7/6/2013 13:37, Richmond wrote: > On 07/06/2013 02:07 PM, Mark Schonewille wrote: >> Hi Richmond, >> >> Sure, the forum software has many very effective tools to combat spam. >> Unfortunately, RunRev doesn't care about using these tools. > > I have got a very odd feeling over the last 10-12 years with RunRev; > they are a bit like a bunch of manic-depressives: it's all "luvvy-dovey" > for a bit > and they demonstrate their over-wheening love for end-users like > nobody's business, then it's quite the reverse for a patch. > > If RunRev only realised that by not "bopping" those daft messages by H. > P. Lovecraft's children as soon as they start to propagate > like fungus through the Forum (they have been spreading today; I have > checked hourly just to see how quickly this sort of thing happens) > they are doing their installed user-base a disservice and sending out a > signal that doesn't do them any good at all. > > However; here I am on Saturday afternoo, cranking away; while I do get a > distinct feeling that RunRev > closes up on Friday evening and doesn't open up again until Monday morning. > From bill at bluewatermaritime.com Sat Jul 6 08:25:32 2013 From: bill at bluewatermaritime.com (william humphrey) Date: Sat, 6 Jul 2013 08:25:32 -0400 Subject: cihnlkhcxlfg and cntnkhwvrlhu In-Reply-To: <51D806A9.6080700@economy-x-talk.com> References: <51D7D09F.8080207@gmail.com> <51D8016F.3040006@gmail.com> <51D806A9.6080700@economy-x-talk.com> Message-ID: One of the wonderful perks of having a job is that you can take weekends and holidays off. On Sat, Jul 6, 2013 at 7:59 AM, Mark Schonewille wrote: > Hi Richmond, > > I think that you're right, as far as support and marketing are concerned. > Those people usually don't work on weekends and bank holidays. Programmers, > on the other hand, never rest ;-) > > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour > spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > Fill out this survey please > http://livecodebeginner.economy-x-talk.com/survey/ > > > On 7/6/2013 13:37, Richmond wrote: >> >> On 07/06/2013 02:07 PM, Mark Schonewille wrote: >>> >>> Hi Richmond, >>> >>> Sure, the forum software has many very effective tools to combat spam. >>> Unfortunately, RunRev doesn't care about using these tools. >> >> >> I have got a very odd feeling over the last 10-12 years with RunRev; >> they are a bit like a bunch of manic-depressives: it's all "luvvy-dovey" >> for a bit >> and they demonstrate their over-wheening love for end-users like >> nobody's business, then it's quite the reverse for a patch. >> >> If RunRev only realised that by not "bopping" those daft messages by H. >> P. Lovecraft's children as soon as they start to propagate >> like fungus through the Forum (they have been spreading today; I have >> checked hourly just to see how quickly this sort of thing happens) >> they are doing their installed user-base a disservice and sending out a >> signal that doesn't do them any good at all. >> >> However; here I am on Saturday afternoo, cranking away; while I do get a >> distinct feeling that RunRev >> closes up on Friday evening and doesn't open up again until Monday >> morning. >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.bluewatermaritime.com From richmondmathewson at gmail.com Sat Jul 6 08:27:43 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 06 Jul 2013 15:27:43 +0300 Subject: cihnlkhcxlfg and cntnkhwvrlhu In-Reply-To: References: <51D7D09F.8080207@gmail.com> <51D8016F.3040006@gmail.com> <51D806A9.6080700@economy-x-talk.com> Message-ID: <51D80D3F.3020406@gmail.com> On 07/06/2013 03:25 PM, william humphrey wrote: > One of the wonderful perks of having a job is that you can take > weekends and holidays off. I have a job, and I work about 9 hours a day every weekday. I do my programming at the weekends. Some of us are NOT unemployed layabouts, if that is what you are implying. > > On Sat, Jul 6, 2013 at 7:59 AM, Mark Schonewille > wrote: >> Hi Richmond, >> >> I think that you're right, as far as support and marketing are concerned. >> Those people usually don't work on weekends and bank holidays. Programmers, >> on the other hand, never rest ;-) >> >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour >> spaces. http://www.color-converter.com >> >> Buy my new book "Programming LiveCode for the Real Beginner" >> http://qery.us/3fi >> >> Fill out this survey please >> http://livecodebeginner.economy-x-talk.com/survey/ >> >> >> On 7/6/2013 13:37, Richmond wrote: >>> On 07/06/2013 02:07 PM, Mark Schonewille wrote: >>>> Hi Richmond, >>>> >>>> Sure, the forum software has many very effective tools to combat spam. >>>> Unfortunately, RunRev doesn't care about using these tools. >>> >>> I have got a very odd feeling over the last 10-12 years with RunRev; >>> they are a bit like a bunch of manic-depressives: it's all "luvvy-dovey" >>> for a bit >>> and they demonstrate their over-wheening love for end-users like >>> nobody's business, then it's quite the reverse for a patch. >>> >>> If RunRev only realised that by not "bopping" those daft messages by H. >>> P. Lovecraft's children as soon as they start to propagate >>> like fungus through the Forum (they have been spreading today; I have >>> checked hourly just to see how quickly this sort of thing happens) >>> they are doing their installed user-base a disservice and sending out a >>> signal that doesn't do them any good at all. >>> >>> However; here I am on Saturday afternoo, cranking away; while I do get a >>> distinct feeling that RunRev >>> closes up on Friday evening and doesn't open up again until Monday >>> morning. >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > From klaus at major-k.de Sat Jul 6 09:01:23 2013 From: klaus at major-k.de (Klaus major-k) Date: Sat, 6 Jul 2013 15:01:23 +0200 Subject: cihnlkhcxlfg and cntnkhwvrlhu In-Reply-To: <51D7D09F.8080207@gmail.com> References: <51D7D09F.8080207@gmail.com> Message-ID: <13F6F80C-EA2D-4072-8231-0116E8421161@major-k.de> Hi Richmond, Am 06.07.2013 um 10:09 schrieb Richmond : > The forum is being badly compromised by these characters. > They might be working for the ghost of H. P. Lovecraft . . . whatever, a right royal pain in the posterior. > I assume there is some sort of a block-list ???? I removed the unholy users and their ghastly postings... > Richmond. Best Cthulhu -- Cthulhu Major http://www.major-k.de klaus at major-k.de From warren at warrensweb.us Sat Jul 6 09:20:40 2013 From: warren at warrensweb.us (Warren Samples) Date: Sat, 06 Jul 2013 08:20:40 -0500 Subject: Fonts look awful in standalones built in v5.5+ -vs- v4.0 In-Reply-To: References: <51C8FB47.9020406@hyperactivesw.com> <51C8FFE9.4030803@hyperactivesw.com> Message-ID: <51D819A8.1020600@warrensweb.us> On 06/25/2013 09:52 AM, Roger Eller wrote: > I tried setting the textfont of this stack to the textfont of stack "home". > Still it returned empty when I put the textFont of any field in my stack. > > I have users on XP and 7, so I think I will just loop through all the > fields in preOpenStack and set the appropriate textFont. I'll report back > if it still looks weird. > > XP's system font is "Tahoma". > http://support.microsoft.com/kb/823033 > > Win7's system font is "Segoe UI". > http://msdn.microsoft.com/en-us/library/windows/desktop/aa511282.aspx > > ~Roger > > > On Mon, Jun 24, 2013 at 10:26 PM, J. Landman Gay > wrote: > >> On 6/24/13 9:14 PM, Roger Eller wrote: >> >>> This isn't for mobile. I'm seeing this difference on the same machine. >>> It's >>> just IDE -vs- standalone for Windows. >>> Roger, what did your users find? I find that one needs to explicitly set the text font and the text size in order to get readable text in a standalone in Windows 7 and 8. Of course, setting the text size means users' system settings, which may reflect their own needs and preferences, are overridden. I don't believe this is an acceptable default practice. I have filed a bug, which seems to have not generated any interest from the devs, with a stack and a screenshot of that stack in the IDE alongside its built standalone, as well as the example Windows standalone. http://quality.runrev.com/show_bug.cgi?id=10995 Warren From roger.e.eller at sealedair.com Sat Jul 6 09:44:50 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 6 Jul 2013 09:44:50 -0400 Subject: Fonts look awful in standalones built in v5.5+ -vs- v4.0 In-Reply-To: <51D819A8.1020600@warrensweb.us> References: <51C8FB47.9020406@hyperactivesw.com> <51C8FFE9.4030803@hyperactivesw.com> <51D819A8.1020600@warrensweb.us> Message-ID: Thank you for confirming and filing a bug report. What I had to do was case the platform, and loop through all the fields and buttons, explicitly setting the font according to the Windows version standard. I have NEVER had to do this prior to LC 5.5.x and 6.x.x. ~Roger On Jul 6, 2013 9:21 AM, "Warren Samples" wrote: > On 06/25/2013 09:52 AM, Roger Eller wrote: > >> I tried setting the textfont of this stack to the textfont of stack >> "home". >> Still it returned empty when I put the textFont of any field in my stack. >> >> I have users on XP and 7, so I think I will just loop through all the >> fields in preOpenStack and set the appropriate textFont. I'll report back >> if it still looks weird. >> >> XP's system font is "Tahoma". >> http://support.microsoft.com/**kb/823033 >> >> Win7's system font is "Segoe UI". >> http://msdn.microsoft.com/en-**us/library/windows/desktop/**aa511282.aspx >> >> ~Roger >> >> >> On Mon, Jun 24, 2013 at 10:26 PM, J. Landman Gay >> **wrote: >> >> On 6/24/13 9:14 PM, Roger Eller wrote: >>> >>> This isn't for mobile. I'm seeing this difference on the same machine. >>>> It's >>>> just IDE -vs- standalone for Windows. >>>> >>>> > Roger, what did your users find? I find that one needs to explicitly set > the text font and the text size in order to get readable text in a > standalone in Windows 7 and 8. Of course, setting the text size means > users' system settings, which may reflect their own needs and preferences, > are overridden. I don't believe this is an acceptable default practice. > > I have filed a bug, which seems to have not generated any interest from > the devs, with a stack and a screenshot of that stack in the IDE alongside > its built standalone, as well as the example Windows standalone. > http://quality.runrev.com/**show_bug.cgi?id=10995 > > Warren > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sat Jul 6 10:10:09 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 06 Jul 2013 17:10:09 +0300 Subject: cihnlkhcxlfg and cntnkhwvrlhu In-Reply-To: <13F6F80C-EA2D-4072-8231-0116E8421161@major-k.de> References: <51D7D09F.8080207@gmail.com> <13F6F80C-EA2D-4072-8231-0116E8421161@major-k.de> Message-ID: <51D82541.40804@gmail.com> On 07/06/2013 04:01 PM, Klaus major-k wrote: > Hi Richmond, > > Am 06.07.2013 um 10:09 schrieb Richmond : > >> The forum is being badly compromised by these characters. >> They might be working for the ghost of H. P. Lovecraft . . . whatever, a right royal pain in the posterior. >> I assume there is some sort of a block-list ???? > I removed the unholy users and their ghastly postings... > >> Richmond. > Best > > Cthulhu Thank you very much indeed. Good to see that not everybody is a strict Sabbatarian! Anti-Pope of Livecode. > > -- > Cthulhu Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Sat Jul 6 10:54:09 2013 From: irog at mac.com (Roger Guay) Date: Sat, 06 Jul 2013 08:54:09 -0600 Subject: LiveCode IDE Appearance on Windows In-Reply-To: <51D7AE0E.10100@gmail.com> References: <51D7AE0E.10100@gmail.com> Message-ID: <59628211-938F-476E-98B8-FDC63867DD49@mac.com> Thanks, Richmond. Any ideas why he is not experiencing same? On Jul 5, 2013, at 11:41 PM, Richmond wrote: > On 07/06/2013 02:41 AM, Roger Guay wrote: >> Hi All, >> >> I convinced a good friend to try LiveCode. He's a Windows guy and I, a Mac. I am forwarding his question to me about the degraded appearance of Livecode on his screen in contrast with his other installed apps. I have no idea about this . . .Can anyone help? >> >> Thanks, >> >> Roger >> >> >> >> Begin forwarded message: >> >>> Hi Rog, >>> I have a question that doesn?t involve "programming with LiveCode, but the display of the LC desktop itself. >>> My computer monitor is a 27 inch flat screen (Dell) set at the highest resolution (1920 x 1080) HDMI. >>> All my installed applications are very sharp and clear. I?ve seen better, but not by a whole bunch. >>> When I open LC, the ?desktop? (Menu bar, tool bar, stacks, objects, etc.) are blurry compared to >>> everything else on the screen. >>> I?m guessing that that?s NOT the case on a MAC. >>> I can?t find any place in the LC website support to ask the question: >>> Is there any way to IMPROVE the resolution on my (inferior) PC? >>> I can live fine with it, but it would be nice to sharpen things up a bit. The difference is quite noticeable. >>> >> > > Well: I have just played one of those merry "Compare and Contrast" exercises much beloved by EFL teachers > like myself: > > 1. LC 6.1 Community on UbuntuStudio Linux 13.04 > > 2. LC 6.1 Community on Windows 7 (VMware) > > 3. LC 6.1 Community onMac OS 10.6.7 (VMware) > > All on a 1920 x 1080 27 inch display. > > Precious little difference between them all, and all as clear as each other, and as other applications. > > 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 irog at mac.com Sat Jul 6 10:56:43 2013 From: irog at mac.com (Roger Guay) Date: Sat, 06 Jul 2013 08:56:43 -0600 Subject: LiveCode IDE Appearance on Windows In-Reply-To: References: Message-ID: <2066FC44-8E05-4C5C-9D05-C061073AC8C0@mac.com> Sounds reasonable. I'll have him check this out. Thanks, Trevor On Jul 6, 2013, at 5:35 AM, Trevor DeVore wrote: > On Fri, Jul 5, 2013 at 7:41 PM, Roger Guay wrote: > >> Hi All, >> >> I convinced a good friend to try LiveCode. He's a Windows guy and I, a >> Mac. I am forwarding his question to me about the degraded appearance of >> Livecode on his screen in contrast with his other installed apps. I have no >> idea about this . . .Can anyone help? >> > > I'm guessing that he has the "Make it easier to read what's on your screen" > percentage set to "Larger - 150%". At this percentage Windows uses a DPI of > 144. If an application isn't marked as DPI aware then Windows will scale > the UI. Check out this document for more information (see the DWM Scaling > section): > > http://msdn.microsoft.com/en-us/library/windows/desktop/ff684173(v=vs.85).aspx > > -- > 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 richmondmathewson at gmail.com Sat Jul 6 11:04:43 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 06 Jul 2013 18:04:43 +0300 Subject: LiveCode IDE Appearance on Windows In-Reply-To: <59628211-938F-476E-98B8-FDC63867DD49@mac.com> References: <51D7AE0E.10100@gmail.com> <59628211-938F-476E-98B8-FDC63867DD49@mac.com> Message-ID: <51D8320B.4050909@gmail.com> On 07/06/2013 05:54 PM, Roger Guay wrote: > Thanks, Richmond. Any ideas why he is not experiencing same? Trevor's bit about scaling does make sense: I haven't tried messing around with that. I have a feeling that scalability was one of the stretch goals. > > > On Jul 5, 2013, at 11:41 PM, Richmond wrote: > >> On 07/06/2013 02:41 AM, Roger Guay wrote: >>> Hi All, >>> >>> I convinced a good friend to try LiveCode. He's a Windows guy and I, a Mac. I am forwarding his question to me about the degraded appearance of Livecode on his screen in contrast with his other installed apps. I have no idea about this . . .Can anyone help? >>> >>> Thanks, >>> >>> Roger >>> >>> >>> >>> Begin forwarded message: >>> >>>> Hi Rog, >>>> I have a question that doesn?t involve "programming with LiveCode, but the display of the LC desktop itself. >>>> My computer monitor is a 27 inch flat screen (Dell) set at the highest resolution (1920 x 1080) HDMI. >>>> All my installed applications are very sharp and clear. I?ve seen better, but not by a whole bunch. >>>> When I open LC, the ?desktop? (Menu bar, tool bar, stacks, objects, etc.) are blurry compared to >>>> everything else on the screen. >>>> I?m guessing that that?s NOT the case on a MAC. >>>> I can?t find any place in the LC website support to ask the question: >>>> Is there any way to IMPROVE the resolution on my (inferior) PC? >>>> I can live fine with it, but it would be nice to sharpen things up a bit. The difference is quite noticeable. >>>> >> Well: I have just played one of those merry "Compare and Contrast" exercises much beloved by EFL teachers >> like myself: >> >> 1. LC 6.1 Community on UbuntuStudio Linux 13.04 >> >> 2. LC 6.1 Community on Windows 7 (VMware) >> >> 3. LC 6.1 Community onMac OS 10.6.7 (VMware) >> >> All on a 1920 x 1080 27 inch display. >> >> Precious little difference between them all, and all as clear as each other, and as other applications. >> >> 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 harrison at all-auctions.com Sat Jul 6 12:34:12 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Sat, 6 Jul 2013 12:34:12 -0400 Subject: revCapture ??? In-Reply-To: <51D7C96E.7090507@gmail.com> References: <51D7C96E.7090507@gmail.com> Message-ID: <0C334A0E-4A10-42FD-8133-563AF87108FA@all-auctions.com> Hi Richmond, There used to be a stack called Video Capture.rev which still works surprisingly well under LC 6.1.0 I've never seen a reference to revCapture. Is there any way for Livecode to use the iOS video camera? If you discover a way please let me know. Thanks, Rick On Jul 6, 2013, at 3:38 AM, Richmond wrote: > Where does one find out about this? > > Richmond. > From richmondmathewson at gmail.com Sat Jul 6 12:42:55 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 06 Jul 2013 19:42:55 +0300 Subject: revCapture ??? In-Reply-To: <0C334A0E-4A10-42FD-8133-563AF87108FA@all-auctions.com> References: <51D7C96E.7090507@gmail.com> <0C334A0E-4A10-42FD-8133-563AF87108FA@all-auctions.com> Message-ID: <51D8490F.2010509@gmail.com> On 07/06/2013 07:34 PM, Rick Harrison wrote: > Hi Richmond, > > There used to be a stack called Video Capture.rev > which still works surprisingly well under LC 6.1.0 > > I've never seen a reference to revCapture. > > Is there any way for Livecode to use > the iOS video camera? If you discover > a way please let me know. > > Thanks, > > Rick > > > On Jul 6, 2013, at 3:38 AM, Richmond wrote: > >> Where does one find out about this? >> >> Richmond. >> > As far as I know "revCapture" is the thing that removes Livecode's dependence on Quicktime. From richmondmathewson at gmail.com Sat Jul 6 13:00:32 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 06 Jul 2013 20:00:32 +0300 Subject: LiveCode IDE Appearance on Windows In-Reply-To: <51D8320B.4050909@gmail.com> References: <51D7AE0E.10100@gmail.com> <59628211-938F-476E-98B8-FDC63867DD49@mac.com> <51D8320B.4050909@gmail.com> Message-ID: <51D84D30.4050007@gmail.com> On 07/06/2013 06:04 PM, Richmond wrote: > On 07/06/2013 05:54 PM, Roger Guay wrote: >> Thanks, Richmond. Any ideas why he is not experiencing same? > > Trevor's bit about scaling does make sense: I haven't tried messing > around with that. > > I have a feeling that scalability was one of the stretch goals. > Well: I just ran LC 6.1 Community on Windows 7 (via VMware player 5.02) at both 100% and 150% scaling and, in both cases, Livecode came through "loud, clear and crispy sharp" so that does not seem to be the problem. Richmond. From richmondmathewson at gmail.com Sat Jul 6 13:05:56 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 06 Jul 2013 20:05:56 +0300 Subject: cihnlkhcxlfg and cntnkhwvrlhu In-Reply-To: <51D82541.40804@gmail.com> References: <51D7D09F.8080207@gmail.com> <13F6F80C-EA2D-4072-8231-0116E8421161@major-k.de> <51D82541.40804@gmail.com> Message-ID: <51D84E74.2080405@gmail.com> Quicker than you can say "clqnsjaomlwc", "czxnksfovics" and "ckangiqrille" something very nasty is going on on the forum. Richmond. From mwieder at ahsoftware.net Sat Jul 6 13:11:49 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 6 Jul 2013 10:11:49 -0700 Subject: cihnlkhcxlfg and cntnkhwvrlhu In-Reply-To: <13F6F80C-EA2D-4072-8231-0116E8421161@major-k.de> References: <51D7D09F.8080207@gmail.com> <13F6F80C-EA2D-4072-8231-0116E8421161@major-k.de> Message-ID: <17145395667.20130706101149@ahsoftware.net> Klaus- Saturday, July 6, 2013, 6:01:23 AM, you wrote: > I removed the unholy users and their ghastly postings... I posted this a few years ago. Maybe they'll be useful: http://www.cthulhulives.org/toybox/PROPDOCS/PropFonts.html Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Sat Jul 6 13:15:22 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 06 Jul 2013 12:15:22 -0500 Subject: Fonts look awful in standalones built in v5.5+ -vs- v4.0 In-Reply-To: <51D819A8.1020600@warrensweb.us> References: <51C8FB47.9020406@hyperactivesw.com> <51C8FFE9.4030803@hyperactivesw.com> <51D819A8.1020600@warrensweb.us> Message-ID: <51D850AA.2070108@hyperactivesw.com> On 7/6/13 8:20 AM, Warren Samples wrote: > On 06/25/2013 09:52 AM, Roger Eller wrote: >> I tried setting the textfont of this stack to the textfont of stack >> "home". >> Still it returned empty when I put the textFont of any field in my stack. I didn't see this until it showed up as a quote in the next post. The textfont will report empty if the referenced field does not have a font set. But it will still inherit, and to see what font it is inheriting the script needs to ask for "the effective textfont". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Sat Jul 6 13:26:12 2013 From: klaus at major-k.de (Klaus major-k) Date: Sat, 6 Jul 2013 19:26:12 +0200 Subject: cihnlkhcxlfg and cntnkhwvrlhu In-Reply-To: <17145395667.20130706101149@ahsoftware.net> References: <51D7D09F.8080207@gmail.com> <13F6F80C-EA2D-4072-8231-0116E8421161@major-k.de> <17145395667.20130706101149@ahsoftware.net> Message-ID: Hi Mark, Am 06.07.2013 um 19:11 schrieb Mark Wieder : > Klaus- > > Saturday, July 6, 2013, 6:01:23 AM, you wrote: >> I removed the unholy users and their ghastly postings... > I posted this a few years ago. Maybe they'll be useful: It surely is! > http://www.cthulhulives.org/toybox/PROPDOCS/PropFonts.html > Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn. Will have to tell my old friend Charles Dexter Ward about this! :-D > -- > -Mark Wieder > mwieder at ahsoftware.net Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From mwieder at ahsoftware.net Sat Jul 6 13:38:18 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 6 Jul 2013 10:38:18 -0700 Subject: GLX2 3.0.15 released Message-ID: <2246984925.20130706103818@ahsoftware.net> 2013.07.05 GLX2 3.0.15 Mostly a welcome bug-fix release, but some major and annoying bugs are now quashed. new * The F3 key now acts like command-G as a "Find Again" command * Disabled the note-to-handler list as causing problems (still) known issues * The insertion point cursor would disappear on OSX using LC 5.0.2 (only) * Double-click to find needs to narrow scope for local vars and parameters * Sometimes a script tab has a formatted length of 14 (0+14) bugs fixed * Block comments now colorize properly * Settings would open and then immediately close (bad preferences switch) * Typing "< " would lose text (!) and reposition the insert cursor * Fixed the disappearing conjunctions thing (thanks to Bernd Niggeman) https://bitbucket.org/mwieder/glx2/downloads -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sat Jul 6 13:46:21 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 6 Jul 2013 10:46:21 -0700 Subject: cihnlkhcxlfg and cntnkhwvrlhu In-Reply-To: References: <51D7D09F.8080207@gmail.com> Message-ID: <8947468548.20130706104621@ahsoftware.net> Mark- Saturday, July 6, 2013, 4:07:44 AM, you wrote: > Sure, the forum software has many very effective tools to combat > spam. Unfortunately, RunRev doesn't care about using these tools. Unfortunately, once the spambots have discovered an available forum, there's nothing that can be done short of fixing the problem . -- -Mark Wieder mwieder at ahsoftware.net From lists at mangomultimedia.com Sat Jul 6 13:49:06 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 6 Jul 2013 13:49:06 -0400 Subject: LiveCode IDE Appearance on Windows In-Reply-To: <51D84D30.4050007@gmail.com> References: <51D7AE0E.10100@gmail.com> <59628211-938F-476E-98B8-FDC63867DD49@mac.com> <51D8320B.4050909@gmail.com> <51D84D30.4050007@gmail.com> Message-ID: On Sat, Jul 6, 2013 at 1:00 PM, Richmond wrote: > Well: I just ran LC 6.1 Community on Windows 7 (via VMware player 5.02) at > both 100% and 150% scaling and, in both cases, Livecode came through > "loud, clear and crispy sharp" so that does not seem to be the problem. Hmm, I had a different experience. I posted pictures of what I see on my laptop (retina) running Windows 8 at 100% and 150%. The text that Windows renders in the title bar looks fine, LiveCode text doesn't. The icons are enlarged as well so look pixelated. http://trevordevore.clarify-it.com/d/wzefeq -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From richmondmathewson at gmail.com Sat Jul 6 13:50:42 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 06 Jul 2013 20:50:42 +0300 Subject: LiveCode IDE Appearance on Windows In-Reply-To: References: <51D7AE0E.10100@gmail.com> <59628211-938F-476E-98B8-FDC63867DD49@mac.com> <51D8320B.4050909@gmail.com> <51D84D30.4050007@gmail.com> Message-ID: <51D858F2.8010700@gmail.com> On 07/06/2013 08:49 PM, Trevor DeVore wrote: > On Sat, Jul 6, 2013 at 1:00 PM, Richmond wrote: > >> Well: I just ran LC 6.1 Community on Windows 7 (via VMware player 5.02) at >> both 100% and 150% scaling and, in both cases, Livecode came through >> "loud, clear and crispy sharp" so that does not seem to be the problem. > > Hmm, I had a different experience. I posted pictures of what I see on my > laptop (retina) running Windows 8 at 100% and 150%. The text that Windows > renders in the title bar looks fine, LiveCode text doesn't. The icons are > enlarged as well so look pixelated. > > http://trevordevore.clarify-it.com/d/wzefeq > Possibly the answer lies in the magic words "Retina display". From mwieder at ahsoftware.net Sat Jul 6 13:48:37 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 6 Jul 2013 10:48:37 -0700 Subject: on-rev cpanel Message-ID: <9847604565.20130706104837@ahsoftware.net> Just as an update... my on-rev cPanel account access on odin has suddenly started working again. David emailed me that my account worked for him, so I tried logging in again. After four failed attempts one worked and it seems to be letting me in every time now. -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Sat Jul 6 13:52:34 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 06 Jul 2013 20:52:34 +0300 Subject: cihnlkhcxlfg and cntnkhwvrlhu In-Reply-To: <8947468548.20130706104621@ahsoftware.net> References: <51D7D09F.8080207@gmail.com> <8947468548.20130706104621@ahsoftware.net> Message-ID: <51D85962.7010409@gmail.com> On 07/06/2013 08:46 PM, Mark Wieder wrote: > Mark- > > Saturday, July 6, 2013, 4:07:44 AM, you wrote: > >> Sure, the forum software has many very effective tools to combat >> spam. Unfortunately, RunRev doesn't care about using these tools. > Unfortunately, once the spambots have discovered an available forum, > there's nothing that can be done short of fixing the problem . > Well . . . err . . . err . . . the problem should be fixed by the powers that be. Richmond. From lists at mangomultimedia.com Sat Jul 6 14:10:40 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 6 Jul 2013 14:10:40 -0400 Subject: LiveCode IDE Appearance on Windows In-Reply-To: <51D858F2.8010700@gmail.com> References: <51D7AE0E.10100@gmail.com> <59628211-938F-476E-98B8-FDC63867DD49@mac.com> <51D8320B.4050909@gmail.com> <51D84D30.4050007@gmail.com> <51D858F2.8010700@gmail.com> Message-ID: Perhaps. But the UI elements are clearly larger at 150% which occurs regardless of whether or not you are running on a retina Mac. Whenever UI elements are enlarged by the OS the LiveCode icons will look blurred and the text won't be as sharp. LiveCode doesn't support resolution independence yet and so looks blurry when an app is zoomed by the OS. -- Trevor DeVore On Saturday, July 6, 2013, Richmond wrote: > On 07/06/2013 08:49 PM, Trevor DeVore wrote: > >> On Sat, Jul 6, 2013 at 1:00 PM, Richmond > >wrote: >> >> Well: I just ran LC 6.1 Community on Windows 7 (via VMware player >>> 5.02) at >>> both 100% and 150% scaling and, in both cases, Livecode came through >>> "loud, clear and crispy sharp" so that does not seem to be the problem. >>> >> >> Hmm, I had a different experience. I posted pictures of what I see on my >> laptop (retina) running Windows 8 at 100% and 150%. The text that Windows >> renders in the title bar looks fine, LiveCode text doesn't. The icons are >> enlarged as well so look pixelated. >> >> http://trevordevore.clarify-**it.com/d/wzefeq >> >> > Possibly the answer lies in the magic words "Retina display". > > ______________________________**_________________ > use-livecode mailing list > use-livecode at 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 Jul 6 14:12:07 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 06 Jul 2013 21:12:07 +0300 Subject: LiveCode IDE Appearance on Windows In-Reply-To: References: <51D7AE0E.10100@gmail.com> <59628211-938F-476E-98B8-FDC63867DD49@mac.com> <51D8320B.4050909@gmail.com> <51D84D30.4050007@gmail.com> <51D858F2.8010700@gmail.com> Message-ID: <51D85DF7.30109@gmail.com> On 07/06/2013 09:10 PM, Trevor DeVore wrote: > Perhaps. But the UI elements are clearly larger at 150% which occurs > regardless of whether or not you are running on a retina Mac. > > Whenever UI elements are enlarged by the OS the LiveCode icons will look > blurred and the text won't be as sharp. LiveCode doesn't support resolution > independence yet and so looks blurry when an app is zoomed by the OS. > Maybe it is a simple fact that my 51 year old eyes may not be quite as good (/ fussy) as yours are :) From lists at mangomultimedia.com Sat Jul 6 14:26:17 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 6 Jul 2013 14:26:17 -0400 Subject: LiveCode IDE Appearance on Windows In-Reply-To: <51D85DF7.30109@gmail.com> References: <51D7AE0E.10100@gmail.com> <59628211-938F-476E-98B8-FDC63867DD49@mac.com> <51D8320B.4050909@gmail.com> <51D84D30.4050007@gmail.com> <51D858F2.8010700@gmail.com> <51D85DF7.30109@gmail.com> Message-ID: On Saturday, July 6, 2013, Richmond wrote: > > > Maybe it is a simple fact that my 51 year old eyes may not be quite as > good (/ fussy) as yours are :) > That is also a possibility. We shouldn't rule anything out :-) -- Trevor DeVore From ambassador at fourthworld.com Sat Jul 6 15:01:19 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 06 Jul 2013 12:01:19 -0700 Subject: cihnlkhcxlfg and cntnkhwvrlhu In-Reply-To: <51D8016F.3040006@gmail.com> References: <51D8016F.3040006@gmail.com> Message-ID: <51D8697F.2050302@fourthworld.com> Richmond wrote: > Well . . . err . . . err . . . the problem should be fixed by the powers > that be. To truly fix the problem the civilized world would need to cut off all Internet traffic from the PRC, and large portions of Russia, the Ukraine, and others. Such a solution would be fairly complete, since that's where most of the spambots I see in forums comes from, but would have two downsides: 1. Lots of innocent traffic would be cut off from the West. 2. The NSA would have much less to spy on. :) Internet security is an ongoing cat-and-mouse game; every time a new "fix" becomes available, a new method of circumventing it comes along days later. With the RunRev forums, a few of us have been given privileges to delete posts, and fairly recently I was also given the ability to ban both specific accounts and IPs. It isn't possible for any RunRev employee or volunteer moderator like myself to monitor the forums 24/7. For that we ask that you simply use the Report button available for every post. With that, the next time someone logs in with privileges to do something about it we do. No need to add a new form of spam here with threads about forum issues where almost no one here can do anything about it. If a problem seems particularly onerous, you're always welcome to submit a report to support at runrev.com. As for this latest robospam, those posts have been deleted and their accounts and IP addresses banned. I look forward to seeing future reports from you in the Report for offending posts in the forums where the few of us on this list who can address them will be able to do so quickly. -- 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 Sat Jul 6 15:49:08 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 6 Jul 2013 15:49:08 -0400 Subject: cihnlkhcxlfg and cntnkhwvrlhu In-Reply-To: <51D8697F.2050302@fourthworld.com> References: <51D8016F.3040006@gmail.com> <51D8697F.2050302@fourthworld.com> Message-ID: On #2, the NSA only spies on domestic traffic...allegedly. Also, when I was hosting forums for another development tool on Google Groups, things worked well, and we were able to have multiple levels of moderators, managers, etc. Maybe RR will consider letting the community run the groups. On Sat, Jul 6, 2013 at 3:01 PM, Richard Gaskin wrote: > Richmond wrote: > >> Well . . . err . . . err . . . the problem should be fixed by the powers >> that be. >> > > To truly fix the problem the civilized world would need to cut off all > Internet traffic from the PRC, and large portions of Russia, the Ukraine, > and others. Such a solution would be fairly complete, since that's where > most of the spambots I see in forums comes from, but would have two > downsides: > > 1. Lots of innocent traffic would be cut off from the West. > 2. The NSA would have much less to spy on. :) > > Internet security is an ongoing cat-and-mouse game; every time a new "fix" > becomes available, a new method of circumventing it comes along days later. > > With the RunRev forums, a few of us have been given privileges to delete > posts, and fairly recently I was also given the ability to ban both > specific accounts and IPs. > > It isn't possible for any RunRev employee or volunteer moderator like > myself to monitor the forums 24/7. For that we ask that you simply use the > Report button available for every post. With that, the next time someone > logs in with privileges to do something about it we do. No need to add a > new form of spam here with threads about forum issues where almost no one > here can do anything about it. > > If a problem seems particularly onerous, you're always welcome to submit a > report to support at runrev.com. > > As for this latest robospam, those posts have been deleted and their > accounts and IP addresses banned. > > I look forward to seeing future reports from you in the Report for > offending posts in the forums where the few of us on this list who can > address them will be able to do so quickly. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/**FourthWorldSys > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From ambassador at fourthworld.com Sat Jul 6 15:55:33 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 06 Jul 2013 12:55:33 -0700 Subject: cihnlkhcxlfg and cntnkhwvrlhu In-Reply-To: References: Message-ID: <51D87635.7060806@fourthworld.com> Mike Kerner wrote: > Also, when I was hosting forums for another development tool on Google > Groups, things worked well, and we were able to have multiple levels of > moderators, managers, etc. > > Maybe RR will consider letting the community run the groups. I've been lobbying for that, and would welcome it. Being able to ban IPs is effective, but easily misused, intentionally or not. But there are enough conscientious people in the community that grant such privileges to a handful who can use them well would help keep the noise down. Another thing I'd like to see is the ability to delete accounts. Right now all the banned spambots still have their accounts in the system, filling the list of users with noise and in some cases links to nefarious sites in their profiles. I'd be willing to donate the time to delete all banned accounts, if I only could. -- 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 Sat Jul 6 16:08:41 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 6 Jul 2013 16:08:41 -0400 Subject: cihnlkhcxlfg and cntnkhwvrlhu In-Reply-To: <51D87635.7060806@fourthworld.com> References: <51D87635.7060806@fourthworld.com> Message-ID: There are other things you can do, too, like putting folks on probation to start with, etc. that will reduce the noise level. On Sat, Jul 6, 2013 at 3:55 PM, Richard Gaskin wrote: > Mike Kerner wrote: > >> Also, when I was hosting forums for another development tool on Google >> Groups, things worked well, and we were able to have multiple levels of >> moderators, managers, etc. >> >> Maybe RR will consider letting the community run the groups. >> > > I've been lobbying for that, and would welcome it. Being able to ban IPs > is effective, but easily misused, intentionally or not. But there are > enough conscientious people in the community that grant such privileges to > a handful who can use them well would help keep the noise down. > > Another thing I'd like to see is the ability to delete accounts. Right > now all the banned spambots still have their accounts in the system, > filling the list of users with noise and in some cases links to nefarious > sites in their profiles. > > I'd be willing to donate the time to delete all banned accounts, if > I only could. > > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/**FourthWorldSys > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From richmondmathewson at gmail.com Sat Jul 6 16:27:43 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 06 Jul 2013 23:27:43 +0300 Subject: cihnlkhcxlfg and cntnkhwvrlhu In-Reply-To: References: <51D87635.7060806@fourthworld.com> Message-ID: <51D87DBF.1050906@gmail.com> On 07/06/2013 11:08 PM, Mike Kerner wrote: > There are other things you can do, too, like putting folks on probation to > start with, etc. that will reduce the noise level. The folk from Cthulhu don't need probation, they need expulsion because they are not people at all. People are comparatively easily dealt with; but spambots are something altogether different. > > On Sat, Jul 6, 2013 at 3:55 PM, Richard Gaskin > wrote: > >> Mike Kerner wrote: >> >>> Also, when I was hosting forums for another development tool on Google >>> Groups, things worked well, and we were able to have multiple levels of >>> moderators, managers, etc. >>> >>> Maybe RR will consider letting the community run the groups. >>> >> I've been lobbying for that, and would welcome it. Being able to ban IPs >> is effective, but easily misused, intentionally or not. But there are >> enough conscientious people in the community that grant such privileges to >> a handful who can use them well would help keep the noise down. >> >> Another thing I'd like to see is the ability to delete accounts. Right >> now all the banned spambots still have their accounts in the system, >> filling the list of users with noise and in some cases links to nefarious >> sites in their profiles. >> >> I'd be willing to donate the time to delete all banned accounts, if >> I only could. >> >> >> -- >> 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 sundown at pacifier.com Sat Jul 6 16:49:38 2013 From: sundown at pacifier.com (JB) Date: Sat, 6 Jul 2013 13:49:38 -0700 Subject: ODIN down? Message-ID: <499A2D77-2787-4290-807D-7730CF288F6B@pacifier.com> I was uploading my website on ODIN and then it failed to upload. I checked my site online and ot fails to open. Is ODIN down again or is this problem connected only to me? -=>JB<=- From bonnmike at gmail.com Sat Jul 6 18:26:34 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 6 Jul 2013 16:26:34 -0600 Subject: ODIN down? In-Reply-To: <499A2D77-2787-4290-807D-7730CF288F6B@pacifier.com> References: <499A2D77-2787-4290-807D-7730CF288F6B@pacifier.com> Message-ID: Odin go boom On Sat, Jul 6, 2013 at 2:49 PM, JB wrote: > I was uploading my website on ODIN and then > it failed to upload. I checked my site online and > ot fails to open. > > Is ODIN down again or is this problem connected > only to me? > > -=>JB<=- > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Sat Jul 6 18:32:25 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 6 Jul 2013 22:32:25 +0000 (UTC) Subject: cihnlkhcxlfg and cntnkhwvrlhu References: <51D7D09F.8080207@gmail.com> <13F6F80C-EA2D-4072-8231-0116E8421161@major-k.de> <17145395667.20130706101149@ahsoftware.net> Message-ID: Klaus major-k writes: > >> I removed the unholy users and their ghastly postings... > > I posted this a few years ago. Maybe they'll be useful: > > It surely is! > > > http://www.cthulhulives.org/toybox/PROPDOCS/PropFonts.html > > Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn. > > Will have to tell my old friend Charles Dexter Ward about this! :-D So... you mean... in addition to upper-case and lower-case there is also a strange-case? -- Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sat Jul 6 18:37:06 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 6 Jul 2013 22:37:06 +0000 (UTC) Subject: ODIN down? References: <499A2D77-2787-4290-807D-7730CF288F6B@pacifier.com> Message-ID: Mike Bonner writes: > > Odin go boom I'm back to reading this list on gmane again. -- Mark Wieder mwieder at ahsoftware.net From sundown at pacifier.com Sat Jul 6 18:41:25 2013 From: sundown at pacifier.com (JB) Date: Sat, 6 Jul 2013 15:41:25 -0700 Subject: ODIN down? In-Reply-To: References: <499A2D77-2787-4290-807D-7730CF288F6B@pacifier.com> Message-ID: <571D5CB4-7DA7-4888-B8CF-0F3B90FC26CE@pacifier.com> Thank you! Some days the information war is tough. -=>JB<=- On Jul 6, 2013, at 3:26 PM, Mike Bonner wrote: > Odin go boom > > > On Sat, Jul 6, 2013 at 2:49 PM, JB wrote: > >> I was uploading my website on ODIN and then >> it failed to upload. I checked my site online and >> ot fails to open. >> >> Is ODIN down again or is this problem connected >> only to me? >> >> -=>JB<=- >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From irog at mac.com Sat Jul 6 18:47:27 2013 From: irog at mac.com (Roger Guay) Date: Sat, 06 Jul 2013 16:47:27 -0600 Subject: LiveCode IDE Appearance on Windows In-Reply-To: <51D858F2.8010700@gmail.com> References: <51D7AE0E.10100@gmail.com> <59628211-938F-476E-98B8-FDC63867DD49@mac.com> <51D8320B.4050909@gmail.com> <51D84D30.4050007@gmail.com> <51D858F2.8010700@gmail.com> Message-ID: <3CC2EB53-1947-447F-B9A9-F16DE0016E55@mac.com> Thanks very much, Richmond and Trevor. From your reports, it does appear to be a monitor quality issue which I have passed on to my friend. I have to wonder though why his LiveCode seems to be worse than his other apps?? On Jul 6, 2013, at 11:50 AM, Richmond wrote: > On 07/06/2013 08:49 PM, Trevor DeVore wrote: >> On Sat, Jul 6, 2013 at 1:00 PM, Richmond wrote: >> >>> Well: I just ran LC 6.1 Community on Windows 7 (via VMware player 5.02) at >>> both 100% and 150% scaling and, in both cases, Livecode came through >>> "loud, clear and crispy sharp" so that does not seem to be the problem. >> >> Hmm, I had a different experience. I posted pictures of what I see on my >> laptop (retina) running Windows 8 at 100% and 150%. The text that Windows >> renders in the title bar looks fine, LiveCode text doesn't. The icons are >> enlarged as well so look pixelated. >> >> http://trevordevore.clarify-it.com/d/wzefeq >> > > Possibly the answer lies in the magic words "Retina display". > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 6 18:50:43 2013 From: irog at mac.com (Roger Guay) Date: Sat, 06 Jul 2013 16:50:43 -0600 Subject: LiveCode IDE Appearance on Windows In-Reply-To: References: <51D7AE0E.10100@gmail.com> <59628211-938F-476E-98B8-FDC63867DD49@mac.com> <51D8320B.4050909@gmail.com> <51D84D30.4050007@gmail.com> <51D858F2.8010700@gmail.com> Message-ID: <4AA0F234-E6F5-4BF0-9060-D288D5006344@mac.com> Ah, sorry I posted too soon. This seems to be what's happening! On Jul 6, 2013, at 12:10 PM, Trevor DeVore wrote: > Whenever UI elements are enlarged by the OS the LiveCode icons will look > blurred and the text won't be as sharp. LiveCode doesn't support resolution > independence yet and so looks blurry when an app is zoomed by the OS. From mark.rauterkus at gmail.com Sat Jul 6 20:05:10 2013 From: mark.rauterkus at gmail.com (Mark Rauterkus) Date: Sat, 6 Jul 2013 20:05:10 -0400 Subject: Triggers, performance and help with a replaceText script with start and end text matches Message-ID: Hi LC Folks, Our "Attendance App" for kids at our summer camp needs some serious performance help. The hit is huge when we keep data from various fields about a camper in various .txt files. I think I need triggers so updates and refreshing the data only occurs when desired, not at OpenCard. Getting there I need to do some text magic in the trigger buttons with text. Works: (but only does a fraction of what I want it to do) on mouseUp, tPerformance put the text of field "field1" into tPerformance put replaceText(tPerformance, "Prior", "hello") into field "field2" end mouseUp But I want to use an expression with replaceText function. to eliminate everything between two text markers. Desired result is to remove all the text starting with "Prior data:" and ending with "Concludes prior." ???? --- put replaceText(tPerformance, "Prior data: ..... and everything in between and including .... "Concludes data." , "empty") So, there could be a bunch of text and statements in a range that should all be eliminated. + + + Example: A Field has: Prior data: Ran 100 meters in 16.5 seconds on July 2. Concludes prior. Then new stuff gets entered into the field that falls outside the range of Prior data .... Concludes prior. Would be: Prior data: Ran 100 meters in 16.5 seconds on July 2. Concludes prior. Swam 200 yards July 10. After the trigger, the update / sync results in field performance might be. Prior data: Ran 100 meters in 16.5 seconds on July 2. Scored 5 goals in game on July 7. <--- Updated from elsewhere. Swam 200 yards July 10. Concludes prior. Summary: LC scripts should eliminated the older / prior data locally, upload the new content to the file AFTER the URL, and then Return the fresh data, perhaps picking up any other changes that have since been put on the server too. Then replacing / refreshing the data locally. Thanks in advance. + + Another option might be to use a repeat loop and set line to empty until it hitting after line concludes prior. Not as happy with that. Mark Rauterkus, Swim & Water Polo Coach mark at rauterkus.com Pittsburgh, PA, USA From mark.rauterkus at gmail.com Sat Jul 6 21:57:47 2013 From: mark.rauterkus at gmail.com (Mark Rauterkus) Date: Sat, 6 Jul 2013 21:57:47 -0400 Subject: triggers, performance and help with... In-Reply-To: References: Message-ID: Hi John, Thanks. Reading up now about the new to me function of LineOffset. What I really want to do is NUKE the content from Prior data: NUKE ALL THIS MIDDLE STUFF Might be 10-30 lines or so. Concludes prior. I think I may figure it out, given the pointer to LineOffset now. -- Ta. Mark Rauterkus Mark.Rauterkus at gmail.com PPS Summer Dreamers' Swim and Water Polo Camp Head Coach Pittsburgh Combined Water Polo Team http://Rauterkus.blogspot.com http://FixPA.wikia.com http://CLOH.wikia.com 412 298 3432 = cell On Sat, Jul 6, 2013 at 8:31 PM, john at ihouse.on-rev.com < john at ihouse.on-rev.com> wrote: > Mark? > > To get to : > > Prior data: > Ran 100 meters in 16.5 seconds on July 2. > Swam 200 yards July 10. > Concludes prior. > > > From : > > Prior data: > Ran 100 meters in 16.5 seconds on July 2. > Concludes prior. > Swam 200 yards July 10. > > Then? the following would put everything between your 'text markers? > > *on* mouseUp > *put* lineOffset("concludes prior", fld 1) into whichLine > *delete* line whichLine of fld 1 > *put* cr & "Concludes prior" after fld 1 > *end* mouseUp > > be well, > > > > > > web : www.ihouse.on-rev.com > phone : 01749 677686 > mobile : 07523 001268 > email : john at ihouse.on-rev.com > skype : john.dixon.england > _________________________________________________ > > "I needed a password eight characters long so I picked Snow White and the > Seven Dwarves." > > This e-mail is confidential and, if you are not the intended recipient, > please return it to us and do not retain or disclose it. We filter and > monitor e-mails in order to protect our system and the integrity, > confidentiality and availability of e-mails. We cannot guarantee that > e-mails are risk free and are not responsible for any related damage or > unauthorised alteration of e-mails by third parties after sending. > > John Dixon.M.Sc. > ihouse manufactures software. > ihouse is based in Wells, Somerset in the South West of England. > > > > > > From MikeKerner at roadrunner.com Sat Jul 6 23:04:39 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 6 Jul 2013 23:04:39 -0400 Subject: triggers, performance and help with... In-Reply-To: References: Message-ID: You could also just use offset and delete the characters between the two offsets. On Sat, Jul 6, 2013 at 9:57 PM, Mark Rauterkus wrote: > Hi John, > > Thanks. Reading up now about the new to me function of LineOffset. > > What I really want to do is NUKE the content from > Prior data: NUKE ALL THIS MIDDLE STUFF Might be 10-30 lines or so. > Concludes prior. > > I think I may figure it out, given the pointer to LineOffset now. > > > > -- > Ta. > > > Mark Rauterkus Mark.Rauterkus at gmail.com > PPS Summer Dreamers' Swim and Water Polo Camp Head Coach > Pittsburgh Combined Water Polo Team > > http://Rauterkus.blogspot.com > http://FixPA.wikia.com > http://CLOH.wikia.com > 412 298 3432 = cell > > > On Sat, Jul 6, 2013 at 8:31 PM, john at ihouse.on-rev.com < > john at ihouse.on-rev.com> wrote: > > > Mark? > > > > To get to : > > > > Prior data: > > Ran 100 meters in 16.5 seconds on July 2. > > Swam 200 yards July 10. > > Concludes prior. > > > > > > From : > > > > Prior data: > > Ran 100 meters in 16.5 seconds on July 2. > > Concludes prior. > > Swam 200 yards July 10. > > > > Then? the following would put everything between your 'text markers? > > > > *on* mouseUp > > *put* lineOffset("concludes prior", fld 1) into whichLine > > *delete* line whichLine of fld 1 > > *put* cr & "Concludes prior" after fld 1 > > *end* mouseUp > > > > be well, > > > > > > > > > > > > web : www.ihouse.on-rev.com > > phone : 01749 677686 > > mobile : 07523 001268 > > email : john at ihouse.on-rev.com > > skype : john.dixon.england > > _________________________________________________ > > > > "I needed a password eight characters long so I picked Snow White and the > > Seven Dwarves." > > > > This e-mail is confidential and, if you are not the intended recipient, > > please return it to us and do not retain or disclose it. We filter and > > monitor e-mails in order to protect our system and the integrity, > > confidentiality and availability of e-mails. We cannot guarantee that > > e-mails are risk free and are not responsible for any related damage or > > unauthorised alteration of e-mails by third parties after sending. > > > > John Dixon.M.Sc. > > ihouse manufactures software. > > ihouse is based in Wells, Somerset in the South West of England. > > > > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sat Jul 6 23:41:49 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 6 Jul 2013 23:41:49 -0400 Subject: 6.1 Installer Ubuntu Message-ID: Is anybody else having trouble with the 6.1 installer in Ubuntu? I checked the executable checkbox, but for some reason it won't run as an admin or root. I've tried downloading it a couple of times. In the past all I had to do was check the executable box and double-click the installer. I've tried running it from the command line and I'm getting command not found. BTW, the file says its an executable. -- 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 mark.rauterkus at gmail.com Sat Jul 6 23:42:38 2013 From: mark.rauterkus at gmail.com (Mark Rauterkus) Date: Sat, 6 Jul 2013 23:42:38 -0400 Subject: triggers, performance and help with... In-Reply-To: References: Message-ID: My budding solution, but still needs a touch up on the first lines. Can "replace" include a "return" so that the words to be replaced can be sure to be on their own line? on mouseUp -- slug in a cr before "Prior data" to be sure content on that line is not eliminated. replace "Prior data:" with "return Prior data:" in field "field1" replace "Concludes data." with "Concludes data. return" in field "field1" put lineOffset("Concludes prior", field "field1") into whichLineEnd put lineOffset("Prior data:", field "field1") into whichLineStart put WhichLineEnd - whichLineStart into tempLines Add 1 to tempLines Repeat for tempLines Delete line WhichlineStart of field "field1" end Repeat end mouseUp -- Ta. Mark Rauterkus Mark.Rauterkus at gmail.com PPS Summer Dreamers' Swim and Water Polo Camp Head Coach Pittsburgh Combined Water Polo Team http://Rauterkus.blogspot.com http://FixPA.wikia.com http://CLOH.wikia.com 412 298 3432 = cell From pmbrig at gmail.com Sun Jul 7 00:15:27 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sun, 7 Jul 2013 00:15:27 -0400 Subject: Triggers, performance and help with a replaceText script with start and end text matches In-Reply-To: References: Message-ID: <5B1E9C60-3681-494D-8FF1-291694CAFAF2@gmail.com> On Jul 6, 2013, at 8:05 PM, Mark Rauterkus wrote: > Desired result is to remove all the text starting with "Prior data:" and > ending with "Concludes prior." put fld "performance" into tText put offset("Prior data: ", tText) into startChar put offset("Concludes prior.",tText) + 15 into endChar put newData into char startChar to endChar of tText put tText into fld "performance" This assumes you want to replace the "prior data: and the "Concludes prior." phrases as well. If you want to keep those words and just replace what is between them, do: put fld "performance" into tText put offset("Prior data: ", tText) + 11 into startChar put offset("Concludes prior.",tText) -1 into endChar put newData into char startChar to endChar of tText put tText into fld "performance" Easier yet if you have the "Prior data:" and "Concludes prior." on separate lines, with the data between them -- then use the lineoffset() function. Is this the kind of thing you want? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pmbrig at gmail.com Sun Jul 7 00:29:14 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sun, 7 Jul 2013 00:29:14 -0400 Subject: triggers, performance and help with... In-Reply-To: References: Message-ID: On Jul 6, 2013, at 11:42 PM, Mark Rauterkus wrote: > My budding solution, but still needs a touch up on the first lines. > > Can "replace" include a "return" so that the words to be replaced can be > sure to be on their own line? > > > on mouseUp > -- slug in a cr before "Prior data" to be sure content on that line is > not eliminated. > replace "Prior data:" with "return Prior data:" in field "field1" > replace "Concludes data." with "Concludes data. return" in field "field1" > > put lineOffset("Concludes prior", field "field1") into whichLineEnd > put lineOffset("Prior data:", field "field1") into whichLineStart > put WhichLineEnd - whichLineStart into tempLines > Add 1 to tempLines > Repeat for tempLines > Delete line WhichlineStart of field "field1" > end Repeat > > end mouseUp your lines putting in extra returns at the start won't work as you have them, since in place of "Prior data:" you will get "return Prior data:" -- since the word "return" is inside the quotes. You need to do replace "Prior data:" with return & "Prior data:" in field "field1" using the concatenation operator (&) to join the return to the quoted string. But this is not necessary, nor is it necessary to delete the lines in a repeat loop. Assuming you want to delete the "Prior data:" line and the "Concludes prior." lines along with everything in between, do this: put lineOffset("Concludes prior", field "field1") into whichLineEnd put lineOffset("Prior data:", field "field1") into whichLineStart delete line whichLineStart to whichLineEnd of fld "field1" But you might want to keep the marker lines and just delete (or replace) the data between them, in which case: delete line whichLineStart+1 to whichLineEnd-1 of fld "field1" -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From mark.rauterkus at gmail.com Sun Jul 7 01:00:19 2013 From: mark.rauterkus at gmail.com (Mark Rauterkus) Date: Sun, 7 Jul 2013 01:00:19 -0400 Subject: triggers, performance and help with... In-Reply-To: References: Message-ID: Hi All and Peter, Thanks for your help. Yes, that is what I need. Mark R From richmondmathewson at gmail.com Sun Jul 7 01:55:47 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 07 Jul 2013 08:55:47 +0300 Subject: 6.1 Installer Ubuntu In-Reply-To: References: Message-ID: <51D902E3.6080307@gmail.com> On 07/07/2013 06:41 AM, Mike Kerner wrote: > Is anybody else having trouble with the 6.1 installer in Ubuntu? I checked > the executable checkbox, but for some reason it won't run as an admin or > root. I've tried downloading it a couple of times. In the past all I had > to do was check the executable box and double-click the installer. I've > tried running it from the command line and I'm getting command not found. > > BTW, the file says its an executable. > I have had problems with it if it is either on a different hard disk / partition to the 'Home' directory, or if it is NOT on the desktop. Richmond. From richmondmathewson at gmail.com Sun Jul 7 03:00:28 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 07 Jul 2013 10:00:28 +0300 Subject: [OT] Mac OS 10.9 Message-ID: <51D9120C.6090902@gmail.com> I wonder whether Livecode is going to work with this: http://www.apple.com/osx/preview/advanced-technologies.html ??? Richmond. From richmondmathewson at gmail.com Sun Jul 7 03:07:00 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 07 Jul 2013 10:07:00 +0300 Subject: Color Picker Message-ID: <51D91394.7000705@gmail.com> Does anyone know where one can obtain the late Eric Chatonet's Color Picker? Richmond. From rene.micout at numericable.com Sun Jul 7 05:15:31 2013 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Sun, 7 Jul 2013 11:15:31 +0200 Subject: Color Picker In-Reply-To: <51D91394.7000705@gmail.com> References: <51D91394.7000705@gmail.com> Message-ID: <52A9E38B-E3EA-412E-8AD9-A76B0174710D@numericable.com> Hello Richmond, put this script in a button : on mouseUp answer color end mouseUp what happens ? Bon souvenir de Paris Ren? Le 7 juil. 2013 ? 09:07, Richmond a ?crit : > Does anyone know where one can obtain the late Eric Chatonet's Color Picker? > > 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 rene.micout at numericable.com Sun Jul 7 05:18:23 2013 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Sun, 7 Jul 2013 11:18:23 +0200 Subject: Color Picker In-Reply-To: <52A9E38B-E3EA-412E-8AD9-A76B0174710D@numericable.com> References: <51D91394.7000705@gmail.com> <52A9E38B-E3EA-412E-8AD9-A76B0174710D@numericable.com> Message-ID: <846F642A-836D-40CC-88E3-3C7E57C5C184@numericable.com> Best? on mouseUp answer color put it end mouseUp on Mac ! Le 7 juil. 2013 ? 11:15, Ren? Micout a ?crit : > Hello Richmond, > put this script in a button : > > on mouseUp > answer color > end mouseUp > > what happens ? > Bon souvenir de Paris > Ren? > > Le 7 juil. 2013 ? 09:07, Richmond a ?crit : > >> Does anyone know where one can obtain the late Eric Chatonet's Color Picker? >> >> 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 Jul 7 05:56:18 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 07 Jul 2013 12:56:18 +0300 Subject: Color Picker In-Reply-To: <846F642A-836D-40CC-88E3-3C7E57C5C184@numericable.com> References: <51D91394.7000705@gmail.com> <52A9E38B-E3EA-412E-8AD9-A76B0174710D@numericable.com> <846F642A-836D-40CC-88E3-3C7E57C5C184@numericable.com> Message-ID: <51D93B42.9040706@gmail.com> On 07/07/2013 12:18 PM, Ren? Micout wrote: > Best? > > on mouseUp > answer color > put it > end mouseUp > > on Mac ! Merci, bien! > > Le 7 juil. 2013 ? 11:15, Ren? Micout a ?crit : > >> Hello Richmond, >> put this script in a button : >> >> on mouseUp >> answer color >> end mouseUp >> >> what happens ? >> Bon souvenir de Paris >> Ren? >> >> Le 7 juil. 2013 ? 09:07, Richmond a ?crit : >> >>> Does anyone know where one can obtain the late Eric Chatonet's Color Picker? >>> >>> Richmond. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Jul 7 05:57:30 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 07 Jul 2013 12:57:30 +0300 Subject: Color Picker In-Reply-To: <52A9E38B-E3EA-412E-8AD9-A76B0174710D@numericable.com> References: <51D91394.7000705@gmail.com> <52A9E38B-E3EA-412E-8AD9-A76B0174710D@numericable.com> Message-ID: <51D93B8A.800@gmail.com> On 07/07/2013 12:15 PM, Ren? Micout wrote: > Hello Richmond, > put this script in a button : > > on mouseUp > answer color > end mouseUp > > what happens ? > Bon souvenir de Paris > Ren? > > Le 7 juil. 2013 ? 09:07, Richmond a ?crit : > >> Does anyone know where one can obtain the late Eric Chatonet's Color Picker? >> >> Richmond. >> >> _______________________________________________ >> No point in reinventing the wheel; so I "stole" the 'Color Chooser' stack from Metacard: http://forums.runrev.com/viewtopic.php?f=5&t=15875 Richmond. From klaus at major-k.de Sun Jul 7 07:05:20 2013 From: klaus at major-k.de (Klaus major-k) Date: Sun, 7 Jul 2013 13:05:20 +0200 Subject: cihnlkhcxlfg and cntnkhwvrlhu In-Reply-To: References: <51D7D09F.8080207@gmail.com> <13F6F80C-EA2D-4072-8231-0116E8421161@major-k.de> <17145395667.20130706101149@ahsoftware.net> Message-ID: Hi Mark, Am 07.07.2013 um 00:32 schrieb Mark Wieder : > Klaus major-k writes: > >>>> I removed the unholy users and their ghastly postings... >>> I posted this a few years ago. Maybe they'll be useful: >> >> It surely is! >> >>> http://www.cthulhulives.org/toybox/PROPDOCS/PropFonts.html >>> Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn. >> >> Will have to tell my old friend Charles Dexter Ward about this! :-D > > So... you mean... > in addition to upper-case and lower-case there is also a strange-case? Yep, even a very-strange-case! > -- > Mark Wieder > mwieder at ahsoftware.net Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From mark.rauterkus at gmail.com Sun Jul 7 08:53:22 2013 From: mark.rauterkus at gmail.com (Mark Rauterkus) Date: Sun, 7 Jul 2013 08:53:22 -0400 Subject: triggers, performance and help with... In-Reply-To: References: Message-ID: Hi, My final script looks like this: on mouseUp tText, startPrior, endPrior put empty into tText put field "field1" into tText put tText put offset("Prior data", tText) into startPrior put offset("Concludes prior.",tText) + 15 into endPrior ---MR changed NewData to "" put "" into char startPrior to endPrior of tText put tText into field "field2" end mouseUp Above script ELIMINATES all text between and including: Prior data ---> Concludes prior FWIW, and it isn't much. Above is done so that an upload of new data to the web server file it does not re-post prior data already obtained from the server page that is already in that file. -- Ta. Mark Rauterkus Mark.Rauterkus at gmail.com From coiin at verizon.net Sun Jul 7 11:12:00 2013 From: coiin at verizon.net (Colin Holgate) Date: Sun, 07 Jul 2013 11:12:00 -0400 Subject: [OT] Mac OS 10.9 In-Reply-To: <51D9120C.6090902@gmail.com> References: <51D9120C.6090902@gmail.com> Message-ID: <847D5D91-CEB6-45A7-A9C3-E1B22564BBC0@verizon.net> LiveCode seems to work ok in 10.9, but it may not yet take advantage of all of the features. For example, if I run a demanding stack that takes 100% CPU, it continues to take that percentage if I hide LiveCode. A similar test in Flash Player takes 70% (it?s doing a little bit less than the LiveCode test, hence not being 100% too), but when I hide Flash Player it drops to 35%. From MikeKerner at roadrunner.com Sun Jul 7 11:37:08 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 7 Jul 2013 11:37:08 -0400 Subject: 6.1 Installer Ubuntu In-Reply-To: <51D902E3.6080307@gmail.com> References: <51D902E3.6080307@gmail.com> Message-ID: So, don't put it in the downloads folder, put it on the desktop? On Sun, Jul 7, 2013 at 1:55 AM, Richmond wrote: > On 07/07/2013 06:41 AM, Mike Kerner wrote: > >> Is anybody else having trouble with the 6.1 installer in Ubuntu? I >> checked >> the executable checkbox, but for some reason it won't run as an admin or >> root. I've tried downloading it a couple of times. In the past all I had >> to do was check the executable box and double-click the installer. I've >> tried running it from the command line and I'm getting command not found. >> >> BTW, the file says its an executable. >> >> > I have had problems with it if it is either on a different hard disk / > partition to the 'Home' directory, or if > it is NOT on the desktop. > > Richmond. > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From film2 at handheldfilm.com Sun Jul 7 11:48:03 2013 From: film2 at handheldfilm.com (Emmett Gray) Date: Sun, 7 Jul 2013 11:48:03 -0400 Subject: What happened to Applescript in LiveCode Community 6.1? Message-ID: Just upgraded from 6.0. "do script" no longer works. No Applescript dictionary. WTF? Just downgraded to 6.0 to get stuff going again. This can't be true! What am I doing wrong? From klaus at major-k.de Sun Jul 7 12:02:27 2013 From: klaus at major-k.de (Klaus major-k) Date: Sun, 7 Jul 2013 18:02:27 +0200 Subject: What happened to Applescript in LiveCode Community 6.1? In-Reply-To: References: Message-ID: <1CE21553-333E-4D66-8F49-B4592B45D677@major-k.de> Hi Emmet, Am 07.07.2013 um 17:48 schrieb Emmett Gray : > Just upgraded from 6.0. "do script" no longer works. No Applescript dictionary. WTF? Just downgraded to 6.0 to get stuff going again. This can't be true! What am I doing wrong? Confirmed, no AppleScript in LC (Community) 6.1! :-/ Looks like a misplaced "About..." menu is not the only Mac issue... Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From coiin at verizon.net Sun Jul 7 12:08:39 2013 From: coiin at verizon.net (Colin Holgate) Date: Sun, 07 Jul 2013 12:08:39 -0400 Subject: What happened to Applescript in LiveCode Community 6.1? In-Reply-To: References: Message-ID: <08832068-8CD2-4A33-B1EC-EC9A48B38202@verizon.net> It appears to work. I put this into a field ?Statements": tell application "Finder" display dialog "Hello World" end tell and had a button that did this: on mouseUp do field "Statements" as AppleScript end mouseUp and Finder showed the dialog as expected. That was with the Community edition 6.1, and the Commercial 6.1 too. From klaus at major-k.de Sun Jul 7 12:12:26 2013 From: klaus at major-k.de (Klaus major-k) Date: Sun, 7 Jul 2013 18:12:26 +0200 Subject: What happened to Applescript in LiveCode Community 6.1? In-Reply-To: <08832068-8CD2-4A33-B1EC-EC9A48B38202@verizon.net> References: <08832068-8CD2-4A33-B1EC-EC9A48B38202@verizon.net> Message-ID: <97AC14BC-B6FA-48CA-A08F-F801606EB00A@major-k.de> Hi Colin, Am 07.07.2013 um 18:08 schrieb Colin Holgate : > It appears to work. I put this into a field ?Statements": > > tell application "Finder" > display dialog "Hello World" > end tell > > and had a button that did this: > > on mouseUp > do field "Statements" as AppleScript > end mouseUp > > and Finder showed the dialog as expected. That was with the Community edition 6.1, and the Commercial 6.1 too. THAT is not the problem, you cannot tell LC "do script xyz" from OUTSIDE of Livecode! At least LC 6.1 does not appear in list of scriptable applications in the AppleScript Editor! LC 5.5.5 does in fact appear! Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From dsc at swcp.com Sun Jul 7 12:56:53 2013 From: dsc at swcp.com (Dar Scott) Date: Sun, 7 Jul 2013 10:56:53 -0600 Subject: [OT] Mac OS 10.9 In-Reply-To: <847D5D91-CEB6-45A7-A9C3-E1B22564BBC0@verizon.net> References: <51D9120C.6090902@gmail.com> <847D5D91-CEB6-45A7-A9C3-E1B22564BBC0@verizon.net> Message-ID: <988523E5-C862-4253-AC72-C77E01BA2363@swcp.com> I wonder about the depreciation of QuickTime. I wonder if the name is another indication of provincialism, or is just some tax-break gimmick. On Jul 7, 2013, at 9:12 AM, Colin Holgate wrote: > LiveCode seems to work ok in 10.9, but it may not yet take advantage of all of the features. For example, if I run a demanding stack that takes 100% CPU, it continues to take that percentage if I hide LiveCode. A similar test in Flash Player takes 70% (it?s doing a little bit less than the LiveCode test, hence not being 100% too), but when I hide Flash Player it drops to 35%. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 7 13:01:54 2013 From: coiin at verizon.net (Colin Holgate) Date: Sun, 07 Jul 2013 13:01:54 -0400 Subject: What happened to Applescript in LiveCode Community 6.1? In-Reply-To: <97AC14BC-B6FA-48CA-A08F-F801606EB00A@major-k.de> References: <08832068-8CD2-4A33-B1EC-EC9A48B38202@verizon.net> <97AC14BC-B6FA-48CA-A08F-F801606EB00A@major-k.de> Message-ID: <2D0B901D-2A7A-4F4E-8A09-E389C25F4D97@verizon.net> I see. It looks like any v6 LiveCode doesn?t seem to have an AppleScript dictionary. From irog at mac.com Sun Jul 7 13:08:33 2013 From: irog at mac.com (Roger Guay) Date: Sun, 07 Jul 2013 11:08:33 -0600 Subject: OpenCard and preOpenCard Odd Behavior Message-ID: I have a stack of 6 cards, the first card of which has both a preOpenCard and an openCard script. These scripts execute properly when the stack is first opened, but they fail to execute if the first card is revisited (after the stack is open). Other cards in this stack have preOpenCard and OpenCard scripts that always execute when the card is visited. Can someone please suggest what might be going on here? Thanks, Roger From mwieder at ahsoftware.net Sun Jul 7 13:21:23 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 7 Jul 2013 10:21:23 -0700 Subject: OpenCard and preOpenCard Odd Behavior In-Reply-To: References: Message-ID: <6566319096.20130707102123@ahsoftware.net> Roger- Sunday, July 7, 2013, 10:08:33 AM, you wrote: > Can someone please suggest what might be going on here? Hmmm... might you also have a preOpenCard or openCard handler in the stack script? -- -Mark Wieder mwieder at ahsoftware.net From skip at magicgate.com Sun Jul 7 13:32:15 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Sun, 7 Jul 2013 13:32:15 -0400 Subject: What happened to Applescript in LiveCode Community 6.1? In-Reply-To: <2D0B901D-2A7A-4F4E-8A09-E389C25F4D97@verizon.net> References: <08832068-8CD2-4A33-B1EC-EC9A48B38202@verizon.net> <97AC14BC-B6FA-48CA-A08F-F801606EB00A@major-k.de> <2D0B901D-2A7A-4F4E-8A09-E389C25F4D97@verizon.net> Message-ID: Anybody try anything other than AppleScript? VB? SKIP On Sun, Jul 7, 2013 at 1:01 PM, Colin Holgate wrote: > I see. It looks like any v6 LiveCode doesn?t seem to have an AppleScript > dictionary. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 7 13:41:39 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 07 Jul 2013 12:41:39 -0500 Subject: OpenCard and preOpenCard Odd Behavior In-Reply-To: References: Message-ID: <51D9A853.6040509@hyperactivesw.com> On 7/7/13 12:08 PM, Roger Guay wrote: > I have a stack of 6 cards, the first card of which has both a > preOpenCard and an openCard script. These scripts execute properly > when the stack is first opened, but they fail to execute if the first > card is revisited (after the stack is open). Other cards in this > stack have preOpenCard and OpenCard scripts that always execute when > the card is visited. I ran into something similar yesterday but it was because I was closing and then reopening a stack whose destroystack property was false. Since the stack was already in RAM and the card didn't change, no pre- or opencard messages were sent. Are you doing that? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From irog at mac.com Sun Jul 7 13:45:27 2013 From: irog at mac.com (Roger Guay) Date: Sun, 07 Jul 2013 11:45:27 -0600 Subject: OpenCard and preOpenCard Odd Behavior In-Reply-To: <6566319096.20130707102123@ahsoftware.net> References: <6566319096.20130707102123@ahsoftware.net> Message-ID: <8096982E-96A4-4B5E-8083-2646EB3A7B99@mac.com> Yes I do, but the other cards are not affected by them. On Jul 7, 2013, at 11:21 AM, Mark Wieder wrote: > Roger- > > Sunday, July 7, 2013, 10:08:33 AM, you wrote: > >> Can someone please suggest what might be going on here? > > Hmmm... might you also have a preOpenCard or openCard handler in the > stack script? > > -- > -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 dunbarx at aol.com Sun Jul 7 13:24:15 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 7 Jul 2013 13:24:15 -0400 (EDT) Subject: OpenCard and preOpenCard Odd Behavior In-Reply-To: References: Message-ID: <8D0494DF068212A-98C-64072@webmail-m136.sysops.aol.com> Roger. Something in your stack. I made a six card stack with: on preopencard put the number of this cd into fld 1 end preopencard on opencard put space & random(99) after fld 1 end opencard No issues. Matters not if you switch the order of hanlders. Check the messagewatcher? Craig Newman -----Original Message----- From: Roger Guay To: How to use LiveCode Sent: Sun, Jul 7, 2013 1:09 pm Subject: OpenCard and preOpenCard Odd Behavior I have a stack of 6 cards, the first card of which has both a preOpenCard and an openCard script. These scripts execute properly when the stack is first opened, but they fail to execute if the first card is revisited (after the stack is open). Other cards in this stack have preOpenCard and OpenCard scripts that always execute when the card is visited. Can someone please suggest what might be going on here? 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 Jul 7 14:23:27 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 7 Jul 2013 14:23:27 -0400 (EDT) Subject: OpenCard and preOpenCard Odd Behavior In-Reply-To: <8096982E-96A4-4B5E-8083-2646EB3A7B99@mac.com> References: <6566319096.20130707102123@ahsoftware.net> <8096982E-96A4-4B5E-8083-2646EB3A7B99@mac.com> Message-ID: <8D04956358B6149-98C-64501@webmail-m136.sysops.aol.com> Roger. This is correct, the card script handlers will run before the stack script handlers. But maybe what Mark was alluding to is that there might be something in those handlers that affects the first card. It is dicey to have these in both places, whether passed or not. Can you move to the stack alone, and manage the cards from there? Craig -----Original Message----- From: Roger Guay To: How to use LiveCode Sent: Sun, Jul 7, 2013 1:45 pm Subject: Re: OpenCard and preOpenCard Odd Behavior Yes I do, but the other cards are not affected by them. On Jul 7, 2013, at 11:21 AM, Mark Wieder wrote: > Roger- > > Sunday, July 7, 2013, 10:08:33 AM, you wrote: > >> Can someone please suggest what might be going on here? > > Hmmm... might you also have a preOpenCard or openCard handler in the > stack script? > > -- > -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 richmondmathewson at gmail.com Sun Jul 7 15:33:48 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 07 Jul 2013 22:33:48 +0300 Subject: 6.1 Installer Ubuntu In-Reply-To: References: <51D902E3.6080307@gmail.com> Message-ID: <51D9C29C.2070601@gmail.com> On 07/07/2013 06:37 PM, Mike Kerner wrote: > So, don't put it in the downloads folder, put it on the desktop? Yer: but I'm not very imaginative, and the RunRev site didn't say nuffin' about that either, so I dids what I'm tolds, an it ain't talkin' turkey. Or, to put it in a more refined way:RunRev need to state a few things anent the Linux installer on their website. > > > On Sun, Jul 7, 2013 at 1:55 AM, Richmond wrote: > >> On 07/07/2013 06:41 AM, Mike Kerner wrote: >> >>> Is anybody else having trouble with the 6.1 installer in Ubuntu? I >>> checked >>> the executable checkbox, but for some reason it won't run as an admin or >>> root. I've tried downloading it a couple of times. In the past all I had >>> to do was check the executable box and double-click the installer. I've >>> tried running it from the command line and I'm getting command not found. >>> >>> BTW, the file says its an executable. >>> >>> >> I have had problems with it if it is either on a different hard disk / >> partition to the 'Home' directory, or if >> it is NOT on the desktop. >> >> 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 dsc at swcp.com Sun Jul 7 16:25:26 2013 From: dsc at swcp.com (Dar Scott) Date: Sun, 7 Jul 2013 14:25:26 -0600 Subject: OpenCard and preOpenCard Odd Behavior In-Reply-To: References: Message-ID: <1D5D42F4-5924-4335-8A44-420CA7F5B1A7@swcp.com> Perhaps a script is put into the front scripts. For example, you mentioned a preOpenCard and openCard being defined in the stack. If the stack was put into the front scripts, then it would block those in the card. Or it could be something else put into the front scripts. You could (in message handlers) pass these messages to make sure all handlers in the scripts see them. It does no harm for the last one to pass. If the handler might be in the message path several times, then either detect the repeat or make the operation short and harmless, that is, ending up with the same state. For example if the script handers do general card set up and the card handler does card specific setup, then the card specific one could pass to the stack handler. (But, as I mentioned, if the stack script is put in front, then it will execute first.) Dar On Jul 7, 2013, at 11:08 AM, Roger Guay wrote: > I have a stack of 6 cards, the first card of which has both a preOpenCard and an openCard script. These scripts execute properly when the stack is first opened, but they fail to execute if the first card is revisited (after the stack is open). Other cards in this stack have preOpenCard and OpenCard scripts that always execute when the card is visited. > > Can someone please suggest what might be going on here? > > 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 irog at mac.com Sun Jul 7 17:07:10 2013 From: irog at mac.com (Roger Guay) Date: Sun, 07 Jul 2013 15:07:10 -0600 Subject: OpenCard and preOpenCard Odd Behavior In-Reply-To: <1D5D42F4-5924-4335-8A44-420CA7F5B1A7@swcp.com> References: <1D5D42F4-5924-4335-8A44-420CA7F5B1A7@swcp.com> Message-ID: I'm so sorry folks, I had to run an errand and came back to realize I misspoke!! I DO NOT have openCard and PreOpenCard scripts at the stack level. Jacque, I am merely navigating between cards in my problem stack that gives me this grief Craig, I'm checking the Message Watcher, but so far I'm not seeing what's causing my problem. Sure enough the MessageWatcher confirms that OpenCard and PreOpenCard are not executing when revisiting the first card, but are when first opening the stack. Dar, I don't think there are any front scripts . . . certainly none of my own. Could there be others not of my doing? Roger On Jul 7, 2013, at 2:25 PM, Dar Scott wrote: > Perhaps a script is put into the front scripts. > > For example, you mentioned a preOpenCard and openCard being defined in the stack. If the stack was put into the front scripts, then it would block those in the card. > > Or it could be something else put into the front scripts. > > You could (in message handlers) pass these messages to make sure all handlers in the scripts see them. It does no harm for the last one to pass. If the handler might be in the message path several times, then either detect the repeat or make the operation short and harmless, that is, ending up with the same state. For example if the script handers do general card set up and the card handler does card specific setup, then the card specific one could pass to the stack handler. (But, as I mentioned, if the stack script is put in front, then it will execute first.) > > Dar > > > On Jul 7, 2013, at 11:08 AM, Roger Guay wrote: > >> I have a stack of 6 cards, the first card of which has both a preOpenCard and an openCard script. These scripts execute properly when the stack is first opened, but they fail to execute if the first card is revisited (after the stack is open). Other cards in this stack have preOpenCard and OpenCard scripts that always execute when the card is visited. >> >> Can someone please suggest what might be going on here? >> >> 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 irog at mac.com Sun Jul 7 17:22:42 2013 From: irog at mac.com (Roger Guay) Date: Sun, 07 Jul 2013 15:22:42 -0600 Subject: OpenCard and preOpenCard Odd Behavior In-Reply-To: References: <1D5D42F4-5924-4335-8A44-420CA7F5B1A7@swcp.com> Message-ID: Me again. I found my problem . . . by message watching (Thank you, Craig). I found that I had an "Exit to top" script on CloseCard of the card I was leaving to go to the first cd. I'm not sure why that matters, but everything works fine if I remove "Exit to top" Thanks to all for your help! Cheers, Roger On Jul 7, 2013, at 3:07 PM, Roger Guay wrote: > I'm so sorry folks, I had to run an errand and came back to realize I misspoke!! I DO NOT have openCard and PreOpenCard scripts at the stack level. > > Jacque, I am merely navigating between cards in my problem stack that gives me this grief > > Craig, I'm checking the Message Watcher, but so far I'm not seeing what's causing my problem. Sure enough the MessageWatcher confirms that OpenCard and PreOpenCard are not executing when revisiting the first card, but are when first opening the stack. > > Dar, I don't think there are any front scripts . . . certainly none of my own. Could there be others not of my doing? > > Roger > > > On Jul 7, 2013, at 2:25 PM, Dar Scott wrote: > >> Perhaps a script is put into the front scripts. >> >> For example, you mentioned a preOpenCard and openCard being defined in the stack. If the stack was put into the front scripts, then it would block those in the card. >> >> Or it could be something else put into the front scripts. >> >> You could (in message handlers) pass these messages to make sure all handlers in the scripts see them. It does no harm for the last one to pass. If the handler might be in the message path several times, then either detect the repeat or make the operation short and harmless, that is, ending up with the same state. For example if the script handers do general card set up and the card handler does card specific setup, then the card specific one could pass to the stack handler. (But, as I mentioned, if the stack script is put in front, then it will execute first.) >> >> Dar >> >> >> On Jul 7, 2013, at 11:08 AM, Roger Guay wrote: >> >>> I have a stack of 6 cards, the first card of which has both a preOpenCard and an openCard script. These scripts execute properly when the stack is first opened, but they fail to execute if the first card is revisited (after the stack is open). Other cards in this stack have preOpenCard and OpenCard scripts that always execute when the card is visited. >>> >>> Can someone please suggest what might be going on here? >>> >>> 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 jacque at hyperactivesw.com Sun Jul 7 17:24:26 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 07 Jul 2013 16:24:26 -0500 Subject: OpenCard and preOpenCard Odd Behavior In-Reply-To: References: <1D5D42F4-5924-4335-8A44-420CA7F5B1A7@swcp.com> Message-ID: <51D9DC8A.2060205@hyperactivesw.com> On 7/7/13 4:07 PM, Roger Guay wrote: > I'm checking the Message Watcher, but so far I'm not seeing > what's causing my problem. Sure enough the MessageWatcher confirms > that OpenCard and PreOpenCard are not executing when revisiting the > first card, but are when first opening the stack. When you say they aren't executing, do you mean the messages are sent but nothing happens? Or no messages appear in the message watcher? If there are no messages, then check for a "lock messages" command that might be blocking them. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From irog at mac.com Sun Jul 7 17:28:03 2013 From: irog at mac.com (Roger Guay) Date: Sun, 07 Jul 2013 15:28:03 -0600 Subject: OpenCard and preOpenCard Odd Behavior In-Reply-To: <51D9DC8A.2060205@hyperactivesw.com> References: <1D5D42F4-5924-4335-8A44-420CA7F5B1A7@swcp.com> <51D9DC8A.2060205@hyperactivesw.com> Message-ID: <85DD2D5C-C10D-43B9-B0B8-40963FBDCC21@mac.com> Hi Jacque, I meant that there are no messages appearing, but you just missed my previous post where I found the offending script in a CloseCard. Thanks very much for your help! Roger On Jul 7, 2013, at 3:24 PM, "J. Landman Gay" wrote: > On 7/7/13 4:07 PM, Roger Guay wrote: >> I'm checking the Message Watcher, but so far I'm not seeing >> what's causing my problem. Sure enough the MessageWatcher confirms >> that OpenCard and PreOpenCard are not executing when revisiting the >> first card, but are when first opening the stack. > > When you say they aren't executing, do you mean the messages are sent but nothing happens? Or no messages appear in the message watcher? > > If there are no messages, then check for a "lock messages" command that might be blocking them. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Sun Jul 7 17:32:03 2013 From: dsc at swcp.com (Dar Scott) Date: Sun, 7 Jul 2013 15:32:03 -0600 Subject: OpenCard and preOpenCard Odd Behavior In-Reply-To: References: <1D5D42F4-5924-4335-8A44-420CA7F5B1A7@swcp.com> Message-ID: On Jul 7, 2013, at 3:07 PM, Roger Guay wrote: > Dar, I don't think there are any front scripts . . . certainly none of my own. Could there be others not of my doing? There could. The IDE has some and even in a standalone you might have libURL and others. These are very unlikely to have openCard and preOpenCard handlers. You might find old custom controls and some libraries that put things in front scripts. Other (unlikely) possibilities include setting the card script to empty and disabling messages. Dar From dsc at swcp.com Sun Jul 7 17:36:42 2013 From: dsc at swcp.com (Dar Scott) Date: Sun, 7 Jul 2013 15:36:42 -0600 Subject: OpenCard and preOpenCard Odd Behavior In-Reply-To: <85DD2D5C-C10D-43B9-B0B8-40963FBDCC21@mac.com> References: <1D5D42F4-5924-4335-8A44-420CA7F5B1A7@swcp.com> <51D9DC8A.2060205@hyperactivesw.com> <85DD2D5C-C10D-43B9-B0B8-40963FBDCC21@mac.com> Message-ID: <76080F9E-6AE3-4B7C-9CE2-48370F800CA4@swcp.com> Whoops. I did the same. I need to "get mail" before I hit send. It is interesting how this works. I would have thought those messages would be like sends or something and be queue or something as simple. Or called at the time. That is simple, too. Dar On Jul 7, 2013, at 3:28 PM, Roger Guay wrote: > Hi Jacque, > > I meant that there are no messages appearing, but you just missed my previous post where I found the offending script in a CloseCard. > > Thanks very much for your help! > > Roger > > > On Jul 7, 2013, at 3:24 PM, "J. Landman Gay" wrote: > >> On 7/7/13 4:07 PM, Roger Guay wrote: >>> I'm checking the Message Watcher, but so far I'm not seeing >>> what's causing my problem. Sure enough the MessageWatcher confirms >>> that OpenCard and PreOpenCard are not executing when revisiting the >>> first card, but are when first opening the stack. >> >> When you say they aren't executing, do you mean the messages are sent but nothing happens? Or no messages appear in the message watcher? >> >> If there are no messages, then check for a "lock messages" command that might be blocking them. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Jul 7 18:15:15 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 07 Jul 2013 17:15:15 -0500 Subject: OpenCard and preOpenCard Odd Behavior In-Reply-To: <76080F9E-6AE3-4B7C-9CE2-48370F800CA4@swcp.com> References: <1D5D42F4-5924-4335-8A44-420CA7F5B1A7@swcp.com> <51D9DC8A.2060205@hyperactivesw.com> <85DD2D5C-C10D-43B9-B0B8-40963FBDCC21@mac.com> <76080F9E-6AE3-4B7C-9CE2-48370F800CA4@swcp.com> Message-ID: <51D9E873.7060801@hyperactivesw.com> On 7/7/13 4:36 PM, Dar Scott wrote: > It is interesting how this works. I would have thought those > messages would be like sends or something and be queue or something > as simple. Or called at the time. That is simple, too. Occasionally I see list answers before the questions are received. I always figured it was a delay at some server somewhere in the transmission path. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Sun Jul 7 18:53:22 2013 From: dsc at swcp.com (Dar Scott) Date: Sun, 7 Jul 2013 16:53:22 -0600 Subject: [Wandered OT] Re: OpenCard and preOpenCard Odd Behavior In-Reply-To: <51D9E873.7060801@hyperactivesw.com> References: <1D5D42F4-5924-4335-8A44-420CA7F5B1A7@swcp.com> <51D9DC8A.2060205@hyperactivesw.com> <85DD2D5C-C10D-43B9-B0B8-40963FBDCC21@mac.com> <76080F9E-6AE3-4B7C-9CE2-48370F800CA4@swcp.com> <51D9E873.7060801@hyperactivesw.com> Message-ID: Sometimes I see strange delays in email, but those usually straighten out quickly after I mention the delays in an email. On Jul 7, 2013, at 4:15 PM, J. Landman Gay wrote: > On 7/7/13 4:36 PM, Dar Scott wrote: > >> It is interesting how this works. I would have thought those >> messages would be like sends or something and be queue or something >> as simple. Or called at the time. That is simple, too. > > Occasionally I see list answers before the questions are received. I always figured it was a delay at some server somewhere in the transmission path. > > -- > 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 Jul 7 20:12:39 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 7 Jul 2013 17:12:39 -0700 Subject: [Wandered OT] Re: OpenCard and preOpenCard Odd Behavior In-Reply-To: References: <1D5D42F4-5924-4335-8A44-420CA7F5B1A7@swcp.com> <51D9DC8A.2060205@hyperactivesw.com> <85DD2D5C-C10D-43B9-B0B8-40963FBDCC21@mac.com> <76080F9E-6AE3-4B7C-9CE2-48370F800CA4@swcp.com> <51D9E873.7060801@hyperactivesw.com> Message-ID: <19290994727.20130707171239@ahsoftware.net> Dar- Sunday, July 7, 2013, 3:53:22 PM, you wrote: > Sometimes I see strange delays in email, but those usually > straighten out quickly after I mention the delays in an email. Once the listserv software finds out we're onto it, it quickly tries to pretend like nothing ever happened. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Jul 7 20:14:03 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 7 Jul 2013 17:14:03 -0700 Subject: OpenCard and preOpenCard Odd Behavior In-Reply-To: References: <1D5D42F4-5924-4335-8A44-420CA7F5B1A7@swcp.com> Message-ID: <12791078319.20130707171403@ahsoftware.net> Roger- Sunday, July 7, 2013, 2:22:42 PM, you wrote: > Me again. I found my problem . . . by message watching (Thank > you, Craig). I found that I had an "Exit to top" script on CloseCard > of the card I was leaving to go to the first cd. I'm not sure why > that matters, but everything works fine if I remove "Exit to top" Cool. Closestack was the next thing I was going to have you check. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Jul 7 20:16:59 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 7 Jul 2013 17:16:59 -0700 Subject: OpenCard and preOpenCard Odd Behavior In-Reply-To: <76080F9E-6AE3-4B7C-9CE2-48370F800CA4@swcp.com> References: <1D5D42F4-5924-4335-8A44-420CA7F5B1A7@swcp.com> <51D9DC8A.2060205@hyperactivesw.com> <85DD2D5C-C10D-43B9-B0B8-40963FBDCC21@mac.com> <76080F9E-6AE3-4B7C-9CE2-48370F800CA4@swcp.com> Message-ID: <3091254665.20130707171659@ahsoftware.net> Dar- Sunday, July 7, 2013, 2:36:42 PM, you wrote: > It is interesting how this works. I would have thought those > messages would be like sends or something and be queue or something > as simple. Or called at the time. That is simple, too. I think what's going on is that the "exit to top" kills all pending messages. And attempting to go from one card to another queues both a closecard and a preopencard message, so the exit in the closecard cleans things up neatly and the preopencard never has a chance. But it's just a guess. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Jul 7 20:19:32 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 7 Jul 2013 17:19:32 -0700 Subject: OpenCard and preOpenCard Odd Behavior In-Reply-To: <51D9E873.7060801@hyperactivesw.com> References: <1D5D42F4-5924-4335-8A44-420CA7F5B1A7@swcp.com> <51D9DC8A.2060205@hyperactivesw.com> <85DD2D5C-C10D-43B9-B0B8-40963FBDCC21@mac.com> <76080F9E-6AE3-4B7C-9CE2-48370F800CA4@swcp.com> <51D9E873.7060801@hyperactivesw.com> Message-ID: <13491407839.20130707171932@ahsoftware.net> Jacque- Sunday, July 7, 2013, 3:15:15 PM, you wrote: > Occasionally I see list answers before the questions are received. Of course *you* do. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Jul 7 20:26:12 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 7 Jul 2013 17:26:12 -0700 Subject: OpenCard and preOpenCard Odd Behavior In-Reply-To: <12791078319.20130707171403@ahsoftware.net> References: <1D5D42F4-5924-4335-8A44-420CA7F5B1A7@swcp.com> <12791078319.20130707171403@ahsoftware.net> Message-ID: <6991807669.20130707172612@ahsoftware.net> Sunday, July 7, 2013, 5:14:03 PM, I wrote: > Roger- > Sunday, July 7, 2013, 2:22:42 PM, you wrote: >> Me again. I found my problem . . . by message watching (Thank >> you, Craig). I found that I had an "Exit to top" script on CloseCard >> of the card I was leaving to go to the first cd. I'm not sure why >> that matters, but everything works fine if I remove "Exit to top" > Cool. Closestack was the next thing I was going to have you check. er... close*Card*... -- -Mark Wieder mwieder at ahsoftware.net From irog at mac.com Sun Jul 7 20:41:23 2013 From: irog at mac.com (Roger Guay) Date: Sun, 07 Jul 2013 18:41:23 -0600 Subject: OpenCard and preOpenCard Odd Behavior In-Reply-To: <3091254665.20130707171659@ahsoftware.net> References: <1D5D42F4-5924-4335-8A44-420CA7F5B1A7@swcp.com> <51D9DC8A.2060205@hyperactivesw.com> <85DD2D5C-C10D-43B9-B0B8-40963FBDCC21@mac.com> <76080F9E-6AE3-4B7C-9CE2-48370F800CA4@swcp.com> <3091254665.20130707171659@ahsoftware.net> Message-ID: <0CF883DB-C256-4765-AE74-7778485AADB7@mac.com> Sounds good to me. Thanks, Mark! On Jul 7, 2013, at 6:16 PM, Mark Wieder wrote: > I think what's going on is that the "exit to top" kills all pending > messages. And attempting to go from one card to another queues both a > closecard and a preopencard message, so the exit in the closecard > cleans things up neatly and the preopencard never has a chance. But > it's just a guess. From MikeKerner at roadrunner.com Sun Jul 7 21:03:14 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 7 Jul 2013 21:03:14 -0400 Subject: 6.1 Installer Ubuntu In-Reply-To: <51D9C29C.2070601@gmail.com> References: <51D902E3.6080307@gmail.com> <51D9C29C.2070601@gmail.com> Message-ID: That didn't work either. On the desktop...it still won't open. On Sun, Jul 7, 2013 at 3:33 PM, Richmond wrote: > On 07/07/2013 06:37 PM, Mike Kerner wrote: > >> So, don't put it in the downloads folder, put it on the desktop? >> > > Yer: but I'm not very imaginative, and the RunRev site didn't say nuffin' > about that > either, so I dids what I'm tolds, an it ain't talkin' turkey. > > Or, to put it in a more refined way:RunRev need to state a few things > anent the Linux installer > on their website. > > >> >> On Sun, Jul 7, 2013 at 1:55 AM, Richmond ** >> wrote: >> >> On 07/07/2013 06:41 AM, Mike Kerner wrote: >>> >>> Is anybody else having trouble with the 6.1 installer in Ubuntu? I >>>> checked >>>> the executable checkbox, but for some reason it won't run as an admin or >>>> root. I've tried downloading it a couple of times. In the past all I >>>> had >>>> to do was check the executable box and double-click the installer. I've >>>> tried running it from the command line and I'm getting command not >>>> found. >>>> >>>> BTW, the file says its an executable. >>>> >>>> >>>> I have had problems with it if it is either on a different hard disk / >>> partition to the 'Home' directory, or if >>> it is NOT on the desktop. >>> >>> 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 > -- 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 film2 at handheldfilm.com Sun Jul 7 21:05:42 2013 From: film2 at handheldfilm.com (Emmett Gray) Date: Sun, 7 Jul 2013 21:05:42 -0400 Subject: What happened to Applescript in LiveCode Community 6.1? Message-ID: On Sun, 07 Jul 2013 13:01:54 -0400, Colin Holgate wrote: > >I see. It looks like any v6 LiveCode doesn?t seem to have an AppleScript dictionary Not true. 6.0 Community does and it was/is again working here with "do script". It's 6.1 Community that is broken, which you could have gathered from my original post. If AS wasn't in 6.0 I would have stayed with Revolution 4.0. "do script" is one of only 2 terms in the 6.0 AppleScript dictionary, but it's the only one you really need because the script you're doing isn't Applescript, it's LiveCode so you can (or used to be able to) tell LiveCode to do virtually anything you want from an AppleScript app or script. The other term is "evaluate" which I've never needed. From coiin at verizon.net Sun Jul 7 21:32:47 2013 From: coiin at verizon.net (Colin Holgate) Date: Sun, 07 Jul 2013 21:32:47 -0400 Subject: What happened to Applescript in LiveCode Community 6.1? In-Reply-To: References: Message-ID: What I was referring to is the Dictionary that the AppleScript editor can open. If you try to open dictionary you?ll see that LiveCode 6.0.2 and 6.1 are not in the list of applications, but 5.5.4 is. If you choose Browse you?ll see that the v6.x.x LiveCodes are grayed out. Now, it could be that it worked in 6.0.0, and that the changed happened in 6.0.2. On Jul 7, 2013, at 9:05 PM, Emmett Gray wrote: >> I see. It looks like any v6 LiveCode doesn?t seem to have an AppleScript dictionary > > Not true. 6.0 Community does and it was/is again working here with "do script". It's 6.1 Community that is broken, which you could have gathered from my original post. From warren at warrensweb.us Sun Jul 7 22:04:38 2013 From: warren at warrensweb.us (Warren Samples) Date: Sun, 07 Jul 2013 21:04:38 -0500 Subject: 6.1 Installer Ubuntu In-Reply-To: References: <51D902E3.6080307@gmail.com> <51D9C29C.2070601@gmail.com> Message-ID: <51DA1E36.7070702@warrensweb.us> On 07/07/2013 08:03 PM, Mike Kerner wrote: > That didn't work either. On the desktop...it still won't open. Have you successfully installed other LiveCode versions in this particular Ubuntu installation? From gcanyon at gmail.com Sun Jul 7 22:50:29 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Sun, 7 Jul 2013 21:50:29 -0500 Subject: RosettaCode In-Reply-To: <51D7AB40.2060208@gmail.com> References: <100805164957.20130705160613@ahsoftware.net> <51D7AB40.2060208@gmail.com> Message-ID: Well, I moved the Revolution information to http://rosettacode.org/wiki/LiveCode, rewrote some of it for accuracy, put in a redirect on the revolution page to the livecode page, and added a handful of solutions. Anyone is welcome to contribute -- the page of tasks not yet implemented is at: http://rosettacode.org/wiki/Reports:Tasks_not_implemented_in_LiveCode From ambassador at fourthworld.com Sun Jul 7 23:08:12 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 07 Jul 2013 20:08:12 -0700 Subject: What happened to Applescript in LiveCode Community 6.1? In-Reply-To: References: Message-ID: <51DA2D1C.80204@fourthworld.com> RunRev has a long history of forgetting to include the AppleScript disctionary resource into new builds. I'm not sure why this hasn't been automated, but it's happened before, and if you drop them a note they'll be able to fix it for next time. For now, just copy the resource from an earlier build into the new one and then it'll be able to respond to the "eval" and "dosc" events as before. -- 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 Jul 7 23:20:30 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 8 Jul 2013 13:20:30 +1000 Subject: What happened to Applescript in LiveCode Community 6.1? In-Reply-To: <51DA2D1C.80204@fourthworld.com> References: <51DA2D1C.80204@fourthworld.com> Message-ID: On 08/07/2013, at 1:08 PM, Richard Gaskin wrote: > RunRev has a long history of forgetting to include the AppleScript disctionary resource into new builds. I'm not sure why this hasn't been automated, but it's happened before, and if you drop them a note they'll be able to fix it for next time. For now, just copy the resource from an earlier build into the new one and then it'll be able to respond to the "eval" and "dosc" events as before. Yes it's probably been missed from the automated build process. If there isn't one open already then you (not you necessarily Richard...) should open a bug report on this... Cheers -- 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 Jul 8 00:24:25 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 07 Jul 2013 21:24:25 -0700 Subject: RosettaCode In-Reply-To: Message-ID: Hi Geoff: I tried to follow your instructions but can't figure out where/how to submit a solution. Went to the 99 Bottles task but don't see LiveCode or Revolution listed in the available languages. So I'll post my function here, wait for you to rip it apart and explain how a regex solution would be 10x more efficient, and say do with it what you will :-) function beerMe put "XX bottles of beer on the wall" into verseA put "Take one down, pass it around" into verseB repeat with N = 99 down to 1 put replaceText(verseA,"XX",N) & cr & word 1 to 4 of replaceText(verseA,"XX",N) & cr & verseB & cr & replaceText(verseA,"XX",N-1) & cr & cr after theSong end repeat return theSong end beerMe Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 7/7/13 7:50 PM, "Geoff Canyon" wrote: > Well, I moved the Revolution information to > http://rosettacode.org/wiki/LiveCode, rewrote some of it for accuracy, put > in a redirect on the revolution page to the livecode page, and added a > handful of solutions. Anyone is welcome to contribute -- the page of tasks > not yet implemented is at: > http://rosettacode.org/wiki/Reports:Tasks_not_implemented_in_LiveCode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Jul 8 01:20:01 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 8 Jul 2013 00:20:01 -0500 Subject: RosettaCode In-Reply-To: References: Message-ID: Thanks for contributing! Hopefully I don't come off quite that harsh... In any case, there doesn't seem to be a better way to add a new entry than: 1. Go to the page for 99 bottles. 2. Click the entry for the language before LiveCode alphabetically -- Liberty BASIC in this case. 3. Edit that entry. 4. Insert the following at the bottom, after a couple CRs: =={{header|LiveCode}}== function beerMe numberOfBottles put "XX bottles of beer on the wall" into verseA put "Take one down, pass it around" into verseB repeat with N = numberOfBottles down to 1 put replaceText(verseA,"XX",N) & cr & word 1 to 4 of \ replaceText(verseA,"XX",N) & cr & verseB & cr & replaceText(verseA,"XX",N-1) \ & cr & cr after theSong end repeat return theSong end beerMe I generally add a comment that I'm adding LiveCode, and then save. It could also be done by editing the entry *after* LiveCard alphabetically, and putting the LiveCode entry before that entry, with a couple CRs between them. Or by editing the whole page, but that would be harder because you'd have to search through the markdown to find the right place to put LiveCode. Note that in this case I just modified your code to take an argument for the number of bottles just for laughs. If I were optimizing I'd do something like: function beerMe3 numberOfBottles repeat with N = numberOfBottles down to 0 put N && "bottles of beer on the wall" & cr & cr & \ N && "bottles of beer on the wall" & cr & \ N && "bottles of beer" & cr & \ "Take one down, pass it around" & cr after theSong end repeat return line 3 to -5 of theSong end beerMe3 From scott at tactilemedia.com Mon Jul 8 02:30:57 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 07 Jul 2013 23:30:57 -0700 Subject: RosettaCode In-Reply-To: Message-ID: OK, just so I'm clear, though? I thought part of the bragging rights of these things was to execute the task in as few lines as possible, regardless of readability. Looking through the various entries (including the entry you posted), everything looks fairly well formatted/readable. So on this site, brevity, while encouraged, isn't really the goal, correct? In fact, it seems convoluted options can be posted alongside concise options within the same language. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 7/7/13 10:20 PM, "Geoff Canyon" wrote: >Thanks for contributing! > >Hopefully I don't come off quite that harsh... In any case, there doesn't >seem to be a better way to add a new entry than: > >1. Go to the page for 99 bottles. >2. Click the entry for the language before LiveCode alphabetically -- >Liberty BASIC in this case. >3. Edit that entry. >4. Insert the following at the bottom, after a couple CRs: > >=={{header|LiveCode}}== >function beerMe numberOfBottles > put "XX bottles of beer on the wall" into verseA > put "Take one down, pass it around" into verseB > repeat with N = numberOfBottles down to 1 > put replaceText(verseA,"XX",N) & cr & word 1 to 4 of \ > replaceText(verseA,"XX",N) & cr & verseB & cr & >replaceText(verseA,"XX",N-1) \ > & cr & cr after theSong > end repeat > return theSong >end beerMe > >I generally add a comment that I'm adding LiveCode, and then save. It >could >also be done by editing the entry *after* LiveCard alphabetically, and >putting the LiveCode entry before that entry, with a couple CRs between >them. Or by editing the whole page, but that would be harder because you'd >have to search through the markdown to find the right place to put >LiveCode. > >Note that in this case I just modified your code to take an argument for >the number of bottles just for laughs. If I were optimizing I'd do >something like: > >function beerMe3 numberOfBottles > repeat with N = numberOfBottles down to 0 > put N && "bottles of beer on the wall" & cr & cr & \ > N && "bottles of beer on the wall" & cr & \ > N && "bottles of beer" & cr & \ > "Take one down, pass it around" & cr after theSong > end repeat > return line 3 to -5 of theSong >end beerMe3 >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Mon Jul 8 02:43:53 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 08 Jul 2013 09:43:53 +0300 Subject: RosettaCode In-Reply-To: References: Message-ID: <51DA5FA9.6010700@gmail.com> On 08/07/13 09:30, Scott Rossi wrote: > OK, just so I'm clear, though? I thought part of the bragging rights of > these things was to execute the task in as few lines as possible, > regardless of readability. Looking through the various entries (including > the entry you posted), everything looks fairly well formatted/readable. So > on this site, brevity, while encouraged, isn't really the goal, correct? > In fact, it seems convoluted options can be posted alongside concise > options within the same language. This, surely, is one of the glories of Livecode . . . one can do things the easy way, or the difficult way; one can use a reduced instruction set or a complete (and convoluted) instruction set if one so wishes. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 7/7/13 10:20 PM, "Geoff Canyon" wrote: > >> Thanks for contributing! >> >> Hopefully I don't come off quite that harsh... In any case, there doesn't >> seem to be a better way to add a new entry than: >> >> 1. Go to the page for 99 bottles. >> 2. Click the entry for the language before LiveCode alphabetically -- >> Liberty BASIC in this case. >> 3. Edit that entry. >> 4. Insert the following at the bottom, after a couple CRs: >> >> =={{header|LiveCode}}== >> function beerMe numberOfBottles >> put "XX bottles of beer on the wall" into verseA >> put "Take one down, pass it around" into verseB >> repeat with N = numberOfBottles down to 1 >> put replaceText(verseA,"XX",N) & cr & word 1 to 4 of \ >> replaceText(verseA,"XX",N) & cr & verseB & cr & >> replaceText(verseA,"XX",N-1) \ >> & cr & cr after theSong >> end repeat >> return theSong >> end beerMe >> >> I generally add a comment that I'm adding LiveCode, and then save. It >> could >> also be done by editing the entry *after* LiveCard alphabetically, and >> putting the LiveCode entry before that entry, with a couple CRs between >> them. Or by editing the whole page, but that would be harder because you'd >> have to search through the markdown to find the right place to put >> LiveCode. >> >> Note that in this case I just modified your code to take an argument for >> the number of bottles just for laughs. If I were optimizing I'd do >> something like: >> >> function beerMe3 numberOfBottles >> repeat with N = numberOfBottles down to 0 >> put N && "bottles of beer on the wall" & cr & cr & \ >> N && "bottles of beer on the wall" & cr & \ >> N && "bottles of beer" & cr & \ >> "Take one down, pass it around" & cr after theSong >> end repeat >> return line 3 to -5 of theSong >> end beerMe3 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Jul 8 04:18:17 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 8 Jul 2013 03:18:17 -0500 Subject: RosettaCode In-Reply-To: References: Message-ID: <16AB04F8-42BC-404C-B78E-3B20A984BB4A@gmail.com> I don't have much experience with the site, but what I've seen seems more friendly than contentious. The goal seems to be the exchange of information, to help people learn about the different languages. With the new language features coming in LiveCode, I think it provides a rich template for extensions to our syntax. For example, the anagrams problem made it abundantly clear that we need a sort characters command, as well as words. gc Sent from my iPad On Jul 8, 2013, at 1:30 AM, Scott Rossi wrote: > OK, just so I'm clear, though? I thought part of the bragging rights of > these things was to execute the task in as few lines as possible, > regardless of readability. Looking through the various entries (including > the entry you posted), everything looks fairly well formatted/readable. So > on this site, brevity, while encouraged, isn't really the goal, correct? > In fact, it seems convoluted options can be posted alongside concise > options within the same language. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 7/7/13 10:20 PM, "Geoff Canyon" wrote: > >> Thanks for contributing! >> >> Hopefully I don't come off quite that harsh... In any case, there doesn't >> seem to be a better way to add a new entry than: >> >> 1. Go to the page for 99 bottles. >> 2. Click the entry for the language before LiveCode alphabetically -- >> Liberty BASIC in this case. >> 3. Edit that entry. >> 4. Insert the following at the bottom, after a couple CRs: >> >> =={{header|LiveCode}}== >> function beerMe numberOfBottles >> put "XX bottles of beer on the wall" into verseA >> put "Take one down, pass it around" into verseB >> repeat with N = numberOfBottles down to 1 >> put replaceText(verseA,"XX",N) & cr & word 1 to 4 of \ >> replaceText(verseA,"XX",N) & cr & verseB & cr & >> replaceText(verseA,"XX",N-1) \ >> & cr & cr after theSong >> end repeat >> return theSong >> end beerMe >> >> I generally add a comment that I'm adding LiveCode, and then save. It >> could >> also be done by editing the entry *after* LiveCard alphabetically, and >> putting the LiveCode entry before that entry, with a couple CRs between >> them. Or by editing the whole page, but that would be harder because you'd >> have to search through the markdown to find the right place to put >> LiveCode. >> >> Note that in this case I just modified your code to take an argument for >> the number of bottles just for laughs. If I were optimizing I'd do >> something like: >> >> function beerMe3 numberOfBottles >> repeat with N = numberOfBottles down to 0 >> put N && "bottles of beer on the wall" & cr & cr & \ >> N && "bottles of beer on the wall" & cr & \ >> N && "bottles of beer" & cr & \ >> "Take one down, pass it around" & cr after theSong >> end repeat >> return line 3 to -5 of theSong >> end beerMe3 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Mon Jul 8 05:20:13 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 8 Jul 2013 11:20:13 +0200 Subject: LC 6 icon in Mac dock is completly transparent Message-ID: <006d01ce7bbc$5a3b58f0$0eb20ad0$@de> The new LC 6 icon is on my 10.5.8 Mac completely transparent / or not existing. The small icon in the program folder is ok. Are there any known backward compatibility issues with 10.5 or should I file it as a bug? Tiemo From neil at runrev.com Mon Jul 8 05:27:46 2013 From: neil at runrev.com (Neil Roger) Date: Mon, 08 Jul 2013 10:27:46 +0100 Subject: 6.1 Installer Ubuntu In-Reply-To: References: Message-ID: <51DA8612.7080203@runrev.com> On 07/07/2013 04:41, Mike Kerner wrote: > Is anybody else having trouble with the 6.1 installer in Ubuntu? I checked > the executable checkbox, but for some reason it won't run as an admin or > root. I've tried downloading it a couple of times. In the past all I had > to do was check the executable box and double-click the installer. I've > tried running it from the command line and I'm getting command not found. > > BTW, the file says its an executable. > Hi Mike, I have successfully installed LiveCode 6.1 on one of our test machines running Ubuntu 12.04 LTS via the method you described. Could you let me know what version of Ubuntu you are running and I will attempt to re-create the installation issue? Kind Regards, Neil Roger -- RunRev Support Team ~ http://www.runrev.com - From toolbook at kestner.de Mon Jul 8 05:28:47 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 8 Jul 2013 11:28:47 +0200 Subject: How to deinstall LC? Message-ID: <007501ce7bbd$8cb1a1d0$a614e570$@de> Since 2.8 I still have all version installed. I think it's time to get rid of some old versions, but I didn't find any not on how to deinstall LC on Win / Mac. Is there any hidden deinstaller or should I just dump the program folder and leave the rest of sattelite files on my computers? Thanks for your experiences Tiemo From richmondmathewson at gmail.com Mon Jul 8 06:01:22 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 08 Jul 2013 13:01:22 +0300 Subject: LC 6 icon in Mac dock is completly transparent In-Reply-To: <006d01ce7bbc$5a3b58f0$0eb20ad0$@de> References: <006d01ce7bbc$5a3b58f0$0eb20ad0$@de> Message-ID: <51DA8DF2.5050606@gmail.com> On 08/07/13 12:20, Tiemo Hollmann TB wrote: > The new LC 6 icon is on my 10.5.8 Mac completely transparent / or not > existing. The small icon in the program folder is ok. > > Are there any known backward compatibility issues with 10.5 or should I file > it as a bug? > > 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 I have seen this with Mac OS 10.4.11 PPC as well. Richmond. From scott at tactilemedia.com Mon Jul 8 07:30:47 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 08 Jul 2013 04:30:47 -0700 Subject: FranklinAudio in Standalone? Message-ID: Anyone been able to get the FranklinAudio audio external working in a Mac standalone? I have FranklinAudio working fine in the LC IDE, but when I launch a standalone that includes the external, I get an error while trying to initialize the external. I ran into the same trouble on Windows, and was able to get things working with the developer's help, but he is on vacation at the moment, and I'm trying to get an app update out the door. Thanks for any insight anyone can offer. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From MikeKerner at roadrunner.com Mon Jul 8 10:13:45 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 8 Jul 2013 10:13:45 -0400 Subject: 6.1 Installer Ubuntu In-Reply-To: <51DA8612.7080203@runrev.com> References: <51DA8612.7080203@runrev.com> Message-ID: I am also running 12.04 LTS. I've tried both the commercial and community versions. On Mon, Jul 8, 2013 at 5:27 AM, Neil Roger wrote: > On 07/07/2013 04:41, Mike Kerner wrote: > >> Is anybody else having trouble with the 6.1 installer in Ubuntu? I >> checked >> the executable checkbox, but for some reason it won't run as an admin or >> root. I've tried downloading it a couple of times. In the past all I had >> to do was check the executable box and double-click the installer. I've >> tried running it from the command line and I'm getting command not found. >> >> BTW, the file says its an executable. >> >> Hi Mike, > > I have successfully installed LiveCode 6.1 on one of our test machines > running Ubuntu 12.04 LTS via the method you described. > > Could you let me know what version of Ubuntu you are running and I will > attempt to re-create the installation issue? > > Kind Regards, > > Neil Roger > -- > RunRev Support Team ~ http://www.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 > -- 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 klaus at major-k.de Mon Jul 8 10:32:40 2013 From: klaus at major-k.de (Klaus major-k) Date: Mon, 8 Jul 2013 16:32:40 +0200 Subject: FranklinAudio in Standalone? In-Reply-To: References: Message-ID: <23265AA1-3DFD-4B18-A239-233AAD7B3051@major-k.de> Hi Scott, Am 08.07.2013 um 13:30 schrieb Scott Rossi : > Anyone been able to get the FranklinAudio audio external working in a Mac > standalone? > > I have FranklinAudio working fine in the LC IDE, but when I launch a > standalone that includes the external, I get an error while trying to > initialize the external. I ran into the same trouble on Windows, and was > able to get things working with the developer's help, but he is on > vacation at the moment, and I'm trying to get an app update out the door. > > Thanks for any insight anyone can offer. I have the experience that the standalone builder lets you selects your (non Rev!) external in the list of libs, but does NOT include/copy them into the finale app bundle! This still happens with e.g. the "Enhanced QuickTime external.bundle". Maybe this is also the case for the FranklinAudio external? That's why i still load all externals manually "on startup" like in the good ol' MetaCard days ;-) > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From selander at tkf.att.ne.jp Mon Jul 8 10:53:55 2013 From: selander at tkf.att.ne.jp (Tim Selander) Date: Mon, 08 Jul 2013 23:53:55 +0900 Subject: Getting URL of a shoutcast server.... Message-ID: <51DAD283.3040300@tkf.att.ne.jp> Hi, I have a little shoutcast radio station, and wanted to play around with the data that shows up on the html page. LC is not successfully getting the URL. It gets other URL/pages for me just fine, but not the shoutcast page. The shoutcast URL is followed by a port number. Is that what is throwing it off? I have a field called data. get URL"http://livecode.com/" put it into fld data works as expected, but get URL"http://stream-11.streamsolutions.co.uk:9428" put it into fld data returns no data. "it" is empty. Any clues why? I'm just looking to get the text from the page, not the audio stream. TIA Tim Selander Tokyo, Japan From andrew at ctech.me Mon Jul 8 11:00:52 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Mon, 8 Jul 2013 10:00:52 -0500 Subject: Getting URL of a shoutcast server.... In-Reply-To: <51DAD283.3040300@tkf.att.ne.jp> References: <51DAD283.3040300@tkf.att.ne.jp> Message-ID: Your url doesn't require any authentication does it? On Mon, Jul 8, 2013 at 9:53 AM, Tim Selander wrote: > Hi, > > I have a little shoutcast radio station, and wanted to play around with > the data that shows up on the html page. > > LC is not successfully getting the URL. It gets other URL/pages for me > just fine, but not the shoutcast page. The shoutcast URL is followed by a > port number. Is that what is throwing it off? > > I have a field called data. > > get URL"http://livecode.com/" > put it into fld data > > works as expected, but > get URL"http://stream-11.**streamsolutions.co.uk:9428 > " > put it into fld data > > returns no data. "it" is empty. > > Any clues why? I'm just looking to get the text from the page, not the > audio stream. > > TIA > > Tim Selander > Tokyo, Japan > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From film2 at handheldfilm.com Mon Jul 8 11:01:47 2013 From: film2 at handheldfilm.com (Emmett Gray) Date: Mon, 8 Jul 2013 11:01:47 -0400 Subject: What happened to Applescript in LiveCode Community 6.1? Message-ID: On Mon, 8 Jul 2013 13:20:30 +1000, Monte Goulding wrote: > >On 08/07/2013, at 1:08 PM, Richard Gaskin wrote: > >> RunRev has a long history of forgetting to include the AppleScript disctionary resource into new builds. I'm not sure why this hasn't been automated, but it's happened before, and if you drop them a note they'll be able to fix it for next time. For now, just copy the resource from an earlier build into the new one and then it'll be able to respond to the "eval" and "dosc" events as before. > >Yes it's probably been missed from the automated build process. If there isn't one open already then you (not you necessarily Richard...) should open a bug report on this... > I just opened a bug report. But in the meantime I peeked into the app bundles for 6.0 and 6.1. Where will I find this resource to copy? Or do I need to build it myself? I don't want to go to any trouble, so I'll use 6.0 until this is fixed, if this is not a drag and drop operation. From selander at tkf.att.ne.jp Mon Jul 8 11:03:24 2013 From: selander at tkf.att.ne.jp (Tim Selander) Date: Tue, 09 Jul 2013 00:03:24 +0900 Subject: Getting URL of a shoutcast server.... In-Reply-To: References: <51DAD283.3040300@tkf.att.ne.jp> Message-ID: <51DAD4BC.1050807@tkf.att.ne.jp> Not for the basic page. If I want to get at the statistics on the admin page, (which eventually I'd like to do), I would need to send a user name and password. But first I tried to simply get the public page.... and failed. Thanks, Tim On 7/9/13 12:00 AM, Andrew Kluthe wrote: > Your url doesn't require any authentication does it? > > > On Mon, Jul 8, 2013 at 9:53 AM, Tim Selander wrote: > >> Hi, >> >> I have a little shoutcast radio station, and wanted to play around with >> the data that shows up on the html page. >> >> LC is not successfully getting the URL. It gets other URL/pages for me >> just fine, but not the shoutcast page. The shoutcast URL is followed by a >> port number. Is that what is throwing it off? >> >> I have a field called data. >> >> get URL"http://livecode.com/" >> put it into fld data >> >> works as expected, but >> get URL"http://stream-11.**streamsolutions.co.uk:9428 >> " >> put it into fld data >> >> returns no data. "it" is empty. >> >> Any clues why? I'm just looking to get the text from the page, not the >> audio stream. >> >> TIA >> >> Tim Selander >> Tokyo, Japan >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > > From andrew at ctech.me Mon Jul 8 11:05:06 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Mon, 8 Jul 2013 10:05:06 -0500 Subject: LiveCode and WebSockets Message-ID: I have been learning a little bit about websockets lately for a project and I have never really played around with livecode's socket communication methods. This makes me curious. Is there anyone else on the list that might be more familiar with both that would be interested in discussing using something like socket.io as part of a backend for livecode desktop applications? -- Regards, Andrew Kluthe andrew at ctech.me From m.schonewille at economy-x-talk.com Mon Jul 8 11:12:19 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 08 Jul 2013 17:12:19 +0200 Subject: Getting URL of a shoutcast server.... In-Reply-To: <51DAD4BC.1050807@tkf.att.ne.jp> References: <51DAD283.3040300@tkf.att.ne.jp> <51DAD4BC.1050807@tkf.att.ne.jp> Message-ID: <51DAD6D3.7080300@economy-x-talk.com> Hi Tim, Check the result. The result says: "error No header received". I don't know if this means that LiveCode decided not to handle the data or that no data is received or that the server expected a header and doesn't get any from LiveCode and hence doesn't send data. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 7/8/2013 17:03, Tim Selander wrote: > Not for the basic page. If I want to get at the statistics on the admin > page, (which eventually I'd like to do), I would need to send a user > name and password. > > But first I tried to simply get the public page.... and failed. > > Thanks, > > Tim > From ambassador at fourthworld.com Mon Jul 8 11:17:45 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 08 Jul 2013 08:17:45 -0700 Subject: What happened to Applescript in LiveCode Community 6.1? In-Reply-To: References: Message-ID: <51DAD819.5010905@fourthworld.com> Emmett Gray wrote: > I just opened a bug report. But in the meantime I peeked into the app > bundles for 6.0 and 6.1. Where will I find this resource to copy? Or > do I need to build it myself? I don't want to go to any trouble, so > I'll use 6.0 until this is fixed, if this is not a drag and drop > operation. I believe the file you're looking for is: ./LiveCode 6.0.2.app/Contents/Resources/LiveCode.rsrc -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From andrew at ctech.me Mon Jul 8 11:28:08 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Mon, 8 Jul 2013 10:28:08 -0500 Subject: Getting URL of a shoutcast server.... In-Reply-To: <51DAD6D3.7080300@economy-x-talk.com> References: <51DAD283.3040300@tkf.att.ne.jp> <51DAD4BC.1050807@tkf.att.ne.jp> <51DAD6D3.7080300@economy-x-talk.com> Message-ID: 1. Request URL: http://stream-11.streamsolutions.co.uk:9428/ 2. Request Method: GET 3. Status Code: 200 OK 4. Request Headersview source 1. Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 2. Accept-Encoding: gzip,deflate,sdch 3. Accept-Language: en-US,en;q=0.8 4. Cache-Control: max-age=0 5. Connection: keep-alive 6. Host: stream-11.streamsolutions.co.uk:9428 7. User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36 5. Response Headersview source 1. content-type: text/html 2. Header info from chrome. On Mon, Jul 8, 2013 at 10:12 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Tim, > > Check the result. The result says: "error No header received". I don't > know if this means that LiveCode decided not to handle the data or that no > data is received or that the server expected a header and doesn't get any > from LiveCode and hence doesn't send data. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/**xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour > spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > Fill out this survey please > http://livecodebeginner.**economy-x-talk.com/survey/ > > > On 7/8/2013 17:03, Tim Selander wrote: > >> Not for the basic page. If I want to get at the statistics on the admin >> page, (which eventually I'd like to do), I would need to send a user >> name and password. >> >> But first I tried to simply get the public page.... and failed. >> >> Thanks, >> >> Tim >> >> > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From andrew at ctech.me Mon Jul 8 11:43:01 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Mon, 8 Jul 2013 10:43:01 -0500 Subject: Getting URL of a shoutcast server.... In-Reply-To: References: <51DAD283.3040300@tkf.att.ne.jp> <51DAD4BC.1050807@tkf.att.ne.jp> <51DAD6D3.7080300@economy-x-talk.com> Message-ID: What does livecode's user-agent read as by default? Is it possible that the shoutcast server is not recognizing the user agent livecode presents and therefore not sending data? on mouseUp libURLSetCustomHTTPHeaders "GET / HTTP/1.1" & cr &"User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36" put URL"http://stream-11.streamsolutions.co.uk:9428/" into sUrl answer sUrl end mouseUp produces the expected results for me. On Mon, Jul 8, 2013 at 10:28 AM, Andrew Kluthe wrote: > > 1. Request URL: > http://stream-11.streamsolutions.co.uk:9428/ > 2. Request Method: > GET > 3. Status Code: > 200 OK > 4. Request Headersview source > 1. Accept: > text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 > 2. Accept-Encoding: > gzip,deflate,sdch > 3. Accept-Language: > en-US,en;q=0.8 > 4. Cache-Control: > max-age=0 > 5. Connection: > keep-alive > 6. Host: > stream-11.streamsolutions.co.uk:9428 > 7. User-Agent: > Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) > Chrome/27.0.1453.116 Safari/537.36 > 5. Response Headersview source > 1. content-type: > text/html > 2. > > > > Header info from chrome. > > > On Mon, Jul 8, 2013 at 10:12 AM, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > >> Hi Tim, >> >> Check the result. The result says: "error No header received". I don't >> know if this means that LiveCode decided not to handle the data or that no >> data is received or that the server expected a header and doesn't get any >> from LiveCode and hence doesn't send data. >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/**xtalkprogrammer >> KvK: 50277553 >> >> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other >> colour spaces. http://www.color-converter.com >> >> Buy my new book "Programming LiveCode for the Real Beginner" >> http://qery.us/3fi >> >> Fill out this survey please >> http://livecodebeginner.**economy-x-talk.com/survey/ >> >> >> On 7/8/2013 17:03, Tim Selander wrote: >> >>> Not for the basic page. If I want to get at the statistics on the admin >>> page, (which eventually I'd like to do), I would need to send a user >>> name and password. >>> >>> But first I tried to simply get the public page.... and failed. >>> >>> Thanks, >>> >>> Tim >>> >>> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me > -- Regards, Andrew Kluthe andrew at ctech.me From m.schonewille at economy-x-talk.com Mon Jul 8 12:19:09 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 08 Jul 2013 18:19:09 +0200 Subject: Getting URL of a shoutcast server.... In-Reply-To: References: <51DAD283.3040300@tkf.att.ne.jp> <51DAD4BC.1050807@tkf.att.ne.jp> <51DAD6D3.7080300@economy-x-talk.com> Message-ID: <51DAE67D.1090607@economy-x-talk.com> Hi Andrew, That must be it. The httpHeaders (or libUrlCustomHttpHeaders) are empty by default. However, if I check the user agent by connecting to a PHP script on my server, the server says the agent is "Revolution (MacOS)" or "LiveCode (MacOS)", even though the httpHeaders are empty. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 7/8/2013 17:43, Andrew Kluthe wrote: > What does livecode's user-agent read as by default? Is it possible that the > shoutcast server is not recognizing the user agent livecode presents and > therefore not sending data? > > on mouseUp > libURLSetCustomHTTPHeaders "GET / HTTP/1.1" & cr &"User-Agent: > Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) > Chrome/27.0.1453.116 Safari/537.36" > put URL"http://stream-11.streamsolutions.co.uk:9428/" into sUrl > answer sUrl > end mouseUp > > produces the expected results for me. > From m_p_wilcox at yahoo.co.uk Mon Jul 8 12:19:35 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Mon, 8 Jul 2013 17:19:35 +0100 (BST) Subject: LiveCode and WebSockets In-Reply-To: References: Message-ID: <1373300375.72990.YahooMailNeo@web28805.mail.ir2.yahoo.com> I'm interested in using something like socket.io as part of a backend for mobile (and maybe also desktop) apps. ?However, we don't have proper sockets support on mobile (without externals at least) and websockets are very definitely not the same thing as standard sockets. What do you have in mind? ?I'm certainly interested in discussing it. Mark ________________________________ From: Andrew Kluthe To: How to use LiveCode Sent: Monday, 8 July 2013, 16:05 Subject: LiveCode and WebSockets I have been learning a little bit about websockets lately for a project and I have never really played around with livecode's socket communication methods. This makes me curious. Is there anyone else on the list that might be more familiar with both that would be interested in discussing using something like socket.io as part of a backend for livecode desktop applications? -- 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 scott at tactilemedia.com Mon Jul 8 12:49:22 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 8 Jul 2013 09:49:22 -0700 Subject: FranklinAudio in Standalone? In-Reply-To: <23265AA1-3DFD-4B18-A239-233AAD7B3051@major-k.de> References: <23265AA1-3DFD-4B18-A239-233AAD7B3051@major-k.de> Message-ID: Thanks Klaus. The external is getting copied over as expected, and I've tried manually setting the externals property of the stack with the bundle name of the external. But I think I'm still missing something. What does your external loading routine look like? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX Design On Jul 8, 2013, at 7:32 AM, Klaus major-k wrote: > Hi Scott, > > Am 08.07.2013 um 13:30 schrieb Scott Rossi : > >> Anyone been able to get the FranklinAudio audio external working in a Mac >> standalone? >> >> I have FranklinAudio working fine in the LC IDE, but when I launch a >> standalone that includes the external, I get an error while trying to >> initialize the external. I ran into the same trouble on Windows, and was >> able to get things working with the developer's help, but he is on >> vacation at the moment, and I'm trying to get an app update out the door. >> >> Thanks for any insight anyone can offer. > > I have the experience that the standalone builder lets you selects your (non Rev!) > external in the list of libs, but does NOT include/copy them into the finale app bundle! > > This still happens with e.g. the "Enhanced QuickTime external.bundle". > Maybe this is also the case for the FranklinAudio external? > > That's why i still load all externals manually "on startup" like in the good ol' MetaCard days ;-) > >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sc at sahores-conseil.com Mon Jul 8 12:54:02 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Mon, 8 Jul 2013 18:54:02 +0200 Subject: LiveCode and WebSockets In-Reply-To: <1373300375.72990.YahooMailNeo@web28805.mail.ir2.yahoo.com> References: <1373300375.72990.YahooMailNeo@web28805.mail.ir2.yahoo.com> Message-ID: The HTTP(S) REST architecture is full supported on any LC desktop or mobile platform, iOS and Android included. They can be set to act as clients of any kind of nTier server side application (LC-Server, PHP, RoR, etc...). Le 8 juil. 2013 ? 18:19, Mark Wilcox a ?crit : > I'm interested in using something like socket.io as part of a backend for mobile (and maybe also desktop) apps. However, we don't have proper sockets support on mobile (without externals at least) and websockets are very definitely not the same thing as standard sockets. > > What do you have in mind? I'm certainly interested in discussing it. > > Mark > > > ________________________________ > From: Andrew Kluthe > To: How to use LiveCode > Sent: Monday, 8 July 2013, 16:05 > Subject: LiveCode and WebSockets > > > I have been learning a little bit about websockets lately for a project and > I have never really played around with livecode's socket communication > methods. This makes me curious. > > Is there anyone else on the list that might be more familiar with both that > would be interested in discussing using something like socket.io as part of > a backend for livecode desktop applications? > > > -- > 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 > _______________________________________________ > use-livecode mailing list > use-livecode 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 liste.revo at medard.on-rev.com Mon Jul 8 13:01:24 2013 From: liste.revo at medard.on-rev.com (Medard) Date: Mon, 8 Jul 2013 19:01:24 +0200 Subject: On-Rev Desktop App not working (Mac) Message-ID: <1l5pdw8.1cun2gd1tirz28M%liste.revo@medard.on-rev.com> Hi! After a (long) while, I tried to go with the On-Rev Desktop App.. The App seems to be locked at the login in... Is this related to the server change? I had a look into the App, but there is nowhere to change the website... From andrew at ctech.me Mon Jul 8 13:26:59 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Mon, 8 Jul 2013 12:26:59 -0500 Subject: Getting URL of a shoutcast server.... In-Reply-To: <51DAE67D.1090607@economy-x-talk.com> References: <51DAD283.3040300@tkf.att.ne.jp> <51DAD4BC.1050807@tkf.att.ne.jp> <51DAD6D3.7080300@economy-x-talk.com> <51DAE67D.1090607@economy-x-talk.com> Message-ID: So basically you just need to trick it into recognizing your user agent it seems. As far as getting into the authorized parts of your site, libURLSetCustomHTTPHeaders "GET / HTTP/1.1" & cr & "Authorization: Basic " & base64Encode("username:password") & cr &"User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36" should do the trick. This sets the basic auth that shoutcast servers use to a base64encoded string of your username and password for the authorized parts of your shoutcast server. You might have the jiggle the handle a little bit with the headers in case they are checking the Referer or something. Here is a full header info of the unauthorized request I made to your admin page. Request URL:http://stream-11.streamsolutions.co.uk:9428/admin.cgi Request Method:GET Status Code:401 Unauthorized Request Headers GET /admin.cgi HTTP/1.1 Host: stream-11.streamsolutions.co.uk:9428 Connection: keep-alive Cache-Control: max-age=0 Authorization: Basic dGVzdDp0ZXN0 <----- this here is just the string test:test base64encod'd Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36 Referer: http://stream-11.streamsolutions.co.uk:9428/ Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Response Headers HTTP/1.0 401 Unauthorized Server: Shoutcast DNAS WWW-authenticate: basic realm="Shoutcast Server" Content-type: text/html On Mon, Jul 8, 2013 at 11:19 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Andrew, > > That must be it. The httpHeaders (or libUrlCustomHttpHeaders) are empty by > default. However, if I check the user agent by connecting to a PHP script > on my server, the server says the agent is "Revolution (MacOS)" or > "LiveCode (MacOS)", even though the httpHeaders are empty. > > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/**xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour > spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > Fill out this survey please > http://livecodebeginner.**economy-x-talk.com/survey/ > > On 7/8/2013 17:43, Andrew Kluthe wrote: > >> What does livecode's user-agent read as by default? Is it possible that >> the >> shoutcast server is not recognizing the user agent livecode presents and >> therefore not sending data? >> >> on mouseUp >> libURLSetCustomHTTPHeaders "GET / HTTP/1.1" & cr &"User-Agent: >> Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) >> Chrome/27.0.1453.116 Safari/537.36" >> put URL"http://stream-11.**streamsolutions.co.uk:9428/" >> into sUrl >> answer sUrl >> end mouseUp >> >> produces the expected results for 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 > -- Regards, Andrew Kluthe andrew at ctech.me From m_p_wilcox at yahoo.co.uk Mon Jul 8 14:35:01 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Mon, 08 Jul 2013 19:35:01 +0100 Subject: LiveCode and WebSockets Message-ID: We know, I'm interested in websockets for realtime comms between apps. Right now I think it'd be possible to implement one or more of the supported transports for socket.io in pure LiveCode but maybe not very efficiently. An alternative would be to wrap existing native implementations as externals. I've not looked into it in any great depth as I'm basically waiting for the engine refactoring to be completed before trying to hook new stuff in. Pierre Sahores wrote: >The HTTP(S) REST architecture is full supported on any LC desktop or mobile platform, iOS and Android included. They can be set to act as clients of any kind of nTier server side application (LC-Server, PHP, RoR, etc...). > >Le 8 juil. 2013 ? 18:19, Mark Wilcox a ?crit : > >> I'm interested in using something like socket.io as part of a backend for mobile (and maybe also desktop) apps. However, we don't have proper sockets support on mobile (without externals at least) and websockets are very definitely not the same thing as standard sockets. >> >> What do you have in mind? I'm certainly interested in discussing it. >> >> Mark >> >> >> ________________________________ >> From: Andrew Kluthe >> To: How to use LiveCode >> Sent: Monday, 8 July 2013, 16:05 >> Subject: LiveCode and WebSockets >> >> >> I have been learning a little bit about websockets lately for a project and >> I have never really played around with livecode's socket communication >> methods. This makes me curious. >> >> Is there anyone else on the list that might be more familiar with both that >> would be interested in discussing using something like socket.io as part of >> a backend for livecode desktop applications? >> >> >> -- >> 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 >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 matthias_livecode_150811 at m-r-d.de Mon Jul 8 14:42:46 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 8 Jul 2013 20:42:46 +0200 Subject: On-Rev Desktop App not working (Mac) In-Reply-To: <1l5pdw8.1cun2gd1tirz28M%liste.revo@medard.on-rev.com> References: <1l5pdw8.1cun2gd1tirz28M%liste.revo@medard.on-rev.com> Message-ID: <4F37D1E8-A67A-4A6F-B99B-1DADC9AA3E4C@m-r-d.de> Hi Medard, if your account was moved to or is on one of the new servers like tio or pancake then the on-rev client will not work at the moment. There is still some hope Runrev will fix this. At least David Williams from Runrev told me that he has access to the source code of the client and that he will have a look at it if time allows. I for myself am doing coding/ftp now with Coda2 and Transmit under Mac OSX. This works very smooth. But i would prefer to use on-rev client again, especially because of its debugging features. Regards, Matthias Am 08.07.2013 um 19:01 schrieb Medard : > Hi! > > After a (long) while, I tried to go with the On-Rev Desktop App.. > > The App seems to be locked at the login in... > > Is this related to the server change? > > I had a look into the App, but there is nowhere to change the website... > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andrew at ctech.me Mon Jul 8 14:51:49 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Mon, 8 Jul 2013 13:51:49 -0500 Subject: LiveCode and WebSockets In-Reply-To: References: Message-ID: >>However, we don't have proper sockets support on mobile (without externals at least) I am mainly interested in desktop apps at the moment simply because we are doing most of our mobile apps as mobile web apps. However, this will change likely in the next few years if we were to see sockets and UI (resolution independence, etc) improvements on mobile. >>and websockets are very definitely not the same thing as standard sockets. I am having a hard time just finding straight forward info on the lower level websocket information. As of right now all the information I am finding is how to use websockets within this framework or that framework and nothing really about the differences between websockets and standard sockets. Also, socket programming in general (and in livecode) is new to me because up until now I have wrote most of my applications using http interfaces. Not having a non-blocking http client is really getting in the way of some of the things I want to do with livecode and I really would like realtime notifications, broadcasting, etc. Would you care to discuss the difference between websockets and the sockets we work with in livecode or point me to some basic information on the websocket implementation you think we could implement in pure livecode? What things would keep it from working very efficiently? Thanks for taking the time to respond, Andrew On Mon, Jul 8, 2013 at 1:35 PM, Mark Wilcox wrote: > We know, I'm interested in websockets for realtime comms between apps. > Right now I think it'd be possible to implement one or more of the > supported transports for socket.io in pure LiveCode but maybe not very > efficiently. An alternative would be to wrap existing native > implementations as externals. I've not looked into it in any great depth as > I'm basically waiting for the engine refactoring to be completed before > trying to hook new stuff in. > > Pierre Sahores wrote: > > >The HTTP(S) REST architecture is full supported on any LC desktop or > mobile platform, iOS and Android included. They can be set to act as > clients of any kind of nTier server side application (LC-Server, PHP, RoR, > etc...). > > > >Le 8 juil. 2013 ? 18:19, Mark Wilcox a ?crit : > > > >> I'm interested in using something like socket.io as part of a backend > for mobile (and maybe also desktop) apps. However, we don't have proper > sockets support on mobile (without externals at least) and websockets are > very definitely not the same thing as standard sockets. > >> > >> What do you have in mind? I'm certainly interested in discussing it. > >> > >> Mark > >> > >> > >> ________________________________ > >> From: Andrew Kluthe > >> To: How to use LiveCode > >> Sent: Monday, 8 July 2013, 16:05 > >> Subject: LiveCode and WebSockets > >> > >> > >> I have been learning a little bit about websockets lately for a project > and > >> I have never really played around with livecode's socket communication > >> methods. This makes me curious. > >> > >> Is there anyone else on the list that might be more familiar with both > that > >> would be interested in discussing using something like socket.io as > part of > >> a backend for livecode desktop applications? > >> > >> > >> -- > >> 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 > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > >-- > >Pierre Sahores > >mobile : 06 03 95 77 70 > >www.sahores-conseil.com > > > > > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From klaus at major-k.de Mon Jul 8 15:55:29 2013 From: klaus at major-k.de (Klaus major-k) Date: Mon, 8 Jul 2013 21:55:29 +0200 Subject: FranklinAudio in Standalone? In-Reply-To: References: <23265AA1-3DFD-4B18-A239-233AAD7B3051@major-k.de> Message-ID: <285A8E04-339F-4639-A78C-E3DE274B4B37@major-k.de> Hi Scott, Am 08.07.2013 um 18:49 schrieb Scott Rossi : > Thanks Klaus. The external is getting copied over as expected, and I've tried manually setting the externals property of the stack with the bundle name of the external. But I think I'm still missing something. What does your external loading routine look like? I put ALL externals (also revdb.xxx and all other db drivers, no subfolder!) into a folder "Externals". Then I do this on startup: on startup put the effective filename of stack "The MAIN stack" into tFile set itemdel to "/" put "Externals" into item -1 of tFolder put the folder into oldfolder set the folder to tFolder if the platform = "MacOS" then put the folders into tEx filter tEX with "*.bundle" else put the files into tEx filter tEx with "*,dll" end if repeat for each line i in tEx put tFolder & "/" & i & CR after tEXList end repeat delete char -1 of tEXList set the externals of stack "The MAIN stack" to tEXList start using stack "The MAIN stack" set the folder to oldfolder end startup > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From matthias_livecode_150811 at m-r-d.de Mon Jul 8 16:09:22 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 8 Jul 2013 22:09:22 +0200 Subject: FranklinAudio in Standalone? In-Reply-To: <285A8E04-339F-4639-A78C-E3DE274B4B37@major-k.de> References: <23265AA1-3DFD-4B18-A239-233AAD7B3051@major-k.de> <285A8E04-339F-4639-A78C-E3DE274B4B37@major-k.de> Message-ID: <9DCF3E45-8742-4F2E-8202-E8179A4B1040@m-r-d.de> Hi Klaus, shouldn?t it be tFolder instead of tFile in line 2 of your script? Regards, Matthias Am 08.07.2013 um 21:55 schrieb Klaus major-k : > Hi Scott, > > Am 08.07.2013 um 18:49 schrieb Scott Rossi : > >> Thanks Klaus. The external is getting copied over as expected, and I've tried manually setting the externals property of the stack with the bundle name of the external. But I think I'm still missing something. What does your external loading routine look like? > > I put ALL externals (also revdb.xxx and all other db drivers, no subfolder!) into a folder "Externals". > Then I do this on startup: > > on startup > put the effective filename of stack "The MAIN stack" into tFile > set itemdel to "/" > put "Externals" into item -1 of tFolder > put the folder into oldfolder > set the folder to tFolder > if the platform = "MacOS" then > put the folders into tEx > filter tEX with "*.bundle" > else > put the files into tEx > filter tEx with "*,dll" > end if > > repeat for each line i in tEx > put tFolder & "/" & i & CR after tEXList > end repeat > > delete char -1 of tEXList > set the externals of stack "The MAIN stack" to tEXList > start using stack "The MAIN stack" > set the folder to oldfolder > end startup > >> Thanks & Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Mon Jul 8 16:55:27 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 8 Jul 2013 16:55:27 -0400 Subject: LiveCode and WebSockets In-Reply-To: References: Message-ID: FYI, there is a mobile sockets plugin being developed by Monte at the moment. The first beta has been in our hands for a couple of weeks. Sockets are fun, and very involved. You are the one implementing the protocols. Sometimes that's exactly what you need, and other times, it's extra work you weren't planning on. I think one of the things you will run into is that we do not have a good way to launch and manage secondary processes, yet. You might be better off to have your socket goodies running in livecode server, or in a separate instance of LC so that you have an easier time keeping all the communication, etc. straight. On Mon, Jul 8, 2013 at 2:51 PM, Andrew Kluthe wrote: > >>However, we don't have proper sockets support on mobile (without > externals at least) > > I am mainly interested in desktop apps at the moment simply because we are > doing most of our mobile apps as mobile web apps. > > However, this will change likely in the next few years if we were to see > sockets and UI (resolution independence, etc) improvements on mobile. > > > >>and websockets are very definitely not the same thing as standard > sockets. > > I am having a hard time just finding straight forward info on the lower > level websocket information. As of right now all the information I am > finding is how to use websockets within this framework or that framework > and nothing really about the differences between websockets and standard > sockets. > > Also, socket programming in general (and in livecode) is new to me because > up until now I have wrote most of my applications using http interfaces. > Not having a non-blocking http client is really getting in the way of some > of the things I want to do with livecode and I really would like realtime > notifications, broadcasting, etc. > > Would you care to discuss the difference between websockets and the sockets > we work with in livecode or point me to some basic information on the > websocket implementation you think we could implement in pure livecode? > What things would keep it from working very efficiently? > > Thanks for taking the time to respond, > > Andrew > > > On Mon, Jul 8, 2013 at 1:35 PM, Mark Wilcox > wrote: > > > We know, I'm interested in websockets for realtime comms between apps. > > Right now I think it'd be possible to implement one or more of the > > supported transports for socket.io in pure LiveCode but maybe not very > > efficiently. An alternative would be to wrap existing native > > implementations as externals. I've not looked into it in any great depth > as > > I'm basically waiting for the engine refactoring to be completed before > > trying to hook new stuff in. > > > > Pierre Sahores wrote: > > > > >The HTTP(S) REST architecture is full supported on any LC desktop or > > mobile platform, iOS and Android included. They can be set to act as > > clients of any kind of nTier server side application (LC-Server, PHP, > RoR, > > etc...). > > > > > >Le 8 juil. 2013 ? 18:19, Mark Wilcox a ?crit : > > > > > >> I'm interested in using something like socket.io as part of a backend > > for mobile (and maybe also desktop) apps. However, we don't have proper > > sockets support on mobile (without externals at least) and websockets are > > very definitely not the same thing as standard sockets. > > >> > > >> What do you have in mind? I'm certainly interested in discussing it. > > >> > > >> Mark > > >> > > >> > > >> ________________________________ > > >> From: Andrew Kluthe > > >> To: How to use LiveCode > > >> Sent: Monday, 8 July 2013, 16:05 > > >> Subject: LiveCode and WebSockets > > >> > > >> > > >> I have been learning a little bit about websockets lately for a > project > > and > > >> I have never really played around with livecode's socket communication > > >> methods. This makes me curious. > > >> > > >> Is there anyone else on the list that might be more familiar with both > > that > > >> would be interested in discussing using something like socket.io as > > part of > > >> a backend for livecode desktop applications? > > >> > > >> > > >> -- > > >> 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 > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > >-- > > >Pierre Sahores > > >mobile : 06 03 95 77 70 > > >www.sahores-conseil.com > > > > > > > > >_______________________________________________ > > >use-livecode mailing list > > >use-livecode at lists.runrev.com > > >Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > >http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > 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 > -- 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 klaus at major-k.de Mon Jul 8 17:37:31 2013 From: klaus at major-k.de (Klaus major-k) Date: Mon, 8 Jul 2013 23:37:31 +0200 Subject: FranklinAudio in Standalone? In-Reply-To: <9DCF3E45-8742-4F2E-8202-E8179A4B1040@m-r-d.de> References: <23265AA1-3DFD-4B18-A239-233AAD7B3051@major-k.de> <285A8E04-339F-4639-A78C-E3DE274B4B37@major-k.de> <9DCF3E45-8742-4F2E-8202-E8179A4B1040@m-r-d.de> Message-ID: Hi Matthias, Am 08.07.2013 um 22:09 schrieb Matthias Rebbe : > Hi Klaus, > > shouldn?t it be tFolder instead of tFile in line 2 of your script? Yes, sure, sorry :-) > Regards, > > Matthias > Am 08.07.2013 um 21:55 schrieb Klaus major-k : > >> Hi Scott, >> >> Am 08.07.2013 um 18:49 schrieb Scott Rossi : >> >>> Thanks Klaus. The external is getting copied over as expected, and I've tried manually setting the externals property of the stack with the bundle name of the external. But I think I'm still missing something. What does your external loading routine look like? >> >> I put ALL externals (also revdb.xxx and all other db drivers, no subfolder!) into a folder "Externals". >> Then I do this on startup: >> >> on startup put the effective filename of stack "The MAIN stack" into tFolder >> set itemdel to "/" >> put "Externals" into item -1 of tFolder >> put the folder into oldfolder >> set the folder to tFolder >> if the platform = "MacOS" then >> put the folders into tEx >> filter tEX with "*.bundle" >> else >> put the files into tEx >> filter tEx with "*,dll" >> end if >> >> repeat for each line i in tEx >> put tFolder & "/" & i & CR after tEXList >> end repeat >> >> delete char -1 of tEXList >> set the externals of stack "The MAIN stack" to tEXList >> start using stack "The MAIN stack" >> set the folder to oldfolder >> end startup Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From mcgrath3 at mac.com Mon Jul 8 18:12:47 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 08 Jul 2013 18:12:47 -0400 Subject: BrainDead on Groups Message-ID: <80453D4B-14BC-44AC-8497-C355BA93D984@mac.com> I always seem to get messed up when working with groups. I have a group with groups in it and subgroups in those groups like this: MainGroup Index1 SubGroup1 SubGroup2 Index2 SubGroup1 SubGroup2 Index3 SubGroup1 SubGroup2 Index4 SubGroup1 SubGroup2 Index5 SubGroup1 SubGroup2 I am trying to get the number of groups in group "MainGroup" but I am getting all sub groups as well. put the number of groups of group "MainGroup" into tGroups gives me 15 groups instead of 5 like I would like. What I would like to do is delete group "Index3" and then rename the the rest so that they are in order again. I was planning on using a repeat loop on the number of groups: repeat with x = 1 to the number of groups of group "MainGroup" set the name of group x of group "MainGroup" to ("Index" & x) end repeat Then when I want to add a group I can just clone the first group and rename it. I would like to name it 1 + the number of groups like: clone group "Index1" of group "MainGroup" set the name of it to ("Index" & (the number of groups of group "MainGroup" + 1)) The problem is that because some of the groups have groups in them I am not getting the right number back from using "the number of". Help?! Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From monte at sweattechnologies.com Mon Jul 8 18:33:36 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 9 Jul 2013 08:33:36 +1000 Subject: BrainDead on Groups In-Reply-To: <80453D4B-14BC-44AC-8497-C355BA93D984@mac.com> References: <80453D4B-14BC-44AC-8497-C355BA93D984@mac.com> Message-ID: <3F7F85F5-B6AD-4CA7-9E84-2EA9A45F6E2D@sweattechnologies.com> On 09/07/2013, at 8:12 AM, Thomas McGrath III wrote: > put the number of groups of group "MainGroup" into tGroups If you are using LC 6.1 you can iterate the childControlIDs of group "MainGroup" -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From dunbarx at aol.com Mon Jul 8 19:02:26 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 8 Jul 2013 19:02:26 -0400 (EDT) Subject: BrainDead on Groups In-Reply-To: <3F7F85F5-B6AD-4CA7-9E84-2EA9A45F6E2D@sweattechnologies.com> References: <80453D4B-14BC-44AC-8497-C355BA93D984@mac.com> <3F7F85F5-B6AD-4CA7-9E84-2EA9A45F6E2D@sweattechnologies.com> Message-ID: <8D04A4658D9C59D-1BF4-A00D0@webmail-m287.sysops.aol.com> Good to know about the new childControlId. But you might also loop through all groups, and if the owner is "maingroup", then you can get the info you need. Craig Newman -----Original Message----- From: Monte Goulding To: How to use LiveCode Sent: Mon, Jul 8, 2013 6:34 pm Subject: Re: BrainDead on Groups On 09/07/2013, at 8:12 AM, Thomas McGrath III wrote: > put the number of groups of group "MainGroup" into tGroups If you are using LC 6.1 you can iterate the childControlIDs of group "MainGroup" -- 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 Mon Jul 8 19:03:33 2013 From: scott at elementarysoftware.com (Scott Morrow) Date: Mon, 8 Jul 2013 16:03:33 -0700 Subject: On-Rev Desktop App not working (Mac) In-Reply-To: <4F37D1E8-A67A-4A6F-B99B-1DADC9AA3E4C@m-r-d.de> References: <1l5pdw8.1cun2gd1tirz28M%liste.revo@medard.on-rev.com> <4F37D1E8-A67A-4A6F-B99B-1DADC9AA3E4C@m-r-d.de> Message-ID: <76BF0E60-17A4-4912-BFB0-1884C7C46EF4@elementarysoftware.com> I just had the same conversation with David Williams about the On-Rev desktop client not working for me (I was moved from loki to pancake). Even as flawed as it was, the On-Rev desktop client still had some wonderful abilities and I'm hoping someone is able to resurrect it. -- Scott Morrow On Jul 8, 2013, at 11:42 AM, Matthias Rebbe wrote: > Hi Medard, > > if your account was moved to or is on one of the new servers like tio or pancake then the on-rev client will not work at the moment. > > There is still some hope Runrev will fix this. At least David Williams from Runrev told me that he has access to the source code > of the client and that he will have a look at it if time allows. > > I for myself am doing coding/ftp now with Coda2 and Transmit under Mac OSX. This works very smooth. But > i would prefer to use on-rev client again, especially because of its debugging features. > > Regards, > > Matthias > > > > Am 08.07.2013 um 19:01 schrieb Medard : > >> Hi! >> >> After a (long) while, I tried to go with the On-Rev Desktop App.. >> >> The App seems to be locked at the login in... >> >> Is this related to the server change? >> >> I had a look into the App, but there is nowhere to change the website... >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Jul 8 19:25:17 2013 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 08 Jul 2013 16:25:17 -0700 Subject: LiveCode and WebSockets In-Reply-To: References: Message-ID: <51DB4A5D.3040000@pdslabs.net> On 7/8/13 11:51 AM, Andrew Kluthe wrote: >>> However, we don't have proper sockets support on mobile (without > externals at least) > > I am mainly interested in desktop apps at the moment simply because we are > doing most of our mobile apps as mobile web apps. > > However, this will change likely in the next few years if we were to see > sockets and UI (resolution independence, etc) improvements on mobile. > > >>> and websockets are very definitely not the same thing as standard sockets. > I am having a hard time just finding straight forward info on the lower > level websocket information. As of right now all the information I am > finding is how to use websockets within this framework or that framework > and nothing really about the differences between websockets and standard > sockets. Hi Andrew, Maybe this will help some: http://en.wikipedia.org/wiki/WebSocket Phil Davis > > Also, socket programming in general (and in livecode) is new to me because > up until now I have wrote most of my applications using http interfaces. > Not having a non-blocking http client is really getting in the way of some > of the things I want to do with livecode and I really would like realtime > notifications, broadcasting, etc. > > Would you care to discuss the difference between websockets and the sockets > we work with in livecode or point me to some basic information on the > websocket implementation you think we could implement in pure livecode? > What things would keep it from working very efficiently? > > Thanks for taking the time to respond, > > Andrew > > > On Mon, Jul 8, 2013 at 1:35 PM, Mark Wilcox wrote: > >> We know, I'm interested in websockets for realtime comms between apps. >> Right now I think it'd be possible to implement one or more of the >> supported transports for socket.io in pure LiveCode but maybe not very >> efficiently. An alternative would be to wrap existing native >> implementations as externals. I've not looked into it in any great depth as >> I'm basically waiting for the engine refactoring to be completed before >> trying to hook new stuff in. >> >> Pierre Sahores wrote: >> >>> The HTTP(S) REST architecture is full supported on any LC desktop or >> mobile platform, iOS and Android included. They can be set to act as >> clients of any kind of nTier server side application (LC-Server, PHP, RoR, >> etc...). >>> Le 8 juil. 2013 ? 18:19, Mark Wilcox a ?crit : >>> >>>> I'm interested in using something like socket.io as part of a backend >> for mobile (and maybe also desktop) apps. However, we don't have proper >> sockets support on mobile (without externals at least) and websockets are >> very definitely not the same thing as standard sockets. >>>> What do you have in mind? I'm certainly interested in discussing it. >>>> >>>> Mark >>>> >>>> >>>> ________________________________ >>>> From: Andrew Kluthe >>>> To: How to use LiveCode >>>> Sent: Monday, 8 July 2013, 16:05 >>>> Subject: LiveCode and WebSockets >>>> >>>> >>>> I have been learning a little bit about websockets lately for a project >> and >>>> I have never really played around with livecode's socket communication >>>> methods. This makes me curious. >>>> >>>> Is there anyone else on the list that might be more familiar with both >> that >>>> would be interested in discussing using something like socket.io as >> part of >>>> a backend for livecode desktop applications? >>>> >>>> >>>> -- >>>> 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 >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> -- >>> Pierre Sahores >>> mobile : 06 03 95 77 70 >>> www.sahores-conseil.com >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > -- Phil Davis From pete at lcsql.com Mon Jul 8 19:25:46 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 8 Jul 2013 16:25:46 -0700 Subject: BrainDead on Groups In-Reply-To: <80453D4B-14BC-44AC-8497-C355BA93D984@mac.com> References: <80453D4B-14BC-44AC-8497-C355BA93D984@mac.com> Message-ID: Hi Tom, I guess you could check the owner of the group within your repeat loop and ignore any whose owner is not "Main Group". Pete lcSQL Software On Mon, Jul 8, 2013 at 3:12 PM, Thomas McGrath III wrote: > I always seem to get messed up when working with groups. > > I have a group with groups in it and subgroups in those groups like this: > > MainGroup > Index1 > SubGroup1 > SubGroup2 > Index2 > SubGroup1 > SubGroup2 > Index3 > SubGroup1 > SubGroup2 > Index4 > SubGroup1 > SubGroup2 > Index5 > SubGroup1 > SubGroup2 > > I am trying to get the number of groups in group "MainGroup" but I am > getting all sub groups as well. > > put the number of groups of group "MainGroup" into tGroups > > gives me 15 groups instead of 5 like I would like. > > > What I would like to do is delete group "Index3" and then rename the the > rest so that they are in order again. > I was planning on using a repeat loop on the number of groups: > > repeat with x = 1 to the number of groups of group "MainGroup" > set the name of group x of group "MainGroup" to ("Index" & x) > end repeat > > Then when I want to add a group I can just clone the first group and > rename it. I would like to name it 1 + the number of groups like: > > clone group "Index1" of group "MainGroup" > set the name of it to ("Index" & (the number of groups of group > "MainGroup" + 1)) > > > The problem is that because some of the groups have groups in them I am > not getting the right number back from using "the number of". > > Help?! > > 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 scott at tactilemedia.com Mon Jul 8 19:42:28 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 08 Jul 2013 16:42:28 -0700 Subject: FranklinAudio in Standalone? In-Reply-To: Message-ID: Thanks Klaus and Matthias. I believe I got it working, and I think the key phrase in my case was "start using stack xyz?" I'm confused though, because the dictionary says if externals are manually set for a stack via script, the stack must relaunched before LiveCode can use the externals. In my case, I am setting the externals of the mainstack during preOpenCard, and it seems to be working, so I'm not sure what's going on there. But hey, I'm not going to question too much, out of fear of incurring the wrath of the Gods of Failure. Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 7/8/13 2:37 PM, "Klaus major-k" wrote: >Hi Matthias, > >Am 08.07.2013 um 22:09 schrieb Matthias Rebbe >: > >> Hi Klaus, >> >> shouldn?t it be tFolder instead of tFile in line 2 of your script? > >Yes, sure, sorry :-) > >> Regards, >> >> Matthias >> Am 08.07.2013 um 21:55 schrieb Klaus major-k : >> >>> Hi Scott, >>> >>> Am 08.07.2013 um 18:49 schrieb Scott Rossi : >>> >>>> Thanks Klaus. The external is getting copied over as expected, and >>>>I've tried manually setting the externals property of the stack with >>>>the bundle name of the external. But I think I'm still missing >>>>something. What does your external loading routine look like? >>> >>> I put ALL externals (also revdb.xxx and all other db drivers, no >>>subfolder!) into a folder "Externals". >>> Then I do this on startup: >>> >>> on startup > put the effective filename of stack "The MAIN stack" into tFolder >>> set itemdel to "/" >>> put "Externals" into item -1 of tFolder >>> put the folder into oldfolder >>> set the folder to tFolder >>> if the platform = "MacOS" then >>> put the folders into tEx >>> filter tEX with "*.bundle" >>> else >>> put the files into tEx >>> filter tEx with "*,dll" >>> end if >>> >>> repeat for each line i in tEx >>> put tFolder & "/" & i & CR after tEXList >>> end repeat >>> >>> delete char -1 of tEXList >>> set the externals of stack "The MAIN stack" to tEXList >>> start using stack "The MAIN stack" >>> set the folder to oldfolder >>> end startup > > >Best > >Klaus >-- >Klaus Major >http://www.major-k.de >klaus at major-k.de > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From sc at sahores-conseil.com Mon Jul 8 19:56:35 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Tue, 9 Jul 2013 01:56:35 +0200 Subject: LiveCode and WebSockets In-Reply-To: References: Message-ID: <6B5ECB3C-85A3-4A4A-8FC5-B45072BF7EEE@sahores-conseil.com> Mark , Should work (untested) : Node.js on the server side + revBrowser (desktop) or mobileBrowser (iOS/android) + some js + client-side pseudo urls to get catched by : on browserLoadRequested pUrl, pType -- prefered on the iOS platform (desktop platforms untested) end browserLoadRequested and on browserStartedLoading pUrl -- prefered on the Android platform (desktop platforms untested) end browserStartedLoading to being able to exchange bidirectional messages between your web layer to the native livecode one. note : your web view pseudo URLs needs to match existing files (workingpath/file.html?) in your client app sandboxed cache or document directory to be catchable on the Android platform at least. To maintain a common codebase with the iOS app, i have the habit to create the on this platform too. Pierre Le 8 juil. 2013 ? 20:35, Mark Wilcox a ?crit : > We know, I'm interested in websockets for realtime comms between apps. Right now I think it'd be possible to implement one or more of the supported transports for socket.io in pure LiveCode but maybe not very efficiently. An alternative would be to wrap existing native implementations as externals. I've not looked into it in any great depth as I'm basically waiting for the engine refactoring to be completed before trying to hook new stuff in. > > Pierre Sahores wrote: > >> The HTTP(S) REST architecture is full supported on any LC desktop or mobile platform, iOS and Android included. They can be set to act as clients of any kind of nTier server side application (LC-Server, PHP, RoR, etc...). >> >> Le 8 juil. 2013 ? 18:19, Mark Wilcox a ?crit : >> >>> I'm interested in using something like socket.io as part of a backend for mobile (and maybe also desktop) apps. However, we don't have proper sockets support on mobile (without externals at least) and websockets are very definitely not the same thing as standard sockets. >>> >>> What do you have in mind? I'm certainly interested in discussing it. >>> >>> Mark >>> >>> >>> ________________________________ >>> From: Andrew Kluthe >>> To: How to use LiveCode >>> Sent: Monday, 8 July 2013, 16:05 >>> Subject: LiveCode and WebSockets >>> >>> >>> I have been learning a little bit about websockets lately for a project and >>> I have never really played around with livecode's socket communication >>> methods. This makes me curious. >>> >>> Is there anyone else on the list that might be more familiar with both that >>> would be interested in discussing using something like socket.io as part of >>> a backend for livecode desktop applications? >>> >>> >>> -- >>> 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 >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> -- >> Pierre Sahores >> mobile : 06 03 95 77 70 >> www.sahores-conseil.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From jacque at hyperactivesw.com Mon Jul 8 20:20:07 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 08 Jul 2013 19:20:07 -0500 Subject: FranklinAudio in Standalone? In-Reply-To: References: Message-ID: <51DB5737.1050205@hyperactivesw.com> On 7/8/13 6:42 PM, Scott Rossi wrote: > Thanks Klaus and Matthias. I believe I got it working, and I think the > key phrase in my case was "start using stack xyz?" > > I'm confused though, because the dictionary says if externals are manually > set for a stack via script, the stack must relaunched before LiveCode can > use the externals. In my case, I am setting the externals of the > mainstack during preOpenCard, and it seems to be working, so I'm not sure > what's going on there. > > But hey, I'm not going to question too much, out of fear of incurring the > wrath of the Gods of Failure. I'm intimately familiar with those gods. Back in the day, the one exception to the "must relaunch stack" rule was that you could set externals in a startup handler, so that's what I've always done. It only works in a standalone, of course. I'm not sure why yours works in preOpenCard, but maybe they changed the rules. Or maybe you are just blessed. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andrew at ctech.me Mon Jul 8 20:32:46 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Mon, 8 Jul 2013 19:32:46 -0500 Subject: LiveCode and WebSockets In-Reply-To: <6B5ECB3C-85A3-4A4A-8FC5-B45072BF7EEE@sahores-conseil.com> References: <6B5ECB3C-85A3-4A4A-8FC5-B45072BF7EEE@sahores-conseil.com> Message-ID: Thanks Phil, I had read that, and found some other useful info here as well. https://github.com/LearnBoost/socket.io-spec Andrew On Mon, Jul 8, 2013 at 6:56 PM, Pierre Sahores wrote: > Mark , > > Should work (untested) : > > Node.js on the server side + revBrowser (desktop) or mobileBrowser > (iOS/android) + some js + client-side pseudo urls to get > catched by : > > on browserLoadRequested pUrl, pType > -- prefered on the iOS platform (desktop platforms untested) > end browserLoadRequested > > and > > on browserStartedLoading pUrl > -- prefered on the Android platform (desktop platforms untested) > end browserStartedLoading > > to being able to exchange bidirectional messages between your web layer to > the native livecode one. > > note : your web view pseudo URLs needs to match existing files > (workingpath/file.html?) in your client app sandboxed cache or document > directory to be catchable on the Android platform at least. To maintain a > common codebase with the iOS app, i have the habit to create the on this > platform too. > > Pierre > > Le 8 juil. 2013 ? 20:35, Mark Wilcox a ?crit : > > > We know, I'm interested in websockets for realtime comms between apps. > Right now I think it'd be possible to implement one or more of the > supported transports for socket.io in pure LiveCode but maybe not very > efficiently. An alternative would be to wrap existing native > implementations as externals. I've not looked into it in any great depth as > I'm basically waiting for the engine refactoring to be completed before > trying to hook new stuff in. > > > > Pierre Sahores wrote: > > > >> The HTTP(S) REST architecture is full supported on any LC desktop or > mobile platform, iOS and Android included. They can be set to act as > clients of any kind of nTier server side application (LC-Server, PHP, RoR, > etc...). > >> > >> Le 8 juil. 2013 ? 18:19, Mark Wilcox a ?crit : > >> > >>> I'm interested in using something like socket.io as part of a backend > for mobile (and maybe also desktop) apps. However, we don't have proper > sockets support on mobile (without externals at least) and websockets are > very definitely not the same thing as standard sockets. > >>> > >>> What do you have in mind? I'm certainly interested in discussing it. > >>> > >>> Mark > >>> > >>> > >>> ________________________________ > >>> From: Andrew Kluthe > >>> To: How to use LiveCode > >>> Sent: Monday, 8 July 2013, 16:05 > >>> Subject: LiveCode and WebSockets > >>> > >>> > >>> I have been learning a little bit about websockets lately for a > project and > >>> I have never really played around with livecode's socket communication > >>> methods. This makes me curious. > >>> > >>> Is there anyone else on the list that might be more familiar with both > that > >>> would be interested in discussing using something like socket.io as > part of > >>> a backend for livecode desktop applications? > >>> > >>> > >>> -- > >>> 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 > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> -- > >> Pierre Sahores > >> mobile : 06 03 95 77 70 > >> www.sahores-conseil.com > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Pierre Sahores > mobile : 06 03 95 77 70 > www.sahores-conseil.com > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 MikeKerner at roadrunner.com Mon Jul 8 21:24:29 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 8 Jul 2013 21:24:29 -0400 Subject: 6.1 Installer Ubuntu In-Reply-To: References: <51DA8612.7080203@runrev.com> Message-ID: Got it guys - LiveCode is apparently using the 32-bit libraries, so you have to install ia32-libs on a 64-bit machine. ia32-libs-multiarch:i386 doesn't fix it. On Mon, Jul 8, 2013 at 10:13 AM, Mike Kerner wrote: > I am also running 12.04 LTS. I've tried both the commercial and community > versions. > > > On Mon, Jul 8, 2013 at 5:27 AM, Neil Roger wrote: > >> On 07/07/2013 04:41, Mike Kerner wrote: >> >>> Is anybody else having trouble with the 6.1 installer in Ubuntu? I >>> checked >>> the executable checkbox, but for some reason it won't run as an admin or >>> root. I've tried downloading it a couple of times. In the past all I >>> had >>> to do was check the executable box and double-click the installer. I've >>> tried running it from the command line and I'm getting command not found. >>> >>> BTW, the file says its an executable. >>> >>> Hi Mike, >> >> I have successfully installed LiveCode 6.1 on one of our test machines >> running Ubuntu 12.04 LTS via the method you described. >> >> Could you let me know what version of Ubuntu you are running and I will >> attempt to re-create the installation issue? >> >> Kind Regards, >> >> Neil Roger >> -- >> RunRev Support Team ~ http://www.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 >> > > > > -- > 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 mikeythek at gmail.com Mon Jul 8 19:26:30 2013 From: mikeythek at gmail.com (Mikey _) Date: Mon, 8 Jul 2013 19:26:30 -0400 Subject: Article: The Dangers of Beating Your Kickstarter Goal Message-ID: <2383746963977583453@unknownmsgid> *The Dangers of Beating Your Kickstarter Goal* http://games.slashdot.org/story/13/07/08/229206/the-dangers-of-beating-your-kickstarter-goal Sent via Flipboard Please ignore weird auto-corrected words, this message was sent from my iPad. From mwieder at ahsoftware.net Tue Jul 9 00:22:16 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 8 Jul 2013 21:22:16 -0700 Subject: 6.1 Installer Ubuntu In-Reply-To: References: <51DA8612.7080203@runrev.com> Message-ID: <123192371585.20130708212216@ahsoftware.net> Mike- Monday, July 8, 2013, 6:24:29 PM, you wrote: > Got it guys - LiveCode is apparently using the 32-bit libraries, so you > have to install ia32-libs on a 64-bit machine. ia32-libs-multiarch:i386 > doesn't fix it. ? I thought the multiarch libraries were a superset of the ia32libs? Anyway, glad it's working. And if you want to live on the edge, there's a 64-bit branch of the engine on github. It's what I've been using on linux mint 14. -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Tue Jul 9 01:15:27 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 09 Jul 2013 08:15:27 +0300 Subject: The road ahead Message-ID: <51DB9C6F.9060700@gmail.com> nothing to do with Mr Gates . . . useful reference: http://livecode.com/community/roadmap/ tick them off as/if they are brought to fruition. Richmond. PS. Maybe should be titled "The road, a head" and see if it gets from inside our heads out into the real world :) From richmondmathewson at gmail.com Tue Jul 9 01:19:29 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 09 Jul 2013 08:19:29 +0300 Subject: Object Architecture ? Message-ID: <51DB9D61.7050505@gmail.com> Does this: "IDE: Object Architecture" mean that Livecode is moving from being an object-based language to being an object oriented one? and if that is true, could someone point out what on earth the difference is between these 2 types of language. Richmond. From monte at sweattechnologies.com Tue Jul 9 01:40:19 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 9 Jul 2013 15:40:19 +1000 Subject: Object Architecture ? In-Reply-To: <51DB9D61.7050505@gmail.com> References: <51DB9D61.7050505@gmail.com> Message-ID: <861A4DBF-D45D-4B74-87C7-52083AB24F8F@sweattechnologies.com> On 09/07/2013, at 3:19 PM, Richmond wrote: > "IDE: Object Architecture" > > mean that Livecode is moving from being an object-based language > to being an object oriented one? > > and if that is true, could someone point out what on earth > the difference is between these 2 types of language. It means nothing unless you give it some context.. I'd guess it might be referring to the custom control stuff that was pulled from LC 6... -- 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 Jul 9 02:04:31 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 9 Jul 2013 16:04:31 +1000 Subject: mApp LC6.1 crash Message-ID: Hi folks I just found a crash with LC 6.1 and mApp which I have reported here: http://quality.runrev.com/show_bug.cgi?id=11039 It's related to setting the behavior of an object from a script that is itself that objects behavior and at a guess the issue was introduced with the behavior inheritance stuff. Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From t.heaford at btinternet.com Tue Jul 9 02:53:53 2013 From: t.heaford at btinternet.com (Terence Heaford) Date: Tue, 9 Jul 2013 07:53:53 +0100 Subject: The road ahead In-Reply-To: <51DB9C6F.9060700@gmail.com> References: <51DB9C6F.9060700@gmail.com> Message-ID: <25762FA6-049E-4C31-88C4-E8B6FAD15E69@btinternet.com> I don't comment often on the list because LiveCode is not currently my main development environment. I would like it to be but I am waiting for further developments before a commit. I thought this simple question would be valid. ------------------------------------------- Resolution Independance: ?357,000 Pluggable Themes: ?376,000 Cocoa: ?405,000 Delivery Estimate These goals would be next on our to-do list after we complete the next generation platform. If you fund these as stretch goals it means we can start on them now, plugging them into the next generation platform architecture as we go, instead of starting on them after the launch of the next generation platform in the fall. While we cannot guarantee an exact delivery date, it does mean we will be able to deliver them in a similar time scale to the main project as opposed to some point in 2014. So you should get your hands on these tasty treats by late autumn of this year! ------------------------------------------- The above is from the KickStarter campaign. Is LiveCode still on track to meet these goals? All the best Terry On 9 Jul 2013, at 06:15, Richmond wrote: > nothing to do with Mr Gates . . . > > useful reference: > > http://livecode.com/community/roadmap/ > > tick them off as/if they are brought to fruition. > > Richmond. > > PS. Maybe should be titled "The road, a head" > > and see if it gets from inside our heads out into the real world :) > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Tue Jul 9 03:42:21 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 9 Jul 2013 17:42:21 +1000 Subject: The road ahead In-Reply-To: <25762FA6-049E-4C31-88C4-E8B6FAD15E69@btinternet.com> References: <51DB9C6F.9060700@gmail.com> <25762FA6-049E-4C31-88C4-E8B6FAD15E69@btinternet.com> Message-ID: <3F3DD0FD-9B3B-4534-9B5A-AE80404E69B3@sweattechnologies.com> On 09/07/2013, at 4:53 PM, Terence Heaford wrote: > So you should get your hands on these tasty treats by late autumn of this year! Late Autumn is a fairly vague timeframe... My guess is that means the end of the year... Resolution independence is well under way with the work Ian is doing on the graphics library. The others need to wait for things to be done in the right order I think... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From m_p_wilcox at yahoo.co.uk Tue Jul 9 04:56:22 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Tue, 9 Jul 2013 09:56:22 +0100 (BST) Subject: Object Architecture ? In-Reply-To: <861A4DBF-D45D-4B74-87C7-52083AB24F8F@sweattechnologies.com> References: <51DB9D61.7050505@gmail.com> <861A4DBF-D45D-4B74-87C7-52083AB24F8F@sweattechnologies.com> Message-ID: <1373360182.9402.YahooMailNeo@web28805.mail.ir2.yahoo.com> > "IDE: Object Architecture" My take on this was that the "IDE" part implies this is restructuring of the IDE and not a feature of the engine or language at all.? From m_p_wilcox at yahoo.co.uk Tue Jul 9 05:00:21 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Tue, 9 Jul 2013 10:00:21 +0100 (BST) Subject: LiveCode and WebSockets In-Reply-To: <6B5ECB3C-85A3-4A4A-8FC5-B45072BF7EEE@sahores-conseil.com> References: <6B5ECB3C-85A3-4A4A-8FC5-B45072BF7EEE@sahores-conseil.com> Message-ID: <1373360421.71245.YahooMailNeo@web28802.mail.ir2.yahoo.com> Thanks Pierre, I'm pretty sure I could make something like that work but it's a nasty kludge, I'm not in any hurry (busy with non-LiveCode projects at the moment anyway) and when I get around to looking at it, I want to do it properly. :) ________________________________ From: Pierre Sahores To: How to use LiveCode Sent: Tuesday, 9 July 2013, 0:56 Subject: Re: LiveCode and WebSockets Mark , Should work (untested) : Node.js on the server side + revBrowser (desktop) or mobileBrowser (iOS/android) + some js +? client-side pseudo urls to get catched by : on browserLoadRequested pUrl, pType -- prefered on the iOS platform (desktop platforms untested) end browserLoadRequested and on browserStartedLoading pUrl -- prefered on the Android platform (desktop platforms untested) end browserStartedLoading to being able to exchange bidirectional messages between your web layer to the native livecode one. note : your web view pseudo URLs needs to match existing files (workingpath/file.html?) in your client app sandboxed cache or document directory to be catchable on the Android platform at least. To maintain a common codebase with the iOS app, i have the habit to create the on this platform too. Pierre From m_p_wilcox at yahoo.co.uk Tue Jul 9 05:33:31 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Tue, 9 Jul 2013 10:33:31 +0100 (BST) Subject: LiveCode and WebSockets In-Reply-To: References: Message-ID: <1373362411.7340.YahooMailNeo@web28806.mail.ir2.yahoo.com> >>?Would you care to discuss the difference between websockets and the socketswe work with in livecode or point me to some basic information on the websocket implementation you think we could implement in pure livecode? What things would keep it from working very efficiently? I see you already have some good references. ?Proper websockets implement a protocol on top of standard TCP socket connections on port 80. ?I think you could write or port an implementation of this protocol directly using the sockets available in desktop LiveCode. For socket.io there are also other transports available (i.e. web sockets are emulated over some other transport). ?I think it might be possible to implement the XHR-polling transport in LiveCode, using load URL for the GET request (with the header set to keep the connection alive - it doesn't return anything until the server wants to send you something) and doing standard HTTP posts. ?What I don't know is whether LiveCode can actually do a POST request while you still have an async load operation running, or whether it will keep the HTTP connection alive as required by XHR-polling (a.k.a. long polling) rather than just timing out?? As for efficiency, LiveCode has pretty good performance because the language is very high level, so each line of code typically does quite a lot in native code in the engine underneath. ?Implementing a protocol is quite a low-level thing to do in such a high-level language, parsing/formatting all the messages in LiveCode directly is probably quite computationally expensive vs just putting/getting the content of those messages into/from a "websocket object" that handles the formatting/parsing for you in native code. Also, as Pierre said, you could kludge this through the browser too, using the socket.io client directly. ?That's going to be much, much less efficient though. Mark From sc at sahores-conseil.com Tue Jul 9 06:58:08 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Tue, 9 Jul 2013 12:58:08 +0200 Subject: LiveCode and WebSockets In-Reply-To: References: <6B5ECB3C-85A3-4A4A-8FC5-B45072BF7EEE@sahores-conseil.com> Message-ID: <705F41D1-DD96-443F-B891-3CBB85BF9E02@sahores-conseil.com> Many thanks for this useful reference link Andrew Le 9 juil. 2013 ? 02:32, Andrew Kluthe a ?crit : > I had read that, and found some other useful info here as well. > https://github.com/LearnBoost/socket.io-spec > > Andrew -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From t.heaford at btinternet.com Tue Jul 9 07:04:24 2013 From: t.heaford at btinternet.com (Terence Heaford) Date: Tue, 9 Jul 2013 12:04:24 +0100 Subject: The road ahead In-Reply-To: <3F3DD0FD-9B3B-4534-9B5A-AE80404E69B3@sweattechnologies.com> References: <51DB9C6F.9060700@gmail.com> <25762FA6-049E-4C31-88C4-E8B6FAD15E69@btinternet.com> <3F3DD0FD-9B3B-4534-9B5A-AE80404E69B3@sweattechnologies.com> Message-ID: <322ED430-6CAB-45FC-B9DE-69E10BE5C02D@btinternet.com> The end of the year wouldn't be bad. Other development environments have found it really difficult to incorporate the transition to Cocoa from Carbon and it has taken far, far longer than the initial plan. Hopefully LiveCode will not suffer the same fate. All the best Terry On 9 Jul 2013, at 08:42, Monte Goulding wrote: > > On 09/07/2013, at 4:53 PM, Terence Heaford wrote: > >> So you should get your hands on these tasty treats by late autumn of this year! > > Late Autumn is a fairly vague timeframe... My guess is that means the end of the year... Resolution independence is well under way with the work Ian is doing on the graphics library. The others need to wait for things to be done in the right order I think... > > -- > 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 liste.revo at medard.on-rev.com Tue Jul 9 07:56:30 2013 From: liste.revo at medard.on-rev.com (Medard) Date: Tue, 9 Jul 2013 13:56:30 +0200 Subject: On-Rev Desktop App not working (Mac) In-Reply-To: <4F37D1E8-A67A-4A6F-B99B-1DADC9AA3E4C@m-r-d.de> Message-ID: <1l5qt4d.1yjrxdd8694neM%liste.revo@medard.on-rev.com> Matthias Rebbe wrote: > if your account was moved to or is on one of the new servers like tio or > pancake then the on-rev client will not work at the moment. That is. It's tio, now. > There is still some hope Runrev will fix this. At least David Williams > from Runrev told me that he has access to the source code of the client > and that he will have a look at it if time allows. OK. > I for myself am doing coding/ftp now with Coda2 and Transmit under Mac > OSX. This works very smooth. I am using Cyberduck, which is good also. > But i would prefer to use on-rev client again, especially because of its > debugging features. Me too :-) From toolbook at kestner.de Tue Jul 9 09:39:06 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 9 Jul 2013 15:39:06 +0200 Subject: How to increase the textsize of HTMLtext proportional? Message-ID: <007301ce7ca9$af21aca0$0d6505e0$@de> Hello, I give the user the option to change the textsize of all fields. No problem so far by just changing the textsize and adjusting the field size. Now I have a field with different textsizes in one field. Like bold and bigger headlines, and standard text, etc. How would you change the textsize of such a text by keeping the size relation of the different chunks of text? Should I look up the HTMLtext and manipulate every "font size attribute" - or is there a more straight forward approach, I don't see? Thanks Tiemo From ambassador at fourthworld.com Tue Jul 9 09:47:49 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 09 Jul 2013 06:47:49 -0700 Subject: How to increase the textsize of HTMLtext proportional? In-Reply-To: <007301ce7ca9$af21aca0$0d6505e0$@de> References: <007301ce7ca9$af21aca0$0d6505e0$@de> Message-ID: <51DC1485.8080500@fourthworld.com> Tiemo Hollmann wrote: > How would you change the textsize of such a text by keeping the size > relation of the different chunks of text? Should I look up the > HTMLtext and manipulate every "font size attribute" - or is there > a more straight forward approach, I don't see? I asked this question here a few years back, and there were many good solutions presented, with Malte's being the fastest IIRC: http://lists.runrev.com/pipermail/use-livecode/2005-July/061750.html -- 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 bonnmike at gmail.com Tue Jul 9 10:20:48 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 9 Jul 2013 08:20:48 -0600 Subject: How to increase the textsize of HTMLtext proportional? In-Reply-To: <51DC1485.8080500@fourthworld.com> References: <007301ce7ca9$af21aca0$0d6505e0$@de> <51DC1485.8080500@fourthworld.com> Message-ID: You might look at "styledtext" which returns an array describing all the text variations in the field. Very handy. On Tue, Jul 9, 2013 at 7:47 AM, Richard Gaskin wrote: > Tiemo Hollmann wrote: > > > How would you change the textsize of such a text by keeping the size > > relation of the different chunks of text? Should I look up the > > HTMLtext and manipulate every "font size attribute" - or is there > > a more straight forward approach, I don't see? > > I asked this question here a few years back, and there were many good > solutions presented, with Malte's being the fastest IIRC: > > http://lists.runrev.com/**pipermail/use-livecode/2005-**July/061750.html > > > -- > 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 mcgrath3 at mac.com Tue Jul 9 10:45:35 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 09 Jul 2013 10:45:35 -0400 Subject: mApp LC6.1 crash In-Reply-To: References: Message-ID: <3E02F5BA-DBA9-4B1D-8403-FCA6BF04D1C8@mac.com> I have been trying to test a sample stack in 6.1 Build 2005 for iOS simulator and it just crashes immediately when selecting "Test". This stack works perfectly in 5.5.5 It uses mAPP Mobile Application Framework Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x000000000000000e VM Regions Near 0xe: --> __PAGEZERO 0000000000000000-0000000000001000 [ 4K] ---/--- SM=NUL /Applications/LiveCode 6.1.app/Contents/MacOS/LiveCode-Commercial __TEXT 0000000000001000-0000000000296000 [ 2644K] r-x/rwx SM=COW /Applications/LiveCode 6.1.app/Contents/MacOS/LiveCode-Commercial Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 com.runrev.livecode 0x00150ef6 MCParentScriptUse::GetParent() const + 6 1 com.runrev.livecode 0x0010d56a MCObject::handleparent(Handler_type, MCName*, MCParameter*) + 58 2 com.runrev.livecode 0x0010d770 MCObject::handleself(Handler_type, MCName*, MCParameter*) + 352 3 com.runrev.livecode 0x00186445 MCStack::handle(Handler_type, MCName*, MCParameter*, MCObject*) + 117 4 com.runrev.livecode 0x0004034b MCDispatchCmd::exec(MCExecPoint&) + 587 5 com.runrev.livecode 0x000efcd8 MCTry::exec(MCExecPoint&) + 152 6 com.runrev.livecode 0x000d5817 MCHandler::exec(MCExecPoint&, MCParameter*) + 375 7 com.runrev.livecode 0x0010b52a MCObject::exechandler(MCHandler*, MCParameter*) + 250 8 com.runrev.livecode 0x0010d7a3 MCObject::handleself(Handler_type, MCName*, MCParameter*) + 403 9 com.runrev.livecode 0x00186445 MCStack::handle(Handler_type, MCName*, MCParameter*, MCObject*) + 117 10 com.runrev.livecode 0x0004034b MCDispatchCmd::exec(MCExecPoint&) + 587 11 com.runrev.livecode 0x000efcd8 MCTry::exec(MCExecPoint&) + 152 12 com.runrev.livecode 0x000f18f5 MCIf::exec(MCExecPoint&) + 293 13 com.runrev.livecode 0x000d5817 MCHandler::exec(MCExecPoint&, MCParameter*) + 375 14 com.runrev.livecode 0x0010b52a MCObject::exechandler(MCHandler*, MCParameter*) + 250 15 com.runrev.livecode 0x0010d7a3 MCObject::handleself(Handler_type, MCName*, MCParameter*) + 403 16 com.runrev.livecode 0x0010d7f5 MCObject::handle(Handler_type, MCName*, MCParameter*, MCObject*) + 53 17 com.runrev.livecode 0x0004034b MCDispatchCmd::exec(MCExecPoint&) + 587 18 com.runrev.livecode 0x000f18f5 MCIf::exec(MCExecPoint&) + 293 19 com.runrev.livecode 0x000d5817 MCHandler::exec(MCExecPoint&, MCParameter*) + 375 20 com.runrev.livecode 0x0010b52a MCObject::exechandler(MCHandler*, MCParameter*) + 250 21 com.runrev.livecode 0x0010d7a3 MCObject::handleself(Handler_type, MCName*, MCParameter*) + 403 22 com.runrev.livecode 0x00186445 MCStack::handle(Handler_type, MCName*, MCParameter*, MCObject*) + 117 23 com.runrev.livecode 0x00075458 MCDispatch::handle(Handler_type, MCName*, MCParameter*, MCObject*) + 360 24 com.runrev.livecode 0x001864f5 MCStack::handle(Handler_type, MCName*, MCParameter*, MCObject*) + 293 25 com.runrev.livecode 0x001864f5 MCStack::handle(Handler_type, MCName*, MCParameter*, MCObject*) + 293 26 com.runrev.livecode 0x00026a9f MCCard::handle(Handler_type, MCName*, MCParameter*, MCObject*) + 335 27 com.runrev.livecode 0x0010d83d MCObject::handle(Handler_type, MCName*, MCParameter*, MCObject*) + 125 28 com.runrev.livecode 0x0010d83d MCObject::handle(Handler_type, MCName*, MCParameter*, MCObject*) + 125 29 com.runrev.livecode 0x0019c293 MCComref::exec(MCExecPoint&) + 915 30 com.runrev.livecode 0x000f3522 MCSwitch::exec(MCExecPoint&) + 770 31 com.runrev.livecode 0x000d5817 MCHandler::exec(MCExecPoint&, MCParameter*) + 375 32 com.runrev.livecode 0x0010b52a MCObject::exechandler(MCHandler*, MCParameter*) + 250 33 com.runrev.livecode 0x0010d7a3 MCObject::handleself(Handler_type, MCName*, MCParameter*) + 403 34 com.runrev.livecode 0x0010d7f5 MCObject::handle(Handler_type, MCName*, MCParameter*, MCObject*) + 53 35 com.runrev.livecode 0x00109ef9 MCObject::message(MCName*, MCParameter*, unsigned char, unsigned char, unsigned char) + 809 36 com.runrev.livecode 0x0010b8d5 MCObject::message_with_args(MCName*, MCString const&) + 117 37 com.runrev.livecode 0x001258f2 domenu(short, short) + 402 38 com.runrev.livecode 0x00126493 MCScreenDC::dispatchevent(EventRecord&, unsigned char, unsigned char&, unsigned char&) + 2211 39 com.runrev.livecode 0x001275a5 MCScreenDC::handle(double, unsigned char, unsigned char, unsigned char&, unsigned char&) + 773 40 com.runrev.livecode 0x0012405d MCScreenDC::wait(double, unsigned char, unsigned char) + 285 41 com.runrev.livecode 0x001d78a9 X_main_loop_iteration() + 105 42 com.runrev.livecode 0x001d8651 X_main_loop() + 113 43 com.runrev.livecode 0x001d87d2 main + 338 44 com.runrev.livecode 0x00002ca6 _start + 216 45 com.runrev.livecode 0x00002bcd start + 41 From mikedoub at gmail.com Tue Jul 9 11:59:45 2013 From: mikedoub at gmail.com (Michael Doub) Date: Tue, 9 Jul 2013 11:59:45 -0400 Subject: How to increase the textsize of HTMLtext proportional? In-Reply-To: <51DC1485.8080500@fourthworld.com> References: <007301ce7ca9$af21aca0$0d6505e0$@de> <51DC1485.8080500@fourthworld.com> Message-ID: <361301CF-FA2E-4DE8-B49D-40B72FF70662@gmail.com> I was interested in this discussion so I pasted the source of the link below into a field and copied the code into a button. Be careful. This code does not account for the case where the text string "size=" is in the content of the html. In this case the "size=" string is in the
 block.

-= Mike

On Jul 9, 2013, at 9:47 AM, Richard Gaskin  wrote:

> 
> I asked this question here a few years back, and there were many good solutions presented, with Malte's being the fastest IIRC:
> 
> http://lists.runrev.com/pipermail/use-livecode/2005-July/061750.html




From mikedoub at gmail.com  Tue Jul  9 13:31:27 2013
From: mikedoub at gmail.com (Michael Doub)
Date: Tue, 9 Jul 2013 13:31:27 -0400
Subject: How to increase the textsize of HTMLtext proportional?
In-Reply-To: 
References: <007301ce7ca9$af21aca0$0d6505e0$@de>
	<51DC1485.8080500@fourthworld.com>
	
Message-ID: <368C9AA5-0393-4477-B4D6-BF67C23E16CD@gmail.com>

I think this solves the problem.   You want to make sure that there is a ">" but not if it is found after a "<".

on mouseUp
   put the htmlText of fld 1 into theHtml
   replace "size=""e with "size="&numtoChar(1500) in theHTML
   set the itemdel to numToChar(1500)
   if the number of items of theHTML<>1 then
      put 0 into itemCount
      repeat for each item theItem in theHTML
         add 1 to itemCount
         if itemCount=1 then
            put theItem into newHTML
            next repeat
         end if
         put 1 into counter
         put offset (">", theItem) into tLeft
         put offset ("<" , theItem) into tRight
         if tLeft <> 0 then -- found it
            if tRight <> 0 and tRight > tLeft then-- found "<" and after ">" which is ok
               repeat forever
                  add 1 to counter
                  if char counter of theItem=quote then exit repeat
               end repeat
               put char 1 to counter-1 of theItem into theSize
               put theSize + 1 into theSize
               put theSize into char 1 to counter-1 of theItem
            end if
         end if
         put quote&theItem after newHTML
      end repeat
      set the htmlText of fld "test" to newHTML
   end if
   set the textSize of fld "test" to \
         the effective textSize of fld "test"+1
end mouseUp


On Jul 9, 2013, at 10:20 AM, Mike Bonner  wrote:

> You might look at "styledtext" which returns an array describing all the
> text variations in the field. Very handy.
> 
> 
> On Tue, Jul 9, 2013 at 7:47 AM, Richard Gaskin
> wrote:
> 
>> Tiemo Hollmann wrote:
>> 
>>> How would you change the textsize of such a text by keeping the size
>>> relation of the different chunks of text? Should I look up the
>>> HTMLtext and manipulate every "font size attribute" - or is there
>>> a more straight forward approach, I don't see?
>> 
>> I asked this question here a few years back, and there were many good
>> solutions presented, with Malte's being the fastest IIRC:
>> 
>> http://lists.runrev.com/**pipermail/use-livecode/2005-**July/061750.html
>> 
>> 
>> --
>> Richard Gaskin
>> Fourth World
>> LiveCode training and consulting: http://www.fourthworld.com
>> Webzine for LiveCode developers: http://www.LiveCodeJournal.com
>> Follow me on Twitter:  http://twitter.com/**FourthWorldSys
>> 
>> 
>> 
>> ______________________________**_________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/**mailman/listinfo/use-livecode
>> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




From jbv at souslelogo.com  Tue Jul  9 14:05:07 2013
From: jbv at souslelogo.com (jbv at souslelogo.com)
Date: Tue, 9 Jul 2013 13:05:07 -0500
Subject: test - please ignore
Message-ID: 

test




From toolbook at kestner.de  Tue Jul  9 14:14:02 2013
From: toolbook at kestner.de (Tiemo Hollmann TB)
Date: Tue, 9 Jul 2013 20:14:02 +0200
Subject: AW: How to increase the textsize of HTMLtext proportional?
In-Reply-To: <368C9AA5-0393-4477-B4D6-BF67C23E16CD@gmail.com>
References: <007301ce7ca9$af21aca0$0d6505e0$@de>	<51DC1485.8080500@fourthworld.com>	
	<368C9AA5-0393-4477-B4D6-BF67C23E16CD@gmail.com>
Message-ID: <008c01ce7cd0$176e27e0$464a77a0$@de>

Great thanks Richard, Mike and Michael
Very helpful!
Tiemo

> -----Urspr?ngliche Nachricht-----
> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im
Auftrag
> von Michael Doub
> Gesendet: Dienstag, 9. Juli 2013 19:31
> An: How to use LiveCode
> Betreff: Re: How to increase the textsize of HTMLtext proportional?
> 
> I think this solves the problem.   You want to make sure that there is a
> ">" but not if it is found after a "<".
> 
> on mouseUp
>    put the htmlText of fld 1 into theHtml
>    replace "size=""e with "size="&numtoChar(1500) in theHTML
>    set the itemdel to numToChar(1500)
>    if the number of items of theHTML<>1 then
>       put 0 into itemCount
>       repeat for each item theItem in theHTML
>          add 1 to itemCount
>          if itemCount=1 then
>             put theItem into newHTML
>             next repeat
>          end if
>          put 1 into counter
>          put offset (">", theItem) into tLeft
>          put offset ("<" , theItem) into tRight
>          if tLeft <> 0 then -- found it
>             if tRight <> 0 and tRight > tLeft then-- found "<" and after
> ">" which is ok
>                repeat forever
>                   add 1 to counter
>                   if char counter of theItem=quote then exit repeat
>                end repeat
>                put char 1 to counter-1 of theItem into theSize
>                put theSize + 1 into theSize
>                put theSize into char 1 to counter-1 of theItem
>             end if
>          end if
>          put quote&theItem after newHTML
>       end repeat
>       set the htmlText of fld "test" to newHTML
>    end if
>    set the textSize of fld "test" to \
>          the effective textSize of fld "test"+1 end mouseUp
> 
> 
> On Jul 9, 2013, at 10:20 AM, Mike Bonner  wrote:
> 
> > You might look at "styledtext" which returns an array describing all
> > the text variations in the field. Very handy.
> >
> >
> > On Tue, Jul 9, 2013 at 7:47 AM, Richard Gaskin
> > wrote:
> >
> >> Tiemo Hollmann wrote:
> >>
> >>> How would you change the textsize of such a text by keeping the size
> >>> relation of the different chunks of text? Should I look up the
> >>> HTMLtext and manipulate every "font size attribute" - or is there a
> >>> more straight forward approach, I don't see?
> >>
> >> I asked this question here a few years back, and there were many good
> >> solutions presented, with Malte's being the fastest IIRC:
> >>
> >> http://lists.runrev.com/**pipermail/use-livecode/2005-**July/061750.h
> >> tml >> tml>
> >>
> >>
> >> --
> >> 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 >> runrev.com/mailman/listinfo/use-livecode>
> >>
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




From jbv at souslelogo.com  Tue Jul  9 14:32:49 2013
From: jbv at souslelogo.com (jbv at souslelogo.com)
Date: Tue, 9 Jul 2013 13:32:49 -0500
Subject: on-rev reliability ?
Message-ID: <170e926b336a9db82f507fd0883ea873.squirrel@thor.on-rev.com>

Hi folks,

I'm back on this list after a few of years (although I never stopped using
LC).
I'd like to get opinions and experiences about on-rev...

I have been using the service for almost 3 years via 3 different accounts,
and have
built professional apps & websites on LC & on-rev, and several companies
are using these apps
and have built their business around them.
Everything worked seamlessly for almost 2 years, but last february &
march, we
started experiencing huge & frequent server (thor) crashes and slowdowns,
which put us
in a terrible situation towards our clients who threatened to sue us
because we weren't
delivering the service they paid for...
Meanwhile, one of our accounts was moved to a new server (pancake) but it
appeared that
something went wrong during the move, because we experienced random bugs
in some
scripts that lead to corrupted data in DBs and random errors in
automatically generated
pdf files (invoices for instance)... To solve this problem, I had to move
all scripts, files and
DBs to another account of ours still on thor...
Last but not least, for the last few days, we had a few server crashes
again, and of course
our clients yelling at us... Last week-end I also noticed some erratic
behavior during ftp
transfer that lead to corrupted scripts and huge bugs in web pages...

Searching through the list archives I found a few posts mentioning that
thor was "down
again", but nobody seemed to be in a panic business-wise because of that...

So finally, here's my question / request : we have the feeling that most
of the problems
are due to the fact that thor is a shared server and that some other
on-rev users are
playing dirty games, and we are thinking of moving our accounts to a
dedicated server.
Before subscribing to on-rev, I had a Revolution engine installed on a
dedicated Linux
server an experienced crashes or slowdowns only 2 or 3 times a year, not
every 2 or
3 days...
Does anyone on this list have built rather sophisticated with Livecode &
on-rev ?
If yes, how do you deal with all those server problems ?

Thanks in advance for any opinion, and sorry for the long post...

jbv




From richmondmathewson at gmail.com  Tue Jul  9 15:20:21 2013
From: richmondmathewson at gmail.com (Richmond)
Date: Tue, 09 Jul 2013 22:20:21 +0300
Subject: [OT] Packtpub?
Message-ID: <51DC6275.9060105@gmail.com>

Packtpub, apparently an India-based published operation concerned 
largely with computer stuff
have asked me to be involved in editing a publication.

What is unclear to me, and they don't seem to want to answer . . .

  . . . is what their academic standing is as well as the extent of 
their market reach.

What is also unclear is how they select their editors as they have made 
no enquiry as to an academic qualifications I may have, years of 
experience in the field and so on. This strikes me as very odd indeed.

"I came across your discussion, and felt that you would be an ideal 
person to review this book for us."

Is opaque in the extreme: what discussion? where? and what on earth 
would that actually tell you
about either my ability to review a publication or my academic bona 
fides vis-a-vis computer programming.

Now all they are offering me for my work seems to be a hard copy of the 
book plus another from their
"stable" of publications. That is all very jolly, but it is not what 
motivates me; what does is the fact that my
c.v. has got a bit thin on the ground recently, and the odd editorship 
and/or publication would spice things
up a bit when/if I decide to apply for a new job.

What I am really wondering is whether this will have any sort of clout 
in a c.v at all, or is just a bit of
fun to get a couple of books.

Richmond.



From revdev at pdslabs.net  Tue Jul  9 15:31:42 2013
From: revdev at pdslabs.net (Phil Davis)
Date: Tue, 09 Jul 2013 12:31:42 -0700
Subject: [OT] Packtpub?
In-Reply-To: <51DC6275.9060105@gmail.com>
References: <51DC6275.9060105@gmail.com>
Message-ID: <51DC651E.5060607@pdslabs.net>

Hi Richmond,

They published Colin's book last year. That all I know about them.

I received an email from them too, similar to yours. Not sure how to 
respond.

Best -
Phil Davis


On 7/9/13 12:20 PM, Richmond wrote:
> Packtpub, apparently an India-based published operation concerned 
> largely with computer stuff
> have asked me to be involved in editing a publication.
>
> What is unclear to me, and they don't seem to want to answer . . .
>
>  . . . is what their academic standing is as well as the extent of 
> their market reach.
>
> What is also unclear is how they select their editors as they have 
> made no enquiry as to an academic qualifications I may have, years of 
> experience in the field and so on. This strikes me as very odd indeed.
>
> "I came across your discussion, and felt that you would be an ideal 
> person to review this book for us."
>
> Is opaque in the extreme: what discussion? where? and what on earth 
> would that actually tell you
> about either my ability to review a publication or my academic bona 
> fides vis-a-vis computer programming.
>
> Now all they are offering me for my work seems to be a hard copy of 
> the book plus another from their
> "stable" of publications. That is all very jolly, but it is not what 
> motivates me; what does is the fact that my
> c.v. has got a bit thin on the ground recently, and the odd editorship 
> and/or publication would spice things
> up a bit when/if I decide to apply for a new job.
>
> What I am really wondering is whether this will have any sort of clout 
> in a c.v at all, or is just a bit of
> fun to get a couple of books.
>
> 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
>

-- 
Phil Davis




From richmondmathewson at gmail.com  Tue Jul  9 15:40:24 2013
From: richmondmathewson at gmail.com (Richmond)
Date: Tue, 09 Jul 2013 22:40:24 +0300
Subject: [OT] Packtpub?
In-Reply-To: <51DC651E.5060607@pdslabs.net>
References: <51DC6275.9060105@gmail.com> <51DC651E.5060607@pdslabs.net>
Message-ID: <51DC6728.7070806@gmail.com>

On 07/09/2013 10:31 PM, Phil Davis wrote:
> Hi Richmond,
>
> They published Colin's book last year. That all I know about them.
>
> I received an email from them too, similar to yours. Not sure how to 
> respond.

Well, I read their "guff" and said 'Yes', and they have sent me more 
guff, and I am waiting for a chap
to start sending me chapters.

At worse I will lose a few hours reading the book; at best a copy of the 
book and another one, and, just possibly, something to put on my 
"brag-sheet".

I certainly cannot see any real damage ensuing.

I will "have a go" with this one, and then have a good long think 
afterwards as to any future stuff they may
lob at me.

I do get a slight "half-a-dozen people in a small room with a couple of 
computers hooked up to the internet"
feeling; but as a Schumacher sort of capitalist, I'm going to find that 
hard to fault so long as they are not ripping people off.

Probably the best way to 'cope' with this is to watch 'Bowfinger' [ 
http://en.wikipedia.org/wiki/Bowfinger ]
and have a good laugh; BUT, make sure you do your bit 100%. That is the 
way I'm getting on with it.

Richmond.

>
> Best -
> Phil Davis
>
>
> On 7/9/13 12:20 PM, Richmond wrote:
>> Packtpub, apparently an India-based published operation concerned 
>> largely with computer stuff
>> have asked me to be involved in editing a publication.
>>
>> What is unclear to me, and they don't seem to want to answer . . .
>>
>>  . . . is what their academic standing is as well as the extent of 
>> their market reach.
>>
>> What is also unclear is how they select their editors as they have 
>> made no enquiry as to an academic qualifications I may have, years of 
>> experience in the field and so on. This strikes me as very odd indeed.
>>
>> "I came across your discussion, and felt that you would be an ideal 
>> person to review this book for us."
>>
>> Is opaque in the extreme: what discussion? where? and what on earth 
>> would that actually tell you
>> about either my ability to review a publication or my academic bona 
>> fides vis-a-vis computer programming.
>>
>> Now all they are offering me for my work seems to be a hard copy of 
>> the book plus another from their
>> "stable" of publications. That is all very jolly, but it is not what 
>> motivates me; what does is the fact that my
>> c.v. has got a bit thin on the ground recently, and the odd 
>> editorship and/or publication would spice things
>> up a bit when/if I decide to apply for a new job.
>>
>> What I am really wondering is whether this will have any sort of 
>> clout in a c.v at all, or is just a bit of
>> fun to get a couple of books.
>>
>> 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  Tue Jul  9 15:49:07 2013
From: pete at lcsql.com (Peter Haworth)
Date: Tue, 9 Jul 2013 12:49:07 -0700
Subject: [OT] Strange OSX Problems
Message-ID: 

I am experiencing some very strange OSX 10.7.4 behavior and hoping someone
may be able to shed some light on it.

All works fine for some undefined period of time, then I find that no new
applications will launch either from the dock or double clicking them in
the FInder or right clicking them and selecting open in the Finder.  No
error message, just nothing happens.  Applications that are already running
continue to work fine.

Concurrent with this, if I try to go to a new URL in my browser (Chrome),
once again, nothing happens, no error message.

Restarting fixes the problem but it always reoccurs after some undefined
period of time.

I have done the obvious things (verfying disks, repairing permissions) but
they made no difference.  Also checked disk space on my home drive and
there's plenty available.

Any diagnostic or fix ideas most welcome.

Pete
lcSQL Software 


From mikedoub at gmail.com  Tue Jul  9 16:08:45 2013
From: mikedoub at gmail.com (Michael Doub)
Date: Tue, 9 Jul 2013 16:08:45 -0400
Subject: How to increase the textsize of HTMLtext proportional?
In-Reply-To: <30564591-E726-4941-98D1-711BADA1BCE2@gmail.com>
References: <007301ce7ca9$af21aca0$0d6505e0$@de>
	<51DC1485.8080500@fourthworld.com>
	
	<368C9AA5-0393-4477-B4D6-BF67C23E16CD@gmail.com>
	<30564591-E726-4941-98D1-711BADA1BCE2@gmail.com>
Message-ID: <98112086-3E20-49E0-BDA8-AB95DDD63E3C@gmail.com>

A bit more suitable for easy reuse.....


on textdown
    BumpText the long id of field "test", -1
end textdown

on textup
    BumpText the long id of field "test", 1
end textup


on BumpText theObject theDirection
    if theDirection is not among the lines of "1" & return & "-1" then throw "Need 1 or -1 for theDirection"
    put the htmlText of fld 1 into theHtml
    replace "size=""e with "size="&numtoChar(1500) in theHTML
    set the itemdel to numToChar(1500)
    if the number of items of theHTML<>1 then
       put 0 into itemCount
       repeat for each item theItem in theHTML
          add 1 to itemCount
          if itemCount=1 then
             put theItem into newHTML
             next repeat
          end if
          put 1 into counter
          put offset (">", theItem) into tClose
          put offset ("<" , theItem) into tOpen
          if tClose <> 0 then -- found it
             if tOpen <> 0 and tOpen > tClose then-- found "<" and after ">" whis is ok
                repeat forever
                   add 1 to counter
                   if char counter of theItem=quote then exit repeat
                end repeat
                put char 1 to counter-1 of theItem into theSize
                put theSize + theDirection into theSize
                put theSize into char 1 to counter-1 of theItem
             end if
          end if
          put quote&theItem after newHTML
       end repeat
       set the htmlText of theObject to newHTML
    end if
    set the textSize of theObject to \
          the effective textSize of theObject + theDirection
end BumpText



From pete at lcsql.com  Tue Jul  9 16:12:41 2013
From: pete at lcsql.com (Peter Haworth)
Date: Tue, 9 Jul 2013 13:12:41 -0700
Subject: [OT] Packtpub?
In-Reply-To: <51DC651E.5060607@pdslabs.net>
References: <51DC6275.9060105@gmail.com> <51DC651E.5060607@pdslabs.net>
Message-ID: 

So did I.  I think they're just trolling the email list/forum.

I turned them down because the title of the book indicated it was about
mobile development and I know nothing about that.

Pete
lcSQL Software 


On Tue, Jul 9, 2013 at 12:31 PM, Phil Davis  wrote:

> Hi Richmond,
>
> They published Colin's book last year. That all I know about them.
>
> I received an email from them too, similar to yours. Not sure how to
> respond.
>
> Best -
> Phil Davis
>
>
> On 7/9/13 12:20 PM, Richmond wrote:
>
>> Packtpub, apparently an India-based published operation concerned largely
>> with computer stuff
>> have asked me to be involved in editing a publication.
>>
>> What is unclear to me, and they don't seem to want to answer . . .
>>
>>  . . . is what their academic standing is as well as the extent of their
>> market reach.
>>
>> What is also unclear is how they select their editors as they have made
>> no enquiry as to an academic qualifications I may have, years of experience
>> in the field and so on. This strikes me as very odd indeed.
>>
>> "I came across your discussion, and felt that you would be an ideal
>> person to review this book for us."
>>
>> Is opaque in the extreme: what discussion? where? and what on earth would
>> that actually tell you
>> about either my ability to review a publication or my academic bona fides
>> vis-a-vis computer programming.
>>
>> Now all they are offering me for my work seems to be a hard copy of the
>> book plus another from their
>> "stable" of publications. That is all very jolly, but it is not what
>> motivates me; what does is the fact that my
>> c.v. has got a bit thin on the ground recently, and the odd editorship
>> and/or publication would spice things
>> up a bit when/if I decide to apply for a new job.
>>
>> What I am really wondering is whether this will have any sort of clout in
>> a c.v at all, or is just a bit of
>> fun to get a couple of books.
>>
>> 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
>>
>>
> --
> 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 monte at sweattechnologies.com  Tue Jul  9 16:20:09 2013
From: monte at sweattechnologies.com (Monte Goulding)
Date: Wed, 10 Jul 2013 06:20:09 +1000
Subject: mApp LC6.1 crash
In-Reply-To: <3E02F5BA-DBA9-4B1D-8403-FCA6BF04D1C8@mac.com>
References: 
	<3E02F5BA-DBA9-4B1D-8403-FCA6BF04D1C8@mac.com>
Message-ID: 


On 10/07/2013, at 12:45 AM, Thomas McGrath III  wrote:

> I have been trying to test a sample stack in 6.1 Build 2005 for iOS simulator and it just crashes immediately when selecting "Test". This stack works perfectly in 5.5.5
> It uses mAPP Mobile Application Framework
> 
> Crashed Thread:  0  Dispatch queue: com.apple.main-thread

That's the one ;-)

Note that you will probably need to fix the behavior of the stack and delete the stack named "mAppLibrary "&the seconds...

--
Monte Goulding

M E R Goulding - software development services
mergExt - There's an external for that!







From m.schonewille at economy-x-talk.com  Tue Jul  9 16:35:31 2013
From: m.schonewille at economy-x-talk.com (Mark Schonewille)
Date: Tue, 9 Jul 2013 22:35:31 +0200
Subject: [OT] Packtpub?
In-Reply-To: <51DC6275.9060105@gmail.com>
References: <51DC6275.9060105@gmail.com>
Message-ID: <9857AA36-E541-41D3-A892-34215A42E2F2@economy-x-talk.com>

Hi Richmond,

Yes, it looks like they operate from India, but the owner of the company might be in Great Britain or somewhere else. They work with interns it seems, whom they may not have to pay. They don't pay reviewers/editors and I think they pay authors per book sold. So, that's pretty much a risk-less enterprise for them (or him).

They have no academic standing whatsoever. Perhaps their interns don't even know what that is. Actually, I might be misunderstanding your exact definition of academic standing as well.

I don't know their market reach, but they use their own website and Amazon and that seems to work well for them.

I got the same e-mail as you. Apparently, they collected e-mails on this list. I'm slightly offended, because they said I'd be _the_ ideal person, while apparently dozens or hundreds of other persons appear to be equally ideal. I'm not offended because I'm no more ideal than you, but because they don't mean what they write.

If you decide to do this, consider this a fun job. It is hardly worth mentioning on your c.v. If I decide to do this, it'll be to help out the author, not for them or for me.

They found the author by asking in a number of places, like forums, mailing lists, Facebook and LinkedIn. The author must have thought he was fit for the task and decided to respond to the request.

--
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 9 jul 2013, at 21:20, Richmond wrote:

> Packtpub, apparently an India-based published operation concerned largely with computer stuff
> have asked me to be involved in editing a publication.
> 
> What is unclear to me, and they don't seem to want to answer . . .
> 
> . . . is what their academic standing is as well as the extent of their market reach.
> 
> What is also unclear is how they select their editors as they have made no enquiry as to an academic qualifications I may have, years of experience in the field and so on. This strikes me as very odd indeed.
> 
> "I came across your discussion, and felt that you would be an ideal person to review this book for us."
> 
> Is opaque in the extreme: what discussion? where? and what on earth would that actually tell you
> about either my ability to review a publication or my academic bona fides vis-a-vis computer programming.
> 
> Now all they are offering me for my work seems to be a hard copy of the book plus another from their
> "stable" of publications. That is all very jolly, but it is not what motivates me; what does is the fact that my
> c.v. has got a bit thin on the ground recently, and the odd editorship and/or publication would spice things
> up a bit when/if I decide to apply for a new job.
> 
> What I am really wondering is whether this will have any sort of clout in a c.v at all, or is just a bit of
> fun to get a couple of books.
> 
> 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 bvg at mac.com  Tue Jul  9 16:36:31 2013
From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=)
Date: Tue, 09 Jul 2013 22:36:31 +0200
Subject: on-rev reliability ?
In-Reply-To: <170e926b336a9db82f507fd0883ea873.squirrel@thor.on-rev.com>
References: <170e926b336a9db82f507fd0883ea873.squirrel@thor.on-rev.com>
Message-ID: 

I have not made any sophisticated solutions on on-rev. However, The servers where seldomly down for me. I was on Loki, and during the server move was transferred to tio. I don't think i've had many major downs, altho I am mostly judging it by the availability of email service (am not checking my site regularly).

I too have seen a lot of mentions of thor downtimes. It seems to me, that one is a "dirty" server somehow, at least compared to the ones I was/am on.

Said that, if you worry about downtime so much, I am very sure that a single failure shared hosting point like on-rev is not what you want, not even "my" experience. Neither would of course be dreamhost, networksolutions or other such services. You'd need a dedicated machine (rack space), or a cloud based account like amazon offers. Those do cost money and are harder to set up and also need more work to maintain.



On 09.07.2013, at 20:32, jbv at souslelogo.com wrote:

> Hi folks,
> 
> I'm back on this list after a few of years (although I never stopped using
> LC).
> I'd like to get opinions and experiences about on-rev...
> 
> I have been using the service for almost 3 years via 3 different accounts,
> and have
> built professional apps & websites on LC & on-rev, and several companies
> are using these apps
> and have built their business around them.
> Everything worked seamlessly for almost 2 years, but last february &
> march, we
> started experiencing huge & frequent server (thor) crashes and slowdowns,
> which put us
> in a terrible situation towards our clients who threatened to sue us
> because we weren't
> delivering the service they paid for...
> Meanwhile, one of our accounts was moved to a new server (pancake) but it
> appeared that
> something went wrong during the move, because we experienced random bugs
> in some
> scripts that lead to corrupted data in DBs and random errors in
> automatically generated
> pdf files (invoices for instance)... To solve this problem, I had to move
> all scripts, files and
> DBs to another account of ours still on thor...
> Last but not least, for the last few days, we had a few server crashes
> again, and of course
> our clients yelling at us... Last week-end I also noticed some erratic
> behavior during ftp
> transfer that lead to corrupted scripts and huge bugs in web pages...
> 
> Searching through the list archives I found a few posts mentioning that
> thor was "down
> again", but nobody seemed to be in a panic business-wise because of that...
> 
> So finally, here's my question / request : we have the feeling that most
> of the problems
> are due to the fact that thor is a shared server and that some other
> on-rev users are
> playing dirty games, and we are thinking of moving our accounts to a
> dedicated server.
> Before subscribing to on-rev, I had a Revolution engine installed on a
> dedicated Linux
> server an experienced crashes or slowdowns only 2 or 3 times a year, not
> every 2 or
> 3 days...
> Does anyone on this list have built rather sophisticated with Livecode &
> on-rev ?
> If yes, how do you deal with all those server problems ?
> 
> Thanks in advance for any opinion, and sorry for the long post...
> 
> jbv
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


-- 

Use an alternative Dictionary viewer:
http://bjoernke.com/bvgdocu/

Chat with other RunRev developers:
http://bjoernke.com/chatrev/





From harrison at all-auctions.com  Tue Jul  9 16:43:40 2013
From: harrison at all-auctions.com (Rick Harrison)
Date: Tue, 9 Jul 2013 16:43:40 -0400
Subject: [OT] Strange OSX Problems
In-Reply-To: 
References: 
Message-ID: <15D7CDD3-BDAC-43B9-BDBC-494720A9EFCA@all-auctions.com>

Hi Peter,

If I were you I'd also run a disk diagnostic program like
"DiskWarrior" just to see everything on your hard drive is correct.

Do a full backup of your computer hard drive
with Time Machine or else do a full image backup.
Then, realize that OS X.7.4 is not current and upgrade to OS X.7.5.

Try running the "Activity Monitor" to see if there is anything
out of the ordinary taking up the CPU cycles that shouldn't be.

If the problem still doesn't go away then:

Try running a "Virus Scanning" program just to be sure you haven't 
picked up a trojan anywhere from the internet.  (That's a long shot,
but may be worth the piece of mind.)

Sometimes a failing hard drive will lock things up too.

Try booting in "Safe Mode" to see if the problem goes away.
If it does then there is something else going on.

Hope this helps!

Rick

On Jul 9, 2013, at 3:49 PM, Peter Haworth  wrote:

> I am experiencing some very strange OSX 10.7.4 behavior and hoping someone
> may be able to shed some light on it.
> 
> All works fine for some undefined period of time, then I find that no new
> applications will launch either from the dock or double clicking them in
> the FInder or right clicking them and selecting open in the Finder.  No
> error message, just nothing happens.  Applications that are already running
> continue to work fine.
> 
> Concurrent with this, if I try to go to a new URL in my browser (Chrome),
> once again, nothing happens, no error message.
> 
> Restarting fixes the problem but it always reoccurs after some undefined
> period of time.
> 
> I have done the obvious things (verfying disks, repairing permissions) but
> they made no difference.  Also checked disk space on my home drive and
> there's plenty available.
> 
> Any diagnostic or fix ideas most welcome.
> 
> 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 jacque at hyperactivesw.com  Tue Jul  9 17:08:36 2013
From: jacque at hyperactivesw.com (J. Landman Gay)
Date: Tue, 09 Jul 2013 16:08:36 -0500
Subject: [OT] Packtpub?
In-Reply-To: <51DC651E.5060607@pdslabs.net>
References: <51DC6275.9060105@gmail.com> <51DC651E.5060607@pdslabs.net>
Message-ID: <51DC7BD4.9060607@hyperactivesw.com>

I got one too, they write me a couple of times a year. I reviewed a book 
outline for them once. They don't pay for any of that.

On 7/9/13 2:31 PM, Phil Davis wrote:
> Hi Richmond,
>
> They published Colin's book last year. That all I know about them.
>
> I received an email from them too, similar to yours. Not sure how to
> respond.
>
> Best -
> Phil Davis
>
>
> On 7/9/13 12:20 PM, Richmond wrote:
>> Packtpub, apparently an India-based published operation concerned
>> largely with computer stuff
>> have asked me to be involved in editing a publication.
>>
>> What is unclear to me, and they don't seem to want to answer . . .
>>
>>  . . . is what their academic standing is as well as the extent of
>> their market reach.
>>
>> What is also unclear is how they select their editors as they have
>> made no enquiry as to an academic qualifications I may have, years of
>> experience in the field and so on. This strikes me as very odd indeed.
>>
>> "I came across your discussion, and felt that you would be an ideal
>> person to review this book for us."
>>
>> Is opaque in the extreme: what discussion? where? and what on earth
>> would that actually tell you
>> about either my ability to review a publication or my academic bona
>> fides vis-a-vis computer programming.
>>
>> Now all they are offering me for my work seems to be a hard copy of
>> the book plus another from their
>> "stable" of publications. That is all very jolly, but it is not what
>> motivates me; what does is the fact that my
>> c.v. has got a bit thin on the ground recently, and the odd editorship
>> and/or publication would spice things
>> up a bit when/if I decide to apply for a new job.
>>
>> What I am really wondering is whether this will have any sort of clout
>> in a c.v at all, or is just a bit of
>> fun to get a couple of books.
>>
>> Richmond.
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>


-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



From lfredricks at proactive-intl.com  Tue Jul  9 17:14:03 2013
From: lfredricks at proactive-intl.com (Lynn Fredricks)
Date: Tue, 9 Jul 2013 14:14:03 -0700
Subject: [OT] Packtpub?
In-Reply-To: <51DC6275.9060105@gmail.com>
References: <51DC6275.9060105@gmail.com>
Message-ID: <81D140280EA3448399DB3B581463472E@GATEWAY>

> Packtpub, apparently an India-based published operation 
> concerned largely with computer stuff have asked me to be 
> involved in editing a publication.

They are India-based, but they do get technical books into retail. Ive seen
plenty and read a couple - a Joomla book, plus another one.

> Is opaque in the extreme: what discussion? where? and what on 
> earth would that actually tell you about either my ability to 
> review a publication or my academic bona fides vis-a-vis 
> computer programming.
> 
> Now all they are offering me for my work seems to be a hard 
> copy of the book plus another from their "stable" of 
> publications. That is all very jolly, but it is not what 
> motivates me; what does is the fact that my c.v. has got a 
> bit thin on the ground recently, and the odd editorship 
> and/or publication would spice things up a bit when/if I 
> decide to apply for a new job.
> 
> What I am really wondering is whether this will have any sort 
> of clout in a c.v at all, or is just a bit of fun to get a 
> couple of books.

They aren't as well known as O'Reilley but they are willing to publish books
on relatively new (or not that well known) technologies.

Sometimes they get a bit spammy on promotions, but I lay that more to
someone inside being assigned to promote a book and getting overzealous.

It wouldn't look good if they paid you to review a book - getting a free
copy is about what they can do. Its not like doctors going to pharma
lectures ;-)

Best regards,

Lynn Fredricks
President
Paradigma Software
http://www.paradigmasoft.com

Valentina SQL Server: The Ultra-fast, Royalty Free Database Server 









From pete at lcsql.com  Tue Jul  9 17:19:11 2013
From: pete at lcsql.com (Peter Haworth)
Date: Tue, 9 Jul 2013 14:19:11 -0700
Subject: [OT] Strange OSX Problems
In-Reply-To: <15D7CDD3-BDAC-43B9-BDBC-494720A9EFCA@all-auctions.com>
References: 
	<15D7CDD3-BDAC-43B9-BDBC-494720A9EFCA@all-auctions.com>
Message-ID: 

Thanks Rick,
I'll check into all those things.

Searching on the web, it appears the most likely cause is an impending hard
drive failure.  Fortunately, I use Time Machine to do regular backups so,
with a few exceptions like temp and caches, I have a complete, up to date
backup.

Pete
lcSQL Software 


On Tue, Jul 9, 2013 at 1:43 PM, Rick Harrison wrote:

> Hi Peter,
>
> If I were you I'd also run a disk diagnostic program like
> "DiskWarrior" just to see everything on your hard drive is correct.
>
> Do a full backup of your computer hard drive
> with Time Machine or else do a full image backup.
> Then, realize that OS X.7.4 is not current and upgrade to OS X.7.5.
>
> Try running the "Activity Monitor" to see if there is anything
> out of the ordinary taking up the CPU cycles that shouldn't be.
>
> If the problem still doesn't go away then:
>
> Try running a "Virus Scanning" program just to be sure you haven't
> picked up a trojan anywhere from the internet.  (That's a long shot,
> but may be worth the piece of mind.)
>
> Sometimes a failing hard drive will lock things up too.
>
> Try booting in "Safe Mode" to see if the problem goes away.
> If it does then there is something else going on.
>
> Hope this helps!
>
> Rick
>
> On Jul 9, 2013, at 3:49 PM, Peter Haworth  wrote:
>
> > I am experiencing some very strange OSX 10.7.4 behavior and hoping
> someone
> > may be able to shed some light on it.
> >
> > All works fine for some undefined period of time, then I find that no new
> > applications will launch either from the dock or double clicking them in
> > the FInder or right clicking them and selecting open in the Finder.  No
> > error message, just nothing happens.  Applications that are already
> running
> > continue to work fine.
> >
> > Concurrent with this, if I try to go to a new URL in my browser (Chrome),
> > once again, nothing happens, no error message.
> >
> > Restarting fixes the problem but it always reoccurs after some undefined
> > period of time.
> >
> > I have done the obvious things (verfying disks, repairing permissions)
> but
> > they made no difference.  Also checked disk space on my home drive and
> > there's plenty available.
> >
> > Any diagnostic or fix ideas most welcome.
> >
> > 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 coiin at verizon.net  Tue Jul  9 17:22:59 2013
From: coiin at verizon.net (Colin Holgate)
Date: Tue, 09 Jul 2013 17:22:59 -0400
Subject: [OT] Packtpub?
In-Reply-To: <51DC7BD4.9060607@hyperactivesw.com>
References: <51DC6275.9060105@gmail.com> <51DC651E.5060607@pdslabs.net>
	<51DC7BD4.9060607@hyperactivesw.com>
Message-ID: 

They also asked me. Glad they asked enough people to hopefully get a couple of takers.

I have been a reviewer on two Packt books, both SketchUp ones, and it?s an interesting task to take on. You end up reading the book more closely than you would if you were a regular reader. Also, you go through every single exercise in the book, so that you can then pass back comments about any points of confusion.

There?s a small amount of money you get too, but for the two books I reviewed I told them not to bother paying me, it wasn?t enough money to be worth the hassle of declaring it in my income.


From m.schonewille at economy-x-talk.com  Tue Jul  9 17:29:26 2013
From: m.schonewille at economy-x-talk.com (Mark Schonewille)
Date: Tue, 9 Jul 2013 23:29:26 +0200
Subject: [OT] Packtpub?
In-Reply-To: 
References: <51DC6275.9060105@gmail.com> <51DC651E.5060607@pdslabs.net>
	<51DC7BD4.9060607@hyperactivesw.com>
	
Message-ID: 

Hi Colin,

You don't get paid (anymore) for reviewing or editing a book.

--
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 9 jul 2013, at 23:22, Colin Holgate wrote:

> They also asked me. Glad they asked enough people to hopefully get a couple of takers.
> 
> I have been a reviewer on two Packt books, both SketchUp ones, and it?s an interesting task to take on. You end up reading the book more closely than you would if you were a regular reader. Also, you go through every single exercise in the book, so that you can then pass back comments about any points of confusion.
> 
> There?s a small amount of money you get too, but for the two books I reviewed I told them not to bother paying me, it wasn?t enough money to be worth the hassle of declaring it in my income.





From m.schonewille at economy-x-talk.com  Tue Jul  9 17:31:51 2013
From: m.schonewille at economy-x-talk.com (Mark Schonewille)
Date: Tue, 09 Jul 2013 23:31:51 +0200
Subject: [OT] Packtpub?
In-Reply-To: 
References: <51DC6275.9060105@gmail.com> <51DC651E.5060607@pdslabs.net>
	<51DC7BD4.9060607@hyperactivesw.com>
	
	
Message-ID: <51DC8147.604@economy-x-talk.com>

Oh, wait a sec. I don't mean "you" specifically ;-)

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other 
colour spaces. http://www.color-converter.com

Buy my new book "Programming LiveCode for the Real Beginner" 
http://qery.us/3fi

Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/


On 7/9/2013 23:29, Mark Schonewille wrote:
> Hi Colin,
>
> You don't get paid (anymore) for reviewing or editing a book.
>
>
> On 9 jul 2013, at 23:22, Colin Holgate wrote:
>
>> They also asked me. Glad they asked enough people to hopefully get a couple of takers.
>>
>> I have been a reviewer on two Packt books, both SketchUp ones, and it?s an interesting task to take on. You end up reading the book more closely than you would if you were a regular reader. Also, you go through every single exercise in the book, so that you can then pass back comments about any points of confusion.
>>
>> There?s a small amount of money you get too, but for the two books I reviewed I told them not to bother paying me, it wasn?t enough money to be worth the hassle of declaring it in my income.
>
>



From sc at sahores-conseil.com  Tue Jul  9 18:22:35 2013
From: sc at sahores-conseil.com (Pierre Sahores)
Date: Wed, 10 Jul 2013 00:22:35 +0200
Subject: on-rev reliability ?
In-Reply-To: <170e926b336a9db82f507fd0883ea873.squirrel@thor.on-rev.com>
References: <170e926b336a9db82f507fd0883ea873.squirrel@thor.on-rev.com>
Message-ID: 

jbv,

Le 9 juil. 2013 ? 20:32, jbv at souslelogo.com a ?crit :

> Meanwhile, one of our accounts was moved to a new server (pancake) but it
> appeared that
> something went wrong during the move, because we experienced random bugs
> in some
> scripts that lead to corrupted data in DBs and random errors in
> automatically generated
> pdf files (invoices for instance)... To solve this problem, I had to move
> all scripts, files and
> DBs to another account of ours still on thor?

AFAIK, the PostgreSQL version installed on pancake (8.4.13) > the one i relied before on Loki (8.1.x) needed me to update some of my revDB calls to get my LC-Server apps OK. Was not a LC problem but a PostgreSQL one. If your LC-Server powered apps don't rely on a PostgreSQL backend, the problem should be elsewhere (MySQL ?) but in case of yes, see below what revDB call update went needed on my side, very simple to the end (all the statements containing a WHERE close have to be updated) :

What worked fine before against PostgreSQL 8.1.x :

>  put "SELECT * FROM" && CustArticles && "WHERE article_chemin = '" & tparam2 & "'" into sqlStatement
>  put revQueryDatabase(myDatabaseID,sqlStatement) into dbCursorID


need to become against PostgreSQL 8.4.13 :

>  put "SELECT * FROM" && CustArticles && "WHERE CAST(article_chemin as TEXT) = '" & tparam2 & "'" into sqlStatement
>  put revQueryDatabase(myDatabaseID,sqlStatement) into dbCursorID

Same kind of pg syntax update are needed against the DELETE ? WHERE and UPDATE ? WHERE statements.

That said, pancake is against my own LC-Server/PostgreSQL production apps (previously installed on loki) a very trustable and reliable platform with no down time at all (alike this seems to happen, time to time, against some other on-rev servers even if my own apps went running perfectly fine too when they went hosted on loki).

> widestep
> 
> Uptime	Outages	Response time
> 100.00%	1	462 ms
> 
> Downtimes
> 
> From	To	Downtime
> 2013-06-12 12:13:27	2013-06-12 12:14:27	0h 01m 00s
> 
> This is a scheduled report from Pingdom. If you wish to no longer receive this report you can unsubscribe by logging in to My Pingdom and update your email report settings.
> 
> 
> Copyright ? 2013 Pingdom AB

HTH,
--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com




From sc at sahores-conseil.com  Tue Jul  9 18:26:45 2013
From: sc at sahores-conseil.com (Pierre Sahores)
Date: Wed, 10 Jul 2013 00:26:45 +0200
Subject: [OT] Strange OSX Problems
In-Reply-To: 
References: 
	<15D7CDD3-BDAC-43B9-BDBC-494720A9EFCA@all-auctions.com>
	
Message-ID: 

I got this kind of troubles before and the HD was effectivelly in fault. Replacing it solved 100% of the problem.

Le 9 juil. 2013 ? 23:19, Peter Haworth a ?crit :

> Thanks Rick,
> I'll check into all those things.
> 
> Searching on the web, it appears the most likely cause is an impending hard
> drive failure.  Fortunately, I use Time Machine to do regular backups so,
> with a few exceptions like temp and caches, I have a complete, up to date
> backup.
> 
> Pete
> lcSQL Software 
> 
> 
> On Tue, Jul 9, 2013 at 1:43 PM, Rick Harrison wrote:
> 
>> Hi Peter,
>> 
>> If I were you I'd also run a disk diagnostic program like
>> "DiskWarrior" just to see everything on your hard drive is correct.
>> 
>> Do a full backup of your computer hard drive
>> with Time Machine or else do a full image backup.
>> Then, realize that OS X.7.4 is not current and upgrade to OS X.7.5.
>> 
>> Try running the "Activity Monitor" to see if there is anything
>> out of the ordinary taking up the CPU cycles that shouldn't be.
>> 
>> If the problem still doesn't go away then:
>> 
>> Try running a "Virus Scanning" program just to be sure you haven't
>> picked up a trojan anywhere from the internet.  (That's a long shot,
>> but may be worth the piece of mind.)
>> 
>> Sometimes a failing hard drive will lock things up too.
>> 
>> Try booting in "Safe Mode" to see if the problem goes away.
>> If it does then there is something else going on.
>> 
>> Hope this helps!
>> 
>> Rick
>> 
>> On Jul 9, 2013, at 3:49 PM, Peter Haworth  wrote:
>> 
>>> I am experiencing some very strange OSX 10.7.4 behavior and hoping
>> someone
>>> may be able to shed some light on it.
>>> 
>>> All works fine for some undefined period of time, then I find that no new
>>> applications will launch either from the dock or double clicking them in
>>> the FInder or right clicking them and selecting open in the Finder.  No
>>> error message, just nothing happens.  Applications that are already
>> running
>>> continue to work fine.
>>> 
>>> Concurrent with this, if I try to go to a new URL in my browser (Chrome),
>>> once again, nothing happens, no error message.
>>> 
>>> Restarting fixes the problem but it always reoccurs after some undefined
>>> period of time.
>>> 
>>> I have done the obvious things (verfying disks, repairing permissions)
>> but
>>> they made no difference.  Also checked disk space on my home drive and
>>> there's plenty available.
>>> 
>>> Any diagnostic or fix ideas most welcome.
>>> 
>>> 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

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com




From pete at lcsql.com  Tue Jul  9 19:20:23 2013
From: pete at lcsql.com (Peter Haworth)
Date: Tue, 9 Jul 2013 16:20:23 -0700
Subject: [OT] Strange OSX Problems
In-Reply-To: 
References: 
	<15D7CDD3-BDAC-43B9-BDBC-494720A9EFCA@all-auctions.com>
	
	
Message-ID: 

Thanks Pierre, I'm afraid it's looking like I will have to get a new hard
drive.  Thank goodness for Time Machine!

Pete
lcSQL Software 


On Tue, Jul 9, 2013 at 3:26 PM, Pierre Sahores wrote:

> I got this kind of troubles before and the HD was effectivelly in fault.
> Replacing it solved 100% of the problem.
>
> Le 9 juil. 2013 ? 23:19, Peter Haworth a ?crit :
>
> > Thanks Rick,
> > I'll check into all those things.
> >
> > Searching on the web, it appears the most likely cause is an impending
> hard
> > drive failure.  Fortunately, I use Time Machine to do regular backups so,
> > with a few exceptions like temp and caches, I have a complete, up to date
> > backup.
> >
> > Pete
> > lcSQL Software 
> >
> >
> > On Tue, Jul 9, 2013 at 1:43 PM, Rick Harrison  >wrote:
> >
> >> Hi Peter,
> >>
> >> If I were you I'd also run a disk diagnostic program like
> >> "DiskWarrior" just to see everything on your hard drive is correct.
> >>
> >> Do a full backup of your computer hard drive
> >> with Time Machine or else do a full image backup.
> >> Then, realize that OS X.7.4 is not current and upgrade to OS X.7.5.
> >>
> >> Try running the "Activity Monitor" to see if there is anything
> >> out of the ordinary taking up the CPU cycles that shouldn't be.
> >>
> >> If the problem still doesn't go away then:
> >>
> >> Try running a "Virus Scanning" program just to be sure you haven't
> >> picked up a trojan anywhere from the internet.  (That's a long shot,
> >> but may be worth the piece of mind.)
> >>
> >> Sometimes a failing hard drive will lock things up too.
> >>
> >> Try booting in "Safe Mode" to see if the problem goes away.
> >> If it does then there is something else going on.
> >>
> >> Hope this helps!
> >>
> >> Rick
> >>
> >> On Jul 9, 2013, at 3:49 PM, Peter Haworth  wrote:
> >>
> >>> I am experiencing some very strange OSX 10.7.4 behavior and hoping
> >> someone
> >>> may be able to shed some light on it.
> >>>
> >>> All works fine for some undefined period of time, then I find that no
> new
> >>> applications will launch either from the dock or double clicking them
> in
> >>> the FInder or right clicking them and selecting open in the Finder.  No
> >>> error message, just nothing happens.  Applications that are already
> >> running
> >>> continue to work fine.
> >>>
> >>> Concurrent with this, if I try to go to a new URL in my browser
> (Chrome),
> >>> once again, nothing happens, no error message.
> >>>
> >>> Restarting fixes the problem but it always reoccurs after some
> undefined
> >>> period of time.
> >>>
> >>> I have done the obvious things (verfying disks, repairing permissions)
> >> but
> >>> they made no difference.  Also checked disk space on my home drive and
> >>> there's plenty available.
> >>>
> >>> Any diagnostic or fix ideas most welcome.
> >>>
> >>> 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
>
> --
> 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 selander at tkf.att.ne.jp  Tue Jul  9 19:51:33 2013
From: selander at tkf.att.ne.jp (Tim Selander)
Date: Wed, 10 Jul 2013 08:51:33 +0900
Subject: on-rev reliability ?
In-Reply-To: <170e926b336a9db82f507fd0883ea873.squirrel@thor.on-rev.com>
References: <170e926b336a9db82f507fd0883ea873.squirrel@thor.on-rev.com>
Message-ID: <51DCA205.5000403@tkf.att.ne.jp>

I have been on freyr and then recently was moved to pancake. I 
would say that my experience parallels yours, though, thankfully, 
not with clients -- just our own company. I don't run programs at 
all -- just http forms on our website and email for our 30 employees.

We have experienced a /lot/ of trouble with email -- which really 
hurts business. Also, we do radio and tv programs, and let 
viewers contact us via the web page. We're just a local program 
so the volume is not huge, but, still, when the web page goes 
down a couple hours before airtime, it is very stressful.

Just yesterday, our email was down again for 2 or 3 hours in the 
middle of the afternoon.

Frankly, I think we're going to have to give up on on-rev, and 
I've got egg all over my face for having recommended them to the 
company during the 'founder' campaign....

Tim Selander
Tokyo, Japan

On 7/10/13 3:32 AM, jbv at souslelogo.com wrote:
> Hi folks,
>
> I'm back on this list after a few of years (although I never stopped using
> LC).
> I'd like to get opinions and experiences about on-rev...
>
> I have been using the service for almost 3 years via 3 different accounts,
> and have
> built professional apps & websites on LC & on-rev, and several companies
> are using these apps
> and have built their business around them.
> Everything worked seamlessly for almost 2 years, but last february &
> march, we
> started experiencing huge & frequent server (thor) crashes and slowdowns,
> which put us
> in a terrible situation towards our clients who threatened to sue us
> because we weren't
> delivering the service they paid for...
> Meanwhile, one of our accounts was moved to a new server (pancake) but it
> appeared that
> something went wrong during the move, because we experienced random bugs
> in some
> scripts that lead to corrupted data in DBs and random errors in
> automatically generated
> pdf files (invoices for instance)... To solve this problem, I had to move
> all scripts, files and
> DBs to another account of ours still on thor...
> Last but not least, for the last few days, we had a few server crashes
> again, and of course
> our clients yelling at us... Last week-end I also noticed some erratic
> behavior during ftp
> transfer that lead to corrupted scripts and huge bugs in web pages...
>
> Searching through the list archives I found a few posts mentioning that
> thor was "down
> again", but nobody seemed to be in a panic business-wise because of that...
>
> So finally, here's my question / request : we have the feeling that most
> of the problems
> are due to the fact that thor is a shared server and that some other
> on-rev users are
> playing dirty games, and we are thinking of moving our accounts to a
> dedicated server.
> Before subscribing to on-rev, I had a Revolution engine installed on a
> dedicated Linux
> server an experienced crashes or slowdowns only 2 or 3 times a year, not
> every 2 or
> 3 days...
> Does anyone on this list have built rather sophisticated with Livecode &
> on-rev ?
> If yes, how do you deal with all those server problems ?
>
> Thanks in advance for any opinion, and sorry for the long post...
>
> jbv
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



From mwieder at ahsoftware.net  Tue Jul  9 20:13:34 2013
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Wed, 10 Jul 2013 00:13:34 +0000 (UTC)
Subject: [OT] Packtpub?
References: <51DC6275.9060105@gmail.com>
Message-ID: 

Richmond  writes:

> 
> Packtpub

Packtpub is possibly the worst company I have ever dealt with online.

> What is unclear to me, and they don't seem to want to answer . . .

That is correct. They answer nothing. Not queries, not support emails about
why they charge a different amount than on an order, nothing. There's no
contact information other than a web page that gets no responses. Emails to
support go unanswered and presumably end up in a bitbucket.

I'm surprised they're in India - I would have guessed Nigeria.
I'd stay far away from them.

Wait... did I say "possibly" above? Strike that.

-- 
 Mark Wieder
 mwieder at ahsoftware.net








From mwieder at ahsoftware.net  Tue Jul  9 20:17:48 2013
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Wed, 10 Jul 2013 00:17:48 +0000 (UTC)
Subject: [OT] Strange OSX Problems
References: 
	<15D7CDD3-BDAC-43B9-BDBC-494720A9EFCA@all-auctions.com>
	
	
	
Message-ID: 

Peter Haworth  writes:

> 
> Thanks Pierre, I'm afraid it's looking like I will have to get a new hard
> drive.  Thank goodness for Time Machine!

Interesting. I just had the opposite experience. My Time Machine drive
seemed like it was active constantly, and it took forever to copy a few
megabytes of data to the drive. I finally realized, after some googling,
that it was a faulty backup drive. I reformatted the drive, ran disk
utility, and Time Machine is happy again. I no longer have backups past this
last weekend, but that's a small price to pay for actually having backups
now that I can rely on.

-- 
 Mark Wieder
 mwieder at ahsoftware.net





From mwieder at ahsoftware.net  Tue Jul  9 20:22:32 2013
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Wed, 10 Jul 2013 00:22:32 +0000 (UTC)
Subject: on-rev reliability ?
References: <170e926b336a9db82f507fd0883ea873.squirrel@thor.on-rev.com>
	<51DCA205.5000403@tkf.att.ne.jp>
Message-ID: 

Tim Selander  writes:

> Just yesterday, our email was down again for 2 or 3 hours in the 
> middle of the afternoon.

Yeah, what a pain. And then when it started coming in all the emails were
out of sync. Ended up getting some responses before the original questions.

-- 
 Mark Wieder
 mwieder at ahsoftware.net





From mwieder at ahsoftware.net  Tue Jul  9 20:26:20 2013
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Wed, 10 Jul 2013 00:26:20 +0000 (UTC)
Subject: on-rev reliability ?
References: <170e926b336a9db82f507fd0883ea873.squirrel@thor.on-rev.com>
Message-ID: 

  writes:

> So finally, here's my question / request : we have the feeling that most
> of the problems
> are due to the fact that thor is a shared server and that some other
> on-rev users are
> playing dirty games, and we are thinking of moving our accounts to a
> dedicated server.

It gets worse - because of the shared servers, the server's ip address and
or address block can get blacklisted by spamhaus or other services and then
you have to petition them to get back on the air.

-- 
 Mark Wieder
 mwieder at ahsoftware.net





From pete at lcsql.com  Tue Jul  9 20:48:00 2013
From: pete at lcsql.com (Peter Haworth)
Date: Tue, 9 Jul 2013 17:48:00 -0700
Subject: [OT] Strange OSX Problems
In-Reply-To: 
References: 
	<15D7CDD3-BDAC-43B9-BDBC-494720A9EFCA@all-auctions.com>
	
	
	
	
Message-ID: 

I'm a little suspicious of Time Machine too.  In the process of verifying
the drive right now.

Pete
lcSQL Software 


On Tue, Jul 9, 2013 at 5:17 PM, Mark Wieder  wrote:

> Peter Haworth  writes:
>
> >
> > Thanks Pierre, I'm afraid it's looking like I will have to get a new hard
> > drive.  Thank goodness for Time Machine!
>
> Interesting. I just had the opposite experience. My Time Machine drive
> seemed like it was active constantly, and it took forever to copy a few
> megabytes of data to the drive. I finally realized, after some googling,
> that it was a faulty backup drive. I reformatted the drive, ran disk
> utility, and Time Machine is happy again. I no longer have backups past
> this
> last weekend, but that's a small price to pay for actually having backups
> now that I can rely on.
>
> --
>  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 mwieder at ahsoftware.net  Tue Jul  9 21:11:43 2013
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Tue, 9 Jul 2013 18:11:43 -0700
Subject: [OT] Strange OSX Problems
In-Reply-To: 
References: 
	<15D7CDD3-BDAC-43B9-BDBC-494720A9EFCA@all-auctions.com>
	
	
	
	
	
Message-ID: <101267338560.20130709181143@ahsoftware.net>

Pete-

Tuesday, July 9, 2013, 5:48:00 PM, you wrote:

> I'm a little suspicious of Time Machine too.  In the process of verifying
> the drive right now.

You might want to check the Time Machine logs. They should tell you if
there was any trouble along the way. In my case it was pretty obvious
even without the logs - the drive kept chugging away and the Time
Machine status showed something like 48k transferred and then maybe an
hour later it would move up to 49k.

-- 
-Mark Wieder
 mwieder at ahsoftware.net




From harrison at all-auctions.com  Tue Jul  9 22:02:19 2013
From: harrison at all-auctions.com (Rick Harrison)
Date: Tue, 9 Jul 2013 22:02:19 -0400
Subject: on-rev reliability ?
In-Reply-To: 
References: <170e926b336a9db82f507fd0883ea873.squirrel@thor.on-rev.com>
	
Message-ID: 

Hi Pierre,

Were you able to get phpPgAdmin to work correctly with
the new version of PostgreSQL?  It keeps throwing
permission errors at me when it tries to execute it's
SQL code for queries etc.

So now we have to use "WHERE CAST" instead of "WHERE"?
Who thought that would be better?

Of course now I'm on the tio server so I guess my mileage may vary from yours.

Thanks in advance,

Rick


On Jul 9, 2013, at 6:22 PM, Pierre Sahores  wrote:
> 
> AFAIK, the PostgreSQL version installed on pancake (8.4.13) > the one i relied before on Loki (8.1.x) needed me to update some of my revDB calls to get my LC-Server apps OK. Was not a LC problem but a PostgreSQL one. If your LC-Server powered apps don't rely on a PostgreSQL backend, the problem should be elsewhere (MySQL ?) but in case of yes, see below what revDB call update went needed on my side, very simple to the end (all the statements containing a WHERE close have to be updated) :
> 
> What worked fine before against PostgreSQL 8.1.x :
> 
>> put "SELECT * FROM" && CustArticles && "WHERE article_chemin = '" & tparam2 & "'" into sqlStatement
>> put revQueryDatabase(myDatabaseID,sqlStatement) into dbCursorID
> 
> 
> need to become against PostgreSQL 8.4.13 :
> 
>> put "SELECT * FROM" && CustArticles && "WHERE CAST(article_chemin as TEXT) = '" & tparam2 & "'" into sqlStatement
>> put revQueryDatabase(myDatabaseID,sqlStatement) into dbCursorID
> 
> Same kind of pg syntax update are needed against the DELETE ? WHERE and UPDATE ? WHERE statements.
> 
> That said, pancake is against my own LC-Server/PostgreSQL production apps (previously installed on loki) a very trustable and reliable platform with no down time at all (alike this seems to happen, time to time, against some other on-rev servers even if my own apps went running perfectly fine too when they went hosted on loki).
> 
>> widestep
>> 
>> Uptime	Outages	Response time
>> 100.00%	1	462 ms
>> 
>> Downtimes
>> 
>> From	To	Downtime
>> 2013-06-12 12:13:27	2013-06-12 12:14:27	0h 01m 00s
>> 
>> This is a scheduled report from Pingdom. If you wish to no longer receive this report you can unsubscribe by logging in to My Pingdom and update your email report settings.
>> 
>> 
>> Copyright ? 2013 Pingdom AB
> 
> HTH,
> --
> 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 pete at lcsql.com  Tue Jul  9 23:00:59 2013
From: pete at lcsql.com (Peter Haworth)
Date: Tue, 9 Jul 2013 20:00:59 -0700
Subject: [OT] Strange OSX Problems
In-Reply-To: <101267338560.20130709181143@ahsoftware.net>
References: 
	<15D7CDD3-BDAC-43B9-BDBC-494720A9EFCA@all-auctions.com>
	
	
	
	
	
	<101267338560.20130709181143@ahsoftware.net>
Message-ID: 

Gone away from the time machine theory.  The disk checked out OK and even
if I switch Time Machine off, the problem still occurs.

Strangely though, Disk  Utility reports no problems on  my main hard drive.
 Seems like it should have come up with something if the disk was going bad.

The problem has worsened to the point where, once it occurs, everything
works extremely slowly, applications won't fully quit, and if I shut the
computer down from the Apple Menu, I end up on the login screen and have to
shutdown from there or even physically power off.

The death of a drive is never pleasant - I'll probably scatter its ashes
over the rose garden.

Pete
lcSQL Software 


On Tue, Jul 9, 2013 at 6:11 PM, Mark Wieder  wrote:

> Pete-
>
> Tuesday, July 9, 2013, 5:48:00 PM, you wrote:
>
> > I'm a little suspicious of Time Machine too.  In the process of verifying
> > the drive right now.
>
> You might want to check the Time Machine logs. They should tell you if
> there was any trouble along the way. In my case it was pretty obvious
> even without the logs - the drive kept chugging away and the Time
> Machine status showed something like 48k transferred and then maybe an
> hour later it would move up to 49k.
>
> --
> -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 jacque at hyperactivesw.com  Wed Jul 10 00:09:02 2013
From: jacque at hyperactivesw.com (J. Landman Gay)
Date: Tue, 09 Jul 2013 23:09:02 -0500
Subject: on-rev reliability ?
In-Reply-To: 
References: <170e926b336a9db82f507fd0883ea873.squirrel@thor.on-rev.com>
	<51DCA205.5000403@tkf.att.ne.jp>
	
Message-ID: <51DCDE5E.7090703@hyperactivesw.com>

On 7/9/13 7:22 PM, Mark Wieder wrote:
> Tim Selander  writes:
>
>> Just yesterday, our email was down again for 2 or 3 hours in the
>> middle of the afternoon.
>
> Yeah, what a pain. And then when it started coming in all the emails were
> out of sync. Ended up getting some responses before the original questions.
>

That was my fault. Sorry.

;)

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



From jacque at hyperactivesw.com  Wed Jul 10 00:15:05 2013
From: jacque at hyperactivesw.com (J. Landman Gay)
Date: Tue, 09 Jul 2013 23:15:05 -0500
Subject: [OT] Strange OSX Problems
In-Reply-To: 
References: 
	<15D7CDD3-BDAC-43B9-BDBC-494720A9EFCA@all-auctions.com>
	
	
	
	
	
	<101267338560.20130709181143@ahsoftware.net>
	
Message-ID: <51DCDFC9.1000809@hyperactivesw.com>

On 7/9/13 10:00 PM, Peter Haworth wrote:
> Gone away from the time machine theory.  The disk checked out OK and even
> if I switch Time Machine off, the problem still occurs.
>
> Strangely though, Disk  Utility reports no problems on  my main hard drive.
>   Seems like it should have come up with something if the disk was going bad.
>
> The problem has worsened to the point where, once it occurs, everything
> works extremely slowly, applications won't fully quit, and if I shut the
> computer down from the Apple Menu, I end up on the login screen and have to
> shutdown from there or even physically power off.
>
> The death of a drive is never pleasant - I'll probably scatter its ashes
> over the rose garden.

I wouldn't wait much longer. If the drive is that bad, I wouldn't trust 
that the backups are being copied correctly. The backup drive is 
working, but who knows what data it's storing.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



From mwieder at ahsoftware.net  Wed Jul 10 00:22:19 2013
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Tue, 9 Jul 2013 21:22:19 -0700
Subject: In L.A.? Looking for something cool to do this weekend?
Message-ID: <13278775226.20130709212219@ahsoftware.net>

Stylophones!




-- 
-Mark Wieder
 mwieder at ahsoftware.net




From sc at sahores-conseil.com  Wed Jul 10 02:44:53 2013
From: sc at sahores-conseil.com (Pierre Sahores)
Date: Wed, 10 Jul 2013 08:44:53 +0200
Subject: on-rev reliability ?
In-Reply-To: 
References: <170e926b336a9db82f507fd0883ea873.squirrel@thor.on-rev.com>
	
	
Message-ID: 


Le 10 juil. 2013 ? 04:02, Rick Harrison a ?crit :

> Hi Pierre,
> 
> Were you able to get phpPgAdmin to work correctly with
> the new version of PostgreSQL?  It keeps throwing
> permission errors at me when it tries to execute it's
> SQL code for queries etc.

phpPgAdmin works fine against my apps. About the permission sets, i suppose you mean the tables owners rights. While accessing the tables via phpPgAdmin needs to use the main on-rev account owner rights, i have the habit to create and grant dedicated sub owners to my different dbs to restrict securely the way my LC-server handlers interacts with PostgreSQL and in this way all works fine and as expected.

> So now we have to use "WHERE CAST" instead of "WHERE"?
> Who thought that would be better?

A simple and interesting PostgreSQL ascending compatibility glich, at least but, to the end, PostgreSQL stay indeed the rock-solid RDBMS it always went before, AKA 100% trustable/reliable to the end ;-)
> 
> Of course now I'm on the tio server so I guess my mileage may vary from yours.

Just be sure to have an eye on the version number of the PostgreSQL installation running on tio to know if you have to update your LC coding?

Best,

Pierre
> 
> Thanks in advance,
> 
> Rick
> 
> 
> On Jul 9, 2013, at 6:22 PM, Pierre Sahores  wrote:
>> 
>> AFAIK, the PostgreSQL version installed on pancake (8.4.13) > the one i relied before on Loki (8.1.x) needed me to update some of my revDB calls to get my LC-Server apps OK. Was not a LC problem but a PostgreSQL one. If your LC-Server powered apps don't rely on a PostgreSQL backend, the problem should be elsewhere (MySQL ?) but in case of yes, see below what revDB call update went needed on my side, very simple to the end (all the statements containing a WHERE close have to be updated) :
>> 
>> What worked fine before against PostgreSQL 8.1.x :
>> 
>>> put "SELECT * FROM" && CustArticles && "WHERE article_chemin = '" & tparam2 & "'" into sqlStatement
>>> put revQueryDatabase(myDatabaseID,sqlStatement) into dbCursorID
>> 
>> 
>> need to become against PostgreSQL 8.4.13 :
>> 
>>> put "SELECT * FROM" && CustArticles && "WHERE CAST(article_chemin as TEXT) = '" & tparam2 & "'" into sqlStatement
>>> put revQueryDatabase(myDatabaseID,sqlStatement) into dbCursorID
>> 
>> Same kind of pg syntax update are needed against the DELETE ? WHERE and UPDATE ? WHERE statements.
>> 
>> That said, pancake is against my own LC-Server/PostgreSQL production apps (previously installed on loki) a very trustable and reliable platform with no down time at all (alike this seems to happen, time to time, against some other on-rev servers even if my own apps went running perfectly fine too when they went hosted on loki).
>> 
>>> widestep
>>> 
>>> Uptime	Outages	Response time
>>> 100.00%	1	462 ms
>>> 
>>> Downtimes
>>> 
>>> From	To	Downtime
>>> 2013-06-12 12:13:27	2013-06-12 12:14:27	0h 01m 00s
>>> 
>>> This is a scheduled report from Pingdom. If you wish to no longer receive this report you can unsubscribe by logging in to My Pingdom and update your email report settings.
>>> 
>>> 
>>> Copyright ? 2013 Pingdom AB
>> 
>> HTH,
>> --
>> Pierre Sahores
>> mobile : 06 03 95 77 70
>> www.sahores-conseil.com
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com




From scott at tactilemedia.com  Wed Jul 10 02:47:19 2013
From: scott at tactilemedia.com (Scott Rossi)
Date: Tue, 09 Jul 2013 23:47:19 -0700
Subject: [OT] Google Math Fun
Message-ID: 

When working in LiveCode, I often use the message box to do quick
operations and avoid switching out to another application, say a math
problem for example.  Tonight I needed to do some quick operations while
searching the Web and I had just a feeling in my gut that Google had taken
care of this.  This might be old news to some, but sure enough, I typed
"1136 divided by 2" into the browser search field, and Google returned a
javascript calculator pre-filled with the answer.

Nice one, Google.

(I now expect the day will come when Google will return a page containing
a picture of a large camera lens and will speak to me in a synthesized
voice:  "I'm sorry, Scott. I'm afraid I can't do that.")

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design






From anthonyhowe at me.com  Wed Jul 10 03:57:47 2013
From: anthonyhowe at me.com (Anthony Howe)
Date: Wed, 10 Jul 2013 17:57:47 +1000
Subject: [OT] Google Math Fun
In-Reply-To: 
References: 
Message-ID: 

but wait, there's more:

http://lifehacker.com/5940946/20-google-search-shortcuts-to-hone-your-google+fu

;)

On 10/07/2013, at 4:47 PM, Scott Rossi wrote:

> When working in LiveCode, I often use the message box to do quick
> operations and avoid switching out to another application, say a math
> problem for example.  Tonight I needed to do some quick operations while
> searching the Web and I had just a feeling in my gut that Google had taken
> care of this.  This might be old news to some, but sure enough, I typed
> "1136 divided by 2" into the browser search field, and Google returned a
> javascript calculator pre-filled with the answer.
> 
> Nice one, Google.
> 
> (I now expect the day will come when Google will return a page containing
> a picture of a large camera lens and will speak to me in a synthesized
> voice:  "I'm sorry, Scott. I'm afraid I can't do that.")
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
> 
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



From neil at runrev.com  Wed Jul 10 04:04:14 2013
From: neil at runrev.com (Neil Roger)
Date: Wed, 10 Jul 2013 09:04:14 +0100
Subject: [OT] Google Math Fun
In-Reply-To: 
References: 
Message-ID: <51DD157E.3030504@runrev.com>

On 10/07/2013 07:47, Scott Rossi wrote:
> When working in LiveCode, I often use the message box to do quick
> operations and avoid switching out to another application, say a math
> problem for example.  Tonight I needed to do some quick operations while
> searching the Web and I had just a feeling in my gut that Google had taken
> care of this.  This might be old news to some, but sure enough, I typed
> "1136 divided by 2" into the browser search field, and Google returned a
> javascript calculator pre-filled with the answer.
>
> Nice one, Google.
>
> (I now expect the day will come when Google will return a page containing
> a picture of a large camera lens and will speak to me in a synthesized
> voice:  "I'm sorry, Scott. I'm afraid I can't do that.")
>
> Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
>
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

If your on the Mac platform you can also use the spotlight search for 
simple calculations (e.g. 6*3, 1934+443). This has saved me a lot of time :)

Kind Regards,

Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
-- 



From sims at ezpzapps.com  Wed Jul 10 05:57:09 2013
From: sims at ezpzapps.com (Jim Sims)
Date: Wed, 10 Jul 2013 11:57:09 +0200
Subject: App Failed to install - iPad app
Message-ID: 

Hello - went through the Apple Dev process (Provisioning file made, Device IDs added, etc) then added my test iPad app to the list of apps in iTunes.

The app started to install (appeared and blue line for installing) but before completed install it stopped with a dialog of "Failed to install"

App works in Simulator.

Any suggestions on how to debug this?

sims


From toolbook at kestner.de  Wed Jul 10 08:10:26 2013
From: toolbook at kestner.de (Tiemo Hollmann TB)
Date: Wed, 10 Jul 2013 14:10:26 +0200
Subject: AW: How to increase the textsize of HTMLtext proportional?
In-Reply-To: <98112086-3E20-49E0-BDA8-AB95DDD63E3C@gmail.com>
References: <007301ce7ca9$af21aca0$0d6505e0$@de>	<51DC1485.8080500@fourthworld.com>		<368C9AA5-0393-4477-B4D6-BF67C23E16CD@gmail.com>	<30564591-E726-4941-98D1-711BADA1BCE2@gmail.com>
	<98112086-3E20-49E0-BDA8-AB95DDD63E3C@gmail.com>
Message-ID: <008301ce7d66$76a20970$63e61c50$@de>

Thanks Michael!
Your code works perfect!
Tiemo


> -----Urspr?ngliche Nachricht-----
> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im
Auftrag
> von Michael Doub
> Gesendet: Dienstag, 9. Juli 2013 22:09
> An: How to use LiveCode
> Betreff: Re: How to increase the textsize of HTMLtext proportional?
> 
> A bit more suitable for easy reuse.....
> 
> 
> on textdown
>     BumpText the long id of field "test", -1 end textdown
> 
> on textup
>     BumpText the long id of field "test", 1 end textup
> 
> 
> on BumpText theObject theDirection
>     if theDirection is not among the lines of "1" & return & "-1" then
> throw "Need 1 or -1 for theDirection"
>     put the htmlText of fld 1 into theHtml
>     replace "size=""e with "size="&numtoChar(1500) in theHTML
>     set the itemdel to numToChar(1500)
>     if the number of items of theHTML<>1 then
>        put 0 into itemCount
>        repeat for each item theItem in theHTML
>           add 1 to itemCount
>           if itemCount=1 then
>              put theItem into newHTML
>              next repeat
>           end if
>           put 1 into counter
>           put offset (">", theItem) into tClose
>           put offset ("<" , theItem) into tOpen
>           if tClose <> 0 then -- found it
>              if tOpen <> 0 and tOpen > tClose then-- found "<" and after
> ">" whis is ok
>                 repeat forever
>                    add 1 to counter
>                    if char counter of theItem=quote then exit repeat
>                 end repeat
>                 put char 1 to counter-1 of theItem into theSize
>                 put theSize + theDirection into theSize
>                 put theSize into char 1 to counter-1 of theItem
>              end if
>           end if
>           put quote&theItem after newHTML
>        end repeat
>        set the htmlText of theObject to newHTML
>     end if
>     set the textSize of theObject to \
>           the effective textSize of theObject + theDirection end BumpText
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at 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_p_wilcox at yahoo.co.uk  Wed Jul 10 08:27:13 2013
From: m_p_wilcox at yahoo.co.uk (Mark Wilcox)
Date: Wed, 10 Jul 2013 13:27:13 +0100 (BST)
Subject: App Failed to install - iPad app
In-Reply-To: 
References: 
Message-ID: <1373459233.83188.YahooMailNeo@web28804.mail.ir2.yahoo.com>

Sadly the install process is one where Apple believes in security through obscurity. ?You get generic error messages for everything that goes wrong with no further debug info.

Make sure you have the correct device ID included in the provisioning profile you are using in the standalone settings, make sure it's a development or ad-hoc profile and not an app store distribution profile and make sure the "requirements and restrictions" set for the app match up with the ones configured for the app ID on the provisioning portal.

If it still doesn't work try taking a look inside the generated .ipa file to see if you can see anything obviously wrong. ?After that there are some tools for checking the signing/certificates from the command line but best come back to ask about that if you're still stuck.

Mark


________________________________
 From: Jim Sims 
To: How to use LiveCode  
Sent: Wednesday, 10 July 2013, 10:57
Subject: App Failed to install - iPad app
 

Hello - went through the Apple Dev process (Provisioning file made, Device IDs added, etc) then added my test iPad app to the list of apps in iTunes.

The app started to install (appeared and blue line for installing) but before completed install it stopped with a dialog of "Failed to install"

App works in Simulator.

Any suggestions on how to debug this?

sims
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

From iowahengst at mac.com  Wed Jul 10 08:53:41 2013
From: iowahengst at mac.com (Randy Hengst)
Date: Wed, 10 Jul 2013 07:53:41 -0500
Subject: App Failed to install - iPad app
In-Reply-To: <1373459233.83188.YahooMailNeo@web28804.mail.ir2.yahoo.com>
References: 
	<1373459233.83188.YahooMailNeo@web28804.mail.ir2.yahoo.com>
Message-ID: <1EE7ED0D-1C27-44FE-9431-E65D721874D3@mac.com>

Sims,

If none of Mark's suggestions help, try loading it with Xcode. I've only used Xcode and Jacque's AirLaunch to install my apps. I have had an occasional problem like you've mentioned when I had an earlier version of the same app on the iPad. 

be well,
randy
-----
On Jul 10, 2013, at 7:27 AM, Mark Wilcox  wrote:

> Sadly the install process is one where Apple believes in security through obscurity.  You get generic error messages for everything that goes wrong with no further debug info.
> 
> Make sure you have the correct device ID included in the provisioning profile you are using in the standalone settings, make sure it's a development or ad-hoc profile and not an app store distribution profile and make sure the "requirements and restrictions" set for the app match up with the ones configured for the app ID on the provisioning portal.
> 
> If it still doesn't work try taking a look inside the generated .ipa file to see if you can see anything obviously wrong.  After that there are some tools for checking the signing/certificates from the command line but best come back to ask about that if you're still stuck.
> 
> Mark
> 
> 
> ________________________________
> From: Jim Sims 
> To: How to use LiveCode  
> Sent: Wednesday, 10 July 2013, 10:57
> Subject: App Failed to install - iPad app
> 
> 
> Hello - went through the Apple Dev process (Provisioning file made, Device IDs added, etc) then added my test iPad app to the list of apps in iTunes.
> 
> The app started to install (appeared and blue line for installing) but before completed install it stopped with a dialog of "Failed to install"
> 
> App works in Simulator.
> 
> Any suggestions on how to debug this?
> 
> sims
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



From sims at ezpzapps.com  Wed Jul 10 08:57:33 2013
From: sims at ezpzapps.com (Jim Sims)
Date: Wed, 10 Jul 2013 14:57:33 +0200
Subject: App Failed to install - iPad app
In-Reply-To: <1EE7ED0D-1C27-44FE-9431-E65D721874D3@mac.com>
References: 
	<1373459233.83188.YahooMailNeo@web28804.mail.ir2.yahoo.com>
	<1EE7ED0D-1C27-44FE-9431-E65D721874D3@mac.com>
Message-ID: <51CFFD9E-F120-4894-A360-3D7F141F3028@ezpzapps.com>


On Jul 10, 2013, at 2:53 PM, Randy Hengst wrote:

> If none of Mark's suggestions help, try loading it with Xcode. I've only used Xcode and Jacque's AirLaunch to install my apps. I have had an occasional problem like you've mentioned when I had an earlier version of the same app on the iPad. 

Randy - Does Jacque's app require that you fiddle with Xcode also or does it do the job all on its own?

Wouldn't mind sending cash her way.

sims


From coiin at verizon.net  Wed Jul 10 10:02:13 2013
From: coiin at verizon.net (Colin Holgate)
Date: Wed, 10 Jul 2013 10:02:13 -0400
Subject: App Failed to install - iPad app
In-Reply-To: <51CFFD9E-F120-4894-A360-3D7F141F3028@ezpzapps.com>
References: 
	<1373459233.83188.YahooMailNeo@web28804.mail.ir2.yahoo.com>
	<1EE7ED0D-1C27-44FE-9431-E65D721874D3@mac.com>
	<51CFFD9E-F120-4894-A360-3D7F141F3028@ezpzapps.com>
Message-ID: 

The ?fiddling? you have to do in Xcode could hardly be easier, you just drag the app onto your connected device in the Organizer window.

Jacque?s thing doesn?t involve Xcode at all, it creates a bundle that can be installed over the air. You don?t need to have the device in the same continent, let alone connected, to your development machine.


From jhurley0305 at sbcglobal.net  Wed Jul 10 10:56:40 2013
From: jhurley0305 at sbcglobal.net (Jim Hurley)
Date: Wed, 10 Jul 2013 07:56:40 -0700
Subject: [OT] Google Math Fun
In-Reply-To: 
References: 
Message-ID: <88AA6E6C-28FD-4208-ABB6-341106CFABEA@sbcglobal.net>

Hi Scott,

Google math is great. It will even evaluate factorials up to about 170.  170! = 7.257416e+306

Most calculators show an overflow beyond 60!

But Wolfram alpha will evaluate 300! = 3.0605751221644063603537046129726862938858880417 ? 10^614

And God knows how much further.

Live code doesn't have a factorial function.

I wrote one that works up to 170!  It uses the traditional iterative method below 60! and the Sterling approx beyond that.  Beyond 170! LC shows an  overflow:


function fact n
   if n < 60 then
         return factorial (n)
   else
      put exp(1) into e
      return   ((n/e)^n) * (sqrt(2*pi*n)) --This is the Sterling approx.
   end if
end fact

function Factorial n
    if n = 1 then
     return 1
      else
       return n * factorial(n-1)
    end if 
end factorial



> 
> Message: 21
> Date: Tue, 09 Jul 2013 23:47:19 -0700
> From: Scott Rossi 
> To: LiveCode Mail List 
> Subject: [OT] Google Math Fun
> Message-ID: 
> Content-Type: text/plain;	charset="US-ASCII"
> 
> When working in LiveCode, I often use the message box to do quick
> operations and avoid switching out to another application, say a math
> problem for example.  Tonight I needed to do some quick operations while
> searching the Web and I had just a feeling in my gut that Google had taken
> care of this.  This might be old news to some, but sure enough, I typed
> "1136 divided by 2" into the browser search field, and Google returned a
> javascript calculator pre-filled with the answer.
> 
> Nice one, Google.
> 
> (I now expect the day will come when Google will return a page containing
> a picture of a large camera lens and will speak to me in a synthesized
> voice:  "I'm sorry, Scott. I'm afraid I can't do that.")
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
> 




From jhurley0305 at sbcglobal.net  Wed Jul 10 11:00:00 2013
From: jhurley0305 at sbcglobal.net (Jim Hurley)
Date: Wed, 10 Jul 2013 08:00:00 -0700
Subject: [OT] Google Math Fun
In-Reply-To: 
References: 
Message-ID: <315E9737-86D1-4C28-916F-3828A5E7CCC8@sbcglobal.net>

Curses! And recurses!

I meant "recursive" not "iterative."

Jim

> Hi Scott,
> 
> Google math is great. It will even evaluate factorials up to about 170.  170! = 7.257416e+306
> 
> Most calculators show an overflow beyond 60!
> 
> But Wolfram alpha will evaluate 300! = 3.0605751221644063603537046129726862938858880417 ? 10^614
> 
> And God knows how much further.
> 
> Live code doesn't have a factorial function.
> 
> I wrote one that works up to 170!  It uses the traditional iterative method below 60! and the Sterling approx beyond that.  Beyond 170! LC shows an  overflow:
> 
> 
> function fact n
>   if n < 60 then
>         return factorial (n)
>   else
>      put exp(1) into e
>      return   ((n/e)^n) * (sqrt(2*pi*n)) --This is the Sterling approx.
>   end if
> end fact
> 
> function Factorial n
>    if n = 1 then
>     return 1
>      else
>       return n * factorial(n-1)
>    end if 
> end factorial
> 
> 
> 
>> 
>> Message: 21
>> Date: Tue, 09 Jul 2013 23:47:19 -0700
>> From: Scott Rossi 
>> To: LiveCode Mail List 
>> Subject: [OT] Google Math Fun
>> Message-ID: 
>> Content-Type: text/plain;	charset="US-ASCII"
>> 
>> When working in LiveCode, I often use the message box to do quick
>> operations and avoid switching out to another application, say a math
>> problem for example.  Tonight I needed to do some quick operations while
>> searching the Web and I had just a feeling in my gut that Google had taken
>> care of this.  This might be old news to some, but sure enough, I typed
>> "1136 divided by 2" into the browser search field, and Google returned a
>> javascript calculator pre-filled with the answer.
>> 
>> Nice one, Google.
>> 
>> (I now expect the day will come when Google will return a page containing
>> a picture of a large camera lens and will speak to me in a synthesized
>> voice:  "I'm sorry, Scott. I'm afraid I can't do that.")
>> 
>> Regards,
>> 
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX/UI Design
>> 
> 



From sims at ezpzapps.com  Wed Jul 10 11:04:10 2013
From: sims at ezpzapps.com (Jim Sims)
Date: Wed, 10 Jul 2013 17:04:10 +0200
Subject: App Failed to install - iPad app
In-Reply-To: 
References: 
	<1373459233.83188.YahooMailNeo@web28804.mail.ir2.yahoo.com>
	<1EE7ED0D-1C27-44FE-9431-E65D721874D3@mac.com>
	<51CFFD9E-F120-4894-A360-3D7F141F3028@ezpzapps.com>
	
Message-ID: <01B2C13A-F95E-4256-A0E3-57C02369916D@ezpzapps.com>

Gawd...took me hours for a simple thing/mistake.

Major clue from Colin was "Organizer window"

which led me to "Provisioning", stumbling in the dark.

Which then led me to Chipp's post at:
http://thread.gmane.org/gmane.comp.ide.revolution.user/161402

Then I changed an "H" to an "h" and maybe (as all that stumbling might have done something else) it worked.

In the iPad and now testing.

Thanks Y'all.

Gawd.

sims



On Jul 10, 2013, at 4:02 PM, Colin Holgate wrote:

> The ?fiddling? you have to do in Xcode could hardly be easier, you just drag the app onto your connected device in the Organizer window.
> 
> Jacque?s thing doesn?t involve Xcode at all, it creates a bundle that can be installed over the air. You don?t need to have the device in the same continent, let alone connected, to your development machine.
> _______________________________________________
> use-livecode mailing list
> use-livecode at 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 Jul 10 11:36:48 2013
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Wed, 10 Jul 2013 08:36:48 -0700
Subject: [OT] Google Math Fun
In-Reply-To: 
References: 
Message-ID: <49319243270.20130710083648@ahsoftware.net>

Scott-

If you think that's fun, try Wolfram Alpha:

http://www.wolframalpha.com/

then type in "1136 divided by 2" or "the population of Bulgaria" or
anything else that comes to mind.

-- 
-Mark Wieder
 mwieder at ahsoftware.net




From jhj at jhj.com  Wed Jul 10 13:06:43 2013
From: jhj at jhj.com (Jerry Jensen)
Date: Wed, 10 Jul 2013 10:06:43 -0700
Subject: [OT] Google Math Fun
In-Reply-To: 
References: 
Message-ID: <0A006832-FBEA-4FEE-9972-06819A1EA48E@jhj.com>

Conversion too - to some interesting measures. Try:
1 inch in potrzebie

.Jerry

On Jul 9, 2013, at 11:47 PM, Scott Rossi  wrote:

> When working in LiveCode, I often use the message box to do quick
> operations and avoid switching out to another application, say a math
> problem for example.  Tonight I needed to do some quick operations while
> searching the Web and I had just a feeling in my gut that Google had taken
> care of this.  This might be old news to some, but sure enough, I typed
> "1136 divided by 2" into the browser search field, and Google returned a
> javascript calculator pre-filled with the answer.
> 
> Nice one, Google.
> 
> (I now expect the day will come when Google will return a page containing
> a picture of a large camera lens and will speak to me in a synthesized
> voice:  "I'm sorry, Scott. I'm afraid I can't do that.")
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
> 
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




From matthias_livecode_150811 at m-r-d.de  Wed Jul 10 14:25:19 2013
From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe)
Date: Wed, 10 Jul 2013 20:25:19 +0200
Subject: [OT] Free Android icon template for Photoshop
Message-ID: <84D4DD1B-F182-4CBA-B307-56CB9F91CD87@m-r-d.de>

Hi,

Michael Flarup at http://appicontemplate.com is now also giving away a free Photoshop template for Android icons.
I posted about his free iOS6/7 templates about 2 weeks ago.

Regards,

Matthias


From MikeKerner at roadrunner.com  Wed Jul 10 14:57:50 2013
From: MikeKerner at roadrunner.com (Mike Kerner)
Date: Wed, 10 Jul 2013 14:57:50 -0400
Subject: KS Reward - Mobile Skins
Message-ID: 

For anybody else who got the backgrounds and buttons yesterday, do you have
a good way of integrating them into your projects?

-- 
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 film2 at handheldfilm.com  Wed Jul 10 15:12:40 2013
From: film2 at handheldfilm.com (Emmett Gray)
Date: Wed, 10 Jul 2013 15:12:40 -0400
Subject: What happened to Applescript in LiveCode Community 6.1?
Message-ID: 

On Mon, 08 Jul 2013 08:17:45 -0700, Richard Gaskin  wrote:
>
>Emmett Gray wrote:
>
> > I just opened a bug report. But in the meantime I peeked into the app
> > bundles for 6.0 and 6.1. Where will I find this resource to copy? Or
> > do I need to build it myself? I don't want to go to any trouble, so
> > I'll use 6.0 until this is fixed, if this is not a drag and drop
> > operation.
>
>I believe the file you're looking for is:
>
>./LiveCode 6.0.2.app/Contents/Resources/LiveCode.rsrc
>
Nah, that file was identical in 6.1 and did have the AS 2 terms in it. The problem lies elsewhere. I'll wait. Thanks anyway.



From richmondmathewson at gmail.com  Wed Jul 10 15:24:49 2013
From: richmondmathewson at gmail.com (Richmond)
Date: Wed, 10 Jul 2013 22:24:49 +0300
Subject: Down on the farm
Message-ID: <51DDB501.40507@gmail.com>

Yerrrr!

http://forums.runrev.com/viewtopic.php?f=25&t=15919

Old Muck-spreader.



From mikedoub at gmail.com  Wed Jul 10 17:00:22 2013
From: mikedoub at gmail.com (Michael Doub)
Date: Wed, 10 Jul 2013 17:00:22 -0400
Subject: How to increase the textsize of HTMLtext proportional?
In-Reply-To: <008301ce7d66$76a20970$63e61c50$@de>
References: <007301ce7ca9$af21aca0$0d6505e0$@de>	<51DC1485.8080500@fourthworld.com>		<368C9AA5-0393-4477-B4D6-BF67C23E16CD@gmail.com>	<30564591-E726-4941-98D1-711BADA1BCE2@gmail.com>
	<98112086-3E20-49E0-BDA8-AB95DDD63E3C@gmail.com>
	<008301ce7d66$76a20970$63e61c50$@de>
Message-ID: <0A233079-3A95-412C-87B2-E9E5394FAB05@gmail.com>

Thanks to Malte for his initial work.  I just tweaked.

-= Mike


On Jul 10, 2013, at 8:10 AM, Tiemo Hollmann TB  wrote:

> Thanks Michael!
> Your code works perfect!
> Tiemo
> 
> 
>> -----Urspr?ngliche Nachricht-----
>> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im
> Auftrag
>> von Michael Doub
>> Gesendet: Dienstag, 9. Juli 2013 22:09
>> An: How to use LiveCode
>> Betreff: Re: How to increase the textsize of HTMLtext proportional?
>> 
>> A bit more suitable for easy reuse.....
>> 
>> 
>> on textdown
>>    BumpText the long id of field "test", -1 end textdown
>> 
>> on textup
>>    BumpText the long id of field "test", 1 end textup
>> 
>> 
>> on BumpText theObject theDirection
>>    if theDirection is not among the lines of "1" & return & "-1" then
>> throw "Need 1 or -1 for theDirection"
>>    put the htmlText of fld 1 into theHtml
>>    replace "size=""e with "size="&numtoChar(1500) in theHTML
>>    set the itemdel to numToChar(1500)
>>    if the number of items of theHTML<>1 then
>>       put 0 into itemCount
>>       repeat for each item theItem in theHTML
>>          add 1 to itemCount
>>          if itemCount=1 then
>>             put theItem into newHTML
>>             next repeat
>>          end if
>>          put 1 into counter
>>          put offset (">", theItem) into tClose
>>          put offset ("<" , theItem) into tOpen
>>          if tClose <> 0 then -- found it
>>             if tOpen <> 0 and tOpen > tClose then-- found "<" and after
>> ">" whis is ok
>>                repeat forever
>>                   add 1 to counter
>>                   if char counter of theItem=quote then exit repeat
>>                end repeat
>>                put char 1 to counter-1 of theItem into theSize
>>                put theSize + theDirection into theSize
>>                put theSize into char 1 to counter-1 of theItem
>>             end if
>>          end if
>>          put quote&theItem after newHTML
>>       end repeat
>>       set the htmlText of theObject to newHTML
>>    end if
>>    set the textSize of theObject to \
>>          the effective textSize of theObject + theDirection end BumpText
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at 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 Jul 10 17:00:40 2013
From: richmondmathewson at gmail.com (Richmond)
Date: Thu, 11 Jul 2013 00:00:40 +0300
Subject: Potiphar's revenge
Message-ID: <51DDCB78.9010708@gmail.com>

Core, more agriculture!

http://forums.runrev.com/viewtopic.php?f=25&t=15921

Old Muck Spreader.



From jacques.hausser at unil.ch  Wed Jul 10 18:12:35 2013
From: jacques.hausser at unil.ch (Jacques Hausser)
Date: Thu, 11 Jul 2013 00:12:35 +0200
Subject: [OT] Google Math Fun
In-Reply-To: <49319243270.20130710083648@ahsoftware.net>
References: 
	<49319243270.20130710083648@ahsoftware.net>
Message-ID: <477A2B40-DC31-4566-B08C-E9E8BD2E2ED1@unil.ch>

I tried with "my age"? the answer was 35. If only?


Le 10 juil. 2013 ? 17:36, Mark Wieder  a ?crit :

> Scott-
> 
> If you think that's fun, try Wolfram Alpha:
> 
> http://www.wolframalpha.com/
> 
> then type in "1136 divided by 2" or "the population of Bulgaria" or
> anything else that comes to mind.
> 
> -- 
> -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 mwieder at ahsoftware.net  Wed Jul 10 19:32:26 2013
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Wed, 10 Jul 2013 16:32:26 -0700
Subject: [OT] Google Math Fun
In-Reply-To: <477A2B40-DC31-4566-B08C-E9E8BD2E2ED1@unil.ch>
References: 
	<49319243270.20130710083648@ahsoftware.net>
	<477A2B40-DC31-4566-B08C-E9E8BD2E2ED1@unil.ch>
Message-ID: <7580401.20130710163226@ahsoftware.net>

Jacques-

Wednesday, July 10, 2013, 3:12:35 PM, you wrote:

> I tried with "my age"
 the answer was 35. If only


Ha! Try your weight...

-- 
-Mark Wieder
 mwieder at ahsoftware.net




From Mark_Smith at cpe.umanitoba.ca  Wed Jul 10 23:12:34 2013
From: Mark_Smith at cpe.umanitoba.ca (Mark Smith)
Date: Wed, 10 Jul 2013 20:12:34 -0700 (PDT)
Subject: How to deinstall LC?
In-Reply-To: <007501ce7bbd$8cb1a1d0$a614e570$@de>
References: <007501ce7bbd$8cb1a1d0$a614e570$@de>
Message-ID: <1373512353984-4667422.post@n4.nabble.com>

I don't have version going back that far, but since at least 4.6 LC was just
a single icon/app folder on the Mac, and I just trash that. Seems to work.




--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-deinstall-LC-tp4667307p4667422.html
Sent from the Revolution - User mailing list archive at Nabble.com.



From toolbook at kestner.de  Thu Jul 11 02:21:15 2013
From: toolbook at kestner.de (Tiemo Hollmann TB)
Date: Thu, 11 Jul 2013 08:21:15 +0200
Subject: AW: How to deinstall LC?
In-Reply-To: <1373512353984-4667422.post@n4.nabble.com>
References: <007501ce7bbd$8cb1a1d0$a614e570$@de>
	<1373512353984-4667422.post@n4.nabble.com>
Message-ID: <000e01ce7dfe$d98a5590$8c9f00b0$@de>

Hi Mark,
yes that definitely works to get rid of the program folder. I just was
wondering if it would be useful / recommended to get rid of supplementary
files, like preferences and things I don't know.
Tiemo

> -----Urspr?ngliche Nachricht-----
> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im
Auftrag
> von Mark Smith
> Gesendet: Donnerstag, 11. Juli 2013 05:13
> An: use-revolution at lists.runrev.com
> Betreff: Re: How to deinstall LC?
> 
> I don't have version going back that far, but since at least 4.6 LC was
> just a single icon/app folder on the Mac, and I just trash that. Seems to
> work.
> 
> 
> 
> 
> --
> View this message in context: http://runtime-
> revolution.278305.n4.nabble.com/How-to-deinstall-LC-tp4667307p4667422.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 revolution at derbrill.de  Thu Jul 11 05:41:40 2013
From: revolution at derbrill.de (Malte Brill)
Date: Thu, 11 Jul 2013 11:41:40 +0200
Subject: Some mobile questions
In-Reply-To: 
References: 
Message-ID: 

Hi all,

so I start to seriously tinker with a (to be cross mobile) app. I have a situation where I will need to have some sort of date and time picker on both iOS and Androide. iOs seems pretty straightforward, however what do you folks do on the droid?

Also, what is the state of the art regarding handling datagrids on mobile? The DG will have to handle multiple 1000 lines, each at 10 fields. What is the best to do there performance wise?

All the 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 toolbook at kestner.de  Thu Jul 11 08:18:46 2013
From: toolbook at kestner.de (Tiemo Hollmann TB)
Date: Thu, 11 Jul 2013 14:18:46 +0200
Subject: is there any trick to get out of a modal stack hang?
Message-ID: <003001ce7e30$cb5f3f30$621dbd90$@de>

Hi,

sometimes I get stuck when running into a script error, while having a modal
stack open and my close button of the modal stack doesn't responds anymore.
The modal stack prevents me to get into the message box, IDE, or anything
else.

Is there a trick to get a modal stack without title boxes closed on windows
with LC 6.1 e.g. by a keyboard shortcut? Or is a full close via task manager
the only solution? Alt + F4 and Ctrl + period don't work either.

Thanks

Tiemo

 

 



From gcanyon at gmail.com  Thu Jul 11 09:13:52 2013
From: gcanyon at gmail.com (Geoff Canyon)
Date: Thu, 11 Jul 2013 08:13:52 -0500
Subject: [OT] Google Math Fun
In-Reply-To: <49319243270.20130710083648@ahsoftware.net>
References: 
	<49319243270.20130710083648@ahsoftware.net>
Message-ID: <4FB9A988-4303-4F02-8690-5A8B9FFE5823@gmail.com>

WA is awesome. "Distance from the earth to the moon divided by the average height of a human being" = 246.7 million of us standing on each others' heads to get back to the moon...

Sent from my iPad

On Jul 10, 2013, at 10:36 AM, Mark Wieder  wrote:

> Scott-
> 
> If you think that's fun, try Wolfram Alpha:
> 
> http://www.wolframalpha.com/
> 
> then type in "1136 divided by 2" or "the population of Bulgaria" or
> anything else that comes to mind.
> 
> -- 
> -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 devin_asay at byu.edu  Thu Jul 11 10:48:44 2013
From: devin_asay at byu.edu (Devin Asay)
Date: Thu, 11 Jul 2013 14:48:44 +0000
Subject: is there any trick to get out of a modal stack hang?
In-Reply-To: <003001ce7e30$cb5f3f30$621dbd90$@de>
References: <003001ce7e30$cb5f3f30$621dbd90$@de>
Message-ID: <7EFF01DC-DCBF-4FFA-9720-7C969FCD7911@byu.edu>


On Jul 11, 2013, at 6:18 AM, Tiemo Hollmann TB wrote:

> Hi,
> 
> sometimes I get stuck when running into a script error, while having a modal
> stack open and my close button of the modal stack doesn't responds anymore.
> The modal stack prevents me to get into the message box, IDE, or anything
> else.
> 
> Is there a trick to get a modal stack without title boxes closed on windows
> with LC 6.1 e.g. by a keyboard shortcut? Or is a full close via task manager
> the only solution? Alt + F4 and Ctrl + period don't work either.


Tiemo,

Have you tried Control-Shift-Right-click? That should bring up a contextual popup menu. One of the items should be TopLevel, to change the stack from modal to top-level.

HTH

Devin

Devin Asay
Office of Digital Humanities
Brigham Young University




From devin_asay at byu.edu  Thu Jul 11 10:55:32 2013
From: devin_asay at byu.edu (Devin Asay)
Date: Thu, 11 Jul 2013 14:55:32 +0000
Subject: Some mobile questions
In-Reply-To: 
References: 
	
Message-ID: 


On Jul 11, 2013, at 3:41 AM, Malte Brill wrote:

> Hi all,
> 
> so I start to seriously tinker with a (to be cross mobile) app. I have a situation where I will need to have some sort of date and time picker on both iOS and Androide. iOs seems pretty straightforward, however what do you folks do on the droid?


I thought mobilePickDate worked on both iOS and Android. Is it not working for you?

mobilePickDate "date",,,,,"cancelDone"

It works here on my ASUS tablet.

Devin


Devin Asay
Office of Digital Humanities
Brigham Young University




From roger.e.eller at sealedair.com  Thu Jul 11 11:08:21 2013
From: roger.e.eller at sealedair.com (Roger Eller)
Date: Thu, 11 Jul 2013 11:08:21 -0400
Subject: Using the "or" operator with filter
Message-ID: 

global gCodes
put tList into tGood; put tList into tBad
put "PPX,RRY,NNZ" into gCodes
-- Keep lines that contain any item of gCodes
filter tGood with ("*" & item 1 of gCodes & "*") or ("*" & item 2 of gCodes
& "*") or ("*" & item 3 of gCodes & "*")
filter tBad without ("*" & item 1 of gCodes & "*") or ("*" & item 2 of gCodes
& "*") or ("*" & item 3 of gCodes & "*")

Perhaps I should just loop through each line checking if it 'contains' one
of the codes instead?
Is there a better approach? ...

~Roger


From ambassador at fourthworld.com  Thu Jul 11 13:18:17 2013
From: ambassador at fourthworld.com (Richard Gaskin)
Date: Thu, 11 Jul 2013 10:18:17 -0700
Subject: Using the "or" operator with filter
In-Reply-To: 
References: 
Message-ID: <51DEE8D9.6030003@fourthworld.com>

Roger Eller wrote:
> global gCodes
> put tList into tGood; put tList into tBad
> put "PPX,RRY,NNZ" into gCodes
> -- Keep lines that contain any item of gCodes
> filter tGood with ("*" & item 1 of gCodes & "*") or ("*" & item 2 of gCodes
> & "*") or ("*" & item 3 of gCodes & "*")
> filter tBad without ("*" & item 1 of gCodes & "*") or ("*" & item 2 of gCodes
> & "*") or ("*" & item 3 of gCodes & "*")
>
> Perhaps I should just loop through each line checking if it 'contains' one
> of the codes instead?

I would do that.

Regex is handy at times, but it's a complex subsystem and notoriously 
slow with complex operators.

I'll bet if you can first run a filter against the left-most column, a 
"repeat for each" on the remainder would likely be about as fast as you 
can get.

Sometimes "repeat for each" on the whole thing is faster than "filter".

--
  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 toolbook at kestner.de  Thu Jul 11 13:28:42 2013
From: toolbook at kestner.de (Tiemo Hollmann TB)
Date: Thu, 11 Jul 2013 19:28:42 +0200
Subject: AW: is there any trick to get out of a modal stack hang?
In-Reply-To: <7EFF01DC-DCBF-4FFA-9720-7C969FCD7911@byu.edu>
References: <003001ce7e30$cb5f3f30$621dbd90$@de>
	<7EFF01DC-DCBF-4FFA-9720-7C969FCD7911@byu.edu>
Message-ID: <005701ce7e5c$17118c00$4534a400$@de>

Great, that trick did it! I will instantly pin it to my wall :)
Thanks
Tiemo


> -----Urspr?ngliche Nachricht-----
> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im
Auftrag
> von Devin Asay
> Gesendet: Donnerstag, 11. Juli 2013 16:49
> An: How to use LiveCode
> Betreff: Re: is there any trick to get out of a modal stack hang?
> 
> 
> On Jul 11, 2013, at 6:18 AM, Tiemo Hollmann TB wrote:
> 
> > Hi,
> >
> > sometimes I get stuck when running into a script error, while having a
> > modal stack open and my close button of the modal stack doesn't responds
> anymore.
> > The modal stack prevents me to get into the message box, IDE, or
> > anything else.
> >
> > Is there a trick to get a modal stack without title boxes closed on
> > windows with LC 6.1 e.g. by a keyboard shortcut? Or is a full close
> > via task manager the only solution? Alt + F4 and Ctrl + period don't
work
> either.
> 
> 
> Tiemo,
> 
> Have you tried Control-Shift-Right-click? That should bring up a
contextual
> popup menu. One of the items should be TopLevel, to change the stack from
> modal to top-level.
> 
> HTH
> 
> 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 revolution at derbrill.de  Thu Jul 11 13:29:47 2013
From: revolution at derbrill.de (Malte Brill)
Date: Thu, 11 Jul 2013 19:29:47 +0200
Subject: Some mobile questions
In-Reply-To: 
References: 
Message-ID: 

Hi Devon,

date is fine. But I need dateTime which only appears to work on iOs. :-(

Cheers,

Malte



From coiin at verizon.net  Thu Jul 11 13:32:55 2013
From: coiin at verizon.net (Colin Holgate)
Date: Thu, 11 Jul 2013 13:32:55 -0400
Subject: Some mobile questions
In-Reply-To: 
References: 
	
Message-ID: <8E822A54-919E-415F-824B-BC398F5F2B50@verizon.net>

Yes, that?s the case. There isn?t a date time picker in Android OS. You can see what some people have done to combine the two types of pickers in one dialog here:

http://stackoverflow.com/questions/14254093/date-and-time-picker-dialog

Not sure if that can apply to LiveCode.


On Jul 11, 2013, at 1:29 PM, Malte Brill > wrote:

> >date is fine. But I need dateTime which only appears to work on iOs. :-(



From devin_asay at byu.edu  Thu Jul 11 13:46:32 2013
From: devin_asay at byu.edu (Devin Asay)
Date: Thu, 11 Jul 2013 17:46:32 +0000
Subject: Some mobile questions
In-Reply-To: 
References: 
	
Message-ID: <7DCDFA69-F863-4094-A77D-17C04171BC6B@byu.edu>


On Jul 11, 2013, at 11:29 AM, Malte Brill wrote:

> Hi Devon,
> 
> date is fine. But I need dateTime which only appears to work on iOs. :-(

Ah, I see what you mean. It appears you have to do them separately.

Devin



Devin Asay
Learn to code with LiveCode University
http://university.livecode.com




From roger.e.eller at sealedair.com  Thu Jul 11 13:50:08 2013
From: roger.e.eller at sealedair.com (Roger Eller)
Date: Thu, 11 Jul 2013 13:50:08 -0400
Subject: Using the "or" operator with filter
In-Reply-To: <51DEE8D9.6030003@fourthworld.com>
References: 
	<51DEE8D9.6030003@fourthworld.com>
Message-ID: 

Thanks Richard.

To give a better picture of the requirements, the gCodes will be read from
a user editable preference file (.txt), so there could easily be 3 or more
(or less) items that have to be examined for each line of tList (a report
file).

At the moment, it works for the hard-coded 3 gCodes. That's why I tried
"or" in hopes of filtering them all in a single pass. I'm going to build a
smarter repeat that can adjust to the  number of items in gCodes.

~Roger


On Thu, Jul 11, 2013 at 1:18 PM, Richard Gaskin wrote:

> Roger Eller wrote:
>
>>
>> Perhaps I should just loop through each line checking if it 'contains' one
>> of the codes instead?
>>
>
> I would do that.
>
> Regex is handy at times, but it's a complex subsystem and notoriously slow
> with complex operators.
>
> I'll bet if you can first run a filter against the left-most column, a
> "repeat for each" on the remainder would likely be about as fast as you can
> get.
>
> Sometimes "repeat for each" on the whole thing is faster than "filter".
>
> --
>  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 devin_asay at byu.edu  Thu Jul 11 14:00:53 2013
From: devin_asay at byu.edu (Devin Asay)
Date: Thu, 11 Jul 2013 18:00:53 +0000
Subject: Drag-scrolling a group
Message-ID: <6B56E0BC-C584-457C-8840-217CB0DCD16C@byu.edu>

Hi all,

Has anyone worked out  a method for drag-scrolling a group? I have a simple game in which play area may be smaller than the working screenrect on some screens. I lock the group so that it's always the same size as the stack window, then I just set the scroll of the group to show part of the play area that is in view. I've worked out how to do it using the scroll wheel on the mouse, but I also want to be able to drag the play area around with the mouse. It's "sort of" working, but is moving very jerkily.

I'm doing this:

local sDragging, sMouseV, sMouseH

on mouseUp
    put false into sDragging
end mouseUp

on mouseRelease
    put false into sDragging
end mouseRelease

on mouseDown
    if the height of this stack < the maxHeight of this stack OR  \
          the height of this stack < the maxHeight of this stack then
        put true into sDragging
    else
        put false into sDragging
    end if
    put the mouseV into sMouseV
    put the mouseH into sMouseH
end mouseDown

on mouseMove pNewMouseH, pNewMouseV
    if sDragging then
        set the hScroll of me to the hScroll of me - (pNewMouseH -sMouseH)
        set the vScroll of me to the vScroll of me - (pNewMouseV - sMouseV)
    end if
end mouseMove

My math brain is not very sharp today. Ideas?

Thanks,

Devin


Devin Asay
Learn to code with LiveCode University
http://university.livecode.com





From roger.e.eller at sealedair.com  Thu Jul 11 14:10:08 2013
From: roger.e.eller at sealedair.com (Roger Eller)
Date: Thu, 11 Jul 2013 14:10:08 -0400
Subject: Drag-scrolling a group
In-Reply-To: <6B56E0BC-C584-457C-8840-217CB0DCD16C@byu.edu>
References: <6B56E0BC-C584-457C-8840-217CB0DCD16C@byu.edu>
Message-ID: 

Can it be done math-free?  If you nest a group inside the scrollable locked
group, and set the nested group to a simple "grab me" in a mouseDown or
mouseStillDown handler...

~Roger

On Thu, Jul 11, 2013 at 2:00 PM, Devin Asay wrote:

> Hi all,
>
> Has anyone worked out  a method for drag-scrolling a group? I have a
> simple game in which play area may be smaller than the working screenrect
> on some screens. I lock the group so that it's always the same size as the
> stack window, then I just set the scroll of the group to show part of the
> play area that is in view. I've worked out how to do it using the scroll
> wheel on the mouse, but I also want to be able to drag the play area around
> with the mouse. It's "sort of" working, but is moving very jerkily.
>
> I'm doing this:
>
> local sDragging, sMouseV, sMouseH
>
> on mouseUp
>     put false into sDragging
> end mouseUp
>
> on mouseRelease
>     put false into sDragging
> end mouseRelease
>
> on mouseDown
>     if the height of this stack < the maxHeight of this stack OR  \
>           the height of this stack < the maxHeight of this stack then
>         put true into sDragging
>     else
>         put false into sDragging
>     end if
>     put the mouseV into sMouseV
>     put the mouseH into sMouseH
> end mouseDown
>
> on mouseMove pNewMouseH, pNewMouseV
>     if sDragging then
>         set the hScroll of me to the hScroll of me - (pNewMouseH -sMouseH)
>         set the vScroll of me to the vScroll of me - (pNewMouseV - sMouseV)
>     end if
> end mouseMove
>
> My math brain is not very sharp today. Ideas?
>
> Thanks,
>
> Devin
>
>
> Devin Asay
> Learn to code with LiveCode University
> http://university.livecode.com
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


From devin_asay at byu.edu  Thu Jul 11 14:28:13 2013
From: devin_asay at byu.edu (Devin Asay)
Date: Thu, 11 Jul 2013 18:28:13 +0000
Subject: Drag-scrolling a group
In-Reply-To: 
References: <6B56E0BC-C584-457C-8840-217CB0DCD16C@byu.edu>
	
Message-ID: <90BE4935-DB12-48E4-B5C0-47323DCF5234@byu.edu>


On Jul 11, 2013, at 12:10 PM, Roger Eller wrote:

> Can it be done math-free?  If you nest a group inside the scrollable locked
> group, and set the nested group to a simple "grab me" in a mouseDown or
> mouseStillDown handler?

While I appreciate the math-free approach, ;) grab isn't the best tool here, because it lets you drag the group contents beyond the bounds you want to show. Setting the scroll values, on the other hand, prevents that problem.

BTW, in the meantime I discovered that lock screen fixes most of my problems:

on mouseMove pNewMouseH, pNewMouseV
    if sDragging then
        lock screen
        set the hScroll of me to the hScroll of me - (pNewMouseH -sMouseH)
        set the vScroll of me to the vScroll of me - (pNewMouseV - sMouseV)
        unlock screen
    end if
end mouseMove

I'm still interested in other people's solutions to this. I can't imagine I'm the only one who's ever tried this.

Devin

Devin Asay
Learn to code with LiveCode University
http://university.livecode.com






From scott at tactilemedia.com  Thu Jul 11 15:01:27 2013
From: scott at tactilemedia.com (Scott Rossi)
Date: Thu, 11 Jul 2013 12:01:27 -0700
Subject: Drag-scrolling a group
In-Reply-To: <90BE4935-DB12-48E4-B5C0-47323DCF5234@byu.edu>
Message-ID: 

Hi Devin:

Maybe something like this is what you're after - in your message box:
go url "http://www.tactilemedia.com/download/dragscroll.rev"

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 7/11/13 11:28 AM, "Devin Asay"  wrote:

>
>On Jul 11, 2013, at 12:10 PM, Roger Eller wrote:
>
>> Can it be done math-free?  If you nest a group inside the scrollable
>>locked
>> group, and set the nested group to a simple "grab me" in a mouseDown or
>> mouseStillDown handler?
>
>While I appreciate the math-free approach, ;) grab isn't the best tool
>here, because it lets you drag the group contents beyond the bounds you
>want to show. Setting the scroll values, on the other hand, prevents that
>problem.
>
>BTW, in the meantime I discovered that lock screen fixes most of my
>problems:
>
>on mouseMove pNewMouseH, pNewMouseV
>    if sDragging then
>        lock screen
>        set the hScroll of me to the hScroll of me - (pNewMouseH -sMouseH)
>        set the vScroll of me to the vScroll of me - (pNewMouseV -
>sMouseV)
>        unlock screen
>    end if
>end mouseMove
>
>I'm still interested in other people's solutions to this. I can't imagine
>I'm the only one who's ever tried this.
>
>Devin
>
>Devin Asay
>Learn to code with LiveCode University
>http://university.livecode.com
>
>
>
>
>_______________________________________________
>use-livecode mailing list
>use-livecode at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode
>





From tedennis at softwaredetails.com  Thu Jul 11 15:12:32 2013
From: tedennis at softwaredetails.com (Terry Dennis)
Date: Thu, 11 Jul 2013 12:12:32 -0700
Subject: Array glitch
Message-ID: <33F208182AFA43048BE054656E7F9855@TED>

-- Run the following script in a new stack
-- At the breakpoint, the array has one entry in it
-- Go to the "Variables" tab and click the down-arrow for tSimpleArray to view the contents
-- The IDE exits immediately, with no error message
-- How do I find out what caused this?  Is there a limitation on the size of a numeric key?
-- LiveCode 6.1  Build 2005

on testSimpleArray
   put 0 into tSimpleArray[the seconds]
   breakpoint
end testSimpleArray

From roger.e.eller at sealedair.com  Thu Jul 11 15:21:28 2013
From: roger.e.eller at sealedair.com (Roger Eller)
Date: Thu, 11 Jul 2013 15:21:28 -0400
Subject: Drag-scrolling a group
In-Reply-To: <90BE4935-DB12-48E4-B5C0-47323DCF5234@byu.edu>
References: <6B56E0BC-C584-457C-8840-217CB0DCD16C@byu.edu>
	
	<90BE4935-DB12-48E4-B5C0-47323DCF5234@byu.edu>
Message-ID: 

You've probably already examined the example on RevOnline.

http://revonline2.runrev.com/stack/606/Scrolling-Group

~Roger


On Thu, Jul 11, 2013 at 2:28 PM, Devin Asay  wrote:

>
> On Jul 11, 2013, at 12:10 PM, Roger Eller wrote:
>
> > Can it be done math-free?  If you nest a group inside the scrollable
> locked
> > group, and set the nested group to a simple "grab me" in a mouseDown or
> > mouseStillDown handler?
>
> While I appreciate the math-free approach, ;) grab isn't the best tool
> here, because it lets you drag the group contents beyond the bounds you
> want to show. Setting the scroll values, on the other hand, prevents that
> problem.
>
> BTW, in the meantime I discovered that lock screen fixes most of my
> problems:
>
> on mouseMove pNewMouseH, pNewMouseV
>     if sDragging then
>         lock screen
>         set the hScroll of me to the hScroll of me - (pNewMouseH -sMouseH)
>         set the vScroll of me to the vScroll of me - (pNewMouseV - sMouseV)
>         unlock screen
>     end if
> end mouseMove
>
> I'm still interested in other people's solutions to this. I can't imagine
> I'm the only one who's ever tried this.
>
> Devin
>
> Devin Asay
> Learn to code with LiveCode University
> http://university.livecode.com
>
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


From pete at lcsql.com  Thu Jul 11 15:21:21 2013
From: pete at lcsql.com (Peter Haworth)
Date: Thu, 11 Jul 2013 12:21:21 -0700
Subject: Using the "or" operator with filter
In-Reply-To: 
References: 
	<51DEE8D9.6030003@fourthworld.com>
	
Message-ID: 

If I remember correctly, there are some significant improvements in the
pipeline for the filter command - head over to the engine forum fro details.

Pete
lcSQL Software 


On Thu, Jul 11, 2013 at 10:50 AM, Roger Eller
wrote:

> Thanks Richard.
>
> To give a better picture of the requirements, the gCodes will be read from
> a user editable preference file (.txt), so there could easily be 3 or more
> (or less) items that have to be examined for each line of tList (a report
> file).
>
> At the moment, it works for the hard-coded 3 gCodes. That's why I tried
> "or" in hopes of filtering them all in a single pass. I'm going to build a
> smarter repeat that can adjust to the  number of items in gCodes.
>
> ~Roger
>
>
> On Thu, Jul 11, 2013 at 1:18 PM, Richard Gaskin wrote:
>
> > Roger Eller wrote:
> >
> >>
> >> Perhaps I should just loop through each line checking if it 'contains'
> one
> >> of the codes instead?
> >>
> >
> > I would do that.
> >
> > Regex is handy at times, but it's a complex subsystem and notoriously
> slow
> > with complex operators.
> >
> > I'll bet if you can first run a filter against the left-most column, a
> > "repeat for each" on the remainder would likely be about as fast as you
> can
> > get.
> >
> > Sometimes "repeat for each" on the whole thing is faster than "filter".
> >
> > --
> >  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<
> http://twitter.com/FourthWorldSys>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


From mwieder at ahsoftware.net  Thu Jul 11 15:26:09 2013
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Thu, 11 Jul 2013 12:26:09 -0700
Subject: Array glitch
In-Reply-To: <33F208182AFA43048BE054656E7F9855@TED>
References: <33F208182AFA43048BE054656E7F9855@TED>
Message-ID: <5271703945.20130711122609@ahsoftware.net>

Terry-

Thursday, July 11, 2013, 12:12:32 PM, you wrote:

> -- How do I find out what caused this?  Is there a limitation on the size of a numeric key?

It's a known bug with the built-in debugger.

PowerDebug: http://powerdebug.ahsoftware.net
http://www.ahsoftware.net/PowerTools/BuyPowerDebug.irev

-- 
-Mark Wieder
 mwieder at ahsoftware.net




From dsc at swcp.com  Thu Jul 11 15:35:59 2013
From: dsc at swcp.com (Dar Scott)
Date: Thu, 11 Jul 2013 13:35:59 -0600
Subject: Using the "or" operator with filter
In-Reply-To: 
References: 
Message-ID: <0F6CE5CF-9A32-453B-A0E5-DDDAE4AAF316@swcp.com>

I'd be inclined to do this:

repeat for each line...
    repeat for each item...

And check for contains as you are thinking.  This goes through tList only once.  (I'm assuming that tList is large and gCodes is small.)

Other ideas:

I think filter does not use a real regex.  If it does you can "compile" a regex from your gCodes.  Then use that single regex.  (I am only a regex expert the week during and the week after I do some serious regex and after that I forget everything.)

There might be a way to use filter if order is not important.  Filter for the first item to get a good list and a bad list.  Append your good list to an accumulating list.  Then repeat with the bad list and the next item in gCodes.  Continue as you have items.  Your last bad list is your bad list and your accumulation is the good list.  (Ug.  That is cryptic.  Let me know if that makes no sense and I can LiveCode it.)

Variations on above would use arrays in one way or another.

LiveCode script limits are dropped.  You can compile some LiveCode from gCodes, somehow.  And use it somehow.  

Use matchChunk to get the first good line location.  Remove it and previous lines.  Save it.  Repeat.  This requires "compiling" a regex from gCodes.  

If you can pick out the code from the line, you can use the loop suggested but use "is among the items of" instead of the inner loop.

Put in a feature request for filtering chunks based on an expression that is true or false.  

Dar




On Jul 11, 2013, at 9:08 AM, Roger Eller wrote:

> global gCodes
> put tList into tGood; put tList into tBad
> put "PPX,RRY,NNZ" into gCodes
> -- Keep lines that contain any item of gCodes
> filter tGood with ("*" & item 1 of gCodes & "*") or ("*" & item 2 of gCodes
> & "*") or ("*" & item 3 of gCodes & "*")
> filter tBad without ("*" & item 1 of gCodes & "*") or ("*" & item 2 of gCodes
> & "*") or ("*" & item 3 of gCodes & "*")
> 
> Perhaps I should just loop through each line checking if it 'contains' one
> of the codes instead?
> Is there a better approach? ...
> 
> ~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 pete at lcsql.com  Thu Jul 11 16:08:39 2013
From: pete at lcsql.com (Peter Haworth)
Date: Thu, 11 Jul 2013 13:08:39 -0700
Subject: Ellipsis character in WIndows
Message-ID: 

Anyone know how to generate an ellipsis character on a Windows computer
with no numeric keypad?  The standard key combination of alt -0,1,3,3 only
seems to work for the numric keypad.

Pete
lcSQL Software 


From coiin at verizon.net  Thu Jul 11 16:23:21 2013
From: coiin at verizon.net (Colin Holgate)
Date: Thu, 11 Jul 2013 16:23:21 -0400
Subject: Ellipsis character in WIndows
In-Reply-To: 
References: 
Message-ID: <09822832-28C0-476F-92BF-BBF1E13F8EA7@verizon.net>

You could put numtochar(133) into the place you need it to be.


On Jul 11, 2013, at 4:08 PM, Peter Haworth  wrote:

> >Anyone know how to generate an ellipsis character on a Windows computer
> with no numeric keypad? 



From dsc at swcp.com  Thu Jul 11 16:34:21 2013
From: dsc at swcp.com (Dar Scott)
Date: Thu, 11 Jul 2013 14:34:21 -0600
Subject: Ellipsis character in WIndows
In-Reply-To: 
References: 
Message-ID: <5CDE1493-154F-4F85-B2BA-638D55E5E8C7@swcp.com>

?

U2026

You can copy and paste that.

Here is midline:  ?

U22EF

You might be able to generate what you want with WordPad.

With the new 'put unicode after' you can create a button to insert that.

Dar


On Jul 11, 2013, at 2:08 PM, Peter Haworth wrote:

> Anyone know how to generate an ellipsis character on a Windows computer
> with no numeric keypad?  The standard key combination of alt -0,1,3,3 only
> seems to work for the numric keypad.
> 
> 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 dsc at swcp.com  Thu Jul 11 16:44:19 2013
From: dsc at swcp.com (Dar Scott)
Date: Thu, 11 Jul 2013 14:44:19 -0600
Subject: Ellipsis character in WIndows
In-Reply-To: 
References: 
Message-ID: 

Oh, by the way, Windows-1252 character encoding is not portable, so you might not want to use alt -0,1,3,3.  Unless you do a conversion later.

On WordPad type 2026 and then Alt-X.  You get Unicode ellipsis.  

There might be a way to convince your notebook that you are typing from a keypad, but I don't know how.

Dar



On Jul 11, 2013, at 2:08 PM, Peter Haworth wrote:

> Anyone know how to generate an ellipsis character on a Windows computer
> with no numeric keypad?  The standard key combination of alt -0,1,3,3 only
> seems to work for the numric keypad.
> 
> 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 jacque at hyperactivesw.com  Thu Jul 11 17:07:04 2013
From: jacque at hyperactivesw.com (J. Landman Gay)
Date: Thu, 11 Jul 2013 16:07:04 -0500
Subject: Array glitch
In-Reply-To: <5271703945.20130711122609@ahsoftware.net>
References: <33F208182AFA43048BE054656E7F9855@TED>
	<5271703945.20130711122609@ahsoftware.net>
Message-ID: <51DF1E78.10402@hyperactivesw.com>

On 7/11/13 2:26 PM, Mark Wieder wrote:
> Terry-
>
> Thursday, July 11, 2013, 12:12:32 PM, you wrote:
>
>> -- How do I find out what caused this?  Is there a limitation on the size of a numeric key?
>
> It's a known bug with the built-in debugger.

What's the bug exactly? Big numbers as keys?

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



From devin_asay at byu.edu  Thu Jul 11 17:09:45 2013
From: devin_asay at byu.edu (Devin Asay)
Date: Thu, 11 Jul 2013 21:09:45 +0000
Subject: Drag-scrolling a group
In-Reply-To: 
References: <6B56E0BC-C584-457C-8840-217CB0DCD16C@byu.edu>
	
	<90BE4935-DB12-48E4-B5C0-47323DCF5234@byu.edu>
	
Message-ID: 


On Jul 11, 2013, at 1:21 PM, Roger Eller wrote:

> You've probably already examined the example on RevOnline.
> 
> http://revonline2.runrev.com/stack/606/Scrolling-Group
> 
Thanks for that reference, Roger. I hadn't seen it before. It does appear to be more oriented toward mobile, and I'm working on a desktop app. I wonder if acceleratedRendering and layerMode make a significant difference on the desktop. I haven't been experiencing rendering speed problems without them.

Devin

Devin Asay
Learn to code with LiveCode University
http://university.livecode.com






From pete at lcsql.com  Thu Jul 11 17:09:42 2013
From: pete at lcsql.com (Peter Haworth)
Date: Thu, 11 Jul 2013 14:09:42 -0700
Subject: Ellipsis character in WIndows
In-Reply-To: <09822832-28C0-476F-92BF-BBF1E13F8EA7@verizon.net>
References: 
	<09822832-28C0-476F-92BF-BBF1E13F8EA7@verizon.net>
Message-ID: 

Thanks Colin, that's what I ended up doing but just curious if there is a
way to do it on the keyboard.

Pete
lcSQL Software 


On Thu, Jul 11, 2013 at 1:23 PM, Colin Holgate  wrote:

> You could put numtochar(133) into the place you need it to be.
>
>
> On Jul 11, 2013, at 4:08 PM, Peter Haworth  wrote:
>
> > >Anyone know how to generate an ellipsis character on a Windows computer
> > with no numeric keypad?
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


From devin_asay at byu.edu  Thu Jul 11 17:10:58 2013
From: devin_asay at byu.edu (Devin Asay)
Date: Thu, 11 Jul 2013 21:10:58 +0000
Subject: Drag-scrolling a group
In-Reply-To: 
References: 
Message-ID: 


On Jul 11, 2013, at 1:01 PM, Scott Rossi wrote:

> Hi Devin:
> 
> Maybe something like this is what you're after - in your message box:
> go url "http://www.tactilemedia.com/download/dragscroll.rev"

Thanks, Scott. Most helpful, as usual. The bit that I was overlooking was updating the saved mouseV and mouseH during the mouseMove handler. That smoothed things out considerably.

Devin

Devin Asay
Learn to code with LiveCode University
http://university.livecode.com






From pete at lcsql.com  Thu Jul 11 17:11:04 2013
From: pete at lcsql.com (Peter Haworth)
Date: Thu, 11 Jul 2013 14:11:04 -0700
Subject: Ellipsis character in WIndows
In-Reply-To: 
References: 
	
Message-ID: 

Thanks Dar.

Pete
lcSQL Software 


On Thu, Jul 11, 2013 at 1:44 PM, Dar Scott  wrote:

> Oh, by the way, Windows-1252 character encoding is not portable, so you
> might not want to use alt -0,1,3,3.  Unless you do a conversion later.
>
> On WordPad type 2026 and then Alt-X.  You get Unicode ellipsis.
>
> There might be a way to convince your notebook that you are typing from a
> keypad, but I don't know how.
>
> Dar
>
>
>
> On Jul 11, 2013, at 2:08 PM, Peter Haworth wrote:
>
> > Anyone know how to generate an ellipsis character on a Windows computer
> > with no numeric keypad?  The standard key combination of alt -0,1,3,3
> only
> > seems to work for the numric keypad.
> >
> > 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 mwieder at ahsoftware.net  Thu Jul 11 18:03:11 2013
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Thu, 11 Jul 2013 15:03:11 -0700
Subject: Array glitch
In-Reply-To: <51DF1E78.10402@hyperactivesw.com>
References: <33F208182AFA43048BE054656E7F9855@TED>
	<5271703945.20130711122609@ahsoftware.net>
	<51DF1E78.10402@hyperactivesw.com>
Message-ID: <16481125456.20130711150311@ahsoftware.net>

Jacque-

Thursday, July 11, 2013, 2:07:04 PM, you wrote:

> What's the bug exactly? Big numbers as keys?

Oops. I can't find the bug I was thinking about at the moment, but it
turns out I was thinking of another reported bug.

I tried the test script here and it worked fine.

-- 
-Mark Wieder
 mwieder at ahsoftware.net




From MikeKerner at roadrunner.com  Thu Jul 11 18:22:27 2013
From: MikeKerner at roadrunner.com (Mike Kerner)
Date: Thu, 11 Jul 2013 18:22:27 -0400
Subject: out-of-the-blue codesigning error
Message-ID: 

An app that I have been using and deploying to my team for months is now
failing to build with "codesigning failed with aps-environment
development"

I checked the certs in keychain and in xcode and at apple's developer
portal, and nothing seems to be expired or otherwise out of the ordinary.
So any ideas on what to try next?

-- 
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 scott at tactilemedia.com  Thu Jul 11 18:35:16 2013
From: scott at tactilemedia.com (Scott Rossi)
Date: Thu, 11 Jul 2013 15:35:16 -0700
Subject: out-of-the-blue codesigning error
In-Reply-To: 
Message-ID: 

Not sure if this is your issue, but FWIW, trying to load/transfer a newly
built app to a device always fails on my system unless I use the
AppResigner tool that was mentioned on the list a ways back.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 7/11/13 3:22 PM, "Mike Kerner"  wrote:

>An app that I have been using and deploying to my team for months is now
>failing to build with "codesigning failed with aps-environment
>development"
>
>I checked the certs in keychain and in xcode and at apple's developer
>portal, and nothing seems to be expired or otherwise out of the ordinary.
>So any ideas on what to try next?
>
>-- 
>On the first day, God created the heavens and the Earth
>On the second day, God created the oceans.
>On the third day, God put the animals on hold for a few hours,
>   and did a little diving.
>And God said, "This is good."
>_______________________________________________
>use-livecode mailing list
>use-livecode at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode
>





From dsc at swcp.com  Thu Jul 11 18:20:04 2013
From: dsc at swcp.com (Dar Scott)
Date: Thu, 11 Jul 2013 16:20:04 -0600
Subject: Array glitch
In-Reply-To: <16481125456.20130711150311@ahsoftware.net>
References: <33F208182AFA43048BE054656E7F9855@TED>
	<5271703945.20130711122609@ahsoftware.net>
	<51DF1E78.10402@hyperactivesw.com>
	<16481125456.20130711150311@ahsoftware.net>
Message-ID: 

I wonder if tSimpleArray is really global or scriptLocal.  OK, not likely.

Sometimes weird characters sneak into scripts.  

Maybe the crash dump has a clue.  

Dar

On Jul 11, 2013, at 4:03 PM, Mark Wieder wrote:

> Jacque-
> 
> Thursday, July 11, 2013, 2:07:04 PM, you wrote:
> 
>> What's the bug exactly? Big numbers as keys?
> 
> Oops. I can't find the bug I was thinking about at the moment, but it
> turns out I was thinking of another reported bug.
> 
> I tried the test script here and it worked fine.
> 
> -- 
> -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 iowahengst at mac.com  Thu Jul 11 18:55:42 2013
From: iowahengst at mac.com (Randy Hengst)
Date: Thu, 11 Jul 2013 17:55:42 -0500
Subject: out-of-the-blue codesigning error
In-Reply-To: 
References: 
Message-ID: 

Mike,

The only time that's happened to me is when I didn't change to the correct profile when I built the standalone in LC.  That was the problem even when I knew I used the right one. 

be well,
randy 
-----
On Jul 11, 2013, at 5:35 PM, Scott Rossi  wrote:

> Not sure if this is your issue, but FWIW, trying to load/transfer a newly
> built app to a device always fails on my system unless I use the
> AppResigner tool that was mentioned on the list a ways back.
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
> 
> 
> 
> 
> On 7/11/13 3:22 PM, "Mike Kerner"  wrote:
> 
>> An app that I have been using and deploying to my team for months is now
>> failing to build with "codesigning failed with aps-environment
>> development"
>> 
>> I checked the certs in keychain and in xcode and at apple's developer
>> portal, and nothing seems to be expired or otherwise out of the ordinary.
>> So any ideas on what to try next?
>> 
>> -- 
>> On the first day, God created the heavens and the Earth
>> On the second day, God created the oceans.
>> On the third day, God put the animals on hold for a few hours,
>>  and did a little diving.
>> And God said, "This is good."
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



From mwieder at ahsoftware.net  Thu Jul 11 18:58:09 2013
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Thu, 11 Jul 2013 15:58:09 -0700
Subject: Array glitch
In-Reply-To: 
References: <33F208182AFA43048BE054656E7F9855@TED>
	<5271703945.20130711122609@ahsoftware.net>
	<51DF1E78.10402@hyperactivesw.com>
	<16481125456.20130711150311@ahsoftware.net>
	
Message-ID: <13784423128.20130711155809@ahsoftware.net>

Dar-

Thursday, July 11, 2013, 3:20:04 PM, you wrote:

> I wonder if tSimpleArray is really global or scriptLocal.

I tried it all three ways and it still worked for me.
Maybe it was triggered in between seconds like that Damon Knight
story...

-- 
-Mark Wieder
 mwieder at ahsoftware.net




From bvlahos at mac.com  Thu Jul 11 19:25:09 2013
From: bvlahos at mac.com (Bill Vlahos)
Date: Thu, 11 Jul 2013 16:25:09 -0700
Subject: lcTaskList version 1.3 available now
Message-ID: <75B553AB-D652-4F2D-AACD-88486D8CD375@mac.com>

My lcTaskList IDE plugin is 1 year old this month. I'm happy to report that the 3rd update is available exclusively at RunRev's LiveCode Marketplace. http://livecode.com/store/marketplace/lcTaskList-1-3/

This indispensable plugin to the IDE makes it easy to bookmark your code. See a list of all of your tasks and just click to bring up the code in the Script Editor or GLX2.

New in 1.3

- Works with LiveCode Community Edition as the source code is no longer password protected
- New preference to set which column to sort by
- New Copy button will allow you to copy the list of open tasks to the clipboard, paste them into an email, a personal notebook, an Evernote client, or your manager

It is a steal at only $10 and is FREE to all existing owners. Existing owners just download it from your "My Products" page.

Bill Vlahos
_________________
InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure.
lcTaskList: (http://www.infowallet.com/lctasklist/index.htm)
RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61)




From MikeKerner at roadrunner.com  Thu Jul 11 19:28:51 2013
From: MikeKerner at roadrunner.com (Mike Kerner)
Date: Thu, 11 Jul 2013 19:28:51 -0400
Subject: out-of-the-blue codesigning error
In-Reply-To: 
References: 
	
Message-ID: 

Is there some known way to debug this?  I haven't seen anything on this
list about it.  Creating a new app gives the five-point signing error, now,
too, and it seems that all of my apps have lost their link to their
provisioning profiles.


On Thu, Jul 11, 2013 at 6:55 PM, Randy Hengst  wrote:

> Mike,
>
> The only time that's happened to me is when I didn't change to the correct
> profile when I built the standalone in LC.  That was the problem even when
> I knew I used the right one.
>
> be well,
> randy
> -----
> On Jul 11, 2013, at 5:35 PM, Scott Rossi  wrote:
>
> > Not sure if this is your issue, but FWIW, trying to load/transfer a newly
> > built app to a device always fails on my system unless I use the
> > AppResigner tool that was mentioned on the list a ways back.
> >
> > Regards,
> >
> > Scott Rossi
> > Creative Director
> > Tactile Media, UX/UI Design
> >
> >
> >
> >
> > On 7/11/13 3:22 PM, "Mike Kerner"  wrote:
> >
> >> An app that I have been using and deploying to my team for months is now
> >> failing to build with "codesigning failed with aps-environment
> >> development"
> >>
> >> I checked the certs in keychain and in xcode and at apple's developer
> >> portal, and nothing seems to be expired or otherwise out of the
> ordinary.
> >> So any ideas on what to try next?
> >>
> >> --
> >> On the first day, God created the heavens and the Earth
> >> On the second day, God created the oceans.
> >> On the third day, God put the animals on hold for a few hours,
> >>  and did a little diving.
> >> And God said, "This is good."
> >> _______________________________________________
> >> use-livecode mailing list
> >> use-livecode at lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> >
> >
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."


From tedennis at softwaredetails.com  Thu Jul 11 19:38:24 2013
From: tedennis at softwaredetails.com (Terry Dennis)
Date: Thu, 11 Jul 2013 16:38:24 -0700
Subject: Array glitch
In-Reply-To: 
References: 
Message-ID: <0B6F64351DD2475BBE19198448E47484@TED>

Well, back to my original question ... how do I determine what caused this?

If the debugger chokes on it, there's a good chance there's some other 
insidious related glitch in the guts of LC that will cause other strange 
happenings.  I'm allergic to strange happenings.

I don't want to use a value for my array keys that will cause nightmarish 
problems in the future.

I built that test script to isolate a problem that had already cost me a 
bunch of time and caused a loss of data.  Then, isolating the problem took a 
while, because I didn't think something as simplistic as that would be a 
problem.

Now, does anybody have any idea what the problem is, so I can redesign my 
array to avoid the problem?  Or, better yet, have somebody at RunRev fix the 
problem so some other poor schmuck doesn't experience the same surprise.

That glitch exists in:

1) an existing stack (which is how I first encountered it),
2) in the same stack with a new button and new script,
3) in an entirely new stack after exiting and re-entering LC.

I don't think it's environmental, but I suppose it could be ... which brings 
me back to my original question ... how do I determine what caused this?

Terry

From: Mark Wieder 
To: use-livecode at lists.runrev.com
Subject: Re: Array glitch
Message-ID: <16481125456.20130711150311 at ahsoftware.net>
Content-Type: text/plain; charset=us-ascii

Jacque-

Thursday, July 11, 2013, 2:07:04 PM, you wrote:

> What's the bug exactly? Big numbers as keys?

Oops. I can't find the bug I was thinking about at the moment, but it
turns out I was thinking of another reported bug.

I tried the test script here and it worked fine.

-- 
-Mark Wieder
mwieder at ahsoftware.net




From dsc at swcp.com  Thu Jul 11 19:40:06 2013
From: dsc at swcp.com (Dar Scott)
Date: Thu, 11 Jul 2013 17:40:06 -0600
Subject: Array glitch
In-Reply-To: <13784423128.20130711155809@ahsoftware.net>
References: <33F208182AFA43048BE054656E7F9855@TED>
	<5271703945.20130711122609@ahsoftware.net>
	<51DF1E78.10402@hyperactivesw.com>
	<16481125456.20130711150311@ahsoftware.net>
	
	<13784423128.20130711155809@ahsoftware.net>
Message-ID: <045E07C5-8EF9-4A9C-B2D3-3945BBE27387@swcp.com>

Oh, what I meant was that maybe there was something weird in the variable.

On Jul 11, 2013, at 4:58 PM, Mark Wieder wrote:

> Dar-
> 
> Thursday, July 11, 2013, 3:20:04 PM, you wrote:
> 
>> I wonder if tSimpleArray is really global or scriptLocal.
> 
> I tried it all three ways and it still worked for me.
> Maybe it was triggered in between seconds like that Damon Knight
> story...
> 
> -- 
> -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 alex at tweedly.net  Thu Jul 11 19:51:56 2013
From: alex at tweedly.net (Alex Tweedly)
Date: Fri, 12 Jul 2013 00:51:56 +0100
Subject: lcTaskList version 1.3 available now
In-Reply-To: <75B553AB-D652-4F2D-AACD-88486D8CD375@mac.com>
References: <75B553AB-D652-4F2D-AACD-88486D8CD375@mac.com>
Message-ID: <51DF451C.9060709@tweedly.net>

It is indeed a great product - highly recommend it.

Rather confusingly, for an existing user, in the "My Products" page, it 
says "no updates available", but if you go ahead and download it anyway, 
then you do get the new version.

Thanks Bill.

-- Alex.

On 12/07/2013 00:25, Bill Vlahos wrote:
>
> It is a steal at only $10 and is FREE to all existing owners. Existing owners just download it from your "My Products" page.
>
> Bill Vlahos
> _________________
> InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure.
> lcTaskList: (http://www.infowallet.com/lctasklist/index.htm)
> RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61)
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




From dsc at swcp.com  Thu Jul 11 19:54:00 2013
From: dsc at swcp.com (Dar Scott)
Date: Thu, 11 Jul 2013 17:54:00 -0600
Subject: Array glitch
In-Reply-To: <0B6F64351DD2475BBE19198448E47484@TED>
References: 
	<0B6F64351DD2475BBE19198448E47484@TED>
Message-ID: <442BD71B-3F2E-48AF-B7BC-C98076BF1569@swcp.com>

Does this occur if you dump the array (using your favorite method)?

Does this occur with just the breakpoint?

Does this occur with typing in a whole new script with no cut and paste?

Does this occur with other number keys or other values or simply by setting the variable?

Does this occur with some other variable name?

Does this occur with no preferences file?

I hope others have better questions, but if not...

Dar


On Jul 11, 2013, at 5:38 PM, Terry Dennis wrote:

> Well, back to my original question ... how do I determine what caused this?
> 
> If the debugger chokes on it, there's a good chance there's some other insidious related glitch in the guts of LC that will cause other strange happenings.  I'm allergic to strange happenings.
> 
> I don't want to use a value for my array keys that will cause nightmarish problems in the future.
> 
> I built that test script to isolate a problem that had already cost me a bunch of time and caused a loss of data.  Then, isolating the problem took a while, because I didn't think something as simplistic as that would be a problem.
> 
> Now, does anybody have any idea what the problem is, so I can redesign my array to avoid the problem?  Or, better yet, have somebody at RunRev fix the problem so some other poor schmuck doesn't experience the same surprise.
> 
> That glitch exists in:
> 
> 1) an existing stack (which is how I first encountered it),
> 2) in the same stack with a new button and new script,
> 3) in an entirely new stack after exiting and re-entering LC.
> 
> I don't think it's environmental, but I suppose it could be ... which brings me back to my original question ... how do I determine what caused this?
> 
> Terry
> 
> From: Mark Wieder 
> To: use-livecode at lists.runrev.com
> Subject: Re: Array glitch
> Message-ID: <16481125456.20130711150311 at ahsoftware.net>
> Content-Type: text/plain; charset=us-ascii
> 
> Jacque-
> 
> Thursday, July 11, 2013, 2:07:04 PM, you wrote:
> 
>> What's the bug exactly? Big numbers as keys?
> 
> Oops. I can't find the bug I was thinking about at the moment, but it
> turns out I was thinking of another reported bug.
> 
> I tried the test script here and it worked fine.
> 
> -- 
> -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 tedennis at softwaredetails.com  Thu Jul 11 20:19:46 2013
From: tedennis at softwaredetails.com (Terry Dennis)
Date: Thu, 11 Jul 2013 17:19:46 -0700
Subject: Array glitch
In-Reply-To: <442BD71B-3F2E-48AF-B7BC-C98076BF1569@swcp.com>
Message-ID: <85BD175541514FBAAEC1AE174D99CA61@TED>

Does this occur if you dump the array (using your favorite method)?
-- NO. All other accesses to the array *appear* to work fine. Of course, I 
haven?t tested *every* possible value.

Does this occur with just the breakpoint?
-- It occurs with either a manually applied breakpoint, or a coded 
breakpoint (as in the example)

Does this occur with typing in a whole new script with no cut and paste?
-- YES. That?s how I created the test script. I manually typed it into a new 
button?s mouseUp script.

Does this occur with other number keys or other values or simply by setting 
the variable?
-- It ONLY occurs when I try to display the array in the debugger.  It 
*appears* programmatic access is fine.  But, I don't know that for sure, 
which is why I'm pursuing this line of questioning.  Has anybody else run 
across something like this with arrays?  It's the possible side effects of 
the underlying problem that I'm trying to avoid.  I don't want to take the 
time to redesign the array's keys if I will get the same result.

Does this occur with some other variable name?
--  YES.  The original problem was in an app I've been working on.  It used 
an entirely different naming convention.  It was actually an array of 
arrays, using seconds as the key.  So, I thought the problem could have been 
something to do with sub-arrays, and my code was at fault.  That's why it 
took me a while to isolate the problem.

Does this occur with no preferences file?
-- Good question.  How do I test without a preferences file?

There are several dump files in my AppData CrashLogs folder, but I don't 
know how to proceed with those.

Terry 




From bvlahos at mac.com  Thu Jul 11 20:38:04 2013
From: bvlahos at mac.com (Bill Vlahos)
Date: Thu, 11 Jul 2013 17:38:04 -0700
Subject: lcTaskList version 1.3 available now
In-Reply-To: <51DF451C.9060709@tweedly.net>
References: <75B553AB-D652-4F2D-AACD-88486D8CD375@mac.com>
	<51DF451C.9060709@tweedly.net>
Message-ID: 

Alex,

Thank you for the endorsement.

Yes RunRev built the Marketplace so that you only see "Updates" if the update costs money. Free ones don't give any notice. You are correct that re-downloading it will get the current version.

Bill Vlahos

On Jul 11, 2013, at 4:51 PM, Alex Tweedly  wrote:

> It is indeed a great product - highly recommend it.
> 
> Rather confusingly, for an existing user, in the "My Products" page, it says "no updates available", but if you go ahead and download it anyway, then you do get the new version.
> 
> Thanks Bill.
> 
> -- Alex.
> 
> On 12/07/2013 00:25, Bill Vlahos wrote:
>> 
>> It is a steal at only $10 and is FREE to all existing owners. Existing owners just download it from your "My Products" page.
>> 
>> Bill Vlahos
>> _________________
>> InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure.
>> lcTaskList: (http://www.infowallet.com/lctasklist/index.htm)
>> RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61)
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at 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 Jul 11 20:39:39 2013
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Thu, 11 Jul 2013 17:39:39 -0700
Subject: Array glitch
In-Reply-To: <85BD175541514FBAAEC1AE174D99CA61@TED>
References: <85BD175541514FBAAEC1AE174D99CA61@TED>
Message-ID: <2490513494.20130711173939@ahsoftware.net>

Terry-

Thursday, July 11, 2013, 5:19:46 PM, you wrote:

> Does this occur with typing in a whole new script with no cut and paste?
> -- YES. That?s how I created the test script. I manually typed it into a new
> button?s mouseUp script.

How about that test script in a button in a *new stack*? My guess is
that something else in that stack is causing the problem.

-- 
-Mark Wieder
 mwieder at ahsoftware.net




From tedennis at softwaredetails.com  Thu Jul 11 21:31:52 2013
From: tedennis at softwaredetails.com (Terry Dennis)
Date: Thu, 11 Jul 2013 18:31:52 -0700
Subject: Array glitch
In-Reply-To: <2490513494.20130711173939@ahsoftware.net>
Message-ID: <1152377C5FA7428D99C90A9552327F61@TED>

Mark: re: test script in a button in a *new stack*?

Been there, done that.  As I noted in a prior email, it occurred ...

"3) in an entirely new stack after exiting and re-entering LC"

Perhaps I'm being paranoid and I shouldn't worry about it.

If I rely on that assumption as a basis for using seconds as my data access 
scheme, it's likely I will regret it somewhere down the road.

I think Murphy is in my family tree.

I've considered using the difference between "seconds" and the start of the 
decade, or the start of the century, as my array key.  Then, adjust it when 
necessary.  But, until I can be reasonably confident I won't run into the 
same type of problem with a different value, I'm reluctant to rework my 
logic to use that scheme.

I suppose I could spend a bunch of time running a zillion tests with 
different values until I come across the value that breaks it.   Then we 
would have something for the LC guys to work on.  I'll get back to you in a 
couple of years to let you know the results of my tests.  ;-)

Of course, it could be it has nothing whatsoever to do with the value of the 
key ... which is why I didn't think "seconds" would break it.

Loop: See "recursive"

Recursive: See "loop"

Terry 




From jacque at hyperactivesw.com  Thu Jul 11 22:14:06 2013
From: jacque at hyperactivesw.com (J. Landman Gay)
Date: Thu, 11 Jul 2013 21:14:06 -0500
Subject: Array glitch
In-Reply-To: <85BD175541514FBAAEC1AE174D99CA61@TED>
References: <85BD175541514FBAAEC1AE174D99CA61@TED>
Message-ID: <2ac664d7-96b8-4740-aa12-d8a3645427ea@email.android.com>

Terry Dennis  wrote:
?
>-- It ONLY occurs when I try to display the array in the debugger.  It 
>*appears* programmatic access is fine.  
Since it works okay for everyone at runtime, and it only crashes for you in the debugger, I'd think the problem is with the debugger.  If that's true then keeping your code as-is should be okay. 

But I'd definitely send in a crash log so RR can take a look.  
-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



From cmsheffield at icloud.com  Fri Jul 12 10:34:48 2013
From: cmsheffield at icloud.com (Chris Sheffield)
Date: Fri, 12 Jul 2013 08:34:48 -0600
Subject: out-of-the-blue codesigning error
In-Reply-To: 
References: 
	
	
Message-ID: 

Mike,

Try this if you haven't already.

Launch Xcode and open the Organizer window. Select "Provisioning Profiles" on the left, then hit the Refresh button on the lower right. This will sort of sync everything up between Apple's dev portal and your computer. After that's done, try building your app again, making sure there's a valid profile selected before doing so. Sometimes, at least in my case, refreshing the profiles will add/delete them, so in your standalone settings nothing will be selected.

Not entirely sure if this will help, but it's worth a try.

Chris


--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com



On Jul 11, 2013, at 5:28 PM, Mike Kerner  wrote:

> Is there some known way to debug this?  I haven't seen anything on this
> list about it.  Creating a new app gives the five-point signing error, now,
> too, and it seems that all of my apps have lost their link to their
> provisioning profiles.
> 
> 
> On Thu, Jul 11, 2013 at 6:55 PM, Randy Hengst  wrote:
> 
>> Mike,
>> 
>> The only time that's happened to me is when I didn't change to the correct
>> profile when I built the standalone in LC.  That was the problem even when
>> I knew I used the right one.
>> 
>> be well,
>> randy
>> -----
>> On Jul 11, 2013, at 5:35 PM, Scott Rossi  wrote:
>> 
>>> Not sure if this is your issue, but FWIW, trying to load/transfer a newly
>>> built app to a device always fails on my system unless I use the
>>> AppResigner tool that was mentioned on the list a ways back.
>>> 
>>> Regards,
>>> 
>>> Scott Rossi
>>> Creative Director
>>> Tactile Media, UX/UI Design
>>> 
>>> 
>>> 
>>> 
>>> On 7/11/13 3:22 PM, "Mike Kerner"  wrote:
>>> 
>>>> An app that I have been using and deploying to my team for months is now
>>>> failing to build with "codesigning failed with aps-environment
>>>> development"
>>>> 
>>>> I checked the certs in keychain and in xcode and at apple's developer
>>>> portal, and nothing seems to be expired or otherwise out of the
>> ordinary.
>>>> So any ideas on what to try next?
>>>> 
>>>> --
>>>> On the first day, God created the heavens and the Earth
>>>> On the second day, God created the oceans.
>>>> On the third day, God put the animals on hold for a few hours,
>>>> and did a little diving.
>>>> And God said, "This is good."
>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> use-livecode at lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> 
> -- 
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>   and did a little diving.
> And God said, "This is good."
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




From richmondmathewson at gmail.com  Fri Jul 12 10:40:46 2013
From: richmondmathewson at gmail.com (Richmond)
Date: Fri, 12 Jul 2013 17:40:46 +0300
Subject: [OT] Ouch
Message-ID: <51E0156E.6000702@gmail.com>

http://www.bbc.co.uk/news/technology-23285642



From MikeKerner at roadrunner.com  Fri Jul 12 11:11:35 2013
From: MikeKerner at roadrunner.com (Mike Kerner)
Date: Fri, 12 Jul 2013 11:11:35 -0400
Subject: out-of-the-blue codesigning error
In-Reply-To: 
References: 
	
	
	
Message-ID: 

thanks, Chris, but that didn't fix it, either.  It's really weird - even
the wildcard certificate doesn't work for a brand-spaking new stack with
nothing else attached to it.


On Fri, Jul 12, 2013 at 10:34 AM, Chris Sheffield wrote:

> Mike,
>
> Try this if you haven't already.
>
> Launch Xcode and open the Organizer window. Select "Provisioning Profiles"
> on the left, then hit the Refresh button on the lower right. This will sort
> of sync everything up between Apple's dev portal and your computer. After
> that's done, try building your app again, making sure there's a valid
> profile selected before doing so. Sometimes, at least in my case,
> refreshing the profiles will add/delete them, so in your standalone
> settings nothing will be selected.
>
> Not entirely sure if this will help, but it's worth a try.
>
> Chris
>
>
> --
> Chris Sheffield
> Read Naturally, Inc.
> www.readnaturally.com
>
>
>
> On Jul 11, 2013, at 5:28 PM, Mike Kerner 
> wrote:
>
> > Is there some known way to debug this?  I haven't seen anything on this
> > list about it.  Creating a new app gives the five-point signing error,
> now,
> > too, and it seems that all of my apps have lost their link to their
> > provisioning profiles.
> >
> >
> > On Thu, Jul 11, 2013 at 6:55 PM, Randy Hengst 
> wrote:
> >
> >> Mike,
> >>
> >> The only time that's happened to me is when I didn't change to the
> correct
> >> profile when I built the standalone in LC.  That was the problem even
> when
> >> I knew I used the right one.
> >>
> >> be well,
> >> randy
> >> -----
> >> On Jul 11, 2013, at 5:35 PM, Scott Rossi 
> wrote:
> >>
> >>> Not sure if this is your issue, but FWIW, trying to load/transfer a
> newly
> >>> built app to a device always fails on my system unless I use the
> >>> AppResigner tool that was mentioned on the list a ways back.
> >>>
> >>> Regards,
> >>>
> >>> Scott Rossi
> >>> Creative Director
> >>> Tactile Media, UX/UI Design
> >>>
> >>>
> >>>
> >>>
> >>> On 7/11/13 3:22 PM, "Mike Kerner"  wrote:
> >>>
> >>>> An app that I have been using and deploying to my team for months is
> now
> >>>> failing to build with "codesigning failed with aps-environment
> >>>> development"
> >>>>
> >>>> I checked the certs in keychain and in xcode and at apple's developer
> >>>> portal, and nothing seems to be expired or otherwise out of the
> >> ordinary.
> >>>> So any ideas on what to try next?
> >>>>
> >>>> --
> >>>> On the first day, God created the heavens and the Earth
> >>>> On the second day, God created the oceans.
> >>>> On the third day, God put the animals on hold for a few hours,
> >>>> and did a little diving.
> >>>> And God said, "This is good."
> >>>> _______________________________________________
> >>>> use-livecode mailing list
> >>>> use-livecode at lists.runrev.com
> >>>> Please visit this url to subscribe, unsubscribe and manage your
> >>>> subscription preferences:
> >>>> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> use-livecode mailing list
> >>> use-livecode at lists.runrev.com
> >>> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >>> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >> _______________________________________________
> >> use-livecode mailing list
> >> use-livecode at lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >
> >
> >
> > --
> > On the first day, God created the heavens and the Earth
> > On the second day, God created the oceans.
> > On the third day, God put the animals on hold for a few hours,
> >   and did a little diving.
> > And God said, "This is good."
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."


From dsc at swcp.com  Fri Jul 12 11:23:47 2013
From: dsc at swcp.com (Dar Scott)
Date: Fri, 12 Jul 2013 09:23:47 -0600
Subject: out-of-the-blue codesigning error
In-Reply-To: 
References: 
	
	
	
	
Message-ID: <5ED54E53-B938-48F5-80AA-8064C5FBB890@swcp.com>

At times I have had to delete an app before updating it, especially when there are provisioning changes.  

All day yesterday I read the subject to be about co-designing rather than code-signing, a different interesting topic.

Dar

On Jul 12, 2013, at 9:11 AM, Mike Kerner wrote:

> thanks, Chris, but that didn't fix it, either.  It's really weird - even
> the wildcard certificate doesn't work for a brand-spaking new stack with
> nothing else attached to it.
> 
> 
> On Fri, Jul 12, 2013 at 10:34 AM, Chris Sheffield wrote:
> 
>> Mike,
>> 
>> Try this if you haven't already.
>> 
>> Launch Xcode and open the Organizer window. Select "Provisioning Profiles"
>> on the left, then hit the Refresh button on the lower right. This will sort
>> of sync everything up between Apple's dev portal and your computer. After
>> that's done, try building your app again, making sure there's a valid
>> profile selected before doing so. Sometimes, at least in my case,
>> refreshing the profiles will add/delete them, so in your standalone
>> settings nothing will be selected.
>> 
>> Not entirely sure if this will help, but it's worth a try.
>> 
>> Chris
>> 
>> 
>> --
>> Chris Sheffield
>> Read Naturally, Inc.
>> www.readnaturally.com
>> 
>> 
>> 
>> On Jul 11, 2013, at 5:28 PM, Mike Kerner 
>> wrote:
>> 
>>> Is there some known way to debug this?  I haven't seen anything on this
>>> list about it.  Creating a new app gives the five-point signing error,
>> now,
>>> too, and it seems that all of my apps have lost their link to their
>>> provisioning profiles.
>>> 
>>> 
>>> On Thu, Jul 11, 2013 at 6:55 PM, Randy Hengst 
>> wrote:
>>> 
>>>> Mike,
>>>> 
>>>> The only time that's happened to me is when I didn't change to the
>> correct
>>>> profile when I built the standalone in LC.  That was the problem even
>> when
>>>> I knew I used the right one.
>>>> 
>>>> be well,
>>>> randy
>>>> -----
>>>> On Jul 11, 2013, at 5:35 PM, Scott Rossi 
>> wrote:
>>>> 
>>>>> Not sure if this is your issue, but FWIW, trying to load/transfer a
>> newly
>>>>> built app to a device always fails on my system unless I use the
>>>>> AppResigner tool that was mentioned on the list a ways back.
>>>>> 
>>>>> Regards,
>>>>> 
>>>>> Scott Rossi
>>>>> Creative Director
>>>>> Tactile Media, UX/UI Design
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> On 7/11/13 3:22 PM, "Mike Kerner"  wrote:
>>>>> 
>>>>>> An app that I have been using and deploying to my team for months is
>> now
>>>>>> failing to build with "codesigning failed with aps-environment
>>>>>> development"
>>>>>> 
>>>>>> I checked the certs in keychain and in xcode and at apple's developer
>>>>>> portal, and nothing seems to be expired or otherwise out of the
>>>> ordinary.
>>>>>> So any ideas on what to try next?
>>>>>> 
>>>>>> --
>>>>>> On the first day, God created the heavens and the Earth
>>>>>> On the second day, God created the oceans.
>>>>>> On the third day, God put the animals on hold for a few hours,
>>>>>> and did a little diving.
>>>>>> And God said, "This is good."
>>>>>> _______________________________________________
>>>>>> use-livecode mailing list
>>>>>> use-livecode at lists.runrev.com
>>>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>>>> subscription preferences:
>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>>> 
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> use-livecode mailing list
>>>>> use-livecode at lists.runrev.com
>>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>> subscription preferences:
>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>> 
>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> use-livecode at lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>> 
>>> 
>>> 
>>> 
>>> --
>>> On the first day, God created the heavens and the Earth
>>> On the second day, God created the oceans.
>>> On the third day, God put the animals on hold for a few hours,
>>>  and did a little diving.
>>> And God said, "This is good."
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> 
> -- 
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>   and did a little diving.
> And God said, "This is good."
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




From pete at lcsql.com  Fri Jul 12 12:21:46 2013
From: pete at lcsql.com (Peter Haworth)
Date: Fri, 12 Jul 2013 09:21:46 -0700
Subject: Array glitch
In-Reply-To: <1152377C5FA7428D99C90A9552327F61@TED>
References: <2490513494.20130711173939@ahsoftware.net>
	<1152377C5FA7428D99C90A9552327F61@TED>
Message-ID: 

Terry,
I tried your script here and got the same error as you in LC 5.5.4 and LC
Community 6.0 on a Windows 8 box.

I use strict compile mode but declaring the tSimpleArray variable made no
difference.  I also put the seconds into a variable, tKey, put zero into
tSimpleArray[tKey], then did a put tSImpleArray[tKey] and the message box
happily showed zero.

My guess is that it's a problem within the debugger while formatting the
value of the key for display and nothing to do with regular access of the
array key contents

A quick search of the QCC turned up a couple of debug/array abort issues
but none that match something as simple as this situation, so you're best
bet to get to the bottom of it is file a bug report.

Pete
lcSQL Software 


On Thu, Jul 11, 2013 at 6:31 PM, Terry Dennis
wrote:

> Mark: re: test script in a button in a *new stack*?
>
> Been there, done that.  As I noted in a prior email, it occurred ...
>
> "3) in an entirely new stack after exiting and re-entering LC"
>
> Perhaps I'm being paranoid and I shouldn't worry about it.
>
> If I rely on that assumption as a basis for using seconds as my data
> access scheme, it's likely I will regret it somewhere down the road.
>
> I think Murphy is in my family tree.
>
> I've considered using the difference between "seconds" and the start of
> the decade, or the start of the century, as my array key.  Then, adjust it
> when necessary.  But, until I can be reasonably confident I won't run into
> the same type of problem with a different value, I'm reluctant to rework my
> logic to use that scheme.
>
> I suppose I could spend a bunch of time running a zillion tests with
> different values until I come across the value that breaks it.   Then we
> would have something for the LC guys to work on.  I'll get back to you in a
> couple of years to let you know the results of my tests.  ;-)
>
> Of course, it could be it has nothing whatsoever to do with the value of
> the key ... which is why I didn't think "seconds" would break it.
>
> Loop: See "recursive"
>
> Recursive: See "loop"
>
> Terry
>
> ______________________________**_________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/**mailman/listinfo/use-livecode
>


From mwieder at ahsoftware.net  Fri Jul 12 12:53:07 2013
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Fri, 12 Jul 2013 09:53:07 -0700
Subject: out-of-the-blue codesigning error
In-Reply-To: <5ED54E53-B938-48F5-80AA-8064C5FBB890@swcp.com>
References: 
	
	
	
	
	<5ED54E53-B938-48F5-80AA-8064C5FBB890@swcp.com>
Message-ID: <25148921382.20130712095307@ahsoftware.net>

Dar-

Friday, July 12, 2013, 8:23:47 AM, you wrote:

> All day yesterday I read the subject to be about co-designing
> rather than code-signing, a different interesting topic.

LOL. I have the same problem when I read about resigning.

-- 
-Mark Wieder
 mwieder at ahsoftware.net




From mwieder at ahsoftware.net  Fri Jul 12 12:56:18 2013
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Fri, 12 Jul 2013 09:56:18 -0700
Subject: Array glitch
In-Reply-To: 
References: <2490513494.20130711173939@ahsoftware.net>
	<1152377C5FA7428D99C90A9552327F61@TED>
	
Message-ID: <191149112741.20130712095618@ahsoftware.net>

Pete-

Friday, July 12, 2013, 9:21:46 AM, you wrote:

> Terry,
> I tried your script here and got the same error as you in LC 5.5.4 and LC
> Community 6.0 on a Windows 8 box.

Aha! A second confirmation. Maybe it's just a Windows thing?

-- 
-Mark Wieder
 mwieder at ahsoftware.net




From warren at warrensweb.us  Fri Jul 12 13:00:49 2013
From: warren at warrensweb.us (Warren Samples)
Date: Fri, 12 Jul 2013 12:00:49 -0500
Subject: positioning stacks off screen in Linux
Message-ID: <51E03641.8010904@warrensweb.us>

One of the commonly suggested methods of hiding stacks is setting their 
location to something that places them out of the view window. This is 
not working correctly here under openSUSE/KDE/KWin. A stack's location 
is constrained to the available viewport unless it has been previously 
dragged and placed so that some part of it past the screen edge. Once 
that is done, a stack can be positioned anywhere outside the viewport 
until it is completely within it and we return to our original problem. 
In order for any part of a stack to be positioned outside the viewport, 
some part of it must already appear beyond a screen edge.

This does not happen under Windows. Do users of other Linux 
distros/DEs/window managers find this same behavior?

Warren



From pete at lcsql.com  Fri Jul 12 13:04:59 2013
From: pete at lcsql.com (Peter Haworth)
Date: Fri, 12 Jul 2013 10:04:59 -0700
Subject: Chained Behaviors
Message-ID: 

Has anyone got any real world examples of the benefits of the new chained
behaviors feature?

I just read the latest newsletter article about them and while I understand
the concept,  I didn't see benefit in the example scenario over a single
behavior with some common logic and a switch statement to handle the logic
specific to each "sprite".


Pete
lcSQL Software 


From pete at lcsql.com  Fri Jul 12 13:06:34 2013
From: pete at lcsql.com (Peter Haworth)
Date: Fri, 12 Jul 2013 10:06:34 -0700
Subject: Array glitch
In-Reply-To: <191149112741.20130712095618@ahsoftware.net>
References: <2490513494.20130711173939@ahsoftware.net>
	<1152377C5FA7428D99C90A9552327F61@TED>
	
	<191149112741.20130712095618@ahsoftware.net>
Message-ID: 

Could be - my Mac is in hospital having hard drive replacement surgery so
can't test on OSX right now.

Pete
lcSQL Software 


On Fri, Jul 12, 2013 at 9:56 AM, Mark Wieder  wrote:

> Pete-
>
> Friday, July 12, 2013, 9:21:46 AM, you wrote:
>
> > Terry,
> > I tried your script here and got the same error as you in LC 5.5.4 and LC
> > Community 6.0 on a Windows 8 box.
>
> Aha! A second confirmation. Maybe it's just a Windows thing?
>
> --
> -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 klaus at major-k.de  Fri Jul 12 13:13:19 2013
From: klaus at major-k.de (Klaus major-k)
Date: Fri, 12 Jul 2013 19:13:19 +0200
Subject: Chained Behaviors
In-Reply-To: 
References: 
Message-ID: <9B6E9A45-33E0-4E8F-A5DF-9316F40213D5@major-k.de>

Hi Peter,

Am 12.07.2013 um 19:04 schrieb Peter Haworth :

> Has anyone got any real world examples of the benefits of the new chained
> behaviors feature?
> 
> I just read the latest newsletter article about them and while I understand
> the concept,  I didn't see benefit in the example scenario over a single
> behavior with some common logic and a switch statement to handle the logic
> specific to each "sprite".

I second this! :-)

> Pete
> lcSQL Software 

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de




From mwieder at ahsoftware.net  Fri Jul 12 13:13:11 2013
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Fri, 12 Jul 2013 10:13:11 -0700
Subject: Array glitch
In-Reply-To: 
References: <2490513494.20130711173939@ahsoftware.net>
	<1152377C5FA7428D99C90A9552327F61@TED>
	
	<191149112741.20130712095618@ahsoftware.net>
	
Message-ID: <94150125220.20130712101311@ahsoftware.net>

Pete-

Friday, July 12, 2013, 10:06:34 AM, you wrote:

> Could be - my Mac is in hospital having hard drive replacement surgery so
> can't test on OSX right now.

Ouch! That's right - I forgot about that. Hope it won't be long.

-- 
-Mark Wieder
 mwieder at ahsoftware.net




From mcgrath3 at mac.com  Fri Jul 12 13:30:35 2013
From: mcgrath3 at mac.com (Thomas McGrath III)
Date: Fri, 12 Jul 2013 13:30:35 -0400
Subject: mApp LC6.1 crash
In-Reply-To: 
References: 
	<3E02F5BA-DBA9-4B1D-8403-FCA6BF04D1C8@mac.com>
	
Message-ID: <77F5E72D-962D-4001-A7FA-2DD2DEC2865C@mac.com>

Monte, Do you have a fix? workaround? 

Tom

-- Tom McGrath III
http://lazyriver.on-rev.com
mcgrath3 at mac.com

On Jul 9, 2013, at 4:20 PM, Monte Goulding  wrote:

> 
> On 10/07/2013, at 12:45 AM, Thomas McGrath III  wrote:
> 
>> I have been trying to test a sample stack in 6.1 Build 2005 for iOS simulator and it just crashes immediately when selecting "Test". This stack works perfectly in 5.5.5
>> It uses mAPP Mobile Application Framework
>> 
>> Crashed Thread:  0  Dispatch queue: com.apple.main-thread
> 
> That's the one ;-)
> 
> Note that you will probably need to fix the behavior of the stack and delete the stack named "mAppLibrary "&the seconds...
> 
> --
> 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 ambassador at fourthworld.com  Fri Jul 12 13:58:29 2013
From: ambassador at fourthworld.com (Richard Gaskin)
Date: Fri, 12 Jul 2013 10:58:29 -0700
Subject: Chained Behaviors
In-Reply-To: 
References: 
Message-ID: <51E043C5.4040002@fourthworld.com>

Peter Haworth wrote:
> Has anyone got any real world examples of the benefits of the new chained
> behaviors feature?
>
> I just read the latest newsletter article about them and while I understand
> the concept,  I didn't see benefit in the example scenario over a single
> behavior with some common logic and a switch statement to handle the logic
> specific to each "sprite".

It obviates the switch statement.

We could take this question one step back and ask why we'd want 
behaviors at all, when we could just use frontScripts with switch 
statements instead.

But that thought experiment (hopefully) makes the case for behaviors clear.

Nested behaviors simply extend the value of such a mechanism, at long 
last giving xTalk one of the most valuable aspects of OOP:  subclasses.

--
  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 Jul 12 14:23:25 2013
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Fri, 12 Jul 2013 11:23:25 -0700
Subject: Array glitch
In-Reply-To: <191149112741.20130712095618@ahsoftware.net>
References: <2490513494.20130711173939@ahsoftware.net>
	<1152377C5FA7428D99C90A9552327F61@TED>
	
	<191149112741.20130712095618@ahsoftware.net>
Message-ID: <194154339780.20130712112325@ahsoftware.net>

Mark-

Friday, July 12, 2013, 9:56:18 AM, I wrote:

> Aha! A second confirmation. Maybe it's just a Windows thing?

Still works for me here on OSX 10.6 with LC 4.6.4, 5.5.3, and LC
Community 6.

-- 
-Mark Wieder
 mwieder at ahsoftware.net




From jacque at hyperactivesw.com  Fri Jul 12 14:36:49 2013
From: jacque at hyperactivesw.com (J. Landman Gay)
Date: Fri, 12 Jul 2013 13:36:49 -0500
Subject: Chained Behaviors
In-Reply-To: 
References: 
Message-ID: <51E04CC1.5030204@hyperactivesw.com>

On 7/12/13 12:04 PM, Peter Haworth wrote:
> Has anyone got any real world examples of the benefits of the new chained
> behaviors feature?
>
> I just read the latest newsletter article about them and while I understand
> the concept,  I didn't see benefit in the example scenario over a single
> behavior with some common logic and a switch statement to handle the logic
> specific to each "sprite".

I needed chained behaviors a while ago before they were available, and 
was required to copy duplicate sections of scripts into each of several 
behaviors. If I get time I'll go back and chain them now that it is 
available.

Remember that behaviors are not a single handler, they are whole 
scripts. I have several sprites that require different behaviors on 
mouseUp but they all have the same behaviors on mouseDown. With a 
chained behavior, I could have placed the mouseDown handler into the 
"top" of the chain and different mouseUp handlers in each separate 
behavior script underneath that:

        on mouseDown
          doDownStuff
        end mouseDown
          /        \
on mouseUp       on mouseUp
  doBehavior1       doBehavior2
end mouseUp      end mouseUp


The mouseDown handler was semi-lengthy and I would have prefered not 
repeating it in each behavior script.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



From scott at tactilemedia.com  Fri Jul 12 14:40:07 2013
From: scott at tactilemedia.com (Scott Rossi)
Date: Fri, 12 Jul 2013 11:40:07 -0700
Subject: Chained Behaviors
In-Reply-To: 
Message-ID: 

In my case, I've been waiting years for something like chained behaviors.
I create a lot of custom controls, and the limit of a single behavior per
control was not enough.

At the control level, I use functions and commands are exclusive to a
single control.  But at a higher level, I want a set of common
functions/commands that can be used by multiple controls, so I don't have
to maintain the same handlers in multiple behaviors.

Until now, the only way to get this work was using front/backScripts or a
library stack.  But in all these cases the common functions/commands would
be available to every LiveCode object and could be called by accident or
potentially affect controls that weren't mine.  Using chained behaviors
allows you to keep handlers localized to only the controls that use them.

I have built a system that uses one behavior for a wide range of controls
using switch statements, and the higher the number of controls you have to
support, the more complex and messier the code gets.  Chained behaviors
gives you another option to modularize your code.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 7/12/13 10:04 AM, "Peter Haworth"  wrote:

>Has anyone got any real world examples of the benefits of the new chained
>behaviors feature?
>
>I just read the latest newsletter article about them and while I
>understand
>the concept,  I didn't see benefit in the example scenario over a single
>behavior with some common logic and a switch statement to handle the logic
>specific to each "sprite".
>
>
>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 dixonja at hotmail.co.uk  Fri Jul 12 14:48:01 2013
From: dixonja at hotmail.co.uk (John Dixon)
Date: Fri, 12 Jul 2013 19:48:01 +0100
Subject: Chained Behaviors
In-Reply-To: <51E043C5.4040002@fourthworld.com>
References: ,
	<51E043C5.4040002@fourthworld.com>
Message-ID: 



> Date: Fri, 12 Jul 2013 10:58:29 -0700
> From: ambassador at fourthworld.com
> To: use-livecode at lists.runrev.com
> Subject: Re: Chained Behaviors

> Nested behaviors simply extend the value of such a mechanism, at long 
> last giving xTalk one of the most valuable aspects of OOP:  subclasses.

Richard...

I hear what you say, but does an xTalk language need to go down this road ?... or to perhaps put a direct way... Should an xTalk language be going down this road ?... What I am worried about is that there are a lot of people jumping on the 'open source' bandwagon... wanting to change things for what they see as improvement whilst completely forgetting that it is simplicity not complexity that has got xTalk where it is today...

John Craig and I have debated this very point for hours... but all that has come outof our discussions is that we agree to disagree...

Dixie

 		 	   		  

From andrew at ctech.me  Fri Jul 12 14:53:59 2013
From: andrew at ctech.me (Andrew Kluthe)
Date: Fri, 12 Jul 2013 13:53:59 -0500
Subject: Chained Behaviors
In-Reply-To: 
References: 
	<51E043C5.4040002@fourthworld.com>
	
Message-ID: 

I think the strength of livecode is that it can build very simple and also
very complex things. I wish I was more familiar with behaviors and their
use cases (out of all the stuff I build every day in livecode I have never
implemented a behavior script I have written) but I imagine this is similar
to method chaining in other languages?

Also,

Does someone have that killer example stack or article/lesson on behaviors
that sums it all up?

Andrew


On Fri, Jul 12, 2013 at 1:48 PM, John Dixon  wrote:

>
>
> > Date: Fri, 12 Jul 2013 10:58:29 -0700
> > From: ambassador at fourthworld.com
> > To: use-livecode at lists.runrev.com
> > Subject: Re: Chained Behaviors
>
> > Nested behaviors simply extend the value of such a mechanism, at long
> > last giving xTalk one of the most valuable aspects of OOP:  subclasses.
>
> Richard...
>
> I hear what you say, but does an xTalk language need to go down this road
> ?... or to perhaps put a direct way... Should an xTalk language be going
> down this road ?... What I am worried about is that there are a lot of
> people jumping on the 'open source' bandwagon... wanting to change things
> for what they see as improvement whilst completely forgetting that it is
> simplicity not complexity that has got xTalk where it is today...
>
> John Craig and I have debated this very point for hours... but all that
> has come outof our discussions is that we agree to disagree...
>
> Dixie
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode 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 jacques.clavel at gmail.com  Fri Jul 12 15:07:55 2013
From: jacques.clavel at gmail.com (Jacques CLAVEL)
Date: Fri, 12 Jul 2013 21:07:55 +0200
Subject: Chained Behaviors
In-Reply-To: 
References: ,
	<51E043C5.4040002@fourthworld.com>
	
Message-ID: 

John,

in my opinion, behaviors is simplicity. You don't have to deal with the name of the buttons (for example), just use "me". It is completely on the road of a xTalk language. Same things for nested behaviors.

Jacques Clavell


Le 12 juil. 2013 ? 20:48, John Dixon  a ?crit :

> 
> 
>> Date: Fri, 12 Jul 2013 10:58:29 -0700
>> From: ambassador at fourthworld.com
>> To: use-livecode at lists.runrev.com
>> Subject: Re: Chained Behaviors
> 
>> Nested behaviors simply extend the value of such a mechanism, at long 
>> last giving xTalk one of the most valuable aspects of OOP:  subclasses.
> 
> Richard...
> 
> I hear what you say, but does an xTalk language need to go down this road ?... or to perhaps put a direct way... Should an xTalk language be going down this road ?... What I am worried about is that there are a lot of people jumping on the 'open source' bandwagon... wanting to change things for what they see as improvement whilst completely forgetting that it is simplicity not complexity that has got xTalk where it is today...




From dixonja at hotmail.co.uk  Fri Jul 12 15:12:45 2013
From: dixonja at hotmail.co.uk (John Dixon)
Date: Fri, 12 Jul 2013 20:12:45 +0100
Subject: Chained Behaviors
In-Reply-To: 
References: ,
	, <51E043C5.4040002@fourthworld.com>,
	,
	
Message-ID: 

Jaques...

I understand 'behaviors', I use them quite a lot of the time... I just don't see the need to continue with the 'chain' in xTalk... I think that this is the thin end of the wedge... changing things using the argument, 'well, that's what happens in other languages... so what ?!

Dixie

> Subject: Re: Chained Behaviors
> From: jacques.clavel at gmail.com
> Date: Fri, 12 Jul 2013 21:07:55 +0200
> To: use-livecode at lists.runrev.com
> 
> John,
> 
> in my opinion, behaviors is simplicity. You don't have to deal with the name of the buttons (for example), just use "me". It is completely on the road of a xTalk language. Same things for nested behaviors.
> 
> Jacques Clavell

 		 	   		  

From index at kenjikojima.com  Fri Jul 12 15:16:16 2013
From: index at kenjikojima.com (index at kenjikojima.com)
Date: Fri, 12 Jul 2013 15:16:16 -0400
Subject: unicode font names
Message-ID: 

Hi,
Can anybody set unicode font names of the fontNames to the menu items of pulldown menu?

Thanks,
--
Kenji Kojima / ????
http://www.kenjikojima.com/





From ambassador at fourthworld.com  Fri Jul 12 15:36:32 2013
From: ambassador at fourthworld.com (Richard Gaskin)
Date: Fri, 12 Jul 2013 12:36:32 -0700
Subject: Chained Behaviors
In-Reply-To: 
References: 
Message-ID: <51E05AC0.7040605@fourthworld.com>

John Dixon wrote:

 > Richard...
 >
 > I hear what you say, but does an xTalk language need to go down this
 > road ?... or to perhaps put a direct way... Should an xTalk language
 > be going down this road ?... What I am worried about is that there
 > are a lot of people jumping on the 'open source' bandwagon... wanting
 > to change things for what they see as improvement whilst completely
 > forgetting that it is simplicity not complexity that has got xTalk
 > where it is today...

Speaking only for myself, what distinguishes LiveCode from the legacy of 
most earlier xTalks is its willingness to grow.

Associative arrays, touch UIs, sockets, "repeat for each", "is among", 
and perhaps more than anyone would want me to enumerate here -- all 
introduced to the xTalk world in MetaCard/Revolution/LiveCode.

And behaviors too.

But behaviors limited to a single level are almost a tease, as limited 
as comparing HyperCard's backgrounds to LiveCode's groups.

True, HyperCard was easy to learn precisely because of these 
limitations.  Few things are as overwhelming as holding a paintbrush in 
your hand facing a canvas with infinite bounds.  HC put a relatively 
small frame on the canvas it let us work with, and in its way those 
limitations were indeed liberating.

But as we learn and grow over the years, our desires for what we want to 
do with our software grow along with them.  For all the fond memories we 
have of HyperCard, I doubt few would find it satisfying to work with a 
single monochrome window with few control types, no color, no vector 
graphics, no arrays, etc.

I hear what you're saying about the risk of becoming too complex, and I 
agree we should evaluate such proposed extensions very carefully.

But like arrays, nested behaviors are purely optional:  those who don't 
want them are free to never use them, while those who crave them at last 
have them.

Extensions like these preserve the core flavor of the language, while 
extending it in useful ways at the same time.

Key to this delicate balancing act is discretion, knowing when to say "no".

Having once had a disagreement with Mark Waddingham over a language 
design issue, my respect for his good judgment in this regard was only 
amplified by that momentary conflict.

In the end what I learned is that he's deeply passionate about 
preserving the essence of xTalk, and as long as there's a mother ship 
playing the role of arbiter of such decisions, I feel we can relax with 
the confidence that we're in good hands.
   		 	   		

--
  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  Fri Jul 12 15:39:51 2013
From: pete at lcsql.com (Peter Haworth)
Date: Fri, 12 Jul 2013 12:39:51 -0700
Subject: Array glitch
In-Reply-To: <194154339780.20130712112325@ahsoftware.net>
References: <2490513494.20130711173939@ahsoftware.net>
	<1152377C5FA7428D99C90A9552327F61@TED>
	
	<191149112741.20130712095618@ahsoftware.net>
	<194154339780.20130712112325@ahsoftware.net>
Message-ID: 

Just to confirm, you can get into the debugger variables tab and expand the
array to show its key and value?

Pete
lcSQL Software 


On Fri, Jul 12, 2013 at 11:23 AM, Mark Wieder wrote:

> Mark-
>
> Friday, July 12, 2013, 9:56:18 AM, I wrote:
>
> > Aha! A second confirmation. Maybe it's just a Windows thing?
>
> Still works for me here on OSX 10.6 with LC 4.6.4, 5.5.3, and LC
> Community 6.
>
> --
> -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 dixonja at hotmail.co.uk  Fri Jul 12 15:43:08 2013
From: dixonja at hotmail.co.uk (John Dixon)
Date: Fri, 12 Jul 2013 20:43:08 +0100
Subject: Chained Behaviors
In-Reply-To: <51E05AC0.7040605@fourthworld.com>
References: ,
	<51E05AC0.7040605@fourthworld.com>
Message-ID: 

Richard....

> I hear what you're saying about the risk of becoming too complex, and I 
> agree we should evaluate such proposed extensions very carefully.

On this we agree... with emphasis on 'very carefully'...

> In the end what I learned is that he's deeply passionate about 
> preserving the essence of xTalk, and as long as there's a mother ship 
> playing the role of arbiter of such decisions, I feel we can relax with 
> the confidence that we're in good hands.

I really do hope so...

Dixie



 		 	   		  

From pete at lcsql.com  Fri Jul 12 15:43:54 2013
From: pete at lcsql.com (Peter Haworth)
Date: Fri, 12 Jul 2013 12:43:54 -0700
Subject: Chained Behaviors
In-Reply-To: <51E043C5.4040002@fourthworld.com>
References: 
	<51E043C5.4040002@fourthworld.com>
Message-ID: 

On Fri, Jul 12, 2013 at 10:58 AM, Richard Gaskin  wrote:

> t obviates the switch statement.
>
> We could take this question one step back and ask why we'd want behaviors
> at all, when we could just use frontScripts with switch statements instead.
>
> But that thought experiment (hopefully) makes the case for behaviors clear.
>
> Nested behaviors simply extend the value of such a mechanism, at long last
> giving xTalk one of the most valuable aspects of OOP:  subclasses.
>

I'm definitely not against behaviors themselves, just trying to understand
the value of chaining them.

Pete
lcSQL Software 


From pete at lcsql.com  Fri Jul 12 15:47:48 2013
From: pete at lcsql.com (Peter Haworth)
Date: Fri, 12 Jul 2013 12:47:48 -0700
Subject: Chained Behaviors
In-Reply-To: <51E04CC1.5030204@hyperactivesw.com>
References: 
	<51E04CC1.5030204@hyperactivesw.com>
Message-ID: 

On Fri, Jul 12, 2013 at 11:36 AM, J. Landman Gay
wrote:

> Remember that behaviors are not a single handler, they are whole scripts.
> I have several sprites that require different behaviors on mouseUp but they
> all have the same behaviors on mouseDown. With a chained behavior, I could
> have placed the mouseDown handler into the "top" of the chain and different
> mouseUp handlers in each separate behavior script underneath that:
>
>        on mouseDown
>          doDownStuff
>        end mouseDown
>          /        \
> on mouseUp       on mouseUp
>  doBehavior1       doBehavior2
> end mouseUp      end mouseUp
>

OK, good example, thanks.  I have to ask, though, why not have the unique
mouseUp handlers in the sprite scripts and a behavior script for the common
mouseDown handler?

Pete
lcSQL Software 


From cmsheffield at icloud.com  Fri Jul 12 15:53:31 2013
From: cmsheffield at icloud.com (Chris Sheffield)
Date: Fri, 12 Jul 2013 13:53:31 -0600
Subject: Chained Behaviors
In-Reply-To: 
References: 
	<51E04CC1.5030204@hyperactivesw.com>
	
Message-ID: <98D8ABAE-939D-4D83-AD67-A0E6B1FFE711@icloud.com>

Because each sprite would then have its own script, which would be identical to all the other sprites' scripts. Then if a change were needed, you'd have to go in and modify each additional script. Quite a nightmare if you have hundreds of them..

Chris

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com



On Jul 12, 2013, at 1:47 PM, Peter Haworth  wrote:

> On Fri, Jul 12, 2013 at 11:36 AM, J. Landman Gay
> wrote:
> 
>> Remember that behaviors are not a single handler, they are whole scripts.
>> I have several sprites that require different behaviors on mouseUp but they
>> all have the same behaviors on mouseDown. With a chained behavior, I could
>> have placed the mouseDown handler into the "top" of the chain and different
>> mouseUp handlers in each separate behavior script underneath that:
>> 
>>       on mouseDown
>>         doDownStuff
>>       end mouseDown
>>         /        \
>> on mouseUp       on mouseUp
>> doBehavior1       doBehavior2
>> end mouseUp      end mouseUp
>> 
> 
> OK, good example, thanks.  I have to ask, though, why not have the unique
> mouseUp handlers in the sprite scripts and a behavior script for the common
> mouseDown handler?
> 
> 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 cmsheffield at icloud.com  Fri Jul 12 15:55:03 2013
From: cmsheffield at icloud.com (Chris Sheffield)
Date: Fri, 12 Jul 2013 13:55:03 -0600
Subject: Chained Behaviors
In-Reply-To: <98D8ABAE-939D-4D83-AD67-A0E6B1FFE711@icloud.com>
References: 
	<51E04CC1.5030204@hyperactivesw.com>
	
	<98D8ABAE-939D-4D83-AD67-A0E6B1FFE711@icloud.com>
Message-ID: <2C6E9F47-4F20-401F-BD95-02732EBC7FE4@icloud.com>

I meant to say "individual", not "additional". Sorry 'bout that.

On Jul 12, 2013, at 1:53 PM, Chris Sheffield  wrote:

> Because each sprite would then have its own script, which would be identical to all the other sprites' scripts. Then if a change were needed, you'd have to go in and modify each additional script. Quite a nightmare if you have hundreds of them..
> 
> Chris
> 
> --
> Chris Sheffield
> Read Naturally, Inc.
> www.readnaturally.com
> 
> 
> 
> On Jul 12, 2013, at 1:47 PM, Peter Haworth  wrote:
> 
>> On Fri, Jul 12, 2013 at 11:36 AM, J. Landman Gay
>> wrote:
>> 
>>> Remember that behaviors are not a single handler, they are whole scripts.
>>> I have several sprites that require different behaviors on mouseUp but they
>>> all have the same behaviors on mouseDown. With a chained behavior, I could
>>> have placed the mouseDown handler into the "top" of the chain and different
>>> mouseUp handlers in each separate behavior script underneath that:
>>> 
>>>      on mouseDown
>>>        doDownStuff
>>>      end mouseDown
>>>        /        \
>>> on mouseUp       on mouseUp
>>> doBehavior1       doBehavior2
>>> end mouseUp      end mouseUp
>>> 
>> 
>> OK, good example, thanks.  I have to ask, though, why not have the unique
>> mouseUp handlers in the sprite scripts and a behavior script for the common
>> mouseDown handler?
>> 
>> 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 pete at lcsql.com  Fri Jul 12 16:04:35 2013
From: pete at lcsql.com (Peter Haworth)
Date: Fri, 12 Jul 2013 13:04:35 -0700
Subject: Chained Behaviors
In-Reply-To: 
References: 
	
Message-ID: 

On Fri, Jul 12, 2013 at 11:40 AM, Scott Rossi wrote:

> have built a system that uses one behavior for a wide range of controls
> using switch statements, and the higher the number of controls you have to
> support, the more complex and messier the code gets.  Chained behaviors
> gives you another option to modularize your code.
>

Good point Scott.  Switch statements definitely get messy when they have a
large number of case statements within them.

I think this is coming down to the fact that I personally haven't come
across a situation where chained behaviors would have been useful or there
wasn't a perfectly acceptable alternative, at least for my programming
style.

I think one of the things that concerns me is the relative invisibility of
behaviors, resulting in it sometimes being hard to track down where things
happen, especially if you're looking at someone else's code.  Heck, the IDE
Inspector doesn't even show a behavior field for some object types so
tracking down the fact that a behavior is in effect is hard enough at a
single level never mind multiple levels.  At least if you write a common
handler and call it from each control's script, you can see right in front
of you.

Pete
lcSQL Software 


From MikeKerner at roadrunner.com  Fri Jul 12 16:10:10 2013
From: MikeKerner at roadrunner.com (Mike Kerner)
Date: Fri, 12 Jul 2013 16:10:10 -0400
Subject: out-of-the-blue codesigning error
In-Reply-To: <25148921382.20130712095307@ahsoftware.net>
References: 
	
	
	
	
	<5ED54E53-B938-48F5-80AA-8064C5FBB890@swcp.com>
	<25148921382.20130712095307@ahsoftware.net>
Message-ID: 

It's so weird that my existing apps, the ones that have zero changes to
them, won't go now, either.


On Fri, Jul 12, 2013 at 12:53 PM, Mark Wieder wrote:

> Dar-
>
> Friday, July 12, 2013, 8:23:47 AM, you wrote:
>
> > All day yesterday I read the subject to be about co-designing
> > rather than code-signing, a different interesting topic.
>
> LOL. I have the same problem when I read about resigning.
>
> --
> -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
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."


From richmondmathewson at gmail.com  Fri Jul 12 16:22:13 2013
From: richmondmathewson at gmail.com (Richmond)
Date: Fri, 12 Jul 2013 23:22:13 +0300
Subject: Chained Behaviors
In-Reply-To: 
References: 
Message-ID: <51E06575.3010307@gmail.com>

On 07/12/2013 08:04 PM, Peter Haworth wrote:
> Has anyone got any real world examples of the benefits of the new chained
> behaviors feature?
>
> I just read the latest newsletter article about them and while I understand
> the concept,  I didn't see benefit in the example scenario over a single
> behavior with some common logic and a switch statement to handle the logic

I was wondering how long it would be until somebody asked that.

As somebody who as never has recourse to behaviors (sic) at all, I would 
like to know
what huge benefit chained behaviors are going to bring to the table.

Richmond.

> specific to each "sprite".
>
>
> 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 richmondmathewson at gmail.com  Fri Jul 12 16:24:28 2013
From: richmondmathewson at gmail.com (Richmond)
Date: Fri, 12 Jul 2013 23:24:28 +0300
Subject: Chained Behaviors
In-Reply-To: <51E043C5.4040002@fourthworld.com>
References: 
	<51E043C5.4040002@fourthworld.com>
Message-ID: <51E065FC.5070007@gmail.com>

On 07/12/2013 08:58 PM, Richard Gaskin wrote:
> Peter Haworth wrote:
>> Has anyone got any real world examples of the benefits of the new 
>> chained
>> behaviors feature?
>>
>> I just read the latest newsletter article about them and while I 
>> understand
>> the concept,  I didn't see benefit in the example scenario over a single
>> behavior with some common logic and a switch statement to handle the 
>> logic
>> specific to each "sprite".
>
> It obviates the switch statement.

And what, pray tell, is wrong with switch statements?

My "main thing" works on switch statements with nary a backward glance.

Richmond.

>
> We could take this question one step back and ask why we'd want 
> behaviors at all, when we could just use frontScripts with switch 
> statements instead.
>
> But that thought experiment (hopefully) makes the case for behaviors 
> clear.
>
> Nested behaviors simply extend the value of such a mechanism, at long 
> last giving xTalk one of the most valuable aspects of OOP: subclasses.
>
> -- 
>  Richard Gaskin
>  Fourth World
>  LiveCode training and consulting: http://www.fourthworld.com
>  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
>  Follow me on Twitter:  http://twitter.com/FourthWorldSys
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




From richmondmathewson at gmail.com  Fri Jul 12 16:28:54 2013
From: richmondmathewson at gmail.com (Richmond)
Date: Fri, 12 Jul 2013 23:28:54 +0300
Subject: unicode font names
In-Reply-To: 
References: 
Message-ID: <51E06706.9020403@gmail.com>

On 07/12/2013 10:16 PM, index at kenjikojima.com wrote:
> Hi,
> Can anybody set unicode font names of the fontNames to the menu items of pulldown menu?
>
> Thanks,
> --
> Kenji Kojima / ????
> http://www.kenjikojima.com/
>
>
>
>

Well, I work with Unicode fonts all the time, and find that

on mouseDown
put the fontnames into me
end mouseDown

puts all the names of the fonts on my system into my pullDown menu;

what is does (and maybe this is your problem) is that it lists the fonts
by their Latin names,
rather than their names in the language they are used for.

For the sake of argument, an Arabic font may be listed as "Arabic4"
rather than
a name in Arabic script.

Richmond.



From jacque at hyperactivesw.com  Fri Jul 12 16:31:26 2013
From: jacque at hyperactivesw.com (J. Landman Gay)
Date: Fri, 12 Jul 2013 15:31:26 -0500
Subject: Chained Behaviors
In-Reply-To: 
References: 
	<51E04CC1.5030204@hyperactivesw.com>
	
Message-ID: <51E0679E.9010700@hyperactivesw.com>

On 7/12/13 2:47 PM, Peter Haworth wrote:
> On Fri, Jul 12, 2013 at 11:36 AM, J. Landman Gay
> wrote:
>
>> Remember that behaviors are not a single handler, they are whole scripts.
>> I have several sprites that require different behaviors on mouseUp but they
>> all have the same behaviors on mouseDown. With a chained behavior, I could
>> have placed the mouseDown handler into the "top" of the chain and different
>> mouseUp handlers in each separate behavior script underneath that:
>>
>>         on mouseDown
>>           doDownStuff
>>         end mouseDown
>>           /        \
>> on mouseUp       on mouseUp
>>   doBehavior1       doBehavior2
>> end mouseUp      end mouseUp
>>
>
> OK, good example, thanks.  I have to ask, though, why not have the unique
> mouseUp handlers in the sprite scripts and a behavior script for the common
> mouseDown handler?

Well, there are four different behaviors (so far,) applied to hundreds 
of objects spread across dozens of stacks. If I needed to change 
anything, I'd be in there for weeks or I'd have to script an 
auto-scripter. Also, the bulk of all those repetitions would 
unnecessarily increase the stack size. One of the mouseUp behaviors is 
200 lines long.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



From richmondmathewson at gmail.com  Fri Jul 12 16:33:46 2013
From: richmondmathewson at gmail.com (Richmond)
Date: Fri, 12 Jul 2013 23:33:46 +0300
Subject: Chained Behaviors
In-Reply-To: 
References: ,
	<51E05AC0.7040605@fourthworld.com>
	
Message-ID: <51E0682A.5030208@gmail.com>

On 07/12/2013 10:43 PM, John Dixon wrote:
> Richard....
>
>> I hear what you're saying about the risk of becoming too complex, and I
>> agree we should evaluate such proposed extensions very carefully.
> On this we agree... with emphasis on 'very carefully'...
>
>> In the end what I learned is that he's deeply passionate about
>> preserving the essence of xTalk, and as long as there's a mother ship
>> playing the role of arbiter of such decisions, I feel we can relax with
>> the confidence that we're in good hands.
> I really do hope so...
>
> Dixie
>
>
>

When I was 4 years old (1966) an aunt of mine sent me a box full of Lego;
this meant blocks and plates,

the next year she sent me some wheels, windows and doors,

the year after that she sent me some roof tiles,

the year after that she died.

-----

Years later (1982) I went to buy some more Lego . . .

and found that there was a plethora of "funny shaped bits" that, while 
looking as if they allowed
you greater creativity, actually restricted the choices of what you 
could make with them.

-----

God forgive me, but I wonder if my aunt didn't die at just the right time.

I rest my case.

Richmond.



From ambassador at fourthworld.com  Fri Jul 12 16:37:06 2013
From: ambassador at fourthworld.com (Richard Gaskin)
Date: Fri, 12 Jul 2013 13:37:06 -0700
Subject: Chained Behaviors
In-Reply-To: <51E065FC.5070007@gmail.com>
References: <51E065FC.5070007@gmail.com>
Message-ID: <51E068F2.7080801@fourthworld.com>

Richmond wrote:
> On 07/12/2013 08:58 PM, Richard Gaskin wrote:
>> Peter Haworth wrote:
>>> Has anyone got any real world examples of the benefits of the new
>>> chained
>>> behaviors feature?
>>>
>>> I just read the latest newsletter article about them and while I
>>> understand
>>> the concept,  I didn't see benefit in the example scenario over a single
>>> behavior with some common logic and a switch statement to handle the
>>> logic
>>> specific to each "sprite".
>>
>> It obviates the switch statement.
>
> And what, pray tell, is wrong with switch statements?

Nothing.  Use 'em where you like 'em.

OOP is a code design issue.  There are countless arguments around the 
'net about the benefits of OOP, and those are probably better than any I 
could come up with because I find myself here in a cognitive bind:  I'm 
unable to understand how one level of behaviors can be seen as valuable 
but multiple levels not seen as adding even more value.

But that's just me.  Whether I can explain why I like 'em or not, I look 
forward to using 'em.

And if instead you prefer one long script with conditionals, you can 
enjoy that too.

Everyone has what they want here.

--
  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  Fri Jul 12 16:38:06 2013
From: monte at sweattechnologies.com (Monte Goulding)
Date: Sat, 13 Jul 2013 06:38:06 +1000
Subject: Chained Behaviors
In-Reply-To: 
References: 
	<51E04CC1.5030204@hyperactivesw.com>
	
Message-ID: <9FD1C69D-88B8-459B-B10A-94D5A5135698@sweattechnologies.com>


On 13/07/2013, at 5:47 AM, Peter Haworth  wrote:

> OK, good example, thanks.  I have to ask, though, why not have the unique
> mouseUp handlers in the sprite scripts and a behavior script for the common
> mouseDown handler?

Because that would mean replication and more maintenance if there's a lot of sprites with the same handler.

Here's an idea... why don't we put all our code into big switch statements in the mainstack script... that sounds like fun ;-)

I've got another use case. The mApp framework is a behavior script for the mainstack of the app. It has a small amount of code that's only in there for development support... standalone building, drag and drop of images onto the app etc. This code really shouldn't be in the built app. With chained behaviors I can put it in a support behavior that doesn't get's copied to the stackfile during the build.

Most of my behaviors are based on the same boilerplate template so there's lots of common code. If I could move most of that to a parent behavior I'd be very happy to do so because any fixes would be applied to all...

Like Richard I've been waiting for this for years. One of my biggest gripes about LiveCode is that it's sometimes hard to avoid replicating the same code all over the place. If you need to change something then you need to change it everywhere. It's easy to introduce bugs there because you miss one or two spots where you didn't change the code.

Whenever there's a significant new feature added to LiveCode there's always a certain about of "what's in it for me" going on on this list. People want the things they need to be higher priority. Well the good news on this one is it was all implemented when behaviors were first introduced and was just #ifdefed out. So it was a money for jam investment as far as RunRev was concerned. It was just a case of out of sight out of mind until a few of us spotted the tantalisingly named FEATURE_INHERITED_PARENTSCRIPTS ... 

There seems to be a certain element that believe that Mark Waddingham is the only thing holding back a tide of open source contributors that want to turn LiveCode into a low level language and ruin your platform. It's just plain untrue and I think it's a very harmful attitude to have. Why not stop and think what might motivate someone to put their spare time into working on the engine? If anything the open source move gives everyone a chance to become involved in feature development discussions and implementations to ensure all the Xtalk ducks are in a row.

Cheers

--
Monte Goulding

M E R Goulding - software development services
mergExt - There's an external for that!







From monte at sweattechnologies.com  Fri Jul 12 16:43:42 2013
From: monte at sweattechnologies.com (Monte Goulding)
Date: Sat, 13 Jul 2013 06:43:42 +1000
Subject: mApp LC6.1 crash
In-Reply-To: <77F5E72D-962D-4001-A7FA-2DD2DEC2865C@mac.com>
References: 
	<3E02F5BA-DBA9-4B1D-8403-FCA6BF04D1C8@mac.com>
	
	<77F5E72D-962D-4001-A7FA-2DD2DEC2865C@mac.com>
Message-ID: <243DC98D-CECC-4033-99EB-CE85C17A7CE9@sweattechnologies.com>


On 13/07/2013, at 3:30 AM, Thomas McGrath III  wrote:

> Monte, Do you have a fix? workaround? 

Yes... Use LC 6.0.2 or 5.5.5... It's apparently fixed for the next release.

--
Monte Goulding

M E R Goulding - software development services
mergExt - There's an external for that!







From pete at lcsql.com  Fri Jul 12 16:44:32 2013
From: pete at lcsql.com (Peter Haworth)
Date: Fri, 12 Jul 2013 13:44:32 -0700
Subject: Chained Behaviors
In-Reply-To: <51E0679E.9010700@hyperactivesw.com>
References: 
	<51E04CC1.5030204@hyperactivesw.com>
	
	<51E0679E.9010700@hyperactivesw.com>
Message-ID: 

Ah OK, that makes sense. I had the impression that each sprite needed
mouseUp logic that was unique to it.  I think I'm now seeing the usefulness
of this.

I'm thinking there might be a spot for a utility that, for any given
control, lists the message handlers it uses and where they reside.....

Pete
lcSQL Software 


On Fri, Jul 12, 2013 at 1:31 PM, J. Landman Gay wrote:

> On 7/12/13 2:47 PM, Peter Haworth wrote:
>
>> On Fri, Jul 12, 2013 at 11:36 AM, J. Landman Gay
>> **wrote:
>>
>>  Remember that behaviors are not a single handler, they are whole scripts.
>>> I have several sprites that require different behaviors on mouseUp but
>>> they
>>> all have the same behaviors on mouseDown. With a chained behavior, I
>>> could
>>> have placed the mouseDown handler into the "top" of the chain and
>>> different
>>> mouseUp handlers in each separate behavior script underneath that:
>>>
>>>         on mouseDown
>>>           doDownStuff
>>>         end mouseDown
>>>           /        \
>>> on mouseUp       on mouseUp
>>>   doBehavior1       doBehavior2
>>> end mouseUp      end mouseUp
>>>
>>>
>> OK, good example, thanks.  I have to ask, though, why not have the unique
>> mouseUp handlers in the sprite scripts and a behavior script for the
>> common
>> mouseDown handler?
>>
>
> Well, there are four different behaviors (so far,) applied to hundreds of
> objects spread across dozens of stacks. If I needed to change anything, I'd
> be in there for weeks or I'd have to script an auto-scripter. Also, the
> bulk of all those repetitions would unnecessarily increase the stack size.
> One of the mouseUp behaviors is 200 lines long.
>
>
> --
> 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  Fri Jul 12 16:47:39 2013
From: pete at lcsql.com (Peter Haworth)
Date: Fri, 12 Jul 2013 13:47:39 -0700
Subject: Chained Behaviors
In-Reply-To: <51E05AC0.7040605@fourthworld.com>
References: 
	<51E05AC0.7040605@fourthworld.com>
Message-ID: 

On Fri, Jul 12, 2013 at 12:36 PM, Richard Gaskin  wrote:

> Having once had a disagreement with Mark Waddingham over a language design
> issue, my respect for his good judgment in this regard was only amplified
> by that momentary conflict.


I remember a while back you mentioned the need for a "Community Manager"
(or something similar) in the open source world.  Is Mark that person then?

Pete
lcSQL Software 


From jacque at hyperactivesw.com  Fri Jul 12 16:52:04 2013
From: jacque at hyperactivesw.com (J. Landman Gay)
Date: Fri, 12 Jul 2013 15:52:04 -0500
Subject: Chained Behaviors
In-Reply-To: <51E0679E.9010700@hyperactivesw.com>
References: 
	<51E04CC1.5030204@hyperactivesw.com>
	
	<51E0679E.9010700@hyperactivesw.com>
Message-ID: <51E06C74.306@hyperactivesw.com>

For anyone who hasn't played with behaviors yet, try scripting something 
like this without them:

Create a stack. Put ten small images on the card, each with a unique 
name. These are the sprites. The stack script should already have its 
own mouseDown and mouseUp handlers that do something unrelated to the 
sprites.

Sprite handlers:

On mousedown:

Every image plays a "click" sound
Every image says its name

On mouseup:

Images 1-3 move to the top left corner
Images 4-6 change their ink
Images 7-9 play an additional sound file
Image 10 beeps

I know how I'd do it the "old" way. My existing mouseUp and mouseDown 
handlers would need to branch to accomodate what was being clicked; do 
one thing if it's a sprite, something else if it's a regular button. I'd 
assign a custom property to each type of sprite, check that to determine 
the correct behavior, and write a long switch structure with all the 
responses in it. Alternately, every sprite would need at least a 
mouseDown and mouseUp handler that at least called another handler in 
the stack.

Now try it with chained behaviors. No branching, no altering existing 
mouse handlers, no big switch statements, no custom property, no sprite 
scripts, all code in an isolated instance that does not interfere with 
any other code. It's as if every sprite is all alone on the card, 
running its own little script with nothing else in the way. And all I 
had to do is assign the behavior; the image itself has no properties or 
scripts.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



From index at kenjikojima.com  Fri Jul 12 17:24:10 2013
From: index at kenjikojima.com (index at kenjikojima.com)
Date: Fri, 12 Jul 2013 17:24:10 -0400
Subject: unicode font names
In-Reply-To: <51E06706.9020403@gmail.com>
References: 
	<51E06706.9020403@gmail.com>
Message-ID: 

Richmond,

I tried many times same script all day, but could not make. Strange.
Anyway I could. Thanks.

on mouseDown
   if the platform is "MacOS" then
      set the textFont of me to "Osaka"
   else
      set the textFont of me to "Tahoma"
   end if
   get the fontNames
   repeat for each line tLine in it
      if the fontLanguage of tLine is "japanese" then
         put tLine & cr after tFontNames
      end if
   end repeat
   sort tFontNames
   delete char -1 of tFontNames
   set the text of me to tFontNames
end mouseDown

on menuPick pItemName
  set the textFont of fld "nihongo" to pItemName
end menuPick

--
Kenji Kojima / ????
http://www.kenjikojima.com/


On Jul 12, 2013, at 4:28 PM, Richmond wrote:

> On 07/12/2013 10:16 PM, index at kenjikojima.com wrote:
>> Hi,
>> Can anybody set unicode font names of the fontNames to the menu items of pulldown menu?
>> 
>> Thanks,
>> --
>> Kenji Kojima / ????
>> http://www.kenjikojima.com/
>> 
>> 
>> 
>> 
> 
> Well, I work with Unicode fonts all the time, and find that
> 
> on mouseDown
> put the fontnames into me
> end mouseDown
> 
> puts all the names of the fonts on my system into my pullDown menu;
> 
> what is does (and maybe this is your problem) is that it lists the fonts
> by their Latin names,
> rather than their names in the language they are used for.
> 
> For the sake of argument, an Arabic font may be listed as "Arabic4"
> rather than
> a name in Arabic script.
> 
> 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 scott at tactilemedia.com  Fri Jul 12 17:34:36 2013
From: scott at tactilemedia.com (Scott Rossi)
Date: Fri, 12 Jul 2013 14:34:36 -0700
Subject: Chained Behaviors
In-Reply-To: 
Message-ID: 

Hi Pete:

FWIW, a behavior script is not much different than using a library script,
or front/backScript.  It's a block of code that executed along the way of
the message path but stays local to the object it is assigned to.  In
fact, one could *almost* say that behaviors are in some cases more
apparent the aforementioned scripts because (for the moment) behavior
scripts can only be placed in buttons, while front/backScripts can exist
in most any control.

Another thing about behaviors is they offer a few special features, such
as their connection to groups.  When a behavior is applied to a group, you
can, for example, continually track the resizeControl message while the
group is being resized.  With other objects, the control receives the
message only after the resize event is completed.

Agreed that the display/management of behaviors in the IDE could be
improved, but the RunRev guys are working on updating the IDE, so maybe
we'll see something new there.

In the end, as Richard stated, no one is being forced to use behaviors, or
chained behaviors.  Use them or ignore them as you see fit.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 7/12/13 1:04 PM, "Peter Haworth"  wrote:

>On Fri, Jul 12, 2013 at 11:40 AM, Scott Rossi
>wrote:
>
>> have built a system that uses one behavior for a wide range of controls
>> using switch statements, and the higher the number of controls you have
>>to
>> support, the more complex and messier the code gets.  Chained behaviors
>> gives you another option to modularize your code.
>>
>
>Good point Scott.  Switch statements definitely get messy when they have a
>large number of case statements within them.
>
>I think this is coming down to the fact that I personally haven't come
>across a situation where chained behaviors would have been useful or there
>wasn't a perfectly acceptable alternative, at least for my programming
>style.
>
>I think one of the things that concerns me is the relative invisibility of
>behaviors, resulting in it sometimes being hard to track down where things
>happen, especially if you're looking at someone else's code.  Heck, the
>IDE
>Inspector doesn't even show a behavior field for some object types so
>tracking down the fact that a behavior is in effect is hard enough at a
>single level never mind multiple levels.  At least if you write a common
>handler and call it from each control's script, you can see right in front
>of you.
>
>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 userev at canelasoftware.com  Fri Jul 12 17:51:41 2013
From: userev at canelasoftware.com (Mark Talluto)
Date: Fri, 12 Jul 2013 14:51:41 -0700
Subject: =?windows-1252?Q?Sockets_on_mobile=85at_last!?=
Message-ID: 

Monte,

I just want to thank you for completing this external. We have been using it every day for the last few days on iPads.  Our iPads can now communicate directly with our desktops.  It is truly amazing to see it all working so well.  

If you are looking for sockets on iOS, Monte has what you need.  Long live these and other amazing 3rd party efforts to improve our programming lives.  


Best regards,

Mark Talluto
canelasoftware.com









From monte at sweattechnologies.com  Fri Jul 12 18:13:15 2013
From: monte at sweattechnologies.com (Monte Goulding)
Date: Sat, 13 Jul 2013 08:13:15 +1000
Subject: =?windows-1252?Q?Re=3A_Sockets_on_mobile=85at_last!?=
In-Reply-To: 
References: 
Message-ID: <6B2A65AD-6BD1-4CAA-97CF-F7F4EBA045C2@sweattechnologies.com>


On 13/07/2013, at 7:51 AM, Mark Talluto  wrote:

> I just want to thank you for completing this external. We have been using it every day for the last few days on iPads.  Our iPads can now communicate directly with our desktops.  It is truly amazing to see it all working so well.  
> 
> If you are looking for sockets on iOS, Monte has what you need.  Long live these and other amazing 3rd party efforts to improve our programming lives.  

Thanks Mark, I'm glad it's doing the job for you.

Cheers

--
Monte Goulding

M E R Goulding - software development services
mergExt - There's an external for that!







From mwieder at ahsoftware.net  Fri Jul 12 18:40:44 2013
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Fri, 12 Jul 2013 15:40:44 -0700
Subject: Chained Behaviors
In-Reply-To: 
References: ,
	, <51E043C5.4040002@fourthworld.com>,
	,
	
	
Message-ID: <25169778456.20130712154044@ahsoftware.net>

John-

Friday, July 12, 2013, 12:12:45 PM, you wrote:

> I understand 'behaviors', I use them quite a lot of the time... I
> just don't see the need to continue with the 'chain' in xTalk... I

You don't *need* to chain them at all. Just continue working the way
you do and nothing changes.

I think it's roughly equivalent to the question of "why would I want
to put code in the stack script? Everything works fine if I just copy
and paste all this code into each of 20 buttons..." The idea that you
can put code in an object or in a group or in a card or in a stack
or... is the same sort of inheritance that behaviors, or nested
behaviors, bring to the table.

-- 
-Mark Wieder
 mwieder at ahsoftware.net




From pete at lcsql.com  Fri Jul 12 18:40:43 2013
From: pete at lcsql.com (Peter Haworth)
Date: Fri, 12 Jul 2013 15:40:43 -0700
Subject: Chained Behaviors
In-Reply-To: <9FD1C69D-88B8-459B-B10A-94D5A5135698@sweattechnologies.com>
References: 
	<51E04CC1.5030204@hyperactivesw.com>
	
	<9FD1C69D-88B8-459B-B10A-94D5A5135698@sweattechnologies.com>
Message-ID: 

Monte,
If you read my later post, you'd  see that I get the issue with the mouseUp
handlers, just wasn't clear from Jacque's original diagram.

As for the "what's in it for me" issue, that wasn't my question.  I simply
asked for real life examples of the practical use of chained behaviors
since I wasn't seeing anything particularly useful in the simple newsletter
example.  Now the good people on this list have enlightened me and I see
the use cases.  Although I don't have a personal need for chained behaviors
that I can think of right now, I will certainly be aware of them for future
projects.






Pete
lcSQL Software 


On Fri, Jul 12, 2013 at 1:38 PM, Monte Goulding  wrote:

>
> On 13/07/2013, at 5:47 AM, Peter Haworth  wrote:
>
> > OK, good example, thanks.  I have to ask, though, why not have the unique
> > mouseUp handlers in the sprite scripts and a behavior script for the
> common
> > mouseDown handler?
>
> Because that would mean replication and more maintenance if there's a lot
> of sprites with the same handler.
>
> Here's an idea... why don't we put all our code into big switch statements
> in the mainstack script... that sounds like fun ;-)
>
> I've got another use case. The mApp framework is a behavior script for the
> mainstack of the app. It has a small amount of code that's only in there
> for development support... standalone building, drag and drop of images
> onto the app etc. This code really shouldn't be in the built app. With
> chained behaviors I can put it in a support behavior that doesn't get's
> copied to the stackfile during the build.
>
> Most of my behaviors are based on the same boilerplate template so there's
> lots of common code. If I could move most of that to a parent behavior I'd
> be very happy to do so because any fixes would be applied to all...
>
> Like Richard I've been waiting for this for years. One of my biggest
> gripes about LiveCode is that it's sometimes hard to avoid replicating the
> same code all over the place. If you need to change something then you need
> to change it everywhere. It's easy to introduce bugs there because you miss
> one or two spots where you didn't change the code.
>
> Whenever there's a significant new feature added to LiveCode there's
> always a certain about of "what's in it for me" going on on this list.
> People want the things they need to be higher priority. Well the good news
> on this one is it was all implemented when behaviors were first introduced
> and was just #ifdefed out. So it was a money for jam investment as far as
> RunRev was concerned. It was just a case of out of sight out of mind until
> a few of us spotted the tantalisingly named FEATURE_INHERITED_PARENTSCRIPTS
> ...
>
> There seems to be a certain element that believe that Mark Waddingham is
> the only thing holding back a tide of open source contributors that want to
> turn LiveCode into a low level language and ruin your platform. It's just
> plain untrue and I think it's a very harmful attitude to have. Why not stop
> and think what might motivate someone to put their spare time into working
> on the engine? If anything the open source move gives everyone a chance to
> become involved in feature development discussions and implementations to
> ensure all the Xtalk ducks are in a row.
>
> 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 mwieder at ahsoftware.net  Fri Jul 12 18:52:47 2013
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Fri, 12 Jul 2013 15:52:47 -0700
Subject: Chained Behaviors
In-Reply-To: <9FD1C69D-88B8-459B-B10A-94D5A5135698@sweattechnologies.com>
References: 
	<51E04CC1.5030204@hyperactivesw.com>
	
	<9FD1C69D-88B8-459B-B10A-94D5A5135698@sweattechnologies.com>
Message-ID: <123170501960.20130712155247@ahsoftware.net>

Monte-

Friday, July 12, 2013, 1:38:06 PM, you wrote:

> a money for jam investment as far as RunRev was concerned. It was
> just a case of out of sight out of mind until a few of us spotted
> the tantalisingly named FEATURE_INHERITED_PARENTSCRIPTS ...

Well, to be fair about that, the feature was implemented but never
extensively tested, and certainly not enough to release it as a
finished feature. So it was left as a message to future developers.
Then people from the future came along and said "whoa! look at that!".

> If anything the open source move gives everyone a chance to become
> involved in feature development discussions and implementations to
> ensure all the Xtalk ducks are in a row.

Absolutely. That's why the discussions going on over at the web forum
are so important. I think we need to talk about these things as or
before they get implemented, so that we can brainstorm about possible
pitfalls, dead ends, etc. I'm currently having an argument with Mark
about a certain feature, and I have no doubt that he'll win, but I
think I still have some valid points to make before I'm ready to give
in.

-- 
-Mark Wieder
 mwieder at ahsoftware.net




From mwieder at ahsoftware.net  Fri Jul 12 18:54:20 2013
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Fri, 12 Jul 2013 15:54:20 -0700
Subject: Array glitch
In-Reply-To: 
References: <2490513494.20130711173939@ahsoftware.net>
	<1152377C5FA7428D99C90A9552327F61@TED>
	
	<191149112741.20130712095618@ahsoftware.net>
	<194154339780.20130712112325@ahsoftware.net>
	
Message-ID: <33170594292.20130712155420@ahsoftware.net>

Pete-

Friday, July 12, 2013, 12:39:51 PM, you wrote:

> Just to confirm, you can get into the debugger variables tab and expand the
> array to show its key and value?

Yep. That was my test case. Hit the breakpoint, drop down to the
variables tab, expand the array, see the zero. And the seconds. Do it
a few times to make sure the seconds key changes.

-- 
-Mark Wieder
 mwieder at ahsoftware.net




From monte at sweattechnologies.com  Fri Jul 12 18:56:58 2013
From: monte at sweattechnologies.com (Monte Goulding)
Date: Sat, 13 Jul 2013 08:56:58 +1000
Subject: Chained Behaviors
In-Reply-To: 
References: 
	<51E04CC1.5030204@hyperactivesw.com>
	
	<9FD1C69D-88B8-459B-B10A-94D5A5135698@sweattechnologies.com>
	
Message-ID: <05EBFF69-CBFD-47BE-B0FA-7EEB5B365015@sweattechnologies.com>


On 13/07/2013, at 8:40 AM, Peter Haworth  wrote:

> If you read my later post, you'd  see that I get the issue with the mouseUp
> handlers, just wasn't clear from Jacque's original diagram.

Right... I wrote that before Jacque's second answer came in and your response to it.
> 
> As for the "what's in it for me" issue, that wasn't my question.  I simply
> asked for real life examples of the practical use of chained behaviors
> since I wasn't seeing anything particularly useful in the simple newsletter
> example.  Now the good people on this list have enlightened me and I see
> the use cases.  Although I don't have a personal need for chained behaviors
> that I can think of right now, I will certainly be aware of them for future
> projects.

I was responding to the thread in general there not necessarily your original post. Sorry for the confusion.

--
Monte Goulding

M E R Goulding - software development services
mergExt - There's an external for that!







From monte at sweattechnologies.com  Fri Jul 12 19:08:14 2013
From: monte at sweattechnologies.com (Monte Goulding)
Date: Sat, 13 Jul 2013 09:08:14 +1000
Subject: Chained Behaviors
In-Reply-To: <123170501960.20130712155247@ahsoftware.net>
References: 
	<51E04CC1.5030204@hyperactivesw.com>
	
	<9FD1C69D-88B8-459B-B10A-94D5A5135698@sweattechnologies.com>
	<123170501960.20130712155247@ahsoftware.net>
Message-ID: <357FCB12-C6C5-4FFC-B4E7-7A787FB8CF77@sweattechnologies.com>


On 13/07/2013, at 8:52 AM, Mark Wieder  wrote:

> "whoa! look at that!".

Ah.. happy memories ;-)

> 
>> If anything the open source move gives everyone a chance to become
>> involved in feature development discussions and implementations to
>> ensure all the Xtalk ducks are in a row.
> 
> Absolutely. That's why the discussions going on over at the web forum
> are so important. I think we need to talk about these things as or
> before they get implemented, so that we can brainstorm about possible
> pitfalls, dead ends, etc. I'm currently having an argument with Mark
> about a certain feature, and I have no doubt that he'll win, but I
> think I still have some valid points to make before I'm ready to give
> in.


Yes your alternate languages on linux implementation and thread is a good example of how just because someone has implemented something and is prepared to contribute it doesn't mean it's definitely going in the engine. Basically nothing gets in the engine unless it goes through Mark and he thinks it's both a good thing and ready.

--
Monte Goulding

M E R Goulding - software development services
mergExt - There's an external for that!







From ambassador at fourthworld.com  Fri Jul 12 19:26:39 2013
From: ambassador at fourthworld.com (Richard Gaskin)
Date: Fri, 12 Jul 2013 16:26:39 -0700
Subject: Chained Behaviors
In-Reply-To: 
References: 
Message-ID: <51E090AF.9040202@fourthworld.com>

Peter Haworth wrote:
> I remember a while back you mentioned the need for a "Community Manager"
> (or something similar) in the open source world.  Is Mark that person then?

As the number of contributors grows, the role of Community Manager can 
be expected to outgrow Mark's availability, so I believe RunRev plans on 
having someone to handle that soon.  But in the meantime, when it comes 
to stewarding the code base, right now Mark is effectively serving that 
role.

--
  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  Fri Jul 12 19:42:02 2013
From: pete at lcsql.com (Peter Haworth)
Date: Fri, 12 Jul 2013 16:42:02 -0700
Subject: Array glitch
In-Reply-To: <33170594292.20130712155420@ahsoftware.net>
References: <2490513494.20130711173939@ahsoftware.net>
	<1152377C5FA7428D99C90A9552327F61@TED>
	
	<191149112741.20130712095618@ahsoftware.net>
	<194154339780.20130712112325@ahsoftware.net>
	
	<33170594292.20130712155420@ahsoftware.net>
Message-ID: 

OK, all works fine for me too on a Mac so it does look like it's a Windows
problem (maybe Linux too?)

Pete
lcSQL Software 


On Fri, Jul 12, 2013 at 3:54 PM, Mark Wieder  wrote:

> Pete-
>
> Friday, July 12, 2013, 12:39:51 PM, you wrote:
>
> > Just to confirm, you can get into the debugger variables tab and expand
> the
> > array to show its key and value?
>
> Yep. That was my test case. Hit the breakpoint, drop down to the
> variables tab, expand the array, see the zero. And the seconds. Do it
> a few times to make sure the seconds key changes.
>
> --
> -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 dixonja at hotmail.co.uk  Fri Jul 12 19:46:27 2013
From: dixonja at hotmail.co.uk (John Dixon)
Date: Sat, 13 Jul 2013 00:46:27 +0100
Subject: Chained Behaviors
In-Reply-To: <51E090AF.9040202@fourthworld.com>
References: ,
	<51E090AF.9040202@fourthworld.com>
Message-ID: 


Richard Gaskin wrote...

> As the number of contributors grows, the role of Community Manager can 
> be expected to outgrow Mark's availability, so I believe RunRev plans on 
> having someone to handle that soon.  But in the meantime, when it comes 
> to stewarding the code base, right now Mark is effectively serving that 
> role.

Then let's hope that the appointed person is steeped in the xTalk philosophy... perhaps Mr Bill Atkinson would be the perfect 'steward'...:-)

 		 	   		  

From warren at warrensweb.us  Fri Jul 12 20:18:12 2013
From: warren at warrensweb.us (Warren Samples)
Date: Fri, 12 Jul 2013 19:18:12 -0500
Subject: positioning stacks off screen in Linux
In-Reply-To: <51E03641.8010904@warrensweb.us>
References: <51E03641.8010904@warrensweb.us>
Message-ID: <51E09CC4.6000700@warrensweb.us>

On 07/12/2013 12:00 PM, Warren Samples wrote:
> One of the commonly suggested methods of hiding stacks is setting their
> location to something that places them out of the view window. This is
> not working correctly here under openSUSE/KDE/KWin. A stack's location
> is constrained to the available viewport unless it has been previously
> dragged and placed so that some part of it past the screen edge. Once
> that is done, a stack can be positioned anywhere outside the viewport
> until it is completely within it and we return to our original problem.
> In order for any part of a stack to be positioned outside the viewport,
> some part of it must already appear beyond a screen edge.
>
> This does not happen under Windows. Do users of other Linux
> distros/DEs/window managers find this same behavior?
>
> Warren
>

Trying this is Mint 9 in VirtualBox is even worse. Stacks cannot be 
moved completely out of view no matter what I try.

Anyone else?




From roger.e.eller at sealedair.com  Fri Jul 12 20:19:25 2013
From: roger.e.eller at sealedair.com (Roger Eller)
Date: Fri, 12 Jul 2013 20:19:25 -0400
Subject: =?windows-1252?Q?Re=3A_Sockets_on_mobile=85at_last=21?=
In-Reply-To: <6B2A65AD-6BD1-4CAA-97CF-F7F4EBA045C2@sweattechnologies.com>
References: 
	<6B2A65AD-6BD1-4CAA-97CF-F7F4EBA045C2@sweattechnologies.com>
Message-ID: 

So the Android version will be next, right?
On Jul 12, 2013 6:13 PM, "Monte Goulding" 
wrote:

>
> On 13/07/2013, at 7:51 AM, Mark Talluto  wrote:
>
> > I just want to thank you for completing this external. We have been
> using it every day for the last few days on iPads.  Our iPads can now
> communicate directly with our desktops.  It is truly amazing to see it all
> working so well.
> >
> > If you are looking for sockets on iOS, Monte has what you need.  Long
> live these and other amazing 3rd party efforts to improve our programming
> lives.
>
> Thanks Mark, I'm glad it's doing the job for you.
>
> 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 mwieder at ahsoftware.net  Fri Jul 12 20:32:34 2013
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Fri, 12 Jul 2013 17:32:34 -0700
Subject: positioning stacks off screen in Linux
In-Reply-To: <51E09CC4.6000700@warrensweb.us>
References: <51E03641.8010904@warrensweb.us> <51E09CC4.6000700@warrensweb.us>
Message-ID: <15176488526.20130712173234@ahsoftware.net>

Warren-

Friday, July 12, 2013, 5:18:12 PM, you wrote:

> Trying this is Mint 9 in VirtualBox is even worse. Stacks cannot be
> moved completely out of view no matter what I try.

> Anyone else?

Yep. Verified here on linux mint 14.

-- 
-Mark Wieder
 mwieder at ahsoftware.net




From jacque at hyperactivesw.com  Fri Jul 12 20:37:51 2013
From: jacque at hyperactivesw.com (J. Landman Gay)
Date: Fri, 12 Jul 2013 19:37:51 -0500
Subject: Chained Behaviors
In-Reply-To: <357FCB12-C6C5-4FFC-B4E7-7A787FB8CF77@sweattechnologies.com>
References: 
	<51E04CC1.5030204@hyperactivesw.com>
	
	<9FD1C69D-88B8-459B-B10A-94D5A5135698@sweattechnologies.com>
	<123170501960.20130712155247@ahsoftware.net>
	<357FCB12-C6C5-4FFC-B4E7-7A787FB8CF77@sweattechnologies.com>
Message-ID: <51E0A15F.2050302@hyperactivesw.com>

On 7/12/13 6:08 PM, Monte Goulding wrote:
> Basically nothing gets in the engine unless it goes
> through Mark and he thinks it's both a good thing and ready.

For which I am very grateful. Mark has an expansive vision and solid 
knowledge of both the language and the people who use it, and so far, I 
think everything he's decided has been spot-on. I trust him to make the 
right decisions.

He told me a couple of years ago that he wanted to rewrite the engine. I 
was appalled. I was afraid it would change too much. Was I ever wrong. 
He's making it better, and we won't lose anything. He's very good at 
guarding the syntax and backward compatibility.

When we were going to replace our cement walk with flagstones, I asked 
someone how to tell if we'd found the right person to do the job. He 
said we had to find someone "with an eye."

Mark Waddingham has an eye.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



From monte at sweattechnologies.com  Fri Jul 12 20:45:04 2013
From: monte at sweattechnologies.com (Monte Goulding)
Date: Sat, 13 Jul 2013 10:45:04 +1000
Subject: =?windows-1252?Q?Re=3A_Sockets_on_mobile=85at_last!?=
In-Reply-To: 
References: 
	<6B2A65AD-6BD1-4CAA-97CF-F7F4EBA045C2@sweattechnologies.com>
	
Message-ID: <79651CB3-77C1-42E6-86F0-48BBC1AAC2A2@sweattechnologies.com>


On 13/07/2013, at 10:19 AM, Roger Eller  wrote:

> So the Android version will be next, right?

Unfortunately not, if you remember mergSocket was crowd funded except we didn't make the funding target so in agreement with the funders (there were 5) I produced an iOS only external. On the up side android externals get closer every day.

Cheers

Cheers

--
Monte Goulding

M E R Goulding - software development services
mergExt - There's an external for that!







From roger.e.eller at sealedair.com  Fri Jul 12 20:56:40 2013
From: roger.e.eller at sealedair.com (Roger Eller)
Date: Fri, 12 Jul 2013 20:56:40 -0400
Subject: =?windows-1252?Q?Re=3A_Sockets_on_mobile=85at_last=21?=
In-Reply-To: <79651CB3-77C1-42E6-86F0-48BBC1AAC2A2@sweattechnologies.com>
References: 
	<6B2A65AD-6BD1-4CAA-97CF-F7F4EBA045C2@sweattechnologies.com>
	
	<79651CB3-77C1-42E6-86F0-48BBC1AAC2A2@sweattechnologies.com>
Message-ID: 

It sounds more like mob-funding.  We all know it only takes 3 to make a
crowd.  :-P
 On Jul 12, 2013 8:45 PM, "Monte Goulding" 
wrote:

>
> On 13/07/2013, at 10:19 AM, Roger Eller 
> wrote:
>
> > So the Android version will be next, right?
>
> Unfortunately not, if you remember mergSocket was crowd funded except we
> didn't make the funding target so in agreement with the funders (there were
> 5) I produced an iOS only external. On the up side android externals get
> closer every day.
>
> Cheers
>
> 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  Fri Jul 12 20:57:48 2013
From: monte at sweattechnologies.com (Monte Goulding)
Date: Sat, 13 Jul 2013 10:57:48 +1000
Subject: Chained Behaviors
In-Reply-To: <51E0A15F.2050302@hyperactivesw.com>
References: 
	<51E04CC1.5030204@hyperactivesw.com>
	
	<9FD1C69D-88B8-459B-B10A-94D5A5135698@sweattechnologies.com>
	<123170501960.20130712155247@ahsoftware.net>
	<357FCB12-C6C5-4FFC-B4E7-7A787FB8CF77@sweattechnologies.com>
	<51E0A15F.2050302@hyperactivesw.com>
Message-ID: 


On 13/07/2013, at 10:37 AM, "J. Landman Gay"  wrote:

> For which I am very grateful. Mark has an expansive vision and solid knowledge of both the language and the people who use it, and so far, I think everything he's decided has been spot-on. I trust him to make the right decisions.

I wasn't being critical of it I was just stating a fact. I think what he's doing is very important particularly given there's currently no documentation available other than a few dot points specifying the roadmap so if we are interested to do something we need to find out from him if that fits in the overall vision for the platform or not...

--
Monte Goulding

M E R Goulding - software development services
mergExt - There's an external for that!







From monte at sweattechnologies.com  Fri Jul 12 20:59:14 2013
From: monte at sweattechnologies.com (Monte Goulding)
Date: Sat, 13 Jul 2013 10:59:14 +1000
Subject: =?windows-1252?Q?Re=3A_Sockets_on_mobile=85at_last!?=
In-Reply-To: 
References: 
	<6B2A65AD-6BD1-4CAA-97CF-F7F4EBA045C2@sweattechnologies.com>
	
	<79651CB3-77C1-42E6-86F0-48BBC1AAC2A2@sweattechnologies.com>
	
Message-ID: <10004BC3-F160-4711-9C54-021C81C9A150@sweattechnologies.com>


On 13/07/2013, at 10:56 AM, Roger Eller  wrote:

> It sounds more like mob-funding.  We all know it only takes 3 to make a
> crowd.  :-P

Well that ship sailed last year and didn't float... I see no reason why it would float now.

--
Monte Goulding

M E R Goulding - software development services
mergExt - There's an external for that!







From dunbarx at aol.com  Fri Jul 12 21:04:31 2013
From: dunbarx at aol.com (dunbarx at aol.com)
Date: Fri, 12 Jul 2013 21:04:31 -0400 (EDT)
Subject: Chained Behaviors
In-Reply-To: <357FCB12-C6C5-4FFC-B4E7-7A787FB8CF77@sweattechnologies.com>
References: 
	<51E04CC1.5030204@hyperactivesw.com>
	
	<9FD1C69D-88B8-459B-B10A-94D5A5135698@sweattechnologies.com>
	<123170501960.20130712155247@ahsoftware.net>
	<357FCB12-C6C5-4FFC-B4E7-7A787FB8CF77@sweattechnologies.com>
Message-ID: <8D04D7C11095E90-142C-D1C44@webmail-d240.sysops.aol.com>

Great thread.


I think I got this inspiration from Jacque. Chained behaviors allow one to create a well defined sub-message hierarchy distinct from the ordinary one. You can, in other words, write your own message path, encompassing specific aspects of your program that make sense for it.


This seems profoundly important and enabling.


And as Richard says, you only need to think about it if you need to think about it. The heart and soul of LC is not besmirched by functionality that is invisible if you decide to ignore it. A toolbox full of tools that you love and use all the time is no better than one that contains those tools as well as many others you never seem to need. The toolbox itself is larger, but I see no clutter.


Craig


From dsc at swcp.com  Fri Jul 12 21:04:45 2013
From: dsc at swcp.com (Dar Scott)
Date: Fri, 12 Jul 2013 19:04:45 -0600
Subject: =?windows-1252?Q?Re=3A_Sockets_on_mobile=85at_last!?=
In-Reply-To: <79651CB3-77C1-42E6-86F0-48BBC1AAC2A2@sweattechnologies.com>
References: 
	<6B2A65AD-6BD1-4CAA-97CF-F7F4EBA045C2@sweattechnologies.com>
	
	<79651CB3-77C1-42E6-86F0-48BBC1AAC2A2@sweattechnologies.com>
Message-ID: <6CC01095-7E26-40DA-A1BD-E954A194D011@swcp.com>

I searched for mergSocket on the list and found only the recent mentions.  Maybe people didn't hear about it.

And good work!

Dar


On Jul 12, 2013, at 6:45 PM, Monte Goulding wrote:

> 
> On 13/07/2013, at 10:19 AM, Roger Eller  wrote:
> 
>> So the Android version will be next, right?
> 
> Unfortunately not, if you remember mergSocket was crowd funded except we didn't make the funding target so in agreement with the funders (there were 5) I produced an iOS only external. On the up side android externals get closer every day.
> 
> Cheers
> 
> 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  Fri Jul 12 21:15:05 2013
From: monte at sweattechnologies.com (Monte Goulding)
Date: Sat, 13 Jul 2013 11:15:05 +1000
Subject: =?windows-1252?Q?Re=3A_Sockets_on_mobile=85at_last!?=
In-Reply-To: <6CC01095-7E26-40DA-A1BD-E954A194D011@swcp.com>
References: 
	<6B2A65AD-6BD1-4CAA-97CF-F7F4EBA045C2@sweattechnologies.com>
	
	<79651CB3-77C1-42E6-86F0-48BBC1AAC2A2@sweattechnologies.com>
	<6CC01095-7E26-40DA-A1BD-E954A194D011@swcp.com>
Message-ID: 


On 13/07/2013, at 11:04 AM, Dar Scott  wrote:

> I searched for mergSocket on the list and found only the recent mentions.  Maybe people didn't hear about it.

There were posts about it... perhaps not mentioning mergSocket specifically... just mobile socket external. The Kickstarter campaign came along so I went quite about my little project so I didn't distract anyone. From here forward the simplest thing is to fix sockets in the engine. It's not a huge job which I've done some of but at the moment I'm lacking two things to get the job completed: time, motivation. Somebody else might have more of both... somebody might want to motivate me to find the time... but at the moment client work and android externals is top priority.

--
Monte Goulding

M E R Goulding - software development services
mergExt - There's an external for that!







From mwieder at ahsoftware.net  Fri Jul 12 22:21:41 2013
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Fri, 12 Jul 2013 19:21:41 -0700
Subject: Array glitch
In-Reply-To: 
References: <2490513494.20130711173939@ahsoftware.net>
	<1152377C5FA7428D99C90A9552327F61@TED>
	
	<191149112741.20130712095618@ahsoftware.net>
	<194154339780.20130712112325@ahsoftware.net>
	
	<33170594292.20130712155420@ahsoftware.net>
	
Message-ID: <30183035637.20130712192141@ahsoftware.net>

Peter-

Friday, July 12, 2013, 4:42:02 PM, you wrote:

> OK, all works fine for me too on a Mac so it does look like it's a Windows
> problem (maybe Linux too?)

No problem here on linux (32-bit or 64-bit).

-- 
-Mark Wieder
 mwieder at ahsoftware.net




From warren at warrensweb.us  Sat Jul 13 00:53:36 2013
From: warren at warrensweb.us (Warren Samples)
Date: Fri, 12 Jul 2013 23:53:36 -0500
Subject: positioning stacks off screen in Linux
In-Reply-To: <15176488526.20130712173234@ahsoftware.net>
References: <51E03641.8010904@warrensweb.us> <51E09CC4.6000700@warrensweb.us>
	<15176488526.20130712173234@ahsoftware.net>
Message-ID: <51E0DD50.4060903@warrensweb.us>

On 07/12/2013 07:32 PM, Mark Wieder wrote:
> Warren-
>
> Friday, July 12, 2013, 5:18:12 PM, you wrote:
>
>> Trying this is Mint 9 in VirtualBox is even worse. Stacks cannot be
>> moved completely out of view no matter what I try.
>
>> Anyone else?
>
> Yep. Verified here on linux mint 14.
>


Thanks, Mark. I've filed this as a bug.

Warren




From gcanyon at gmail.com  Sat Jul 13 02:11:56 2013
From: gcanyon at gmail.com (Geoff Canyon)
Date: Sat, 13 Jul 2013 01:11:56 -0500
Subject: Chained Behaviors
In-Reply-To: <51E0679E.9010700@hyperactivesw.com>
References: 
	<51E04CC1.5030204@hyperactivesw.com>
	
	<51E0679E.9010700@hyperactivesw.com>
Message-ID: <4F8B7073-E050-464B-9EE0-D0C0142E582D@gmail.com>

Can you share this 200-line handler?

Sent from my iPad

On Jul 12, 2013, at 3:31 PM, "J. Landman Gay"  wrote:

> One of the mouseUp behaviors is 200 lines long.



From richmondmathewson at gmail.com  Sat Jul 13 03:28:56 2013
From: richmondmathewson at gmail.com (Richmond)
Date: Sat, 13 Jul 2013 10:28:56 +0300
Subject: positioning stacks off screen in Linux
In-Reply-To: <51E09CC4.6000700@warrensweb.us>
References: <51E03641.8010904@warrensweb.us> <51E09CC4.6000700@warrensweb.us>
Message-ID: <51E101B8.4040702@gmail.com>

On 07/13/2013 03:18 AM, Warren Samples wrote:
> On 07/12/2013 12:00 PM, Warren Samples wrote:
>> One of the commonly suggested methods of hiding stacks is setting their
>> location to something that places them out of the view window. This is
>> not working correctly here under openSUSE/KDE/KWin. A stack's location
>> is constrained to the available viewport unless it has been previously
>> dragged and placed so that some part of it past the screen edge. Once
>> that is done, a stack can be positioned anywhere outside the viewport
>> until it is completely within it and we return to our original problem.
>> In order for any part of a stack to be positioned outside the viewport,
>> some part of it must already appear beyond a screen edge.
>>
>> This does not happen under Windows. Do users of other Linux
>> distros/DEs/window managers find this same behavior?
>>
>> Warren
>>
>
> Trying this is Mint 9 in VirtualBox is even worse. Stacks cannot be 
> moved completely out of view no matter what I try.
>
> Anyone else?
>

UbuntuStudio 13.04

LC Community 6.1

3 cups of coffee

Well: I made a new mainStack (400,400) which I called "PO" (for want of 
anything else) and typed this into
the message box:

move stack "PO" to -700,-700

it moved, but left its bottom right corner in the top, left of my 
screen; so that, obviously, won't do.

When I typed: set the vis of stack "PO" to false, the stack disappeared

and . . .

on typing: set the vis of stack "PO" to true, the stack reappeared

and I have a funny feeling that is what you want to happen.

Richmond.





From richmondmathewson at gmail.com  Sat Jul 13 03:59:43 2013
From: richmondmathewson at gmail.com (Richmond)
Date: Sat, 13 Jul 2013 10:59:43 +0300
Subject: Learning Pack
Message-ID: <51E108EF.20407@gmail.com>

I must be a bit thick . . .

(Please don't all leap to agree)

. . . but I have just received the latest "revUp" magaziny-thing

and was immensely interested in the "Learning Pack" . . .

But then found that it consists of an Academy subscription (not bad),

and a copy of the Commercial version of Livecode (for a teacher) . . .

. . . the idea being that the students/pupils use the Community edition.

Now what I cannot understand is how the teacher will benefit from having the
commercial edition, especially when the kids are using the community one.

-------------------------------------

I am right in the middle of my second two week "Zero-to-Hero" thing
with 10,11,12 year old kids, and we are all doing fine with the
community edition.

-------------------------------------

As far as I can see the only real reason a teacher might want the 
commercial edition
(in his/her capacity as a teacher) is so s/he can rip off the students' 
work and peddle
it commercially.

My kids are building Windows standalones of their little 'moving cows 
around' games
with the community version and giving them to their friends.

---------------------------------------

Richmond.



From peterwawood at gmail.com  Sat Jul 13 04:52:34 2013
From: peterwawood at gmail.com (Peter W A Wood)
Date: Sat, 13 Jul 2013 16:52:34 +0800
Subject: Learning Pack
In-Reply-To: <51E108EF.20407@gmail.com>
References: <51E108EF.20407@gmail.com>
Message-ID: <6B6A7018-1186-4E1B-ADD3-6AF94CE015F0@gmail.com>

Richmond

On 13 Jul 2013, at 15:59, Richmond wrote:

> Now what I cannot understand is how the teacher will benefit from having the
> commercial edition, especially when the kids are using the community one.

It couldn't be anything to do with the kids developing IOS apps and then the teacher being able to load them on their pupils machines could it?

Regards

Peter


From richmondmathewson at gmail.com  Sat Jul 13 06:03:34 2013
From: richmondmathewson at gmail.com (Richmond)
Date: Sat, 13 Jul 2013 13:03:34 +0300
Subject: Learning Pack
In-Reply-To: <6B6A7018-1186-4E1B-ADD3-6AF94CE015F0@gmail.com>
References: <51E108EF.20407@gmail.com>
	<6B6A7018-1186-4E1B-ADD3-6AF94CE015F0@gmail.com>
Message-ID: <51E125F6.1020003@gmail.com>

On 07/13/2013 11:52 AM, Peter W A Wood wrote:
> Richmond
>
> On 13 Jul 2013, at 15:59, Richmond wrote:
>
>> Now what I cannot understand is how the teacher will benefit from having the
>> commercial edition, especially when the kids are using the community one.
> It couldn't be anything to do with the kids developing IOS apps and then the teacher being able to load them on their pupils machines could it?
>
> Regards
>
> Peter
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

Does that mean that the Community edition cannot hive off IOS standalones?

Oddly enough the Community edition standalone settings stack says this:

"Apple does not allow GPL apps to be submitted to the App Store"

and blocks users from hiving of IOS standalones - which is odd as I 
might want to
make an IOS standalone to load directly (i.e. not via the App Store) 
onto a number of devices.

Does that mean that RunRev are restricting the freedom of Open Source 
Software because of
the dictates of a company that is, arguably, the king of restrictive 
practices?

----------------

I don't quite understand why end-users should be prevented from making 
IOS standalones just because the App Store says "No!"

Probably it is time to hack the standalone builder so that that is possible.

Richmond.



From index at kenjikojima.com  Sat Jul 13 07:54:17 2013
From: index at kenjikojima.com (index at kenjikojima.com)
Date: Sat, 13 Jul 2013 07:54:17 -0400
Subject: unicode font names
In-Reply-To: 
References: 
	<51E06706.9020403@gmail.com>
	
Message-ID: <27864C5A-3C76-41D2-BDE9-B3A32FADFBE1@kenjikojima.com>

Richmond,

I found my problem. 
When I set a unicode label of pulldown menu, menu items are garbage characters.

I typed Japanese characters "????" in field 1.

set the unicodeLabel of  btn "pulldown Menu" to the unicodeText of fld 1

Then set them in btn "pulldown Menu".

> on mouseDown
>   if the platform is "MacOS" then
>      set the textFont of me to "Osaka"
>   else
>      set the textFont of me to "Tahoma"
>   end if
>   get the fontNames
>   repeat for each line tLine in it
>      if the fontLanguage of tLine is "japanese" then
>         put tLine & cr after tFontNames
>      end if
>   end repeat
>   sort tFontNames
>   delete char -1 of tFontNames
>   set the text of me to tFontNames
> end mouseDown
> 
> on menuPick pItemName
>  set the textFont of fld "nihongo" to pItemName
> end menuPick


Thanks,
--
Kenji Kojima / ????
http://www.kenjikojima.com/



On Jul 12, 2013, at 5:24 PM, index at kenjikojima.com wrote:

> Richmond,
> 
> I tried many times same script all day, but could not make. Strange.
> Anyway I could. Thanks.
> 
> on mouseDown
>   if the platform is "MacOS" then
>      set the textFont of me to "Osaka"
>   else
>      set the textFont of me to "Tahoma"
>   end if
>   get the fontNames
>   repeat for each line tLine in it
>      if the fontLanguage of tLine is "japanese" then
>         put tLine & cr after tFontNames
>      end if
>   end repeat
>   sort tFontNames
>   delete char -1 of tFontNames
>   set the text of me to tFontNames
> end mouseDown
> 
> on menuPick pItemName
>  set the textFont of fld "nihongo" to pItemName
> end menuPick
> 
> --
> Kenji Kojima / ????
> http://www.kenjikojima.com/
> 
> 
> On Jul 12, 2013, at 4:28 PM, Richmond wrote:
> 
>> On 07/12/2013 10:16 PM, index at kenjikojima.com wrote:
>>> Hi,
>>> Can anybody set unicode font names of the fontNames to the menu items of pulldown menu?
>>> 
>>> Thanks,
>>> --
>>> Kenji Kojima / ????
>>> http://www.kenjikojima.com/
>>> 
>>> 
>>> 
>>> 
>> 
>> Well, I work with Unicode fonts all the time, and find that
>> 
>> on mouseDown
>> put the fontnames into me
>> end mouseDown
>> 
>> puts all the names of the fonts on my system into my pullDown menu;
>> 
>> what is does (and maybe this is your problem) is that it lists the fonts
>> by their Latin names,
>> rather than their names in the language they are used for.
>> 
>> For the sake of argument, an Arabic font may be listed as "Arabic4"
>> rather than
>> a name in Arabic script.
>> 
>> 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  Sat Jul 13 08:18:31 2013
From: richmondmathewson at gmail.com (Richmond)
Date: Sat, 13 Jul 2013 15:18:31 +0300
Subject: unicode font names
In-Reply-To: <27864C5A-3C76-41D2-BDE9-B3A32FADFBE1@kenjikojima.com>
References: 	<51E06706.9020403@gmail.com>	
	<27864C5A-3C76-41D2-BDE9-B3A32FADFBE1@kenjikojima.com>
Message-ID: <51E14597.3030309@gmail.com>

On 07/13/2013 02:54 PM, index at kenjikojima.com wrote:
> Richmond,
>
> I found my problem. 
> When I set a unicode label of pulldown menu, menu items are garbage characters.
>
> I typed Japanese characters "????" in field 1.
>
> set the unicodeLabel of  btn "pulldown Menu" to the unicodeText of fld 1
>
> Then set them in btn "pulldown Menu".
>
>> on mouseDown
>>   if the platform is "MacOS" then
>>      set the textFont of me to "Osaka"
>>   else
>>      set the textFont of me to "Tahoma"
>>   end if
>>   get the fontNames
>>   repeat for each line tLine in it
>>      if the fontLanguage of tLine is "japanese" then
>>         put tLine & cr after tFontNames
>>      end if
>>   end repeat
>>   sort tFontNames
>>   delete char -1 of tFontNames
>>   set the text of me to tFontNames
>> end mouseDown
>>
>> on menuPick pItemName
>>  set the textFont of fld "nihongo" to pItemName
>> end menuPick
>
> Thanks,
> --
> Kenji Kojima / ????
> http://www.kenjikojima.com/
>
>
>
> On Jul 12, 2013, at 5:24 PM, index at kenjikojima.com wrote:
>
>> Richmond,
>>
>> I tried many times same script all day, but could not make. Strange.
>> Anyway I could. Thanks.
>>
>> on mouseDown
>>   if the platform is "MacOS" then
>>      set the textFont of me to "Osaka"
>>   else
>>      set the textFont of me to "Tahoma"
>>   end if
>>   get the fontNames
>>   repeat for each line tLine in it
>>      if the fontLanguage of tLine is "japanese" then
>>         put tLine & cr after tFontNames
>>      end if
>>   end repeat
>>   sort tFontNames
>>   delete char -1 of tFontNames
>>   set the text of me to tFontNames
>> end mouseDown
>>
>> on menuPick pItemName
>>  set the textFont of fld "nihongo" to pItemName
>> end menuPick
>>
>> --
>> Kenji Kojima / ????
>> http://www.kenjikojima.com/
>>
>>
>> On Jul 12, 2013, at 4:28 PM, Richmond wrote:
>>
>>> On 07/12/2013 10:16 PM, index at kenjikojima.com wrote:
>>>> Hi,
>>>> Can anybody set unicode font names of the fontNames to the menu items of pulldown menu?
>>>>
>>>> Thanks,
>>>> --
>>>> Kenji Kojima / ????
>>>> http://www.kenjikojima.com/
>>>>
>>>>
>>>>
>>>>
>>> Well, I work with Unicode fonts all the time, and find that
>>>
>>> on mouseDown
>>> put the fontnames into me
>>> end mouseDown
>>>
>>> puts all the names of the fonts on my system into my pullDown menu;
>>>
>>> what is does (and maybe this is your problem) is that it lists the fonts
>>> by their Latin names,
>>> rather than their names in the language they are used for.
>>>
>>> For the sake of argument, an Arabic font may be listed as "Arabic4"
>>> rather than
>>> a name in Arabic script.
>>>
>>> Richmond.
>>>
>>>

Bravo!



From warren at warrensweb.us  Sat Jul 13 09:22:33 2013
From: warren at warrensweb.us (Warren Samples)
Date: Sat, 13 Jul 2013 08:22:33 -0500
Subject: positioning stacks off screen in Linux
In-Reply-To: <51E101B8.4040702@gmail.com>
References: <51E03641.8010904@warrensweb.us> <51E09CC4.6000700@warrensweb.us>
	<51E101B8.4040702@gmail.com>
Message-ID: <51E15499.5070409@warrensweb.us>

On 07/13/2013 02:28 AM, Richmond wrote:
> and I have a funny feeling that is what you want to happen.
>
> Richmond.


No, hiding the stack is completely different from moving it to a 
location outside the visible display area. For most purposes they serve 
the same practical effect, but not necessarily all. At any rate, this is 
something that should, if possible, behave the same on all platforms in 
order to avoid confusion or unpleasant surprises.

Warren



From richmondmathewson at gmail.com  Sat Jul 13 10:30:41 2013
From: richmondmathewson at gmail.com (Richmond)
Date: Sat, 13 Jul 2013 17:30:41 +0300
Subject: positioning stacks off screen in Linux
In-Reply-To: <51E15499.5070409@warrensweb.us>
References: <51E03641.8010904@warrensweb.us>
	<51E09CC4.6000700@warrensweb.us>	<51E101B8.4040702@gmail.com>
	<51E15499.5070409@warrensweb.us>
Message-ID: <51E16491.5030205@gmail.com>

On 07/13/2013 04:22 PM, Warren Samples wrote:
> On 07/13/2013 02:28 AM, Richmond wrote:
>> and I have a funny feeling that is what you want to happen.
>>
>> Richmond.
>
>
> No, hiding the stack is completely different from moving it to a 
> location outside the visible display area. For most purposes they 
> serve the same practical effect, but not necessarily all. At any rate, 
> this is something that should, if possible, behave the same on all 
> platforms in order to avoid confusion or unpleasant surprises.

One of the best ways " to avoid confusion or unpleasant surprises" is to 
make sure you check your stack on each target platform before you commit 
to a standalone.

>
> Warren
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




From richmondmathewson at gmail.com  Sat Jul 13 10:46:11 2013
From: richmondmathewson at gmail.com (Richmond)
Date: Sat, 13 Jul 2013 17:46:11 +0300
Subject: LC 4.5 script corruption on Linux
Message-ID: <51E16833.5090905@gmail.com>

Today, for the first time, I opened the script of a stack I was working 
on yesterday
and found the script had been corrupted . . .

Livecode 4.5 on UbuntuStudio 13.04

Opening it in LC 6.1 Community I found the corrected version did not 
become corrupted.

As someone who, at present, does not have the money for the commercial 
version of LC 6.1 and depends
on 4.5 this is a large problem.

Richmond.



From MikeKerner at roadrunner.com  Sat Jul 13 11:21:55 2013
From: MikeKerner at roadrunner.com (Mike Kerner)
Date: Sat, 13 Jul 2013 11:21:55 -0400
Subject: =?windows-1252?Q?Re=3A_Sockets_on_mobile=85at_last=21?=
In-Reply-To: 
References: 
	<6B2A65AD-6BD1-4CAA-97CF-F7F4EBA045C2@sweattechnologies.com>
	
	<79651CB3-77C1-42E6-86F0-48BBC1AAC2A2@sweattechnologies.com>
	<6CC01095-7E26-40DA-A1BD-E954A194D011@swcp.com>
	
Message-ID: 

I read about it on one of the lists, which is how I got involved in funding
it.


On Fri, Jul 12, 2013 at 9:15 PM, Monte Goulding  wrote:

>
> On 13/07/2013, at 11:04 AM, Dar Scott  wrote:
>
> > I searched for mergSocket on the list and found only the recent
> mentions.  Maybe people didn't hear about it.
>
> There were posts about it... perhaps not mentioning mergSocket
> specifically... just mobile socket external. The Kickstarter campaign came
> along so I went quite about my little project so I didn't distract anyone.
> From here forward the simplest thing is to fix sockets in the engine. It's
> not a huge job which I've done some of but at the moment I'm lacking two
> things to get the job completed: time, motivation. Somebody else might have
> more of both... somebody might want to motivate me to find the time... but
> at the moment client work and android externals is top priority.
>
> --
> 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
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."


From ambassador at fourthworld.com  Sat Jul 13 11:53:59 2013
From: ambassador at fourthworld.com (Richard Gaskin)
Date: Sat, 13 Jul 2013 08:53:59 -0700
Subject: positioning stacks off screen in Linux
In-Reply-To: <51E15499.5070409@warrensweb.us>
References: <51E15499.5070409@warrensweb.us>
Message-ID: <51E17817.1080905@fourthworld.com>

Warren Samples wrote:
> No, hiding the stack is completely different from moving it to a
> location outside the visible display area. For most purposes they serve
> the same practical effect, but not necessarily all. At any rate, this is
> something that should, if possible, behave the same on all platforms in
> order to avoid confusion or unpleasant surprises.

I agree that it should ideally be fixed, provided the GTK APIs allow for 
it (I've been surprised to find some of the things we take for granted 
on other platforms that are just completely absent from GTK, like being 
able to set the windowBoundingRect).

But in the meantime, to keep your project moving forward, it can be 
helpful to explore other options to get the same result.

What's happening in your setup that makes hiding the stack impractical?

--
  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 userev at canelasoftware.com  Sat Jul 13 11:57:03 2013
From: userev at canelasoftware.com (Mark Talluto)
Date: Sat, 13 Jul 2013 08:57:03 -0700
Subject: =?windows-1252?Q?Re=3A_Sockets_on_mobile=85at_last!?=
In-Reply-To: 
References: 
	<6B2A65AD-6BD1-4CAA-97CF-F7F4EBA045C2@sweattechnologies.com>
	
	<79651CB3-77C1-42E6-86F0-48BBC1AAC2A2@sweattechnologies.com>
	<6CC01095-7E26-40DA-A1BD-E954A194D011@swcp.com>
	
	
Message-ID: <5ADE59F5-DC3C-4AA5-BE3F-0EC695E9A98E@canelasoftware.com>


> On Fri, Jul 12, 2013 at 9:15 PM, Monte Goulding > wrote:
> 
>> 
>> On 13/07/2013, at 11:04 AM, Dar Scott  wrote:
>> 
>>> I searched for mergSocket on the list and found only the recent
>> mentions.  Maybe people didn't hear about it.
>> 
>> There were posts about it... perhaps not mentioning mergSocket
>> specifically... just mobile socket external. The Kickstarter campaign came
>> along so I went quite about my little project so I didn't distract anyone.
>> From here forward the simplest thing is to fix sockets in the engine. It's
>> not a huge job which I've done some of but at the moment I'm lacking two
>> things to get the job completed: time, motivation. Somebody else might have
>> more of both... somebody might want to motivate me to find the time... but
>> at the moment client work and android externals is top priority.

What problems are you correcting regarding sockets for desktops?


Best regards,

Mark Talluto
canelasoftware.com









From warren at warrensweb.us  Sat Jul 13 13:31:41 2013
From: warren at warrensweb.us (Warren Samples)
Date: Sat, 13 Jul 2013 12:31:41 -0500
Subject: positioning stacks off screen in Linux
In-Reply-To: <51E17817.1080905@fourthworld.com>
References: <51E15499.5070409@warrensweb.us> <51E17817.1080905@fourthworld.com>
Message-ID: <51E18EFD.3040808@warrensweb.us>

On 07/13/2013 10:53 AM, Richard Gaskin wrote:
> But in the meantime, to keep your project moving forward, it can be
> helpful to explore other options to get the same result.
>
> What's happening in your setup that makes hiding the stack impractical?


I am curious about the possibility of scrolling or sliding multiple 
windows as a fixed layout which is wider than the available screen. Of 
course hiding and showing windows is an option, but that's a different 
concept which isn't necessarily ideal. It might prove an interesting 
option on smaller displays.

Warren



From mark.rauterkus at gmail.com  Sat Jul 13 13:37:41 2013
From: mark.rauterkus at gmail.com (Mark Rauterkus)
Date: Sat, 13 Jul 2013 13:37:41 -0400
Subject: Is there any issue with a file and directory set up that includes a
	space?
Message-ID: 

Hi,

Should I use a space in directory names on the web? Or, is it better to
always do an underline?

I've got user, "Donald Duck." I've got a LC card called "Donald Duck" too.
There are files on the web called
/2013/Donald_Duck/attendance.txt

or, could it be
/2013/Donald Duck/attendance.txt


The space comes in as "%20" between first name and last name just fine so
far. But, will this break on any platform?

Could go either way.

Thanks.



--
Ta.


Mark Rauterkus       Mark.Rauterkus at gmail.com
PPS Summer Dreamers' Swim and Water Polo Camp Head Coach
Pittsburgh Combined Water Polo Team

http://Rauterkus.blogspot.com
http://FixPA.wikia.com
http://CLOH.wikia.com
412 298 3432 = cell


From dochawk at gmail.com  Sat Jul 13 13:53:38 2013
From: dochawk at gmail.com (Dr. Hawkins)
Date: Sat, 13 Jul 2013 10:53:38 -0700
Subject: Is there any issue with a file and directory set up that includes
	a space?
In-Reply-To: 
References: 
Message-ID: 

On Sat, Jul 13, 2013 at 10:37 AM, Mark Rauterkus
 wrote:
>
> The space comes in as "%20" between first name and last name just fine so
> far. But, will this break on any platform?

After years of dealing with multiple platforms, I've decided that the
rule for spaces & punctuation in filenames is:  "Don't.  Ever."

I allow letters, numbers, periods, and underscores.

It's just asking for trouble to allow anything that has meaning under
some contexts and not others.

-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462



From jacque at hyperactivesw.com  Sat Jul 13 13:54:02 2013
From: jacque at hyperactivesw.com (J. Landman Gay)
Date: Sat, 13 Jul 2013 12:54:02 -0500
Subject: Chained Behaviors
In-Reply-To: 
References: 
	<51E04CC1.5030204@hyperactivesw.com>
	
	<9FD1C69D-88B8-459B-B10A-94D5A5135698@sweattechnologies.com>
	<123170501960.20130712155247@ahsoftware.net>
	<357FCB12-C6C5-4FFC-B4E7-7A787FB8CF77@sweattechnologies.com>
	<51E0A15F.2050302@hyperactivesw.com>
	
Message-ID: <51E1943A.6090908@hyperactivesw.com>

On 7/12/13 7:57 PM, Monte Goulding wrote:
>
> On 13/07/2013, at 10:37 AM, "J. Landman Gay"
>  wrote:
>
>> For which I am very grateful. Mark has an expansive vision and
>> solid knowledge of both the language and the people who use it, and
>> so far, I think everything he's decided has been spot-on. I trust
>> him to make the right decisions.
>
> I wasn't being critical of it I was just stating a fact.

I know, sorry, I should have worded it better. I was just trying to 
express my admiration for him, I think he's incredible.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



From jacque at hyperactivesw.com  Sat Jul 13 13:56:33 2013
From: jacque at hyperactivesw.com (J. Landman Gay)
Date: Sat, 13 Jul 2013 12:56:33 -0500
Subject: Chained Behaviors
In-Reply-To: <4F8B7073-E050-464B-9EE0-D0C0142E582D@gmail.com>
References: 
	<51E04CC1.5030204@hyperactivesw.com>
	
	<51E0679E.9010700@hyperactivesw.com>
	<4F8B7073-E050-464B-9EE0-D0C0142E582D@gmail.com>
Message-ID: <51E194D1.4030805@hyperactivesw.com>

On 7/13/13 1:11 AM, Geoff Canyon wrote:
> Can you share this 200-line handler?

No, they'd sue me. But if you can say why you're interested, I could 
probably describe it in generic terms. It isn't actually a single 
mouseUp, that was just the quickest way to describe it. It's actually a 
mouseUp that calls several other handlers in the behavior script. The 
behaviors are complex.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



From mwieder at ahsoftware.net  Sat Jul 13 14:07:24 2013
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Sat, 13 Jul 2013 11:07:24 -0700
Subject: Is there any issue with a file and directory set up that includes
	a space?
In-Reply-To: 
References: 
	
Message-ID: <2367061.20130713110724@ahsoftware.net>

Yep-

Saturday, July 13, 2013, 10:53:38 AM, you wrote:

> After years of dealing with multiple platforms, I've decided that the
> rule for spaces & punctuation in filenames is:  "Don't.  Ever."

Having been bitten by this more times than several, I concur. But you
can't always count on users to follow this rule. So I'd expand that to
"don't ever do it yourself, but code defensively because there are
idiots out there driving on the information highway".

-- 
-Mark Wieder
 mwieder at ahsoftware.net




From monte at sweattechnologies.com  Sat Jul 13 17:53:48 2013
From: monte at sweattechnologies.com (Monte Goulding)
Date: Sun, 14 Jul 2013 07:53:48 +1000
Subject: =?windows-1252?Q?Re=3A_Sockets_on_mobile=85at_last!?=
In-Reply-To: <5ADE59F5-DC3C-4AA5-BE3F-0EC695E9A98E@canelasoftware.com>
References: 
	<6B2A65AD-6BD1-4CAA-97CF-F7F4EBA045C2@sweattechnologies.com>
	
	<79651CB3-77C1-42E6-86F0-48BBC1AAC2A2@sweattechnologies.com>
	<6CC01095-7E26-40DA-A1BD-E954A194D011@swcp.com>
	
	
	<5ADE59F5-DC3C-4AA5-BE3F-0EC695E9A98E@canelasoftware.com>
Message-ID: <19977985-BEC0-4075-8912-F9FB90A2C307@sweattechnologies.com>


On 14/07/2013, at 1:57 AM, Mark Talluto  wrote:

> What problems are you correcting regarding sockets for desktops?

None, I was talking about getting the sockets implementation in the engine to work on iOS and android. 

--
Monte Goulding

M E R Goulding - software development services
mergExt - There's an external for that!







From dochawk at gmail.com  Sat Jul 13 20:34:28 2013
From: dochawk at gmail.com (Dr. Hawkins)
Date: Sat, 13 Jul 2013 17:34:28 -0700
Subject: excluding fields from tab-advancement
Message-ID: 

I have some fields (e.g., totals that might need to be overridden for
reasons beyond my comprehension) that I want users to be able to click
into, but be excluded as the user tabs along in the "normal" fields.

I'm not seeing a clean way to do this.

I could intercept tabs, perhaps?  Catch mouseUp and select the field
text (do I need to set it focusable before this?)

It seems that there should be a basic property that covers this.  In
fact, I thought that there was one.

-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462



From dunbarx at aol.com  Sat Jul 13 23:44:46 2013
From: dunbarx at aol.com (dunbarx at aol.com)
Date: Sat, 13 Jul 2013 23:44:46 -0400 (EDT)
Subject: excluding fields from tab-advancement
In-Reply-To: 
References: 
Message-ID: <8D04E5B9E1EE83A-F74-8B005@webmail-d127.sysops.aol.com>

Hi.


The easiest way is to make the field non focusable. You can do this in the inspector or by script.


Craig Newman



-----Original Message-----
From: Dr. Hawkins 
To: How to use LiveCode 
Sent: Sat, Jul 13, 2013 8:35 pm
Subject: excluding fields from tab-advancement


I have some fields (e.g., totals that might need to be overridden for
reasons beyond my comprehension) that I want users to be able to click
into, but be excluded as the user tabs along in the "normal" fields.

I'm not seeing a clean way to do this.

I could intercept tabs, perhaps?  Catch mouseUp and select the field
text (do I need to set it focusable before this?)

It seems that there should be a basic property that covers this.  In
fact, I thought that there was one.

-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462

_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 


From rdimola at evergreeninfo.net  Sun Jul 14 01:56:57 2013
From: rdimola at evergreeninfo.net (Ralph DiMola)
Date: Sun, 14 Jul 2013 01:56:57 -0400
Subject: Is there any issue with a file and directory set up that
	includes	a space=?UTF-8?B?Pw==?=
In-Reply-To: <2367061.20130713110724@ahsoftware.net>
References: 	
	<2367061.20130713110724@ahsoftware.net>
Message-ID: 

I tell everyone not to use spaces or special characters. But allas  
cyberspace won. Even MS eliminated spaces in system folders.

Case sensitive file names also burn my a##. It's an accident waiting to  
happen. In my humble opinion case sensitive file names is one of those  
"Looks good on paper" type of things.

Ralph DiMola
MIS Director 
Evergreen Information Services
rdimola at evergreeninfo.net

-----Original message-----
From: Mark Wieder 
To: How to use LiveCode 
Sent: Sat, Jul 13, 2013 18:07:24 GMT+00:00
Subject: Re: Is there any issue with a file and directory set up that  
includes	a space?

Yep-

Saturday, July 13, 2013, 10:53:38 AM, you wrote:

> After years of dealing with multiple platforms, I've decided that the
> rule for spaces & punctuation in filenames is:  "Don't.  Ever."

Having been bitten by this more times than several, I concur. But you
can't always count on users to follow this rule. So I'd expand that to
"don't ever do it yourself, but code defensively because there are
idiots out there driving on the information highway".

-- 
-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 admin at FlexibleLearning.com  Sun Jul 14 06:33:56 2013
From: admin at FlexibleLearning.com (FlexibleLearning.com)
Date: Sun, 14 Jul 2013 11:33:56 +0100
Subject: LC 4.5 script corruption on Linux
In-Reply-To: 
Message-ID: 

Richmond,

The stackFileVersion changed in v6, so trying to open it in 4.5 would report
a corruption.

Is this what may have happened?

Hugh Senior
FLCo



Richmond wrote:

Today, for the first time, I opened the script of a stack I was working
on yesterday
and found the script had been corrupted . . .

Livecode 4.5 on UbuntuStudio 13.04

Opening it in LC 6.1 Community I found the corrected version did not
become corrupted.

As someone who, at present, does not have the money for the commercial
version of LC 6.1 and depends
on 4.5 this is a large problem.

Richmond.




From MikeKerner at roadrunner.com  Sun Jul 14 08:11:06 2013
From: MikeKerner at roadrunner.com (Mike Kerner)
Date: Sun, 14 Jul 2013 08:11:06 -0400
Subject: Learning Pack
In-Reply-To: <51E125F6.1020003@gmail.com>
References: <51E108EF.20407@gmail.com>
	<6B6A7018-1186-4E1B-ADD3-6AF94CE015F0@gmail.com>
	<51E125F6.1020003@gmail.com>
Message-ID: 

It's just the "a bit" I would have issue with.  No qualifier necessary,
buddy!


On Sat, Jul 13, 2013 at 6:03 AM, Richmond wrote:

> On 07/13/2013 11:52 AM, Peter W A Wood wrote:
>
>> Richmond
>>
>> On 13 Jul 2013, at 15:59, Richmond wrote:
>>
>>  Now what I cannot understand is how the teacher will benefit from having
>>> the
>>> commercial edition, especially when the kids are using the community one.
>>>
>> It couldn't be anything to do with the kids developing IOS apps and then
>> the teacher being able to load them on their pupils machines could it?
>>
>> Regards
>>
>> Peter
>> ______________________________**_________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/**mailman/listinfo/use-livecode
>>
>
> Does that mean that the Community edition cannot hive off IOS standalones?
>
> Oddly enough the Community edition standalone settings stack says this:
>
> "Apple does not allow GPL apps to be submitted to the App Store"
>
> and blocks users from hiving of IOS standalones - which is odd as I might
> want to
> make an IOS standalone to load directly (i.e. not via the App Store) onto
> a number of devices.
>
> Does that mean that RunRev are restricting the freedom of Open Source
> Software because of
> the dictates of a company that is, arguably, the king of restrictive
> practices?
>
> ----------------
>
> I don't quite understand why end-users should be prevented from making IOS
> standalones just because the App Store says "No!"
>
> Probably it is time to hack the standalone builder so that that is
> possible.
>
> Richmond.
>
>
> ______________________________**_________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/**mailman/listinfo/use-livecode
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."


From m.schonewille at economy-x-talk.com  Sun Jul 14 08:31:19 2013
From: m.schonewille at economy-x-talk.com (Mark Schonewille)
Date: Sun, 14 Jul 2013 14:31:19 +0200
Subject: Is there any issue with a file and directory set up that includes
	a space?
In-Reply-To: 
References: 
Message-ID: <51E29A17.6040800@economy-x-talk.com>

Hi Mark,

Sometimes, people might have special characters in their names, such as 
Ni?a Mendo?a. In such cases you'll have to deal with diacritics and then 
you might as well make sure to deal with spaces correctly. Otherwise, 
people will wonder why your system can't cope with perfectly normal 
non-English names.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other 
colour spaces. http://www.color-converter.com

Buy my new book "Programming LiveCode for the Real Beginner" 
http://qery.us/3fi

Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 7/13/2013 19:37, Mark Rauterkus wrote:
> Hi,
>
> Should I use a space in directory names on the web? Or, is it better to
> always do an underline?
>
> I've got user, "Donald Duck." I've got a LC card called "Donald Duck" too.
> There are files on the web called
> /2013/Donald_Duck/attendance.txt
>
> or, could it be
> /2013/Donald Duck/attendance.txt
>
>
> The space comes in as "%20" between first name and last name just fine so
> far. But, will this break on any platform?
>
> Could go either way.
>
> Thanks.
>
>
>
> --
> Ta.
>



From ambassador at fourthworld.com  Sun Jul 14 10:45:49 2013
From: ambassador at fourthworld.com (Richard Gaskin)
Date: Sun, 14 Jul 2013 07:45:49 -0700
Subject: Is there any issue with a file and directory set up that includes
	a space?
In-Reply-To: 
References: 
Message-ID: <51E2B99D.5010508@fourthworld.com>

Ralph DiMola wrote:

> Case sensitive file names also burn my a##. It's an accident waiting to
> happen. In my humble opinion case sensitive file names is one of those
> "Looks good on paper" type of things.

When I first started using Linux, getting used to case-sensitive file 
systems was very annoying.

But over time I got used to it, and the more I work with servers (where 
Linux dominates as much as Microsoft does on the desktop) I began to 
appreciate the efficiencies of case sensitivity.

Consider what a file system needs to do so be case-insensitive:  for 
every path being referenced a conversion needs to be done, since of 
course the binary representations of "MyFile.txt", "myFile.txt", 
"myFILE.TXT", and "myfile.txt" are all very different.

On end-user systems the extra clock cycles don't matter much, but with 
servers - and in particular CGIs, since they're born, live, and die 
within the sort span of satisfying an HTTP request - shaving even a few 
clock cycles adds up.

So yes, it's definitely annoying when you're accustomed to file systems 
that do the extra work.

But maybe it helps to just keep in mind that on a server, saving a few 
clock cycles can mean accommodating more visitors before you need to 
consider other scaling options.

And like any other learning process, the more time you spend doing 
server work the more it becomes second nature to consider case 
sensitivity.  For long-time Mac users like me this can take a while, but 
it happens eventually.

One habit many admins have adopted to help is to just always use 
lower-case wherever practical.  It's easier to type, and if done 
consistently requires no memorizing of how you capitalized.

--
  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 keith.clarke at clarkeandclarke.co.uk  Sun Jul 14 11:00:24 2013
From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke)
Date: Sun, 14 Jul 2013 16:00:24 +0100
Subject: Finding list items within a table field
Message-ID: 

Hi folks,
I've posted this question to Stack Overflow - http://stackoverflow.com/questions/17639968/livecode-find-list-items-within-a-table-field - but it seems very quiet over there on LiveCode matters, so apologies for t the cross-posting.

I'm trying to use LiveCode to clean up some contact data. I have two lists:
	SourceList: a list of tab-delimited contact records in a LiveCode table field;
	FlagList: a list of strings, such as 'test' that I want to check for within the SourceList.
Ideally, I want to highlight 'hits' in both the FlagList rows and the matching characters in the items in the rows of the SourceList, but I'm struggling with errors on my first pass. 

On loading the SourceList from file, I'm trying to set the colour of any FlagList field rows that are found in the SourceList.

Here's the script on the 'Load SourceList' button...

on mouseUp
   answer file "Select text file to Clean" with type "txt"
   if it <> "" then
      put empty into field "SourceList"
      put it into field "SourceFile"
      put it into theFilePath
      put URL ("file:" & theFilePath) into field "SourceList"
      
  repeat for each line f in field "FlagList"

     repeat for each line l in field "SourceList"

        repeat for each item i in l
            if i contains f then set the foregroundColor of f to "red"
        end repeat

     end repeat

  end repeat
      
   else     
      --no file was selected, or cancel was pressed
      beep
      end if
end mouseUp

I think I'm making a basic error, so grateful for any guidance. 
Best, 
Keith..

From m.schonewille at economy-x-talk.com  Sun Jul 14 11:03:11 2013
From: m.schonewille at economy-x-talk.com (Mark Schonewille)
Date: Sun, 14 Jul 2013 17:03:11 +0200
Subject: Finding list items within a table field
In-Reply-To: 
References: 
Message-ID: <80C142F0-3FEF-45B6-B683-57E0FEF82E97@economy-x-talk.com>

I answered your question on Stackoverflow.

--
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 jul 2013, at 17:00, Keith Clarke wrote:

> Hi folks,
> I've posted this question to Stack Overflow - http://stackoverflow.com/questions/17639968/livecode-find-list-items-within-a-table-field - but it seems very quiet over there on LiveCode matters, so apologies for t the cross-posting.
> 
> I'm trying to use LiveCode to clean up some contact data. I have two lists:
> 	SourceList: a list of tab-delimited contact records in a LiveCode table field;
> 	FlagList: a list of strings, such as 'test' that I want to check for within the SourceList.
> Ideally, I want to highlight 'hits' in both the FlagList rows and the matching characters in the items in the rows of the SourceList, but I'm struggling with errors on my first pass. 
> 
> On loading the SourceList from file, I'm trying to set the colour of any FlagList field rows that are found in the SourceList.
> 
> Here's the script on the 'Load SourceList' button...
> 
> on mouseUp
>   answer file "Select text file to Clean" with type "txt"
>   if it <> "" then
>      put empty into field "SourceList"
>      put it into field "SourceFile"
>      put it into theFilePath
>      put URL ("file:" & theFilePath) into field "SourceList"
> 
>  repeat for each line f in field "FlagList"
> 
>     repeat for each line l in field "SourceList"
> 
>        repeat for each item i in l
>            if i contains f then set the foregroundColor of f to "red"
>        end repeat
> 
>     end repeat
> 
>  end repeat
> 
>   else     
>      --no file was selected, or cancel was pressed
>      beep
>      end if
> end mouseUp
> 
> I think I'm making a basic error, so grateful for any guidance. 
> Best, 
> Keith..
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




From keith.clarke at clarkeandclarke.co.uk  Sun Jul 14 11:09:47 2013
From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke)
Date: Sun, 14 Jul 2013 16:09:47 +0100
Subject: Finding list items within a table field
In-Reply-To: <80C142F0-3FEF-45B6-B683-57E0FEF82E97@economy-x-talk.com>
References: 
	<80C142F0-3FEF-45B6-B683-57E0FEF82E97@economy-x-talk.com>
Message-ID: <0573732E-6CEE-4BBC-BCEB-CC3652DF2517@clarkeandclarke.co.uk>

?thanks Mark - and sorry all for my impatience (I was hoping to get this housekeeping done before the end of a rare sunny Sunday in the UK)!  :-/
Best,
Keith..
 
On 14 Jul 2013, at 16:03, Mark Schonewille  wrote:

> I answered your question on Stackoverflow.
> 
> --
> 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 m.schonewille at economy-x-talk.com  Sun Jul 14 11:13:42 2013
From: m.schonewille at economy-x-talk.com (Mark Schonewille)
Date: Sun, 14 Jul 2013 17:13:42 +0200
Subject: Finding list items within a table field
In-Reply-To: <0573732E-6CEE-4BBC-BCEB-CC3652DF2517@clarkeandclarke.co.uk>
References: 
	<80C142F0-3FEF-45B6-B683-57E0FEF82E97@economy-x-talk.com>
	<0573732E-6CEE-4BBC-BCEB-CC3652DF2517@clarkeandclarke.co.uk>
Message-ID: <51E2C026.5030109@economy-x-talk.com>

Make sure to "accept" the answer. Enjoy your Sunnyday, Keith.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other 
colour spaces. http://www.color-converter.com

Buy my new book "Programming LiveCode for the Real Beginner" 
http://qery.us/3fi

Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 7/14/2013 17:09, Keith Clarke wrote:
> ?thanks Mark - and sorry all for my impatience (I was hoping to get this housekeeping done before the end of a rare sunny Sunday in the UK)!  :-/
> Best,
> Keith..
>



From dochawk at gmail.com  Sun Jul 14 11:22:04 2013
From: dochawk at gmail.com (Dr. Hawkins)
Date: Sun, 14 Jul 2013 08:22:04 -0700
Subject: excluding fields from tab-advancement
In-Reply-To: <8D04E5B9E1EE83A-F74-8B005@webmail-d127.sysops.aol.com>
References: 
	<8D04E5B9E1EE83A-F74-8B005@webmail-d127.sysops.aol.com>
Message-ID: 

On Sat, Jul 13, 2013 at 8:44 PM,   wrote:
> The easiest way is to make the field non focusable. You can do this in the inspector or by script.

But then the user can't click in, can he?

Actually entering one of these to enter a value will be a rare event,
but I do want it to be possible.


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462



From dochawk at gmail.com  Sun Jul 14 11:24:23 2013
From: dochawk at gmail.com (Dr. Hawkins)
Date: Sun, 14 Jul 2013 08:24:23 -0700
Subject: Is there any issue with a file and directory set up that includes
	a space?
In-Reply-To: <51E29A17.6040800@economy-x-talk.com>
References: 
	<51E29A17.6040800@economy-x-talk.com>
Message-ID: 

On Sun, Jul 14, 2013 at 5:31 AM, Mark Schonewille
 wrote:
> Sometimes, people might have special characters in their names, such as Ni?a
> Mendo?a. In such cases you'll have to deal with diacritics and then you
> might as well make sure to deal with spaces correctly. Otherwise, people
> will wonder why your system can't cope with perfectly normal non-English
> names.

That's different.  AFAIK, noone has ever made a diacritic a character
of significance, while a space has meany meanings, in filenames ,
command lines, and grammar.


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462



From m.schonewille at economy-x-talk.com  Sun Jul 14 11:34:15 2013
From: m.schonewille at economy-x-talk.com (Mark Schonewille)
Date: Sun, 14 Jul 2013 17:34:15 +0200
Subject: Is there any issue with a file and directory set up that includes
	a space?
In-Reply-To: 
References: 
	<51E29A17.6040800@economy-x-talk.com>
	
Message-ID: 

Richard,

Exactly that would be all the more reason to make sure that your software can cope with spaces :-)

--
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.

That's different.  AFAIK, noone has ever made a diacritic a character
> of significance, while a space has meany meanings, in filenames ,
> command lines, and grammar.




From paulhibbert at mac.com  Sun Jul 14 11:45:39 2013
From: paulhibbert at mac.com (Paul Hibbert)
Date: Sun, 14 Jul 2013 08:45:39 -0700
Subject: excluding fields from tab-advancement
In-Reply-To: 
References: 
	<8D04E5B9E1EE83A-F74-8B005@webmail-d127.sysops.aol.com>
	
Message-ID: <15EEF17A-A738-41D0-A181-8EEECA0E0078@mac.com>

Then you could make the "non focusable" field "temporarily focusable" just to allow data entry, it worked OK for my test?

==

on mouseDown
   set the traversalOn of me to true
   focus on me
end mouseDown

on closeField
   set the traversalOn of me to false
end closeField

on exitField
   closeField
end exitField

on focusOut
   closeField
end focusOut

==

Paul


On 2013-07-14, at 8:22 AM, Dr. Hawkins wrote:

> On Sat, Jul 13, 2013 at 8:44 PM,   wrote:
>> The easiest way is to make the field non focusable. You can do this in the inspector or by script.
> 
> But then the user can't click in, can he?
> 
> Actually entering one of these to enter a value will be a rare event,
> but I do want it to be 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 Jul 14 12:29:42 2013
From: richmondmathewson at gmail.com (Richmond)
Date: Sun, 14 Jul 2013 19:29:42 +0300
Subject: LC 4.5 script corruption on Linux
In-Reply-To: 
References: 
Message-ID: <51E2D1F6.1030000@gmail.com>

On 07/14/2013 01:33 PM, FlexibleLearning.com wrote:
> Richmond,
>
> The stackFileVersion changed in v6, so trying to open it in 4.5 would report
> a corruption.
>
> Is this what may have happened?

No, nothing of the sort.

I saved a script in LC 4.5 and then closed Livecode.

Opening the stack 30 minutes later the script was corrupted.

>
> Hugh Senior
> FLCo
>
>
>
> Richmond wrote:
>
> Today, for the first time, I opened the script of a stack I was working
> on yesterday
> and found the script had been corrupted . . .
>
> Livecode 4.5 on UbuntuStudio 13.04
>
> Opening it in LC 6.1 Community I found the corrected version did not
> become corrupted.
>
> As someone who, at present, does not have the money for the commercial
> version of LC 6.1 and depends
> on 4.5 this is a large problem.
>
> Richmond.
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




From dunbarx at aol.com  Sun Jul 14 13:22:26 2013
From: dunbarx at aol.com (dunbarx at aol.com)
Date: Sun, 14 Jul 2013 13:22:26 -0400 (EDT)
Subject: excluding fields from tab-advancement
In-Reply-To: <15EEF17A-A738-41D0-A181-8EEECA0E0078@mac.com>
References: 
	<8D04E5B9E1EE83A-F74-8B005@webmail-d127.sysops.aol.com>
	
	<15EEF17A-A738-41D0-A181-8EEECA0E0078@mac.com>
Message-ID: <8D04ECDD84A90A5-1758-8DB13@webmail-d101.sysops.aol.com>

What Paul said.


Another way, and much klunkier, is to monitor the field that next receives the command to "open", maybe in the card script?


on openField
  if the short name of the target is "theFieldYouWantToBypass" then
  focus on fld "NextFieldInTheTabOrder"
end openField


or


The games you can play with LC are endless. I tried to make a klunky handler using field numbers, but this became tricky, so I stopped. The trick is to have fun, play with the options, oh, and maybe get some work done.


Craig


-----Original Message-----
From: Paul Hibbert 
To: How to use LiveCode 
Sent: Sun, Jul 14, 2013 11:46 am
Subject: Re: excluding fields from tab-advancement


Then you could make the "non focusable" field "temporarily focusable" just to 
allow data entry, it worked OK for my test?

==

on mouseDown
   set the traversalOn of me to true
   focus on me
end mouseDown

on closeField
   set the traversalOn of me to false
end closeField

on exitField
   closeField
end exitField

on focusOut
   closeField
end focusOut

==

Paul


On 2013-07-14, at 8:22 AM, Dr. Hawkins wrote:

> On Sat, Jul 13, 2013 at 8:44 PM,   wrote:
>> The easiest way is to make the field non focusable. You can do this in the 
inspector or by script.
> 
> But then the user can't click in, can he?
> 
> Actually entering one of these to enter a value will be a rare event,
> but I do want it to be 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


_______________________________________________
use-livecode mailing list
use-livecode at 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.rauterkus at gmail.com  Sun Jul 14 13:36:01 2013
From: mark.rauterkus at gmail.com (Mark Rauterkus)
Date: Sun, 14 Jul 2013 13:36:01 -0400
Subject: Buttons all in the same background
Message-ID: 

Hi,

I have 3 buttons that I had hoped were all in the same background group so
that when the script was changed on one card they'd be changed in all the
other LC cards.

Not so.

Now what? I have 20 cards.

Buttons Show Attendance, Show Performances and Show Health should all be in
the same location and with the same scripts with the entire stack of cards.

What is the script to "unify" these elements?

Thanks.


--
Ta.


Mark Rauterkus       Mark.Rauterkus at gmail.com
PPS Summer Dreamers' Swim and Water Polo Camp Head Coach
Pittsburgh Combined Water Polo Team

http://Rauterkus.blogspot.com
http://FixPA.wikia.com
http://CLOH.wikia.com
412 298 3432 = cell


From andrew at ctech.me  Sun Jul 14 13:50:08 2013
From: andrew at ctech.me (Andrew Kluthe)
Date: Sun, 14 Jul 2013 12:50:08 -0500
Subject: Buttons all in the same background
In-Reply-To: 
References: 
Message-ID: 

Make sure you use "Place Object" instead of just copying the group.


On Sun, Jul 14, 2013 at 12:36 PM, Mark Rauterkus
wrote:

> Hi,
>
> I have 3 buttons that I had hoped were all in the same background group so
> that when the script was changed on one card they'd be changed in all the
> other LC cards.
>
> Not so.
>
> Now what? I have 20 cards.
>
> Buttons Show Attendance, Show Performances and Show Health should all be in
> the same location and with the same scripts with the entire stack of cards.
>
> What is the script to "unify" these elements?
>
> Thanks.
>
>
> --
> Ta.
>
>
> Mark Rauterkus       Mark.Rauterkus at gmail.com
> PPS Summer Dreamers' Swim and Water Polo Camp Head Coach
> Pittsburgh Combined Water Polo Team
>
> http://Rauterkus.blogspot.com
> http://FixPA.wikia.com
> http://CLOH.wikia.com
> 412 298 3432 = cell
> _______________________________________________
> use-livecode mailing list
> use-livecode 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 andre.bisseret at wanadoo.fr  Sun Jul 14 14:44:18 2013
From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=)
Date: Sun, 14 Jul 2013 20:44:18 +0200
Subject: =?windows-1252?Q?=22=E9=22_on_Mac_becomes_=22=8E=22_on_Windows__?=
Message-ID: <6663F3C8-20F3-4735-809B-B8CD9D2160CB@wanadoo.fr>

Bonjour,

In an app, I just finish to build on Mac (at least I was hoping so!) I have fields (lockText false) where special characters (in fact #) have an imageSource.
(a small image showing the 3 letters "Doc" 

The images used to set the imageSource of # are invisible. Each one has a custom property (the "docName") which contains the name of a specific document. 

When double clicking on such a character (on selectionChanged) the filename of this document is built and the document is launched.

On Mac that's working very well.
But I have also to build a standalone for Windows.

On Windows, the documents are not launched.
I just discovered that, if there is an accented character in the contents of the custom property it is replaced with another bizarre one ;-(( 
for example instead of "?" I find "?" 
so that, of course, the document can't be found and launched!

Any idea how I could get rid of this?

Thanks a lot in advance for any advice and help

Best regards
Andr?


From MikeKerner at roadrunner.com  Sun Jul 14 14:46:41 2013
From: MikeKerner at roadrunner.com (Mike Kerner)
Date: Sun, 14 Jul 2013 14:46:41 -0400
Subject: LC 20% CPU When Idle?
Message-ID: 

LC has been sitting here doing....something for several hours, taking 20%
of my CPU.  The stack I have open does not have any scripts that appear to
be running, the Message Watcher isn't showing anything, so I'm confused.

If I create a new stack, LC goes to nothing.  Adding the same substacks
that this stack does does not jack up the CPU usage.

Any other ideas on how to figure out what is going on?

-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."


From ambassador at fourthworld.com  Sun Jul 14 14:56:48 2013
From: ambassador at fourthworld.com (Richard Gaskin)
Date: Sun, 14 Jul 2013 11:56:48 -0700
Subject: LC 20% CPU When Idle?
In-Reply-To: 
References: 
Message-ID: <51E2F470.5030207@fourthworld.com>

Mike Kerner wrote:
> LC has been sitting here doing....something for several hours, taking 20%
> of my CPU.  The stack I have open does not have any scripts that appear to
> be running, the Message Watcher isn't showing anything, so I'm confused.
>
> If I create a new stack, LC goes to nothing.  Adding the same substacks
> that this stack does does not jack up the CPU usage.
>
> Any other ideas on how to figure out what is going on?

I'd guess you're running on a Mac and at least one of the stacks has a 
pulsing default button, yes?

--
  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 Jul 14 14:59:57 2013
From: m.schonewille at economy-x-talk.com (Mark Schonewille)
Date: Sun, 14 Jul 2013 20:59:57 +0200
Subject: =?windows-1252?Q?=22=E9=22_on_Mac_becomes_=22=8E=22_?=
	=?windows-1252?Q?on_Windows?=
In-Reply-To: <6663F3C8-20F3-4735-809B-B8CD9D2160CB@wanadoo.fr>
References: <6663F3C8-20F3-4735-809B-B8CD9D2160CB@wanadoo.fr>
Message-ID: <51E2F52D.1040207@economy-x-talk.com>

Hi Andr?,

Convert your custom property with the MacToIso function before 
displaying the text (only in Windows of course).

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other 
colour spaces. http://www.color-converter.com

Buy my new book "Programming LiveCode for the Real Beginner" 
http://qery.us/3fi

Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 7/14/2013 20:44, Andr? Bisseret wrote:
> Bonjour,
>
> In an app, I just finish to build on Mac (at least I was hoping so!) I have fields (lockText false) where special characters (in fact #) have an imageSource.
> (a small image showing the 3 letters "Doc"
>
> The images used to set the imageSource of # are invisible. Each one has a custom property (the "docName") which contains the name of a specific document.
>
> When double clicking on such a character (on selectionChanged) the filename of this document is built and the document is launched.
>
> On Mac that's working very well.
> But I have also to build a standalone for Windows.
>
> On Windows, the documents are not launched.
> I just discovered that, if there is an accented character in the contents of the custom property it is replaced with another bizarre one ;-((
> for example instead of "?" I find "?"
> so that, of course, the document can't be found and launched!
>
> Any idea how I could get rid of this?
>
> Thanks a lot in advance for any advice and help
>
> Best regards
> 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 dsc at swcp.com  Sun Jul 14 15:02:32 2013
From: dsc at swcp.com (Dar Scott)
Date: Sun, 14 Jul 2013 13:02:32 -0600
Subject: LC 20% CPU When Idle?
In-Reply-To: 
References: 
Message-ID: <1166963E-9DA7-49B8-AE76-0B068B8DF4AD@swcp.com>

A couple thoughts...

In the message box, switch to pending messages (mailbox with flag up).  Check IDE messages and auto update.  If you see lines there, that might be the source.  See if the names match any plugins.

In your My LiveCode folder, look for externals and plugins that could be the problem.  

Dar
Making stuff for LiveCode programmers

On Jul 14, 2013, at 12:46 PM, Mike Kerner wrote:

> LC has been sitting here doing....something for several hours, taking 20%
> of my CPU.  The stack I have open does not have any scripts that appear to
> be running, the Message Watcher isn't showing anything, so I'm confused.
> 
> If I create a new stack, LC goes to nothing.  Adding the same substacks
> that this stack does does not jack up the CPU usage.
> 
> Any other ideas on how to figure out what is going on?
> 
> -- 
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>   and did a little diving.
> And God said, "This is good."
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




From dsc at swcp.com  Sun Jul 14 15:12:47 2013
From: dsc at swcp.com (Dar Scott)
Date: Sun, 14 Jul 2013 13:12:47 -0600
Subject: =?windows-1252?Q?Re=3A_=22=E9=22_on_Mac_becomes_=22=8E=22_on_Win?=
	=?windows-1252?Q?dows?=
In-Reply-To: <51E2F52D.1040207@economy-x-talk.com>
References: <6663F3C8-20F3-4735-809B-B8CD9D2160CB@wanadoo.fr>
	<51E2F52D.1040207@economy-x-talk.com>
Message-ID: <23E92492-2643-487B-8B75-7CC4BF74E527@swcp.com>

LOL!  I almost didn't see it.  

I look forward to full "unicodification" of LiveCode and these things might go away.

Dar

On Jul 14, 2013, at 12:59 PM, Mark Schonewille wrote:

> Hi Andr?,
> 
> Convert your custom property with the MacToIso function before displaying the text (only in Windows of course).
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
> 
> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com
> 
> Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi
> 
> Fill out this survey please
> http://livecodebeginner.economy-x-talk.com/survey/
> 
> On 7/14/2013 20:44, Andr? Bisseret wrote:
>> Bonjour,
>> 
>> In an app, I just finish to build on Mac (at least I was hoping so!) I have fields (lockText false) where special characters (in fact #) have an imageSource.
>> (a small image showing the 3 letters "Doc"
>> 
>> The images used to set the imageSource of # are invisible. Each one has a custom property (the "docName") which contains the name of a specific document.
>> 
>> When double clicking on such a character (on selectionChanged) the filename of this document is built and the document is launched.
>> 
>> On Mac that's working very well.
>> But I have also to build a standalone for Windows.
>> 
>> On Windows, the documents are not launched.
>> I just discovered that, if there is an accented character in the contents of the custom property it is replaced with another bizarre one ;-((
>> for example instead of "?" I find "?"
>> so that, of course, the document can't be found and launched!
>> 
>> Any idea how I could get rid of this?
>> 
>> Thanks a lot in advance for any advice and help
>> 
>> Best regards
>> 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
>> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




From MikeKerner at roadrunner.com  Sun Jul 14 15:21:07 2013
From: MikeKerner at roadrunner.com (Mike Kerner)
Date: Sun, 14 Jul 2013 15:21:07 -0400
Subject: LC 20% CPU When Idle?
In-Reply-To: <1166963E-9DA7-49B8-AE76-0B068B8DF4AD@swcp.com>
References: 
	<1166963E-9DA7-49B8-AE76-0B068B8DF4AD@swcp.com>
Message-ID: 

Nothing showing up in pending messages.

No pulsing buttons.  Just a MG stack with a background, navbar and a
button, but....I had a push button (that wasn't pulsing).  When I changed
it to a square button, the CPU usage went to zero.  I wonder why a push
button would take so much CPU time.





On Sun, Jul 14, 2013 at 3:02 PM, Dar Scott  wrote:

> A couple thoughts...
>
> In the message box, switch to pending messages (mailbox with flag up).
>  Check IDE messages and auto update.  If you see lines there, that might be
> the source.  See if the names match any plugins.
>
> In your My LiveCode folder, look for externals and plugins that could be
> the problem.
>
> Dar
> Making stuff for LiveCode programmers
>
> On Jul 14, 2013, at 12:46 PM, Mike Kerner wrote:
>
> > LC has been sitting here doing....something for several hours, taking 20%
> > of my CPU.  The stack I have open does not have any scripts that appear
> to
> > be running, the Message Watcher isn't showing anything, so I'm confused.
> >
> > If I create a new stack, LC goes to nothing.  Adding the same substacks
> > that this stack does does not jack up the CPU usage.
> >
> > Any other ideas on how to figure out what is going on?
> >
> > --
> > On the first day, God created the heavens and the Earth
> > On the second day, God created the oceans.
> > On the third day, God put the animals on hold for a few hours,
> >   and did a little diving.
> > And God said, "This is good."
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."


From ambassador at fourthworld.com  Sun Jul 14 15:49:04 2013
From: ambassador at fourthworld.com (Richard Gaskin)
Date: Sun, 14 Jul 2013 12:49:04 -0700
Subject: LC 20% CPU When Idle?
In-Reply-To: 
References: 
Message-ID: <51E300B0.6050402@fourthworld.com>

Mike Kerner wrote:
> Nothing showing up in pending messages.
>
> No pulsing buttons.  Just a MG stack with a background, navbar and a
> button, but....I had a push button (that wasn't pulsing).  When I changed
> it to a square button, the CPU usage went to zero.  I wonder why a push
> button would take so much CPU time.

I can reproduce that with a default button, but not with a standard push 
button.

--
  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 andre.bisseret at wanadoo.fr  Sun Jul 14 15:57:55 2013
From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=)
Date: Sun, 14 Jul 2013 21:57:55 +0200
Subject: =?windows-1252?Q?Re=3A_=22=E9=22_on_Mac_becomes_=22=8E=22_on_Win?=
	=?windows-1252?Q?dows?=
In-Reply-To: <51E2F52D.1040207@economy-x-talk.com>
References: <6663F3C8-20F3-4735-809B-B8CD9D2160CB@wanadoo.fr>
	<51E2F52D.1040207@economy-x-talk.com>
Message-ID: 


Le 14 juil. 2013 ? 20:59, Mark Schonewille a ?crit :

> Hi Andr?,

Excellent ;-o))
> 
> Convert your custom property with the MacToIso function before displaying the text (only in Windows of course).
> 
> --

Thanks a lot Mark for your prompt reply.
First time I hear about MacToIso! (I should browse through the Livecode dictionnary more often!

And I should have read your book more rapidly! I am reading it but I am not arrived yet at page 209 ;-)) which I just discovered thanks to your reply and your very useful Alphabetical Index ;-)

I am trying MacToIso to morrow 

Best regards

Andr?  


> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
> 
> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com
> 
> Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi
> 
> Fill out this survey please
> http://livecodebeginner.economy-x-talk.com/survey/
> 
> On 7/14/2013 20:44, Andr? Bisseret wrote:
>> Bonjour,
>> 
>> In an app, I just finish to build on Mac (at least I was hoping so!) I have fields (lockText false) where special characters (in fact #) have an imageSource.
>> (a small image showing the 3 letters "Doc"
>> 
>> The images used to set the imageSource of # are invisible. Each one has a custom property (the "docName") which contains the name of a specific document.
>> 
>> When double clicking on such a character (on selectionChanged) the filename of this document is built and the document is launched.
>> 
>> On Mac that's working very well.
>> But I have also to build a standalone for Windows.
>> 
>> On Windows, the documents are not launched.
>> I just discovered that, if there is an accented character in the contents of the custom property it is replaced with another bizarre one ;-((
>> for example instead of "?" I find "?"
>> so that, of course, the document can't be found and launched!
>> 
>> Any idea how I could get rid of this?
>> 
>> Thanks a lot in advance for any advice and help




From userev at canelasoftware.com  Sun Jul 14 16:36:47 2013
From: userev at canelasoftware.com (Mark Talluto)
Date: Sun, 14 Jul 2013 13:36:47 -0700
Subject: =?windows-1252?Q?Re=3A_Sockets_on_mobile=85at_last!?=
In-Reply-To: <19977985-BEC0-4075-8912-F9FB90A2C307@sweattechnologies.com>
References: 
	<6B2A65AD-6BD1-4CAA-97CF-F7F4EBA045C2@sweattechnologies.com>
	
	<79651CB3-77C1-42E6-86F0-48BBC1AAC2A2@sweattechnologies.com>
	<6CC01095-7E26-40DA-A1BD-E954A194D011@swcp.com>
	
	
	<5ADE59F5-DC3C-4AA5-BE3F-0EC695E9A98E@canelasoftware.com>
	<19977985-BEC0-4075-8912-F9FB90A2C307@sweattechnologies.com>
Message-ID: 

On Jul 13, 2013, at 2:53 PM, Monte Goulding  wrote:

> 
> On 14/07/2013, at 1:57 AM, Mark Talluto  wrote:
> 
>> What problems are you correcting regarding sockets for desktops?
> 
> None, I was talking about getting the sockets implementation in the engine to work on iOS and android. 

I get it.  Good to know.


Best regards,

Mark Talluto
canelasoftware.com





From dunbarx at aol.com  Sun Jul 14 16:51:27 2013
From: dunbarx at aol.com (dunbarx at aol.com)
Date: Sun, 14 Jul 2013 16:51:27 -0400 (EDT)
Subject: Buttons all in the same background
In-Reply-To: 
References: 
Message-ID: <8D04EEB0B2A9CD1-1758-8EA78@webmail-d101.sysops.aol.com>

Hi.


If you have a card script that does stuff to that group, it makes no difference whether that group has its backGroundBehavior set to "true" or not. Though that group will appear on any new card you make automatically, the script of the new card will always be empty.


I think what you are asking for is a script that encompasses all cards. This would be, most likely, the stack script, though there are a few other places that will do as well. Do you know how the message hierarchy works well enough to make this happen for you?


Write back if you need more help.


Craig Newman



-----Original Message-----
From: Mark Rauterkus 
To: use-livecode 
Sent: Sun, Jul 14, 2013 1:36 pm
Subject: Buttons all in the same background


Hi,

I have 3 buttons that I had hoped were all in the same background group so
that when the script was changed on one card they'd be changed in all the
other LC cards.

Not so.

Now what? I have 20 cards.

Buttons Show Attendance, Show Performances and Show Health should all be in
the same location and with the same scripts with the entire stack of cards.

What is the script to "unify" these elements?

Thanks.


--
Ta.


Mark Rauterkus       Mark.Rauterkus at gmail.com
PPS Summer Dreamers' Swim and Water Polo Camp Head Coach
Pittsburgh Combined Water Polo Team

http://Rauterkus.blogspot.com
http://FixPA.wikia.com
http://CLOH.wikia.com
412 298 3432 = cell
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 


From dsc at swcp.com  Sun Jul 14 17:19:32 2013
From: dsc at swcp.com (Dar Scott)
Date: Sun, 14 Jul 2013 15:19:32 -0600
Subject: LC 20% CPU When Idle?
In-Reply-To: <51E300B0.6050402@fourthworld.com>
References: 
	<51E300B0.6050402@fourthworld.com>
Message-ID: <44EAA65B-A0C8-425C-9D3A-F7970C051BCC@swcp.com>

Same here.  I even tried checking and unchecking default in the property inspector.

On Jul 14, 2013, at 1:49 PM, Richard Gaskin wrote:

> Mike Kerner wrote:
>> Nothing showing up in pending messages.
>> 
>> No pulsing buttons.  Just a MG stack with a background, navbar and a
>> button, but....I had a push button (that wasn't pulsing).  When I changed
>> it to a square button, the CPU usage went to zero.  I wonder why a push
>> button would take so much CPU time.
> 
> I can reproduce that with a default button, but not with a standard push button.
> 
> --
> 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 MikeKerner at roadrunner.com  Sun Jul 14 20:36:57 2013
From: MikeKerner at roadrunner.com (Mike Kerner)
Date: Sun, 14 Jul 2013 20:36:57 -0400
Subject: LC 20% CPU When Idle?
In-Reply-To: <44EAA65B-A0C8-425C-9D3A-F7970C051BCC@swcp.com>
References: 
	<51E300B0.6050402@fourthworld.com>
	<44EAA65B-A0C8-425C-9D3A-F7970C051BCC@swcp.com>
Message-ID: 

Same here what, Dar?


On Sun, Jul 14, 2013 at 5:19 PM, Dar Scott  wrote:

> Same here.  I even tried checking and unchecking default in the property
> inspector.
>
> On Jul 14, 2013, at 1:49 PM, Richard Gaskin wrote:
>
> > Mike Kerner wrote:
> >> Nothing showing up in pending messages.
> >>
> >> No pulsing buttons.  Just a MG stack with a background, navbar and a
> >> button, but....I had a push button (that wasn't pulsing).  When I
> changed
> >> it to a square button, the CPU usage went to zero.  I wonder why a push
> >> button would take so much CPU time.
> >
> > I can reproduce that with a default button, but not with a standard push
> button.
> >
> > --
> > Richard Gaskin
> > Fourth World
> > LiveCode training and consulting: http://www.fourthworld.com
> > Webzine for LiveCode developers: http://www.LiveCodeJournal.com
> > Follow me on Twitter:  http://twitter.com/FourthWorldSys
> >
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
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 index at kenjikojima.com  Sun Jul 14 20:50:29 2013
From: index at kenjikojima.com (index at kenjikojima.com)
Date: Sun, 14 Jul 2013 20:50:29 -0400
Subject: Japanese Font Menu Problem
In-Reply-To: <51E14597.3030309@gmail.com>
References: 	<51E06706.9020403@gmail.com>	
	<27864C5A-3C76-41D2-BDE9-B3A32FADFBE1@kenjikojima.com>
	<51E14597.3030309@gmail.com>
Message-ID: 

Hi,

Can anybody resolve the problem? 
I made a Japanese font pulldown menu. It works fine on MacOS, 
But does not show correct font names on Windows.

go to url "http://kenjikojima.com/livecode/download/jpFontMenu.livecode"

Thanks,
--
Kenji Kojima / ????
http://www.kenjikojima.com/




From dsc at swcp.com  Sun Jul 14 23:05:56 2013
From: dsc at swcp.com (Dar Scott)
Date: Sun, 14 Jul 2013 21:05:56 -0600
Subject: LC 20% CPU When Idle?
In-Reply-To: 
References: 
	<51E300B0.6050402@fourthworld.com>
	<44EAA65B-A0C8-425C-9D3A-F7970C051BCC@swcp.com>
	
Message-ID: <2AAE1A47-3DD0-4402-AED5-DEFC9F527DC1@swcp.com>

As Richard, I can reproduce 20% (sometimes 17%) CPU usage with a default button, but not a usual button.  I tried putting a default button on the card and then turning off the default checkbox.  I got 20% with it on and about 1 or 2% with it off.  

I wonder if there could have been a button under a button.  

Dar


On Jul 14, 2013, at 6:36 PM, Mike Kerner wrote:

> Same here what, Dar?
> 
> 
> On Sun, Jul 14, 2013 at 5:19 PM, Dar Scott  wrote:
> 
>> Same here.  I even tried checking and unchecking default in the property
>> inspector.
>> 
>> On Jul 14, 2013, at 1:49 PM, Richard Gaskin wrote:
>> 
>>> Mike Kerner wrote:
>>>> Nothing showing up in pending messages.
>>>> 
>>>> No pulsing buttons.  Just a MG stack with a background, navbar and a
>>>> button, but....I had a push button (that wasn't pulsing).  When I
>> changed
>>>> it to a square button, the CPU usage went to zero.  I wonder why a push
>>>> button would take so much CPU time.
>>> 
>>> I can reproduce that with a default button, but not with a standard push
>> button.
>>> 
>>> --
>>> Richard Gaskin
>>> Fourth World
>>> LiveCode training and consulting: http://www.fourthworld.com
>>> Webzine for LiveCode developers: http://www.LiveCodeJournal.com
>>> Follow me on Twitter:  http://twitter.com/FourthWorldSys
>>> 
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> 
> -- 
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>   and did a little diving.
> And God said, "This is good."
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




From selander at tkf.att.ne.jp  Mon Jul 15 04:10:01 2013
From: selander at tkf.att.ne.jp (Tim Selander)
Date: Mon, 15 Jul 2013 17:10:01 +0900
Subject: Japanese Font Menu Problem
In-Reply-To: 
References: 	<51E06706.9020403@gmail.com>	
	<27864C5A-3C76-41D2-BDE9-B3A32FADFBE1@kenjikojima.com>
	<51E14597.3030309@gmail.com>
	
Message-ID: <51E3AE59.5030508@tkf.att.ne.jp>

I'm sorry that I cannot help with your problem at all,
particularly because I don't use LC on a Windows machine. But
your stack was very helpful to me to see how to use Japanese in a
drop down menu, and manipulate unicode text in fields. Thank you!

But, of course, the more important question is what kind of
poetry and art you are creating since you are living in the
difficult-to-live-in "world" of LiveCode?   (^_-)

Tim Selander
Tokyo, Japan



On 7/15/13 9:50 AM, index at kenjikojima.com wrote:
> Hi,
> 
> Can anybody resolve the problem?
> I made a Japanese font pulldown menu. It works fine on MacOS,
> But does not show correct font names on Windows.
> 
> go to url "http://kenjikojima.com/livecode/download/jpFontMenu.livecode"
> 
> Thanks,
> --
> Kenji Kojima / ????
> http://www.kenjikojima.com/
> 



From dave at businessplaninsight.com  Mon Jul 15 06:42:37 2013
From: dave at businessplaninsight.com (Dave Kilroy)
Date: Mon, 15 Jul 2013 11:42:37 +0100
Subject: out-of-the-blue codesigning error
Message-ID: <4FB0A65D-530C-497E-9E13-E1BB27442CE8@businessplaninsight.com>

Mike, 

LiveCode's 'Profile' drop-down in the iOS Standalone Settings Dialog Box can sometimes display out of date provisioning profiles.

If you haven't yet fixed your problem it may be worth checking that you have cleared out old Provisioning Profiles and that LiveCode isn't presenting you with 'bad' profiles each time you build a standalone. 

To ensure that this doesn't happen repeat many of the steps Chris Sheffiled suggested and go back to Xcode's Organiser window, select 'Provisioning Profiles' and hit the 'Refresh' button - once Xcode has finished refreshing your profiles, examine the list and if any appear to be older versions of newer profiles which Xcode has just verified delete them on your local system by right-clicking and choosing 'Delete Profile' (this command only deletes the local file). 

When you are sure your list of profiles doesn't contain anything out-of-date launch LiveCode (or close and relaunch if it was open) and now you can be sure the 'Profile' drop-down will only offer you valid, up-to-date profiles - hope this helps...

Good luck!

Dave


> At times I have had to delete an app before updating it, especially when there are provisioning changes.  
> 
> All day yesterday I read the subject to be about co-designing rather than code-signing, a different interesting topic.
> 
> Dar
> 
> On Jul 12, 2013, at 9:11 AM, Mike Kerner wrote:
> 
>> thanks, Chris, but that didn't fix it, either.  It's really weird - even
>> the wildcard certificate doesn't work for a brand-spaking new stack with
>> nothing else attached to it.
>> 
>> 
>> On Fri, Jul 12, 2013 at 10:34 AM, Chris Sheffield wrote:
>> 
>>> Mike,
>>> 
>>> Try this if you haven't already.
>>> 
>>> Launch Xcode and open the Organizer window. Select "Provisioning Profiles"
>>> on the left, then hit the Refresh button on the lower right. This will sort
>>> of sync everything up between Apple's dev portal and your computer. After
>>> that's done, try building your app again, making sure there's a valid
>>> profile selected before doing so. Sometimes, at least in my case,
>>> refreshing the profiles will add/delete them, so in your standalone
>>> settings nothing will be selected.
>>> 
>>> Not entirely sure if this will help, but it's worth a try.
>>> 
>>> Chris
>>> 
>>> 
>>> --
>>> Chris Sheffield
>>> Read Naturally, Inc.
>>> www.readnaturally.com
>>> 


From MikeKerner at roadrunner.com  Mon Jul 15 08:05:35 2013
From: MikeKerner at roadrunner.com (Mike Kerner)
Date: Mon, 15 Jul 2013 08:05:35 -0400
Subject: out-of-the-blue codesigning error
In-Reply-To: <4FB0A65D-530C-497E-9E13-E1BB27442CE8@businessplaninsight.com>
References: <4FB0A65D-530C-497E-9E13-E1BB27442CE8@businessplaninsight.com>
Message-ID: 

Yeah, tried that.  I also deleted all my profiles, certs, etc. and
re-installed them all, too.  No luck yet...


On Mon, Jul 15, 2013 at 6:42 AM, Dave Kilroy
wrote:

> Mike,
>
> LiveCode's 'Profile' drop-down in the iOS Standalone Settings Dialog Box
> can sometimes display out of date provisioning profiles.
>
> If you haven't yet fixed your problem it may be worth checking that you
> have cleared out old Provisioning Profiles and that LiveCode isn't
> presenting you with 'bad' profiles each time you build a standalone.
>
> To ensure that this doesn't happen repeat many of the steps Chris
> Sheffiled suggested and go back to Xcode's Organiser window, select
> 'Provisioning Profiles' and hit the 'Refresh' button - once Xcode has
> finished refreshing your profiles, examine the list and if any appear to be
> older versions of newer profiles which Xcode has just verified delete them
> on your local system by right-clicking and choosing 'Delete Profile' (this
> command only deletes the local file).
>
> When you are sure your list of profiles doesn't contain anything
> out-of-date launch LiveCode (or close and relaunch if it was open) and now
> you can be sure the 'Profile' drop-down will only offer you valid,
> up-to-date profiles - hope this helps...
>
> Good luck!
>
> Dave
>
>
> > At times I have had to delete an app before updating it, especially when
> there are provisioning changes.
> >
> > All day yesterday I read the subject to be about co-designing rather
> than code-signing, a different interesting topic.
> >
> > Dar
> >
> > On Jul 12, 2013, at 9:11 AM, Mike Kerner wrote:
> >
> >> thanks, Chris, but that didn't fix it, either.  It's really weird - even
> >> the wildcard certificate doesn't work for a brand-spaking new stack with
> >> nothing else attached to it.
> >>
> >>
> >> On Fri, Jul 12, 2013 at 10:34 AM, Chris Sheffield <
> cmsheffield at icloud.com>wrote:
> >>
> >>> Mike,
> >>>
> >>> Try this if you haven't already.
> >>>
> >>> Launch Xcode and open the Organizer window. Select "Provisioning
> Profiles"
> >>> on the left, then hit the Refresh button on the lower right. This will
> sort
> >>> of sync everything up between Apple's dev portal and your computer.
> After
> >>> that's done, try building your app again, making sure there's a valid
> >>> profile selected before doing so. Sometimes, at least in my case,
> >>> refreshing the profiles will add/delete them, so in your standalone
> >>> settings nothing will be selected.
> >>>
> >>> Not entirely sure if this will help, but it's worth a try.
> >>>
> >>> 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 klaus at major-k.de  Mon Jul 15 08:19:51 2013
From: klaus at major-k.de (Klaus major-k)
Date: Mon, 15 Jul 2013 14:19:51 +0200
Subject: Quick SQL question
Message-ID: 

Hi firends,

with a table consisting of 3 (or more) db fields:
name
tags
comment

If I want to find a value in ALL of the three (or more) db fields, I now use:
...
## Pseudocode, quotes etc missing, I know!
put fld "searchfield" into tUserInput
select * from myTable where name LIKE %tUserInput% OR tags LIKE %tUserInput% OR comments  LIKE %tUserInput%
...
You get the picture :-)

Now my question: Is there a shorter SQL command for my purpose, that I did not find yet? 
Thanks in advance!


Best

Klaus
--
Klaus Major
http://www.major-k.de
klaus at major-k.de




From toolbook at kestner.de  Mon Jul 15 08:44:25 2013
From: toolbook at kestner.de (Tiemo Hollmann TB)
Date: Mon, 15 Jul 2013 14:44:25 +0200
Subject: standard ask dialog has two different fonts on his buttons!?
Message-ID: <001901ce8159$0a36f790$1ea4e6b0$@de>

Hello,

LC 6.1 on Win 7 the standard ask dialog has a different text size on its
cancel button as on its ok button. I didn't know, that I have any font
options on these dialogs. Are there, or is it a bug?

Thanks

Tiemo

 

 



From john at splash21.com  Mon Jul 15 09:25:36 2013
From: john at splash21.com (john at splash21.com)
Date: Mon, 15 Jul 2013 14:25:36 +0100
Subject: Quick SQL question
In-Reply-To: 
References: 
Message-ID: <20130715142536.14821wgdtbhdr2vk@webmail.splash21.com>

Most engines have a concatenate command, something like;

WHERE CONCAT(name, tags, comment) LIKE '%tUserInput%'

:)

Quoting Klaus major-k :

> Hi firends,
>
> with a table consisting of 3 (or more) db fields:
> name
> tags
> comment
>
> If I want to find a value in ALL of the three (or more) db fields, I now use:
> ...
> ## Pseudocode, quotes etc missing, I know!
> put fld "searchfield" into tUserInput
> select * from myTable where name LIKE %tUserInput% OR tags LIKE  
> %tUserInput% OR comments  LIKE %tUserInput%
> ...
> You get the picture :-)
>
> Now my question: Is there a shorter SQL command for my purpose, that  
> I did not find yet?
> Thanks in advance!
>
>
> Best
>
> Klaus
> --
> Klaus Major
> http://www.major-k.de
> klaus at major-k.de
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>




From klaus at major-k.de  Mon Jul 15 08:56:00 2013
From: klaus at major-k.de (Klaus major-k)
Date: Mon, 15 Jul 2013 14:56:00 +0200
Subject: Quick SQL question
In-Reply-To: <20130715142536.14821wgdtbhdr2vk@webmail.splash21.com>
References: 
	<20130715142536.14821wgdtbhdr2vk@webmail.splash21.com>
Message-ID: 

Hi Pete,

Am 15.07.2013 um 15:25 schrieb john at splash21.com:

> Most engines have a concatenate command, something like;
> WHERE CONCAT(name, tags, comment) LIKE '%tUserInput%'

Aha, cool! Thanks!
Do you know if this supported by SQLite?

> :)
> 
> Quoting Klaus major-k :
> 
>> Hi firends,
>> 
>> with a table consisting of 3 (or more) db fields:
>> name
>> tags
>> comment
>> 
>> If I want to find a value in ALL of the three (or more) db fields, I now use:
>> ...
>> ## Pseudocode, quotes etc missing, I know!
>> put fld "searchfield" into tUserInput
>> select * from myTable where name LIKE %tUserInput% OR tags LIKE %tUserInput% OR comments  LIKE %tUserInput%
>> ...
>> You get the picture :-)
>> 
>> Now my question: Is there a shorter SQL command for my purpose, that I did not find yet?
>> Thanks in advance!

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de




From john at splash21.com  Mon Jul 15 09:59:20 2013
From: john at splash21.com (john at splash21.com)
Date: Mon, 15 Jul 2013 14:59:20 +0100
Subject: Quick SQL question
In-Reply-To: 
References: 
	<20130715142536.14821wgdtbhdr2vk@webmail.splash21.com>
	
Message-ID: <20130715145920.66223ad7t2lxixq0@webmail.splash21.com>

Googling it suggests that '||' is concatenate in SQLite, so try;

WHERE (name || tags || comment) LIKE '%.....




Quoting Klaus major-k :

> Hi Pete,
>
> Am 15.07.2013 um 15:25 schrieb john at splash21.com:
>
>> Most engines have a concatenate command, something like;
>> WHERE CONCAT(name, tags, comment) LIKE '%tUserInput%'
>
> Aha, cool! Thanks!
> Do you know if this supported by SQLite?
>
>> :)
>>
>> Quoting Klaus major-k :
>>
>>> Hi firends,
>>>
>>> with a table consisting of 3 (or more) db fields:
>>> name
>>> tags
>>> comment
>>>
>>> If I want to find a value in ALL of the three (or more) db fields,  
>>> I now use:
>>> ...
>>> ## Pseudocode, quotes etc missing, I know!
>>> put fld "searchfield" into tUserInput
>>> select * from myTable where name LIKE %tUserInput% OR tags LIKE  
>>> %tUserInput% OR comments  LIKE %tUserInput%
>>> ...
>>> You get the picture :-)
>>>
>>> Now my question: Is there a shorter SQL command for my purpose,  
>>> that I did not find yet?
>>> Thanks in advance!
>
> Best
>
> Klaus
>
> --
> Klaus Major
> http://www.major-k.de
> klaus at major-k.de
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>





From klaus at major-k.de  Mon Jul 15 09:39:42 2013
From: klaus at major-k.de (Klaus major-k)
Date: Mon, 15 Jul 2013 15:39:42 +0200
Subject: Quick SQL question
In-Reply-To: <20130715145920.66223ad7t2lxixq0@webmail.splash21.com>
References: 
	<20130715142536.14821wgdtbhdr2vk@webmail.splash21.com>
	
	<20130715145920.66223ad7t2lxixq0@webmail.splash21.com>
Message-ID: <7DC6963F-E387-40F9-9C73-EEA3F950C703@major-k.de>


Am 15.07.2013 um 15:59 schrieb john at splash21.com:

> Googling it suggests that '||' is concatenate in SQLite, so try;
> 
> WHERE (name || tags || comment) LIKE '%.....

Wonderful, will try this!
Thanks a bunch!


Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de




From keith.clarke at clarkeandclarke.co.uk  Mon Jul 15 09:41:47 2013
From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke)
Date: Mon, 15 Jul 2013 14:41:47 +0100
Subject: Popup menu button - how to prepare the button?
Message-ID: <33E0C8A6-75E7-4514-BC0A-8737ED6F8AC2@clarkeandclarke.co.uk>

Hi folks,
I'm trying to set a contextual popup menu to fire when right-clicking in a table field - in any 'cell' - but can't find any documentation on how to prepare the button itself (so that it's not visible but then appears at the mouse location).

My script on the table field is:

on mouseDown
   if theButton is 3 then popup menu RowMenu
   else pass mouseDown
end mouseDown

?meanwhile, the RowMenu button just sits happily in the location I created it.

Lessons and docs seem to gloss over the button end of the recipe - so what's the secret, does it need to be on a different card or sub-stack?
Best, 
Keith..

From index at kenjikojima.com  Mon Jul 15 09:42:16 2013
From: index at kenjikojima.com (index at kenjikojima.com)
Date: Mon, 15 Jul 2013 09:42:16 -0400
Subject: Japanese Font Menu Problem
In-Reply-To: <51E3AE59.5030508@tkf.att.ne.jp>
References: 	<51E06706.9020403@gmail.com>	
	<27864C5A-3C76-41D2-BDE9-B3A32FADFBE1@kenjikojima.com>
	<51E14597.3030309@gmail.com>
	
	<51E3AE59.5030508@tkf.att.ne.jp>
Message-ID: 

Tim,
I am going to think about your question on a mountain path.

Mac version did not work btn "setFontNames". Fixed it.
And the text of Windows pulldown menu had some characters before the text. Maybe they were BOM or something. I could not remove them. I took unusual ways that using a menuHistory on Windows.

You can see it.
go to url "http://kenjikojima.com/livecode/download/jpFontMenu02.livecode"
I hope some one find better ways.

Have a nice hot and humid Tokyo summer.
--
Kenji Kojima / ????
http://www.kenjikojima.com/



On Jul 15, 2013, at 4:10 AM, Tim Selander wrote:

> I'm sorry that I cannot help with your problem at all,
> particularly because I don't use LC on a Windows machine. But
> your stack was very helpful to me to see how to use Japanese in a
> drop down menu, and manipulate unicode text in fields. Thank you!
> 
> But, of course, the more important question is what kind of
> poetry and art you are creating since you are living in the
> difficult-to-live-in "world" of LiveCode?   (^_-)
> 
> Tim Selander
> Tokyo, Japan
> 
> 
> 
> On 7/15/13 9:50 AM, index at kenjikojima.com wrote:
>> Hi,
>> 
>> Can anybody resolve the problem?
>> I made a Japanese font pulldown menu. It works fine on MacOS,
>> But does not show correct font names on Windows.
>> 
>> go to url "http://kenjikojima.com/livecode/download/jpFontMenu.livecode"
>> 
>> Thanks,
>> --
>> Kenji Kojima / ????
>> http://www.kenjikojima.com/
>> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




From klaus at major-k.de  Mon Jul 15 09:46:25 2013
From: klaus at major-k.de (Klaus major-k)
Date: Mon, 15 Jul 2013 15:46:25 +0200
Subject: Popup menu button - how to prepare the button?
In-Reply-To: <33E0C8A6-75E7-4514-BC0A-8737ED6F8AC2@clarkeandclarke.co.uk>
References: <33E0C8A6-75E7-4514-BC0A-8737ED6F8AC2@clarkeandclarke.co.uk>
Message-ID: <1B5D9415-82D3-4077-BA50-C2EC2C6CB4DB@major-k.de>

Hi Keith,

Am 15.07.2013 um 15:41 schrieb Keith Clarke :

> Hi folks,
> I'm trying to set a contextual popup menu to fire when right-clicking in a table field - in any 'cell' - but can't find any documentation on how to prepare the button itself
> (so that it's not visible but then appears at the mouse location).

Just hide the button, it will "popup" anyway :-)

> My script on the table field is:
> 
> on mouseDown
>   if theButton is 3 then popup menu RowMenu
>   else pass mouseDown
> end mouseDown

try this:
on mouseDown theButton
  if theButton = 3 then 
     popup BTN "RowMenu" at the mouseloc
  else 
    pass mouseDown
 end if
end mouseDown

> ?meanwhile, the RowMenu button just sits happily in the location I created it.
> 
> Lessons and docs seem to gloss over the button end of the recipe - so what's the secret, does it need to be on a different card or sub-stack?
> Best, 
> Keith..

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de




From keith.clarke at clarkeandclarke.co.uk  Mon Jul 15 10:05:25 2013
From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke)
Date: Mon, 15 Jul 2013 15:05:25 +0100
Subject: Popup menu button - how to prepare the button?
In-Reply-To: <1B5D9415-82D3-4077-BA50-C2EC2C6CB4DB@major-k.de>
References: <33E0C8A6-75E7-4514-BC0A-8737ED6F8AC2@clarkeandclarke.co.uk>
	<1B5D9415-82D3-4077-BA50-C2EC2C6CB4DB@major-k.de>
Message-ID: 

Thanks for the clarification, Klaus - that works perfectly.

My next challenge is that single left click on a basic table field highlights the row (good) and puts the item into edit mode (not desired). How might I go about suppressing this default behaviour and force the need for a double-click to enter item edit mode?
Best,
Keith..

On 15 Jul 2013, at 14:46, Klaus major-k  wrote:

> Hi Keith,
> 
> Am 15.07.2013 um 15:41 schrieb Keith Clarke :
> 
>> Hi folks,
>> I'm trying to set a contextual popup menu to fire when right-clicking in a table field - in any 'cell' - but can't find any documentation on how to prepare the button itself
>> (so that it's not visible but then appears at the mouse location).
> 
> Just hide the button, it will "popup" anyway :-)
> 
>> My script on the table field is:
>> 
>> on mouseDown
>>  if theButton is 3 then popup menu RowMenu
>>  else pass mouseDown
>> end mouseDown
> 
> try this:
> on mouseDown theButton
>  if theButton = 3 then 
>     popup BTN "RowMenu" at the mouseloc
>  else 
>    pass mouseDown
> end if
> end mouseDown
> 
>> ?meanwhile, the RowMenu button just sits happily in the location I created it.
>> 
>> Lessons and docs seem to gloss over the button end of the recipe - so what's the secret, does it need to be on a different card or sub-stack?
>> Best, 
>> Keith..
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> http://www.major-k.de
> klaus at major-k.de




From walter.h.brown at gmail.com  Mon Jul 15 11:07:50 2013
From: walter.h.brown at gmail.com (Walt Brown)
Date: Mon, 15 Jul 2013 11:07:50 -0400
Subject: Walter Brown
In-Reply-To: <51D47365.1020002@economy-x-talk.com>
References: <51D47365.1020002@economy-x-talk.com>
Message-ID: 

Hi Mark. My contact info is:
Walt Brown
520 Lindbergh Ave
Stroudsburg, PA, 18360
1 (570) 421-1267 (Home)
1 (570) 801-8801 (Cell)
walter.h.brown at gmail.com



On Wed, Jul 3, 2013 at 2:54 PM, Mark Schonewille <
m.schonewille at economy-x-talk.com> wrote:

> Dear Walter Brown,
>
> Please contact me off-list. It seems that the contact information you
> provided me with is incorrect. If you don't get a reply from me, try to use
> a different e-mail server with a different domain 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
>
> Buy my new book "Programming LiveCode for the Real Beginner"
> http://qery.us/3fi
>
> Fill out this survey please
> http://livecodebeginner.**economy-x-talk.com/survey/
>
> ______________________________**_________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/**mailman/listinfo/use-livecode
>


From walter.h.brown at gmail.com  Mon Jul 15 11:09:51 2013
From: walter.h.brown at gmail.com (Walt Brown)
Date: Mon, 15 Jul 2013 11:09:51 -0400
Subject: Walter Brown
In-Reply-To: <51D47365.1020002@economy-x-talk.com>
References: <51D47365.1020002@economy-x-talk.com>
Message-ID: 

Oops, sorry about that. So there, now that you all know, come by and have a
beer sometime.


On Wed, Jul 3, 2013 at 2:54 PM, Mark Schonewille <
m.schonewille at economy-x-talk.com> wrote:

> Dear Walter Brown,
>
> Please contact me off-list. It seems that the contact information you
> provided me with is incorrect. If you don't get a reply from me, try to use
> a different e-mail server with a different domain 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
>
> Buy my new book "Programming LiveCode for the Real Beginner"
> http://qery.us/3fi
>
> Fill out this survey please
> http://livecodebeginner.**economy-x-talk.com/survey/
>
> ______________________________**_________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/**mailman/listinfo/use-livecode
>


From dunbarx at aol.com  Mon Jul 15 11:27:30 2013
From: dunbarx at aol.com (dunbarx at aol.com)
Date: Mon, 15 Jul 2013 11:27:30 -0400 (EDT)
Subject: Popup menu button - how to prepare the button?
In-Reply-To: 
References: <33E0C8A6-75E7-4514-BC0A-8737ED6F8AC2@clarkeandclarke.co.uk>
	<1B5D9415-82D3-4077-BA50-C2EC2C6CB4DB@major-k.de>
	
Message-ID: <8D04F86F449C21F-D08-EA608@webmail-d291.sysops.aol.com>

Hi.


This is really klunky, but maybe you can refine it:




on mouseup
   wait 15
   if not the mouseClick then focus on nothing
end mouseup


LC creates a temporary field that overlays the "cell" in a table field. That is where the entered data goes, and the the engine updates the table field itself when you move on. The trick is to not allow that field to have focus on a single click.


There are likely better ways to do this...


Craig Newman


-----Original Message-----
From: Keith Clarke 
To: How to use LiveCode 
Sent: Mon, Jul 15, 2013 10:06 am
Subject: Re: Popup menu button - how to prepare the button?


Thanks for the clarification, Klaus - that works perfectly.

My next challenge is that single left click on a basic table field highlights 
the row (good) and puts the item into edit mode (not desired). How might I go 
about suppressing this default behaviour and force the need for a double-click 
to enter item edit mode?
Best,
Keith..

On 15 Jul 2013, at 14:46, Klaus major-k  wrote:

> Hi Keith,
> 
> Am 15.07.2013 um 15:41 schrieb Keith Clarke :
> 
>> Hi folks,
>> I'm trying to set a contextual popup menu to fire when right-clicking in a 
table field - in any 'cell' - but can't find any documentation on how to prepare 
the button itself
>> (so that it's not visible but then appears at the mouse location).
> 
> Just hide the button, it will "popup" anyway :-)
> 
>> My script on the table field is:
>> 
>> on mouseDown
>>  if theButton is 3 then popup menu RowMenu
>>  else pass mouseDown
>> end mouseDown
> 
> try this:
> on mouseDown theButton
>  if theButton = 3 then 
>     popup BTN "RowMenu" at the mouseloc
>  else 
>    pass mouseDown
> end if
> end mouseDown
> 
>> ?meanwhile, the RowMenu button just sits happily in the location I created 
it.
>> 
>> Lessons and docs seem to gloss over the button end of the recipe - so what's 
the secret, does it need to be on a different card or sub-stack?
>> Best, 
>> Keith..
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> http://www.major-k.de
> klaus at major-k.de


_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 


From mwieder at ahsoftware.net  Mon Jul 15 11:32:57 2013
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Mon, 15 Jul 2013 08:32:57 -0700
Subject: Walter Brown
In-Reply-To: 
References: <51D47365.1020002@economy-x-talk.com>
	
Message-ID: <19077004361.20130715083257@ahsoftware.net>

Walt-

Monday, July 15, 2013, 8:09:51 AM, you wrote:

> Oops, sorry about that. So there, now that you all know, come by and have a
> beer sometime.

Will do. Road trip!

-- 
-Mark Wieder
 mwieder at ahsoftware.net




From matthias_livecode_150811 at m-r-d.de  Mon Jul 15 11:38:10 2013
From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe)
Date: Mon, 15 Jul 2013 17:38:10 +0200
Subject: Walter Brown
In-Reply-To: <19077004361.20130715083257@ahsoftware.net>
References: <51D47365.1020002@economy-x-talk.com>
	
	<19077004361.20130715083257@ahsoftware.net>
Message-ID: <03C39CDC-7BE5-4598-84ED-F49D9C99CDEA@m-r-d.de>

I?m coming too. I am already looking for a cheap flight. ;)

Matthias

Am 15.07.2013 um 17:32 schrieb Mark Wieder :

> Walt-
> 
> Monday, July 15, 2013, 8:09:51 AM, you wrote:
> 
>> Oops, sorry about that. So there, now that you all know, come by and have a
>> beer sometime.
> 
> Will do. Road trip!
> 
> -- 
> -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  Mon Jul 15 11:39:08 2013
From: pete at lcsql.com (Peter Haworth)
Date: Mon, 15 Jul 2013 08:39:08 -0700
Subject: Quick SQL question
In-Reply-To: <7DC6963F-E387-40F9-9C73-EEA3F950C703@major-k.de>
References: 
	<20130715142536.14821wgdtbhdr2vk@webmail.splash21.com>
	
	<20130715145920.66223ad7t2lxixq0@webmail.splash21.com>
	<7DC6963F-E387-40F9-9C73-EEA3F950C703@major-k.de>
Message-ID: 

I'm thinking this may not give you the same results as checking each column
individually.  Is the need to check for the same value in each column or
for a different value in each column?

Pete
lcSQL Software 


On Mon, Jul 15, 2013 at 6:39 AM, Klaus major-k  wrote:

>
> Am 15.07.2013 um 15:59 schrieb john at splash21.com:
>
> > Googling it suggests that '||' is concatenate in SQLite, so try;
> >
> > WHERE (name || tags || comment) LIKE '%.....
>
> Wonderful, will try this!
> Thanks a bunch!
>
>
> Best
>
> Klaus
>
> --
> Klaus Major
> http://www.major-k.de
> klaus at major-k.de
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


From keith.clarke at clarkeandclarke.co.uk  Mon Jul 15 11:49:12 2013
From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke)
Date: Mon, 15 Jul 2013 16:49:12 +0100
Subject: Popup menu button - how to prepare the button?
In-Reply-To: <8D04F86F449C21F-D08-EA608@webmail-d291.sysops.aol.com>
References: <33E0C8A6-75E7-4514-BC0A-8737ED6F8AC2@clarkeandclarke.co.uk>
	<1B5D9415-82D3-4077-BA50-C2EC2C6CB4DB@major-k.de>
	
	<8D04F86F449C21F-D08-EA608@webmail-d291.sysops.aol.com>
Message-ID: 

Thanks for the clarification of what that table field item edit mode is all about, Craig.

A nice solution, too! I reduced the wait to 0 and the items enters edit mode only very briefly but exits. Edit mode still works with a double-click.

This is just an in-house utility, so we can live with that - if it was a customer app, I'd doubtless be banging my head on the overhang of the data grid learning curve instead! ;-)
Best,
Keith..
 
On 15 Jul 2013, at 16:27, DunbarX at aol.com wrote:

> Hi.
> This is really klunky, but maybe you can refine it:
> 
> on mouseup
>   wait 15
>   if not the mouseClick then focus on nothing
> end mouseup
> 
> LC creates a temporary field that overlays the "cell" in a table field. That is where the entered data goes, and the the engine updates the table field itself when you move on. The trick is to not allow that field to have focus on a single click.
> 
> There are likely better ways to do this...
> 
> Craig Newman
> 
> -----Original Message-----
> From: Keith Clarke 
> To: How to use LiveCode 
> Sent: Mon, Jul 15, 2013 10:06 am
> Subject: Re: Popup menu button - how to prepare the button?
> 
> 
> Thanks for the clarification, Klaus - that works perfectly.
> 
> My next challenge is that single left click on a basic table field highlights 
> the row (good) and puts the item into edit mode (not desired). How might I go 
> about suppressing this default behaviour and force the need for a double-click 
> to enter item edit mode?
> Best,
> Keith..




From m.schonewille at economy-x-talk.com  Mon Jul 15 12:05:57 2013
From: m.schonewille at economy-x-talk.com (Mark Schonewille)
Date: Mon, 15 Jul 2013 18:05:57 +0200
Subject: Walter Brown
In-Reply-To: 
References: <51D47365.1020002@economy-x-talk.com>
	
Message-ID: 

Thanks Walt. Could you please send me an e-mail off-list as well?

--
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 15 jul 2013, at 17:07, Walt Brown wrote:

> Hi Mark. My contact info is:
> Walt Brown
> 520 Lindbergh Ave
> Stroudsburg, PA, 18360
> 1 (570) 421-1267 (Home)
> 1 (570) 801-8801 (Cell)
> walter.h.brown at gmail.com
> 
> 
> 
> On Wed, Jul 3, 2013 at 2:54 PM, Mark Schonewille <
> m.schonewille at economy-x-talk.com> wrote:
> 
>> Dear Walter Brown,
>> 
>> Please contact me off-list. It seems that the contact information you
>> provided me with is incorrect. If you don't get a reply from me, try to use
>> a different e-mail server with a different domain 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
>> 
>> Buy my new book "Programming LiveCode for the Real Beginner"
>> http://qery.us/3fi
>> 
>> Fill out this survey please
>> http://livecodebeginner.**economy-x-talk.com/survey/
>> 
>> ______________________________**_________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/**mailman/listinfo/use-livecode
>> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




From klaus at major-k.de  Mon Jul 15 13:54:10 2013
From: klaus at major-k.de (Klaus major-k)
Date: Mon, 15 Jul 2013 19:54:10 +0200
Subject: Quick SQL question
In-Reply-To: 
References: 
	<20130715142536.14821wgdtbhdr2vk@webmail.splash21.com>
	
	<20130715145920.66223ad7t2lxixq0@webmail.splash21.com>
	<7DC6963F-E387-40F9-9C73-EEA3F950C703@major-k.de>
	
Message-ID: <002F98D9-4FAE-456E-B804-27967AA63166@major-k.de>

Hi Peter,

Am 15.07.2013 um 17:39 schrieb Peter Haworth :

> I'm thinking this may not give you the same results as checking each column
> individually.  Is the need to check for the same value in each column or
> for a different value in each column?

Same value in all columns!

> Pete
> lcSQL Software 

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de




From pete at lcsql.com  Mon Jul 15 15:43:23 2013
From: pete at lcsql.com (Peter Haworth)
Date: Mon, 15 Jul 2013 12:43:23 -0700
Subject: Quick SQL question
In-Reply-To: <002F98D9-4FAE-456E-B804-27967AA63166@major-k.de>
References: 
	<20130715142536.14821wgdtbhdr2vk@webmail.splash21.com>
	
	<20130715145920.66223ad7t2lxixq0@webmail.splash21.com>
	<7DC6963F-E387-40F9-9C73-EEA3F950C703@major-k.de>
	
	<002F98D9-4FAE-456E-B804-27967AA63166@major-k.de>
Message-ID: 

On Mon, Jul 15, 2013 at 10:54 AM, Klaus major-k  wrote:

> Same value in all columns!



Hi Klaus,
OK, should probably be OK then.  There is one corner case but it's pretty
unlikely.

Let's say there is a row with your three columns containing:

code
sign
xyz

...and the value you are looking for is "design".  Your concatenated string
will be "codesignxyz" so the row will be selected even though "design"
doesn't occur in any of the three columns.

Pretty unlikely I know but if you want to avoid that possibility, you could
include some sort of delimiter in your concatenated string, eg:

col1 || ' ' || col2 || ' ' || col3


Pete
lcSQL Software 


From klaus at major-k.de  Mon Jul 15 17:43:27 2013
From: klaus at major-k.de (Klaus major-k)
Date: Mon, 15 Jul 2013 23:43:27 +0200
Subject: Quick SQL question
In-Reply-To: 
References: 
	<20130715142536.14821wgdtbhdr2vk@webmail.splash21.com>
	
	<20130715145920.66223ad7t2lxixq0@webmail.splash21.com>
	<7DC6963F-E387-40F9-9C73-EEA3F950C703@major-k.de>
	
	<002F98D9-4FAE-456E-B804-27967AA63166@major-k.de>
	
Message-ID: 

Hi Pete,

Am 15.07.2013 um 21:43 schrieb Peter Haworth :

> On Mon, Jul 15, 2013 at 10:54 AM, Klaus major-k  wrote:
> 
>> Same value in all columns!
> 
> 
> Hi Klaus,
> OK, should probably be OK then.  

Great, thanks!

> There is one corner case but it's pretty
> unlikely.
> 
> Let's say there is a row with your three columns containing:
> 
> code
> sign
> xyz
> 
> ...and the value you are looking for is "design".  Your concatenated string
> will be "codesignxyz" so the row will be selected even though "design"
> doesn't occur in any of the three columns.
> 
> Pretty unlikely I know but if you want to avoid that possibility, you could
> include some sort of delimiter in your concatenated string, eg:
> 
> col1 || ' ' || col2 || ' ' || col3

thanks, doesn't apply to my needs in the moment but will surely store
this for later reference!

> Pete
> lcSQL Software 

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de




From scott at tactilemedia.com  Mon Jul 15 18:12:00 2013
From: scott at tactilemedia.com (Scott Rossi)
Date: Mon, 15 Jul 2013 15:12:00 -0700
Subject: Managing Long IDs?
Message-ID: 

Hi List:

I recently worked with a client to trace some non-functioning behavior in
a stack to the use of commas in a folder name where the user placed the
application and support files. I always use long ids for object
references, so of course my scripts tripped up where the default
itemDelimiter (comma) was used.

In the past, I've also run into problems where LiveCode encounters a dash
(minus) symbol in a filePath and tries to treat the path as a math
equation.

Does anybody have a simple means of dealing with this?  urlEncode?
Something else?  The end result is going to be available to anyone, so
it's not reasonable to issue a "Don't place this app in a folder that
contains commas in the name!" warning to users.

Thanks for any suggestions.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design






From bogdanoff at me.com  Mon Jul 15 18:33:25 2013
From: bogdanoff at me.com (Peter Bogdanoff)
Date: Mon, 15 Jul 2013 18:33:25 -0400
Subject: Mac to Chinese Windows--ASCII value greater than 127
In-Reply-To: 
References: <6663F3C8-20F3-4735-809B-B8CD9D2160CB@wanadoo.fr>
	<51E2F52D.1040207@economy-x-talk.com>
	
Message-ID: 

Hi,

I'm having a problem where a compiled stack is showing high-ASCII characters improperly for users in China who are on Windows.

This is text in fields that contain diacriticals. The stack was created on a Mac and text displays properly for Windows users in the USA.

However, the couple of Windows users in China who are using the program to do a English to Chinese translation for us are seeing a Chinese character where there should be displaying a roman diacritical character.

Is there something in their Chinese Windows installations that would cause this? They have downloaded and installed the Helvetica and Georgia fonts that we use.

Any suggestions are appreciated.

Peter Bogdanoff
UCLA


From monte at sweattechnologies.com  Mon Jul 15 18:52:04 2013
From: monte at sweattechnologies.com (Monte Goulding)
Date: Tue, 16 Jul 2013 08:52:04 +1000
Subject: Managing Long IDs?
In-Reply-To: 
References: 
Message-ID: 


On 16/07/2013, at 8:12 AM, Scott Rossi  wrote:

> Does anybody have a simple means of dealing with this?  urlEncode?
> Something else?  The end result is going to be available to anyone, so
> it's not reasonable to issue a "Don't place this app in a folder that
> contains commas in the name!" warning to users.

Unfortunately my pull request implementing rugged id was rejected. That would have worked well for you. You can always implement a ruggedIDfromLongID function in LiveCode. The other thing is the problem seems to be more in how you are storing your long ids rather than the actual long id. Do you have them as an item in a list?

Cheers

--
Monte Goulding

M E R Goulding - software development services
mergExt - There's an external for that!







From scott at tactilemedia.com  Mon Jul 15 19:01:51 2013
From: scott at tactilemedia.com (Scott Rossi)
Date: Mon, 15 Jul 2013 16:01:51 -0700
Subject: Managing Long IDs?
In-Reply-To: 
Message-ID: 

The IDs aren't really stored, mostly acted upon.  If any are stored, it's
only done for the current session.  And yes, I use long IDs in
return-delimited lists.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 7/15/13 3:52 PM, "Monte Goulding"  wrote:

>
>On 16/07/2013, at 8:12 AM, Scott Rossi  wrote:
>
>> Does anybody have a simple means of dealing with this?  urlEncode?
>> Something else?  The end result is going to be available to anyone, so
>> it's not reasonable to issue a "Don't place this app in a folder that
>> contains commas in the name!" warning to users.
>
>Unfortunately my pull request implementing rugged id was rejected. That
>would have worked well for you. You can always implement a
>ruggedIDfromLongID function in LiveCode. The other thing is the problem
>seems to be more in how you are storing your long ids rather than the
>actual long id. Do you have them as an item in a list?
>
>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 Jul 15 19:04:28 2013
From: monte at sweattechnologies.com (Monte Goulding)
Date: Tue, 16 Jul 2013 09:04:28 +1000
Subject: Managing Long IDs?
In-Reply-To: 
References: 
Message-ID: <6323AC7B-C131-45C6-8151-25FD9DB9E975@sweattechnologies.com>


On 16/07/2013, at 9:01 AM, Scott Rossi  wrote:

> The IDs aren't really stored, mostly acted upon.  If any are stored, it's
> only done for the current session.  And yes, I use long IDs in
> return-delimited lists.

With multiple items per line? Maybe move to arrays if you need a complex data structure.

--
Monte Goulding

M E R Goulding - software development services
mergExt - There's an external for that!







From scott at tactilemedia.com  Mon Jul 15 19:10:35 2013
From: scott at tactilemedia.com (Scott Rossi)
Date: Mon, 15 Jul 2013 16:10:35 -0700
Subject: Managing Long IDs?
In-Reply-To: <6323AC7B-C131-45C6-8151-25FD9DB9E975@sweattechnologies.com>
Message-ID: 

No, the lists aren't the problem, nor is the storage. The existence of
commas (and maybe other characters) in the file paths are the problem.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 7/15/13 4:04 PM, "Monte Goulding"  wrote:

>
>On 16/07/2013, at 9:01 AM, Scott Rossi  wrote:
>
>> The IDs aren't really stored, mostly acted upon.  If any are stored,
>>it's
>> only done for the current session.  And yes, I use long IDs in
>> return-delimited lists.
>
>With multiple items per line? Maybe move to arrays if you need a complex
>data structure.
>
>--
>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  Mon Jul 15 19:08:57 2013
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Mon, 15 Jul 2013 16:08:57 -0700
Subject: Managing Long IDs?
In-Reply-To: 
References: 
Message-ID: <173104364500.20130715160857@ahsoftware.net>

Scott-

Monday, July 15, 2013, 3:12:00 PM, you wrote:

> I recently worked with a client to trace some non-functioning behavior in
> a stack to the use of commas in a folder name where the user placed the
> application and support files. I always use long ids for object
> references, so of course my scripts tripped up where the default
> itemDelimiter (comma) was used.

Commas in a folder name? WTFclients?

Long ids have the file path enclosed in quotes, so ideally the comma
there shouldn't be an issue unless you're trying to pick the path
apart. I've had similar situations with commas in property names (I'm
looking at you, IDE) and dealt with it by

replace comma with "_MAGIC_COMMA_" in tString

and then done the reverse replacement on the way out.

-- 
-Mark Wieder
 mwieder at ahsoftware.net




From monte at sweattechnologies.com  Mon Jul 15 19:13:29 2013
From: monte at sweattechnologies.com (Monte Goulding)
Date: Tue, 16 Jul 2013 09:13:29 +1000
Subject: Managing Long IDs?
In-Reply-To: 
References: 
Message-ID: <83660489-2F28-4ECF-8D16-78D1FF34654E@sweattechnologies.com>


On 16/07/2013, at 9:10 AM, Scott Rossi  wrote:

> No, the lists aren't the problem, nor is the storage. The existence of
> commas (and maybe other characters) in the file paths are the problem.

Do you mean this throws an error if the folder has a comma:
put the long id of me into tID
put the short name of tID

Cheers

--
Monte Goulding

M E R Goulding - software development services
mergExt - There's an external for that!







From dsc at swcp.com  Mon Jul 15 19:16:55 2013
From: dsc at swcp.com (Dar Scott)
Date: Mon, 15 Jul 2013 17:16:55 -0600
Subject: Managing Long IDs?
In-Reply-To: 
References: 
Message-ID: <1FF0E6A6-80EC-4AFC-9684-A83EE8A5219A@swcp.com>

Often I'm able to get by with item n to -1 of something instead of item n.

On Jul 15, 2013, at 5:10 PM, Scott Rossi wrote:

> No, the lists aren't the problem, nor is the storage. The existence of
> commas (and maybe other characters) in the file paths are the problem.
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
> 
> 
> 
> 
> On 7/15/13 4:04 PM, "Monte Goulding"  wrote:
> 
>> 
>> On 16/07/2013, at 9:01 AM, Scott Rossi  wrote:
>> 
>>> The IDs aren't really stored, mostly acted upon.  If any are stored,
>>> it's
>>> only done for the current session.  And yes, I use long IDs in
>>> return-delimited lists.
>> 
>> With multiple items per line? Maybe move to arrays if you need a complex
>> data structure.
>> 
>> --
>> 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 scott at tactilemedia.com  Mon Jul 15 19:26:13 2013
From: scott at tactilemedia.com (Scott Rossi)
Date: Mon, 15 Jul 2013 16:26:13 -0700
Subject: Managing Long IDs?
In-Reply-To: <173104364500.20130715160857@ahsoftware.net>
Message-ID: 

Thanks Mark.  I was hoping there was some encoding thing I could do to
avoid having to translate paths back and forth, but of course that method
can work, and I suppose you'd have to decode an encoded string anyway.

A folder with commas in the name isn't totally implausible.  In this case,
they were using a date as the folder name to reference the contents.  You
and I would never do it, but they (understandably) saw a date as a
reasonable label.

Then there's the hell of slashes.  It seems you have to test for a colon
on OS X.

(Hmm.  That last sentence could be read in a number of ways.)

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 7/15/13 4:08 PM, "Mark Wieder"  wrote:

>Scott-
>
>Monday, July 15, 2013, 3:12:00 PM, you wrote:
>
>> I recently worked with a client to trace some non-functioning behavior
>>in
>> a stack to the use of commas in a folder name where the user placed the
>> application and support files. I always use long ids for object
>> references, so of course my scripts tripped up where the default
>> itemDelimiter (comma) was used.
>
>Commas in a folder name? WTFclients?
>
>Long ids have the file path enclosed in quotes, so ideally the comma
>there shouldn't be an issue unless you're trying to pick the path
>apart. I've had similar situations with commas in property names (I'm
>looking at you, IDE) and dealt with it by
>
>replace comma with "_MAGIC_COMMA_" in tString
>
>and then done the reverse replacement on the way out.
>
>-- 
>-Mark Wieder
> mwieder at ahsoftware.net
>
>
>_______________________________________________
>use-livecode mailing list
>use-livecode at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode
>





From scott at tactilemedia.com  Mon Jul 15 19:30:57 2013
From: scott at tactilemedia.com (Scott Rossi)
Date: Mon, 15 Jul 2013 16:30:57 -0700
Subject: Managing Long IDs?
In-Reply-To: <83660489-2F28-4ECF-8D16-78D1FF34654E@sweattechnologies.com>
Message-ID: 

For example, a line contains an object's long ID + comma + object's loc

If the long ID contains commas, parsing the line fails.

Yes, I could use another delimiter, but this involves changing code and
flipping delimiters in a bunch of places, so I was hoping I could use some
kind of encoding.  Mark's suggestion will work.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 7/15/13 4:13 PM, "Monte Goulding"  wrote:

>
>On 16/07/2013, at 9:10 AM, Scott Rossi  wrote:
>
>> No, the lists aren't the problem, nor is the storage. The existence of
>> commas (and maybe other characters) in the file paths are the problem.
>
>Do you mean this throws an error if the folder has a comma:
>put the long id of me into tID
>put the short name of tID
>
>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 pete at lcsql.com  Mon Jul 15 19:32:10 2013
From: pete at lcsql.com (Peter Haworth)
Date: Mon, 15 Jul 2013 16:32:10 -0700
Subject: Plugin problem
Message-ID: 

I'm having a problem getting one specific plugin to show up in the
Development/Plugins menu.

I've double checked the user extensions path in preferences, even changed
it to point to a different location then changed it back to the correct
one.  Still no luck.

I can see all the other plugins in the plugin folder and if I add any other
stack file to the folder and restart livecode, I see the it there.

If I load the stack in question as a regular stack and not a plugin, it
loads fine and works as expected.

Any ideas on what else to check?


Pete
lcSQL Software 


From monte at sweattechnologies.com  Mon Jul 15 19:45:15 2013
From: monte at sweattechnologies.com (Monte Goulding)
Date: Tue, 16 Jul 2013 09:45:15 +1000
Subject: Managing Long IDs?
In-Reply-To: 
References: 
Message-ID: <2C52C615-8214-4D31-9304-8B6204CD0655@sweattechnologies.com>


On 16/07/2013, at 9:30 AM, Scott Rossi  wrote:

> For example, a line contains an object's long ID + comma + object's loc
> 
> If the long ID contains commas, parsing the line fails.
> 
> Yes, I could use another delimiter, but this involves changing code and
> flipping delimiters in a bunch of places, so I was hoping I could use some
> kind of encoding.  Mark's suggestion will work.

Ah... the curse of comma delimited everything... If that's the only use case then you could just use:
put item 1 to -3 of theLine into theLongID... but it probably is worthwhile changing your data structure.

--
Monte Goulding

M E R Goulding - software development services
mergExt - There's an external for that!







From mwieder at ahsoftware.net  Mon Jul 15 19:44:22 2013
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Mon, 15 Jul 2013 16:44:22 -0700
Subject: Plugin problem
In-Reply-To: 
References: 
Message-ID: <85106490020.20130715164422@ahsoftware.net>

Pete-

Monday, July 15, 2013, 4:32:10 PM, you wrote:

> Any ideas on what else to check?

I take it you've already launched the Plugin Settings stack from the
Development menu and made sure that "Include in Plug-ins menu" is
checked?

-- 
-Mark Wieder
 mwieder at ahsoftware.net




From scott at tactilemedia.com  Mon Jul 15 20:03:59 2013
From: scott at tactilemedia.com (Scott Rossi)
Date: Mon, 15 Jul 2013 17:03:59 -0700
Subject: Managing Long IDs?
In-Reply-To: <2C52C615-8214-4D31-9304-8B6204CD0655@sweattechnologies.com>
Message-ID: 

Hi Monte:

It was just a simple example, but you made me realize I can probably
modify some repeat-for-each functions to use a different delimiter (at
least, I hope repeat-for-each will use the currently set item delimiter).

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 7/15/13 4:45 PM, "Monte Goulding"  wrote:

>
>On 16/07/2013, at 9:30 AM, Scott Rossi  wrote:
>
>> For example, a line contains an object's long ID + comma + object's loc
>> 
>> If the long ID contains commas, parsing the line fails.
>> 
>> Yes, I could use another delimiter, but this involves changing code and
>> flipping delimiters in a bunch of places, so I was hoping I could use
>>some
>> kind of encoding.  Mark's suggestion will work.
>
>Ah... the curse of comma delimited everything... If that's the only use
>case then you could just use:
>put item 1 to -3 of theLine into theLongID... but it probably is
>worthwhile changing your data structure.
>
>--
>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 Jul 15 20:21:50 2013
From: monte at sweattechnologies.com (Monte Goulding)
Date: Tue, 16 Jul 2013 10:21:50 +1000
Subject: Managing Long IDs?
In-Reply-To: 
References: 
Message-ID: <5B37B5AB-E1B4-4EFF-9386-4B9DD28BE207@sweattechnologies.com>


On 16/07/2013, at 10:03 AM, Scott Rossi wrote:

> at
> least, I hope repeat-for-each will use the currently set item delimiter

It does

--
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 Jul 15 20:16:08 2013
From: ambassador at fourthworld.com (Richard Gaskin)
Date: Mon, 15 Jul 2013 17:16:08 -0700
Subject: Managing Long IDs?
In-Reply-To: 
References: 
Message-ID: <51E490C8.4070405@fourthworld.com>

Scott Rossi wrote:
> It was just a simple example, but you made me realize I can probably
> modify some repeat-for-each functions to use a different delimiter (at
> least, I hope repeat-for-each will use the currently set item delimiter).

FWIW, when I try to paste a name for a folder which contains a tab, both 
Win XP and OS X complain and won't let me do it.

--
  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  Follow me on Twitter:  http://twitter.com/FourthWorldSys



From bvlahos at mac.com  Mon Jul 15 20:20:35 2013
From: bvlahos at mac.com (Bill Vlahos)
Date: Mon, 15 Jul 2013 17:20:35 -0700
Subject: Plugin problem
In-Reply-To: 
References: 
Message-ID: <3BE04E5E-84F7-49F9-844B-328B88BB265A@mac.com>

Pete,

Is this in the Community Edition? It won't load the plugin if the plugin or any of its substacks are password protected.

I saw this with lcTaskLIst plugin which is why I have released the plugin without password protection.

Bill Vlahos
_________________
InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure.
lcTaskList: (http://www.infowallet.com/lctasklist/index.htm)
RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61)

On Jul 15, 2013, at 4:32 PM, Peter Haworth  wrote:

> I'm having a problem getting one specific plugin to show up in the
> Development/Plugins menu.
> 
> I've double checked the user extensions path in preferences, even changed
> it to point to a different location then changed it back to the correct
> one.  Still no luck.
> 
> I can see all the other plugins in the plugin folder and if I add any other
> stack file to the folder and restart livecode, I see the it there.
> 
> If I load the stack in question as a regular stack and not a plugin, it
> loads fine and works as expected.
> 
> Any ideas on what else to check?
> 
> 
> 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  Mon Jul 15 20:33:13 2013
From: pete at lcsql.com (Peter Haworth)
Date: Mon, 15 Jul 2013 17:33:13 -0700
Subject: Plugin problem
In-Reply-To: <85106490020.20130715164422@ahsoftware.net>
References: 
	<85106490020.20130715164422@ahsoftware.net>
Message-ID: 

Hi Mark,
I hadn't actually and that was the problem, thanks for that.  Also strange
was that none of the buttons to do with when the stack is loaded were
hilited.  SOmething mangled the cRevLoadInfo properties I guess.

Pete
lcSQL Software 


On Mon, Jul 15, 2013 at 4:44 PM, Mark Wieder  wrote:

> Pete-
>
> Monday, July 15, 2013, 4:32:10 PM, you wrote:
>
> > Any ideas on what else to check?
>
> I take it you've already launched the Plugin Settings stack from the
> Development menu and made sure that "Include in Plug-ins menu" is
> checked?
>
> --
> -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  Mon Jul 15 20:33:51 2013
From: pete at lcsql.com (Peter Haworth)
Date: Mon, 15 Jul 2013 17:33:51 -0700
Subject: Plugin problem
In-Reply-To: <3BE04E5E-84F7-49F9-844B-328B88BB265A@mac.com>
References: 
	<3BE04E5E-84F7-49F9-844B-328B88BB265A@mac.com>
Message-ID: 

Thanks Bill.  This was in 5.5.4.  Mark's reply put me on the right track.

Pete
lcSQL Software 


On Mon, Jul 15, 2013 at 5:20 PM, Bill Vlahos  wrote:

> Pete,
>
> Is this in the Community Edition? It won't load the plugin if the plugin
> or any of its substacks are password protected.
>
> I saw this with lcTaskLIst plugin which is why I have released the plugin
> without password protection.
>
> Bill Vlahos
> _________________
> InfoWallet (http://www.infowallet.com) is about keeping your important
> life information with you, accessible, and secure.
> lcTaskList: (http://www.infowallet.com/lctasklist/index.htm)
> RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61)
>
> On Jul 15, 2013, at 4:32 PM, Peter Haworth  wrote:
>
> > I'm having a problem getting one specific plugin to show up in the
> > Development/Plugins menu.
> >
> > I've double checked the user extensions path in preferences, even changed
> > it to point to a different location then changed it back to the correct
> > one.  Still no luck.
> >
> > I can see all the other plugins in the plugin folder and if I add any
> other
> > stack file to the folder and restart livecode, I see the it there.
> >
> > If I load the stack in question as a regular stack and not a plugin, it
> > loads fine and works as expected.
> >
> > Any ideas on what else to check?
> >
> >
> > 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 scott at tactilemedia.com  Mon Jul 15 20:46:48 2013
From: scott at tactilemedia.com (Scott Rossi)
Date: Mon, 15 Jul 2013 17:46:48 -0700
Subject: Managing Long IDs?
In-Reply-To: <51E490C8.4070405@fourthworld.com>
Message-ID: 

Yes, tab is what I used, thanks.

My use case is really unlikely, as most users won't mess with the file
location.  But a good reminder to expect the unexpected when working with
file paths.  And when juggling chainsaws.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 7/15/13 5:16 PM, "Richard Gaskin"  wrote:

>Scott Rossi wrote:
>> It was just a simple example, but you made me realize I can probably
>> modify some repeat-for-each functions to use a different delimiter (at
>> least, I hope repeat-for-each will use the currently set item
>>delimiter).
>
>FWIW, when I try to paste a name for a folder which contains a tab, both
>Win XP and OS X complain and won't let me do it.
>
>--
>  Richard Gaskin
>  Fourth World
>  LiveCode training and consulting: http://www.fourthworld.com
>  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
>  Follow me on Twitter:  http://twitter.com/FourthWorldSys
>
>_______________________________________________
>use-livecode mailing list
>use-livecode at 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 Jul 15 21:36:57 2013
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Mon, 15 Jul 2013 18:36:57 -0700
Subject: Plugin problem
In-Reply-To: 
References: 
	<85106490020.20130715164422@ahsoftware.net>
	
Message-ID: <112113244833.20130715183657@ahsoftware.net>

Pete-

Monday, July 15, 2013, 5:33:13 PM, you wrote:

> I hadn't actually and that was the problem, thanks for that.  Also strange
> was that none of the buttons to do with when the stack is loaded were
> hilited.  SOmething mangled the cRevLoadInfo properties I guess.

Yeah, I've never been really wild about the way that mechanism works.
But it does work, so I can't complain too much.

-- 
-Mark Wieder
 mwieder at ahsoftware.net




From mwieder at ahsoftware.net  Mon Jul 15 21:40:34 2013
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Mon, 15 Jul 2013 18:40:34 -0700
Subject: Managing Long IDs?
In-Reply-To: 
References: 
Message-ID: <64113461329.20130715184034@ahsoftware.net>

Scott-

Monday, July 15, 2013, 5:46:48 PM, you wrote:

> My use case is really unlikely, as most users won't mess with the file
> location.  But a good reminder to expect the unexpected when working with
> file paths.  And when juggling chainsaws.

Chortle. As a QA engineer, I love that "most users" scenario...
"we don't have to fix that... nobody would do that in a real world
situation..."

-- 
-Mark Wieder
 mwieder at ahsoftware.net




From monte at sweattechnologies.com  Mon Jul 15 21:53:44 2013
From: monte at sweattechnologies.com (Monte Goulding)
Date: Tue, 16 Jul 2013 11:53:44 +1000
Subject: [ANN] mergAV 3.5 for iOS and OS X and mergReader 1.1
Message-ID: <9ECC5FFE-9DD6-40B6-8DEB-94DDCD5FC911@sweattechnologies.com>

Hi LiveCoders

Today I'm releasing mergAV 3.5. This release has some new features and bug fixes in addition to the major milestone of an OS X release. The OS X release may only be used with LiveCode 6.1+ because there were some engine changes required to make this happen.

mergReader 1.1 is also available and adds the minor feature of an optionally configurable document title.

For more information please go to http://mergExt.com

Cheers

Monte

--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!



From MikeKerner at roadrunner.com  Mon Jul 15 23:40:22 2013
From: MikeKerner at roadrunner.com (Mike Kerner)
Date: Mon, 15 Jul 2013 23:40:22 -0400
Subject: sqlite ios pragma
Message-ID: 

anybody trying to use that combination:  PRAGMA in sqlite on ios?
Everything else with this DB seems to work fine, but PRAGMA does not -
returns 0 whether I do PRAGMA database_list or table_info(tableName)

-- 
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 scott at tactilemedia.com  Tue Jul 16 00:16:23 2013
From: scott at tactilemedia.com (Scott Rossi)
Date: Mon, 15 Jul 2013 21:16:23 -0700
Subject: Managing Long IDs?
In-Reply-To: <64113461329.20130715184034@ahsoftware.net>
References: 
	<64113461329.20130715184034@ahsoftware.net>
Message-ID: 

Touch?.  At least in my case, I'm adding a fix for the problem.  :-)

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design

On Jul 15, 2013, at 6:40 PM, Mark Wieder  wrote:

> Scott-
> 
> Monday, July 15, 2013, 5:46:48 PM, you wrote:
> 
>> My use case is really unlikely, as most users won't mess with the file
>> location.  But a good reminder to expect the unexpected when working with
>> file paths.  And when juggling chainsaws.
> 
> Chortle. As a QA engineer, I love that "most users" scenario...
> "we don't have to fix that... nobody would do that in a real world
> situation..."
> 
> -- 
> -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 richmondmathewson at gmail.com  Tue Jul 16 02:42:33 2013
From: richmondmathewson at gmail.com (Richmond)
Date: Tue, 16 Jul 2013 09:42:33 +0300
Subject: Mac to Chinese Windows--ASCII value greater than 127
In-Reply-To: 
References: <6663F3C8-20F3-4735-809B-B8CD9D2160CB@wanadoo.fr>
	<51E2F52D.1040207@economy-x-talk.com>
	
	
Message-ID: <51E4EB59.9020803@gmail.com>

On 16/07/13 01:33, Peter Bogdanoff wrote:
> Hi,
>
> I'm having a problem where a compiled stack is showing high-ASCII characters improperly for users in China who are on Windows.
>
> This is text in fields that contain diacriticals. The stack was created on a Mac and text displays properly for Windows users in the USA.
>
> However, the couple of Windows users in China who are using the program to do a English to Chinese translation for us are seeing a Chinese character where there should be displaying a roman diacritical character.
>
> Is there something in their Chinese Windows installations that would cause this? They have downloaded and installed the Helvetica and Georgia fonts that we use.
>
> Any suggestions are appreciated.
>
> 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

I suspect you will have to convert everything to Unicode.

In fact, not to be blunt or anything, but making any sort of stack using 
chars that are not in the first
ASCII set (1-127) without unicode is a pretty risky business.

Just now I am knocking together a little widget for people who want to 
insert bits of Anglo-Saxon text
into their academic stuff (typing anything using chars above 127 is a 
pain in all the office suites I know:
Callingra, OOO, Libre, Kingsoft, MSO, ThinkFree), and just for end users 
to insert a thorn or an eth
requires unicode to be fully functional cross-platform.

Richmond.



From toolbook at kestner.de  Tue Jul 16 04:06:23 2013
From: toolbook at kestner.de (Tiemo Hollmann TB)
Date: Tue, 16 Jul 2013 10:06:23 +0200
Subject: can I customize the label of the ask buttons?
Message-ID: <002501ce81fb$5d6b71a0$184254e0$@de>

Hello,

is there any hidden tweak to customize the labels of the standard ask
dialog? E.g. localize the  "cancel" text?

Or do I have to build my own ask dialog window?

Thanks

Tiemo

 

 

 



From richmondmathewson at gmail.com  Tue Jul 16 06:23:51 2013
From: richmondmathewson at gmail.com (Richmond)
Date: Tue, 16 Jul 2013 13:23:51 +0300
Subject: can I customize the label of the ask buttons?
In-Reply-To: <002501ce81fb$5d6b71a0$184254e0$@de>
References: <002501ce81fb$5d6b71a0$184254e0$@de>
Message-ID: <51E51F37.3030300@gmail.com>

On 16/07/13 11:06, Tiemo Hollmann TB wrote:
> Hello,
>
> is there any hidden tweak to customize the labels of the standard ask
> dialog? E.g. localize the  "cancel" text?
>
> Or do I have to build my own ask dialog window?
>
> Thanks
>
> Tiemo
>
>   

If you look in the appbrowser stack after you have called an Ask Dialog at
least once you should see 'Ask Dialog' there: double click on the thing
and it will open as a standard stack with editable objects . . .

Richmond.



From toolbook at kestner.de  Tue Jul 16 07:14:16 2013
From: toolbook at kestner.de (Tiemo Hollmann TB)
Date: Tue, 16 Jul 2013 13:14:16 +0200
Subject: AW: can I customize the label of the ask buttons?
In-Reply-To: <51E51F37.3030300@gmail.com>
References: <002501ce81fb$5d6b71a0$184254e0$@de> <51E51F37.3030300@gmail.com>
Message-ID: <006201ce8215$9cacfdb0$d606f910$@de>

Hello Richmond,

I don't find any system object in the appbrowser. Is there any preference
option to see the system stacks in the appbrowser I don't know?
And if I find this change. Is it made for the specific LC version for all
new applications build with this version or is it connected to my current
main stack and persistent for all following LC versions and standalone
builds?
Thanks
Tiemo



> -----Urspr?ngliche Nachricht-----
> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im
Auftrag
> von Richmond
> Gesendet: Dienstag, 16. Juli 2013 12:24
> An: How to use LiveCode
> Betreff: Re: can I customize the label of the ask buttons?
> 
> On 16/07/13 11:06, Tiemo Hollmann TB wrote:
> > Hello,
> >
> > is there any hidden tweak to customize the labels of the standard ask
> > dialog? E.g. localize the  "cancel" text?
> >
> > Or do I have to build my own ask dialog window?
> >
> > Thanks
> >
> > Tiemo
> >
> >
> 
> If you look in the appbrowser stack after you have called an Ask Dialog at
> least once you should see 'Ask Dialog' there: double click on the thing
and
> it will open as a standard stack with editable objects . . .
> 
> 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 klaus at major-k.de  Tue Jul 16 07:18:31 2013
From: klaus at major-k.de (Klaus major-k)
Date: Tue, 16 Jul 2013 13:18:31 +0200
Subject: can I customize the label of the ask buttons?
In-Reply-To: <006201ce8215$9cacfdb0$d606f910$@de>
References: <002501ce81fb$5d6b71a0$184254e0$@de> <51E51F37.3030300@gmail.com>
	<006201ce8215$9cacfdb0$d606f910$@de>
Message-ID: 

Hi Tiemo,

Am 16.07.2013 um 13:14 schrieb "Tiemo Hollmann TB" :

> Hello Richmond,
> 
> I don't find any system object in the appbrowser. Is there any preference
> option to see the system stacks in the appbrowser I don't know?
> And if I find this change. Is it made for the specific LC version for all
> new applications build with this version or is it connected to my current
> main stack and persistent for all following LC versions and standalone
> builds?

enter this in the message box:
toplevel "Ask Dialog" 
## or "Answer Dialog"

And start modifying! And don't forget to save!

The "Cancel" button needs to be a bit wider to display "Abbrechen" :-)
Unfortunately you need to do this with every new version of Livecode.

> Thanks
> Tiemo

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de




From toolbook at kestner.de  Tue Jul 16 07:35:30 2013
From: toolbook at kestner.de (Tiemo Hollmann TB)
Date: Tue, 16 Jul 2013 13:35:30 +0200
Subject: AW: can I customize the label of the ask buttons?
In-Reply-To: 
References: <002501ce81fb$5d6b71a0$184254e0$@de>
	<51E51F37.3030300@gmail.com>	<006201ce8215$9cacfdb0$d606f910$@de>
	
Message-ID: <006301ce8218$93fc1400$bbf43c00$@de>

Thanks Klaus, that was an easy one :)
There also was the answer to the two different fonts of the two buttons
since LC 6.1.
Tiemo


> -----Urspr?ngliche Nachricht-----
> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im
Auftrag
> von Klaus major-k
> Gesendet: Dienstag, 16. Juli 2013 13:19
> An: How to use LiveCode
> Betreff: Re: can I customize the label of the ask buttons?
> 
> Hi Tiemo,
> 
> Am 16.07.2013 um 13:14 schrieb "Tiemo Hollmann TB" :
> 
> > Hello Richmond,
> >
> > I don't find any system object in the appbrowser. Is there any
> > preference option to see the system stacks in the appbrowser I don't
> know?
> > And if I find this change. Is it made for the specific LC version for
> > all new applications build with this version or is it connected to my
> > current main stack and persistent for all following LC versions and
> > standalone builds?
> 
> enter this in the message box:
> toplevel "Ask Dialog"
> ## or "Answer Dialog"
> 
> And start modifying! And don't forget to save!
> 
> The "Cancel" button needs to be a bit wider to display "Abbrechen" :-)
> Unfortunately you need to do this with every new version of Livecode.
> 
> > Thanks
> > Tiemo
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> http://www.major-k.de
> klaus at major-k.de
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




From klaus at major-k.de  Tue Jul 16 07:37:24 2013
From: klaus at major-k.de (Klaus major-k)
Date: Tue, 16 Jul 2013 13:37:24 +0200
Subject: can I customize the label of the ask buttons?
In-Reply-To: <006301ce8218$93fc1400$bbf43c00$@de>
References: <002501ce81fb$5d6b71a0$184254e0$@de>
	<51E51F37.3030300@gmail.com>	<006201ce8215$9cacfdb0$d606f910$@de>
	
	<006301ce8218$93fc1400$bbf43c00$@de>
Message-ID: 

Hi Tiemo,

Am 16.07.2013 um 13:35 schrieb "Tiemo Hollmann TB" :

> Thanks Klaus, that was an easy one :)

hey, its Livecode, isn't it? :-D

> There also was the answer to the two different fonts of the two buttons
> since LC 6.1.

Ah, great, two flies with one hit (oder so ;-)

> Tiemo

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de




From toolbook at kestner.de  Tue Jul 16 08:09:35 2013
From: toolbook at kestner.de (Tiemo Hollmann TB)
Date: Tue, 16 Jul 2013 14:09:35 +0200
Subject: AW: can I customize the label of the ask buttons?
In-Reply-To: 
References: <002501ce81fb$5d6b71a0$184254e0$@de>	<51E51F37.3030300@gmail.com>	<006201ce8215$9cacfdb0$d606f910$@de>		<006301ce8218$93fc1400$bbf43c00$@de>
	
Message-ID: <006701ce821d$56e36a50$04aa3ef0$@de>

When trying to save I get the error "can't open stack backup file"
Any idea?
Tiemo


> -----Urspr?ngliche Nachricht-----
> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im
Auftrag
> von Klaus major-k
> Gesendet: Dienstag, 16. Juli 2013 13:37
> An: How to use LiveCode
> Betreff: Re: can I customize the label of the ask buttons?
> 
> Hi Tiemo,
> 
> Am 16.07.2013 um 13:35 schrieb "Tiemo Hollmann TB" :
> 
> > Thanks Klaus, that was an easy one :)
> 
> hey, its Livecode, isn't it? :-D
> 
> > There also was the answer to the two different fonts of the two
> > buttons since LC 6.1.
> 
> Ah, great, two flies with one hit (oder so ;-)
> 
> > Tiemo
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> http://www.major-k.de
> klaus at major-k.de
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




From klaus at major-k.de  Tue Jul 16 08:25:24 2013
From: klaus at major-k.de (Klaus major-k)
Date: Tue, 16 Jul 2013 14:25:24 +0200
Subject: can I customize the label of the ask buttons?
In-Reply-To: <006701ce821d$56e36a50$04aa3ef0$@de>
References: <002501ce81fb$5d6b71a0$184254e0$@de>	<51E51F37.3030300@gmail.com>	<006201ce8215$9cacfdb0$d606f910$@de>		<006301ce8218$93fc1400$bbf43c00$@de>
	
	<006701ce821d$56e36a50$04aa3ef0$@de>
Message-ID: 

Hi Tiemo,

Am 16.07.2013 um 14:09 schrieb "Tiemo Hollmann TB" :

> When trying to save I get the error "can't open stack backup file"
> Any idea?

No, works fine here in the Community version!?
Do you have write permission in the folder where Livecode resides?

Try to save the stack as revaskdialog.rev somewhere on your hd, 
quit Livecode and replace that namely stack in the FInder/Desktop.

> Tiemo

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de




From toolbook at kestner.de  Tue Jul 16 08:29:18 2013
From: toolbook at kestner.de (Tiemo Hollmann TB)
Date: Tue, 16 Jul 2013 14:29:18 +0200
Subject: AW: can I customize the label of the ask buttons?
In-Reply-To: 
References: <002501ce81fb$5d6b71a0$184254e0$@de>	<51E51F37.3030300@gmail.com>	<006201ce8215$9cacfdb0$d606f910$@de>		<006301ce8218$93fc1400$bbf43c00$@de>		<006701ce821d$56e36a50$04aa3ef0$@de>
	
Message-ID: <006801ce8220$18113bb0$4833b310$@de>

My permissions are ok, thanks for the workaround!
Tiemo

> -----Urspr?ngliche Nachricht-----
> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im
Auftrag
> von Klaus major-k
> Gesendet: Dienstag, 16. Juli 2013 14:25
> An: How to use LiveCode
> Betreff: Re: can I customize the label of the ask buttons?
> 
> Hi Tiemo,
> 
> Am 16.07.2013 um 14:09 schrieb "Tiemo Hollmann TB" :
> 
> > When trying to save I get the error "can't open stack backup file"
> > Any idea?
> 
> No, works fine here in the Community version!?
> Do you have write permission in the folder where Livecode resides?
> 
> Try to save the stack as revaskdialog.rev somewhere on your hd, quit
> Livecode and replace that namely stack in the FInder/Desktop.
> 
> > Tiemo
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> http://www.major-k.de
> klaus at major-k.de
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




From MikeKerner at roadrunner.com  Tue Jul 16 11:36:07 2013
From: MikeKerner at roadrunner.com (Mike Kerner)
Date: Tue, 16 Jul 2013 11:36:07 -0400
Subject: out-of-the-blue codesigning error
In-Reply-To: 
References: <4FB0A65D-530C-497E-9E13-E1BB27442CE8@businessplaninsight.com>
	
Message-ID: 

Wow.  This gets weirder and weirder.  I CAN build apps with XCode, but not
LiveCode.


On Mon, Jul 15, 2013 at 8:05 AM, Mike Kerner wrote:

> Yeah, tried that.  I also deleted all my profiles, certs, etc. and
> re-installed them all, too.  No luck yet...
>
>
> On Mon, Jul 15, 2013 at 6:42 AM, Dave Kilroy  > wrote:
>
>> Mike,
>>
>> LiveCode's 'Profile' drop-down in the iOS Standalone Settings Dialog Box
>> can sometimes display out of date provisioning profiles.
>>
>> If you haven't yet fixed your problem it may be worth checking that you
>> have cleared out old Provisioning Profiles and that LiveCode isn't
>> presenting you with 'bad' profiles each time you build a standalone.
>>
>> To ensure that this doesn't happen repeat many of the steps Chris
>> Sheffiled suggested and go back to Xcode's Organiser window, select
>> 'Provisioning Profiles' and hit the 'Refresh' button - once Xcode has
>> finished refreshing your profiles, examine the list and if any appear to be
>> older versions of newer profiles which Xcode has just verified delete them
>> on your local system by right-clicking and choosing 'Delete Profile' (this
>> command only deletes the local file).
>>
>> When you are sure your list of profiles doesn't contain anything
>> out-of-date launch LiveCode (or close and relaunch if it was open) and now
>> you can be sure the 'Profile' drop-down will only offer you valid,
>> up-to-date profiles - hope this helps...
>>
>> Good luck!
>>
>> Dave
>>
>>
>> > At times I have had to delete an app before updating it, especially
>> when there are provisioning changes.
>> >
>> > All day yesterday I read the subject to be about co-designing rather
>> than code-signing, a different interesting topic.
>> >
>> > Dar
>> >
>> > On Jul 12, 2013, at 9:11 AM, Mike Kerner wrote:
>> >
>> >> thanks, Chris, but that didn't fix it, either.  It's really weird -
>> even
>> >> the wildcard certificate doesn't work for a brand-spaking new stack
>> with
>> >> nothing else attached to it.
>> >>
>> >>
>> >> On Fri, Jul 12, 2013 at 10:34 AM, Chris Sheffield <
>> cmsheffield at icloud.com>wrote:
>> >>
>> >>> Mike,
>> >>>
>> >>> Try this if you haven't already.
>> >>>
>> >>> Launch Xcode and open the Organizer window. Select "Provisioning
>> Profiles"
>> >>> on the left, then hit the Refresh button on the lower right. This
>> will sort
>> >>> of sync everything up between Apple's dev portal and your computer.
>> After
>> >>> that's done, try building your app again, making sure there's a valid
>> >>> profile selected before doing so. Sometimes, at least in my case,
>> >>> refreshing the profiles will add/delete them, so in your standalone
>> >>> settings nothing will be selected.
>> >>>
>> >>> Not entirely sure if this will help, but it's worth a try.
>> >>>
>> >>> 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."
>



-- 
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 jiml at netrin.com  Tue Jul 16 12:13:45 2013
From: jiml at netrin.com (Jim Lambert)
Date: Tue, 16 Jul 2013 09:13:45 -0700
Subject: [ANN] mergAV 3.5 for iOS and OS X and mergReader 1.1
In-Reply-To: 
References: 
Message-ID: 

Monte,

Thanks for continuing to enhance your brilliant externals.

Jim Lambert



From monte at sweattechnologies.com  Tue Jul 16 15:49:49 2013
From: monte at sweattechnologies.com (Monte Goulding)
Date: Wed, 17 Jul 2013 05:49:49 +1000
Subject: [ANN] mergAV 3.5 for iOS and OS X and mergReader 1.1
In-Reply-To: 
References: 
	
Message-ID: <86EB1C29-1B73-4324-88CB-80D46460C6C3@sweattechnologies.com>


On 17/07/2013, at 2:13 AM, Jim Lambert  wrote:

> Thanks for continuing to enhance your brilliant externals.

Thanks Jim

--
Monte Goulding

M E R Goulding - software development services
mergExt - There's an external for that!







From pderocco at ix.netcom.com  Tue Jul 16 20:57:37 2013
From: pderocco at ix.netcom.com (Paul D. DeRocco)
Date: Tue, 16 Jul 2013 17:57:37 -0700
Subject: How can I edit a built-in cursors
Message-ID: 

I'd like to create a modified version of one of the standard cursors (the
"hand"). Is that stored somewhere inside LiveCode, and if so, how can I get
the images into an icon editor like ICOFX or other graphics editor like
Photoshop? I can't copy it to the clipboard with a screen capture because
that doesn't capture the cursor.

-- 

Ciao,               Paul D. DeRocco
Paul                mailto:pderocco at ix.netcom.com 
 




From jacque at hyperactivesw.com  Tue Jul 16 22:55:49 2013
From: jacque at hyperactivesw.com (J. Landman Gay)
Date: Tue, 16 Jul 2013 21:55:49 -0500
Subject: QT playback of remote files
Message-ID: <51E607B5.7090505@hyperactivesw.com>

My project loads a player with a URL to a remote audio file on a fast 
server like this:

set the filename of player 1 to https://xxx.xxx.xxxx.m4a
start player 1

Sometimes it works fine, but frequently nothing plays. I think, but am 
not positive, that I've traced it to an issue where the player tries to 
start but the downloaded temp file doesn't have enough data yet to play. 
When that happens, the player reports that it's paused property is 
false, and the result is empty, so I think it's trying to play an empty 
(or minimal) file. It won't play, pause, or restart after that unless I 
re-load the URL, and when I do, it plays just fine.

If I introduce a brief wait it works almost all the time:

set the filename of player 1 to https://xxx.xxx.xxxx.m4a
wait 100 milliseconds
start player 1

But occasionally that fails too. If I increase the wait to 300 
milliseconds it seems to always work, but there's a noticeable delay in 
playback which is undesirable. I'm also thinking that the wait will 
probably need to vary depending on the state of the current network 
connection.

My questions:

Is my diagnosis correct?

Shouldn't the player take care of all that by itself? I.e., start 
playing as soon as possible? If I start it too soon, it hangs and never 
plays.

Is there a way for the script to know when enough data has been received 
so I know how long to wait?

LiveCode 6.1, if that makes a difference. I'm aware of the open sockets 
issue that https can cause, but there are never any open sockets when I 
check.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



From gcanyon at gmail.com  Tue Jul 16 23:40:07 2013
From: gcanyon at gmail.com (Geoff Canyon)
Date: Tue, 16 Jul 2013 22:40:07 -0500
Subject: Managing Long IDs?
In-Reply-To: 
References: 
Message-ID: 

Arrays are your friend here. If that's too much trouble, you could switch to numtochar(N) with N < 9, or simply escape the commas on the way in and out, but still: arrays.

Sent from my iPad

On Jul 15, 2013, at 6:30 PM, Scott Rossi  wrote:

> For example, a line contains an object's long ID + comma + object's loc



From jacque at hyperactivesw.com  Wed Jul 17 00:43:37 2013
From: jacque at hyperactivesw.com (J. Landman Gay)
Date: Tue, 16 Jul 2013 23:43:37 -0500
Subject: How can I edit a built-in cursors
In-Reply-To: 
References: 
Message-ID: <51E620F9.40400@hyperactivesw.com>

On 7/16/13 7:57 PM, Paul D. DeRocco wrote:
> I'd like to create a modified version of one of the standard cursors (the
> "hand"). Is that stored somewhere inside LiveCode, and if so, how can I get
> the images into an icon editor like ICOFX or other graphics editor like
> Photoshop? I can't copy it to the clipboard with a screen capture because
> that doesn't capture the cursor.
>

If I remember right, the cursors are in a stack named "revCursors". Try 
this:

    toplevel "revCursors"

and see what's in there.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



From dsc at swcp.com  Wed Jul 17 00:59:28 2013
From: dsc at swcp.com (Dar Scott)
Date: Tue, 16 Jul 2013 22:59:28 -0600
Subject: Managing Long IDs?
In-Reply-To: 
References: 
	
Message-ID: <59FA36BD-BF43-4A04-AF74-D896E6D44BBC@swcp.com>

I agree about arrays.

However, for me, there are cases such as the items of the lines of the pendingMessages.  There one has to be clever (careful?) in chunk expressions.  

Dar

On Jul 16, 2013, at 9:40 PM, Geoff Canyon wrote:

> Arrays are your friend here. If that's too much trouble, you could switch to numtochar(N) with N < 9, or simply escape the commas on the way in and out, but still: arrays.
> 
> Sent from my iPad
> 
> On Jul 15, 2013, at 6:30 PM, Scott Rossi  wrote:
> 
>> For example, a line contains an object's long ID + comma + object's loc
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




From pderocco at ix.netcom.com  Wed Jul 17 03:01:32 2013
From: pderocco at ix.netcom.com (Paul D. DeRocco)
Date: Wed, 17 Jul 2013 00:01:32 -0700
Subject: How can I edit a built-in cursors
In-Reply-To: <51E620F9.40400@hyperactivesw.com>
References: 
	<51E620F9.40400@hyperactivesw.com>
Message-ID: 

> From: J. Landman Gay
> 
> If I remember right, the cursors are in a stack named 
> "revCursors". Try 
> this:
> 
>     toplevel "revCursors"
> 
> and see what's in there.

Thanks. Turns out there's also a revMacIcons.rev stack, too, with somewhat
different versions. Using "toplevel" didn't work, but enabling "LiveCode
elements in lists", and then double-clicking on the stack, brought it up.
Then, the inspector on the individual icon includes a button with a pencil
that opens it in a user-chosen image editor. With that I was able to create
new versions in Photoshop.

-- 

Ciao,               Paul D. DeRocco
Paul                mailto:pderocco at ix.netcom.com 




From m.schonewille at economy-x-talk.com  Wed Jul 17 05:37:28 2013
From: m.schonewille at economy-x-talk.com (Mark Schonewille)
Date: Wed, 17 Jul 2013 11:37:28 +0200
Subject: sqlite ios pragma
In-Reply-To: 
References: 
Message-ID: <51E665D8.70305@economy-x-talk.com>

Hi Mike,

The external doesn't include PRAGMA. It needs to be rewritten for that.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other 
colour spaces. http://www.color-converter.com

Buy my new book "Programming LiveCode for the Real Beginner" 
http://qery.us/3fi

Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 7/16/2013 05:40, Mike Kerner wrote:
> anybody trying to use that combination:  PRAGMA in sqlite on ios?
> Everything else with this DB seems to work fine, but PRAGMA does not -
> returns 0 whether I do PRAGMA database_list or table_info(tableName)
>



From m.schonewille at economy-x-talk.com  Wed Jul 17 05:38:36 2013
From: m.schonewille at economy-x-talk.com (Mark Schonewille)
Date: Wed, 17 Jul 2013 11:38:36 +0200
Subject: Walter Brown
In-Reply-To: 
References: <51D47365.1020002@economy-x-talk.com>
	
Message-ID: <51E6661C.3070605@economy-x-talk.com>

Walt,

I updated my contact info, but I still haven't got an e-mail from you.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other 
colour spaces. http://www.color-converter.com

Buy my new book "Programming LiveCode for the Real Beginner" 
http://qery.us/3fi

Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 7/15/2013 17:07, Walt Brown wrote:
> Hi Mark. My contact info is:
> Walt Brown



>
>




From m.schonewille at economy-x-talk.com  Wed Jul 17 05:44:07 2013
From: m.schonewille at economy-x-talk.com (Mark Schonewille)
Date: Wed, 17 Jul 2013 11:44:07 +0200
Subject: sqlite ios pragma
In-Reply-To: <51E665D8.70305@economy-x-talk.com>
References: 
	<51E665D8.70305@economy-x-talk.com>
Message-ID: <51E66767.90807@economy-x-talk.com>

Hi again Mike,

I've just been told that PRAGMA does exist on the desktop version of 
LiveCode now (thanks Bj?rnke). It might also work on iOS. Perhaps you 
need to post some code.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other 
colour spaces. http://www.color-converter.com

Buy my new book "Programming LiveCode for the Real Beginner" 
http://qery.us/3fi

Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

> On 7/16/2013 05:40, Mike Kerner wrote:
>> anybody trying to use that combination:  PRAGMA in sqlite on ios?
>> Everything else with this DB seems to work fine, but PRAGMA does not -
>> returns 0 whether I do PRAGMA database_list or table_info(tableName)
>>
>



From bvg at mac.com  Wed Jul 17 05:47:49 2013
From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=)
Date: Wed, 17 Jul 2013 11:47:49 +0200
Subject: sqlite ios pragma
In-Reply-To: <51E66767.90807@economy-x-talk.com>
References: 
	<51E665D8.70305@economy-x-talk.com> <51E66767.90807@economy-x-talk.com>
Message-ID: 

To be precise, the following code works for me (some parts removed):

   put the selectedText of me into theName
   put revopendatabase("sqlite",field "path",,,) into theID
   put revDataFromQuery(comma,,theID, "PRAGMA table_info =" && theName) into myPragma
   if myPragma begins with "revdberr" then
      answer "error in Database: Pragma failed:" && myPragma & return & myQuery
      exit to top
   else if myPragma <> "" then
      --0,ID,INTEGER,1,,1
      repeat for each line theLine in myPragma
         put item 3 of theLine & comma after theTypes
      end repeat
      delete char -1 of theTypes
   end if

On 17.07.2013, at 11:44, Mark Schonewille wrote:

> Hi again Mike,
> 
> I've just been told that PRAGMA does exist on the desktop version of LiveCode now (thanks Bj?rnke). It might also work on iOS. Perhaps you need to post some code.
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
> 
> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com
> 
> Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi
> 
> Fill out this survey please
> http://livecodebeginner.economy-x-talk.com/survey/
> 
>> On 7/16/2013 05:40, Mike Kerner wrote:
>>> anybody trying to use that combination:  PRAGMA in sqlite on ios?
>>> Everything else with this DB seems to work fine, but PRAGMA does not -
>>> returns 0 whether I do PRAGMA database_list or table_info(tableName)
>>> 
>> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at 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 sims at ezpzapps.com  Wed Jul 17 07:00:03 2013
From: sims at ezpzapps.com (Jim sims)
Date: Wed, 17 Jul 2013 13:00:03 +0200
Subject: iPad splash screen blocks
Message-ID: 

Using 5.5.5 livecode

When iPad app opens the splash screen stays there and blocks use of the app.

Any suggestions for a cure?

sims


From livfoss at mac.com  Wed Jul 17 08:46:47 2013
From: livfoss at mac.com (Graham Samuel)
Date: Wed, 17 Jul 2013 14:46:47 +0200
Subject: Text and html text
Message-ID: <5A5B4946-A617-4FA8-B066-BA1EF02616AA@mac.com>

I was asked to do some editing of a field with a lot of text in it in someone else's program. The field consists of lines, some of which are in the default color (black) and some in red. I couldn't find a reliable way of doing find and replace on the field in situ, so I copied the whole contents and pasted it into a simple text editor (TextEdit on the Mac). All the text came across, but when I'd edited it and pasted it back, it didn't look the same (for example, the line spacing looked wrong). I then looked at all the properties of the original field (prior to my edit), where the text was revealed to be the htmlText of the field, with included paragraph (

) and color markers etc. I copied that into TextEdit, edited it and tried to paste it back - but I could see all the markers. I realised that I had somehow replaced htmlText with plain text in the field. I then tried to correct this by executing the following in the message box: set the htmlText of fld "MyField" to the text of fld "MyField" Nothing happened. How can I get back to the original situation after editing the text? TIA Graham From mcgrath3 at mac.com Wed Jul 17 09:16:35 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 17 Jul 2013 09:16:35 -0400 Subject: Text and html text In-Reply-To: <5A5B4946-A617-4FA8-B066-BA1EF02616AA@mac.com> References: <5A5B4946-A617-4FA8-B066-BA1EF02616AA@mac.com> Message-ID: <54EF6F09-2342-4E68-866D-4687EE8492FC@mac.com> Maybe too many steps were involved. If you pasted:

Bold

Regular

into the field and see the markers then: set the htmlText of fld "MyField" to the text of fld "MyField" should work. -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jul 17, 2013, at 8:46 AM, Graham Samuel wrote: > I was asked to do some editing of a field with a lot of text in it in someone else's program. The field consists of lines, some of which are in the default color (black) and some in red. I couldn't find a reliable way of doing find and replace on the field in situ, so I copied the whole contents and pasted it into a simple text editor (TextEdit on the Mac). All the text came across, but when I'd edited it and pasted it back, it didn't look the same (for example, the line spacing looked wrong). I then looked at all the properties of the original field (prior to my edit), where the text was revealed to be the htmlText of the field, with included paragraph (

) and color markers etc. I copied that into TextEdit, edited it and tried to paste it back - but I could see all the markers. I realised that I had somehow replaced htmlText with plain text in the field. I then tried to correct this by executing the following in the message box: > > set the htmlText of fld "MyField" to the text of fld "MyField" > > Nothing happened. > > How can I get back to the original situation after editing the text? > > 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 ambassador at fourthworld.com Wed Jul 17 09:45:49 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 17 Jul 2013 06:45:49 -0700 Subject: QT playback of remote files In-Reply-To: <51E607B5.7090505@hyperactivesw.com> References: <51E607B5.7090505@hyperactivesw.com> Message-ID: <51E6A00D.1080609@fourthworld.com> Not sure if this will help, but I've had cases in which setting the player's filename to empty in between loading actual remote videos has helped. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From jacque at hyperactivesw.com Wed Jul 17 10:44:38 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 17 Jul 2013 09:44:38 -0500 Subject: QT playback of remote files In-Reply-To: <51E6A00D.1080609@fourthworld.com> References: <51E607B5.7090505@hyperactivesw.com> <51E6A00D.1080609@fourthworld.com> Message-ID: Richard Gaskin wrote: >Not sure if this will help, but I've had cases in which setting the >player's filename to empty in between loading actual remote videos has >helped. Thanks, it's my habit to do that too so it's already in there. I keep thinking the player should know by itself when it's safe to start playback. Grumble. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Wed Jul 17 10:42:26 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 17 Jul 2013 17:42:26 +0300 Subject: Text and html text In-Reply-To: <5A5B4946-A617-4FA8-B066-BA1EF02616AA@mac.com> References: <5A5B4946-A617-4FA8-B066-BA1EF02616AA@mac.com> Message-ID: <51E6AD52.4010008@gmail.com> On 07/17/2013 03:46 PM, Graham Samuel wrote: > I was asked to do some editing of a field with a lot of text in it in someone else's program. The field consists of lines, some of which are in the default color (black) and some in red. I couldn't find a reliable way of doing find and replace on the field in situ, so I copied the whole contents and pasted it into a simple text editor (TextEdit on the Mac). All the text came across, but when I'd edited it and pasted it back, it didn't look the same (for example, the line spacing looked wrong). I then looked at all the properties of the original field (prior to my edit), where the text was revealed to be the htmlText of the field, with included paragraph (

) and color markers etc. I copied that into TextEdit, edited it and tried to paste it back - but I could see all the markers. I realised that I had somehow replaced htmlText with plain text in the field. I then tried to correct this by executing the following in the message box: > > set the htmlText of fld "MyField" to the text of fld "MyField" > > Nothing happened. > > How can I get back to the original situation after editing the text? > > 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 How about exporting the field contents as HTML. mucking around with the resulting html document with either a text editor or a dedicated html editor, and then importing the html document back into the field? Richmond. From klaus at major-k.de Wed Jul 17 11:08:07 2013 From: klaus at major-k.de (Klaus major-k) Date: Wed, 17 Jul 2013 17:08:07 +0200 Subject: QT playback of remote files In-Reply-To: References: <51E607B5.7090505@hyperactivesw.com> <51E6A00D.1080609@fourthworld.com> Message-ID: <41848C4E-B906-46EA-9005-58728C2A2565@major-k.de> Hi Jaquelin, Am 17.07.2013 um 16:44 schrieb J. Landman Gay : > Richard Gaskin wrote: >> Not sure if this will help, but I've had cases in which setting the >> player's filename to empty in between loading actual remote videos has >> helped. > > > Thanks, it's my habit to do that too so it's already in there. I keep thinking the player should know by itself when it's safe to start playback. Grumble. maybe you can use Trevors Wonderfull Enhanced QuickTime External, which will let YOU manage all this stuf? From the docs: ###################### function qtGetMaxLoadedTimeInMovie (MovieControllerID) Description: Returns the download state of the movie controller. Parameters: MovieControllerID: movieControllerID. Return: Total movie downloaded in movie's time base. ######################## function qtGetMovieLoadState (MovieControllerID) Description: Returns the download state of the movie controller. This function lets your code perform relative comparisons against movie loading milestones to determine if certain operations make sense. Don't call more often then every quarter of a second. Its return values are ordered so that they conform to this rule: kMovieLoadStateError < kMovieLoadStateLoading < kMovieLoadStatePlayable < kMovieLoadStateComplete Parameters: MovieControllerID: movieControllerID. Return: Integer value: -1 (kMovieLoadStateError) 1000 (kMovieLoadStateLoading) 10000 (kMovieLoadStatePlayable) 20000 (kMovieLoadStatePlayThroughOK) 100000 (kMovieLoadStateComplete) ################################# function qtIsMovieDownloadingProgressively (MovieControllerID) Description: Returns true if the movie in the controller is being progressively downloaded. Parameters: MovieControllerID: Target movieControllerID. Return: Boolean ################################ :-) > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From pete at lcsql.com Wed Jul 17 11:38:17 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 17 Jul 2013 08:38:17 -0700 Subject: sqlite ios pragma In-Reply-To: <51E665D8.70305@economy-x-talk.com> References: <51E665D8.70305@economy-x-talk.com> Message-ID: Can't speak for iOS but on the desktop, PRAGMA is just another SQLite statement that can be executed fine via revDataFromQuery. Pete lcSQL Software On Wed, Jul 17, 2013 at 2:37 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Mike, > > The external doesn't include PRAGMA. It needs to be rewritten for that. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/**xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour > spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > Fill out this survey please > http://livecodebeginner.**economy-x-talk.com/survey/ > > On 7/16/2013 05:40, Mike Kerner wrote: > >> anybody trying to use that combination: PRAGMA in sqlite on ios? >> Everything else with this DB seems to work fine, but PRAGMA does not - >> returns 0 whether I do PRAGMA database_list or table_info(tableName) >> >> > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Wed Jul 17 12:05:20 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 17 Jul 2013 18:05:20 +0200 Subject: sqlite ios pragma In-Reply-To: References: <51E665D8.70305@economy-x-talk.com> Message-ID: Hi Pete, Have you read my next post and Bj?rnke's follow-up? -- 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 17 jul 2013, at 17:38, Peter Haworth wrote: > Can't speak for iOS but on the desktop, PRAGMA is just another SQLite > statement that can be executed fine via revDataFromQuery. > > Pete > lcSQL Software > From dixonja at hotmail.co.uk Wed Jul 17 12:38:17 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Wed, 17 Jul 2013 17:38:17 +0100 Subject: sqlite ios pragma In-Reply-To: References: , <51E665D8.70305@economy-x-talk.com>, , Message-ID: LOL... I think that Pete like the majority of us, is unable to read posts before they are written...:-))) > Subject: Re: sqlite ios pragma > From: m.schonewille at economy-x-talk.com > Date: Wed, 17 Jul 2013 18:05:20 +0200 > To: use-livecode at lists.runrev.com > > Hi Pete, > > Have you read my next post and Bj?rnke's follow-up? > > -- > Best regards, > > Mark Schonewille From jacque at hyperactivesw.com Wed Jul 17 12:49:52 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 17 Jul 2013 11:49:52 -0500 Subject: QT playback of remote files In-Reply-To: <41848C4E-B906-46EA-9005-58728C2A2565@major-k.de> References: <51E607B5.7090505@hyperactivesw.com> <51E6A00D.1080609@fourthworld.com> <41848C4E-B906-46EA-9005-58728C2A2565@major-k.de> Message-ID: <51E6CB30.2090607@hyperactivesw.com> On 7/17/13 10:08 AM, Klaus major-k wrote: > maybe you can use Trevors Wonderfull Enhanced QuickTime External, > which will let YOU manage all this stuf? Thanks Klaus, that sounds good. Unfortunately this is the project where I'm not supposed to use externals. I might be able to change their mind if necessary though. Or I can at least use it for diagnositics. Since no one else seems to be having this issue, maybe it's uncommon. Should I be looking for something else that would interfere? I've been going over my code for hours but so far I don't see anything. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Wed Jul 17 12:54:42 2013 From: klaus at major-k.de (Klaus major-k) Date: Wed, 17 Jul 2013 18:54:42 +0200 Subject: QT playback of remote files In-Reply-To: <51E6CB30.2090607@hyperactivesw.com> References: <51E607B5.7090505@hyperactivesw.com> <51E6A00D.1080609@fourthworld.com> <41848C4E-B906-46EA-9005-58728C2A2565@major-k.de> <51E6CB30.2090607@hyperactivesw.com> Message-ID: <0CD4F05F-8824-4EB4-8266-E238A495167D@major-k.de> Hi Jaqueline, Am 17.07.2013 um 18:49 schrieb "J. Landman Gay" : > On 7/17/13 10:08 AM, Klaus major-k wrote: > >> maybe you can use Trevors Wonderfull Enhanced QuickTime External, >> which will let YOU manage all this stuf? > > Thanks Klaus, that sounds good. Unfortunately this is the project where I'm not supposed to use externals. I might be able to change their mind if necessary though. Or I can at least use it for diagnositics. ah, I see. > Since no one else seems to be having this issue, maybe it's uncommon. Should I be looking for something else that would interfere? I've been going over my code for hours but so far I don't see anything. Maybe you can just use a browser object to display the movie? "Remote" movie playback in a browser seems to be a tad more reliable ;-) And creating a HTML5 snippet to play a movie is a snap! > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From jacque at hyperactivesw.com Wed Jul 17 12:58:36 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 17 Jul 2013 11:58:36 -0500 Subject: QT playback of remote files In-Reply-To: <0CD4F05F-8824-4EB4-8266-E238A495167D@major-k.de> References: <51E607B5.7090505@hyperactivesw.com> <51E6A00D.1080609@fourthworld.com> <41848C4E-B906-46EA-9005-58728C2A2565@major-k.de> <51E6CB30.2090607@hyperactivesw.com> <0CD4F05F-8824-4EB4-8266-E238A495167D@major-k.de> Message-ID: <51E6CD3C.4010805@hyperactivesw.com> On 7/17/13 11:54 AM, Klaus major-k wrote: > Maybe you can just use a browser object to display the movie? > "Remote" movie playback in a browser seems to be a tad more reliable ;-) They're actually audio files, and the player is invisible. But I can try it. > > And creating a HTML5 snippet to play a movie is a snap! I don't know much about HTML5, how would you do that? Will it work for an audio file? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Wed Jul 17 13:03:57 2013 From: klaus at major-k.de (Klaus major-k) Date: Wed, 17 Jul 2013 19:03:57 +0200 Subject: QT playback of remote files In-Reply-To: <51E6CD3C.4010805@hyperactivesw.com> References: <51E607B5.7090505@hyperactivesw.com> <51E6A00D.1080609@fourthworld.com> <41848C4E-B906-46EA-9005-58728C2A2565@major-k.de> <51E6CB30.2090607@hyperactivesw.com> <0CD4F05F-8824-4EB4-8266-E238A495167D@major-k.de> <51E6CD3C.4010805@hyperactivesw.com> Message-ID: <4B66508B-C80B-4211-B16C-12AC97F7A2A3@major-k.de> Hi Jaqueline, Am 17.07.2013 um 18:58 schrieb "J. Landman Gay" : > On 7/17/13 11:54 AM, Klaus major-k wrote: > >> Maybe you can just use a browser object to display the movie? >> "Remote" movie playback in a browser seems to be a tad more reliable ;-) > > They're actually audio files, and the player is invisible. But I can try it. > >> >> And creating a HTML5 snippet to play a movie is a snap! > > I don't know much about HTML5, how would you do that? Will it work for an audio file? Yes! Check the sound samples page of my bass page, all html5 and check the htmnl soure: Html snippet for one sound:

any text on page BEFORE sound...

more text on page AFTER the sound...

> -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From klaus at major-k.de Wed Jul 17 13:05:51 2013 From: klaus at major-k.de (Klaus major-k) Date: Wed, 17 Jul 2013 19:05:51 +0200 Subject: QT playback of remote files In-Reply-To: <51E6CD3C.4010805@hyperactivesw.com> References: <51E607B5.7090505@hyperactivesw.com> <51E6A00D.1080609@fourthworld.com> <41848C4E-B906-46EA-9005-58728C2A2565@major-k.de> <51E6CB30.2090607@hyperactivesw.com> <0CD4F05F-8824-4EB4-8266-E238A495167D@major-k.de> <51E6CD3C.4010805@hyperactivesw.com> Message-ID: Hi Jaqueline, good old W3 schools: Even includes a browser compatibility chart :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From pete at lcsql.com Wed Jul 17 13:08:44 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 17 Jul 2013 10:08:44 -0700 Subject: sqlite ios pragma In-Reply-To: References: <51E665D8.70305@economy-x-talk.com> Message-ID: Yes, saw them after I made my post, sorry. Pete lcSQL Software On Wed, Jul 17, 2013 at 9:05 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Pete, > > Have you read my next post and Bj?rnke's follow-up? > > -- > 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 17 jul 2013, at 17:38, Peter Haworth wrote: > > > Can't speak for iOS but on the desktop, PRAGMA is just another SQLite > > statement that can be executed fine via revDataFromQuery. > > > > 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 jacque at hyperactivesw.com Wed Jul 17 13:15:38 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 17 Jul 2013 12:15:38 -0500 Subject: QT playback of remote files In-Reply-To: <4B66508B-C80B-4211-B16C-12AC97F7A2A3@major-k.de> References: <51E607B5.7090505@hyperactivesw.com> <51E6A00D.1080609@fourthworld.com> <41848C4E-B906-46EA-9005-58728C2A2565@major-k.de> <51E6CB30.2090607@hyperactivesw.com> <0CD4F05F-8824-4EB4-8266-E238A495167D@major-k.de> <51E6CD3C.4010805@hyperactivesw.com> <4B66508B-C80B-4211-B16C-12AC97F7A2A3@major-k.de> Message-ID: <51E6D13A.6040600@hyperactivesw.com> On 7/17/13 12:03 PM, Klaus major-k wrote: > Hi Jaqueline, > > Am 17.07.2013 um 18:58 schrieb "J. Landman Gay" : > >> On 7/17/13 11:54 AM, Klaus major-k wrote: >> >>> Maybe you can just use a browser object to display the movie? >>> "Remote" movie playback in a browser seems to be a tad more reliable ;-) >> >> They're actually audio files, and the player is invisible. But I can try it. >> >>> >>> And creating a HTML5 snippet to play a movie is a snap! >> >> I don't know much about HTML5, how would you do that? Will it work for an audio file? > > Yes! Check the sound samples page of my bass page, all html5 and check the htmnl soure: > > > Html snippet for one sound: >

any text on page BEFORE sound...

> >

more text on page AFTER the sound...

Cool, I'll try it, thanks very much Klaus. I like your music too. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Jul 17 13:18:28 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 17 Jul 2013 12:18:28 -0500 Subject: QT playback of remote files In-Reply-To: References: <51E607B5.7090505@hyperactivesw.com> <51E6A00D.1080609@fourthworld.com> <41848C4E-B906-46EA-9005-58728C2A2565@major-k.de> <51E6CB30.2090607@hyperactivesw.com> <0CD4F05F-8824-4EB4-8266-E238A495167D@major-k.de> <51E6CD3C.4010805@hyperactivesw.com> Message-ID: <51E6D1E4.8040504@hyperactivesw.com> On 7/17/13 12:05 PM, Klaus major-k wrote: > Hi Jaqueline, > > good old W3 schools: > > Even includes a browser compatibility chart :-) HTML5 doesn't support m4a. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Wed Jul 17 13:41:31 2013 From: klaus at major-k.de (Klaus major-k) Date: Wed, 17 Jul 2013 19:41:31 +0200 Subject: QT playback of remote files In-Reply-To: <51E6D1E4.8040504@hyperactivesw.com> References: <51E607B5.7090505@hyperactivesw.com> <51E6A00D.1080609@fourthworld.com> <41848C4E-B906-46EA-9005-58728C2A2565@major-k.de> <51E6CB30.2090607@hyperactivesw.com> <0CD4F05F-8824-4EB4-8266-E238A495167D@major-k.de> <51E6CD3C.4010805@hyperactivesw.com> <51E6D1E4.8040504@hyperactivesw.com> Message-ID: <5DC6F014-2DCE-4B91-A343-6EB7058F32C2@major-k.de> Hi Jaqueline, Am 17.07.2013 um 19:18 schrieb "J. Landman Gay" : > On 7/17/13 12:05 PM, Klaus major-k wrote: >> Hi Jaqueline, >> good old W3 schools: >> Even includes a browser compatibility chart :-) > HTML5 doesn't support m4a. Mybe directly accessing the QuickTime plugin will do? A quick Google search: ...

any text on page BEFORE sound...

more text on page AFTER the sound...

... At least worth a try :-) > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From MikeKerner at roadrunner.com Wed Jul 17 13:46:12 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 17 Jul 2013 13:46:12 -0400 Subject: sqlite ios pragma In-Reply-To: References: <51E665D8.70305@economy-x-talk.com> Message-ID: I found out about this because I couldn't get PRAGMA to work in the simulator when it works fine on the desktop. So, BvG, are you saying it works for you on iOS? On Wed, Jul 17, 2013 at 1:08 PM, Peter Haworth wrote: > Yes, saw them after I made my post, sorry. > > Pete > lcSQL Software > > > On Wed, Jul 17, 2013 at 9:05 AM, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > > > Hi Pete, > > > > Have you read my next post and Bj?rnke's follow-up? > > > > -- > > 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 17 jul 2013, at 17:38, Peter Haworth wrote: > > > > > Can't speak for iOS but on the desktop, PRAGMA is just another SQLite > > > statement that can be executed fine via revDataFromQuery. > > > > > > 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From lists at mangomultimedia.com Wed Jul 17 14:25:54 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 17 Jul 2013 14:25:54 -0400 Subject: QT playback of remote files In-Reply-To: <51E607B5.7090505@hyperactivesw.com> References: <51E607B5.7090505@hyperactivesw.com> Message-ID: On Tue, Jul 16, 2013 at 10:55 PM, J. Landman Gay wrote: > My project loads a player with a URL to a remote audio file on a fast > server like this: > > set the filename of player 1 to https://xxx.xxx.xxxx.m4a > start player 1 > Jacque, Instead of 'start player 1' try 'set the playrate of player 1 to 1'. Does that have any affect? -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From gcanyon at gmail.com Wed Jul 17 14:51:27 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 17 Jul 2013 13:51:27 -0500 Subject: Reliable script to handle selection/drag-and-drop in a list field? Message-ID: Does anyone have code to share that allows discontiguous selection and drag and drop within a list field? i.e. if I have a list field with: 1 2 3 4 5 I can click 3 to select it, shift-click 5 to select 3 to 5, command-click 4 so that 3 and 5 are selected, and then click and drag 3 (with 5 along for the ride) above 2 and end up with: 1 3 5 2 4 From jacque at hyperactivesw.com Wed Jul 17 14:59:05 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 17 Jul 2013 13:59:05 -0500 Subject: QT playback of remote files In-Reply-To: References: <51E607B5.7090505@hyperactivesw.com> Message-ID: <51E6E979.90706@hyperactivesw.com> On 7/17/13 1:25 PM, Trevor DeVore wrote: > On Tue, Jul 16, 2013 at 10:55 PM, J. Landman Gay > wrote: > >> My project loads a player with a URL to a remote audio file on a fast >> server like this: >> >> set the filename of player 1 to https://xxx.xxx.xxxx.m4a >> start player 1 >> > > Jacque, > > Instead of 'start player 1' try 'set the playrate of player 1 to 1'. Does > that have any affect? > Ohhh... I think it does! I haven't tested thoroughly but I haven't had any failures yet. I vaguely recall something about this but that was back before I needed to know it. What's the deal with "playrate"? I think I owe you yet again, Trevor. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bogdanoff at me.com Wed Jul 17 15:16:49 2013 From: bogdanoff at me.com (Peter Bogdanoff) Date: Wed, 17 Jul 2013 14:16:49 -0500 Subject: QT playback of remote files In-Reply-To: <51E6E979.90706@hyperactivesw.com> References: <51E607B5.7090505@hyperactivesw.com> <51E6E979.90706@hyperactivesw.com> Message-ID: <16D7712B-B302-43DC-BBD4-5DE4ED0AF895@me.com> I've had this same exact issue trying to play QT audi from a server. The audio does not start reliably. It seems to have started to become a problem with later versions of QT. I've worked around it by testing a few seconds later to see if it's playing; if not tell it to play again. I submitted a bug report that RR ultimately said was part of another bug--which I disagree. I'm traveling, so I don't have details now. Peter Bogdanoff UCLA On Jul 17, 2013, at 1:59 PM, "J. Landman Gay" wrote: > On 7/17/13 1:25 PM, Trevor DeVore wrote: >> On Tue, Jul 16, 2013 at 10:55 PM, J. Landman Gay >> wrote: >> >>> My project loads a player with a URL to a remote audio file on a fast >>> server like this: >>> >>> set the filename of player 1 to https://xxx.xxx.xxxx.m4a >>> start player 1 >> >> Jacque, >> >> Instead of 'start player 1' try 'set the playrate of player 1 to 1'. Does >> that have any affect? > > Ohhh... I think it does! I haven't tested thoroughly but I haven't had any failures yet. I vaguely recall something about this but that was back before I needed to know it. What's the deal with "playrate"? > > I think I owe you yet again, Trevor. > > -- > 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 Wed Jul 17 17:26:40 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 18 Jul 2013 07:26:40 +1000 Subject: ATT: Jerry Jenson Message-ID: <2F5B849F-0A2D-4674-8F75-648931E17AEF@sweattechnologies.com> Hi Jerry Sorry I have no other way to contact you. I'm getting a 554 blacklisted error from your mail server. -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From lists at mangomultimedia.com Wed Jul 17 19:01:10 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 17 Jul 2013 19:01:10 -0400 Subject: QT playback of remote files In-Reply-To: <51E6E979.90706@hyperactivesw.com> References: <51E607B5.7090505@hyperactivesw.com> <51E6E979.90706@hyperactivesw.com> Message-ID: On Wed, Jul 17, 2013 at 2:59 PM, J. Landman Gay wrote: > On 7/17/13 1:25 PM, Trevor DeVore wrote: >> >> >> Instead of 'start player 1' try 'set the playrate of player 1 to 1'. Does >> that have any affect? >> >> > Ohhh... I think it does! I haven't tested thoroughly but I haven't had any > failures yet. I vaguely recall something about this but that was back > before I needed to know it. What's the deal with "playrate"? > Hopefully that will fix the problem. The 'playrate' is a QuickTime property that I always used back in the days of LiveStage Pro (a QuickTime authoring environment). When I started using LiveCode I always used 'playrate' (rather than 'start player') out of habit. When I saw reports of problems with 'start player' the problems were often resolved by switching to 'set playrate'. I just took a look at the engine source code and the engine is making different calls to get the movie playing with 'start player' then when you set 'the playrate'. When setting the 'playrate' QuickTime is completely responsible for getting the movie to play back properly. > I think I owe you yet again, Trevor. Just send more feed for my children. Nuts and berries will do. -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com - www.screensteps.com From mcgrath3 at mac.com Wed Jul 17 21:03:26 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 17 Jul 2013 21:03:26 -0400 Subject: Convert date to seconds Message-ID: <1655B0C4-E3FF-4443-B73A-CCC946D32E84@mac.com> I am converting the short date (08/16/13) to seconds and I get 1376625600 My question is "Is the converted seconds always that many digits when converted from that type of date?" The reason I ask is I am making filenames by merging a name like "Thomas" or "Tom" with the date converted to seconds as in "Thomas1376625600.txt" or "Tom1376625600.txt" I would like to script this conversion like: put char -10 to the number of chars of tFilename into tSeconds put char 1 to -10 of tFilename into tName --put "1376625600" into tSeconds convert tSeconds to short date and now tName should be either "Tom" or "Thomas" regardless of length and tSeconds will be "08/16/13" so I can use them in my app. This will not work if the converted seconds ever gets longer ( over the next twenty or thirty years or so). So, Does the converted seconds always stay at 10 digits in this scenario? Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From bonnmike at gmail.com Wed Jul 17 21:07:24 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 17 Jul 2013 19:07:24 -0600 Subject: Convert date to seconds In-Reply-To: <1655B0C4-E3FF-4443-B73A-CCC946D32E84@mac.com> References: <1655B0C4-E3FF-4443-B73A-CCC946D32E84@mac.com> Message-ID: Since its the number of seconds since.. I think 1970, there will always be that many digits at least until the odometer rolls up to 9999999999 + 1. Plenty of breathing space there. On Wed, Jul 17, 2013 at 7:03 PM, Thomas McGrath III wrote: > I am converting the short date (08/16/13) to seconds and I get 1376625600 > > My question is "Is the converted seconds always that many digits when > converted from that type of date?" > > The reason I ask is I am making filenames by merging a name like "Thomas" > or "Tom" with the date converted to seconds as in "Thomas1376625600.txt" or > "Tom1376625600.txt" > > I would like to script this conversion like: > > put char -10 to the number of chars of tFilename into tSeconds > put char 1 to -10 of tFilename into tName > > --put "1376625600" into tSeconds > convert tSeconds to short date > > and now tName should be either "Tom" or "Thomas" regardless of length and > tSeconds will be "08/16/13" so I can use them in my app. > > This will not work if the converted seconds ever gets longer ( over the > next twenty or thirty years or so). > > So, Does the converted seconds always stay at 10 digits in this scenario? > > 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 dsc at swcp.com Wed Jul 17 21:20:16 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 17 Jul 2013 19:20:16 -0600 Subject: Convert date to seconds In-Reply-To: <1655B0C4-E3FF-4443-B73A-CCC946D32E84@mac.com> References: <1655B0C4-E3FF-4443-B73A-CCC946D32E84@mac.com> Message-ID: Will the create of file names be in the same time zone as the reader of file names? On Jul 17, 2013, at 7:03 PM, Thomas McGrath III wrote: > I am converting the short date (08/16/13) to seconds and I get 1376625600 > > My question is "Is the converted seconds always that many digits when converted from that type of date?" > > The reason I ask is I am making filenames by merging a name like "Thomas" or "Tom" with the date converted to seconds as in "Thomas1376625600.txt" or "Tom1376625600.txt" > > I would like to script this conversion like: > > put char -10 to the number of chars of tFilename into tSeconds > put char 1 to -10 of tFilename into tName > > --put "1376625600" into tSeconds > convert tSeconds to short date > > and now tName should be either "Tom" or "Thomas" regardless of length and tSeconds will be "08/16/13" so I can use them in my app. > > This will not work if the converted seconds ever gets longer ( over the next twenty or thirty years or so). > > So, Does the converted seconds always stay at 10 digits in this scenario? > > 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 dunbarx at aol.com Wed Jul 17 21:34:31 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 17 Jul 2013 21:34:31 -0400 (EDT) Subject: Convert date to seconds In-Reply-To: References: <1655B0C4-E3FF-4443-B73A-CCC946D32E84@mac.com> Message-ID: <8D0516E158F0151-1728-ABDA7@webmail-m170.sysops.aol.com> Tom. You have nearly 20 years until another digit is added. Of course, you can always prepare for this right now. Just test the length of the seconds, and if it is eleven then modify your chunk stuff. Craig Newman -----Original Message----- From: Dar Scott To: How to use LiveCode Sent: Wed, Jul 17, 2013 9:21 pm Subject: Re: Convert date to seconds Will the create of file names be in the same time zone as the reader of file names? On Jul 17, 2013, at 7:03 PM, Thomas McGrath III wrote: > I am converting the short date (08/16/13) to seconds and I get 1376625600 > > My question is "Is the converted seconds always that many digits when converted from that type of date?" > > The reason I ask is I am making filenames by merging a name like "Thomas" or "Tom" with the date converted to seconds as in "Thomas1376625600.txt" or "Tom1376625600.txt" > > I would like to script this conversion like: > > put char -10 to the number of chars of tFilename into tSeconds > put char 1 to -10 of tFilename into tName > > --put "1376625600" into tSeconds > convert tSeconds to short date > > and now tName should be either "Tom" or "Thomas" regardless of length and tSeconds will be "08/16/13" so I can use them in my app. > > This will not work if the converted seconds ever gets longer ( over the next twenty or thirty years or so). > > So, Does the converted seconds always stay at 10 digits in this scenario? > > 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 bonnmike at gmail.com Wed Jul 17 21:53:41 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 17 Jul 2013 19:53:41 -0600 Subject: Convert date to seconds In-Reply-To: <8D0516E158F0151-1728-ABDA7@webmail-m170.sysops.aol.com> References: <1655B0C4-E3FF-4443-B73A-CCC946D32E84@mac.com> <8D0516E158F0151-1728-ABDA7@webmail-m170.sysops.aol.com> Message-ID: Could work up a simple regex and use matchtext instead to remove the issue entirely also. On Wed, Jul 17, 2013 at 7:34 PM, wrote: > Tom. > > > You have nearly 20 years until another digit is added. > > > Of course, you can always prepare for this right now. Just test the length > of the seconds, and if it is eleven then modify your chunk stuff. > > > Craig Newman > > > > -----Original Message----- > From: Dar Scott > To: How to use LiveCode > Sent: Wed, Jul 17, 2013 9:21 pm > Subject: Re: Convert date to seconds > > > Will the create of file names be in the same time zone as the reader of > file > names? > > On Jul 17, 2013, at 7:03 PM, Thomas McGrath III wrote: > > > I am converting the short date (08/16/13) to seconds and I get 1376625600 > > > > My question is "Is the converted seconds always that many digits when > converted from that type of date?" > > > > The reason I ask is I am making filenames by merging a name like > "Thomas" or > "Tom" with the date converted to seconds as in "Thomas1376625600.txt" or > "Tom1376625600.txt" > > > > I would like to script this conversion like: > > > > put char -10 to the number of chars of tFilename into tSeconds > > put char 1 to -10 of tFilename into tName > > > > --put "1376625600" into tSeconds > > convert tSeconds to short date > > > > and now tName should be either "Tom" or "Thomas" regardless of length and > tSeconds will be "08/16/13" so I can use them in my app. > > > > This will not work if the converted seconds ever gets longer ( over the > next > twenty or thirty years or so). > > > > So, Does the converted seconds always stay at 10 digits in this scenario? > > > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 17 21:51:25 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 17 Jul 2013 18:51:25 -0700 Subject: Convert date to seconds In-Reply-To: <1655B0C4-E3FF-4443-B73A-CCC946D32E84@mac.com> References: <1655B0C4-E3FF-4443-B73A-CCC946D32E84@mac.com> Message-ID: <186120972347.20130717185125@ahsoftware.net> Tom- Wednesday, July 17, 2013, 6:03:26 PM, you wrote: > The reason I ask is I am making filenames by merging a name like > "Thomas" or "Tom" with the date converted to seconds as in > "Thomas1376625600.txt" or "Tom1376625600.txt" Regex to the rescue: get matchtext(tFileName, "([A-Za-z]+)([0-9]+)", tName, tSeconds) -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed Jul 17 22:25:26 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 17 Jul 2013 19:25:26 -0700 Subject: Convert date to seconds In-Reply-To: References: <1655B0C4-E3FF-4443-B73A-CCC946D32E84@mac.com> <8D0516E158F0151-1728-ABDA7@webmail-m170.sysops.aol.com> Message-ID: <129123013897.20130717192526@ahsoftware.net> Mike- Wednesday, July 17, 2013, 6:53:41 PM, you wrote: > Could work up a simple regex and use matchtext instead to remove the issue > entirely also. Ha! GMTA -- -Mark Wieder mwieder at ahsoftware.net From bonnmike at gmail.com Wed Jul 17 22:34:38 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 17 Jul 2013 20:34:38 -0600 Subject: Convert date to seconds In-Reply-To: <129123013897.20130717192526@ahsoftware.net> References: <1655B0C4-E3FF-4443-B73A-CCC946D32E84@mac.com> <8D0516E158F0151-1728-ABDA7@webmail-m170.sysops.aol.com> <129123013897.20130717192526@ahsoftware.net> Message-ID: GMTA? Did that mean I won?!?!?! *cough* On Wed, Jul 17, 2013 at 8:25 PM, Mark Wieder wrote: > Mike- > > Wednesday, July 17, 2013, 6:53:41 PM, you wrote: > > > Could work up a simple regex and use matchtext instead to remove the > issue > > entirely also. > > Ha! GMTA > > -- > -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 bonnmike at gmail.com Wed Jul 17 22:35:43 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 17 Jul 2013 20:35:43 -0600 Subject: Convert date to seconds In-Reply-To: References: <1655B0C4-E3FF-4443-B73A-CCC946D32E84@mac.com> <8D0516E158F0151-1728-ABDA7@webmail-m170.sysops.aol.com> <129123013897.20130717192526@ahsoftware.net> Message-ID: Oh cool. Looked it up! And yep, they do! So its a tie! On Wed, Jul 17, 2013 at 8:34 PM, Mike Bonner wrote: > GMTA? Did that mean I won?!?!?! *cough* > > > On Wed, Jul 17, 2013 at 8:25 PM, Mark Wieder wrote: > >> Mike- >> >> Wednesday, July 17, 2013, 6:53:41 PM, you wrote: >> >> > Could work up a simple regex and use matchtext instead to remove the >> issue >> > entirely also. >> >> Ha! GMTA >> >> -- >> -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 dsc at swcp.com Thu Jul 18 00:39:51 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 17 Jul 2013 22:39:51 -0600 Subject: Convert date to seconds In-Reply-To: <1655B0C4-E3FF-4443-B73A-CCC946D32E84@mac.com> References: <1655B0C4-E3FF-4443-B73A-CCC946D32E84@mac.com> Message-ID: <27433102-5FB4-4258-AACE-8E9A3ED34211@swcp.com> On Jul 17, 2013, at 7:03 PM, Thomas McGrath III wrote: > I am converting the short date (08/16/13) to seconds and I get 1376625600 When I converted it back earlier today, I got the 15th. I guess there is a problem related to timezones or something. Consider NAMEyyyymmdd. It is easy to parse. It lists in order. It is somewhat readable. It is two characters shorter. Dar From dave at businessplaninsight.com Thu Jul 18 03:12:19 2013 From: dave at businessplaninsight.com (Dave Kilroy) Date: Thu, 18 Jul 2013 08:12:19 +0100 Subject: File uploading to on-rev.com account with revIgniter Message-ID: Hello all, I'm hoping someone can help out with file uploading... I'm trying to use the File Uploading Library in revIgniter and have gone through the sample exercise in Ralf's userguide (http://revigniter.com/userGuide/libraries/file_uploading.html). If I look on the server I can see that a file actually does get uploaded but the form chokes part-way and never reaches the "uploadSuccessView" view. rigUploadData() never gives a value for image height and gives an error message for image width (see below). Actually, when calling the "Upload" library I can't use any value except zero (unlimited) for image max width and max height. ImageSizeStr: height="" width="identify: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory " It's version 1.6.3 of revIgniter, I'm using textMate and Trasmit on a MBP running Lion, testing with Firefox & Safari Anyone got idea what is going on? Dave From bvg at mac.com Thu Jul 18 05:37:18 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 18 Jul 2013 11:37:18 +0200 Subject: sqlite ios pragma In-Reply-To: References: <51E665D8.70305@economy-x-talk.com> Message-ID: No, you're on your own there. I'd think it weird to not work there tho. Did your code work in the ide? On 17.07.2013, at 19:46, Mike Kerner wrote: > I found out about this because I couldn't get PRAGMA to work in the > simulator when it works fine on the desktop. So, BvG, are you saying it > works for you on iOS? > > > On Wed, Jul 17, 2013 at 1:08 PM, Peter Haworth wrote: > >> Yes, saw them after I made my post, sorry. >> >> Pete >> lcSQL Software >> >> >> On Wed, Jul 17, 2013 at 9:05 AM, Mark Schonewille < >> m.schonewille at economy-x-talk.com> wrote: >> >>> Hi Pete, >>> >>> Have you read my next post and Bj?rnke's follow-up? >>> >>> -- >>> 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 17 jul 2013, at 17:38, Peter Haworth wrote: >>> >>>> Can't speak for iOS but on the desktop, PRAGMA is just another SQLite >>>> statement that can be executed fine via revDataFromQuery. >>>> >>>> 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 >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From matthias_livecode_150811 at m-r-d.de Thu Jul 18 07:15:33 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 18 Jul 2013 13:15:33 +0200 Subject: posting binary-data to livecode-server - how to get progress information Message-ID: Hi, i am uploading binary files from a livecode app to a livecode-server script using the post method. This works well w/o problems. When posting larger files it would be nice to see the progress of the upload. How can this be accomplished? I tried to define a callback using libUrlSetStatusCallback w/o success. I also tried to use the urlprogress message, also w/o success. Do i have to add something to the livecode-server script or is it not possible to get information about the upload progress? Regards, Matthias From rabit at revigniter.com Thu Jul 18 07:53:19 2013 From: rabit at revigniter.com (Ralf Bitter) Date: Thu, 18 Jul 2013 13:53:19 +0200 Subject: File uploading to on-rev.com account with revIgniter In-Reply-To: References: Message-ID: Hi Dave, did a test on "odin" and the upload worked as expected. On which server is your revIgniter installation? Can you tell which version of ImageMagick is installed? By the way, I just found a typo in the User Guide: put 1024 into tConfig["MaxWidht"] But the sample script should work anyway. Ralf On 18.07.2013, at 09:12, Dave Kilroy wrote: > Hello all, I'm hoping someone can help out with file uploading... > > I'm trying to use the File Uploading Library in revIgniter and have gone through the sample exercise in Ralf's userguide (http://revigniter.com/userGuide/libraries/file_uploading.html). > > If I look on the server I can see that a file actually does get uploaded but the form chokes part-way and never reaches the "uploadSuccessView" view. > > rigUploadData() never gives a value for image height and gives an error message for image width (see below). Actually, when calling the "Upload" library I can't use any value except zero (unlimited) for image max width and max height. > > ImageSizeStr: height="" width="identify: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory " > > It's version 1.6.3 of revIgniter, I'm using textMate and Trasmit on a MBP running Lion, testing with Firefox & Safari > > Anyone got idea what is going on? > > Dave From mkoob at rogers.com Thu Jul 18 09:17:09 2013 From: mkoob at rogers.com (Martin Koob) Date: Thu, 18 Jul 2013 06:17:09 -0700 (PDT) Subject: File uploading to on-rev.com account with revIgniter In-Reply-To: References: Message-ID: <1374153429333-4667714.post@n4.nabble.com> One issue may be the size of the file you are uploading. In the past I tested uploading via post to on-rev and have found the limit is about 10.1 MB. I was using movie files of various sizes and the largest I could successfully upload was 10.1 MB. If I tried one of 10.2 Mb it would write a Quicktime file that had no data in it, it was 0 MB file. If I tried to open it Quicktime gave a 'This is not a movie file' error. I think this is a limit of on-rev hosting. Martin Koob -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/File-uploading-to-on-rev-com-account-with-revIgniter-tp4667710p4667714.html Sent from the Revolution - User mailing list archive at Nabble.com. From andrew at ctech.me Thu Jul 18 09:31:59 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 18 Jul 2013 08:31:59 -0500 Subject: posting binary-data to livecode-server - how to get progress information In-Reply-To: References: Message-ID: afaik, it isn't possible currently if using livecode to make the post. On Thu, Jul 18, 2013 at 6:15 AM, Matthias Rebbe < matthias_livecode_150811 at m-r-d.de> wrote: > Hi, > > i am uploading binary files from a livecode app to a livecode-server > script using the post method. This works well w/o problems. When posting > larger files it would be nice to see the progress of the upload. > > How can this be accomplished? > > I tried to define a callback using libUrlSetStatusCallback w/o success. > I also tried to use the urlprogress message, also w/o success. > Do i have to add something to the livecode-server script or > is it not possible to get information about the upload progress? > > 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 > -- Regards, Andrew Kluthe andrew at ctech.me From bvg at mac.com Thu Jul 18 09:36:00 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 18 Jul 2013 15:36:00 +0200 Subject: posting binary-data to livecode-server - how to get progress information In-Reply-To: References: Message-ID: <1F163395-498D-422D-B4B6-4C916A1ECD84@mac.com> try fiddling with the liburlexpect100 On 18.07.2013, at 13:15, Matthias Rebbe wrote: > Hi, > > i am uploading binary files from a livecode app to a livecode-server script using the post method. This works well w/o problems. When posting larger files it would be nice to see the progress of the upload. > > How can this be accomplished? > > I tried to define a callback using libUrlSetStatusCallback w/o success. > I also tried to use the urlprogress message, also w/o success. > Do i have to add something to the livecode-server script or > is it not possible to get information about the upload progress? > > 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 an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From matthias_livecode_150811 at m-r-d.de Thu Jul 18 09:41:26 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 18 Jul 2013 15:41:26 +0200 Subject: File uploading to on-rev.com account with revIgniter In-Reply-To: <1374153429333-4667714.post@n4.nabble.com> References: <1374153429333-4667714.post@n4.nabble.com> Message-ID: Martin, i am not sure if this will help when uploading to a livecodeserver script, but you can use your own settings by using a php.ini maybe adding the following lines to the php.ini in your root folder post_max_size = 80M upload_max_filesize = 80M for example would allow the upload/posting of files up to 80M To use your own php.ini you have to add the following to your .htaccess file in the root folder. suPHP_ConfigPath /home/matthias/public_html order allow,deny deny from all Regards, Matthias Am 18.07.2013 um 15:17 schrieb Martin Koob : > One issue may be the size of the file you are uploading. > > In the past I tested uploading via post to on-rev and have found the limit > is > about 10.1 MB. I was using movie files of various sizes and the largest I > could successfully upload was 10.1 MB. If I tried one of 10.2 Mb it would > write a Quicktime file that had no data in it, it was 0 MB file. If I > tried to open it Quicktime gave a 'This is not a movie file' error. > > I think this is a limit of on-rev hosting. > > Martin Koob > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/File-uploading-to-on-rev-com-account-with-revIgniter-tp4667710p4667714.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu Jul 18 09:44:34 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 18 Jul 2013 15:44:34 +0200 Subject: posting binary-data to livecode-server - how to get progress information In-Reply-To: <1F163395-498D-422D-B4B6-4C916A1ECD84@mac.com> References: <1F163395-498D-422D-B4B6-4C916A1ECD84@mac.com> Message-ID: <80604C4A-40CE-4FE5-96BA-138BB0455256@m-r-d.de> Bj?rnke, what is liburlexpect100? Could please explain? Matthias Am 18.07.2013 um 15:36 schrieb Bj?rnke von Gierke : > try fiddling with the liburlexpect100 > > On 18.07.2013, at 13:15, Matthias Rebbe wrote: > >> Hi, >> >> i am uploading binary files from a livecode app to a livecode-server script using the post method. This works well w/o problems. When posting larger files it would be nice to see the progress of the upload. >> >> How can this be accomplished? >> >> I tried to define a callback using libUrlSetStatusCallback w/o success. >> I also tried to use the urlprogress message, also w/o success. >> Do i have to add something to the livecode-server script or >> is it not possible to get information about the upload progress? >> >> 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 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 dave at applicationinsight.com Thu Jul 18 09:47:14 2013 From: dave at applicationinsight.com (Dave Kilroy) Date: Thu, 18 Jul 2013 14:47:14 +0100 Subject: Fwd: File uploading to on-rev.com account with revIgniter References: <1374153429333-4667714.post@n4.nabble.com> Message-ID: Thanks Martin and Ralf - my problem was between the chair and the keyboard > Can you tell which version of ImageMagick is installed? No I don't have ImageMagick installed (at least that I can find). Somehow I managed to miss the bright coloured warning right at the top of the FileUpload Library page of the User Guide saying at ImageMagick was required (slaps head). But how do you install it? I've had a good poke around www.imagemagick.org and used Google a lot - and it looks like to install with cPanel I'll need to use shell (if I understand correctly) which I don't have access to - so I'm wondering if I have to ask someone from RunRev to install it on my account? And once it's installed how do I load and call it from within revIgniter? Or will it 'just work' in the background without needing specific loading/calling? If I can do the install - are there any step-by-step guides you can recommend? Thanks for your help on this - I really am such a newbie at the server-side of things? Dave PS: Ralf, my on-rev account is on pancake... From MikeKerner at roadrunner.com Thu Jul 18 10:46:05 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 18 Jul 2013 10:46:05 -0400 Subject: sqlite ios pragma In-Reply-To: References: <51E665D8.70305@economy-x-talk.com> Message-ID: It works fine in the IDE/Mac/Windows, so when I took it over to iOS and it didn't work, I spent a couple of hours trying to debug other things before I found out that NONE of the PRAGMAs seem to work. On Thu, Jul 18, 2013 at 5:37 AM, Bj?rnke von Gierke wrote: > No, you're on your own there. I'd think it weird to not work there tho. > Did your code work in the ide? > > On 17.07.2013, at 19:46, Mike Kerner wrote: > > > I found out about this because I couldn't get PRAGMA to work in the > > simulator when it works fine on the desktop. So, BvG, are you saying it > > works for you on iOS? > > > > > > On Wed, Jul 17, 2013 at 1:08 PM, Peter Haworth wrote: > > > >> Yes, saw them after I made my post, sorry. > >> > >> Pete > >> lcSQL Software > >> > >> > >> On Wed, Jul 17, 2013 at 9:05 AM, Mark Schonewille < > >> m.schonewille at economy-x-talk.com> wrote: > >> > >>> Hi Pete, > >>> > >>> Have you read my next post and Bj?rnke's follow-up? > >>> > >>> -- > >>> 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 17 jul 2013, at 17:38, Peter Haworth wrote: > >>> > >>>> Can't speak for iOS but on the desktop, PRAGMA is just another SQLite > >>>> statement that can be executed fine via revDataFromQuery. > >>>> > >>>> 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 > >> > > > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > -- > > Use 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Thu Jul 18 11:16:54 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 18 Jul 2013 11:16:54 -0400 Subject: ios7 (beta) and push Message-ID: Has anybody else noticed that their apps don't seem to get push notifications in ios7? On all my 6 devices, my LC apps get their notifications and their badges set. On 7, LC app badges don't get set and they don't get notifications. -- 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 mcgrath3 at mac.com Thu Jul 18 11:56:52 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 18 Jul 2013 11:56:52 -0400 Subject: Convert date to seconds In-Reply-To: <27433102-5FB4-4258-AACE-8E9A3ED34211@swcp.com> References: <1655B0C4-E3FF-4443-B73A-CCC946D32E84@mac.com> <27433102-5FB4-4258-AACE-8E9A3ED34211@swcp.com> Message-ID: That's weird. I still get the 16th. Can anyone else confirm the 15th? (not doubting you Dar) I might have to change this then? Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jul 18, 2013, at 12:39 AM, Dar Scott wrote: > > On Jul 17, 2013, at 7:03 PM, Thomas McGrath III wrote: > >> I am converting the short date (08/16/13) to seconds and I get 1376625600 > > When I converted it back earlier today, I got the 15th. I guess there is a problem related to timezones or something. > > Consider NAMEyyyymmdd. It is easy to parse. It lists in order. It is somewhat readable. It is two characters shorter. > > Dar > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rabit at revigniter.com Thu Jul 18 11:59:19 2013 From: rabit at revigniter.com (Ralf Bitter) Date: Thu, 18 Jul 2013 17:59:19 +0200 Subject: File uploading to on-rev.com account with revIgniter In-Reply-To: References: <1374153429333-4667714.post@n4.nabble.com> Message-ID: <91258944-6C53-4F89-AFD0-0C1465289153@revigniter.com> On 18.07.2013, at 15:47, Dave Kilroy wrote: > But how do you install it? I've had a good poke around www.imagemagick.org and used Google a lot - and it looks like to install with cPanel I'll need to use shell (if I understand correctly) which I don't have access to - so I'm wondering if I have to ask someone from RunRev to install it on my account? I would recommend to send a request to support. > > And once it's installed how do I load and call it from within revIgniter? Or will it 'just work' in the background without needing specific loading/calling? > Using the upload library you don't have to deal with imageMagick at all. The library does all relevant shell calls regarding imageMagick. Ralf From dave at applicationinsight.com Thu Jul 18 12:04:13 2013 From: dave at applicationinsight.com (Dave Kilroy) Date: Thu, 18 Jul 2013 17:04:13 +0100 Subject: File uploading to on-rev.com account with revIgniter In-Reply-To: <91258944-6C53-4F89-AFD0-0C1465289153@revigniter.com> References: <1374153429333-4667714.post@n4.nabble.com> <91258944-6C53-4F89-AFD0-0C1465289153@revigniter.com> Message-ID: <89064E98-4650-4558-B0D0-D568F6F2A2E0@applicationinsight.com> Thanks Ralf you're a star! I'll send an email to support and let the use-list know how I get on? Dave On 18 Jul 2013, at 16:59, Ralf Bitter wrote: > > On 18.07.2013, at 15:47, Dave Kilroy wrote: > >> But how do you install it? I've had a good poke around www.imagemagick.org and used Google a lot - and it looks like to install with cPanel I'll need to use shell (if I understand correctly) which I don't have access to - so I'm wondering if I have to ask someone from RunRev to install it on my account? > > > I would recommend to send a request to support. > >> >> And once it's installed how do I load and call it from within revIgniter? Or will it 'just work' in the background without needing specific loading/calling? >> > > > Using the upload library you don't have to deal with imageMagick at all. > The library does all relevant shell calls regarding imageMagick. > > > Ralf > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andrew at ctech.me Thu Jul 18 12:10:31 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 18 Jul 2013 11:10:31 -0500 Subject: Convert date to seconds In-Reply-To: References: <1655B0C4-E3FF-4443-B73A-CCC946D32E84@mac.com> <27433102-5FB4-4258-AACE-8E9A3ED34211@swcp.com> Message-ID: I do believe the seconds that are given at any time by livecode are timezone agnostic (utc?) but livecode uses your system's settings to do conversions. For instance, the seconds livecode spits out for me at eleven pm of the 15th in the central standard timezone would put the same second number as the 16th at midnight in the eastern time zone. On Thu, Jul 18, 2013 at 10:56 AM, Thomas McGrath III wrote: > That's weird. I still get the 16th. Can anyone else confirm the 15th? (not > doubting you Dar) > > I might have to change this then? > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On Jul 18, 2013, at 12:39 AM, Dar Scott wrote: > > > > > On Jul 17, 2013, at 7:03 PM, Thomas McGrath III wrote: > > > >> I am converting the short date (08/16/13) to seconds and I get > 1376625600 > > > > When I converted it back earlier today, I got the 15th. I guess there > is a problem related to timezones or something. > > > > Consider NAMEyyyymmdd. It is easy to parse. It lists in order. It is > somewhat readable. It is two characters shorter. > > > > Dar > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 klaus at major-k.de Thu Jul 18 12:17:09 2013 From: klaus at major-k.de (Klaus major-k) Date: Thu, 18 Jul 2013 18:17:09 +0200 Subject: Convert date to seconds In-Reply-To: References: <1655B0C4-E3FF-4443-B73A-CCC946D32E84@mac.com> <27433102-5FB4-4258-AACE-8E9A3ED34211@swcp.com> Message-ID: Hi Tom, Am 18.07.2013 um 17:56 schrieb Thomas McGrath III : > That's weird. I still get the 16th. Can anyone else confirm the 15th? (not doubting you Dar) > I might have to change this then? I think you can simply add two hours (2*600) to the resulting seconds and are safe :-) > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > On Jul 18, 2013, at 12:39 AM, Dar Scott wrote: >> On Jul 17, 2013, at 7:03 PM, Thomas McGrath III wrote: >>> I am converting the short date (08/16/13) to seconds and I get 1376625600 >> When I converted it back earlier today, I got the 15th. I guess there is a problem related to timezones or something. >> Consider NAMEyyyymmdd. It is easy to parse. It lists in order. It is somewhat readable. It is two characters shorter. Hey, you can't beat these arguments! :-D >> Dar Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From gcanyon at gmail.com Thu Jul 18 12:23:01 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Thu, 18 Jul 2013 11:23:01 -0500 Subject: Reliable script to handle selection/drag-and-drop in a list field? In-Reply-To: References: Message-ID: I did some quick research, and this looks to be as much of a pain as I remember -- or am I missing something? All I want is to place a scrolling list field on a card, enable the multipleLines and nonContiguousHilites of it, and then enable the (non-existent) supportDragAndDrop property. On Wed, Jul 17, 2013 at 1:51 PM, Geoff Canyon wrote: > Does anyone have code to share that allows discontiguous selection and > drag and drop within a list field? i.e. if I have a list field with: > > 1 > 2 > 3 > 4 > 5 > > I can click 3 to select it, shift-click 5 to select 3 to 5, command-click > 4 so that 3 and 5 are selected, and then click and drag 3 (with 5 along for > the ride) above 2 and end up with: > > 1 > 3 > 5 > 2 > 4 > From klaus at major-k.de Thu Jul 18 12:39:31 2013 From: klaus at major-k.de (Klaus major-k) Date: Thu, 18 Jul 2013 18:39:31 +0200 Subject: Reliable script to handle selection/drag-and-drop in a list field? In-Reply-To: References: Message-ID: <17FC029D-49C7-4007-BD65-5B99B8445971@major-k.de> Hi Geoff, Am 18.07.2013 um 18:23 schrieb Geoff Canyon : > I did some quick research, and this looks to be as much of a pain as I > remember -- or am I missing something? All I want is to place a scrolling > list field on a card, enable the multipleLines and nonContiguousHilites of > it, and then enable the (non-existent) supportDragAndDrop property. take a look at Scott Rossi's solution to this: Not sure if this works with multilines, but should get you started :-) > On Wed, Jul 17, 2013 at 1:51 PM, Geoff Canyon wrote: > >> Does anyone have code to share that allows discontiguous selection and >> drag and drop within a list field? i.e. if I have a list field with: >> >> 1 >> 2 >> 3 >> 4 >> 5 >> >> I can click 3 to select it, shift-click 5 to select 3 to 5, command-click >> 4 so that 3 and 5 are selected, and then click and drag 3 (with 5 along for >> the ride) above 2 and end up with: >> >> 1 >> 3 >> 5 >> 2 >> 4 Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From scott at tactilemedia.com Thu Jul 18 12:45:35 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 18 Jul 2013 09:45:35 -0700 Subject: Reliable script to handle selection/drag-and-drop in a list field? In-Reply-To: <17FC029D-49C7-4007-BD65-5B99B8445971@major-k.de> Message-ID: You can load the stack directly in LC: go URL "http://www.tactilemedia.com/site_files/downloads/getinline.rev" But this manages single lines only -- you'd have make to make adjustments to handle multiple lines, which will be challenging with a discontiguous selection. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 7/18/13 9:39 AM, "Klaus major-k" wrote: >Hi Geoff, > >Am 18.07.2013 um 18:23 schrieb Geoff Canyon : > >> I did some quick research, and this looks to be as much of a pain as I >> remember -- or am I missing something? All I want is to place a >>scrolling >> list field on a card, enable the multipleLines and nonContiguousHilites >>of >> it, and then enable the (non-existent) supportDragAndDrop property. > >take a look at Scott Rossi's solution to this: > > >Not sure if this works with multilines, but should get you started :-) > >> On Wed, Jul 17, 2013 at 1:51 PM, Geoff Canyon wrote: >> >>> Does anyone have code to share that allows discontiguous selection and >>> drag and drop within a list field? i.e. if I have a list field with: >>> >>> 1 >>> 2 >>> 3 >>> 4 >>> 5 >>> >>> I can click 3 to select it, shift-click 5 to select 3 to 5, >>>command-click >>> 4 so that 3 and 5 are selected, and then click and drag 3 (with 5 >>>along for >>> the ride) above 2 and end up with: >>> >>> 1 >>> 3 >>> 5 >>> 2 >>> 4 > >Best > >Klaus > >-- >Klaus Major >http://www.major-k.de >klaus at major-k.de > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Thu Jul 18 12:50:07 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 18 Jul 2013 09:50:07 -0700 Subject: [OT] Skydrive Message-ID: I've been using Google Drive for quite a while but have started having a lot of problems with it resulting in complete re downloading of all my files on several occasions - that takes a couple of hours and Drive chews up 100% of my CPU while it's happening. Just installed Skydrive to see if it works any better. All is good so far except that it seems to have the WIndows file naming restrictions in it - I got some files that couldn't be sync'd because they included characters like period or colon - not good for Mac users. I can probably live with that but wondering if anyone on the list uses Skydrive and would share their experiences with it. Pete lcSQL Software From tate83 at gmail.com Thu Jul 18 13:13:53 2013 From: tate83 at gmail.com (Pascal Lehner) Date: Thu, 18 Jul 2013 18:13:53 +0100 Subject: [OT] Skydrive In-Reply-To: References: Message-ID: Hi Pete, I also used Google Drive for a while, but when starting to scan all my stuff I actually switched to Wuala about 2 years ago (http://www.wuala.com/en/) - I only have one small paper-based folder with diplomas and stuff by now. Wuala offers about the same features including team options as the other apps, but with one (for me) important feature: end to end encryption. So do not loose your password! And since Wuala is a Swiss company based in Switzerland (now owned by French LaCie), there actually is some laws protecting my data from being opened without any court order by someone else (apart from the fact that Wuala cannot access my files at all since they are only stored encrypted). They offer clients for Win, Mac, Linux, iOSand Android; some sort of web-based access is also possible, but due to the encryption it basically runs a install-free client when starting web-based. Wuala offers backup, selective sync and lots of other stuff as well. The only thing I sometimes miss when setting up a new computer is a LAN-internal direct sync, since that would be quicker.. I spent quite some time finding the perfect solution for me back then and am still absolutely happy with my selection. Support is also very quick. Wuala might be a bit higher priced than other services, but depending on the amount of data you actually have it is absolutely worth it. Best regards, Pascal P.S. I know this sounded like a sales pitch, but I am just one happy user without any ties to them.. Only thing I gain is if you chose to click this link ( http://www.wuala.com/referral/KBH7MG6PG3GJHMBCBP6H ) instead of the above when signing up since this will give me a gigabyte for free for a year ;-) On 18 July 2013 17:50, Peter Haworth wrote: > I've been using Google Drive for quite a while but have started having a > lot of problems with it resulting in complete re downloading of all my > files on several occasions - that takes a couple of hours and Drive chews > up 100% of my CPU while it's happening. > > Just installed Skydrive to see if it works any better. All is good so far > except that it seems to have the WIndows file naming restrictions in it - I > got some files that couldn't be sync'd because they included characters > like period or colon - not good for Mac users. > > I can probably live with that but wondering if anyone on the list uses > Skydrive and would share their experiences with it. > > 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 bleiler at buffalo.edu Thu Jul 18 13:15:57 2013 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Thu, 18 Jul 2013 13:15:57 -0400 Subject: Bug in Properties command in 6.1? Message-ID: This looks like a bug to me. Create a new stack add a button and a list field Set the button script to on mouseUp Get the properties of fld 1 Put 2 into it [ "HilitedLines" ] Set the properties of fld 1 to it end mouse up Works in 5.5.4. In 6.1, the hilitedLines is empty after the properties of field 1 are set. Only tested on a Mac. Anyone else seeing this? Tim Bleiler, Ph.D. Instructional Designer, HSIT University at Buffalo From MikeKerner at roadrunner.com Thu Jul 18 13:16:55 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 18 Jul 2013 13:16:55 -0400 Subject: [OT] Skydrive In-Reply-To: References: Message-ID: You can also do the same thing with Dropbox, iCloud, and others. On Thu, Jul 18, 2013 at 12:50 PM, Peter Haworth wrote: > I've been using Google Drive for quite a while but have started having a > lot of problems with it resulting in complete re downloading of all my > files on several occasions - that takes a couple of hours and Drive chews > up 100% of my CPU while it's happening. > > Just installed Skydrive to see if it works any better. All is good so far > except that it seems to have the WIndows file naming restrictions in it - I > got some files that couldn't be sync'd because they included characters > like period or colon - not good for Mac users. > > I can probably live with that but wondering if anyone on the list uses > Skydrive and would share their experiences with it. > > 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From pete at lcsql.com Thu Jul 18 13:31:06 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 18 Jul 2013 10:31:06 -0700 Subject: Bug in Properties command in 6.1? In-Reply-To: References: Message-ID: On Thu, Jul 18, 2013 at 10:15 AM, Timothy Bleiler wrote: > on mouseUp > Get the properties of fld 1 > Put 2 into it [ "HilitedLines" ] > Set the properties of fld 1 to it > end mouse up > I see the same thing here on my Mac. In fact if you simply get the properties and immediately set them again without changing anything, hilitedlines ends up empty. Pete lcSQL Software From pete at lcsql.com Thu Jul 18 13:45:12 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 18 Jul 2013 10:45:12 -0700 Subject: [OT] Skydrive In-Reply-To: References: Message-ID: Thanks Pascal/Mike. I'm looking for a free solution and while some of the ones mentioned do have free versions, it seems that Skydirve offers the most free storage (7Gigs). Pete lcSQL Software On Thu, Jul 18, 2013 at 10:16 AM, Mike Kerner wrote: > You can also do the same thing with Dropbox, iCloud, and others. > > > On Thu, Jul 18, 2013 at 12:50 PM, Peter Haworth wrote: > > > I've been using Google Drive for quite a while but have started having a > > lot of problems with it resulting in complete re downloading of all my > > files on several occasions - that takes a couple of hours and Drive chews > > up 100% of my CPU while it's happening. > > > > Just installed Skydrive to see if it works any better. All is good so > far > > except that it seems to have the WIndows file naming restrictions in it > - I > > got some files that couldn't be sync'd because they included characters > > like period or colon - not good for Mac users. > > > > I can probably live with that but wondering if anyone on the list uses > > Skydrive and would share their experiences with it. > > > > 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 > > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Thu Jul 18 13:48:03 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 18 Jul 2013 11:48:03 -0600 Subject: Convert date to seconds In-Reply-To: References: <1655B0C4-E3FF-4443-B73A-CCC946D32E84@mac.com> <27433102-5FB4-4258-AACE-8E9A3ED34211@swcp.com> Message-ID: I think it is the UTC seconds thing. I think that changing a date to seconds will get midnight of the day for the current time zone. Somebody in an more westerly timezone might see those seconds and the date will be earlier. If it is on only one computer and the timezone will not change, then you might be OK. The dateItems format for convert might be handy for coming up with a file name format. Dar On Jul 18, 2013, at 9:56 AM, Thomas McGrath III wrote: > That's weird. I still get the 16th. Can anyone else confirm the 15th? (not doubting you Dar) > > I might have to change this then? > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On Jul 18, 2013, at 12:39 AM, Dar Scott wrote: > >> >> On Jul 17, 2013, at 7:03 PM, Thomas McGrath III wrote: >> >>> I am converting the short date (08/16/13) to seconds and I get 1376625600 >> >> When I converted it back earlier today, I got the 15th. I guess there is a problem related to timezones or something. >> >> Consider NAMEyyyymmdd. It is easy to parse. It lists in order. It is somewhat readable. It is two characters shorter. >> >> Dar >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Thu Jul 18 13:54:38 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 18 Jul 2013 10:54:38 -0700 Subject: [OT] Vector Graphics in Corona? Message-ID: I know there are a few Corona users here, so I wanted to ask if any of you are working with the recently announced vector graphics features (only available to beta users I believe). Given that Corona has no IDE like LiveCode, I'm wondering if there any opinions on their graphics implementation. CoronaLabs claims they want to eventually get Illustrator-level graphics in Corona, which is a tall order, and perhaps overoptimistic. But having even a tenth of those features would be a dream come true for me. Thanks in advance for any impressions you can share. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From pete at lcsql.com Thu Jul 18 13:56:34 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 18 Jul 2013 10:56:34 -0700 Subject: [OT] Skydrive In-Reply-To: References: Message-ID: Hi Pascal, Just looked at Wuala in more detail and see that it does offer 5gigs free so might be of interest. I'll use the link you gave me if I download it! Pete lcSQL Software On Thu, Jul 18, 2013 at 10:13 AM, Pascal Lehner wrote: > Hi Pete, > > I also used Google Drive for a while, but when starting to scan all my > stuff I actually switched to Wuala about 2 years ago ( > http://www.wuala.com/en/) > - I only have one small paper-based folder with diplomas and stuff by now. > > Wuala offers about the same features including team options as the other > apps, but with one (for me) important feature: end to end encryption. So do > not loose your password! And since Wuala is a Swiss company based in > Switzerland (now owned by French LaCie), there actually is some laws > protecting my data from being opened without any court order by someone > else (apart from the fact that Wuala cannot access my files at all since > they are only stored encrypted). They offer clients for Win, Mac, > Linux, iOSand Android; some sort of web-based access is also possible, > but due to the > encryption it basically runs a install-free client when starting web-based. > Wuala offers backup, selective sync and lots of other stuff as well. The > only thing I sometimes miss when setting up a new computer is a > LAN-internal direct sync, since that would be quicker.. > > I spent quite some time finding the perfect solution for me back then and > am still absolutely happy with my selection. Support is also very quick. > > Wuala might be a bit higher priced than other services, but depending on > the amount of data you actually have it is absolutely worth it. > > Best regards, > Pascal > > P.S. I know this sounded like a sales pitch, but I am just one happy user > without any ties to them.. Only thing I gain is if you chose to click this > link ( http://www.wuala.com/referral/KBH7MG6PG3GJHMBCBP6H ) instead of the > above when signing up since this will give me a gigabyte for free for a > year ;-) > > > On 18 July 2013 17:50, Peter Haworth wrote: > > > I've been using Google Drive for quite a while but have started having a > > lot of problems with it resulting in complete re downloading of all my > > files on several occasions - that takes a couple of hours and Drive chews > > up 100% of my CPU while it's happening. > > > > Just installed Skydrive to see if it works any better. All is good so > far > > except that it seems to have the WIndows file naming restrictions in it > - I > > got some files that couldn't be sync'd because they included characters > > like period or colon - not good for Mac users. > > > > I can probably live with that but wondering if anyone on the list uses > > Skydrive and would share their experiences with it. > > > > 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 bleiler at buffalo.edu Thu Jul 18 14:00:43 2013 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Thu, 18 Jul 2013 14:00:43 -0400 Subject: Bug in Properties command in 6.1? In-Reply-To: References: Message-ID: I submitted a bug report 11060. Tim On Jul 18, 2013, at 1:31 PM, Peter Haworth wrote: > On Thu, Jul 18, 2013 at 10:15 AM, Timothy Bleiler wrote: > >> on mouseUp >> Get the properties of fld 1 >> Put 2 into it [ "HilitedLines" ] >> Set the properties of fld 1 to it >> end mouse up >> > > I see the same thing here on my Mac. In fact if you simply get the > properties and immediately set them again without changing anything, > hilitedlines ends up empty. > > 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 andrew at ctech.me Thu Jul 18 14:01:23 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 18 Jul 2013 13:01:23 -0500 Subject: Convert date to seconds In-Reply-To: References: <1655B0C4-E3FF-4443-B73A-CCC946D32E84@mac.com> <27433102-5FB4-4258-AACE-8E9A3ED34211@swcp.com> Message-ID: it gets midnight UTC, livecode changing the date FROM the time zone independent seconds gives you time zone differences. On Thu, Jul 18, 2013 at 12:48 PM, Dar Scott wrote: > I think it is the UTC seconds thing. I think that changing a date to > seconds will get midnight of the day for the current time zone. Somebody > in an more westerly timezone might see those seconds and the date will be > earlier. > > If it is on only one computer and the timezone will not change, then you > might be OK. > > The dateItems format for convert might be handy for coming up with a file > name format. > > Dar > > On Jul 18, 2013, at 9:56 AM, Thomas McGrath III wrote: > > > That's weird. I still get the 16th. Can anyone else confirm the 15th? > (not doubting you Dar) > > > > I might have to change this then? > > > > Tom > > > > -- Tom McGrath III > > http://lazyriver.on-rev.com > > mcgrath3 at mac.com > > > > On Jul 18, 2013, at 12:39 AM, Dar Scott wrote: > > > >> > >> On Jul 17, 2013, at 7:03 PM, Thomas McGrath III wrote: > >> > >>> I am converting the short date (08/16/13) to seconds and I get > 1376625600 > >> > >> When I converted it back earlier today, I got the 15th. I guess there > is a problem related to timezones or something. > >> > >> Consider NAMEyyyymmdd. It is easy to parse. It lists in order. It is > somewhat readable. It is two characters shorter. > >> > >> Dar > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 andrew at ctech.me Thu Jul 18 14:02:57 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 18 Jul 2013 13:02:57 -0500 Subject: Convert date to seconds In-Reply-To: References: <1655B0C4-E3FF-4443-B73A-CCC946D32E84@mac.com> <27433102-5FB4-4258-AACE-8E9A3ED34211@swcp.com> Message-ID: disregard, after looking more closely at his email dar is correct completely. On Thu, Jul 18, 2013 at 1:01 PM, Andrew Kluthe wrote: > it gets midnight UTC, livecode changing the date FROM the time zone > independent seconds gives you time zone differences. > > > On Thu, Jul 18, 2013 at 12:48 PM, Dar Scott wrote: > >> I think it is the UTC seconds thing. I think that changing a date to >> seconds will get midnight of the day for the current time zone. Somebody >> in an more westerly timezone might see those seconds and the date will be >> earlier. >> >> If it is on only one computer and the timezone will not change, then you >> might be OK. >> >> The dateItems format for convert might be handy for coming up with a file >> name format. >> >> Dar >> >> On Jul 18, 2013, at 9:56 AM, Thomas McGrath III wrote: >> >> > That's weird. I still get the 16th. Can anyone else confirm the 15th? >> (not doubting you Dar) >> > >> > I might have to change this then? >> > >> > Tom >> > >> > -- Tom McGrath III >> > http://lazyriver.on-rev.com >> > mcgrath3 at mac.com >> > >> > On Jul 18, 2013, at 12:39 AM, Dar Scott wrote: >> > >> >> >> >> On Jul 17, 2013, at 7:03 PM, Thomas McGrath III wrote: >> >> >> >>> I am converting the short date (08/16/13) to seconds and I get >> 1376625600 >> >> >> >> When I converted it back earlier today, I got the 15th. I guess there >> is a problem related to timezones or something. >> >> >> >> Consider NAMEyyyymmdd. It is easy to parse. It lists in order. It >> is somewhat readable. It is two characters shorter. >> >> >> >> Dar >> >> >> >> _______________________________________________ >> >> use-livecode mailing list >> >> use-livecode at lists.runrev.com >> >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 jeff at siphonophore.com Thu Jul 18 14:05:05 2013 From: jeff at siphonophore.com (Jeff Reynolds) Date: Thu, 18 Jul 2013 14:05:05 -0400 Subject: QT playback of remote files In-Reply-To: References: Message-ID: Trevor way good! This just clicked, i had to do this with a project where it was a local files but multiple movies were playing then had to fire an audio file and would not reliably start playing. i stumbled into setting the playrate somehow. good luck Jacqueline! jeff On Jul 17, 2013, at 9:34 PM, use-livecode-request at lists.runrev.com wrote: > Hopefully that will fix the problem. The 'playrate' is a QuickTime property > that I always used back in the days of LiveStage Pro (a QuickTime authoring > environment). When I started using LiveCode I always used 'playrate' > (rather than 'start player') out of habit. When I saw reports of problems > with 'start player' the problems were often resolved by switching to 'set > playrate'. From scott at tactilemedia.com Thu Jul 18 14:13:48 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 18 Jul 2013 11:13:48 -0700 Subject: [OT] Skydrive In-Reply-To: Message-ID: Actually, if all you care about is "free", you can get 50GB of free cloud storage through AT&T. Visit this page and follow the instructions: I don't believe they have any desktop integration yet, but it's 50GB and for the moment it's free. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 7/18/13 10:45 AM, "Peter Haworth" wrote: >Thanks Pascal/Mike. I'm looking for a free solution and while some of the >ones mentioned do have free versions, it seems that Skydirve offers the >most free storage (7Gigs). > >Pete >lcSQL Software > > >On Thu, Jul 18, 2013 at 10:16 AM, Mike Kerner >wrote: > >> You can also do the same thing with Dropbox, iCloud, and others. >> >> >> On Thu, Jul 18, 2013 at 12:50 PM, Peter Haworth wrote: >> >> > I've been using Google Drive for quite a while but have started >>having a >> > lot of problems with it resulting in complete re downloading of all my >> > files on several occasions - that takes a couple of hours and Drive >>chews >> > up 100% of my CPU while it's happening. >> > >> > Just installed Skydrive to see if it works any better. All is good so >> far >> > except that it seems to have the WIndows file naming restrictions in >>it >> - I >> > got some files that couldn't be sync'd because they included >>characters >> > like period or colon - not good for Mac users. >> > >> > I can probably live with that but wondering if anyone on the list uses >> > Skydrive and would share their experiences with it. >> > >> > 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 >> > >> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Thu Jul 18 14:13:42 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 18 Jul 2013 12:13:42 -0600 Subject: Convert date to seconds In-Reply-To: References: <1655B0C4-E3FF-4443-B73A-CCC946D32E84@mac.com> <27433102-5FB4-4258-AACE-8E9A3ED34211@swcp.com> Message-ID: We might be saying the same thing, but I'm not sure. on mouseUp get the short date convert it to seconds put it & tab & it/3600 mod 24 end mouseUp gives me this: 1374127200 6 I'm in MDT (Rocky Mountains), somebody in California might take those same seconds and convert to a short date and get something other than today, the 18th. Or is it Florida? Dar On Jul 18, 2013, at 12:01 PM, Andrew Kluthe wrote: > it gets midnight UTC, livecode changing the date FROM the time zone > independent seconds gives you time zone differences. > > > On Thu, Jul 18, 2013 at 12:48 PM, Dar Scott wrote: > >> I think it is the UTC seconds thing. I think that changing a date to >> seconds will get midnight of the day for the current time zone. Somebody >> in an more westerly timezone might see those seconds and the date will be >> earlier. >> >> If it is on only one computer and the timezone will not change, then you >> might be OK. >> >> The dateItems format for convert might be handy for coming up with a file >> name format. >> >> Dar >> >> On Jul 18, 2013, at 9:56 AM, Thomas McGrath III wrote: >> >>> That's weird. I still get the 16th. Can anyone else confirm the 15th? >> (not doubting you Dar) >>> >>> I might have to change this then? >>> >>> Tom >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> mcgrath3 at mac.com >>> >>> On Jul 18, 2013, at 12:39 AM, Dar Scott wrote: >>> >>>> >>>> On Jul 17, 2013, at 7:03 PM, Thomas McGrath III wrote: >>>> >>>>> I am converting the short date (08/16/13) to seconds and I get >> 1376625600 >>>> >>>> When I converted it back earlier today, I got the 15th. I guess there >> is a problem related to timezones or something. >>>> >>>> Consider NAMEyyyymmdd. It is easy to parse. It lists in order. It is >> somewhat readable. It is two characters shorter. >>>> >>>> Dar >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 dsc at swcp.com Thu Jul 18 14:16:47 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 18 Jul 2013 12:16:47 -0600 Subject: Convert date to seconds In-Reply-To: References: <1655B0C4-E3FF-4443-B73A-CCC946D32E84@mac.com> <27433102-5FB4-4258-AACE-8E9A3ED34211@swcp.com> Message-ID: <0BD6C30B-6288-473F-B33A-8860FADA98D3@swcp.com> Yikes. I sent off something before seeing this. Well, maybe it is helpful. And it was scathing! Well, not really. I don't know how to do scathing and have no inclination, anyway. Dar On Jul 18, 2013, at 12:02 PM, Andrew Kluthe wrote: > disregard, after looking more closely at his email dar is correct > completely. > > > On Thu, Jul 18, 2013 at 1:01 PM, Andrew Kluthe wrote: > >> it gets midnight UTC, livecode changing the date FROM the time zone >> independent seconds gives you time zone differences. >> >> >> On Thu, Jul 18, 2013 at 12:48 PM, Dar Scott wrote: >> >>> I think it is the UTC seconds thing. I think that changing a date to >>> seconds will get midnight of the day for the current time zone. Somebody >>> in an more westerly timezone might see those seconds and the date will be >>> earlier. >>> >>> If it is on only one computer and the timezone will not change, then you >>> might be OK. >>> >>> The dateItems format for convert might be handy for coming up with a file >>> name format. >>> >>> Dar >>> >>> On Jul 18, 2013, at 9:56 AM, Thomas McGrath III wrote: >>> >>>> That's weird. I still get the 16th. Can anyone else confirm the 15th? >>> (not doubting you Dar) >>>> >>>> I might have to change this then? >>>> >>>> Tom >>>> >>>> -- Tom McGrath III >>>> http://lazyriver.on-rev.com >>>> mcgrath3 at mac.com >>>> >>>> On Jul 18, 2013, at 12:39 AM, Dar Scott wrote: >>>> >>>>> >>>>> On Jul 17, 2013, at 7:03 PM, Thomas McGrath III wrote: >>>>> >>>>>> I am converting the short date (08/16/13) to seconds and I get >>> 1376625600 >>>>> >>>>> When I converted it back earlier today, I got the 15th. I guess there >>> is a problem related to timezones or something. >>>>> >>>>> Consider NAMEyyyymmdd. It is easy to parse. It lists in order. It >>> is somewhat readable. It is two characters shorter. >>>>> >>>>> Dar >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 18 14:23:22 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 18 Jul 2013 11:23:22 -0700 Subject: [OT] Skydrive In-Reply-To: References: Message-ID: Thanks Scott. 50gb free is great but no syncing rules it out. Pete lcSQL Software On Thu, Jul 18, 2013 at 11:13 AM, Scott Rossi wrote: > Actually, if all you care about is "free", you can get 50GB of free cloud > storage through AT&T. Visit this page and follow the instructions: > < > http://news.cnet.com/8301-13845_3-57594103-58/get-50gb-of-at-t-locker-clou > d-storage-for-free/> > > > I don't believe they have any desktop integration yet, but it's 50GB and > for the moment it's free. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 7/18/13 10:45 AM, "Peter Haworth" wrote: > > >Thanks Pascal/Mike. I'm looking for a free solution and while some of the > >ones mentioned do have free versions, it seems that Skydirve offers the > >most free storage (7Gigs). > > > >Pete > >lcSQL Software > > > > > >On Thu, Jul 18, 2013 at 10:16 AM, Mike Kerner > >wrote: > > > >> You can also do the same thing with Dropbox, iCloud, and others. > >> > >> > >> On Thu, Jul 18, 2013 at 12:50 PM, Peter Haworth wrote: > >> > >> > I've been using Google Drive for quite a while but have started > >>having a > >> > lot of problems with it resulting in complete re downloading of all my > >> > files on several occasions - that takes a couple of hours and Drive > >>chews > >> > up 100% of my CPU while it's happening. > >> > > >> > Just installed Skydrive to see if it works any better. All is good so > >> far > >> > except that it seems to have the WIndows file naming restrictions in > >>it > >> - I > >> > got some files that couldn't be sync'd because they included > >>characters > >> > like period or colon - not good for Mac users. > >> > > >> > I can probably live with that but wondering if anyone on the list uses > >> > Skydrive and would share their experiences with it. > >> > > >> > 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 > >> > > >> > >> > >> > >> -- > >> On the first day, God created the heavens and the Earth > >> On the second day, God created the oceans. > >> On the third day, God put the animals on hold for a few hours, > >> and did a little diving. > >> And God said, "This is good." > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From andre.bisseret at wanadoo.fr Thu Jul 18 15:57:50 2013 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Thu, 18 Jul 2013 21:57:50 +0200 Subject: How to manage file name containing a date with / Message-ID: <8449AD1E-78C2-419B-84A2-1AE361614397@wanadoo.fr> Bonjour, the app. I am developing on Mac is for a physician (a friend of mine). When he receives a document concerning a patient (ex. : results of a checkup) he scans it, creates a PDF and gives it a name: ex. : Joe PATIENT - bio checkup - 09/2013.pdf I need to launch such documents from scripts. On Mac, the slash is automatically replaced with : (colon) ; well! why not as far as all works as expected : - Double-click on the document opens it - and, in a script, launch document "its file name" works as well. (the filename containing the colon) My problem happens with Windows. On Windows, the : (colon) is replaced with what seems to be a character ( a kind of period, or something like a small bullet point) - Double-clicking on a document keeps opening it (good) - But to launch a document from a script I need to replace : (colon) with this "character" in the filename of the document. I can't!!! When I copy this "character" and paste it in the script editor, it is immediately replaced with "?" I tried pasting it in the message box: there, it is immediately replaced with "? :-((( I am going crazy!! Any help would be very much appreciated Thanks in advance Best regards Andr? From bvg at mac.com Thu Jul 18 16:31:58 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 18 Jul 2013 22:31:58 +0200 Subject: posting binary-data to livecode-server - how to get progress information In-Reply-To: <80604C4A-40CE-4FE5-96BA-138BB0455256@m-r-d.de> References: <1F163395-498D-422D-B4B6-4C916A1ECD84@mac.com> <80604C4A-40CE-4FE5-96BA-138BB0455256@m-r-d.de> Message-ID: <37B189BF-1D3A-4FA6-8D22-6FD534542FC3@mac.com> look at the dictionary :) On 18.07.2013, at 15:44, Matthias Rebbe wrote: > Bj?rnke, > > what is liburlexpect100? Could please explain? > > Matthias > > Am 18.07.2013 um 15:36 schrieb Bj?rnke von Gierke : > >> try fiddling with the liburlexpect100 >> >> On 18.07.2013, at 13:15, Matthias Rebbe wrote: >> >>> Hi, >>> >>> i am uploading binary files from a livecode app to a livecode-server script using the post method. This works well w/o problems. When posting larger files it would be nice to see the progress of the upload. >>> >>> How can this be accomplished? >>> >>> I tried to define a callback using libUrlSetStatusCallback w/o success. >>> I also tried to use the urlprogress message, also w/o success. >>> Do i have to add something to the livecode-server script or >>> is it not possible to get information about the upload progress? >>> >>> 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 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 bvg at mac.com Thu Jul 18 16:34:04 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 18 Jul 2013 22:34:04 +0200 Subject: sqlite ios pragma In-Reply-To: References: <51E665D8.70305@economy-x-talk.com> Message-ID: <575CCB06-15D2-4343-935A-6095BEEEE731@mac.com> ah too bad.. At this point i'd go and ask support, if runrev disabled something or used a different driver version (or different compile), then they'll probably know why this doesn't work on iOS. Not that that would actually help right now, but maybe it's an easily fixable bug in the external? On 18.07.2013, at 16:46, Mike Kerner wrote: > It works fine in the IDE/Mac/Windows, so when I took it over to iOS and it > didn't work, I spent a couple of hours trying to debug other things before > I found out that NONE of the PRAGMAs seem to work. > > > On Thu, Jul 18, 2013 at 5:37 AM, Bj?rnke von Gierke wrote: > >> No, you're on your own there. I'd think it weird to not work there tho. >> Did your code work in the ide? >> >> On 17.07.2013, at 19:46, Mike Kerner wrote: >> >>> I found out about this because I couldn't get PRAGMA to work in the >>> simulator when it works fine on the desktop. So, BvG, are you saying it >>> works for you on iOS? >>> >>> >>> On Wed, Jul 17, 2013 at 1:08 PM, Peter Haworth wrote: >>> >>>> Yes, saw them after I made my post, sorry. >>>> >>>> Pete >>>> lcSQL Software >>>> >>>> >>>> On Wed, Jul 17, 2013 at 9:05 AM, Mark Schonewille < >>>> m.schonewille at economy-x-talk.com> wrote: >>>> >>>>> Hi Pete, >>>>> >>>>> Have you read my next post and Bj?rnke's follow-up? >>>>> >>>>> -- >>>>> 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 17 jul 2013, at 17:38, Peter Haworth wrote: >>>>> >>>>>> Can't speak for iOS but on the desktop, PRAGMA is just another SQLite >>>>>> statement that can be executed fine via revDataFromQuery. >>>>>> >>>>>> 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 >>>> >>> >>> >>> >>> -- >>> On the first day, God created the heavens and the Earth >>> On the second day, God created the oceans. >>> On the third day, God put the animals on hold for a few hours, >>> and did a little diving. >>> And God said, "This is good." >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> -- >> >> Use 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 >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From dsc at swcp.com Thu Jul 18 16:47:04 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 18 Jul 2013 14:47:04 -0600 Subject: How to manage file name containing a date with / In-Reply-To: <8449AD1E-78C2-419B-84A2-1AE361614397@wanadoo.fr> References: <8449AD1E-78C2-419B-84A2-1AE361614397@wanadoo.fr> Message-ID: That is a lower case eth. The Unicode is 00F0, F0 in Latin-1. Windows uses some other font encoding. You might be able to use that character directly whatever it looks like. Windows will just see the code for it. On Windows. If it was saved to Windows and you are looking at it on Mac, then it might look different. In all cases, if saved on Windows, then try numToChar(240) whatever it looks like. Similarly, if it was saved on Mac, use the appropriate numToChar( ...). Dar On Jul 18, 2013, at 1:57 PM, Andr? Bisseret wrote: > ? From dsc at swcp.com Thu Jul 18 16:51:05 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 18 Jul 2013 14:51:05 -0600 Subject: How to manage file name containing a date with / In-Reply-To: References: <8449AD1E-78C2-419B-84A2-1AE361614397@wanadoo.fr> Message-ID: <07C55A3A-A251-4CED-8B08-91D5A4670338@swcp.com> Whoops. you have that one under control. Sorry about the crisp comments, I'm out the door! Dar On Jul 18, 2013, at 2:47 PM, Dar Scott wrote: > Similarly, if it was saved on Mac, use the appropriate numToChar( ...). From monte at sweattechnologies.com Thu Jul 18 17:16:49 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 19 Jul 2013 07:16:49 +1000 Subject: Bug in Properties command in 6.1? In-Reply-To: References: Message-ID: On 19/07/2013, at 4:00 AM, Timothy Bleiler wrote: > I submitted a bug report 11060. Thanks Timothy None of my changes touched hilitedLines however we did introduce some precedence ordering of setting properties that have side effects to try and ensure that setting actually did set things correctly and I suspect this side effect slipped by unnoticed. Basically the fact that it worked in 5.5.4 is a fluke of luck based on the ordering of the keys of the array when processed. I have a suspicion that ensuring text is set first will resolve it. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From bleiler at buffalo.edu Thu Jul 18 17:23:45 2013 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Thu, 18 Jul 2013 17:23:45 -0400 Subject: Bug in Properties command in 6.1? In-Reply-To: References: Message-ID: <16DE50FA-8B1B-485A-8EFC-AB802C9CECB9@buffalo.edu> Thanks Monte, Is this something you can fix at the engine level or is it something we should work around when using the "properties"? Tim On Jul 18, 2013, at 5:16 PM, Monte Goulding wrote: > > On 19/07/2013, at 4:00 AM, Timothy Bleiler wrote: > >> I submitted a bug report 11060. > > Thanks Timothy > > None of my changes touched hilitedLines however we did introduce some precedence ordering of setting properties that have side effects to try and ensure that setting actually did set things correctly and I suspect this side effect slipped by unnoticed. Basically the fact that it worked in 5.5.4 is a fluke of luck based on the ordering of the keys of the array when processed. I have a suspicion that ensuring text is set first will resolve it. > > 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 Thu Jul 18 17:27:59 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 19 Jul 2013 07:27:59 +1000 Subject: Bug in Properties command in 6.1? In-Reply-To: <16DE50FA-8B1B-485A-8EFC-AB802C9CECB9@buffalo.edu> References: <16DE50FA-8B1B-485A-8EFC-AB802C9CECB9@buffalo.edu> Message-ID: <092A2C28-10D3-4E54-8663-A933B063198C@sweattechnologies.com> On 19/07/2013, at 7:23 AM, Timothy Bleiler wrote: > Is this something you can fix at the engine level or is it something we should work around when using the "properties"? It will need to be fixed at the engine level. Setting the properties of field 1 to the properties of field 2 shouldn't lose anything but script. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From andrew at ctech.me Thu Jul 18 17:36:15 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 18 Jul 2013 16:36:15 -0500 Subject: posting binary-data to livecode-server - how to get progress information In-Reply-To: <37B189BF-1D3A-4FA6-8D22-6FD534542FC3@mac.com> References: <1F163395-498D-422D-B4B6-4C916A1ECD84@mac.com> <80604C4A-40CE-4FE5-96BA-138BB0455256@m-r-d.de> <37B189BF-1D3A-4FA6-8D22-6FD534542FC3@mac.com> Message-ID: For anyone trying to look this up in the dictionary it is libURLSetExpect100 Although, I am not sure how this can be used to do what you want. andrew On Thu, Jul 18, 2013 at 3:31 PM, Bj?rnke von Gierke wrote: > look at the dictionary :) > > On 18.07.2013, at 15:44, Matthias Rebbe wrote: > > > Bj?rnke, > > > > what is liburlexpect100? Could please explain? > > > > Matthias > > > > Am 18.07.2013 um 15:36 schrieb Bj?rnke von Gierke : > > > >> try fiddling with the liburlexpect100 > >> > >> On 18.07.2013, at 13:15, Matthias Rebbe wrote: > >> > >>> Hi, > >>> > >>> i am uploading binary files from a livecode app to a livecode-server > script using the post method. This works well w/o problems. When posting > larger files it would be nice to see the progress of the upload. > >>> > >>> How can this be accomplished? > >>> > >>> I tried to define a callback using libUrlSetStatusCallback w/o > success. > >>> I also tried to use the urlprogress message, also w/o success. > >>> Do i have to add something to the livecode-server script or > >>> is it not possible to get information about the upload progress? > >>> > >>> 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 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 > -- Regards, Andrew Kluthe andrew at ctech.me From ambassador at fourthworld.com Thu Jul 18 17:41:35 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 18 Jul 2013 14:41:35 -0700 Subject: Bug in Properties command in 6.1? In-Reply-To: <092A2C28-10D3-4E54-8663-A933B063198C@sweattechnologies.com> References: <092A2C28-10D3-4E54-8663-A933B063198C@sweattechnologies.com> Message-ID: <51E8610F.9080309@fourthworld.com> Monte Goulding wrote: > Setting the properties of field 1 to the properties of field 2 > shouldn't lose anything but script. If the script isn't included in the properties, why does setting the properties alter it? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From monte at sweattechnologies.com Thu Jul 18 17:51:11 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 19 Jul 2013 07:51:11 +1000 Subject: Bug in Properties command in 6.1? In-Reply-To: <51E8610F.9080309@fourthworld.com> References: <092A2C28-10D3-4E54-8663-A933B063198C@sweattechnologies.com> <51E8610F.9080309@fourthworld.com> Message-ID: <36C57890-64D8-4FA0-8E8B-160FF5F75905@sweattechnologies.com> On 19/07/2013, at 7:41 AM, Richard Gaskin wrote: > If the script isn't included in the properties, why does setting the properties alter it? It doesn't... perhaps that statement was poorly worded... setting the properties of field 1 to the properties of field 2 doesn't set the script. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From monte at sweattechnologies.com Thu Jul 18 19:20:43 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 19 Jul 2013 09:20:43 +1000 Subject: Bug in Properties command in 6.1? In-Reply-To: References: Message-ID: <34A533F7-506B-4348-AA09-F3ACCE75867F@sweattechnologies.com> OK, so I'm struggling to work out the precedence rules here. Setting the htmlText first didn't work so after looking at the hilitedLines setprop I noticed listBehavior must be true. So I set that first too and it's still not working. What I think is happening is setting some other property is clearing the hilitedLines but I'm having a hard time thinking exactly what would do that. Can anyone think of any other properties that either must be set before hilitedLines is set or when setting them the hilitedLines are lost? Cheers Monte On 19/07/2013, at 3:15 AM, Timothy Bleiler wrote: > This looks like a bug to me. > > Create a new stack > add a button and a list field > > Set the button script to > > on mouseUp > Get the properties of fld 1 > Put 2 into it [ "HilitedLines" ] > Set the properties of fld 1 to it > end mouse up > > > Works in 5.5.4. In 6.1, the hilitedLines is empty after the properties of field 1 are set. > Only tested on a Mac. > > Anyone else seeing this? > > > Tim Bleiler, Ph.D. > Instructional Designer, HSIT > University at Buffalo > > _______________________________________________ > use-livecode mailing list > use-livecode 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 mwieder at ahsoftware.net Thu Jul 18 19:29:40 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 18 Jul 2013 16:29:40 -0700 Subject: Bug in Properties command in 6.1? In-Reply-To: <34A533F7-506B-4348-AA09-F3ACCE75867F@sweattechnologies.com> References: <34A533F7-506B-4348-AA09-F3ACCE75867F@sweattechnologies.com> Message-ID: <40198867696.20130718162940@ahsoftware.net> Monte- Thursday, July 18, 2013, 4:20:43 PM, you wrote: > Can anyone think of any other properties that either must be set > before hilitedLines is set or when setting them the hilitedLines are > lost? Do a binary search. Set the hilitedLines last, if that works then start bisecting the list until you find the one that munges the setting. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Thu Jul 18 19:37:42 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 18 Jul 2013 18:37:42 -0500 Subject: Bug in Properties command in 6.1? In-Reply-To: <36C57890-64D8-4FA0-8E8B-160FF5F75905@sweattechnologies.com> References: <092A2C28-10D3-4E54-8663-A933B063198C@sweattechnologies.com> <51E8610F.9080309@fourthworld.com> <36C57890-64D8-4FA0-8E8B-160FF5F75905@sweattechnologies.com> Message-ID: <51E87C46.9030701@hyperactivesw.com> On 7/18/13 4:51 PM, Monte Goulding wrote: > > On 19/07/2013, at 7:41 AM, Richard Gaskin > wrote: > >> If the script isn't included in the properties, why does setting >> the properties alter it? > > It doesn't... perhaps that statement was poorly worded... setting the > properties of field 1 to the properties of field 2 doesn't set the > script. Back when rewriting "the properties" first started, I wondered why the script wasn't included. Why's that? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Thu Jul 18 19:39:51 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 19 Jul 2013 09:39:51 +1000 Subject: Bug in Properties command in 6.1? In-Reply-To: <40198867696.20130718162940@ahsoftware.net> References: <34A533F7-506B-4348-AA09-F3ACCE75867F@sweattechnologies.com> <40198867696.20130718162940@ahsoftware.net> Message-ID: On 19/07/2013, at 9:29 AM, Mark Wieder wrote: >> Can anyone think of any other properties that either must be set >> before hilitedLines is set or when setting them the hilitedLines are >> lost? > > Do a binary search. Set the hilitedLines last, if that works then > start bisecting the list until you find the one that munges the > setting. I ran this and it only came up with listBehavior and htmlText... so I'm a bit stumped. on mouseUp put the properties of field 1 into tProps repeat for each key tKey in tProps if the hilitedLines of field 1 is empty then put tOldKey&cr after tList set the hilitedLines of field 1 to tProps["hilitedLines"] end if set the tKey of field 1 to tProps[tKey] put tKey into tOldKey end repeat put tList end mouseUp -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From mwieder at ahsoftware.net Thu Jul 18 19:46:25 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 18 Jul 2013 16:46:25 -0700 Subject: Bug in Properties command in 6.1? In-Reply-To: References: <34A533F7-506B-4348-AA09-F3ACCE75867F@sweattechnologies.com> <40198867696.20130718162940@ahsoftware.net> Message-ID: <188199872530.20130718164625@ahsoftware.net> Monte- Thursday, July 18, 2013, 4:39:51 PM, you wrote: > I ran this and it only came up with listBehavior and htmlText... so I'm a bit stumped. Hmmm... does "the properties" give you an ordered list? -- -Mark Wieder mwieder at ahsoftware.net From monte at sweattechnologies.com Thu Jul 18 20:06:03 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 19 Jul 2013 10:06:03 +1000 Subject: Bug in Properties command in 6.1? In-Reply-To: <188199872530.20130718164625@ahsoftware.net> References: <34A533F7-506B-4348-AA09-F3ACCE75867F@sweattechnologies.com> <40198867696.20130718162940@ahsoftware.net> <188199872530.20130718164625@ahsoftware.net> Message-ID: <65DCD811-5CEA-4F8C-AA01-3D75E6E3F58C@sweattechnologies.com> On 19/07/2013, at 9:46 AM, Mark Wieder wrote: > Hmmm... does "the properties" give you an ordered list? ? it's an array so it's unordered. The setprop now has some ordering (it didn't before and stuff like this one was just a fluke it worked) with certain properties that need to be set first. If I can work out which ones need to be set before hilitedLines then I can add them to the pre-preocess list. -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From iowahengst at mac.com Thu Jul 18 20:02:27 2013 From: iowahengst at mac.com (Randy Hengst) Date: Thu, 18 Jul 2013 19:02:27 -0500 Subject: iPad splash screen blocks In-Reply-To: References: Message-ID: <880B71BA-1673-40B1-9871-7F01CCC94C38@mac.com> Sims, That's happened to me a few times? once I had the same image from my splash screen at the top level of the first card of the stack? so, it covered everything? the other couple times, there was an error in my preOpen Card or preOpen Stack handlers. be well, randy ----- On Jul 17, 2013, at 6:00 AM, Jim sims wrote: > Using 5.5.5 livecode > > When iPad app opens the splash screen stays there and blocks use of the app. > > Any suggestions for a cure? > > sims > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paulhibbert at mac.com Thu Jul 18 20:18:23 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Thu, 18 Jul 2013 17:18:23 -0700 Subject: Bug in Properties command in 6.1? In-Reply-To: References: <34A533F7-506B-4348-AA09-F3ACCE75867F@sweattechnologies.com> <40198867696.20130718162940@ahsoftware.net> Message-ID: <216593A4-924D-467D-BFFE-D3E8395D2D4C@mac.com> Don't know if this is any help to you but, this script errors on the line... set the tKey of field 1 to tProps[tKey] ...when tKey = "padding" This happens in LC6.1 Commercial but not in LC5.5.4 or LC5.5.5 for my tests. If I add the trap... if tKey = "padding" then next repeat ...it runs fine in LC6.1. I don't see how padding is related to hilitedLines, but could it cause a command to fail silently? Paul On 2013-07-18, at 4:39 PM, Monte Goulding wrote: > > On 19/07/2013, at 9:29 AM, Mark Wieder wrote: > >>> Can anyone think of any other properties that either must be set >>> before hilitedLines is set or when setting them the hilitedLines are >>> lost? >> >> Do a binary search. Set the hilitedLines last, if that works then >> start bisecting the list until you find the one that munges the >> setting. > > I ran this and it only came up with listBehavior and htmlText... so I'm a bit stumped. > > on mouseUp > put the properties of field 1 into tProps > repeat for each key tKey in tProps > if the hilitedLines of field 1 is empty then > put tOldKey&cr after tList > set the hilitedLines of field 1 to tProps["hilitedLines"] > end if > set the tKey of field 1 to tProps[tKey] > put tKey into tOldKey > end repeat > put tList > end mouseUp > > -- > 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 MikeKerner at roadrunner.com Thu Jul 18 20:46:08 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 18 Jul 2013 20:46:08 -0400 Subject: sqlite ios pragma In-Reply-To: <575CCB06-15D2-4343-935A-6095BEEEE731@mac.com> References: <51E665D8.70305@economy-x-talk.com> <575CCB06-15D2-4343-935A-6095BEEEE731@mac.com> Message-ID: I filed the bug report a day or so ago, but I have a feeling that it won't be a huge priority, but one can hope... On Thu, Jul 18, 2013 at 4:34 PM, Bj?rnke von Gierke wrote: > ah too bad.. At this point i'd go and ask support, if runrev disabled > something or used a different driver version (or different compile), then > they'll probably know why this doesn't work on iOS. Not that that would > actually help right now, but maybe it's an easily fixable bug in the > external? > > On 18.07.2013, at 16:46, Mike Kerner wrote: > > > It works fine in the IDE/Mac/Windows, so when I took it over to iOS and > it > > didn't work, I spent a couple of hours trying to debug other things > before > > I found out that NONE of the PRAGMAs seem to work. > > > > > > On Thu, Jul 18, 2013 at 5:37 AM, Bj?rnke von Gierke wrote: > > > >> No, you're on your own there. I'd think it weird to not work there tho. > >> Did your code work in the ide? > >> > >> On 17.07.2013, at 19:46, Mike Kerner wrote: > >> > >>> I found out about this because I couldn't get PRAGMA to work in the > >>> simulator when it works fine on the desktop. So, BvG, are you saying > it > >>> works for you on iOS? > >>> > >>> > >>> On Wed, Jul 17, 2013 at 1:08 PM, Peter Haworth wrote: > >>> > >>>> Yes, saw them after I made my post, sorry. > >>>> > >>>> Pete > >>>> lcSQL Software > >>>> > >>>> > >>>> On Wed, Jul 17, 2013 at 9:05 AM, Mark Schonewille < > >>>> m.schonewille at economy-x-talk.com> wrote: > >>>> > >>>>> Hi Pete, > >>>>> > >>>>> Have you read my next post and Bj?rnke's follow-up? > >>>>> > >>>>> -- > >>>>> 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 17 jul 2013, at 17:38, Peter Haworth wrote: > >>>>> > >>>>>> Can't speak for iOS but on the desktop, PRAGMA is just another > SQLite > >>>>>> statement that can be executed fine via revDataFromQuery. > >>>>>> > >>>>>> 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 > >>>> > >>> > >>> > >>> > >>> -- > >>> On the first day, God created the heavens and the Earth > >>> On the second day, God created the oceans. > >>> On the third day, God put the animals on hold for a few hours, > >>> and did a little diving. > >>> And God said, "This is good." > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> -- > >> > >> Use 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 > >> > > > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > -- > > Use 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From monte at sweattechnologies.com Thu Jul 18 21:03:16 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 19 Jul 2013 11:03:16 +1000 Subject: Bug in Properties command in 6.1? In-Reply-To: <216593A4-924D-467D-BFFE-D3E8395D2D4C@mac.com> References: <34A533F7-506B-4348-AA09-F3ACCE75867F@sweattechnologies.com> <40198867696.20130718162940@ahsoftware.net> <216593A4-924D-467D-BFFE-D3E8395D2D4C@mac.com> Message-ID: <078BE073-DBE9-4542-A587-03DD020B3325@sweattechnologies.com> Not in my version ;-) I've fixed that. Padding was incorrectly documented as a field property when it's only a line property. Cheers Monte On 19/07/2013, at 10:18 AM, Paul Hibbert wrote: > Don't know if this is any help to you but, this script errors on the line... > > set the tKey of field 1 to tProps[tKey] > > ...when tKey = "padding" > > This happens in LC6.1 Commercial but not in LC5.5.4 or LC5.5.5 for my tests. > > If I add the trap... > > if tKey = "padding" then next repeat > > ...it runs fine in LC6.1. > > I don't see how padding is related to hilitedLines, but could it cause a command to fail silently? -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From ludovic.thebault at laposte.net Fri Jul 19 01:57:46 2013 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Fri, 19 Jul 2013 07:57:46 +0200 Subject: Bug in resizestack script : how exit ? Message-ID: Hello, I wrote a script for resizestack, and i resize the stack to test it. But there is a bug and Livecode was frozen (6,1 community), impossible to get the hand, need to force quit. There is an command to regain control ? Thanks From andre.bisseret at wanadoo.fr Fri Jul 19 04:27:14 2013 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Fri, 19 Jul 2013 10:27:14 +0200 Subject: How to manage file name containing a date with / In-Reply-To: References: <8449AD1E-78C2-419B-84A2-1AE361614397@wanadoo.fr> Message-ID: <9BF32FEE-F4DE-406F-B53A-07A5AFE14FE8@wanadoo.fr> Thank you much Dar for your reply. This morning I tried on Windows: replace ":" with numToChar(240) in tDocName > no success but, actually, when I past the mysterious char (kind of period) in the message box, I get "? I mean I get quote followed by ? So I tried put quote & numToChar(240) into tVar replace ":" with tVar in tDocName > again no success When I paste the mysterious char directly in the script it is immediately replaced by "?" so I tried replace ":" with "?" in tDocName > no success I am completely lost. What could I do? Thanks in advance for any suggestion Best regards Andr? Le 18 juil. 2013 ? 22:47, Dar Scott a ?crit : > That is a lower case eth. The Unicode is 00F0, F0 in Latin-1. Windows uses some other font encoding. > > You might be able to use that character directly whatever it looks like. Windows will just see the code for it. On Windows. > > If it was saved to Windows and you are looking at it on Mac, then it might look different. In all cases, if saved on Windows, then try numToChar(240) whatever it looks like. > > Similarly, if it was saved on Mac, use the appropriate numToChar( ...). > > Dar > > > On Jul 18, 2013, at 1:57 PM, Andr? Bisseret wrote: > >> ? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Fri Jul 19 05:46:09 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 19 Jul 2013 11:46:09 +0200 Subject: eHUG organizes LiveCode meeting in the Netherlands - Sa. 20 July 2013 Message-ID: <51E90AE1.20306@economy-x-talk.com> Beste allemaal, Aanstaande zaterdag 20 juli van 12:00h. tot ongeveer 16:00h. houden we een LiveCode-bijeenkomst. Deze bijeenkomst wordt gehouden in Breda. Het adres is: Coffee & Cream Willemstraat 18 4811 AL Breda Nederland We kunnen gebruik maken van een grote tafel en ons is toegezegd dat het er rustig zal zijn (al is dat natuurlijk enigszins relatief). Coffee & Cream zit vlak bij het station in het centrum van Breda. Dit http://goo.gl/maps/RMzAV is een linkje naar Google Maps. Er is WIFI in de zaak en er zijn 1 of 2 stopcontacten. Ik raad je echter wel aan om te zorgen dat de batterij van je laptop is opgeladen, mocht je die mee willen nemen. We verwachten ongeveer 10 deelnemers uit drie verschillende landen. Er zullen drie of vier korte presentaties worden gehouden. Tot de onderwerpen zullen waarschijnlijk behoren: MetaCard in het technisch onderwijs; een spel om te leren boekhouden; een overzichtje van een aantal kleinere projecten; en GUI-ontwerp voor iOS. Er zal zaterdag ook tijd zijn om gewoon vragen te stellen. Er zal een e-book uit de Take Control serie worden verloot. De titel van het boek is Take Control Of Using Mountain Lion, geschreven door Matt Neuburg. Ook zal het softwarepakket TopXNotes worden verloot. Er zijn nog twee exemplaren van de eerste druk van het boek Programming LiveCode for the Real Beginner beschikbaar. Deze kunnen ter plekke worden aangeschaft voor 25 euro i.p.v. 32 euro. Je kunt ook nog 2 weken wachten en een exemplaar van de tweede druk bestellen voor 32 euro. Als je nog vragen hebt, dan kun je per e-mail of telefoon contact met me opnemen. Nog even een paar nuttige links. Nederlands LiveCode forum: http://nl.runrev.info/ eHUG op Facebook: https://www.facebook.com/groups/AUG.eHUG/ LiveCode gebruikers op Facebook: https://www.facebook.com/groups/runrev/ Mijn Twitter account: http://twitter.com/xtalkprogrammer Dear all, This Saturday, 20 July, from 12:00 until approximately 16:00PM, we will have our LiveCode meeting. The meeting is in Breda. The address is: Coffee & Cream Willemstraat 18 4811 AL Breda Nederland We can use a big table we have been promised a relatively quiet place. Coffee & Cream is close to the railway station in the city centre. Here's a link http://goo.gl/maps/RMzAV to Google Maps. WIFI is available and there are 1 or 2 power outlets. However, it is recommended to make sure that the battery of your laptop is fully charged if you decided to take your laptop with you. We expect approximately 10 participants from three different countries. there will be three or four brief presentations. Possible subjects are: Metacard in technical education; a game to learn accounting; an overview of a number of smaller projects; and GUI design for iOS. You will also get an opportunity to ask questions. A book from the Take Control series will be raffled off. The title of the book is Take Control of Using Mountain Lion, written by Matt Neuburg. Additionally, we will raffle off a copy of the TopXNotes software. Currently, two copies of the first print of the book Programming LiveCode for the Real Beginner still remain. These can be purchased on location for 25 euro instead of 32 euro. Alternatively, you can wait 2 weeks and order a copy of the second print for 32 euro. If you have any more questions, you can contact me by e-mail or phone. Following are a few useful links. Dutch LiveCode forum: http://nl.runrev.info/ eHUG on Facebook: https://www.facebook.com/groups/AUG.eHUG/ LiveCode users on Facebook: https://www.facebook.com/groups/runrev/ My Twitter account: http://twitter.com/xtalkprogrammer Liebe Leute, An diesem Samstag gibt es das LiveCode-Treffen. Dieses Treffen findet statt in Breda ab 12:00U. bis ungef?hr 16:00U. Die Adresse ist: Coffee & Cream Willemstraat 18 4811 AL Breda Nederland Wir d?rfen einen grossen Tisch in der Mitte benutzen und man hat versprochen dass es relativ ruhig sein wird. Coffee & Cream befindet sich in der N?he des Bahnhofs in der Stadtmitte. Dieser Link http://goo.gl/maps/RMzAV auf Google Maps zeigt die genaue Stelle. Es gibt WIFI und es gibt 1 oder 2 Steckdosen. Ich m?chte dir jedoch empfehlen den Akku deines Laptops voll zu laden wenn du es mitnehmen m?chtest. Wir erwarten ungef?hr 10 Teilnehmer aus 3 unterschiedlichen L?ndern. Es wird drei oder vier Pr?sentation geben. Zu den m?glichen Themen geh?ren: MetaCard im technischen Unterricht; ein Spiel das hilft beim lernen der Buchhaltung; ein ?bersicht mehrerer kleinen Projekte; und GUI-Entwurf f?r iOS. Es wird auch eine M?glichkeit geben Fragen zu stellen. Ein E-Book aus der Take Control Serie wird verlost. Der Titel ist Take Control of Using Mounting Lion, geschrieben von Matt Neuburg. Ausserdem wird die Software TopXNotes verlost. Es gibt noch 2 Exemplare des ersten Drucks de Buches Programming LiveCode for the Real Beginner. Diese kann man vor Ort erwerben f?r 25 Euro. Die Alternative ist noch 2 Wochen zu warten und f?r 32 Euro ein Exemplar des zweiten Drucks zu bestellen. Wenn du mich noch was zu fragen hat, kannst du dich per E-Mail oder per Telefon mit mir in Verbindung setzen. Folgen noch einige n?tzlichen Links. Niederl?ndisches LiveCode forum: http://nl.runrev.info/ eHUG auf Facebook: https://www.facebook.com/groups/AUG.eHUG/ LiveCode Nutzer auf Facebook: https://www.facebook.com/groups/runrev/ Mein Twitter-Konto: http://twitter.com/xtalkprogrammer -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ From dave at applicationinsight.com Fri Jul 19 07:08:09 2013 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 19 Jul 2013 12:08:09 +0100 Subject: possible LiveCode users group for South West England Message-ID: <9925A1D7-2CF9-481B-A2A5-862C394FE1D4@applicationinsight.com> Hi all LiveCoders in the South West of England (or thereabouts) In the past few months John Dixon, John Paterson, Peter Alcibiades, Ian Wood and I have been emailing each other about a LiveCode Users Group here in the South West of England I contacted Heather who said that when we're ready to go for an initial meeting that she can send out an email to all LiveCode users in the region - and suggested that some offers of price discounts and other goodies from RunRev might also be forthcoming. Where we've got to is an agreed meeting venue in Exeter (a nice place and roughly central for the region) and a list of possible meeting dates on Doodle.com (http://doodle.com/s3inwq58bh8tq9k2) Could any people interested in attending complete the form on Doodle? Or if none of the dates are any good please let me know? Kind regards Dave From andrew at ctech.me Fri Jul 19 08:41:14 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Fri, 19 Jul 2013 07:41:14 -0500 Subject: Set Tabs on a Tab Btn via Script Message-ID: Hello, Is there a property I can use to set the number/text of tabs in a tab panel? -- Regards, Andrew Kluthe andrew at ctech.me From andrew at ctech.me Fri Jul 19 08:43:20 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Fri, 19 Jul 2013 07:43:20 -0500 Subject: Set Tabs on a Tab Btn via Script In-Reply-To: References: Message-ID: Should have tried fooling with it first. For anyone else, setting the text of a tab button sets the labels of the tabs. On Fri, Jul 19, 2013 at 7:41 AM, Andrew Kluthe wrote: > Hello, > > Is there a property I can use to set the number/text of tabs in a tab > panel? > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me > -- Regards, Andrew Kluthe andrew at ctech.me From claus at dreischer.de Fri Jul 19 11:16:43 2013 From: claus at dreischer.de (Claus Dreischer) Date: Fri, 19 Jul 2013 17:16:43 +0200 Subject: [OT] Skydrive In-Reply-To: References: Message-ID: <51E9585B.6050405@dreischer.de> Hi, wherever you store your files, think about securing them, that is, encrypting them. "Duplicati" is free and has lots of options where to store your files incl. Skydrive. https://sites.google.com/a/duplicati.com/duplicati/ Regards, Claus, just a happy Duplicati user Am 18.07.13 20:23, schrieb Peter Haworth: > Thanks Scott. 50gb free is great but no syncing rules it out. > > Pete > lcSQL Software > > > On Thu, Jul 18, 2013 at 11:13 AM, Scott Rossi wrote: > >> Actually, if all you care about is "free", you can get 50GB of free cloud >> storage through AT&T. Visit this page and follow the instructions: >> < >> http://news.cnet.com/8301-13845_3-57594103-58/get-50gb-of-at-t-locker-clou >> d-storage-for-free/> >> >> >> I don't believe they have any desktop integration yet, but it's 50GB and >> for the moment it's free. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> ... From jacque at hyperactivesw.com Fri Jul 19 11:24:35 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 19 Jul 2013 10:24:35 -0500 Subject: How to manage file name containing a date with / In-Reply-To: <9BF32FEE-F4DE-406F-B53A-07A5AFE14FE8@wanadoo.fr> References: <8449AD1E-78C2-419B-84A2-1AE361614397@wanadoo.fr> <9BF32FEE-F4DE-406F-B53A-07A5AFE14FE8@wanadoo.fr> Message-ID: "Andr? Bisseret" wrote: >So I tried >put quote & numToChar(240) into tVar >replace ":" with tVar in tDocName > again no success > >When I paste the mysterious char directly in the script it is >immediately replaced by "?" In the message box, do this : put charToNum('') and paste the copied character between the quotes. That gives you the actual number of the character being used. Then in your script use numToChar() to do the replacements. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Fri Jul 19 12:09:39 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 19 Jul 2013 09:09:39 -0700 Subject: How to manage file name containing a date with / In-Reply-To: <9BF32FEE-F4DE-406F-B53A-07A5AFE14FE8@wanadoo.fr> References: <8449AD1E-78C2-419B-84A2-1AE361614397@wanadoo.fr> <9BF32FEE-F4DE-406F-B53A-07A5AFE14FE8@wanadoo.fr> Message-ID: Andre, Not sure if this might help but there was a thread recently about using ISOToMac and MacToISO to handle ascii values above 127 entered on one platform and used on the other. Pete lcSQL Software On Fri, Jul 19, 2013 at 1:27 AM, Andr? Bisseret wrote: > Thank you much Dar for your reply. > > This morning I tried on Windows: > replace ":" with numToChar(240) in tDocName > no success > > but, actually, when I past the mysterious char (kind of period) in the > message box, I get "? > I mean I get quote followed by ? > So I tried > put quote & numToChar(240) into tVar > replace ":" with tVar in tDocName > again no success > > When I paste the mysterious char directly in the script it is immediately > replaced by "?" > so I tried > replace ":" with "?" in tDocName > no success > > I am completely lost. > What could I do? > > Thanks in advance for any suggestion > > Best regards > > Andr? > > > > > Le 18 juil. 2013 ? 22:47, Dar Scott a ?crit : > > > That is a lower case eth. The Unicode is 00F0, F0 in Latin-1. Windows > uses some other font encoding. > > > > You might be able to use that character directly whatever it looks like. > Windows will just see the code for it. On Windows. > > > > If it was saved to Windows and you are looking at it on Mac, then it > might look different. In all cases, if saved on Windows, then try > numToChar(240) whatever it looks like. > > > > Similarly, if it was saved on Mac, use the appropriate numToChar( ...). > > > > Dar > > > > > > On Jul 18, 2013, at 1:57 PM, Andr? Bisseret wrote: > > > >> ? > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Fri Jul 19 12:17:34 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 19 Jul 2013 09:17:34 -0700 Subject: Bug in resizestack script : how exit ? In-Reply-To: References: Message-ID: <51E9669E.2080703@fourthworld.com> Ludovic Th?bault wrote: > I wrote a script for resizestack, and i resize the stack to test it. > But there is a bug and Livecode was frozen (6,1 community), > impossible to get the hand, need to force quit. > There is an command to regain control ? None that I know of. The problem is that the resizeStack message is sent continually during the resize, so the queue of error messages piles up pretty quickly. The best I've been able to do is comment out the handler before resizing, uncommenting parts of it until I find the trouble spot. Oh, and make only very small adjustments to the stack size when testing. :) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dsc at swcp.com Fri Jul 19 12:35:30 2013 From: dsc at swcp.com (Dar Scott) Date: Fri, 19 Jul 2013 10:35:30 -0600 Subject: How to manage file name containing a date with / In-Reply-To: <9BF32FEE-F4DE-406F-B53A-07A5AFE14FE8@wanadoo.fr> References: <8449AD1E-78C2-419B-84A2-1AE361614397@wanadoo.fr> <9BF32FEE-F4DE-406F-B53A-07A5AFE14FE8@wanadoo.fr> Message-ID: <3A629B63-3D25-4063-A30B-4DC4DF5F5C7C@swcp.com> A few ideas: 1. Maybe whatever char you get back from 'the files' will work. If you need to process the files in a folder just look at the files and look for a pattern that ignores the delimiter. Or take the file list and convert colon and numToChar(240) to "/" and then process. 2. I'm assuming that files saved on Windows have the dot, numtoChar(240), and files saved on Mac have the colon. But files saved on Windows but read from a Mac have the dot look like eth, numToChar(240). The different views are because of the different encodings used. I might have some bad assumptions in there. If you are building names, then just use numToChar(240) for your date delimiter to get files saved on Windows. The dot and the eth are just two ways of interpreting 240. It will look like dot on Windows and eth on Mac. If I'm understanding your situation right. So, just use numToChar(240) as the delimiter blindly when getting the file that was saved on a Windows machine and ":" when getting the file when saved on a Mac. If you are not sure which, try one then the other. 3. Maybe somebody has an idea on how to use '"?" in a file name to match those. 4. Or, maybe, I realize this might be hard, have the doctor use some other character. Dar On Jul 19, 2013, at 2:27 AM, Andr? Bisseret wrote: > Thank you much Dar for your reply. > > This morning I tried on Windows: > replace ":" with numToChar(240) in tDocName > no success > > but, actually, when I past the mysterious char (kind of period) in the message box, I get "? > I mean I get quote followed by ? > So I tried > put quote & numToChar(240) into tVar > replace ":" with tVar in tDocName > again no success > > When I paste the mysterious char directly in the script it is immediately replaced by "?" > so I tried > replace ":" with "?" in tDocName > no success > > I am completely lost. > What could I do? > > Thanks in advance for any suggestion > > Best regards > > Andr? > > > > > Le 18 juil. 2013 ? 22:47, Dar Scott a ?crit : > >> That is a lower case eth. The Unicode is 00F0, F0 in Latin-1. Windows uses some other font encoding. >> >> You might be able to use that character directly whatever it looks like. Windows will just see the code for it. On Windows. >> >> If it was saved to Windows and you are looking at it on Mac, then it might look different. In all cases, if saved on Windows, then try numToChar(240) whatever it looks like. >> >> Similarly, if it was saved on Mac, use the appropriate numToChar( ...). >> >> Dar >> >> >> On Jul 18, 2013, at 1:57 PM, Andr? Bisseret wrote: >> >>> ? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 19 12:38:41 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 19 Jul 2013 09:38:41 -0700 Subject: Bug in resizestack script : how exit ? In-Reply-To: References: Message-ID: <190260609318.20130719093841@ahsoftware.net> Ludovic- Thursday, July 18, 2013, 10:57:46 PM, you wrote: > I wrote a script for resizestack, and i resize the stack to test > it. But there is a bug and Livecode was frozen (6,1 community), > impossible to get the hand, need to force quit. > There is an command to regain control ? PowerDebug, of course, puts you back in control. And pinpoints the error line, allowing you to edit it. No trial-and-error searching needed. http://www.ahsoftware.net/PowerTools/BuyPowerDebug.irev docs: http://powerdebug.ahsoftware.net -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Fri Jul 19 12:55:56 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 19 Jul 2013 11:55:56 -0500 Subject: QT playback of remote files In-Reply-To: References: <51E607B5.7090505@hyperactivesw.com> <51E6E979.90706@hyperactivesw.com> Message-ID: <51E96F9C.5030301@hyperactivesw.com> On 7/17/13 6:01 PM, Trevor DeVore wrote: > I just took a look at the engine source code and the engine is making > different calls to get the movie playing with 'start player' then when you > set 'the playrate'. When setting the 'playrate' QuickTime is completely > responsible for getting the movie to play back properly. The playrate property has been working flawlessly for me ever since I put it in, so thanks again for this tip. One thing for anyone who uses this method: apparently starting the playback using only the playrate setting does not enable callbacks. In order to get callbacks working again, I had to use both start and playrate: start player 1 set the playrate of player 1 to 1 That seems to reliably play the QT movie and also sets up the callbacks. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Fri Jul 19 13:41:53 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 19 Jul 2013 10:41:53 -0700 Subject: [OT] Skydrive In-Reply-To: <51E9585B.6050405@dreischer.de> References: <51E9585B.6050405@dreischer.de> Message-ID: Hi Claus, Thanks for the info. Unfortunately, duplicate doesn't have a Mac client according to their web site so that rules it our for me. Pete lcSQL Software On Fri, Jul 19, 2013 at 8:16 AM, Claus Dreischer wrote: > Hi, > > wherever you store your files, think about securing them, that is, > encrypting them. > "Duplicati" is free and has lots of options where to store your files > incl. Skydrive. > > https://sites.google.com/a/duplicati.com/duplicati/ > > Regards, > Claus, just a happy Duplicati user > > > Am 18.07.13 20:23, schrieb Peter Haworth: > > Thanks Scott. 50gb free is great but no syncing rules it out. > > > > Pete > > lcSQL Software > > > > > > On Thu, Jul 18, 2013 at 11:13 AM, Scott Rossi >wrote: > > > >> Actually, if all you care about is "free", you can get 50GB of free > cloud > >> storage through AT&T. Visit this page and follow the instructions: > >> < > >> > http://news.cnet.com/8301-13845_3-57594103-58/get-50gb-of-at-t-locker-clou > >> d-storage-for-free/> > >> > >> > >> I don't believe they have any desktop integration yet, but it's 50GB and > >> for the moment it's free. > >> > >> Regards, > >> > >> Scott Rossi > >> Creative Director > >> Tactile Media, UX/UI Design > >> > >> > > ... > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Fri Jul 19 13:56:25 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 19 Jul 2013 10:56:25 -0700 Subject: [OT] Skydrive In-Reply-To: References: <51E9585B.6050405@dreischer.de> Message-ID: <69265273039.20130719105625@ahsoftware.net> Pete- Friday, July 19, 2013, 10:41:53 AM, you wrote: > Hi Claus, > Thanks for the info. Unfortunately, duplicate doesn't have a Mac client > according to their web site so that rules it our for me. ? Does the dmg file not work for you? -- -Mark Wieder mwieder at ahsoftware.net From pete at lcsql.com Fri Jul 19 13:56:37 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 19 Jul 2013 10:56:37 -0700 Subject: Bug in Properties command in 6.1? In-Reply-To: <078BE073-DBE9-4542-A587-03DD020B3325@sweattechnologies.com> References: <34A533F7-506B-4348-AA09-F3ACCE75867F@sweattechnologies.com> <40198867696.20130718162940@ahsoftware.net> <216593A4-924D-467D-BFFE-D3E8395D2D4C@mac.com> <078BE073-DBE9-4542-A587-03DD020B3325@sweattechnologies.com> Message-ID: Hi Monte, I see the error with padding here too ("can't set this property"). To clarify, I see it on Community 6.1; in 5.5.4, it lists htmlText and listBehavior and no error. This is on Windows, haven't tried it on Mac. In case it helps, here's the contents of tList as of the point the padding error occurs: traversalOn ink firstIndent dontSearch toggleHilites threeD scrollbarWidth blendLevel rect multipleHilites shadow hScroll textAlign vScrollbar hScrollbar id altId autoTab hGrid Pete lcSQL Software On Thu, Jul 18, 2013 at 6:03 PM, Monte Goulding wrote: > Not in my version ;-) > > I've fixed that. Padding was incorrectly documented as a field property > when it's only a line property. > > Cheers > > Monte > > On 19/07/2013, at 10:18 AM, Paul Hibbert wrote: > > > Don't know if this is any help to you but, this script errors on the > line... > > > > set the tKey of field 1 to tProps[tKey] > > > > ...when tKey = "padding" > > > > This happens in LC6.1 Commercial but not in LC5.5.4 or LC5.5.5 for my > tests. > > > > If I add the trap... > > > > if tKey = "padding" then next repeat > > > > ...it runs fine in LC6.1. > > > > I don't see how padding is related to hilitedLines, but could it cause a > command to fail silently? > > -- > 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 claus at dreischer.de Fri Jul 19 14:25:38 2013 From: claus at dreischer.de (Claus Dreischer) Date: Fri, 19 Jul 2013 20:25:38 +0200 Subject: [OT] Skydrive In-Reply-To: References: <51E9585B.6050405@dreischer.de> Message-ID: <51E984A2.6050706@dreischer.de> Hi Pete, its running on my Macs, but you have to install Mono (also free) first. Regards, Claus Am 19.07.13 19:41, schrieb Peter Haworth: > Hi Claus, > Thanks for the info. Unfortunately, duplicate doesn't have a Mac client > according to their web site so that rules it our for me. > > Pete > lcSQL Software > > > On Fri, Jul 19, 2013 at 8:16 AM, Claus Dreischer wrote: > >> Hi, >> >> wherever you store your files, think about securing them, that is, >> encrypting them. >> "Duplicati" is free and has lots of options where to store your files >> incl. Skydrive. >> >> https://sites.google.com/a/duplicati.com/duplicati/ >> >> Regards, >> Claus, just a happy Duplicati user >> >> >> Am 18.07.13 20:23, schrieb Peter Haworth: >>> Thanks Scott. 50gb free is great but no syncing rules it out. >>> >>> Pete >>> lcSQL Software >>> >>> >>> On Thu, Jul 18, 2013 at 11:13 AM, Scott Rossi >> wrote: >>> >>>> Actually, if all you care about is "free", you can get 50GB of free >> cloud >>>> storage through AT&T. Visit this page and follow the instructions: >>>> < >>>> >> http://news.cnet.com/8301-13845_3-57594103-58/get-50gb-of-at-t-locker-clou >>>> d-storage-for-free/> >>>> >>>> >>>> I don't believe they have any desktop integration yet, but it's 50GB and >>>> for the moment it's free. >>>> >>>> Regards, >>>> >>>> Scott Rossi >>>> Creative Director >>>> Tactile Media, UX/UI Design >>>> >>>> >> ... >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Fri Jul 19 14:51:04 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 19 Jul 2013 11:51:04 -0700 Subject: [OT] Skydrive In-Reply-To: <69265273039.20130719105625@ahsoftware.net> References: <51E9585B.6050405@dreischer.de> <69265273039.20130719105625@ahsoftware.net> Message-ID: Mark/Claus, OK, must have misread their web site, I'll look again! Pete lcSQL Software On Fri, Jul 19, 2013 at 10:56 AM, Mark Wieder wrote: > Pete- > > Friday, July 19, 2013, 10:41:53 AM, you wrote: > > > Hi Claus, > > Thanks for the info. Unfortunately, duplicate doesn't have a Mac client > > according to their web site so that rules it our for me. > > ? Does the dmg file not work for you? > > -- > -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 richmondmathewson at gmail.com Fri Jul 19 15:40:29 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 19 Jul 2013 22:40:29 +0300 Subject: LC 6.1 Community Grinds to a halt Message-ID: <51E9962D.3080601@gmail.com> With 9 windows open it grinds to a halt on UbuntuStudio 13.04 with 6 GB of RAM. This is very odd as I can open Thunderbird e-mail client while this is happening to send you this message, and run Mozilla Firefox at normal speed. Richmond. From richmondmathewson at gmail.com Fri Jul 19 16:26:52 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 19 Jul 2013 23:26:52 +0300 Subject: Android Emulation via VirtualBox Message-ID: <51E9A10C.5090601@gmail.com> Oooooooooh! http://www.webupd8.org/2013/07/genymotion-fast-easy-to-use-android-x86.html Richmond. From monte at sweattechnologies.com Fri Jul 19 18:35:48 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 20 Jul 2013 08:35:48 +1000 Subject: Bug in Properties command in 6.1? In-Reply-To: References: <34A533F7-506B-4348-AA09-F3ACCE75867F@sweattechnologies.com> <40198867696.20130718162940@ahsoftware.net> <216593A4-924D-467D-BFFE-D3E8395D2D4C@mac.com> <078BE073-DBE9-4542-A587-03DD020B3325@sweattechnologies.com> Message-ID: <86624A2D-BDDA-4F0D-A469-499E20923E69@sweattechnologies.com> On 20/07/2013, at 3:56 AM, Peter Haworth wrote: > I see the error with padding here too ("can't set this property"). To > clarify, I see it on Community 6.1; in 5.5.4, it lists htmlText and > listBehavior and no error. This is on Windows, haven't tried it on Mac. Yes, I have fixed it along with another bug but my fix hasn't been integrated yet. padding slipped by unnoticed because there's an error lock on when you set the properties and it is documented as a field property. Unfortunately there's a far more sinister issue with label, tooltip, stack title and button text. These are the properties that will return unicode variants if their value is non-ascii. Unfortunately there was an error with the code and even when ascii they are returning unicode.. Because null is not represented as a square box or anything in livecode fields it looks right when you put the value into a field and the only way you can work out there is an issue is with the length function. Both of these are fixed and should I hope be soon seen in a 6.1.1 release. > > In case it helps, here's the contents of tList as of the point the padding > error occurs: I've fixed the issue in this pull request https://github.com/runrev/livecode/pull/82 thanks. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From pete at lcsql.com Fri Jul 19 20:04:13 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 19 Jul 2013 17:04:13 -0700 Subject: Bug in Properties command in 6.1? In-Reply-To: <86624A2D-BDDA-4F0D-A469-499E20923E69@sweattechnologies.com> References: <34A533F7-506B-4348-AA09-F3ACCE75867F@sweattechnologies.com> <40198867696.20130718162940@ahsoftware.net> <216593A4-924D-467D-BFFE-D3E8395D2D4C@mac.com> <078BE073-DBE9-4542-A587-03DD020B3325@sweattechnologies.com> <86624A2D-BDDA-4F0D-A469-499E20923E69@sweattechnologies.com> Message-ID: Great, thanks Monte. Pete lcSQL Software On Fri, Jul 19, 2013 at 3:35 PM, Monte Goulding wrote: > > On 20/07/2013, at 3:56 AM, Peter Haworth wrote: > > > I see the error with padding here too ("can't set this property"). To > > clarify, I see it on Community 6.1; in 5.5.4, it lists htmlText and > > listBehavior and no error. This is on Windows, haven't tried it on Mac. > > Yes, I have fixed it along with another bug but my fix hasn't been > integrated yet. padding slipped by unnoticed because there's an error lock > on when you set the properties and it is documented as a field property. > Unfortunately there's a far more sinister issue with label, tooltip, stack > title and button text. These are the properties that will return unicode > variants if their value is non-ascii. Unfortunately there was an error with > the code and even when ascii they are returning unicode.. Because null is > not represented as a square box or anything in livecode fields it looks > right when you put the value into a field and the only way you can work out > there is an issue is with the length function. Both of these are fixed and > should I hope be soon seen in a 6.1.1 release. > > > > > In case it helps, here's the contents of tList as of the point the > padding > > error occurs: > > > I've fixed the issue in this pull request > https://github.com/runrev/livecode/pull/82 thanks. > > 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 dunbarx at aol.com Fri Jul 19 20:42:17 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 19 Jul 2013 20:42:17 -0400 (EDT) Subject: LC 6.1 Community Grinds to a halt In-Reply-To: <51E9962D.3080601@gmail.com> References: <51E9962D.3080601@gmail.com> Message-ID: <8D052F91E87F454-16AC-C00FF@webmail-m141.sysops.aol.com> Richmond. Do you mean it slows to a crawl, or hangs? Can you close windows and get it moving again? Craig -----Original Message----- From: Richmond To: How to use LiveCode Sent: Fri, Jul 19, 2013 3:41 pm Subject: LC 6.1 Community Grinds to a halt With 9 windows open it grinds to a halt on UbuntuStudio 13.04 with 6 GB of RAM. This is very odd as I can open Thunderbird e-mail client while this is happening to send you this message, and run Mozilla Firefox at normal speed. Richmond. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Fri Jul 19 22:41:04 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 19 Jul 2013 22:41:04 -0400 Subject: iOS Developer Portal Down? Message-ID: I've been getting a message from Apple's iOS Developer Portal that it is undergoing maintenance for about 10 hours. I don't remember getting a message from Apple saying that the portal would be unavailable today. -- 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 Jul 19 23:40:33 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 19 Jul 2013 21:40:33 -0600 Subject: iOS Developer Portal Down? In-Reply-To: References: Message-ID: <9567A931-A78C-4460-B391-0751DC072642@icloud.com> Yep. Been down for a day and a half or so. According to Apple it's undergoing some kind of maintenance, but it's been long enough now that people are getting concerned... Chris On Jul 19, 2013, at 8:41 PM, Mike Kerner wrote: > I've been getting a message from Apple's iOS Developer Portal that it is > undergoing maintenance for about 10 hours. I don't remember getting a > message from Apple saying that the portal would be unavailable today. > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jhj at jhj.com Fri Jul 19 23:46:27 2013 From: jhj at jhj.com (Jerry Jensen) Date: Fri, 19 Jul 2013 20:46:27 -0700 Subject: iOS Developer Portal Down? In-Reply-To: <9567A931-A78C-4460-B391-0751DC072642@icloud.com> References: <9567A931-A78C-4460-B391-0751DC072642@icloud.com> Message-ID: Do they use on-rev? On Jul 19, 2013, at 8:40 PM, Chris Sheffield wrote: > Yep. Been down for a day and a half or so. According to Apple it's undergoing some kind of maintenance, but it's been long enough now that people are getting concerned... > > Chris > > > On Jul 19, 2013, at 8:41 PM, Mike Kerner wrote: > >> I've been getting a message from Apple's iOS Developer Portal that it is >> undergoing maintenance for about 10 hours. I don't remember getting a >> message from Apple saying that the portal would be unavailable today. >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Fri Jul 19 23:50:48 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 19 Jul 2013 23:50:48 -0400 Subject: iOS Developer Portal Down? In-Reply-To: References: <9567A931-A78C-4460-B391-0751DC072642@icloud.com> Message-ID: I just checked again and they updated the message to apologize for how long it's taking, so I guess it's not just me. Did anybody get advance warning? On Fri, Jul 19, 2013 at 11:46 PM, Jerry Jensen wrote: > Do they use on-rev? > > On Jul 19, 2013, at 8:40 PM, Chris Sheffield > wrote: > > > Yep. Been down for a day and a half or so. According to Apple it's > undergoing some kind of maintenance, but it's been long enough now that > people are getting concerned... > > > > Chris > > > > > > On Jul 19, 2013, at 8:41 PM, Mike Kerner > wrote: > > > >> I've been getting a message from Apple's iOS Developer Portal that it is > >> undergoing maintenance for about 10 hours. I don't remember getting a > >> message from Apple saying that the portal would be unavailable today. > >> > >> -- > >> On the first day, God created the heavens and the Earth > >> On the second day, God created the oceans. > >> On the third day, God put the animals on hold for a few hours, > >> and did a little diving. > >> And God said, "This is good." > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From mwieder at ahsoftware.net Fri Jul 19 23:55:32 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 19 Jul 2013 20:55:32 -0700 Subject: iOS Developer Portal Down? In-Reply-To: References: <9567A931-A78C-4460-B391-0751DC072642@icloud.com> Message-ID: <88301220082.20130719205532@ahsoftware.net> Jerry- Friday, July 19, 2013, 8:46:27 PM, you wrote: > Do they use on-rev? Oh... snap! -- -Mark Wieder mwieder at ahsoftware.net From MikeKerner at roadrunner.com Sat Jul 20 00:11:29 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 20 Jul 2013 00:11:29 -0400 Subject: iOS Developer Portal Down? In-Reply-To: <88301220082.20130719205532@ahsoftware.net> References: <9567A931-A78C-4460-B391-0751DC072642@icloud.com> <88301220082.20130719205532@ahsoftware.net> Message-ID: Aren't you guys supposed to be in bed by now? On Fri, Jul 19, 2013 at 11:55 PM, Mark Wieder wrote: > Jerry- > > Friday, July 19, 2013, 8:46:27 PM, you wrote: > > > Do they use on-rev? > > Oh... snap! > > -- > -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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From richmondmathewson at gmail.com Sat Jul 20 05:02:29 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 20 Jul 2013 12:02:29 +0300 Subject: LC 6.1 Community Grinds to a halt In-Reply-To: <8D052F91E87F454-16AC-C00FF@webmail-m141.sysops.aol.com> References: <51E9962D.3080601@gmail.com> <8D052F91E87F454-16AC-C00FF@webmail-m141.sysops.aol.com> Message-ID: <51EA5225.70507@gmail.com> On 07/20/2013 03:42 AM, dunbarx at aol.com wrote: > Richmond. > > > Do you mean it slows to a crawl, or hangs? Can you close windows and get it moving again? It takes about 3 minutes to respond to anything, and closing windows takes just as long, and does not speed things up. Richmond. > > > Craig > > > > -----Original Message----- > From: Richmond > To: How to use LiveCode > Sent: Fri, Jul 19, 2013 3:41 pm > Subject: LC 6.1 Community Grinds to a halt > > > With 9 windows open it grinds to a halt on > UbuntuStudio 13.04 with 6 GB of RAM. > > This is very odd as I can open Thunderbird e-mail > client while this is happening to send you this message, > and run Mozilla Firefox at normal speed. > > 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 coiin at verizon.net Sat Jul 20 11:34:17 2013 From: coiin at verizon.net (Colin Holgate) Date: Sat, 20 Jul 2013 11:34:17 -0400 Subject: iOS Developer Portal Down? In-Reply-To: References: <9567A931-A78C-4460-B391-0751DC072642@icloud.com> Message-ID: <0C0E29A6-8551-4C9D-B52A-8F7C895A2CA0@verizon.net> No advanced warning, and it?s still down. They do say in the message that if you?re account was due to expire right now it will be extended so that your apps stay in the store. On Jul 19, 2013, at 11:50 PM, Mike Kerner wrote: > >I just checked again and they updated the message to apologize for how long > it's taking, so I guess it's not just me. Did anybody get advance warning? From harrison at all-auctions.com Sat Jul 20 12:17:19 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Sat, 20 Jul 2013 12:17:19 -0400 Subject: LC Server Image Weirdness In-Reply-To: <51EA5225.70507@gmail.com> References: <51E9962D.3080601@gmail.com> <8D052F91E87F454-16AC-C00FF@webmail-m141.sysops.aol.com> <51EA5225.70507@gmail.com> Message-ID: <8D6D117A-4D70-4530-9794-8BDCC8F54639@all-auctions.com> Ok, so I have the LC 6.1.0 server running on a Macintosh, and I'm uploading an image to the server through a webpage and storing it onto the server. I'm trying to display the image on the webpage to show that it completed properly etc. I'm using the statement: put "
" & cr The webpage completes all the way through without errors, but the image doesn't display at all. The image gets uploaded, but when I try to open the image with "Preview", it complains that the image is corrupted somehow. I find I can open the image up just fine in "GraphicConverter" and if I then save the file using "GraphicConverter" the file gets fixed and will display properly in "Preview". If I put in a statement like: put image "BogusImageName" into VarBogusImageName into the .lc webpage it causes the webpage to throw an error, (Chunk: no such object), as expected, but the interesting thing is that now the image I was trying to display before that wasn't showing now shows up just fine! Furthermore, the file uploaded shows up fine in Preview without any corruption whatsoever. Does anyone have a clue as to what is causing this weirdness and what I can do to fix the problem of the image not showing? Thanks in advance, Rick From pmbrig at gmail.com Sat Jul 20 12:22:00 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 20 Jul 2013 12:22:00 -0400 Subject: Using the "or" operator with filter In-Reply-To: References: Message-ID: <6DF71C53-9A78-4E40-B8F9-C6B90480C4A1@gmail.com> How about something like this: put tList into list1 put tList into list2 put tList into list3 filter list1 with "*" & item 1 of gCodes & "*" filter list2 with "*" & item 2 of gCodes & "*" filter list3 with "*" & item 3 of gCodes & "*" put list1 & cr & list2 & cr & list3 into outputList -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Jul 11, 2013, at 11:08 AM, Roger Eller wrote: > global gCodes > put tList into tGood; put tList into tBad > put "PPX,RRY,NNZ" into gCodes > -- Keep lines that contain any item of gCodes > filter tGood with ("*" & item 1 of gCodes & "*") or ("*" & item 2 of gCodes > & "*") or ("*" & item 3 of gCodes & "*") > filter tBad without ("*" & item 1 of gCodes & "*") or ("*" & item 2 of gCodes > & "*") or ("*" & item 3 of gCodes & "*") > > Perhaps I should just loop through each line checking if it 'contains' one > of the codes instead? > Is there a better approach? ... > > ~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 pmbrig at gmail.com Sat Jul 20 12:55:24 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 20 Jul 2013 12:55:24 -0400 Subject: Finding list items within a table field In-Reply-To: References: Message-ID: <6AD082D2-C136-4D1D-9B3D-7F9E9A7E3F81@gmail.com> Sorry for the late reply, but I'm catching up after some time off for my daughter's wedding?. This might be useful: function lineOffsets str,container -- returns a comma-delimited list of all the lineOffsets of str in cntr -- duplicates are stripped out -- requires offsets() put offsets(str,container) into offList if offList = "0" then return "0" repeat for each item i in offList put the number of lines of (char 1 to i of container) into lineNbr put 1 into A[lineNbr] -- using an array avoids duplicates end repeat put the keys of A into loList sort lines of loList ascending numeric replace cr with comma in loList return loList end lineOffsets function offsets str,container,includeOverlaps -- returns a comma-delimited list of all the offsets of str in container -- returns 0 if not found -- third param is optional: -- offsets("xx","xxxxxx") returns "1,3,5" not "1,2,3,4,5" -- ie, by default, overlapping offsets are not counted -- if you want overlapping offsets then pass "true" in 3rd param if str is not in container then return 0 if includeOverlaps = empty then put false into includeOverlaps put empty into offsetList put 0 into startPoint repeat put offset(str,container,startPoint) into thisOffset if thisOffset = 0 then exit repeat add thisOffset to startPoint put startPoint & comma after offsetList if not includeOverlaps then add length(str)-1 to startPoint end if end repeat return item 1 to -1 of offsetList -- delete trailing comma end offsets You could get the lineoffsets of each string and run a repeat loop to set the color of the lines. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Jul 14, 2013, at 11:00 AM, Keith Clarke wrote: > Hi folks, > I've posted this question to Stack Overflow - http://stackoverflow.com/questions/17639968/livecode-find-list-items-within-a-table-field - but it seems very quiet over there on LiveCode matters, so apologies for t the cross-posting. > > I'm trying to use LiveCode to clean up some contact data. I have two lists: > SourceList: a list of tab-delimited contact records in a LiveCode table field; > FlagList: a list of strings, such as 'test' that I want to check for within the SourceList. > Ideally, I want to highlight 'hits' in both the FlagList rows and the matching characters in the items in the rows of the SourceList, but I'm struggling with errors on my first pass. > > On loading the SourceList from file, I'm trying to set the colour of any FlagList field rows that are found in the SourceList. > > Here's the script on the 'Load SourceList' button... > > on mouseUp > answer file "Select text file to Clean" with type "txt" > if it <> "" then > put empty into field "SourceList" > put it into field "SourceFile" > put it into theFilePath > put URL ("file:" & theFilePath) into field "SourceList" > > repeat for each line f in field "FlagList" > > repeat for each line l in field "SourceList" > > repeat for each item i in l > if i contains f then set the foregroundColor of f to "red" > end repeat > > end repeat > > end repeat > > else > --no file was selected, or cancel was pressed > beep > end if > end mouseUp > > I think I'm making a basic error, so grateful for any guidance. > Best, > Keith.. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Jul 20 13:02:38 2013 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 20 Jul 2013 20:02:38 +0300 Subject: Genymotion Android emulator Message-ID: This message is sent from Genymotion emulating a Nexus 4.2.2 with Google Apps. My next "problem" is to work out how to get Android standalones from LC 6.1 Community on the thing. Setting the thing up was, inevitably, slightly difficult as, inevitably, the setup instructions were slightly wrong (but that is normal for Linux). However is seems worth the effort as I cannot see myself either being able to buy, or wanting to buy any handhelds in the foreseeable future, but it is extremely useful to have this for testing. Richmond. From pmbrig at gmail.com Sat Jul 20 13:10:50 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 20 Jul 2013 13:10:50 -0400 Subject: Managing Long IDs? In-Reply-To: References: Message-ID: Again, sorry for the late reply, but could you use something like this? If you don't really need to use the filepath in your coding, that is. getProp robustID ---- a virtual property, read only ---- -- getting the long id of a control can result in different values depending on -- (a) where the stack is stored on the user's disk and -- (b) which card is the currentcard when the property is fetched -- the robustID is consistent no matter what card is current -- and no matter which folder the user has stored the stack in; -- format: button id 1039 of bkgnd id 1003 of stack "subStack1" -- of stack "tMainStack" -- the robustID can be used as a complete object reference, -- just like the long ID -- requires q() put the long id of the target into tLongID replace " stack " with cr in tLongID put line -1 of tLongID into mainStackFileName if not (word 1 of mainStackFileName = "stack") then put "stack " before mainStackFileName end if put the short name of mainStackFileName into mainStackName put q(mainStackName) into line -1 of tLongID replace cr with " stack " in tLongID replace " of " with cr in tLongID put lineoffset(cr &"card",cr & tLongID) into cdLineNbr if cdLineNbr > 1 then delete line cdLineNbr of tLongID replace cr with " of " in tLongID replace "group" with "bkgnd" in tLongID -- in case the group is not placed on the currentcard return tLongID end robustID function q str -- quote return quote & str & quote end q -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Jul 15, 2013, at 7:10 PM, Scott Rossi wrote: > No, the lists aren't the problem, nor is the storage. The existence of > commas (and maybe other characters) in the file paths are the problem. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 7/15/13 4:04 PM, "Monte Goulding" wrote: > >> >> On 16/07/2013, at 9:01 AM, Scott Rossi wrote: >> >>> The IDs aren't really stored, mostly acted upon. If any are stored, >>> it's >>> only done for the current session. And yes, I use long IDs in >>> return-delimited lists. >> >> With multiple items per line? Maybe move to arrays if you need a complex >> data structure. >> >> -- >> 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 mwieder at ahsoftware.net Sat Jul 20 13:23:02 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 20 Jul 2013 10:23:02 -0700 Subject: Genymotion Android emulator In-Reply-To: References: Message-ID: <51349670292.20130720102302@ahsoftware.net> Richmond- Saturday, July 20, 2013, 10:02:38 AM, you wrote: > Setting the thing up was, inevitably, slightly difficult as, > inevitably, the setup instructions were slightly wrong (but that is > normal for Linux). As I am about to install this thing next week, would you care to share any insights about that process? -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sat Jul 20 13:43:05 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 20 Jul 2013 10:43:05 -0700 Subject: Using the "or" operator with filter In-Reply-To: <6DF71C53-9A78-4E40-B8F9-C6B90480C4A1@gmail.com> References: <6DF71C53-9A78-4E40-B8F9-C6B90480C4A1@gmail.com> Message-ID: <89350872721.20130720104305@ahsoftware.net> Peter- Saturday, July 20, 2013, 9:22:00 AM, you wrote: > How about something like this: > put tList into list1 > put tList into list2 > put tList into list3 > filter list1 with "*" & item 1 of gCodes & "*" > filter list2 with "*" & item 2 of gCodes & "*" > filter list3 with "*" & item 3 of gCodes & "*" > put list1 & cr & list2 & cr & list3 into outputList You still need to remove the duplicates after filtering: repeat for each line tLine in outputList put true into tArray[tLine] end repeat repeat for each key tKey in tArray put tKey & cr after tFilteredList end repeat -- -Mark Wieder mwieder at ahsoftware.net From pmbrig at gmail.com Sat Jul 20 13:45:45 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 20 Jul 2013 13:45:45 -0400 Subject: error in fetching URL Message-ID: <00148206-E057-4396-B049-8125FE44B84C@gmail.com> I'm trying to design a poor man's spelling checker, and I'm using the script below. I keep getting the error "error Previous request not completed" and I don't know enough about internet connections to interpret what's going on. Can anyone help? function checkSpelling tWord put "http://www.dict.org/bin/Dict?Query=&Form=Dict1&Strategy=*&Database=*" into theURL replace "" with tWord in theURL put url theURL into tHTML put the result into tErr if tErr <> empty then put "Error:" && tErr into fld "text" else put tHTML into fld "text" end if exit to top -- temporarily -- more code will go here, to parse the HTML -- return listOut end checkSpelling -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From roger.e.eller at sealedair.com Sat Jul 20 13:46:18 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 20 Jul 2013 13:46:18 -0400 Subject: Using the "or" operator with filter In-Reply-To: <6DF71C53-9A78-4E40-B8F9-C6B90480C4A1@gmail.com> References: <6DF71C53-9A78-4E40-B8F9-C6B90480C4A1@gmail.com> Message-ID: Thanks Peter. That would work fine for a fixed list, or the current 3 items, but if the list grows, I would have to edit the script. I ended up using repeat for each, and since even the large list is less than 100 lines, it is done in a few milliseconds. ~Roger On Jul 20, 2013 12:22 PM, "Peter M. Brigham" wrote: > How about something like this: > > put tList into list1 > put tList into list2 > put tList into list3 > filter list1 with "*" & item 1 of gCodes & "*" > filter list2 with "*" & item 2 of gCodes & "*" > filter list3 with "*" & item 3 of gCodes & "*" > put list1 & cr & list2 & cr & list3 into outputList > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > On Jul 11, 2013, at 11:08 AM, Roger Eller wrote: > > > global gCodes > > put tList into tGood; put tList into tBad > > put "PPX,RRY,NNZ" into gCodes > > -- Keep lines that contain any item of gCodes > > filter tGood with ("*" & item 1 of gCodes & "*") or ("*" & item 2 of > gCodes > > & "*") or ("*" & item 3 of gCodes & "*") > > filter tBad without ("*" & item 1 of gCodes & "*") or ("*" & item 2 of > gCodes > > & "*") or ("*" & item 3 of gCodes & "*") > > > > Perhaps I should just loop through each line checking if it 'contains' > one > > of the codes instead? > > Is there a better approach? ... > > > > ~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 richmondmathewson at gmail.com Sat Jul 20 13:59:02 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 20 Jul 2013 20:59:02 +0300 Subject: Genymotion Android emulator In-Reply-To: <51349670292.20130720102302@ahsoftware.net> References: <51349670292.20130720102302@ahsoftware.net> Message-ID: <51EACFE6.3000205@gmail.com> On 07/20/2013 08:23 PM, Mark Wieder wrote: > Richmond- > > Saturday, July 20, 2013, 10:02:38 AM, you wrote: > >> Setting the thing up was, inevitably, slightly difficult as, >> inevitably, the setup instructions were slightly wrong (but that is >> normal for Linux). > As I am about to install this thing next week, would you care to share > any insights about that process? > Well . . . The first thing is to get VirtualBox sorted out on your system. The second thing is that Genymotion looks for the SDK which is hard to locate: ~/android-sdks/sdk (where '~' is your Home folder), don't let yourself be distracted by 'android-sdk-linux' after that it goes "all funny" about something that is supposed to be in the /etc/init.d folder, but isn't; so you have to do some fiddling around, and quite how the thing worked because of my fiddling around I cannot really say. After that things seem comparatively straightforward, and I suspect the best way to get an Android standalone onto one of the devices is by uploading it to some website and then downloading it from inside the emulated device. Unfortunately right now I've got a lot of "extraneous stuff" on my plate, but I hope, come Sunday night I will be able to upload some reasonably pretty pictures to the Forum. Richmond. From warren at warrensweb.us Sat Jul 20 14:30:14 2013 From: warren at warrensweb.us (Warren Samples) Date: Sat, 20 Jul 2013 13:30:14 -0500 Subject: Genymotion Android emulator In-Reply-To: <51EACFE6.3000205@gmail.com> References: <51349670292.20130720102302@ahsoftware.net> <51EACFE6.3000205@gmail.com> Message-ID: <51EAD736.80000@warrensweb.us> On 07/20/2013 12:59 PM, Richmond wrote: > On 07/20/2013 08:23 PM, Mark Wieder wrote: >> Richmond- >> >> Saturday, July 20, 2013, 10:02:38 AM, you wrote: >> >>> Setting the thing up was, inevitably, slightly difficult as, >>> inevitably, the setup instructions were slightly wrong (but that is >>> normal for Linux). >> As I am about to install this thing next week, would you care to share >> any insights about that process? >> > > Well . . . > > The first thing is to get VirtualBox sorted out on your system. > > The second thing is that Genymotion looks for the SDK which is hard to > locate: > > ~/android-sdks/sdk (where '~' is your Home folder), > > don't let yourself be distracted by 'android-sdk-linux' > > after that it goes "all funny" about something that is supposed to be in > the /etc/init.d folder, but isn't; so you have to do some fiddling around, > and quite how the thing worked because of my fiddling around I cannot > really say. > > After that things seem comparatively straightforward, and I suspect the > best way to > get an Android standalone onto one of the devices is by uploading it to > some website > and then downloading it from inside the emulated device. > > Unfortunately right now I've got a lot of "extraneous stuff" on my > plate, but I hope, come > Sunday night I will be able to upload some reasonably pretty pictures to > the Forum. > > Richmond. > Apparently installation woes are a YMMV kind of thing. I just installed without any headscratching at all. Just clicked through the dialogs as they came up and I was all set and running. Warren From richmondmathewson at gmail.com Sat Jul 20 14:35:06 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 20 Jul 2013 21:35:06 +0300 Subject: Genymotion Android emulator In-Reply-To: <51EAD736.80000@warrensweb.us> References: <51349670292.20130720102302@ahsoftware.net> <51EACFE6.3000205@gmail.com> <51EAD736.80000@warrensweb.us> Message-ID: <51EAD85A.9080907@gmail.com> On 07/20/2013 09:30 PM, Warren Samples wrote: > On 07/20/2013 12:59 PM, Richmond wrote: >> On 07/20/2013 08:23 PM, Mark Wieder wrote: >>> Richmond- >>> >>> Saturday, July 20, 2013, 10:02:38 AM, you wrote: >>> >>>> Setting the thing up was, inevitably, slightly difficult as, >>>> inevitably, the setup instructions were slightly wrong (but that is >>>> normal for Linux). >>> As I am about to install this thing next week, would you care to share >>> any insights about that process? >>> >> >> Well . . . >> >> The first thing is to get VirtualBox sorted out on your system. >> >> The second thing is that Genymotion looks for the SDK which is hard to >> locate: >> >> ~/android-sdks/sdk (where '~' is your Home folder), >> >> don't let yourself be distracted by 'android-sdk-linux' >> >> after that it goes "all funny" about something that is supposed to be in >> the /etc/init.d folder, but isn't; so you have to do some fiddling >> around, >> and quite how the thing worked because of my fiddling around I cannot >> really say. >> >> After that things seem comparatively straightforward, and I suspect the >> best way to >> get an Android standalone onto one of the devices is by uploading it to >> some website >> and then downloading it from inside the emulated device. >> >> Unfortunately right now I've got a lot of "extraneous stuff" on my >> plate, but I hope, come >> Sunday night I will be able to upload some reasonably pretty pictures to >> the Forum. >> >> Richmond. >> > > Apparently installation woes are a YMMV kind of thing. I just > installed without any headscratching at all. Just clicked through the > dialogs as they came up and I was all set and running. That makes me very happy for you. I suspect the woes are not YMMV at all, but possibly TMMBDAU problems ( TMMBDAU = That Man Mathewson Being Difficult As Usual ) or just the simple fact that as Linux is just SO customisable, and seductively customisable at that, that it is a bit infra dig to expect every system to deal with Genymotion smoothly. Certainly, now that I have Genymotion up and running, it is a wonderful thing, and well worth any 'extra' work that may crop up. Richmond. > > Warren > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Sat Jul 20 15:50:00 2013 From: dsc at swcp.com (Dar Scott) Date: Sat, 20 Jul 2013 13:50:00 -0600 Subject: error in fetching URL In-Reply-To: <00148206-E057-4396-B049-8125FE44B84C@gmail.com> References: <00148206-E057-4396-B049-8125FE44B84C@gmail.com> Message-ID: Part of 'put URL...' gets translated to a LiveCode command that fetches the request. This command uses a version of wait that allows messages. I suspect you are clicking a button again before this is finished. You might want to consider these two things in that button. Set the cursor at the beginning so you will get feedback as to when it is still cranking away. Also, create an error if you click it while it is busy. (Use a local variable busy that you set to true at the start and false at the end but bail before it is set if it is already set.) Dar custom libraries and externals On Jul 20, 2013, at 11:45 AM, Peter M. Brigham wrote: > I'm trying to design a poor man's spelling checker, and I'm using the script below. I keep getting the error "error Previous request not completed" and I don't know enough about internet connections to interpret what's going on. Can anyone help? > > function checkSpelling tWord > put "http://www.dict.org/bin/Dict?Query=&Form=Dict1&Strategy=*&Database=*" into theURL > replace "" with tWord in theURL > put url theURL into tHTML > put the result into tErr > if tErr <> empty then > put "Error:" && tErr into fld "text" > else > put tHTML into fld "text" > end if > exit to top -- temporarily > -- more code will go here, to parse the HTML > -- return listOut > end checkSpelling > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Sat Jul 20 16:20:45 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 20 Jul 2013 13:20:45 -0700 Subject: Genymotion Android emulator In-Reply-To: <51EAD736.80000@warrensweb.us> References: <51349670292.20130720102302@ahsoftware.net> <51EACFE6.3000205@gmail.com> <51EAD736.80000@warrensweb.us> Message-ID: <192360333181.20130720132045@ahsoftware.net> Warren- Saturday, July 20, 2013, 11:30:14 AM, you wrote: > On 07/20/2013 12:59 PM, Richmond wrote: >> On 07/20/2013 08:23 PM, Mark Wieder wrote: >>> Richmond- >>> >>> Saturday, July 20, 2013, 10:02:38 AM, you wrote: >>> >>>> Setting the thing up was, inevitably, slightly difficult as, >>>> inevitably, the setup instructions were slightly wrong (but that is >>>> normal for Linux). >>> As I am about to install this thing next week, would you care to share >>> any insights about that process? >>> >> >> Well . . . >> >> The first thing is to get VirtualBox sorted out on your system. >> >> The second thing is that Genymotion looks for the SDK which is hard to >> locate: >> >> ~/android-sdks/sdk (where '~' is your Home folder), >> >> don't let yourself be distracted by 'android-sdk-linux' >> >> after that it goes "all funny" about something that is supposed to be in >> the /etc/init.d folder, but isn't; so you have to do some fiddling around, >> and quite how the thing worked because of my fiddling around I cannot >> really say. >> >> After that things seem comparatively straightforward, and I suspect the >> best way to >> get an Android standalone onto one of the devices is by uploading it to >> some website >> and then downloading it from inside the emulated device. >> >> Unfortunately right now I've got a lot of "extraneous stuff" on my >> plate, but I hope, come >> Sunday night I will be able to upload some reasonably pretty pictures to >> the Forum. >> >> Richmond. >> > Apparently installation woes are a YMMV kind of thing. I just installed > without any headscratching at all. Just clicked through the dialogs as > they came up and I was all set and running. That can easily depend on linux distros, especially where init.d comes into play. -- -Mark Wieder mwieder at ahsoftware.net From warren at warrensweb.us Sat Jul 20 17:34:00 2013 From: warren at warrensweb.us (Warren Samples) Date: Sat, 20 Jul 2013 16:34:00 -0500 Subject: Genymotion Android emulator In-Reply-To: <192360333181.20130720132045@ahsoftware.net> References: <51349670292.20130720102302@ahsoftware.net> <51EACFE6.3000205@gmail.com> <51EAD736.80000@warrensweb.us> <192360333181.20130720132045@ahsoftware.net> Message-ID: <51EB0248.2020505@warrensweb.us> On 07/20/2013 03:20 PM, Mark Wieder wrote: > That can easily depend on linux distros, especially where init.d comes > into play. Well, yes. That could be a part of why YMMV :) I was just saying that my experience was completely without strangeness or difficulty, hoping to lend encouragement to anyone who might have been put off by Richmond's experience. Warren From richmondmathewson at gmail.com Sat Jul 20 17:55:48 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 21 Jul 2013 00:55:48 +0300 Subject: Genymotion Android emulator In-Reply-To: <51EB0248.2020505@warrensweb.us> References: <51349670292.20130720102302@ahsoftware.net> <51EACFE6.3000205@gmail.com> <51EAD736.80000@warrensweb.us> <192360333181.20130720132045@ahsoftware.net> <51EB0248.2020505@warrensweb.us> Message-ID: <51EB0764.8030100@gmail.com> On 07/21/2013 12:34 AM, Warren Samples wrote: > On 07/20/2013 03:20 PM, Mark Wieder wrote: >> That can easily depend on linux distros, especially where init.d comes >> into play. > > > Well, yes. That could be a part of why YMMV :) I was just saying that > my experience was completely without strangeness or difficulty, hoping > to lend encouragement to anyone who might have been put off by > Richmond's experience. > "Richmond's experience" has been greatly exaggerated by Thee! 'Twas a mere bagatelle (well, 15 minutes calling down the demons from Hell), and, Lo! the thing worked. Nobody should be put off by that; espcially as the Genymotion thing is really very good indeed. Richmond. > Warren > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Jul 20 17:57:52 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 21 Jul 2013 00:57:52 +0300 Subject: Genymotion Android emulator In-Reply-To: <51EB0764.8030100@gmail.com> References: <51349670292.20130720102302@ahsoftware.net> <51EACFE6.3000205@gmail.com> <51EAD736.80000@warrensweb.us> <192360333181.20130720132045@ahsoftware.net> <51EB0248.2020505@warrensweb.us> <51EB0764.8030100@gmail.com> Message-ID: <51EB07E0.50409@gmail.com> On 07/21/2013 12:55 AM, Richmond wrote: > On 07/21/2013 12:34 AM, Warren Samples wrote: >> On 07/20/2013 03:20 PM, Mark Wieder wrote: >>> That can easily depend on linux distros, especially where init.d comes >>> into play. >> >> >> Well, yes. That could be a part of why YMMV :) I was just saying that >> my experience was completely without strangeness or difficulty, >> hoping to lend encouragement to anyone who might have been put off by >> Richmond's experience. >> > > "Richmond's experience" has been greatly exaggerated by Thee! > > 'Twas a mere bagatelle (well, 15 minutes calling down the demons from > Hell), and, Lo! the > thing worked. > > Nobody should be put off by that; espcially as the Genymotion thing is > really very good indeed. > > Richmond. Or, to put things another way: if you are the sort of person who has got any Linux distro to do more for you that just the moronic things 90% of people do with their computers (BMSPG = Browse, Mail, Skype, Play Games) you should not be fussed about this sort of thing at all. > >> Warren >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From warren at warrensweb.us Sat Jul 20 18:48:18 2013 From: warren at warrensweb.us (Warren Samples) Date: Sat, 20 Jul 2013 17:48:18 -0500 Subject: Genymotion Android emulator In-Reply-To: <51EB0764.8030100@gmail.com> References: <51349670292.20130720102302@ahsoftware.net> <51EACFE6.3000205@gmail.com> <51EAD736.80000@warrensweb.us> <192360333181.20130720132045@ahsoftware.net> <51EB0248.2020505@warrensweb.us> <51EB0764.8030100@gmail.com> Message-ID: <51EB13B2.5060204@warrensweb.us> On 07/20/2013 04:55 PM, Richmond wrote: > "Richmond's experience" has been greatly exaggerated by Thee! Thee or thou? Your post makes it sound like a universal Linux problem, using the term "inevitably". I don't know what to say about the instructions being wrong "(but that is normal for Linux)". I didn't read them. I just downloaded the installer and clicked away and "magically" everything worked, despite it being Linux. One of the things that I find a little disappointing is the propensity for people to say on this list that there's a "linux" problem when they should say "I have a problem on my system". One of the reasons I tend to look into and respond to posts to this list about problems Linux users have is to help clarify when the issue is indeed a "linux" issue and when the issue might be local. Clarifying this can only help get at the root of a problem and hence a solution. Further, I'm not interested in wasting time in the silly pursuit of convincing people to run Linux as their main OS, but we should be careful about not encouraging the exaggerated fear that Linux is just too much trouble to think about at all. This is a cross-platform developing environment and I think LiveCoders should be encouraged to keep it in mind as a viable platform for app deployment, and an "inevitably" hostile beast after all, to install for testing during development. Warren From dochawk at gmail.com Sat Jul 20 18:51:04 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 20 Jul 2013 15:51:04 -0700 Subject: paste and closeField Message-ID: as documented, pasting into a field doesn't result in closeField being called on exit. Is there a straightforard way around it, or do I really need to add a hasChanged attribute to fields, set that as part of paste, and check for it in exitField? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From warren at warrensweb.us Sat Jul 20 20:44:16 2013 From: warren at warrensweb.us (Warren Samples) Date: Sat, 20 Jul 2013 19:44:16 -0500 Subject: Genymotion Android emulator In-Reply-To: <51EB13B2.5060204@warrensweb.us> References: <51349670292.20130720102302@ahsoftware.net> <51EACFE6.3000205@gmail.com> <51EAD736.80000@warrensweb.us> <192360333181.20130720132045@ahsoftware.net> <51EB0248.2020505@warrensweb.us> <51EB0764.8030100@gmail.com> <51EB13B2.5060204@warrensweb.us> Message-ID: <51EB2EE0.7040409@warrensweb.us> On 07/20/2013 05:48 PM, Warren Samples wrote: > and an "inevitably" hostile beast after all, to install for testing > during development should, of course, read: "... and NOT an inevitably hostile beast..." :D From pmbrig at gmail.com Sat Jul 20 22:47:06 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 20 Jul 2013 22:47:06 -0400 Subject: error in fetching URL In-Reply-To: References: <00148206-E057-4396-B049-8125FE44B84C@gmail.com> Message-ID: <56E13CD3-3897-48CE-8048-C27E230ECB02@gmail.com> Nope, I'm not clicking the button twice. I just opened up the test stack I'm using to develop this, having not used it since this morning. I clicked the button once and immediately got the error message. The funny thing is that it worked at first, now nothing but error. If I wait 10 minutes while the stack is open and come back to it and click the button again, I get the same immediate error message. If I close the stack and re-open it and click the button once, I get the error. No soap. ??? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Jul 20, 2013, at 3:50 PM, Dar Scott wrote: > Part of 'put URL...' gets translated to a LiveCode command that fetches the request. This command uses a version of wait that allows messages. > > I suspect you are clicking a button again before this is finished. > > You might want to consider these two things in that button. Set the cursor at the beginning so you will get feedback as to when it is still cranking away. Also, create an error if you click it while it is busy. (Use a local variable busy that you set to true at the start and false at the end but bail before it is set if it is already set.) > > Dar > custom libraries and externals > > On Jul 20, 2013, at 11:45 AM, Peter M. Brigham wrote: > >> I'm trying to design a poor man's spelling checker, and I'm using the script below. I keep getting the error "error Previous request not completed" and I don't know enough about internet connections to interpret what's going on. Can anyone help? >> >> function checkSpelling tWord >> put "http://www.dict.org/bin/Dict?Query=&Form=Dict1&Strategy=*&Database=*" into theURL >> replace "" with tWord in theURL >> put url theURL into tHTML >> put the result into tErr >> if tErr <> empty then >> put "Error:" && tErr into fld "text" >> else >> put tHTML into fld "text" >> end if >> exit to top -- temporarily >> -- more code will go here, to parse the HTML >> -- return listOut >> end checkSpelling >> >> -- Peter >> >> Peter M. Brigham >> pmbrig at gmail.com >> http://home.comcast.net/~pmbrig >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 20 22:58:03 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 20 Jul 2013 22:58:03 -0400 Subject: error in fetching URL In-Reply-To: References: <00148206-E057-4396-B049-8125FE44B84C@gmail.com> Message-ID: Weird. I quit LC, restarted it, opened the stack, now it's working. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Jul 20, 2013, at 3:50 PM, Dar Scott wrote: > Part of 'put URL...' gets translated to a LiveCode command that fetches the request. This command uses a version of wait that allows messages. > > I suspect you are clicking a button again before this is finished. > > You might want to consider these two things in that button. Set the cursor at the beginning so you will get feedback as to when it is still cranking away. Also, create an error if you click it while it is busy. (Use a local variable busy that you set to true at the start and false at the end but bail before it is set if it is already set.) > > Dar > custom libraries and externals > > On Jul 20, 2013, at 11:45 AM, Peter M. Brigham wrote: > >> I'm trying to design a poor man's spelling checker, and I'm using the script below. I keep getting the error "error Previous request not completed" and I don't know enough about internet connections to interpret what's going on. Can anyone help? >> >> function checkSpelling tWord >> put "http://www.dict.org/bin/Dict?Query=&Form=Dict1&Strategy=*&Database=*" into theURL >> replace "" with tWord in theURL >> put url theURL into tHTML >> put the result into tErr >> if tErr <> empty then >> put "Error:" && tErr into fld "text" >> else >> put tHTML into fld "text" >> end if >> exit to top -- temporarily >> -- more code will go here, to parse the HTML >> -- return listOut >> end checkSpelling >> >> -- Peter >> >> Peter M. Brigham >> pmbrig at gmail.com >> http://home.comcast.net/~pmbrig >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Sat Jul 20 23:42:51 2013 From: dsc at swcp.com (Dar Scott) Date: Sat, 20 Jul 2013 21:42:51 -0600 Subject: error in fetching URL In-Reply-To: References: <00148206-E057-4396-B049-8125FE44B84C@gmail.com> Message-ID: <892090C0-1C06-40ED-B39B-D0C34C9017F6@swcp.com> The error message comes from libURL, so you can probably clear it with resetAll when it happens until you track down the problem. I'm not sure what would cause that for that long of a period. Maybe a command-period in the middle of the URL operation. Just guessing. Dar On Jul 20, 2013, at 8:58 PM, Peter M. Brigham wrote: > Weird. I quit LC, restarted it, opened the stack, now it's working. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > On Jul 20, 2013, at 3:50 PM, Dar Scott wrote: > >> Part of 'put URL...' gets translated to a LiveCode command that fetches the request. This command uses a version of wait that allows messages. >> >> I suspect you are clicking a button again before this is finished. >> >> You might want to consider these two things in that button. Set the cursor at the beginning so you will get feedback as to when it is still cranking away. Also, create an error if you click it while it is busy. (Use a local variable busy that you set to true at the start and false at the end but bail before it is set if it is already set.) >> >> Dar >> custom libraries and externals >> >> On Jul 20, 2013, at 11:45 AM, Peter M. Brigham wrote: >> >>> I'm trying to design a poor man's spelling checker, and I'm using the script below. I keep getting the error "error Previous request not completed" and I don't know enough about internet connections to interpret what's going on. Can anyone help? >>> >>> function checkSpelling tWord >>> put "http://www.dict.org/bin/Dict?Query=&Form=Dict1&Strategy=*&Database=*" into theURL >>> replace "" with tWord in theURL >>> put url theURL into tHTML >>> put the result into tErr >>> if tErr <> empty then >>> put "Error:" && tErr into fld "text" >>> else >>> put tHTML into fld "text" >>> end if >>> exit to top -- temporarily >>> -- more code will go here, to parse the HTML >>> -- return listOut >>> end checkSpelling >>> >>> -- Peter >>> >>> Peter M. Brigham >>> pmbrig at gmail.com >>> http://home.comcast.net/~pmbrig >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 20 23:47:46 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 20 Jul 2013 23:47:46 -0400 (EDT) Subject: paste and closeField In-Reply-To: References: Message-ID: <8D053DC3219B693-1DE4-4F55@webmail-d278.sysops.aol.com> I did not check the docs, but if I paste into a field and then click on the card somewhere, say, a closefield message is sent to the field. In any case, you can always trap "textChange". Craig Newman -----Original Message----- From: Dr. Hawkins To: How to use LiveCode Sent: Sat, Jul 20, 2013 6:51 pm Subject: paste and closeField as documented, pasting into a field doesn't result in closeField being called on exit. Is there a straightforard way around it, or do I really need to add a hasChanged attribute to fields, set that as part of paste, and check for it in exitField? -- 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 paulhibbert at mac.com Sun Jul 21 00:16:48 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Sat, 20 Jul 2013 21:16:48 -0700 Subject: LC Server Image Weirdness In-Reply-To: <8D6D117A-4D70-4530-9794-8BDCC8F54639@all-auctions.com> References: <51E9962D.3080601@gmail.com> <8D052F91E87F454-16AC-C00FF@webmail-m141.sysops.aol.com> <51EA5225.70507@gmail.com> <8D6D117A-4D70-4530-9794-8BDCC8F54639@all-auctions.com> Message-ID: <2829C83B-B2C9-4F18-8644-39F27930DBBF@mac.com> Hi Rick, I'm no expert in this area, but it sounds to me like the image is not being released after the upload, other list readers may have a better idea. If you are using "Open File", "Write to File" etc., make sure you also use "Close File" after the upload to release the image file for other applications to use (i.e. the browser). If that's not the case, maybe Jacqueline's suggestion to a similar problem I had a while ago, using the shell touch command may help, I think this should still work on the Server. put "touch -c " & quote & & quote into tCmd get shell(tCmd) More info on the Touch command here? https://developer.apple.com/library/mac/#documentation/Darwin/Reference/Manpages/man1/touch.1.html No guarantees, but may be worth a try. Paul On 2013-07-20, at 9:17 AM, Rick Harrison wrote: > Ok, so I have the LC 6.1.0 server > running on a Macintosh, and I'm > uploading an image to the server > through a webpage and storing it > onto the server. > > I'm trying to display the image > on the webpage to show that > it completed properly etc. > > I'm using the statement: > > put "
" & cr > > The webpage completes all the > way through without errors, but the > image doesn't display at all. The > image gets uploaded, but when I > try to open the image with "Preview", > it complains that the image is > corrupted somehow. I find I can > open the image up just fine in > "GraphicConverter" and if I then > save the file using "GraphicConverter" > the file gets fixed and will > display properly in "Preview". > > If I put in a statement like: > > put image "BogusImageName" into VarBogusImageName > > into the .lc webpage it causes the webpage to > throw an error, (Chunk: no such object), as expected, > but the interesting thing is that now > the image I was trying to display before that wasn't showing > now shows up just fine! Furthermore, the file uploaded > shows up fine in Preview without any corruption whatsoever. > > Does anyone have a clue as to what is causing this weirdness > and what I can do to fix the problem of the image not showing? > > Thanks in advance, > > Rick > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 21 00:19:36 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 20 Jul 2013 23:19:36 -0500 Subject: paste and closeField In-Reply-To: References: Message-ID: <51EB6158.8010803@hyperactivesw.com> On 7/20/13 5:51 PM, Dr. Hawkins wrote: > as documented, pasting into a field doesn't result in closeField being > called on exit. > > Is there a straightforard way around it, or do I really need to add a > hasChanged attribute to fields, set that as part of paste, and check > for it in exitField? > Use the "textChanged" message to catch the paste. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sun Jul 21 03:53:08 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 21 Jul 2013 10:53:08 +0300 Subject: [OT] Free Benchmarking Stuff Message-ID: <51EB9364.1090108@gmail.com> http://www.phoronix-test-suite.com/ munchies! Richmond. From m.schonewille at economy-x-talk.com Sun Jul 21 06:37:13 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 21 Jul 2013 12:37:13 +0200 Subject: Reminder: please fill out the survey Message-ID: <51EBB9D9.8010902@economy-x-talk.com> Hi everyone, The first print of my book, Programming LiveCode for the Real Beginner, has been sold out completely and the second print will be available soon. While you wait for the book to be available again, I'd appreciate to get some info from you. If you haven't done so yet, please fill out this survey: http://livecodebeginner.economy-x-talk.com/survey/ Your answers will help me to make decisions with regards to future releases of the book -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ From MikeKerner at roadrunner.com Sun Jul 21 09:25:04 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 21 Jul 2013 09:25:04 -0400 Subject: iOS Developer Portal Down? In-Reply-To: <0C0E29A6-8551-4C9D-B52A-8F7C895A2CA0@verizon.net> References: <9567A931-A78C-4460-B391-0751DC072642@icloud.com> <0C0E29A6-8551-4C9D-B52A-8F7C895A2CA0@verizon.net> Message-ID: http://www.zdnet.com/amid-extended-apple-developer-site-downtime-users-report-unauthorized-password-reset-emails-7000018333/?s_cid=rSINGLE&ttag=rSINGLE On Sat, Jul 20, 2013 at 11:34 AM, Colin Holgate wrote: > No advanced warning, and it?s still down. They do say in the message that > if you?re account was due to expire right now it will be extended so that > your apps stay in the store. > > > On Jul 19, 2013, at 11:50 PM, Mike Kerner > wrote: > > > >I just checked again and they updated the message to apologize for how > long > > it's taking, so I guess it's not just me. Did anybody get advance > warning? > > _______________________________________________ > use-livecode mailing list > use-livecode 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 harrison at all-auctions.com Sun Jul 21 10:16:52 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Sun, 21 Jul 2013 10:16:52 -0400 Subject: LC Server Image Weirdness In-Reply-To: <2829C83B-B2C9-4F18-8644-39F27930DBBF@mac.com> References: <51E9962D.3080601@gmail.com> <8D052F91E87F454-16AC-C00FF@webmail-m141.sysops.aol.com> <51EA5225.70507@gmail.com> <8D6D117A-4D70-4530-9794-8BDCC8F54639@all-auctions.com> <2829C83B-B2C9-4F18-8644-39F27930DBBF@mac.com> Message-ID: Hi Paul, I tried your suggestions. I moved the display of the image after the "Close File", - no luck. I tried the "touch -c" shell command, and - no luck. I tried both together, - no luck. Thanks for making the suggestions though. Anyone else? Thanks, Rick On Jul 21, 2013, at 12:16 AM, Paul Hibbert wrote: > Hi Rick, > > I'm no expert in this area, but it sounds to me like the image is not being released after the upload, other list readers may have a better idea. > > If you are using "Open File", "Write to File" etc., make sure you also use "Close File" after the upload to release the image file for other applications to use (i.e. the browser). > > If that's not the case, maybe Jacqueline's suggestion to a similar problem I had a while ago, using the shell touch command may help, I think this should still work on the Server. > > put "touch -c " & quote & & quote into tCmd > get shell(tCmd) > > More info on the Touch command here? > https://developer.apple.com/library/mac/#documentation/Darwin/Reference/Manpages/man1/touch.1.html > > No guarantees, but may be worth a try. > > Paul > > On 2013-07-20, at 9:17 AM, Rick Harrison wrote: > >> Ok, so I have the LC 6.1.0 server >> running on a Macintosh, and I'm >> uploading an image to the server >> through a webpage and storing it >> onto the server. >> >> I'm trying to display the image >> on the webpage to show that >> it completed properly etc. >> >> I'm using the statement: >> >> put "
" & cr >> >> The webpage completes all the >> way through without errors, but the >> image doesn't display at all. The >> image gets uploaded, but when I >> try to open the image with "Preview", >> it complains that the image is >> corrupted somehow. I find I can >> open the image up just fine in >> "GraphicConverter" and if I then >> save the file using "GraphicConverter" >> the file gets fixed and will >> display properly in "Preview". >> >> If I put in a statement like: >> >> put image "BogusImageName" into VarBogusImageName >> >> into the .lc webpage it causes the webpage to >> throw an error, (Chunk: no such object), as expected, >> but the interesting thing is that now >> the image I was trying to display before that wasn't showing >> now shows up just fine! Furthermore, the file uploaded >> shows up fine in Preview without any corruption whatsoever. >> >> Does anyone have a clue as to what is causing this weirdness >> and what I can do to fix the problem of the image not showing? >> >> Thanks in advance, >> >> Rick >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 21 13:42:30 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 21 Jul 2013 12:42:30 -0500 Subject: Auto character translations Message-ID: <51EC1D86.7090203@hyperactivesw.com> Does anyone know if the label of a stack is included when the engine translates the Mac character set to Windows? I need to include a registration mark in the stack title, and that isn't the same in the two charater sets. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gcanyon at gmail.com Sun Jul 21 14:45:49 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Sun, 21 Jul 2013 13:45:49 -0500 Subject: Reliable script to handle selection/drag-and-drop in a list field? In-Reply-To: References: <17FC029D-49C7-4007-BD65-5B99B8445971@major-k.de> Message-ID: Thanks Kaus for pointing it out, and particularly Scott who wrote the thing in the first place. When I think back on all I went through with Navigator trying to make the built-in drag-drop messages work (badly) it's frustrating that this works so well without using the drag-drop messages at all :-/ That said, this only does one line at a time, so I needed to dig in. I spent some time yesterday and now: 1. The code is all in a behavior button. Set a list field's behavior to the button, you're done. 2. The behavior sends an optional dragLines message to the field with what lines were dragged where, making it easy to add functionality in the field when the user does something. 3. It handles multiple lines, and discontiguous lines. Discontiguous lines are shown being dragged together, i.e. the screen shot does not include the lines between them that aren't being dragged. If there are more lines being dragged than will fit in an image of the field, the extras are replaced with an elipsis "..." 4. I removed the removal code. It would be simple to add it back. 5. There is about 40% less code, which (I think) will scale to extremely large lists and selections better. I tried it with 10,000 lines and selections of 1,000s and it worked fine on my machine. I have not tested it extensively. It could be horribly broken in some way I didn't notice. I put a huge disclaimer on it saying that it isn't the original and put a copy here: https://docs.google.com/file/d/0By_mW8YYOZpAWHpJQ1R4dlhZYTQ Scott, feel free to grab it and do whatever with it, ignore it, or ask me to take it down. Anyone who uses it and finds bugs, please let me know here. gc On Thu, Jul 18, 2013 at 11:45 AM, Scott Rossi wrote: > You can load the stack directly in LC: > go URL "http://www.tactilemedia.com/site_files/downloads/getinline.rev" > > > But this manages single lines only -- you'd have make to make adjustments > to handle multiple lines, which will be challenging with a discontiguous > selection. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 7/18/13 9:39 AM, "Klaus major-k" wrote: > > >Hi Geoff, > > > >Am 18.07.2013 um 18:23 schrieb Geoff Canyon : > > > >> I did some quick research, and this looks to be as much of a pain as I > >> remember -- or am I missing something? All I want is to place a > >>scrolling > >> list field on a card, enable the multipleLines and nonContiguousHilites > >>of > >> it, and then enable the (non-existent) supportDragAndDrop property. > > > >take a look at Scott Rossi's solution to this: > > > > > >Not sure if this works with multilines, but should get you started :-) > > > >> On Wed, Jul 17, 2013 at 1:51 PM, Geoff Canyon > wrote: > >> > >>> Does anyone have code to share that allows discontiguous selection and > >>> drag and drop within a list field? i.e. if I have a list field with: > >>> > >>> 1 > >>> 2 > >>> 3 > >>> 4 > >>> 5 > >>> > >>> I can click 3 to select it, shift-click 5 to select 3 to 5, > >>>command-click > >>> 4 so that 3 and 5 are selected, and then click and drag 3 (with 5 > >>>along for > >>> the ride) above 2 and end up with: > >>> > >>> 1 > >>> 3 > >>> 5 > >>> 2 > >>> 4 > > > >Best > > > >Klaus > > > >-- > >Klaus Major > >http://www.major-k.de > >klaus at major-k.de > > > > > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Sun Jul 21 15:11:38 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 21 Jul 2013 12:11:38 -0700 Subject: paste and closeField In-Reply-To: <8D053DC3219B693-1DE4-4F55@webmail-d278.sysops.aol.com> References: <8D053DC3219B693-1DE4-4F55@webmail-d278.sysops.aol.com> Message-ID: On Sat, Jul 20, 2013 at 8:47 PM, wrote: > I did not check the docs, but if I paste into a field and then click on the card somewhere, say, a >closefield message is sent to the field. According to a comment in the Dictionary, pmbrig at gmail.com 2010-12-12 at 11:35:09 Note that if you paste text into a field, the closeField message is not sent after the focus leaves the field, ie, the field is not flagged as having had its contents changed. The "paste" command appears to be equivalent to "put the clipboarddata["text"] into the selection." Hmm, and I just put traps for closeField and exitField and pasted then tabbed. It seems that the comment is wrong . . . > In any case, you can always trap "textChange". But that would be synchronous. When someone pastes in, he's likely to add more himself before leaving the field. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mwieder at ahsoftware.net Sun Jul 21 15:40:46 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 21 Jul 2013 12:40:46 -0700 Subject: Think like a git Message-ID: <14911445512.20130721124046@ahsoftware.net> Nice easy-to-read introduction to how git works. Note that this is *not* an introduction to what version control is, but it takes you on a nice tour of "git makes more sense when you understand [...]" Homeomorphic endofunctors, lsd and chainsaws, tinkertoys... http://think-like-a-git.net/sections/the-end.html -- -Mark Wieder mwieder at ahsoftware.net From scott at tactilemedia.com Sun Jul 21 16:06:40 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 21 Jul 2013 13:06:40 -0700 Subject: Reliable script to handle selection/drag-and-drop in a list field? In-Reply-To: Message-ID: It's great Geoff! The one minor issue I noticed is, after a drag/drop action, the field doesn't appear to be put back into a state of being able to drag a new line. Doing so seems to enable one or multiple line selections, but no drag. I have to click a second time to start a drag action. But otherwise seems to work as expected. No "take down" necessary. If anything, I would ask if I could add a copy to my site, so folks have more places to find it. Best Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 7/21/13 11:45 AM, "Geoff Canyon" wrote: >Thanks Kaus for pointing it out, and particularly Scott who wrote the >thing >in the first place. When I think back on all I went through with Navigator >trying to make the built-in drag-drop messages work (badly) it's >frustrating that this works so well without using the drag-drop messages >at >all :-/ > >That said, this only does one line at a time, so I needed to dig in. I >spent some time yesterday and now: > >1. The code is all in a behavior button. Set a list field's behavior to >the >button, you're done. >2. The behavior sends an optional dragLines message to the field with what >lines were dragged where, making it easy to add functionality in the field >when the user does something. >3. It handles multiple lines, and discontiguous lines. Discontiguous lines >are shown being dragged together, i.e. the screen shot does not include >the >lines between them that aren't being dragged. If there are more lines >being >dragged than will fit in an image of the field, the extras are replaced >with an elipsis "..." >4. I removed the removal code. It would be simple to add it back. >5. There is about 40% less code, which (I think) will scale to extremely >large lists and selections better. I tried it with 10,000 lines and >selections of 1,000s and it worked fine on my machine. > >I have not tested it extensively. It could be horribly broken in some way >I >didn't notice. I put a huge disclaimer on it saying that it isn't the >original and put a copy here: >https://docs.google.com/file/d/0By_mW8YYOZpAWHpJQ1R4dlhZYTQ > >Scott, feel free to grab it and do whatever with it, ignore it, or ask me >to take it down. > >Anyone who uses it and finds bugs, please let me know here. > >gc > > >On Thu, Jul 18, 2013 at 11:45 AM, Scott Rossi >wrote: > >> You can load the stack directly in LC: >> go URL "http://www.tactilemedia.com/site_files/downloads/getinline.rev" >> >> >> But this manages single lines only -- you'd have make to make >>adjustments >> to handle multiple lines, which will be challenging with a discontiguous >> selection. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> On 7/18/13 9:39 AM, "Klaus major-k" wrote: >> >> >Hi Geoff, >> > >> >Am 18.07.2013 um 18:23 schrieb Geoff Canyon : >> > >> >> I did some quick research, and this looks to be as much of a pain as >>I >> >> remember -- or am I missing something? All I want is to place a >> >>scrolling >> >> list field on a card, enable the multipleLines and >>nonContiguousHilites >> >>of >> >> it, and then enable the (non-existent) supportDragAndDrop property. >> > >> >take a look at Scott Rossi's solution to this: >> > >> > >> >Not sure if this works with multilines, but should get you started :-) >> > >> >> On Wed, Jul 17, 2013 at 1:51 PM, Geoff Canyon >> wrote: >> >> >> >>> Does anyone have code to share that allows discontiguous selection >>and >> >>> drag and drop within a list field? i.e. if I have a list field with: >> >>> >> >>> 1 >> >>> 2 >> >>> 3 >> >>> 4 >> >>> 5 >> >>> >> >>> I can click 3 to select it, shift-click 5 to select 3 to 5, >> >>>command-click >> >>> 4 so that 3 and 5 are selected, and then click and drag 3 (with 5 >> >>>along for >> >>> the ride) above 2 and end up with: >> >>> >> >>> 1 >> >>> 3 >> >>> 5 >> >>> 2 >> >>> 4 >> > >> >Best >> > >> >Klaus >> > >> >-- >> >Klaus Major >> >http://www.major-k.de >> >klaus at major-k.de >> > >> > >> >_______________________________________________ >> >use-livecode mailing list >> >use-livecode at lists.runrev.com >> >Please visit this url to subscribe, unsubscribe and manage your >> >subscription preferences: >> >http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From gcanyon at gmail.com Sun Jul 21 16:56:51 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Sun, 21 Jul 2013 15:56:51 -0500 Subject: Reliable script to handle selection/drag-and-drop in a list field? In-Reply-To: References: Message-ID: https://docs.google.com/file/d/0By_mW8YYOZpATnFfeExKNkt1VXc This version updates the history of the selection after a drag so the problem you saw should be corrected. Feel free to update the instructions, etc. and repost on your site. Let me know if you think of anything else it needs. On Sun, Jul 21, 2013 at 3:06 PM, Scott Rossi wrote: > It's great Geoff! The one minor issue I noticed is, after a drag/drop > action, the field doesn't appear to be put back into a state of being able > to drag a new line. Doing so seems to enable one or multiple line > selections, but no drag. I have to click a second time to start a drag > action. But otherwise seems to work as expected. > > No "take down" necessary. If anything, I would ask if I could add a copy > to my site, so folks have more places to find it. > > > Best Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 7/21/13 11:45 AM, "Geoff Canyon" wrote: > > >Thanks Kaus for pointing it out, and particularly Scott who wrote the > >thing > >in the first place. When I think back on all I went through with Navigator > >trying to make the built-in drag-drop messages work (badly) it's > >frustrating that this works so well without using the drag-drop messages > >at > >all :-/ > > > >That said, this only does one line at a time, so I needed to dig in. I > >spent some time yesterday and now: > > > >1. The code is all in a behavior button. Set a list field's behavior to > >the > >button, you're done. > >2. The behavior sends an optional dragLines message to the field with what > >lines were dragged where, making it easy to add functionality in the field > >when the user does something. > >3. It handles multiple lines, and discontiguous lines. Discontiguous lines > >are shown being dragged together, i.e. the screen shot does not include > >the > >lines between them that aren't being dragged. If there are more lines > >being > >dragged than will fit in an image of the field, the extras are replaced > >with an elipsis "..." > >4. I removed the removal code. It would be simple to add it back. > >5. There is about 40% less code, which (I think) will scale to extremely > >large lists and selections better. I tried it with 10,000 lines and > >selections of 1,000s and it worked fine on my machine. > > > >I have not tested it extensively. It could be horribly broken in some way > >I > >didn't notice. I put a huge disclaimer on it saying that it isn't the > >original and put a copy here: > >https://docs.google.com/file/d/0By_mW8YYOZpAWHpJQ1R4dlhZYTQ > > > >Scott, feel free to grab it and do whatever with it, ignore it, or ask me > >to take it down. > > > >Anyone who uses it and finds bugs, please let me know here. > > > >gc > > > > > >On Thu, Jul 18, 2013 at 11:45 AM, Scott Rossi > >wrote: > > > >> You can load the stack directly in LC: > >> go URL "http://www.tactilemedia.com/site_files/downloads/getinline.rev" > >> > >> > >> But this manages single lines only -- you'd have make to make > >>adjustments > >> to handle multiple lines, which will be challenging with a discontiguous > >> selection. > >> > >> Regards, > >> > >> Scott Rossi > >> Creative Director > >> Tactile Media, UX/UI Design > >> > >> > >> > >> > >> On 7/18/13 9:39 AM, "Klaus major-k" wrote: > >> > >> >Hi Geoff, > >> > > >> >Am 18.07.2013 um 18:23 schrieb Geoff Canyon : > >> > > >> >> I did some quick research, and this looks to be as much of a pain as > >>I > >> >> remember -- or am I missing something? All I want is to place a > >> >>scrolling > >> >> list field on a card, enable the multipleLines and > >>nonContiguousHilites > >> >>of > >> >> it, and then enable the (non-existent) supportDragAndDrop property. > >> > > >> >take a look at Scott Rossi's solution to this: > >> > > >> > > >> >Not sure if this works with multilines, but should get you started :-) > >> > > >> >> On Wed, Jul 17, 2013 at 1:51 PM, Geoff Canyon > >> wrote: > >> >> > >> >>> Does anyone have code to share that allows discontiguous selection > >>and > >> >>> drag and drop within a list field? i.e. if I have a list field with: > >> >>> > >> >>> 1 > >> >>> 2 > >> >>> 3 > >> >>> 4 > >> >>> 5 > >> >>> > >> >>> I can click 3 to select it, shift-click 5 to select 3 to 5, > >> >>>command-click > >> >>> 4 so that 3 and 5 are selected, and then click and drag 3 (with 5 > >> >>>along for > >> >>> the ride) above 2 and end up with: > >> >>> > >> >>> 1 > >> >>> 3 > >> >>> 5 > >> >>> 2 > >> >>> 4 > >> > > >> >Best > >> > > >> >Klaus > >> > > >> >-- > >> >Klaus Major > >> >http://www.major-k.de > >> >klaus at major-k.de > >> > > >> > > >> >_______________________________________________ > >> >use-livecode mailing list > >> >use-livecode at lists.runrev.com > >> >Please visit this url to subscribe, unsubscribe and manage your > >> >subscription preferences: > >> >http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 21 18:51:53 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 21 Jul 2013 18:51:53 -0400 Subject: [OT] Free Benchmarking Stuff Message-ID: Hi Richmmond, On Sun, 21 Jul 2013 10:53:08 +0300 Richmond wrote: > http://www.phoronix-test-suite.com/ > munchies! How could we use this benchmarking software with LiveCode? Does exists a single stack (or a group of stacks) that produce benchmark tests for every LiveCode command, function and property? Thanks in advance! Al From mwieder at ahsoftware.net Sun Jul 21 19:10:40 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 21 Jul 2013 16:10:40 -0700 Subject: HTML5 online course Message-ID: <16924039738.20130721161040@ahsoftware.net> Heads up... Until 31 July you can register for udemy's HTML5 APIs for JavaScript online course for free. Over 45 hours of lectures. Looks quite interesting. There's also a free "Learning Responsive Web Design" course if that interests you. -- -Mark Wieder mwieder at ahsoftware.net From monte at sweattechnologies.com Sun Jul 21 19:29:59 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 22 Jul 2013 09:29:59 +1000 Subject: Think like a git In-Reply-To: <14911445512.20130721124046@ahsoftware.net> References: <14911445512.20130721124046@ahsoftware.net> Message-ID: <0027E523-FB51-46AC-8A09-E9A9E6CD8EDF@sweattechnologies.com> On 22/07/2013, at 5:40 AM, Mark Wieder wrote: > lsd and chainsaws lol ;-) I love that there's 8 million results for "git makes more sense if" ;-) Here's one: "@pornelski @danielpunkass Seriously, though, git makes perfect sense if you think of branches as timelines and operations as time travel." To quote The Doctor "Timey wimey wibbly wobbly stuff" ;-) Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From Mark_Smith at cpe.umanitoba.ca Sun Jul 21 21:39:45 2013 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Sun, 21 Jul 2013 18:39:45 -0700 (PDT) Subject: 5.5.5 linking problem Message-ID: <1374457184771-4667839.post@n4.nabble.com> Hi, just installed 5.5.5 after working with 5.5.4 for a bit. Have the correct Xcode installed (4.6 or higher) but I am getting a linking error related to ARMV7 or something (about 6 lines of output in the error msg). Anyone know how to banish? Thanks Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/5-5-5-linking-problem-tp4667839.html Sent from the Revolution - User mailing list archive at Nabble.com. From MikeKerner at roadrunner.com Sun Jul 21 21:51:41 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 21 Jul 2013 21:51:41 -0400 Subject: iOS Developer Portal Down? In-Reply-To: References: <9567A931-A78C-4460-B391-0751DC072642@icloud.com> <0C0E29A6-8551-4C9D-B52A-8F7C895A2CA0@verizon.net> Message-ID: Apple Developer Website Update Last Thursday, an intruder attempted to secure personal information of our registered developers from our developer website. Sensitive personal information was encrypted and cannot be accessed, however, we have not been able to rule out the possibility that some developers? names, mailing addresses, and/or email addresses may have been accessed. In the spirit of transparency, we want to inform you of the issue. We took the site down immediately on Thursday and have been working around the clock since then. In order to prevent a security threat like this from happening again, we?re completely overhauling our developer systems, updating our server software, and rebuilding our entire database. We apologize for the significant inconvenience that our downtime has caused you and we expect to have the developer website up again soon. On Sun, Jul 21, 2013 at 9:25 AM, Mike Kerner wrote: > > http://www.zdnet.com/amid-extended-apple-developer-site-downtime-users-report-unauthorized-password-reset-emails-7000018333/?s_cid=rSINGLE&ttag=rSINGLE > > > On Sat, Jul 20, 2013 at 11:34 AM, Colin Holgate wrote: > >> No advanced warning, and it?s still down. They do say in the message that >> if you?re account was due to expire right now it will be extended so that >> your apps stay in the store. >> >> >> On Jul 19, 2013, at 11:50 PM, Mike Kerner >> wrote: >> >> > >I just checked again and they updated the message to apologize for how >> long >> > it's taking, so I guess it's not just me. Did anybody get advance >> warning? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Sun Jul 21 23:08:29 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 21 Jul 2013 23:08:29 -0400 Subject: 5.5.5 linking problem In-Reply-To: <1374457184771-4667839.post@n4.nabble.com> References: <1374457184771-4667839.post@n4.nabble.com> Message-ID: In the Standalone Settings for your app, are you doing Arm6, Arm7 or Universal? If Arm6 or Universal, then you need to link the other SDK's that are from XC 4.2 and/or 4.4. To do that, go into Preferences and pick "Mobile Support". If you have a green square, you're all set. If not, you're going to have to point to the SDK, which is inside of XC 4.4, which should be in your Applications folder. On Sun, Jul 21, 2013 at 9:39 PM, Mark Smith wrote: > Hi, just installed 5.5.5 after working with 5.5.4 for a bit. Have the > correct > Xcode installed (4.6 or higher) but I am getting a linking error related to > ARMV7 or something (about 6 lines of output in the error msg). Anyone know > how to banish? > > Thanks > > Mark > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/5-5-5-linking-problem-tp4667839.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From monte at sweattechnologies.com Mon Jul 22 00:29:15 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 22 Jul 2013 14:29:15 +1000 Subject: boundingRect and scrolling Message-ID: <4883CF81-74A4-45E3-AC28-A5C16A7BBCAB@sweattechnologies.com> Does anybody else wish that a group with boundingRect set could still scroll? boundingRect is one of those properties I always struggle with whenever I think I need it then usually end up setting it to empty and setting the lockLocation of the group to true. One thing that puzzles me is why it's not just a boolean clipToBounds/clipToRect indicating that if you change the rect of the group the objects in it should just be clipped. The other is why when one of the useful things for it to do is allow scrolling of the unlocked group it doesn't. Perhaps it needs a paired boolean property scrollToFormattedRect or would just adding scrolling to groups with a boundingRect be backwards compatible? Anyone else have thoughts on this? Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From capellan2000 at gmail.com Mon Jul 22 00:43:42 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 21 Jul 2013 21:43:42 -0700 (PDT) Subject: HTML5 online course In-Reply-To: <16924039738.20130721161040@ahsoftware.net> References: <16924039738.20130721161040@ahsoftware.net> Message-ID: <1374468222261-4667843.post@n4.nabble.com> Great! Many thanks for sharing this information. :D mwieder wrote > Heads up... > > Until 31 July you can register for udemy's HTML5 APIs for JavaScript > online course for free. Over 45 hours of lectures. Looks quite > interesting. > > <https://www.udemy.com/html5-apis-for-javascript-a-course-for-web-developers/?couponCode=3deal> > > There's also a free "Learning Responsive Web Design" course if that > interests you. > > <https://www.udemy.com/learning-responsive-web-design/?couponCode=3deal> > > -- > -Mark Wieder -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/HTML5-online-course-tp4667837p4667843.html Sent from the Revolution - User mailing list archive at Nabble.com. From dunbarx at aol.com Mon Jul 22 00:56:21 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 22 Jul 2013 00:56:21 -0400 (EDT) Subject: paste and closeField In-Reply-To: References: <8D053DC3219B693-1DE4-4F55@webmail-d278.sysops.aol.com> Message-ID: <8D054AEF1C50901-600-1129D3@webmail-va006.sysops.aol.com> Hi. Not sure, then, what you want. The docs do seem to be wrong in that when focus leaves the field, a closefield message is sent after a paste. And the "textChanged" message is sent immediately when text is pasted. What specific behavior are you trying to achieve? Craig Newman -----Original Message----- From: Dr. Hawkins To: How to use LiveCode Sent: Sun, Jul 21, 2013 3:12 pm Subject: Re: paste and closeField On Sat, Jul 20, 2013 at 8:47 PM, wrote: > I did not check the docs, but if I paste into a field and then click on the card somewhere, say, a >closefield message is sent to the field. According to a comment in the Dictionary, pmbrig at gmail.com 2010-12-12 at 11:35:09 Note that if you paste text into a field, the closeField message is not sent after the focus leaves the field, ie, the field is not flagged as having had its contents changed. The "paste" command appears to be equivalent to "put the clipboarddata["text"] into the selection." Hmm, and I just put traps for closeField and exitField and pasted then tabbed. It seems that the comment is wrong . . . > In any case, you can always trap "textChange". But that would be synchronous. When someone pastes in, he's likely to add more himself before leaving the field. -- 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 scott at tactilemedia.com Mon Jul 22 01:22:39 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 21 Jul 2013 22:22:39 -0700 Subject: boundingRect and scrolling In-Reply-To: <4883CF81-74A4-45E3-AC28-A5C16A7BBCAB@sweattechnologies.com> References: <4883CF81-74A4-45E3-AC28-A5C16A7BBCAB@sweattechnologies.com> Message-ID: I just ran into this yesterday. I'd vote for it. Regards, Scott Rossi Creative Director Tactile Media, UX Design On Jul 21, 2013, at 9:29 PM, Monte Goulding wrote: > Does anybody else wish that a group with boundingRect set could still scroll? > > boundingRect is one of those properties I always struggle with whenever I think I need it then usually end up setting it to empty and setting the lockLocation of the group to true. One thing that puzzles me is why it's not just a boolean clipToBounds/clipToRect indicating that if you change the rect of the group the objects in it should just be clipped. The other is why when one of the useful things for it to do is allow scrolling of the unlocked group it doesn't. Perhaps it needs a paired boolean property scrollToFormattedRect or would just adding scrolling to groups with a boundingRect be backwards compatible? > > Anyone else have thoughts on this? > > 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 monte at sweattechnologies.com Mon Jul 22 02:43:46 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 22 Jul 2013 16:43:46 +1000 Subject: boundingRect and scrolling In-Reply-To: References: <4883CF81-74A4-45E3-AC28-A5C16A7BBCAB@sweattechnologies.com> Message-ID: On 22/07/2013, at 3:22 PM, Scott Rossi wrote: > I just ran into this yesterday. I'd vote for it. Well it turns out not to be that complicated... love this open source thing ;-) Some interesting tings to note: - bonding rect is treated internally as a boolean flag rather than an actual rect although it does set the minrect of the group which is I guess the point. - there's some quirky behavior if there's lock location, scrollbars and bounding rect set. I'm not sure what the intention is but dragging objects around leads to some significant strangeness... - my quick change effectively means lock location and bounding rect have the same behavior with the main advantage of bounding rect being you can resize eazily with the handles... - my gut feeling is my change alters the bounding rect property too much and won't get accepted because of that because it effectively ignores the rect that the scripter set and just clips to the rect bounds like lock location does. I guess I'll bring this up on the engine forum because maybe we need to add another flag like I originally suggested... clipsToRect? Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From sims at ezpzapps.com Mon Jul 22 02:43:52 2013 From: sims at ezpzapps.com (Jim sims) Date: Mon, 22 Jul 2013 08:43:52 +0200 Subject: iOS Scrolling groups Message-ID: I have a group of 399 groups (each group has one image object and two fields), in OSX I can scroll this and view all groups. In iOS in the simulator I took the Scroller example stack from help, adjusted the script for this group of groups and I get scrolling with a nice bounce. My problem is that only about six of the groups appear. Is it possible to scroll a group of groups as described above in iOS? Suggestions? Better yet, any example stacks??? TIA sims From monte at sweattechnologies.com Mon Jul 22 03:05:54 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 22 Jul 2013 17:05:54 +1000 Subject: iOS Scrolling groups In-Reply-To: References: Message-ID: <8F2A78AB-EA3E-4963-A32D-ADEB360A0E0A@sweattechnologies.com> Are you setting the contentRect of the scroller to the formattedRect of the group? On 22/07/2013, at 4:43 PM, Jim sims wrote: > I have a group of 399 groups (each group has one image object and two > fields), in OSX I can scroll this and view all groups. > > In iOS in the simulator I took the Scroller example stack from help, > adjusted the script for this group of groups and I get scrolling with a > nice bounce. > > My problem is that only about six of the groups appear. > > Is it possible to scroll a group of groups as described above in iOS? > > Suggestions? > Better yet, any example stacks??? > > TIA > sims > _______________________________________________ > use-livecode mailing list > use-livecode 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 sims at ezpzapps.com Mon Jul 22 03:13:34 2013 From: sims at ezpzapps.com (Jim sims) Date: Mon, 22 Jul 2013 09:13:34 +0200 Subject: iOS Scrolling groups In-Reply-To: <8F2A78AB-EA3E-4963-A32D-ADEB360A0E0A@sweattechnologies.com> References: <8F2A78AB-EA3E-4963-A32D-ADEB360A0E0A@sweattechnologies.com> Message-ID: Ah! Coola Boola! Duh - formattedRect and not formattedHeight, maybe that is my problem (in addition to being away from LCode for a while). Thanks for that Monte. sims On Monday, July 22, 2013, Monte Goulding wrote: > Are you setting the contentRect of the scroller to the formattedRect of > the group? > > On 22/07/2013, at 4:43 PM, Jim sims > > wrote: > > > I have a group of 399 groups (each group has one image object and two > > fields), in OSX I can scroll this and view all groups. > > > > In iOS in the simulator I took the Scroller example stack from help, > > adjusted the script for this group of groups and I get scrolling with a > > nice bounce. > > > > My problem is that only about six of the groups appear. > > > > Is it possible to scroll a group of groups as described above in iOS? > > > > Suggestions? > > Better yet, any example stacks??? > > > > TIA > > sims > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 Mon Jul 22 03:20:00 2013 From: scott at elementarysoftware.com (Scott Morrow) Date: Mon, 22 Jul 2013 00:20:00 -0700 Subject: 5.5.5 linking problem In-Reply-To: <1374457184771-4667839.post@n4.nabble.com> References: <1374457184771-4667839.post@n4.nabble.com> Message-ID: Hello Mark, Are you getting this error when trying to build a standalone? Do you use any externals? I'm seeing an error in LC 5.5.5 and LC 6.1 when trying to build with externals related to printing. (rrehardcopy and/or mergdoc ) -- 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 Jul 21, 2013, at 6:39 PM, Mark Smith wrote: > Hi, just installed 5.5.5 after working with 5.5.4 for a bit. Have the correct > Xcode installed (4.6 or higher) but I am getting a linking error related to > ARMV7 or something (about 6 lines of output in the error msg). Anyone know > how to banish? > > Thanks > > Mark > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/5-5-5-linking-problem-tp4667839.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 scott at elementarysoftware.com Mon Jul 22 03:26:59 2013 From: scott at elementarysoftware.com (Scott Morrow) Date: Mon, 22 Jul 2013 00:26:59 -0700 Subject: 5.5.5 linking problem In-Reply-To: References: <1374457184771-4667839.post@n4.nabble.com> Message-ID: <360B5D49-9012-4BE3-BE5D-0EF27AED8534@elementarysoftware.com> Should have been more clear. The error I'm seeing says: "Linking for armv7 failed with? ? No such file or directory." -- Scott Morrow On Jul 22, 2013, at 12:20 AM, Scott Morrow wrote: > Hello Mark, > > Are you getting this error when trying to build a standalone? Do you use any externals? I'm seeing an error in LC 5.5.5 and LC 6.1 when trying to build with externals related to printing. (rrehardcopy and/or mergdoc ) > > -- > 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 Jul 21, 2013, at 6:39 PM, Mark Smith wrote: > >> Hi, just installed 5.5.5 after working with 5.5.4 for a bit. Have the correct >> Xcode installed (4.6 or higher) but I am getting a linking error related to >> ARMV7 or something (about 6 lines of output in the error msg). Anyone know >> how to banish? >> >> Thanks >> >> Mark >> >> >> >> -- >> View this message in context: http://runtime-revolution.278305.n4.nabble.com/5-5-5-linking-problem-tp4667839.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From me at paulmaguire.me Mon Jul 22 06:08:38 2013 From: me at paulmaguire.me (Paul Maguire) Date: Mon, 22 Jul 2013 11:08:38 +0100 Subject: iPad splash screen blocks In-Reply-To: <880B71BA-1673-40B1-9871-7F01CCC94C38@mac.com> References: <880B71BA-1673-40B1-9871-7F01CCC94C38@mac.com> Message-ID: <984CBCD6-D3C7-4428-AE35-574163D5BB32@paulmaguire.me> On 19 Jul 2013, at 01:02, Randy Hengst wrote: > the other couple times, there was an error in my preOpen Card or preOpen Stack handlers. Almost certainly this. Sprinkle some put statements to track what you're doing in these handlers and use Console to check (if you're on a Mac) Kind regards, Paul From richmondmathewson at gmail.com Mon Jul 22 07:12:09 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 22 Jul 2013 14:12:09 +0300 Subject: 8 platforms ? Message-ID: <51ED1389.9090003@gmail.com> Either I cannot count (Mac, Win, Linux, Android, iOS), or RunRev is counting differently: http://livecode.com/blog/2013/06/19/transitioning-to-being-an-open-source-company/ "With 8 platforms to build for these days" Richmond. From coiin at verizon.net Mon Jul 22 07:28:32 2013 From: coiin at verizon.net (Colin Holgate) Date: Mon, 22 Jul 2013 07:28:32 -0400 Subject: 8 platforms ? In-Reply-To: <51ED1389.9090003@gmail.com> References: <51ED1389.9090003@gmail.com> Message-ID: Mac is Classic, Intel OSX and PPC OSX. Then there is Rev server. That makes it be 8 I think. On Jul 22, 2013, at 7:12 AM, Richmond wrote: > Either I cannot count (Mac, Win, Linux, Android, iOS), > > or RunRev is counting differently: From livfoss at mac.com Mon Jul 22 07:54:18 2013 From: livfoss at mac.com (Graham Samuel) Date: Mon, 22 Jul 2013 13:54:18 +0200 Subject: UK Ordnance Maps and LiveCode References: Message-ID: <45C81919-1F86-4BB6-A584-26CC29F39901@mac.com> Having had quite a lot to do with the official UK Geographical Mapping agency, Ordnance Survey (producers of very high quality, detailed mapping data) and their rather odd business model, I am hoping to to attend a meeting on 2nd August where they will introduce their new iOS SDK. I assume that LiveCoders won't be able to use this unless someone builds an external, so since this is an area of interest for me, I may be in the market for such a thing. That's why I didn't put [OT] at the beginning of this mail. Meanwhile, any Brits interested should follow up http://response.gv-c.com/Mail/View/144?a=4E08E3FDE9C25AAFC5244743EB3E7446&r=C92DC53C4C23F04A2ACD586DFC35C646 The OS is interesting in that it seems to have conflicting statutory duties with regard to data - to enhance British life and businesses by giving it away, and at the same time to make money out of it. This has already resulted in some rival iOS apps, some of which sell the data and some which give it away! Graham From andre.bisseret at wanadoo.fr Mon Jul 22 08:50:35 2013 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Mon, 22 Jul 2013 14:50:35 +0200 Subject: How to manage file name containing a date with / In-Reply-To: References: <8449AD1E-78C2-419B-84A2-1AE361614397@wanadoo.fr> <9BF32FEE-F4DE-406F-B53A-07A5AFE14FE8@wanadoo.fr> Message-ID: Bonjour, Jacque, Dar and Peter, thank you much for your attention to my problem. Since your posts I made a number of trials during the weekend, following your suggestions but with no success. Reminder : the names of the files I am trying to launch from script have the following format : Joe PATIENT - bio checkup - 09/2013.pdf On Mac the slash is replace automatically by colon (:) (don't know why!) Anyway, all is working well I can open a file by double-clicking on it in the folder And, I can launch it by script (using its filename). No problem. ------- On Windows, the : (colon) is replaced with what seems to be a character ( a kind of dot. (or small bullet point?) with a sort of white space before it and a white space after. But, these are not "space" character (one can't delete them; on can only select the all - Double-clicking on a document opens it (good) - But to launch a document from a script I need to replace : (colon) with this dot in the filename of the document. I can't!!! - When I copy this "dot" and paste it in the script editor, it is immediately replaced with "?" and replacing colon by ? does not work ----- I tried pasting it in the message box: there, it is immediately replace with "? :(quote followed by ? trying to replace colon : - I can't use "? (I suppose it's because they are 2 characters) - trying only ? does not work - In the message box of the PC I tried to get the number of this (kind of) dot put CharToNum('') and pasting a copy of the "dot" between the 2 quotes as suggested by Jacque the dot is immediately replaced by "? and I get the error: error: Script: missing " after literal the ASCII number of " is 34 and those of ? is 240 so I tried put numToChar(34) & numToChar(240) into tVar replace ":" by tVar in tDocName > does not work I don't know what I could do next? Dar, there are several thousands files with such names ; I can't imagine the only solution be to change ( manually) all these names! I am using livecode (rev) since 2006; it is the first time I am blocked that much Any other idea? Thanks a lot in advance for any help Best regards Andr? Le 19 juil. 2013 ? 17:24, J. Landman Gay a ?crit : > "Andr? Bisseret" wrote: >> So I tried >> put quote & numToChar(240) into tVar >> replace ":" with tVar in tDocName > again no success >> >> When I paste the mysterious char directly in the script it is >> immediately replaced by "?" > > In the message box, do this : > > put charToNum('') > > and paste the copied character between the quotes. That gives you the actual number of the character being used. Then in your script use numToChar() to do the replacements. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From peterwawood at gmail.com Mon Jul 22 09:14:53 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Mon, 22 Jul 2013 21:14:53 +0800 Subject: 8 platforms ? In-Reply-To: <51ED1389.9090003@gmail.com> References: <51ED1389.9090003@gmail.com> Message-ID: Richmond I think the 8 are: Mac Desktop Windows Desktop Linux Desktop Android iOS Mac Server Windows Server Linux Server. Peter On 22 Jul 2013, at 19:12, Richmond wrote: > Either I cannot count (Mac, Win, Linux, Android, iOS), > > or RunRev is counting differently: > > http://livecode.com/blog/2013/06/19/transitioning-to-being-an-open-source-company/ > > "With 8 platforms to build for these days" > > 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 dsc at swcp.com Mon Jul 22 09:16:36 2013 From: dsc at swcp.com (Dar Scott) Date: Mon, 22 Jul 2013 07:16:36 -0600 Subject: How to manage file name containing a date with / In-Reply-To: References: <8449AD1E-78C2-419B-84A2-1AE361614397@wanadoo.fr> <9BF32FEE-F4DE-406F-B53A-07A5AFE14FE8@wanadoo.fr> Message-ID: <12B8F0FA-20C9-4A52-8979-EE2732D7225B@swcp.com> Andr?, I'm not sure why this will not work to create the file name: get "Joe PATIENT - bio checkup - 09" & numToChar(240) & "2013.pdf" I think I might not be understanding the situation. Are these all files on a network file server or a portable storage? They look one way (with colons) on a Mac (with colons) and look another way on Windows (with the dot)? I also may have made an error in character encoding calculation. I'll double check that. Dar On Jul 22, 2013, at 6:50 AM, Andr? Bisseret wrote: > Bonjour, > > Jacque, Dar and Peter, thank you much for your attention to my problem. > Since your posts I made a number of trials during the weekend, following your suggestions but with no success. > > Reminder : the names of the files I am trying to launch from script have the following format : > Joe PATIENT - bio checkup - 09/2013.pdf > > On Mac the slash is replace automatically by colon (:) (don't know why!) > Anyway, all is working well > I can open a file by double-clicking on it in the folder > And, I can launch it by script (using its filename). No problem. > ------- > On Windows, the : (colon) is replaced with what seems to be a character ( a kind of dot. (or small bullet point?) with a sort of white space before it and a white space after. But, these are not "space" character (one can't delete them; on can only select the all > - Double-clicking on a document opens it (good) > > - But to launch a document from a script I need to replace : (colon) with this dot in the filename of the document. > I can't!!! > - When I copy this "dot" and paste it in the script editor, it is immediately replaced with "?" > and replacing colon by ? does not work > ----- > I tried pasting it in the message box: there, it is immediately replace with "? :(quote followed by ? > trying to replace colon : > - I can't use "? (I suppose it's because they are 2 characters) > - trying only ? does not work > > - In the message box of the PC I tried to get the number of this (kind of) dot > put CharToNum('') and pasting a copy of the "dot" between the 2 quotes as suggested by Jacque > the dot is immediately replaced by "? > and I get the error: error: Script: missing " after literal > > the ASCII number of " is 34 and those of ? is 240 > so I tried put numToChar(34) & numToChar(240) into tVar > replace ":" by tVar in tDocName > does not work > > I don't know what I could do next? > > Dar, there are several thousands files with such names ; I can't imagine the only solution be to change ( manually) all these names! > I am using livecode (rev) since 2006; it is the first time I am blocked that much > > Any other idea? > > Thanks a lot in advance for any help > > Best regards > > Andr? > > > > > > > Le 19 juil. 2013 ? 17:24, J. Landman Gay a ?crit : > >> "Andr? Bisseret" wrote: >>> So I tried >>> put quote & numToChar(240) into tVar >>> replace ":" with tVar in tDocName > again no success >>> >>> When I paste the mysterious char directly in the script it is >>> immediately replaced by "?" >> >> In the message box, do this : >> >> put charToNum('') >> >> and paste the copied character between the quotes. That gives you the actual number of the character being used. Then in your script use numToChar() to do the replacements. >> -- >> 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 dsc at swcp.com Mon Jul 22 10:11:47 2013 From: dsc at swcp.com (Dar Scott) Date: Mon, 22 Jul 2013 08:11:47 -0600 Subject: How to manage file name containing a date with / In-Reply-To: References: <8449AD1E-78C2-419B-84A2-1AE361614397@wanadoo.fr> <9BF32FEE-F4DE-406F-B53A-07A5AFE14FE8@wanadoo.fr> Message-ID: <3852C64C-087C-4D64-AA3B-E6C5A9A6307E@swcp.com> I think I might not be under standing the situation. Questions inline. On Jul 22, 2013, at 6:50 AM, Andr? Bisseret wrote: > Bonjour, > > Jacque, Dar and Peter, thank you much for your attention to my problem. > Since your posts I made a number of trials during the weekend, following your suggestions but with no success. > > Reminder : the names of the files I am trying to launch from script have the following format : > Joe PATIENT - bio checkup - 09/2013.pdf How do you know it has a "/"? If it has a ":" in OS X Finder and a dot of some sort in Windows Explorer, how do you know about "/"? Was that what was typed in at the scanner or at some strange OS? > > On Mac the slash is replace automatically by colon (:) (don't know why!) I'm not sure what "replaced by" means. Do you mean after a copy? Or do you mean as viewed from a Mac, that is the file server file or flash drive file looks different depending on what system is looking at it? > Anyway, all is working well > I can open a file by double-clicking on it in the folder > And, I can launch it by script (using its filename). No problem. > ------- > On Windows, the : (colon) is replaced with what seems to be a character ( a kind of dot. (or small bullet point?) with a sort of white space before it and a white space after. But, these are not "space" character (one can't delete them; on can only select the all Replace? As above. Is this after a copy or as viewed from Windows? > - Double-clicking on a document opens it (good) I see. The symbol in the file name is shown as a dot of some sort. That might be the actual character there or it might be some representation of a bad filename character. If that bad character is actually a slash, you have a couple barriers in opening the file. First of all, the slash is processed by LiveCode and converted to backslash in filenames. Second, windows might interpret that as the end of the file name and the rest is some parameter of some sort; I'm not sure. You might get some indication of what character is there by using dir in the command window. Or use the LiveCode files() function. You can try that. Or pull out the exact code that files() returns for that character and use it. Here are some things you can try that might launch the document without knowing what that character is: Try LiveCode 'launch' with a question mark for the character. I doubt that will work, but it is an easy test. Try backslash & slash for the character. Try launching with shell() on Windows. Try these: get shell( quote & "Joe PATIENT - bio checkup - 09?2013.pdf" & quote) -- wildcard get shell( quote & "Joe PATIENT - bio checkup - 09/2013.pdf" & quote) -- quote slash get shell( "start " quote & quote & space & quote & "Joe PATIENT - bio checkup - 09?2013.pdf" & quote) get shell( "start " quote & quote & space & quote & "Joe PATIENT - bio checkup - 09/2013.pdf" & quote) > - But to launch a document from a script I need to replace : (colon) with this dot in the filename of the document. > I can't!!! > - When I copy this "dot" and paste it in the script editor, it is immediately replaced with "?" > and replacing colon by ? does not work > ----- > I tried pasting it in the message box: there, it is immediately replace with "? :(quote followed by ? > trying to replace colon : > - I can't use "? (I suppose it's because they are 2 characters) > - trying only ? does not work > > - In the message box of the PC I tried to get the number of this (kind of) dot > put CharToNum('') and pasting a copy of the "dot" between the 2 quotes as suggested by Jacque > the dot is immediately replaced by "? > and I get the error: error: Script: missing " after literal > > the ASCII number of " is 34 and those of ? is 240 > so I tried put numToChar(34) & numToChar(240) into tVar > replace ":" by tVar in tDocName > does not work > > I don't know what I could do next? > > Dar, there are several thousands files with such names ; I can't imagine the only solution be to change ( manually) all these names! > I am using livecode (rev) since 2006; it is the first time I am blocked that much > > Any other idea? > > Thanks a lot in advance for any help > > Best regards > > Andr? > > > > > > > Le 19 juil. 2013 ? 17:24, J. Landman Gay a ?crit : > >> "Andr? Bisseret" wrote: >>> So I tried >>> put quote & numToChar(240) into tVar >>> replace ":" with tVar in tDocName > again no success >>> >>> When I paste the mysterious char directly in the script it is >>> immediately replaced by "?" >> >> In the message box, do this : >> >> put charToNum('') >> >> and paste the copied character between the quotes. That gives you the actual number of the character being used. Then in your script use numToChar() to do the replacements. >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Jul 22 10:24:07 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 22 Jul 2013 17:24:07 +0300 Subject: 8 platforms ? In-Reply-To: References: <51ED1389.9090003@gmail.com> Message-ID: <51ED4087.80408@gmail.com> On 22/07/13 14:28, Colin Holgate wrote: > Mac is Classic, Intel OSX and PPC OSX. Then there is Rev server. That makes it be 8 I think. I didn't know Livecode ran on Mac Classic anymore. Do tell . . . > > > On Jul 22, 2013, at 7:12 AM, Richmond wrote: > >> Either I cannot count (Mac, Win, Linux, Android, iOS), >> >> or RunRev is counting differently: > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Jul 22 10:25:29 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 22 Jul 2013 17:25:29 +0300 Subject: 8 platforms ? In-Reply-To: References: <51ED1389.9090003@gmail.com> Message-ID: <51ED40D9.7040703@gmail.com> On 22/07/13 16:14, Peter W A Wood wrote: > Richmond > > I think the 8 are: > > Mac Desktop > Windows Desktop > Linux Desktop > Android > iOS > Mac Server > Windows Server > Linux Server. > > Peter Aah. > On 22 Jul 2013, at 19:12, Richmond wrote: > >> Either I cannot count (Mac, Win, Linux, Android, iOS), >> >> or RunRev is counting differently: >> >> http://livecode.com/blog/2013/06/19/transitioning-to-being-an-open-source-company/ >> >> "With 8 platforms to build for these days" >> >> 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 andre.bisseret at wanadoo.fr Mon Jul 22 10:36:33 2013 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Mon, 22 Jul 2013 16:36:33 +0200 Subject: How to manage file name containing a date with / In-Reply-To: <12B8F0FA-20C9-4A52-8979-EE2732D7225B@swcp.com> References: <8449AD1E-78C2-419B-84A2-1AE361614397@wanadoo.fr> <9BF32FEE-F4DE-406F-B53A-07A5AFE14FE8@wanadoo.fr> <12B8F0FA-20C9-4A52-8979-EE2732D7225B@swcp.com> Message-ID: Thanks Dar for your prompt reply Le 22 juil. 2013 ? 15:16, Dar Scott a ?crit : > Andr?, > > I'm not sure why this will not work to create the file name: > > get "Joe PATIENT - bio checkup - 09" & numToChar(240) & "2013.pdf" > I am doing something similar : put quote & numToChar(240) into tVar replace ":" with tVar in tDocName so that I obtain the same tDocName as those you are suggesting then I build the filename of the document (the document is in the same folder as the stack from which I try to launch it) so I put the fileName of this stack into tPath set the itemdel to slash then I put tDocName into last item of tPath so that I get something like "C:/Users/aBisseret/?/?/Joe PATIENT - bio checkup - 09"?2013.pdf but then launch document tPath does not work! > I think I might not be understanding the situation. Are these all files on a network file server or a portable storage? They look one way (with colons) on a Mac (with colons) and look another way on Windows (with the dot)? > A folder "Joe PATIENT" is on the disk of the computer. In this folder there is a sub-folder where are a stack say "Consultation Joe PATIENT" and, at the same level, the documents (files) that concerns him (a dozen or so) On the stack "Consultation Joe PATIENT" there are "buttons" (kind of) , one for each document the name of which being a custom property of the button. I am trying to launch these document in the script of these buttons. I hope I am not too obscure Thanks again for your kind attention Andr? > I also may have made an error in character encoding calculation. I'll double check that. I find the same (240) > > Dar > > > On Jul 22, 2013, at 6:50 AM, Andr? Bisseret wrote: > >> Bonjour, >> >> Jacque, Dar and Peter, thank you much for your attention to my problem. >> Since your posts I made a number of trials during the weekend, following your suggestions but with no success. >> >> Reminder : the names of the files I am trying to launch from script have the following format : >> Joe PATIENT - bio checkup - 09/2013.pdf >> >> On Mac the slash is replace automatically by colon (:) (don't know why!) >> Anyway, all is working well >> I can open a file by double-clicking on it in the folder >> And, I can launch it by script (using its filename). No problem. >> ------- >> On Windows, the : (colon) is replaced with what seems to be a character ( a kind of dot. (or small bullet point?) with a sort of white space before it and a white space after. But, these are not "space" character (one can't delete them; on can only select the all >> - Double-clicking on a document opens it (good) >> >> - But to launch a document from a script I need to replace : (colon) with this dot in the filename of the document. >> I can't!!! >> - When I copy this "dot" and paste it in the script editor, it is immediately replaced with "?" >> and replacing colon by ? does not work >> ----- >> I tried pasting it in the message box: there, it is immediately replace with "? :(quote followed by ? >> trying to replace colon : >> - I can't use "? (I suppose it's because they are 2 characters) >> - trying only ? does not work >> >> - In the message box of the PC I tried to get the number of this (kind of) dot >> put CharToNum('') and pasting a copy of the "dot" between the 2 quotes as suggested by Jacque >> the dot is immediately replaced by "? >> and I get the error: error: Script: missing " after literal >> >> the ASCII number of " is 34 and those of ? is 240 >> so I tried put numToChar(34) & numToChar(240) into tVar >> replace ":" by tVar in tDocName > does not work >> >> I don't know what I could do next? >> >> Dar, there are several thousands files with such names ; I can't imagine the only solution be to change ( manually) all these names! >> I am using livecode (rev) since 2006; it is the first time I am blocked that much >> >> Any other idea? >> >> Thanks a lot in advance for any help >> >> Best regards >> >> Andr? >> >> >> >> >> >> >> Le 19 juil. 2013 ? 17:24, J. Landman Gay a ?crit : >> >>> "Andr? Bisseret" wrote: >>>> So I tried >>>> put quote & numToChar(240) into tVar >>>> replace ":" with tVar in tDocName > again no success >>>> >>>> When I paste the mysterious char directly in the script it is >>>> immediately replaced by "?" >>> >>> In the message box, do this : >>> >>> put charToNum('') >>> >>> and paste the copied character between the quotes. That gives you the actual number of the character being used. Then in your script use numToChar() to do the replacements. >>> -- >>> 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 dsc at swcp.com Mon Jul 22 11:05:15 2013 From: dsc at swcp.com (Dar Scott) Date: Mon, 22 Jul 2013 09:05:15 -0600 Subject: How to manage file name containing a date with / In-Reply-To: References: <8449AD1E-78C2-419B-84A2-1AE361614397@wanadoo.fr> <9BF32FEE-F4DE-406F-B53A-07A5AFE14FE8@wanadoo.fr> <12B8F0FA-20C9-4A52-8979-EE2732D7225B@swcp.com> Message-ID: <08851787-D27B-413E-8D33-F456F37C2402@swcp.com> On Jul 22, 2013, at 8:36 AM, Andr? Bisseret wrote: > Thanks Dar for your prompt reply > > Le 22 juil. 2013 ? 15:16, Dar Scott a ?crit : > >> Andr?, >> >> I'm not sure why this will not work to create the file name: >> >> get "Joe PATIENT - bio checkup - 09" & numToChar(240) & "2013.pdf" >> > I am doing something similar : > put quote & numToChar(240) into tVar put numToChar(240) into tVar > replace ":" with tVar in tDocName > so that I obtain the same tDocName as those you are suggesting > then I build the filename of the document (the document is in the same folder as the stack from which I try to launch it) > so I put the fileName of this stack into tPath > set the itemdel to slash > then I put tDocName into last item of tPath > so that I get something like "C:/Users/aBisseret/?/?/Joe PATIENT - bio checkup - 09"?2013.pdf > but then > launch document tPath does not work! That is what I was suggesting, with the fix above. But, now I have less faith in that. It might be that that character is not really there but is displayed by Windows Explorer. >> I think I might not be understanding the situation. Are these all files on a network file server or a portable storage? They look one way (with colons) on a Mac (with colons) and look another way on Windows (with the dot)? >> > A folder "Joe PATIENT" is on the disk of the computer. In this folder there is a sub-folder where are a stack say "Consultation Joe PATIENT" and, at the same level, the documents (files) that concerns him (a dozen or so) > On the stack "Consultation Joe PATIENT" there are "buttons" (kind of) , one for each document the name of which being a custom property of the button. > I am trying to launch these document in the script of these buttons. > > I hope I am not too obscure I think I'm obtuse. How did files with bad file names get created to begin with? Or do you think that there is a file "2013.pdf" in the folder named ""Joe PATIENT - bio checkup - 09"? Then maybe a slash would work. The colon is the old path segment divider for the Mac. > > Thanks again for your kind attention > > Andr? > >> I also may have made an error in character encoding calculation. I'll double check that. > > I find the same (240) >> >> Dar >> >> >> On Jul 22, 2013, at 6:50 AM, Andr? Bisseret wrote: >> >>> Bonjour, >>> >>> Jacque, Dar and Peter, thank you much for your attention to my problem. >>> Since your posts I made a number of trials during the weekend, following your suggestions but with no success. >>> >>> Reminder : the names of the files I am trying to launch from script have the following format : >>> Joe PATIENT - bio checkup - 09/2013.pdf >>> >>> On Mac the slash is replace automatically by colon (:) (don't know why!) >>> Anyway, all is working well >>> I can open a file by double-clicking on it in the folder >>> And, I can launch it by script (using its filename). No problem. >>> ------- >>> On Windows, the : (colon) is replaced with what seems to be a character ( a kind of dot. (or small bullet point?) with a sort of white space before it and a white space after. But, these are not "space" character (one can't delete them; on can only select the all >>> - Double-clicking on a document opens it (good) >>> >>> - But to launch a document from a script I need to replace : (colon) with this dot in the filename of the document. >>> I can't!!! >>> - When I copy this "dot" and paste it in the script editor, it is immediately replaced with "?" >>> and replacing colon by ? does not work >>> ----- >>> I tried pasting it in the message box: there, it is immediately replace with "? :(quote followed by ? >>> trying to replace colon : >>> - I can't use "? (I suppose it's because they are 2 characters) >>> - trying only ? does not work >>> >>> - In the message box of the PC I tried to get the number of this (kind of) dot >>> put CharToNum('') and pasting a copy of the "dot" between the 2 quotes as suggested by Jacque >>> the dot is immediately replaced by "? >>> and I get the error: error: Script: missing " after literal >>> >>> the ASCII number of " is 34 and those of ? is 240 >>> so I tried put numToChar(34) & numToChar(240) into tVar >>> replace ":" by tVar in tDocName > does not work >>> >>> I don't know what I could do next? >>> >>> Dar, there are several thousands files with such names ; I can't imagine the only solution be to change ( manually) all these names! >>> I am using livecode (rev) since 2006; it is the first time I am blocked that much >>> >>> Any other idea? >>> >>> Thanks a lot in advance for any help >>> >>> Best regards >>> >>> Andr? >>> >>> >>> >>> >>> >>> >>> Le 19 juil. 2013 ? 17:24, J. Landman Gay a ?crit : >>> >>>> "Andr? Bisseret" wrote: >>>>> So I tried >>>>> put quote & numToChar(240) into tVar >>>>> replace ":" with tVar in tDocName > again no success >>>>> >>>>> When I paste the mysterious char directly in the script it is >>>>> immediately replaced by "?" >>>> >>>> In the message box, do this : >>>> >>>> put charToNum('') >>>> >>>> and paste the copied character between the quotes. That gives you the actual number of the character being used. Then in your script use numToChar() to do the replacements. >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Mon Jul 22 11:13:01 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 22 Jul 2013 11:13:01 -0400 Subject: iPad splash screen blocks In-Reply-To: <984CBCD6-D3C7-4428-AE35-574163D5BB32@paulmaguire.me> References: <880B71BA-1673-40B1-9871-7F01CCC94C38@mac.com> <984CBCD6-D3C7-4428-AE35-574163D5BB32@paulmaguire.me> Message-ID: And if I'm reading it correctly, in ios7, splash screens should go away - not that your app doesn't have a problem, but again, if I read it correctly, it should stop somewhere else instead. On Mon, Jul 22, 2013 at 6:08 AM, Paul Maguire wrote: > > On 19 Jul 2013, at 01:02, Randy Hengst wrote: > > the other couple times, there was an error in my preOpen Card or > preOpen Stack handlers. > > Almost certainly this. Sprinkle some put statements to track what you're > doing in these handlers and use Console to check (if you're on a Mac) > > Kind regards, Paul > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 andre.bisseret at wanadoo.fr Mon Jul 22 11:18:47 2013 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Mon, 22 Jul 2013 17:18:47 +0200 Subject: How to manage file name containing a date with / In-Reply-To: <3852C64C-087C-4D64-AA3B-E6C5A9A6307E@swcp.com> References: <8449AD1E-78C2-419B-84A2-1AE361614397@wanadoo.fr> <9BF32FEE-F4DE-406F-B53A-07A5AFE14FE8@wanadoo.fr> <3852C64C-087C-4D64-AA3B-E6C5A9A6307E@swcp.com> Message-ID: <06AFA8E8-83C6-4C60-9EE3-526A7DB545CB@wanadoo.fr> Sorry Dar I posted my answer to your first message before finding this one! Le 22 juil. 2013 ? 16:11, Dar Scott a ?crit : > I think I might not be under standing the situation. > > Questions inline. > > On Jul 22, 2013, at 6:50 AM, Andr? Bisseret wrote: > >> Bonjour, >> >> Jacque, Dar and Peter, thank you much for your attention to my problem. >> Since your posts I made a number of trials during the weekend, following your suggestions but with no success. >> >> Reminder : the names of the files I am trying to launch from script have the following format : >> Joe PATIENT - bio checkup - 09/2013.pdf > > How do you know it has a "/"? If it has a ":" in OS X Finder and a dot of some sort in Windows Explorer, how do you know about "/"? Was that what was typed in at the scanner or at some strange OS? >> >> On Mac the slash is replace automatically by colon (:) (don't know why!) > > I'm not sure what "replaced by" means. Do you mean after a copy? Or do you mean as viewed from a Mac, that is the file server file or flash drive file looks different depending on what system is looking at it? My friend scans the paper documents he is receiving, save them as PDF and give them a name such as: Joe PATIENT - bio checkup - 09/2013.pdf All this PDF files for all his patients are in a same folder (DOCS BASE). There they keep the slash. It is when I built the list of files concerning one patient (set the repertory to DOCS BASE and put "the files" into a variable) that one gets ":" instead of the slash Then it is when I try my app on Windows one sees this (damned) dot instead of ":" > >> Anyway, all is working well >> I can open a file by double-clicking on it in the folder >> And, I can launch it by script (using its filename). No problem. >> ------- >> On Windows, the : (colon) is replaced with what seems to be a character ( a kind of dot. (or small bullet point?) with a sort of white space before it and a white space after. But, these are not "space" character (one can't delete them; on can only select the all > > Replace? As above. Is this after a copy or as viewed from Windows? It is as viewed from Windows, not after a copy > >> - Double-clicking on a document opens it (good) > > I see. The symbol in the file name is shown as a dot of some sort. That might be the actual character there > or it might be some representation of a bad filename character. Seems to me that it is rather that last case > If that bad character is actually a slash, you have a couple barriers in opening the file. First of all, the slash is processed by LiveCode and converted to backslash in filenames. Second, windows might interpret that as the end of the file name and the rest is some parameter of some sort; I'm not sure. > > You might get some indication of what character is there by using dir in the command window. Or use the LiveCode files() function. You can try that. Or pull out the exact code that files() returns for that character and use it. > > Here are some things you can try that might launch the document without knowing what that character is: > > Try LiveCode 'launch' with a question mark for the character. I doubt that will work, but it is an easy test. Try backslash & slash for the character. > > Try launching with shell() on Windows. Try these: > > get shell( quote & "Joe PATIENT - bio checkup - 09?2013.pdf" & quote) -- wildcard > get shell( quote & "Joe PATIENT - bio checkup - 09/2013.pdf" & quote) -- quote slash > > get shell( "start " quote & quote & space & quote & "Joe PATIENT - bio checkup - 09?2013.pdf" & quote) > get shell( "start " quote & quote & space & quote & "Joe PATIENT - bio checkup - 09/2013.pdf" & quote) > I am not familiar with the command window nor with shell But sure I will do my best to try all your suggestions Thank you very much Dar for your help and your time I appreciate a lot Andr? From andre.bisseret at wanadoo.fr Mon Jul 22 11:39:23 2013 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Mon, 22 Jul 2013 17:39:23 +0200 Subject: How to manage file name containing a date with / In-Reply-To: <08851787-D27B-413E-8D33-F456F37C2402@swcp.com> References: <8449AD1E-78C2-419B-84A2-1AE361614397@wanadoo.fr> <9BF32FEE-F4DE-406F-B53A-07A5AFE14FE8@wanadoo.fr> <12B8F0FA-20C9-4A52-8979-EE2732D7225B@swcp.com> <08851787-D27B-413E-8D33-F456F37C2402@swcp.com> Message-ID: <815B96BE-1B94-4974-BE5D-9833CF14E071@wanadoo.fr> Sorry again, Dar, I am not speedy enough to answer (am not enough fluent in english ;-) Le 22 juil. 2013 ? 17:05, Dar Scott a ?crit : > > On Jul 22, 2013, at 8:36 AM, Andr? Bisseret wrote: > >> Thanks Dar for your prompt reply >> >> Le 22 juil. 2013 ? 15:16, Dar Scott a ?crit : >> >>> Andr?, >>> >>> I'm not sure why this will not work to create the file name: >>> >>> get "Joe PATIENT - bio checkup - 09" & numToChar(240) & "2013.pdf" >>> >> I am doing something similar : >> put quote & numToChar(240) into tVar > > put numToChar(240) into tVar I tried that one too but does not work :-(( > >> replace ":" with tVar in tDocName >> so that I obtain the same tDocName as those you are suggesting >> then I build the filename of the document (the document is in the same folder as the stack from which I try to launch it) >> so I put the fileName of this stack into tPath >> set the itemdel to slash >> then I put tDocName into last item of tPath >> so that I get something like "C:/Users/aBisseret/?/?/Joe PATIENT - bio checkup - 09"?2013.pdf >> but then >> launch document tPath does not work! > > That is what I was suggesting, with the fix above. But, now I have less faith in that. It might be that that character is not really there but is displayed by Windows Explorer. > >>> I think I might not be understanding the situation. Are these all files on a network file server or a portable storage? They look one way (with colons) on a Mac (with colons) and look another way on Windows (with the dot)? >>> >> A folder "Joe PATIENT" is on the disk of the computer. In this folder there is a sub-folder where are a stack say "Consultation Joe PATIENT" and, at the same level, the documents (files) that concerns him (a dozen or so) >> On the stack "Consultation Joe PATIENT" there are "buttons" (kind of) , one for each document the name of which being a custom property of the button. >> I am trying to launch these document in the script of these buttons. >> >> I hope I am not too obscure > > I think I'm obtuse. How did files with bad file names get created to begin with? > > Or do you think that there is a file "2013.pdf" in the folder named ""Joe PATIENT - bio checkup - 09"? Then maybe a slash would work. The colon is the old path segment divider for the Mac. No there is not a file "2013.pdf, nor a folder "Joe PATIENT - bio checkup - 09" Only a PDF file named "Joe PATIENT - bio checkup - 09/2013.pdf (in the folder "DOCS BASE" Then when building a sub-list from that: ":" instead of "/" on Mac and the dot instead of "/" on Windows as I better explain (I hope ;-) in my previous answer Andr? > >> From sims at ezpzapps.com Mon Jul 22 11:49:09 2013 From: sims at ezpzapps.com (Jim sims) Date: Mon, 22 Jul 2013 17:49:09 +0200 Subject: iPad splash screen blocks In-Reply-To: References: <880B71BA-1673-40B1-9871-7F01CCC94C38@mac.com> <984CBCD6-D3C7-4428-AE35-574163D5BB32@paulmaguire.me> Message-ID: In my case of SplashScreenitis there was code that caused the issue. What did surprise me then was it took ten seconds for the SplashScreen to go away, seems a consistent ten seconds. Works though. sims -- On Monday, July 22, 2013, Mike Kerner wrote: > And if I'm reading it correctly, in ios7, splash screens should go away - > not that your app doesn't have a problem, but again, if I read it > correctly, it should stop somewhere else instead. > > > On Mon, Jul 22, 2013 at 6:08 AM, Paul Maguire > > wrote: > > > > > On 19 Jul 2013, at 01:02, Randy Hengst wrote: > > > the other couple times, there was an error in my preOpen Card or > > preOpen Stack handlers. > > > > Almost certainly this. Sprinkle some put statements to track what you're > > doing in these handlers and use Console to check (if you're on a Mac) > > > > Kind regards, Paul > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Mon Jul 22 12:22:41 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 22 Jul 2013 09:22:41 -0700 Subject: paste and closeField In-Reply-To: <8D054AEF1C50901-600-1129D3@webmail-va006.sysops.aol.com> References: <8D053DC3219B693-1DE4-4F55@webmail-d278.sysops.aol.com> <8D054AEF1C50901-600-1129D3@webmail-va006.sysops.aol.com> Message-ID: On Sun, Jul 21, 2013 at 9:56 PM, wrote: > > > Not sure, then, what you want. The docs do seem to be wrong in that when focus >leaves the field, a closefield message is sent after a paste. And the "textChanged" > message is sent immediately when text is pasted. > What specific behavior are you trying to achieve? I just want to be sure that when a user finally leaves a field into which he has pasted, I can get closeField executed. For example, pasting in an address--but on paste, I have no way of knowing if he's really done, or if he might add something else. Or a car description, or . . . but it seems that the docs are wrong, and pasting is like any other user entry. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mwieder at ahsoftware.net Mon Jul 22 12:32:14 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 22 Jul 2013 09:32:14 -0700 Subject: How to manage file name containing a date with / In-Reply-To: <08851787-D27B-413E-8D33-F456F37C2402@swcp.com> References: <8449AD1E-78C2-419B-84A2-1AE361614397@wanadoo.fr> <9BF32FEE-F4DE-406F-B53A-07A5AFE14FE8@wanadoo.fr> <12B8F0FA-20C9-4A52-8979-EE2732D7225B@swcp.com> <08851787-D27B-413E-8D33-F456F37C2402@swcp.com> Message-ID: <16286533715.20130722093214@ahsoftware.net> Dar- Monday, July 22, 2013, 8:05:15 AM, you wrote: > That is what I was suggesting, with the fix above. But, now I > have less faith in that. It might be that that character is not > really there but is displayed by Windows Explorer. I'd be very wary of trying to fool the operating system with things it isn't expecting. At one point I managed to create a file with a name that ended with ".txt " (note the trailing space). I could see it by displaying the directory, but the file was inaccessible to either the file system or any utility I threw at it. That file stayed right where it was until the hard drive finally died. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Mon Jul 22 13:40:24 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 22 Jul 2013 12:40:24 -0500 Subject: How to manage file name containing a date with / In-Reply-To: References: <8449AD1E-78C2-419B-84A2-1AE361614397@wanadoo.fr> <9BF32FEE-F4DE-406F-B53A-07A5AFE14FE8@wanadoo.fr> Message-ID: <51ED6E88.3050308@hyperactivesw.com> On 7/22/13 7:50 AM, Andr? Bisseret wrote: > Since your posts I made a number of trials during the weekend, > following your suggestions but with no success. I'm still not sure why you need to translate the file paths. I've never needed to do that. This always works: answer file "Choose a file:" if it = "" then exit to top put url ("file:" & it) into tVar The special characters used by both MacOS and Windows are translated by the OS itself, so I never need to worry about what comes back from the "answer file" command. I just use whatever it gives me and the OS manages it. Can't you just get "the files" and use whatever it sends back to the script? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From devin_asay at byu.edu Mon Jul 22 15:01:01 2013 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 22 Jul 2013 19:01:01 +0000 Subject: Bug in resizestack script : how exit ? In-Reply-To: <51E9669E.2080703@fourthworld.com> References: <51E9669E.2080703@fourthworld.com> Message-ID: <1733A032-4FEF-4D99-8840-5455F85707A2@byu.edu> On Jul 19, 2013, at 10:17 AM, Richard Gaskin wrote: > Ludovic Th?bault wrote: > > > I wrote a script for resizestack, and i resize the stack to test it. > > But there is a bug and Livecode was frozen (6,1 community), > > impossible to get the hand, need to force quit. > > There is an command to regain control ? > > None that I know of. > > The problem is that the resizeStack message is sent continually during the resize, so the queue of error messages piles up pretty quickly. > > The best I've been able to do is comment out the handler before resizing, uncommenting parts of it until I find the trouble spot. > > Oh, and make only very small adjustments to the stack size when testing. :) What I do is put the entire set of commands that need to happen during a resizeStack and test that first, only then do I call it from resizeStack. on arrangeCard # make adjustments here # call this handler from the message box to test it # once it's working try it from resizeStack end arrangeCard # only do this once it's debugged on resizeStack arrangeCard end resizeStack HTH Devin Devin Asay Office of Digital Humanities Brigham Young University From dsc at swcp.com Mon Jul 22 15:32:52 2013 From: dsc at swcp.com (Dar Scott) Date: Mon, 22 Jul 2013 13:32:52 -0600 Subject: How to manage file name containing a date with / In-Reply-To: <16286533715.20130722093214@ahsoftware.net> References: <8449AD1E-78C2-419B-84A2-1AE361614397@wanadoo.fr> <9BF32FEE-F4DE-406F-B53A-07A5AFE14FE8@wanadoo.fr> <12B8F0FA-20C9-4A52-8979-EE2732D7225B@swcp.com> <08851787-D27B-413E-8D33-F456F37C2402@swcp.com> <16286533715.20130722093214@ahsoftware.net> Message-ID: <2B408473-EADB-40DF-B8AD-6F4FF065D1BE@swcp.com> I'm not trying to fool the OS. It is already fooled the way I understand the problem. The scanner created files with "/" in the name. On Jul 22, 2013, at 10:32 AM, Mark Wieder wrote: > Dar- > > Monday, July 22, 2013, 8:05:15 AM, you wrote: > >> That is what I was suggesting, with the fix above. But, now I >> have less faith in that. It might be that that character is not >> really there but is displayed by Windows Explorer. > > I'd be very wary of trying to fool the operating system with things it > isn't expecting. At one point I managed to create a file with a name > that ended with ".txt " (note the trailing space). I could see it by > displaying the directory, but the file was inaccessible to either the > file system or any utility I threw at it. That file stayed right where > it was until the hard drive finally died. > > -- > -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 jacque at hyperactivesw.com Mon Jul 22 15:39:32 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 22 Jul 2013 14:39:32 -0500 Subject: How to manage file name containing a date with / In-Reply-To: <2B408473-EADB-40DF-B8AD-6F4FF065D1BE@swcp.com> References: <8449AD1E-78C2-419B-84A2-1AE361614397@wanadoo.fr> <9BF32FEE-F4DE-406F-B53A-07A5AFE14FE8@wanadoo.fr> <12B8F0FA-20C9-4A52-8979-EE2732D7225B@swcp.com> <08851787-D27B-413E-8D33-F456F37C2402@swcp.com> <16286533715.20130722093214@ahsoftware.net> <2B408473-EADB-40DF-B8AD-6F4FF065D1BE@swcp.com> Message-ID: <51ED8A74.1020503@hyperactivesw.com> On 7/22/13 2:32 PM, Dar Scott wrote: > I'm not trying to fool the OS. It is already fooled the way I > understand the problem. The scanner created files with "/" in the > name. Hm. That would make my last response moot then. I guess I missed where these odd file names were coming from, but apparently they're not coming from disk. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andre.bisseret at wanadoo.fr Mon Jul 22 16:38:41 2013 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Mon, 22 Jul 2013 22:38:41 +0200 Subject: How to manage file name containing a date with / In-Reply-To: <51ED8A74.1020503@hyperactivesw.com> References: <8449AD1E-78C2-419B-84A2-1AE361614397@wanadoo.fr> <9BF32FEE-F4DE-406F-B53A-07A5AFE14FE8@wanadoo.fr> <12B8F0FA-20C9-4A52-8979-EE2732D7225B@swcp.com> <08851787-D27B-413E-8D33-F456F37C2402@swcp.com> <16286533715.20130722093214@ahsoftware.net> <2B408473-EADB-40DF-B8AD-6F4FF065D1BE@swcp.com> <51ED8A74.1020503@hyperactivesw.com> Message-ID: Le 22 juil. 2013 ? 21:39, J. Landman Gay a ?crit : > On 7/22/13 2:32 PM, Dar Scott wrote: >> I'm not trying to fool the OS. It is already fooled the way I >> understand the problem. The scanner created files with "/" in the >> name. > > Hm. That would make my last response moot then. I guess I missed where these odd file names were coming from, but apparently they're not coming from disk. > the files are on the disk. The user receives paper documents. He digitizes the paper documents and saves them as PDF; if he receives the document by email he saves them as PDF. Anyway he saves this PDF files on his disk in a unique folder (say DOCS BASE) giving a name to each document an informative name. In a lot of these names he is including a date with slash as separator. such as "Joe PATIENT - bio checkup - 09/2013.pdf" I just discovered last week that he should have choose another separator. As I am developing on Mac and he is using a Mac we had no problem.The problem arises because he needs to pass the app to colleagues the majority of which are working on Windows. Andr? From pete at lcsql.com Mon Jul 22 16:44:54 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 22 Jul 2013 13:44:54 -0700 Subject: Reliable script to handle selection/drag-and-drop in a list field? In-Reply-To: References: Message-ID: On Sun, Jul 21, 2013 at 1:56 PM, Geoff Canyon wrote: > https://docs.google.com/file/d/0By_mW8YYOZpATnFfeExKNkt1VXc > > This version updates the history of the selection after a drag so the > problem you saw should be corrected. Feel free to update the instructions, > etc. and repost on your site. Let me know if you think of anything else it > needs. Resending because the original got caught in the dreaded "message is too long" vortex. This is very useful, thanks Geoff. I can't quite figure out what's going on with the format statement that's part of the send of dragLines. Everything after the second backslash is listed in red in the script editor as if there's an error but no errors are listed when a compile it. I'm not sure what parameters are supposed to be passed but what I see is the final line numbers of the dropped lines (in quotes), then an empty string (in quotes). SHould the second parm be the original line numbers? Pete lcSQL Software From mcgrath3 at mac.com Mon Jul 22 17:03:01 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 22 Jul 2013 17:03:01 -0400 Subject: How to manage file name containing a date with / In-Reply-To: References: <8449AD1E-78C2-419B-84A2-1AE361614397@wanadoo.fr> <9BF32FEE-F4DE-406F-B53A-07A5AFE14FE8@wanadoo.fr> <12B8F0FA-20C9-4A52-8979-EE2732D7225B@swcp.com> <08851787-D27B-413E-8D33-F456F37C2402@swcp.com> <16286533715.20130722093214@ahsoftware.net> <2B408473-EADB-40DF-B8AD-6F4FF065D1BE@swcp.com> <51ED8A74.1020503@hyperactivesw.com> Message-ID: Andre, You are not answering the proper questions to come up with a solution for this. Questions: 1. Where are the files located when using the Mac version of your app? (same computer? different computer?) 2. Where are the filed located when using the Windows version of your app? (same computer? different computer?) 3. Are they on a server? 4. Are they included with the app when passed on to a Windows machine? 5. What happens when you -- answer file "Choose a file:" -- do they show up? 6. If so what happens when you -- put url ("file:" & it) into tFile -- does tFile hold the correct full path or does it just say "2013.pdf" ? 7. Please post the code that you are trying to use so that we can see it and help you. Suggestions: 1. Stop the process of naming files with a "/" -- instruct the client how to change this in the scanner software. 2. If the files exist on the Mac then why not run a batch on them and rename them all with a correctly formatted name -- then ship those to the Windows users. Do this with LC. 3. If there are many files 'and' many Mac and Windows users are to access them then suggest a server -- that way all of the clients can use the same code to access them. 4. If the answer file shows them then use 'it' to choose them. 5. If put URL ("file:" & it") shows the correct file path then use 'it' to choose them. 6. If not THEN you need to deal with the file name issue as suggested previously. I know we can solve this one if we know enough about the workflow. Yours Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jul 22, 2013, at 4:38 PM, Andr? Bisseret wrote: > > Le 22 juil. 2013 ? 21:39, J. Landman Gay a ?crit : > >> On 7/22/13 2:32 PM, Dar Scott wrote: >>> I'm not trying to fool the OS. It is already fooled the way I >>> understand the problem. The scanner created files with "/" in the >>> name. >> >> Hm. That would make my last response moot then. I guess I missed where these odd file names were coming from, but apparently they're not coming from disk. >> > the files are on the disk. > The user receives paper documents. He digitizes the paper documents and saves them as PDF; if he receives the document by email he saves them as PDF. > Anyway he saves this PDF files on his disk in a unique folder (say DOCS BASE) giving a name to each document an informative name. In a lot of these names he is including a date with slash as separator. > such as "Joe PATIENT - bio checkup - 09/2013.pdf" > > I just discovered last week that he should have choose another separator. > As I am developing on Mac and he is using a Mac we had no problem.The problem arises because he needs to pass the app to colleagues the majority of which are working on Windows. > > 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 gcanyon at gmail.com Mon Jul 22 17:03:28 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 22 Jul 2013 16:03:28 -0500 Subject: Reliable script to handle selection/drag-and-drop in a list field? In-Reply-To: References: Message-ID: On Mon, Jul 22, 2013 at 3:44 PM, Peter Haworth wrote: > > Resending because the original got caught in the dreaded "message is too > long" vortex. > > This is very useful, thanks Geoff. > > I can't quite figure out what's going on with the format statement that's > part of the send of dragLines. Everything after the second backslash is > listed in red in the script editor as if there's an error but no errors are > listed when a compile it. I'm not sure what parameters are supposed to be > passed but what I see is the final line numbers of the dropped lines (in > quotes), then an empty string (in quotes). SHould the second parm be the > original line numbers? > > Pete > lcSQL Software I'm seeing the red text in the format command as well. It happens after the second escaped quote I think, and appears to be an error in the syntax highlighting rather than an actual error. The dragLines message I messed up fixing the issue Scott mentioned above (darn regression errors...) I have it fixed now, I'll upload a new copy in a bit. To answer your question -- the first param is the drag lines, the second is the drop lines. From andre.bisseret at wanadoo.fr Mon Jul 22 17:24:38 2013 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Mon, 22 Jul 2013 23:24:38 +0200 Subject: How to manage file name containing a date with / In-Reply-To: <51ED6E88.3050308@hyperactivesw.com> References: <8449AD1E-78C2-419B-84A2-1AE361614397@wanadoo.fr> <9BF32FEE-F4DE-406F-B53A-07A5AFE14FE8@wanadoo.fr> <51ED6E88.3050308@hyperactivesw.com> Message-ID: <5F93A079-ADFB-47A6-AC57-87E9873CBD95@wanadoo.fr> Le 22 juil. 2013 ? 19:40, J. Landman Gay a ?crit : > On 7/22/13 7:50 AM, Andr? Bisseret wrote: >> Since your posts I made a number of trials during the weekend, >> following your suggestions but with no success. > > I'm still not sure why you need to translate the file paths. I've never needed to do that. This always works: > > answer file "Choose a file:" > if it = "" then exit to top > put url ("file:" & it) into tVar > > The special characters used by both MacOS and Windows are translated by the OS itself, so I never need to worry about what comes back from the "answer file" command. I just use whatever it gives me and the OS manages it. > > Can't you just get "the files" and use whatever it sends back to the script? > Thank you much Jacque for this suggestion. At first glance, not sure I understand it well (seems to me that the user should choose the file in a dialog (?) But in my case the reader can't choose the file; In a field, on the main stack, s(he) may read laconic informations about the patient. One information can be completed by a document that give the details. In such a case at the end of the line of information the doctor has created a button with an icon (DOC) : clicking the button open the right document Ex.the cholesterol is not normal see > (DOC) That's why I seem to have to use launch document with the fileName (when a button is created, I keep the name of the document it corresponds to in a custom property) This works very well on Mac I will give more attention to your suggestion to morrow: here it is a bit too late now, for my age ;-)) Andr? From pete at lcsql.com Mon Jul 22 18:08:21 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 22 Jul 2013 15:08:21 -0700 Subject: Reliable script to handle selection/drag-and-drop in a list field? In-Reply-To: References: Message-ID: On Mon, Jul 22, 2013 at 2:03 PM, Geoff Canyon wrote: > The dragLines message I messed up fixing the issue Scott mentioned above > (darn regression errors...) I have it fixed now, I'll upload a new copy in > a bit. To answer your question -- the first param is the drag lines, the > second is the drop lines. > Thanks Geoff, look forward to the fixed version. Pete lcSQL Software From Mark_Smith at cpe.umanitoba.ca Mon Jul 22 22:09:00 2013 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Mon, 22 Jul 2013 19:09:00 -0700 (PDT) Subject: 5.5.5 linking problem In-Reply-To: References: <1374457184771-4667839.post@n4.nabble.com> Message-ID: <1374545340566-4667880.post@n4.nabble.com> Thanks Mike and Scott. I am linking for the Universal settings. I have SDK's 5.1, 6.0 and 6.1 and I have a green square. Although, it keeps forgetting my settings for some reason. Anyway, with this config I am getting the arm7 error message. Interesting it does create an application anyway. I may try to run it and see what happens. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/5-5-5-linking-problem-tp4667839p4667880.html Sent from the Revolution - User mailing list archive at Nabble.com. From Mark_Smith at cpe.umanitoba.ca Mon Jul 22 22:10:14 2013 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Mon, 22 Jul 2013 19:10:14 -0700 (PDT) Subject: 5.5.5 linking problem In-Reply-To: <360B5D49-9012-4BE3-BE5D-0EF27AED8534@elementarysoftware.com> References: <1374457184771-4667839.post@n4.nabble.com> <360B5D49-9012-4BE3-BE5D-0EF27AED8534@elementarysoftware.com> Message-ID: <1374545414975-4667881.post@n4.nabble.com> Yes Scott, that is exactly the same error I am seeing as well. Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/5-5-5-linking-problem-tp4667839p4667881.html Sent from the Revolution - User mailing list archive at Nabble.com. From paulhibbert at mac.com Mon Jul 22 22:46:47 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Mon, 22 Jul 2013 19:46:47 -0700 Subject: LC Server Image Weirdness In-Reply-To: References: <51E9962D.3080601@gmail.com> <8D052F91E87F454-16AC-C00FF@webmail-m141.sysops.aol.com> <51EA5225.70507@gmail.com> <8D6D117A-4D70-4530-9794-8BDCC8F54639@all-auctions.com> <2829C83B-B2C9-4F18-8644-39F27930DBBF@mac.com> Message-ID: <512F8ABE-A215-419F-8571-FC9524947073@mac.com> Rick, Maybe if you could post (at least the basics of) the code for your upload and display routine somebody may be able to come up with ideas for a solution. Paul On 2013-07-21, at 7:16 AM, Rick Harrison wrote: > Hi Paul, > > I tried your suggestions. I moved the display > of the image after the "Close File", - no luck. > > I tried the "touch -c" shell command, and - no luck. > > I tried both together, - no luck. > > Thanks for making the suggestions though. > > Anyone else? > > Thanks, > > Rick > > On Jul 21, 2013, at 12:16 AM, Paul Hibbert wrote: > >> Hi Rick, >> >> I'm no expert in this area, but it sounds to me like the image is not being released after the upload, other list readers may have a better idea. >> >> If you are using "Open File", "Write to File" etc., make sure you also use "Close File" after the upload to release the image file for other applications to use (i.e. the browser). >> >> If that's not the case, maybe Jacqueline's suggestion to a similar problem I had a while ago, using the shell touch command may help, I think this should still work on the Server. >> >> put "touch -c " & quote & & quote into tCmd >> get shell(tCmd) >> >> More info on the Touch command here? >> https://developer.apple.com/library/mac/#documentation/Darwin/Reference/Manpages/man1/touch.1.html >> >> No guarantees, but may be worth a try. >> >> Paul >> >> On 2013-07-20, at 9:17 AM, Rick Harrison wrote: >> >>> Ok, so I have the LC 6.1.0 server >>> running on a Macintosh, and I'm >>> uploading an image to the server >>> through a webpage and storing it >>> onto the server. >>> >>> I'm trying to display the image >>> on the webpage to show that >>> it completed properly etc. >>> >>> I'm using the statement: >>> >>> put "
" & cr >>> >>> The webpage completes all the >>> way through without errors, but the >>> image doesn't display at all. The >>> image gets uploaded, but when I >>> try to open the image with "Preview", >>> it complains that the image is >>> corrupted somehow. I find I can >>> open the image up just fine in >>> "GraphicConverter" and if I then >>> save the file using "GraphicConverter" >>> the file gets fixed and will >>> display properly in "Preview". >>> >>> If I put in a statement like: >>> >>> put image "BogusImageName" into VarBogusImageName >>> >>> into the .lc webpage it causes the webpage to >>> throw an error, (Chunk: no such object), as expected, >>> but the interesting thing is that now >>> the image I was trying to display before that wasn't showing >>> now shows up just fine! Furthermore, the file uploaded >>> shows up fine in Preview without any corruption whatsoever. >>> >>> Does anyone have a clue as to what is causing this weirdness >>> and what I can do to fix the problem of the image not showing? >>> >>> Thanks in advance, >>> >>> Rick >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From niconiko at gmail.com Mon Jul 22 22:50:00 2013 From: niconiko at gmail.com (Nicolas Cueto) Date: Tue, 23 Jul 2013 11:50:00 +0900 Subject: legacy problem? Message-ID: Hi. Within LC 6.1, I modified a stack created years ago and then saved it. Problem is, the mainstack that for years and years used to be able to open this modified stack, now can't. Tried the same modification in LC 5.5.4. Same problem. Mainstack no longer opens the stack. So, in LC 5.5.4, I opened up the original stack, but this time did no modifications whatsoever, and then saved. The problem persists. To double-check, I opened up and saved one of the other stacks that the mainstack calls. Same problem. Finally, repeated all the above but with "Messages" in the IDE turned off. That would prevent any preOpenCard handlers and what not, right? But still, the problem. My thought is it's a legacy issue. I mean, if all I'm simply doing is opening and then clicking "Save" (and not a standalone), why should a stack that used to work have now become un-openable? I was thinking of downloading and testing with an older version of LC. Perhaps 4.x? But the LC store now only offers 6.x. If this is not a legacy issue, any ideas? And if it might be a legacy issue, any links to where I can download older version of LC/RunRev? Thank you. -- Nicolas Cueto From paulhibbert at mac.com Tue Jul 23 00:29:05 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Mon, 22 Jul 2013 21:29:05 -0700 Subject: legacy problem? In-Reply-To: References: Message-ID: <0BC79111-182A-4675-852E-80EB9ED61798@mac.com> Hi Nicolas, First thoughts - have you tried saving the modified or unmodified stack in the Legacy 2.7 format (available in a pull down menu in the Save As? window)? Paul On 2013-07-22, at 7:50 PM, Nicolas Cueto wrote: > Hi. > > Within LC 6.1, I modified a stack created years ago and then saved it. > Problem is, the mainstack that for years and years used to be able to open > this modified stack, now can't. > > Tried the same modification in LC 5.5.4. Same problem. Mainstack no longer > opens the stack. > > So, in LC 5.5.4, I opened up the original stack, but this time did no > modifications whatsoever, and then saved. The problem persists. To > double-check, I opened up and saved one of the other stacks that the > mainstack calls. Same problem. > > Finally, repeated all the above but with "Messages" in the IDE turned off. > That would prevent any preOpenCard handlers and what not, right? But still, > the problem. > > > My thought is it's a legacy issue. I mean, if all I'm simply doing is > opening and then clicking "Save" (and not a standalone), why should a stack > that used to work have now become un-openable? > > I was thinking of downloading and testing with an older version of LC. > Perhaps 4.x? But the LC store now only offers 6.x. > > If this is not a legacy issue, any ideas? And if it might be a legacy > issue, any links to where I can download older version of LC/RunRev? > > Thank you. > > -- > Nicolas Cueto > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gcanyon at gmail.com Tue Jul 23 01:48:24 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 23 Jul 2013 00:48:24 -0500 Subject: Reliable script to handle selection/drag-and-drop in a list field? In-Reply-To: References: Message-ID: https://docs.google.com/file/d/0By_mW8YYOZpAME5lTE44c2oxRU0 That should fix the message so that, optionally, you can add a handler to your list like this: on dragLines dragLines,dropLines end dragLines and then if you select lines 12 and 18 and drag them to the top of the list you would get that message with dragLines = 12,18 and dropLines = 1,2 gc On Mon, Jul 22, 2013 at 4:03 PM, Geoff Canyon wrote: > > On Mon, Jul 22, 2013 at 3:44 PM, Peter Haworth wrote: > >> >> Resending because the original got caught in the dreaded "message is too >> long" vortex. >> >> This is very useful, thanks Geoff. >> >> I can't quite figure out what's going on with the format statement that's >> part of the send of dragLines. Everything after the second backslash is >> listed in red in the script editor as if there's an error but no errors >> are >> listed when a compile it. I'm not sure what parameters are supposed to be >> passed but what I see is the final line numbers of the dropped lines (in >> quotes), then an empty string (in quotes). SHould the second parm be the >> original line numbers? >> >> Pete >> lcSQL Software > > > > I'm seeing the red text in the format command as well. It happens after > the second escaped quote I think, and appears to be an error in the syntax > highlighting rather than an actual error. > > The dragLines message I messed up fixing the issue Scott mentioned above > (darn regression errors...) I have it fixed now, I'll upload a new copy in > a bit. To answer your question -- the first param is the drag lines, the > second is the drop lines. > From mwieder at ahsoftware.net Tue Jul 23 01:47:20 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 22 Jul 2013 22:47:20 -0700 Subject: iOS Developer Portal Down? In-Reply-To: References: <9567A931-A78C-4460-B391-0751DC072642@icloud.com> <0C0E29A6-8551-4C9D-B52A-8F7C895A2CA0@verizon.net> Message-ID: <17732464015.20130722224720@ahsoftware.net> Mike- On 7/20/2013, the ubuntuforums website was compromised and the attackers got "every user's local username, password, and email address" See http://ubuntuforums.org/announce.html?t=2063384 for the details. Canonical is still working to restore the site. Obviously if you signed up for the site at some point and used the same password elsewhere, you should consider changing it. -- -Mark Wieder mwieder at ahsoftware.net From niconiko at gmail.com Tue Jul 23 03:10:35 2013 From: niconiko at gmail.com (Nicolas Cueto) Date: Tue, 23 Jul 2013 16:10:35 +0900 Subject: legacy problem? In-Reply-To: <0BC79111-182A-4675-852E-80EB9ED61798@mac.com> References: <0BC79111-182A-4675-852E-80EB9ED61798@mac.com> Message-ID: > have you tried saving the modified or unmodified stack in the Legacy 2.7 format Yup. And no go. (Thanks, Paul.) -- Nicolas Cueto From scott at elementarysoftware.com Tue Jul 23 03:30:49 2013 From: scott at elementarysoftware.com (Scott Morrow) Date: Tue, 23 Jul 2013 00:30:49 -0700 Subject: 5.5.5 linking problem In-Reply-To: <1374545414975-4667881.post@n4.nabble.com> References: <1374457184771-4667839.post@n4.nabble.com> <360B5D49-9012-4BE3-BE5D-0EF27AED8534@elementarysoftware.com> <1374545414975-4667881.post@n4.nabble.com> Message-ID: Mark, are you trying to build with externals? I can build with some but I get the error when trying to build using ones related to printing. (rrehardcopy and/or mergdoc ) -- Scott On Jul 22, 2013, at 7:10 PM, Mark Smith wrote: > Yes Scott, that is exactly the same error I am seeing as well. > > Mark From mark.rauterkus at gmail.com Tue Jul 23 08:41:52 2013 From: mark.rauterkus at gmail.com (Mark Rauterkus) Date: Tue, 23 Jul 2013 08:41:52 -0400 Subject: Anyone have an OPEN SOURCE project as a FTP app? Message-ID: Hi, Wondering if there is an open souce LiveCode Community project to serve as an FTP client out there? I tried a freeware FTP thingie the other week and it came with a zillion ads and tool bar crazy highjacking stuff with the browser and such. Ugly. Thanks. Mark Rauterkus mark at rauterkus.com From MikeKerner at roadrunner.com Tue Jul 23 08:53:41 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 23 Jul 2013 08:53:41 -0400 Subject: iOS Developer Portal Down? In-Reply-To: <17732464015.20130722224720@ahsoftware.net> References: <9567A931-A78C-4460-B391-0751DC072642@icloud.com> <0C0E29A6-8551-4C9D-B52A-8F7C895A2CA0@verizon.net> <17732464015.20130722224720@ahsoftware.net> Message-ID: Yeah, I saw that one on...Friday, I think? It's been 5 days for Apple. Hopefully they'll have it all tweaked soon. Since there haven't been massive amounts of leaks about the incident, I wonder what actually happened. On Tue, Jul 23, 2013 at 1:47 AM, Mark Wieder wrote: > Mike- > > On 7/20/2013, the ubuntuforums website was compromised and the attackers > got > "every user's local username, password, and email address" > > See http://ubuntuforums.org/announce.html?t=2063384 for the details. > Canonical is still working to restore the site. > > Obviously if you signed up for the site at some point and used the same > password elsewhere, you should consider > changing it. > > -- > -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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Tue Jul 23 08:55:08 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 23 Jul 2013 08:55:08 -0400 Subject: iOS Developer Portal Down? In-Reply-To: References: <9567A931-A78C-4460-B391-0751DC072642@icloud.com> <0C0E29A6-8551-4C9D-B52A-8F7C895A2CA0@verizon.net> <17732464015.20130722224720@ahsoftware.net> Message-ID: oh, here we go: http://www.csoonline.com/article/736775/apple-closes-developer-site-after-researcher-s-intrusive-hack?source=CSONLE_nlt_salted_hash_2013-07-23 On Tue, Jul 23, 2013 at 8:53 AM, Mike Kerner wrote: > Yeah, I saw that one on...Friday, I think? > > It's been 5 days for Apple. Hopefully they'll have it all tweaked soon. > Since there haven't been massive amounts of leaks about the incident, I > wonder what actually happened. > > > On Tue, Jul 23, 2013 at 1:47 AM, Mark Wieder wrote: > >> Mike- >> >> On 7/20/2013, the ubuntuforums website was compromised and the attackers >> got >> "every user's local username, password, and email address" >> >> See http://ubuntuforums.org/announce.html?t=2063384 for the details. >> Canonical is still working to restore the site. >> >> Obviously if you signed up for the site at some point and used the same >> password elsewhere, you should consider >> changing it. >> >> -- >> -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 >> > > > > -- > 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 matthias_livecode_150811 at m-r-d.de Tue Jul 23 09:01:52 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 23 Jul 2013 15:01:52 +0200 Subject: Anyone have an OPEN SOURCE project as a FTP app? In-Reply-To: References: Message-ID: Mark, Andre Garzia create ftp command some time ago. You can find it in the "user samples" section. Search for "ftp commander" Or just download it from here http://revonline2.runrev.com/stack/516/FTP-Commander HTH, Matthias Am 23.07.2013 um 14:41 schrieb Mark Rauterkus : > Hi, > > Wondering if there is an open souce LiveCode Community project to serve as > an FTP client out there? > > I tried a freeware FTP thingie the other week and it came with a zillion > ads and tool bar crazy highjacking stuff with the browser and such. Ugly. > > > > Thanks. > > > Mark Rauterkus > mark at rauterkus.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andrew at ctech.me Tue Jul 23 09:03:14 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Tue, 23 Jul 2013 08:03:14 -0500 Subject: Anyone have an OPEN SOURCE project as a FTP app? In-Reply-To: References: Message-ID: Filezilla or Cyberduck come highly recommended. On Tue, Jul 23, 2013 at 8:01 AM, Matthias Rebbe < matthias_livecode_150811 at m-r-d.de> wrote: > Mark, > > Andre Garzia create ftp command some time ago. > > You can find it in the "user samples" section. Search for "ftp commander" > > Or just download it from here > > http://revonline2.runrev.com/stack/516/FTP-Commander > > > HTH, > > Matthias > > > Am 23.07.2013 um 14:41 schrieb Mark Rauterkus : > > > Hi, > > > > Wondering if there is an open souce LiveCode Community project to serve > as > > an FTP client out there? > > > > I tried a freeware FTP thingie the other week and it came with a zillion > > ads and tool bar crazy highjacking stuff with the browser and such. Ugly. > > > > > > > > Thanks. > > > > > > Mark Rauterkus > > mark at rauterkus.com > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 ambassador at fourthworld.com Tue Jul 23 10:41:15 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 23 Jul 2013 07:41:15 -0700 Subject: Anyone have an OPEN SOURCE project as a FTP app? In-Reply-To: References: Message-ID: <51EE960B.4080809@fourthworld.com> Mark Rauterkus wrote: > Wondering if there is an open souce LiveCode Community project to serve as > an FTP client out there? > > I tried a freeware FTP thingie the other week and it came with a zillion > ads and tool bar crazy highjacking stuff with the browser and such. Ugly. The absence of SFTP support makes any file transfer tool in LiveCode a non-starter. Thankfully, for general FTP/SFTP needs there's FileZilla, free, open, and ad-free: -- 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 coiin at verizon.net Tue Jul 23 10:43:24 2013 From: coiin at verizon.net (Colin Holgate) Date: Tue, 23 Jul 2013 10:43:24 -0400 Subject: iOS Developer Portal Down? In-Reply-To: References: <9567A931-A78C-4460-B391-0751DC072642@icloud.com> <0C0E29A6-8551-4C9D-B52A-8F7C895A2CA0@verizon.net> <17732464015.20130722224720@ahsoftware.net> Message-ID: The person in question posted a video about what he had done. I watched most of the video but now I see that it has been made ?private?. The gist of the story is that a security expert had logged 13 security flaw bugs with Apple, and to illustrate the possible threat of one of the flaws he also sent a list of Apple employee developer log-in details. Hopefully Apple will give him a job. From MikeKerner at roadrunner.com Tue Jul 23 10:48:23 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 23 Jul 2013 10:48:23 -0400 Subject: iOS Developer Portal Down? In-Reply-To: References: <9567A931-A78C-4460-B391-0751DC072642@icloud.com> <0C0E29A6-8551-4C9D-B52A-8F7C895A2CA0@verizon.net> <17732464015.20130722224720@ahsoftware.net> Message-ID: HA! Apple didn't give Charlie Miller a job, they banned him for a year, and what he did was not only a lot less offensive, but long term, it was, I believe, more helpful to Apple On Tue, Jul 23, 2013 at 10:43 AM, Colin Holgate wrote: > The person in question posted a video about what he had done. I watched > most of the video but now I see that it has been made ?private?. > > The gist of the story is that a security expert had logged 13 security > flaw bugs with Apple, and to illustrate the possible threat of one of the > flaws he also sent a list of Apple employee developer log-in details. > > Hopefully Apple will give him a job. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 capellan2000 at gmail.com Tue Jul 23 10:53:16 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 23 Jul 2013 07:53:16 -0700 (PDT) Subject: OT: Evil Mad Scientist Labs teaches boolean logic In-Reply-To: <94289862355.20130629165751@ahsoftware.net> References: <94289862355.20130629165751@ahsoftware.net> Message-ID: <1374591196904-4667897.post@n4.nabble.com> Hi Mark, I have read your post weeks ago, and bookmarked it. How could we make a computer simulation of this artifact using Livecode? Does exists downloable plans to build one? Videos does give a hint about the inner workings. http://hackaday.com/2011/06/09/gigantic-ball-manipulating-binary-computer/ Thanks in advance! Al mwieder wrote > The Digi-Comp II: > > <http://boingboing.net/2013/06/28/digi-comp-ii-teaching-computi.html> -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Evil-Mad-Scientist-Labs-teaches-boolean-logic-tp4666996p4667897.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Tue Jul 23 10:55:23 2013 From: coiin at verizon.net (Colin Holgate) Date: Tue, 23 Jul 2013 10:55:23 -0400 Subject: iOS Developer Portal Down? In-Reply-To: References: <9567A931-A78C-4460-B391-0751DC072642@icloud.com> <0C0E29A6-8551-4C9D-B52A-8F7C895A2CA0@verizon.net> <17732464015.20130722224720@ahsoftware.net> Message-ID: Except, he broke the developer rules before then telling Apple about it. This other guy posted a message saying that the problem really should get fixed quickly, before then following up with example data. On Jul 23, 2013, at 10:48 AM, Mike Kerner wrote: > >HA! Apple didn't give Charlie Miller a job, they banned him for a year, > and what he did was not only a lot less offensive, but long term, it was, I > believe, more helpful to Apple From revlist at azurevision.co.uk Tue Jul 23 10:59:45 2013 From: revlist at azurevision.co.uk (Ian Wood) Date: Tue, 23 Jul 2013 15:59:45 +0100 Subject: iOS Developer Portal Down? In-Reply-To: References: <9567A931-A78C-4460-B391-0751DC072642@icloud.com> <0C0E29A6-8551-4C9D-B52A-8F7C895A2CA0@verizon.net> <17732464015.20130722224720@ahsoftware.net> Message-ID: I suspect that Apple are more concerned with the 100k other records he downloaded than the Apple employee details... Ian On 23 Jul 2013, at 15:43, Colin Holgate wrote: > The gist of the story is that a security expert had logged 13 security flaw bugs with Apple, and to illustrate the possible threat of one of the flaws he also sent a list of Apple employee developer log-in details. From MikeKerner at roadrunner.com Tue Jul 23 11:13:32 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 23 Jul 2013 11:13:32 -0400 Subject: iOS Developer Portal Down? In-Reply-To: References: <9567A931-A78C-4460-B391-0751DC072642@icloud.com> <0C0E29A6-8551-4C9D-B52A-8F7C895A2CA0@verizon.net> <17732464015.20130722224720@ahsoftware.net> Message-ID: Yes Charlie did break the DP rules. This guy went a little further, though. If they didn't offer Charlie a job this guy won't get one, either. On Tue, Jul 23, 2013 at 10:59 AM, Ian Wood wrote: > I suspect that Apple are more concerned with the 100k other records he > downloaded than the Apple employee details... > > Ian > > On 23 Jul 2013, at 15:43, Colin Holgate wrote: > > > The gist of the story is that a security expert had logged 13 security > flaw bugs with Apple, and to illustrate the possible threat of one of the > flaws he also sent a list of Apple employee developer log-in details. > > _______________________________________________ > use-livecode mailing list > use-livecode 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 jbv at souslelogo.com Tue Jul 23 12:30:52 2013 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Tue, 23 Jul 2013 11:30:52 -0500 Subject: [semi OT] setting a subdomain in cPanel / on-rev Message-ID: Hi folks, Just a quick question about subdomain settings in cPanel : I have added an add-on to my main domain and everything works fine : now I have myAddon.myMainDomain displaying in cPanel and the add-on myAddon.com displays in my browser. Now I want to add a subdomain to the newly created add-on in order to get something like subdomain.myAddon.com I have created this subdomain in the dedicated cPanel page. the subdomain points to a directory named public_html/subdomain containing a fully functionnal index.php script. However, when trying subdomain.myAddon.com in a browser, the page can't be reached... Is there just a dns propagation thing or did I do anything wrong ? Did anyone already use such settings in cPanel ? Thanks in advance for any help... jbv From dixonja at hotmail.co.uk Tue Jul 23 13:05:06 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Tue, 23 Jul 2013 18:05:06 +0100 Subject: french accents and other funny letters... Message-ID: How do I handle letters with accents on the ipad ?... I am getting strange chars in the middle of strings of french addreses being returned, when getting 'google' to change long/lat to physical addresses ... From pete at lcsql.com Tue Jul 23 13:34:22 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 23 Jul 2013 10:34:22 -0700 Subject: Reliable script to handle selection/drag-and-drop in a list field? In-Reply-To: References: Message-ID: Thanks Geoff. It looks like this is probably not going to work as a behavior for me since the field I'm using it on includes mouseUp/Down handlers to handle situations other than drag/drop, but other than that, this is great, thanks again. Pete lcSQL Software On Mon, Jul 22, 2013 at 10:48 PM, Geoff Canyon wrote: > https://docs.google.com/file/d/0By_mW8YYOZpAME5lTE44c2oxRU0 > > That should fix the message so that, optionally, you can add a handler to > your list like this: > > on dragLines dragLines,dropLines > end dragLines > > and then if you select lines 12 and 18 and drag them to the top of the list > you would get that message with dragLines = 12,18 and dropLines = 1,2 > > gc > > > On Mon, Jul 22, 2013 at 4:03 PM, Geoff Canyon wrote: > > > > > On Mon, Jul 22, 2013 at 3:44 PM, Peter Haworth wrote: > > > >> > >> Resending because the original got caught in the dreaded "message is too > >> long" vortex. > >> > >> This is very useful, thanks Geoff. > >> > >> I can't quite figure out what's going on with the format statement > that's > >> part of the send of dragLines. Everything after the second backslash is > >> listed in red in the script editor as if there's an error but no errors > >> are > >> listed when a compile it. I'm not sure what parameters are supposed to > be > >> passed but what I see is the final line numbers of the dropped lines (in > >> quotes), then an empty string (in quotes). SHould the second parm be > the > >> original line numbers? > >> > >> Pete > >> lcSQL Software > > > > > > > > I'm seeing the red text in the format command as well. It happens after > > the second escaped quote I think, and appears to be an error in the > syntax > > highlighting rather than an actual error. > > > > The dragLines message I messed up fixing the issue Scott mentioned above > > (darn regression errors...) I have it fixed now, I'll upload a new copy > in > > a bit. To answer your question -- the first param is the drag lines, the > > second is the drop lines. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Tue Jul 23 14:02:28 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 23 Jul 2013 11:02:28 -0700 Subject: Reliable script to handle selection/drag-and-drop in a list field? In-Reply-To: References: Message-ID: <51EEC534.2070503@fourthworld.com> Peter Haworth wrote: > It looks like this is probably not going to work as a behavior for me since > the field I'm using it on includes mouseUp/Down handlers to handle > situations other than drag/drop, but other than that, this is great, thanks > again. I wonder if Geoff's script could be revised to use "before mouseDown" or "after mouseDown" to allow instances to handle the primary forms of those messages without interference? -- 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 andre.bisseret at wanadoo.fr Tue Jul 23 14:26:43 2013 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Tue, 23 Jul 2013 20:26:43 +0200 Subject: How to manage file name containing a date with / In-Reply-To: References: <8449AD1E-78C2-419B-84A2-1AE361614397@wanadoo.fr> <9BF32FEE-F4DE-406F-B53A-07A5AFE14FE8@wanadoo.fr> <12B8F0FA-20C9-4A52-8979-EE2732D7225B@swcp.com> <08851787-D27B-413E-8D33-F456F37C2402@swcp.com> <16286533715.20130722093214@ahsoftware.net> <2B408473-EADB-40DF-B8AD-6F4FF065D1BE@swcp.com> <51ED8A74.1020503@hyperactivesw.com> Message-ID: <838061DD-E883-487E-9FB3-5F4D004EE272@wanadoo.fr> Thanks a lot Thomas for your precise questions; that help me a lot to better explain my problem. That's what I am trying below. Le 22 juil. 2013 ? 23:03, Thomas McGrath III a ?crit : > Andre, > > You are not answering the proper questions to come up with a solution for this. Well ,I was trying to be as simple as possible (but I understand that was not efficient!) ------ Since 2006 the doctor is using an app I developed according to his needs. In this app. he creates one stack (medical record) for each patient with all the necessary informations about the patient. At each consultation he created a new card in the stack of the patient. - In a field he writes his prescriptions that can be printed. - In another field he writes his observations, and any information he thinks useful to the follow-up of the patient. This is in the form of short rather laconic sentences. They may be completed by a document (a PDF file which can be open from there: at the end of some such sentences he can create an" icon": in fact, a char "#" with a little image-source (DOC). such as when it is selected (double-click) the corresponding file is launched. A bit difficult to explain shortly how this is done: On his disk, In the folder where all the material of the app. is located he has a folder, say "DOCS BASE" where he put all the documents (mainly PDF files) concerning all his patients. When he opens the stack of a patient, the list of the documents concerning this patient is built (from the DOCS BASE) and put in a custom property of the stack of the patient. When on a card of consultation in the stack of a patient, thanks to a button he cans show a field (normally hidden) where the list of documents concerning the patient is put in this field (using the custom property) Doing shift key + click on the name of a document in this list creates a little image (DOC) whose a custom property is the name of the document. selecting the char # then clicking on the image, set the image source of the char # to the new image which is then hidden. (these images have as names doc 1, doc 2 etc). And then, each time he double-clicks on such an "icon" the corresponding file (custom property of the image source) is launched. Hoping it is not too obscure! Now, this doctor is going into retirement at the end of this year. He would like to give to each of his patient, on a USB key, a synthesis of their medical record so that they can give it to the new doctor they will choose. That is the new app. I am about to complete. One click on a specific button "create transfert folder" create the folder that will be dragged on the USB key of the patient This folder will contains - a standalone for mac - a standalone for Windows. - a sub-folder containing all the document files concerning this patient (they have been copied from the folder "DOCS BASE") on Mac the names of these files in this folder keep the slash as separator of the date not on Windows : there is the bizarre dot in place of the slash. - other files : in particular a stack which is a copy of the last consultation (last card) of the stack of the patient (his medical record) So on this stack there can be double-clickable "icon" which should open the right document. in the script of this stack : ========= local tCharNum,tFieldNum,tDocName,tPath, ------- on selectionChanged if word 1 of the selectedText is "#" then select word 1 of the selectedChunk put word 2 of the selectedChunk into tCharNum put last word of the selectedChunk into tFieldNum --- TitreDuDoc is the custom property of the image whose the value is the name of the file put the TitreDuDoc of img (the imageSource of char tCharNum of fld tFieldNum) into tDocName -------- adapting the accented characters to Windows if the the platform is "win32" then put macToISO(tDocName) into tDocName -------- set the itemDel to slash put the filename of this stack into tPath put tDocName into last item of tPath launch document tPath end if end selectionChanged ============ > Questions: > 1. Where are the files located when using the Mac version of your app? (same computer? different computer?) same computer (the computer of the reader > 2. Where are the filed located when using the Windows version of your app? (same computer? different computer?) idem > 3. Are they on a server? no > 4. Are they included with the app when passed on to a Windows machine? they are in a folder which is at the same level as the app > 5. What happens when you -- answer file "Choose a file:" -- do they show up? on Mac, yes; on Windows, no > 6. If so what happens when you -- put url ("file:" & it) into tFile -- does tFile hold the correct full path or does it just say "2013.pdf" ? For it and for tFile as well I get a very long text with cabalistic characters! But I am not at all familiar with the use of url so possibly I am not scripting correctly ------- put the filename of this stack into tPath set the itemDel to slash delete last item of tPath -- the stack and the file are in the same folder answer file "Choose a file:" if it = "" then exit to top put URL ("file:" & it) into tFile --------- > 7. Please post the code that you are trying to use so that we can see it and help you. > see on selectionChanged above > Suggestions: > 1. Stop the process of naming files with a "/" -- instruct the client how to change this in the scanner software. OK, no problem > 2. If the files exist on the Mac then why not run a batch on them and rename them all with a correctly formatted name -- then ship those to the Windows users. Do this with LC. I think that might be the best thing I could do eventually!! > 3. If there are many files 'and' many Mac and Windows users are to access them then suggest a server -- that way all of the clients can use the same code to access them. > 4. If the answer file shows them then use 'it' to choose them. The readers can't choose the right file; we have to open it for them when they double-click on an "icon" (DOC) > 5. If put URL ("file:" & it") shows the correct file path then use 'it' to choose them. > 6. If not THEN you need to deal with the file name issue as suggested previously. > > I know we can solve this one if we know enough about the workflow. Thanks you again for your attention Best regards Andr? > > Yours > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > From dochawk at gmail.com Tue Jul 23 14:49:18 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 23 Jul 2013 11:49:18 -0700 Subject: Anyone have an OPEN SOURCE project as a FTP app? In-Reply-To: <51EE960B.4080809@fourthworld.com> References: <51EE960B.4080809@fourthworld.com> Message-ID: On Tue, Jul 23, 2013 at 7:41 AM, Richard Gaskin wrote: > Thankfully, for general FTP/SFTP needs there's FileZilla, free, open, and > ad-free: > I've been using filezilla for years now. Bizzarely, the software used by Chapter 13 bankruptcy trustees does *not* work with unix command line ftp. Seriously. You get a 0 length file. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mwieder at ahsoftware.net Tue Jul 23 15:11:07 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 23 Jul 2013 12:11:07 -0700 Subject: How to manage file name containing a date with / In-Reply-To: <838061DD-E883-487E-9FB3-5F4D004EE272@wanadoo.fr> References: <8449AD1E-78C2-419B-84A2-1AE361614397@wanadoo.fr> <9BF32FEE-F4DE-406F-B53A-07A5AFE14FE8@wanadoo.fr> <12B8F0FA-20C9-4A52-8979-EE2732D7225B@swcp.com> <08851787-D27B-413E-8D33-F456F37C2402@swcp.com> <16286533715.20130722093214@ahsoftware.net> <2B408473-EADB-40DF-B8AD-6F4FF065D1BE@swcp.com> <51ED8A74.1020503@hyperactivesw.com> <838061DD-E883-487E-9FB3-5F4D004EE272@wanadoo.fr> Message-ID: <12080690823.20130723121107@ahsoftware.net> Andr?- Tuesday, July 23, 2013, 11:26:43 AM, you wrote: > One click on a specific button "create transfert folder" create > the folder that will be dragged on the USB key of the patient My guess on this: in the script of that button, transform the filenames into something less troublesome, probably converting the slashes to underscores, in the folder on the usb drive and set the TitreDuDoc property of the appropriate image. That way your standalone app on whatever platform will be able to load the documents, and the original documents in the "DOCS BASE" folder can keep the original names. -- -Mark Wieder mwieder at ahsoftware.net From mcgrath3 at mac.com Tue Jul 23 15:13:41 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 23 Jul 2013 15:13:41 -0400 Subject: How to manage file name containing a date with / In-Reply-To: <838061DD-E883-487E-9FB3-5F4D004EE272@wanadoo.fr> References: <8449AD1E-78C2-419B-84A2-1AE361614397@wanadoo.fr> <9BF32FEE-F4DE-406F-B53A-07A5AFE14FE8@wanadoo.fr> <12B8F0FA-20C9-4A52-8979-EE2732D7225B@swcp.com> <08851787-D27B-413E-8D33-F456F37C2402@swcp.com> <16286533715.20130722093214@ahsoftware.net> <2B408473-EADB-40DF-B8AD-6F4FF065D1BE@swcp.com> <51ED8A74.1020503@hyperactivesw.com> <838061DD-E883-487E-9FB3-5F4D004EE272@wanadoo.fr> Message-ID: Andr? I don't know how to make windows recognize the "/" but you are in luck that the Mac can see them. Others might have a better approach but if it were my project I would 'bite the bullet' as it were and build a quick and dirty tool in LC on the Mac and rename/fix all of those file names at once and then include them with the app so you can move on to writing your main app for the client. A pain but doable and once done you don't have to deal with this again. if tFilename contains "/" then replace "/" with "_" in tFilename -- should do the trick when processing each line of the files in folder "DOCS BASE" Wish you luck on this Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jul 23, 2013, at 2:26 PM, Andr? Bisseret wrote: > Thanks a lot Thomas for your precise questions; that help me a lot to better explain my problem. > That's what I am trying below. From pete at lcsql.com Tue Jul 23 15:17:06 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 23 Jul 2013 12:17:06 -0700 Subject: Reliable script to handle selection/drag-and-drop in a list field? In-Reply-To: <51EEC534.2070503@fourthworld.com> References: <51EEC534.2070503@fourthworld.com> Message-ID: On Tue, Jul 23, 2013 at 11:02 AM, Richard Gaskin wrote: > I wonder if Geoff's script could be revised to use "before mouseDown" or > "after mouseDown" to allow instances to handle the primary forms of those > messages without interference? Great idea, The before/after messages are pretty recent additions to the language IIRC and I haven't used them yet - Is there some way to stop them happening? Actually, if I'm understanding Geoff's script correctly, it looks like it checks for the mouse having moved 4 pixels since mouseDown happened to indicate the start of a drag so perhaps I don;t need to worry about stopping the before/after messages. Pete lcSQL Software From webmaster at curiositi.com Tue Jul 23 16:55:39 2013 From: webmaster at curiositi.com (webmaster at curiositi.com) Date: Tue, 23 Jul 2013 15:55:39 -0500 Subject: DataGrid hilited row =?UTF-8?Q?color=3F?= Message-ID: <273505babd10179185125288d93a440f@curiositi.com> I'm fairly new to working with LiveCode Data Grid controls. I've noticed that you can set the color for hilited rows. In my case, I'm showing hilited rows with a RED background color. However, when the data grid loses focus (click in a text field or on a different open stack), the hilited row loses the red color and goes to a middle gray color. How do I specify the color for hilited rows when the data grid is not active? From monte at sweattechnologies.com Tue Jul 23 17:01:07 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 24 Jul 2013 07:01:07 +1000 Subject: french accents and other funny letters... In-Reply-To: References: Message-ID: On 24/07/2013, at 3:05 AM, John Dixon wrote: > How do I handle letters with accents on the ipad ?... I am getting strange chars in the middle of strings of french addreses being returned, when getting 'google' to change long/lat to physical addresses ... They are most likely utf8 encoded. You probably want something like: set the unicodeText of field "address" to uniEncode(theAddress,"utf8") Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From andrew at ctech.me Tue Jul 23 17:11:17 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Tue, 23 Jul 2013 16:11:17 -0500 Subject: DataGrid hilited row color? In-Reply-To: <273505babd10179185125288d93a440f@curiositi.com> References: <273505babd10179185125288d93a440f@curiositi.com> Message-ID: set the dgProp[ "dim on focusOut" ] of group "Data Grid" to false On Tue, Jul 23, 2013 at 3:55 PM, wrote: > I'm fairly new to working with LiveCode Data Grid controls. I've noticed > that you can set the color for hilited rows. In my case, I'm showing > hilited rows with a RED background color. However, when the data grid > loses focus (click in a text field or on a different open stack), the > hilited row loses the red color and goes to a middle gray color. > > How do I specify the color for hilited rows when the data grid is not > active? > > ______________________________**_________________ > use-livecode mailing list > use-livecode 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 webmaster at curiositi.com Tue Jul 23 17:28:13 2013 From: webmaster at curiositi.com (webmaster at curiositi.com) Date: Tue, 23 Jul 2013 16:28:13 -0500 Subject: DataGrid hilited row =?UTF-8?Q?color=3F?= In-Reply-To: References: <273505babd10179185125288d93a440f@curiositi.com> Message-ID: Works beautifully. Thanks, Andrew! On Tue, 23 Jul 2013 16:11:17 -0500, Andrew Kluthe wrote: > set the dgProp[ "dim on focusOut" ] of group "Data Grid" to false > > > On Tue, Jul 23, 2013 at 3:55 PM, wrote: > >> I'm fairly new to working with LiveCode Data Grid controls. I've >> noticed >> that you can set the color for hilited rows. In my case, I'm >> showing >> hilited rows with a RED background color. However, when the data >> grid >> loses focus (click in a text field or on a different open stack), >> the >> hilited row loses the red color and goes to a middle gray color. >> >> How do I specify the color for hilited rows when the data grid is >> not >> active? >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at 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 scimatch.org Tue Jul 23 17:37:50 2013 From: david at scimatch.org (David Bovill) Date: Tue, 23 Jul 2013 22:37:50 +0100 Subject: UK Ordnance Maps and LiveCode In-Reply-To: <45C81919-1F86-4BB6-A584-26CC29F39901@mac.com> References: <45C81919-1F86-4BB6-A584-26CC29F39901@mac.com> Message-ID: Pity - can't make that Graham. Interested though - have been to their earlier presentations, and have an interest in UK based mapping... On 22 July 2013 12:54, Graham Samuel wrote: > Having had quite a lot to do with the official UK Geographical Mapping > agency, Ordnance Survey (producers of very high quality, detailed mapping > data) and their rather odd business model, I am hoping to to attend a > meeting on 2nd August where they will introduce their new iOS SDK. I assume > that LiveCoders won't be able to use this unless someone builds an > external, so since this is an area of interest for me, I may be in the > market for such a thing. That's why I didn't put [OT] at the beginning of > this mail. > > Meanwhile, any Brits interested should follow up > > > http://response.gv-c.com/Mail/View/144?a=4E08E3FDE9C25AAFC5244743EB3E7446&r=C92DC53C4C23F04A2ACD586DFC35C646 > > The OS is interesting in that it seems to have conflicting statutory > duties with regard to data - to enhance British life and businesses by > giving it away, and at the same time to make money out of it. This has > already resulted in some rival iOS apps, some of which sell the data and > some which give it away! > > 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 kee at kagi.com Tue Jul 23 17:46:43 2013 From: kee at kagi.com (kee nethery) Date: Tue, 23 Jul 2013 14:46:43 -0700 Subject: OT: UK Ordnance Maps and LiveCode In-Reply-To: References: <45C81919-1F86-4BB6-A584-26CC29F39901@mac.com> Message-ID: <10E07C78-ACA9-46A2-8CCD-7DC84D56E59A@kagi.com> I keep reading this as UK Ordinance Maps and wonder if LiveCode is being used to deal with LiveBombs. Kee Nethery From jacque at hyperactivesw.com Tue Jul 23 17:51:13 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 23 Jul 2013 16:51:13 -0500 Subject: Mac drop file on standalone, process, and quit In-Reply-To: <633dc681-583c-48fb-9c37-d0a497a47b4f@googlegroups.com> References: <4F4714A8.8050303@fourthworld.com> <4F47D5F1.3090309@hyperactivesw.com> <4F481294.2020705@hyperactivesw.com> <4F484B9D.8080509@hyperactivesw.com> <4F48681C.2080409@hyperactivesw.com> <633dc681-583c-48fb-9c37-d0a497a47b4f@googlegroups.com> Message-ID: <51EEFAD1.4000300@hyperactivesw.com> On 7/23/13 3:34 PM, ?ukasz J?zwiak wrote:> SET & PUT is not same look in rev docs, and SET work for me always PUT only > at start. look: > in app file I'm familiar with the behavior of "put" and "set", it's been many years. ;) You can't attach files to this mailing list, so we can't see what you tried to include. But the two statements do the same thing. Try this: Create a field in a new stack. In the message box: put "this is a test" into field 1 The words will appear in the field. Now type this in the message box: set the text of fld 1 to "this is test two" That will replace all the original text with the new text. Now do this again: put "this is test three" into fld 1 And again, all the text is replaced. If you aren't getting the same behavior in your own script, post the part that behaves differently and we can look. (Don't post a very long script or you will exceed the limitations of the mailing list.) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dixonja at hotmail.co.uk Tue Jul 23 18:10:22 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Tue, 23 Jul 2013 23:10:22 +0100 Subject: french accents and other funny letters... In-Reply-To: References: , Message-ID: Monte... Thank you... put approxAddress(coord) into temp set the unicodeText of fld "latlong" of card "theworks" to uniEncode(temp,"utf8") That was right on the nose... I would be too embarrassed to say how long I have spent not getting that correct...:-) go gently... > From: monte at sweattechnologies.com > Subject: Re: french accents and other funny letters... > Date: Wed, 24 Jul 2013 07:01:07 +1000 > To: use-livecode at lists.runrev.com > > > On 24/07/2013, at 3:05 AM, John Dixon wrote: > > > How do I handle letters with accents on the ipad ?... I am getting strange chars in the middle of strings of french addreses being returned, when getting 'google' to change long/lat to physical addresses ... > > They are most likely utf8 encoded. You probably want something like: > set the unicodeText of field "address" to uniEncode(theAddress,"utf8") > > 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 revlist at azurevision.co.uk Tue Jul 23 18:11:20 2013 From: revlist at azurevision.co.uk (Ian Wood) Date: Tue, 23 Jul 2013 23:11:20 +0100 Subject: OT: UK Ordnance Maps and LiveCode In-Reply-To: <10E07C78-ACA9-46A2-8CCD-7DC84D56E59A@kagi.com> References: <45C81919-1F86-4BB6-A584-26CC29F39901@mac.com> <10E07C78-ACA9-46A2-8CCD-7DC84D56E59A@kagi.com> Message-ID: <9E0734B7-03ED-49A7-8B22-75A949C2ECDF@azurevision.co.uk> Actually... Ordnance (as in Ordnance Survey) is indeed bombs. The reason for the founding of the OS was to have accurate maps for artillery etc. Ordinance (what you thought you'd misread it as) is orders and laws. :-) Ian On 23 Jul 2013, at 22:46, kee nethery wrote: > I keep reading this as UK Ordinance Maps and wonder if LiveCode is being used to deal with LiveBombs. > > 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 gcanyon at gmail.com Tue Jul 23 18:10:47 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 23 Jul 2013 17:10:47 -0500 Subject: Reliable script to handle selection/drag-and-drop in a list field? In-Reply-To: References: Message-ID: On Tue, Jul 23, 2013 at 12:34 PM, Peter Haworth wrote: > It looks like this is probably not going to work as a behavior for me since > the field I'm using it on includes mouseUp/Down handlers to handle > situations other than drag/drop, but other than that, this is great, thanks > again. > For earlier versions of LC, if you pass the following messages after you do whatever you like, the drag and drop should still work: mouseEnter mouseDown mouseMove mouseUp mouseRelease selectionChanged gc From gcanyon at gmail.com Tue Jul 23 18:17:16 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 23 Jul 2013 17:17:16 -0500 Subject: Reliable script to handle selection/drag-and-drop in a list field? In-Reply-To: <51EEC534.2070503@fourthworld.com> References: <51EEC534.2070503@fourthworld.com> Message-ID: On Tue, Jul 23, 2013 at 1:02 PM, Richard Gaskin wrote: > I wonder if Geoff's script could be revised to use "before mouseDown" or > "after mouseDown" to allow instances to handle the primary forms of those > messages without interference? > I checked, and the appropriate combination of before and after handlers works great. I want to adjust the positioning of the highlight a bit and then I'll post an update. gc From pmbrig at gmail.com Tue Jul 23 18:23:52 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 23 Jul 2013 18:23:52 -0400 Subject: [OT] Free Benchmarking Stuff In-Reply-To: References: Message-ID: <09F7F935-0170-4153-B929-12816F664B66@gmail.com> Richard Gaskin's old stack 4W_RevBench.rev is helpful here. Allows you to compare the speed of two different solutions to a problem. I use it periodically when efficiency questions come up. Probably available at http://www.fourthworld.com, Richard can guide you if you can't find it. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Jul 21, 2013, at 6:51 PM, Alejandro Tejada wrote: > Hi Richmmond, > > On Sun, 21 Jul 2013 10:53:08 +0300 > Richmond wrote: > >> http://www.phoronix-test-suite.com/ >> munchies! > > How could we use this benchmarking software > with LiveCode? > > Does exists a single stack (or a group of stacks) > that produce benchmark tests for every LiveCode > command, function and property? > > Thanks in advance! > > Al > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Jul 23 18:34:35 2013 From: bogdanoff at me.com (Peter Bogdanoff) Date: Tue, 23 Jul 2013 15:34:35 -0700 Subject: Setting up LC Server on Dreamhost Message-ID: <024A4A18-F8FA-4AF0-919E-9B2DBFA00E16@me.com> Hi, Having seen the recommendations from the list, I now have a dedicated server with Dreamhost that I've been using to serve audio files. Now, I'm going a step further and want to start working with LiveCode server. However, I've never configured a server and I'm finding the RunRev online lesson/documentation too sparse for my understanding. I've uploaded the livecode server folder into a cgi-bin that I created. I get stuck at the issue of the Apache configuration file/htaccess. Since I seem unable to modify the Apache config file, I've made a .htaccess file. Then, when I try to display a test.lc file in the browser I get an file not found and internal configuration error. I'm not at all sure about what I'm doing. Can anyone give me give me pointers or send me somewhere...? Peter Bogdanoff UCLA From stephenREVOLUTION2 at barncard.com Tue Jul 23 20:44:05 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 23 Jul 2013 17:44:05 -0700 Subject: Setting up LC Server on Dreamhost In-Reply-To: <024A4A18-F8FA-4AF0-919E-9B2DBFA00E16@me.com> References: <024A4A18-F8FA-4AF0-919E-9B2DBFA00E16@me.com> Message-ID: On Tue, Jul 23, 2013 at 3:34 PM, Peter Bogdanoff wrote: > Can anyone give me give me pointers or send me somewhere...? you probably need to set the permissions. http://fulton.barncard.com/downloads/LIVECODE_SERVER_SETUP.pdf -- Stephen Barncard San Francisco Ca. USA more about sqb From stephenREVOLUTION2 at barncard.com Tue Jul 23 20:56:50 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 23 Jul 2013 17:56:50 -0700 Subject: Setting up LC Server on Dreamhost In-Reply-To: References: <024A4A18-F8FA-4AF0-919E-9B2DBFA00E16@me.com> Message-ID: a dedicated server is not required - the .htaccess method works with shared servers at DH. a lot of options are available using htaccess. On Tue, Jul 23, 2013 at 5:44 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > > On Tue, Jul 23, 2013 at 3:34 PM, Peter Bogdanoff wrote: > >> Can anyone give me give me pointers or send me somewhere...? > > > you probably need to set the permissions. > > http://fulton.barncard.com/downloads/LIVECODE_SERVER_SETUP.pdf > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > -- Stephen Barncard San Francisco Ca. USA more about sqb From mwieder at ahsoftware.net Tue Jul 23 22:13:38 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 23 Jul 2013 19:13:38 -0700 Subject: Ubuntu Phone/Computer Message-ID: <166106042231.20130723191338@ahsoftware.net> All right - this is Kickstarter, so there are no guarantees about anything, but it *is* Canonical. http://boingboing.net/2013/07/22/crowdfunding-an-ubuntu-phone-t.html -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Tue Jul 23 22:24:19 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 23 Jul 2013 19:24:19 -0700 Subject: Ubuntu Phone/Computer In-Reply-To: <166106042231.20130723191338@ahsoftware.net> References: <166106042231.20130723191338@ahsoftware.net> Message-ID: <159106682826.20130723192419@ahsoftware.net> Sorry - I meant indiegogo rather than KS. http://www.indiegogo.com/projects/ubuntu-edge -- -Mark Wieder mwieder at ahsoftware.net From michaell at unimelb.edu.au Tue Jul 23 23:09:13 2013 From: michaell at unimelb.edu.au (Michael Julian Lew) Date: Wed, 24 Jul 2013 03:09:13 +0000 Subject: Getting data out of Excel Message-ID: <9054B19F-2614-4448-97AF-B6A626AA3304@unimelb.edu.au> I'm trying to paste data from MS Excel into a table in my Livecode stack without success. I suspect that either OSX or Excel have added unwelcome complications. I used to be able to just paste, but nowadays (Excel 2011 Mac OSX 10.7.4) the data come in as a long string, with six spaces where a return should be and three where a tab should be. Putting the clipboardData["text"] makes no difference, and the clipboardData["RTF"] is not what I want. I can make it work by copying cells in Excel, then Paste Text Only in Nisus Writer Pro, then copying and pasting the text from there. I can write a function to clean up the clipboardData, but it seems silly to need to do so. Does anyone have a quick solution? Regards, Michael Lew From lan.kc.macmail at gmail.com Wed Jul 24 02:20:31 2013 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 24 Jul 2013 14:20:31 +0800 Subject: UK Ordnance Maps and LiveCode In-Reply-To: <45C81919-1F86-4BB6-A584-26CC29F39901@mac.com> References: <45C81919-1F86-4BB6-A584-26CC29F39901@mac.com> Message-ID: On Mon, Jul 22, 2013 at 7:54 PM, Graham Samuel wrote: > > The OS is interesting in that it seems to have conflicting statutory > duties with regard to data - to enhance British life and businesses by > giving it away, and at the same time to make money out of it. This has > already resulted in some rival iOS apps, some of which sell the data and > some which give it away! > > Graham > Is this the same mob that want ?4,990,000.oo for a CD with all their maps of Britain on it? http://www.youtube.com/watch?v=bXvFnzmzcSU at time 3:58 - 4:12 I'm assuming the for free iOS apps are popular. From lan.kc.macmail at gmail.com Wed Jul 24 02:42:21 2013 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 24 Jul 2013 14:42:21 +0800 Subject: Getting data out of Excel In-Reply-To: <9054B19F-2614-4448-97AF-B6A626AA3304@unimelb.edu.au> References: <9054B19F-2614-4448-97AF-B6A626AA3304@unimelb.edu.au> Message-ID: If you are absolutely sure that the clipboardData["text"] has return represented by six spaces, and tabs by 3 spaces, then: put clipboardData["text"] into tData replace " " with return in tData repace " " with tab in tData Will only take milliseconds to do what you need! How much quicker do you want? On Wed, Jul 24, 2013 at 11:09 AM, Michael Julian Lew < michaell at unimelb.edu.au> wrote: > I'm trying to paste data from MS Excel into a table in my Livecode stack > without success. I suspect that either OSX or Excel have added unwelcome > complications. > > I used to be able to just paste, but nowadays (Excel 2011 Mac OSX 10.7.4) > the data come in as a long string, with six spaces where a return should be > and three where a tab should be. Putting the clipboardData["text"] makes no > difference, and the clipboardData["RTF"] is not what I want. > > I can make it work by copying cells in Excel, then Paste Text Only in > Nisus Writer Pro, then copying and pasting the text from there. > > I can write a function to clean up the clipboardData, but it seems silly > to need to do so. Does anyone have a quick solution? > > Regards, > Michael Lew > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 24 03:13:42 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 24 Jul 2013 03:13:42 -0400 (EDT) Subject: Getting data out of Excel In-Reply-To: References: <9054B19F-2614-4448-97AF-B6A626AA3304@unimelb.edu.au> Message-ID: <8D056547666C415-1F9C-DDF9@webmail-va006.sysops.aol.com> Kay. I think Michael mentioned that he could do the housekeeping. He was wondering why excel padded the data so oddly, So do I. I have seen excel do odd things now and then. But Michael, if you take an excel spreadsheet and copy a few lines of data that each have a few columns, and, say, in a brand new dataGrid set the dgText to the clipboardData, does the info load correctly, with the columns set and all? And if you get the length of the clipBoardData, knowing that each tab and all returns but the last one count as a char, does the value seem right? Craig Newman -----Original Message----- From: Kay C Lan To: How to use LiveCode Sent: Wed, Jul 24, 2013 2:42 am Subject: Re: Getting data out of Excel If you are absolutely sure that the clipboardData["text"] has return represented by six spaces, and tabs by 3 spaces, then: put clipboardData["text"] into tData replace " " with return in tData repace " " with tab in tData Will only take milliseconds to do what you need! How much quicker do you want? On Wed, Jul 24, 2013 at 11:09 AM, Michael Julian Lew < michaell at unimelb.edu.au> wrote: > I'm trying to paste data from MS Excel into a table in my Livecode stack > without success. I suspect that either OSX or Excel have added unwelcome > complications. > > I used to be able to just paste, but nowadays (Excel 2011 Mac OSX 10.7.4) > the data come in as a long string, with six spaces where a return should be > and three where a tab should be. Putting the clipboardData["text"] makes no > difference, and the clipboardData["RTF"] is not what I want. > > I can make it work by copying cells in Excel, then Paste Text Only in > Nisus Writer Pro, then copying and pasting the text from there. > > I can write a function to clean up the clipboardData, but it seems silly > to need to do so. Does anyone have a quick solution? > > Regards, > Michael Lew > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at 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 Jul 24 04:38:54 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 24 Jul 2013 03:38:54 -0500 Subject: Reliable script to handle selection/drag-and-drop in a list field? In-Reply-To: References: <51EEC534.2070503@fourthworld.com> Message-ID: Thanks for pointing out the new messages for behaviors. This versionshould address the following: -- All messages should be "before" or "after" so they won't interfere with your code. -- Clicking on the selection should not change the selection -- previously if you clicked an item that was one of multiple highlighted lines, the others would all be deselected, but then jump back if you dragged. Now the selection remains, ready to be dragged. -- The image of the dragged items in most cases will be positioned as you drag so that the spot you clicked -- whatever item that was -- should be directly under the pointer where it was when you clicked to drag. This doesn't do what I want when the dragged lines are more than will fit in the visible list at one time. I'm still working on that. Let me know what else you find. gc On Tue, Jul 23, 2013 at 5:17 PM, Geoff Canyon wrote: > On Tue, Jul 23, 2013 at 1:02 PM, Richard Gaskin < > ambassador at fourthworld.com> wrote: > >> I wonder if Geoff's script could be revised to use "before mouseDown" or >> "after mouseDown" to allow instances to handle the primary forms of those >> messages without interference? >> > > > I checked, and the appropriate combination of before and after handlers > works great. I want to adjust the positioning of the highlight a bit and > then I'll post an update. > From dave at applicationinsight.com Wed Jul 24 04:41:23 2013 From: dave at applicationinsight.com (Dave Kilroy) Date: Wed, 24 Jul 2013 09:41:23 +0100 Subject: Fwd: File uploading to on-rev.com account with revIgniter References: <89064E98-4650-4558-B0D0-D568F6F2A2E0@applicationinsight.com> Message-ID: <9CF8CBD1-A18F-4AC0-AF7B-4550F624A108@applicationinsight.com> Hello all The problem uploading image files to on-rev (on pancake) using revIgniter and ImageMagick is now fixed. David Williams found that "ImageMagick may have been missing a few dependencies" and must have done a reinstall - anyway - it all works lovely now, thanks David! PS: for others like me who had never heard of ImageMagick before, it is installed by RunRev on each of their on-rev servers... Dave 18 July 2013 17:04:13 GMT+01:00 I wrote: > Thanks Ralf you're a star! > > I'll send an email to support and let the use-list know how I get on? > > Dave > > > On 18 Jul 2013, at 16:59, Ralf Bitter wrote: > >> >> On 18.07.2013, at 15:47, Dave Kilroy wrote: >> >>> But how do you install it? I've had a good poke around www.imagemagick.org and used Google a lot - and it looks like to install with cPanel I'll need to use shell (if I understand correctly) which I don't have access to - so I'm wondering if I have to ask someone from RunRev to install it on my account? >> >> >> I would recommend to send a request to support. >> >>> >>> And once it's installed how do I load and call it from within revIgniter? Or will it 'just work' in the background without needing specific loading/calling? >>> >> >> >> Using the upload library you don't have to deal with imageMagick at all. >> The library does all relevant shell calls regarding imageMagick. >> >> >> Ralf >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From dave at applicationinsight.com Wed Jul 24 05:49:24 2013 From: dave at applicationinsight.com (Dave Kilroy) Date: Wed, 24 Jul 2013 02:49:24 -0700 (PDT) Subject: [semi OT] setting a subdomain in cPanel / on-rev In-Reply-To: References: Message-ID: <1374659363921-4667933.post@n4.nabble.com> Hi jbv You don't mention registering your add-on domain with someone like goDaddy and then changing its DNS settings to the on-rev servers (ns1.on-rev.com and ns2.on-rev.com) - just checking - you've already done this right? I've found that after changing the DNS settings it usually takes a few hours for it to propogate through the Internet although it can take just a couple of minutes up to over a day. I also create sub-domains of main domains via cPanel's interface and would also set the document store folder in something like "public_html/sub-domain.main-domain" Let us know how you get on... Dave -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/semi-OT-setting-a-subdomain-in-cPanel-on-rev-tp4667901p4667933.html Sent from the Revolution - User mailing list archive at Nabble.com. From dave at applicationinsight.com Wed Jul 24 07:59:22 2013 From: dave at applicationinsight.com (Dave Kilroy) Date: Wed, 24 Jul 2013 04:59:22 -0700 (PDT) Subject: possible LiveCode users group for South West England In-Reply-To: <9925A1D7-2CF9-481B-A2A5-862C394FE1D4@applicationinsight.com> References: <9925A1D7-2CF9-481B-A2A5-862C394FE1D4@applicationinsight.com> Message-ID: <1374667162488-4667934.post@n4.nabble.com> Hi all So far I have a total of 3 responses on Doodle http://doodle.com/s3inwq58bh8tq9k2 (thanks John & Nishok) and unless we get some more - or emails making contact - it's looking like there will be not be a LiveCode group in South West England at this time. Dave -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/possible-LiveCode-users-group-for-South-West-England-tp4667772p4667934.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Wed Jul 24 08:37:42 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Jul 2013 05:37:42 -0700 Subject: Getting data out of Excel In-Reply-To: <9054B19F-2614-4448-97AF-B6A626AA3304@unimelb.edu.au> References: <9054B19F-2614-4448-97AF-B6A626AA3304@unimelb.edu.au> Message-ID: <51EFCA96.4060306@fourthworld.com> Michael Julian wrote: > I used to be able to just paste, but nowadays (Excel 2011 Mac OSX > 10.7.4) the data come in as a long string, with six spaces where > a return should be and three where a tab should be. That seems a silly format, even by Microsoft standards (ever looked at the bizarre range of variance among their own CSV export formats? ). For example, what does the format look like if you happen to have three spaces within a cell's data? If you paste into a text editor do you see the same pattern? I'm hoping this is some odd anomaly in LiveCode, rather than one of the lamest design decisions I've ever seen from a company as occasionally smart as Microsoft. Kay C Lan's suggestion should get you going, but I'd be interested to learn if the oddity is on Excel's side or LiveCode's. If LiveCode, please file a bug report. If it would be more convenient to import the file directly, Currey Kenworthy's been working on a nifty library to do that for Excel files - I don't see it on his site yet, but here's the link to his announcement on this list: And if this is just for internal use, here's an alternative that's both free and written by sane people: -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From ambassador at fourthworld.com Wed Jul 24 08:41:20 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Jul 2013 05:41:20 -0700 Subject: [semi OT] setting a subdomain in cPanel / on-rev In-Reply-To: <1374659363921-4667933.post@n4.nabble.com> References: <1374659363921-4667933.post@n4.nabble.com> Message-ID: <51EFCB70.7080701@fourthworld.com> Dave Kilroy wrote: > I've found that after changing the DNS settings it usually takes a few hours > for it to propogate through the Internet although it can take just a couple > of minutes up to over a day. FWIW, when I was moving some domains between hosts a while back I stumbled across this handy site that let's you track DNS propagation globally in real time: Mildly useful, and definitely fun. :) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From ambassador at fourthworld.com Wed Jul 24 08:46:17 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Jul 2013 05:46:17 -0700 Subject: [OT] Free Benchmarking Stuff In-Reply-To: <09F7F935-0170-4153-B929-12816F664B66@gmail.com> References: <09F7F935-0170-4153-B929-12816F664B66@gmail.com> Message-ID: <51EFCC99.4060507@fourthworld.com> Peter M. Brigham wrote: > Richard Gaskin's old stack 4W_RevBench.rev is helpful here. Allows > you to compare the speed of two different solutions to a problem. > I use it periodically when efficiency questions come up. Thanks for the kind words, Peter. 4W RevBench is available in the Stacks section of RevNet - in the IDE see Development->Plugins->GoRevNet I also added an article to LiveCode Journal that goes into benchmarking in a little more detail: Benchmarking Performance in 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 andre.bisseret at wanadoo.fr Wed Jul 24 08:52:38 2013 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Wed, 24 Jul 2013 14:52:38 +0200 Subject: How to manage file name containing a date with / In-Reply-To: References: <8449AD1E-78C2-419B-84A2-1AE361614397@wanadoo.fr> <9BF32FEE-F4DE-406F-B53A-07A5AFE14FE8@wanadoo.fr> <12B8F0FA-20C9-4A52-8979-EE2732D7225B@swcp.com> <08851787-D27B-413E-8D33-F456F37C2402@swcp.com> <16286533715.20130722093214@ahsoftware.net> <2B408473-EADB-40DF-B8AD-6F4FF065D1BE@swcp.com> <51ED8A74.1020503@hyperactivesw.com> <838061DD-E883-487E-9FB3-5F4D004EE272@wanadoo.fr> Message-ID: <2A22EA92-07C8-44A5-98DE-3672F1C45429@wanadoo.fr> Thanks you very much Mark and Thomas. I was set to finding what character was hidden under this bizarre "dot"! Thanks to you two I am changing my mind and I will rename the files. If the doctor was to be working still for years I would adopt the suggestion from Thomas: changing the names of all the files in the big "DOCS BASE" But as he is retiring in a few months, and the app he is using works very well on his mac, i think I will keep the main app as it is and adopt the solution suggested by Mark for the new small app : just changing the filenames in the script of the button "create transfer folder". such as the new doctors get the expected behavior if they are working on Windows. Also thanks to the others who paid attention to my problem. A special "thank you" to Dar for his kind patience! Andr? Le 23 juil. 2013 ? 21:11, Mark Wieder a ?crit : > Andr?- > > Tuesday, July 23, 2013, 11:26:43 AM, you wrote: > >> One click on a specific button "create transfert folder" create >> the folder that will be dragged on the USB key of the patient > > My guess on this: > > in the script of that button, transform the filenames into something > less troublesome, probably converting the slashes to underscores, in > the folder on the usb drive and set the TitreDuDoc property of the > appropriate image. That way your standalone app on whatever platform > will be able to load the documents, and the original documents in the > "DOCS BASE" folder can keep the original names. > > -- > -Mark Wieder Le 23 juil. 2013 ? 21:13, Thomas McGrath III a ?crit : > Andr? > > I don't know how to make windows recognize the "/" but you are in luck that the Mac can see them. > > Others might have a better approach but if it were my project I would 'bite the bullet' as it were and build a quick and dirty tool in LC on the Mac and rename/fix all of those file names at once and then include them with the app so you can move on to writing your main app for the client. A pain but doable and once done you don't have to deal with this again. > > if tFilename contains "/" then replace "/" with "_" in tFilename -- should do the trick when processing each line of the files in folder "DOCS BASE" > > Wish you luck on this > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On Jul 23, 2013, at 2:26 PM, Andr? Bisseret wrote: > >> Thanks a lot Thomas for your precise questions; that help me a lot to better explain my problem. >> That's what I am trying below. > > From Mark_Smith at cpe.umanitoba.ca Wed Jul 24 09:54:45 2013 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Wed, 24 Jul 2013 06:54:45 -0700 (PDT) Subject: 5.5.5 linking problem In-Reply-To: References: <1374457184771-4667839.post@n4.nabble.com> <360B5D49-9012-4BE3-BE5D-0EF27AED8534@elementarysoftware.com> <1374545414975-4667881.post@n4.nabble.com> Message-ID: <1374674085516-4667939.post@n4.nabble.com> Hi Scott, yes I am. I am using some of Monte's externals. Is that the problem? Thanks Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/5-5-5-linking-problem-tp4667839p4667939.html Sent from the Revolution - User mailing list archive at Nabble.com. From andrew at ctech.me Wed Jul 24 11:39:42 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Wed, 24 Jul 2013 10:39:42 -0500 Subject: Easier Dropbox Access Message-ID: Heya, A while back someone posted a library for interacting with dropbox. This required using revbrowser to authenticate to a dropbox account. Is there any way to use this or something like this to use the http interface for uploading files to dropbox using just an access token or a key without requiring the user to login via revBrowser? -- Regards, Andrew Kluthe andrew at ctech.me From MikeKerner at roadrunner.com Wed Jul 24 12:00:44 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 24 Jul 2013 12:00:44 -0400 Subject: Easier Dropbox Access In-Reply-To: References: Message-ID: Yep. Gugliermo's phx_dropboxLib works great on all platforms, using the REST API, and on mobile, Monte has an external that does not rely on REST. On Wed, Jul 24, 2013 at 11:39 AM, Andrew Kluthe wrote: > Heya, > > A while back someone posted a library for interacting with dropbox. > > This required using revbrowser to authenticate to a dropbox account. > > Is there any way to use this or something like this to use the http > interface for uploading files to dropbox using just an access token or a > key without requiring the user to login via revBrowser? > > -- > 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 > -- 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 Wed Jul 24 12:02:13 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 24 Jul 2013 12:02:13 -0400 Subject: Easier Dropbox Access In-Reply-To: References: Message-ID: Which reminds me, I have another fix that I sent Gugliermo for the phx_dropboxLib over the weekend, so if you're using it, email me off-list and I'll send you the fixes. On Wed, Jul 24, 2013 at 12:00 PM, Mike Kerner wrote: > Yep. Gugliermo's phx_dropboxLib works great on all platforms, using the > REST API, and on mobile, Monte has an external that does not rely on REST. > > > On Wed, Jul 24, 2013 at 11:39 AM, Andrew Kluthe wrote: > >> Heya, >> >> A while back someone posted a library for interacting with dropbox. >> >> This required using revbrowser to authenticate to a dropbox account. >> >> Is there any way to use this or something like this to use the http >> interface for uploading files to dropbox using just an access token or a >> key without requiring the user to login via revBrowser? >> >> -- >> 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 >> > > > > -- > 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 andrew at ctech.me Wed Jul 24 12:10:48 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Wed, 24 Jul 2013 11:10:48 -0500 Subject: Easier Dropbox Access In-Reply-To: References: Message-ID: Is there anyway to include a set of permanent access tokens in that library? When I played around with it a few weeks ago it seemed like it required using revBrowser to authenticate access. I am trying to avoid the need to do that. Regards, Andrew On Wed, Jul 24, 2013 at 11:02 AM, Mike Kerner wrote: > Which reminds me, I have another fix that I sent Gugliermo for the > phx_dropboxLib over the weekend, so if you're using it, email me off-list > and I'll send you the fixes. > > > On Wed, Jul 24, 2013 at 12:00 PM, Mike Kerner >wrote: > > > Yep. Gugliermo's phx_dropboxLib works great on all platforms, using the > > REST API, and on mobile, Monte has an external that does not rely on > REST. > > > > > > On Wed, Jul 24, 2013 at 11:39 AM, Andrew Kluthe wrote: > > > >> Heya, > >> > >> A while back someone posted a library for interacting with dropbox. > >> > >> This required using revbrowser to authenticate to a dropbox account. > >> > >> Is there any way to use this or something like this to use the http > >> interface for uploading files to dropbox using just an access token or a > >> key without requiring the user to login via revBrowser? > >> > >> -- > >> 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 > >> > > > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From MikeKerner at roadrunner.com Wed Jul 24 12:21:17 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 24 Jul 2013 12:21:17 -0400 Subject: Easier Dropbox Access In-Reply-To: References: Message-ID: I didn't write it, but you have to get the app authorized for the user. I thought there was a command for that. I've never used revBrowser, but I got it up and running for several apps (though it has been a couple of months since I last authorized a new app, so I'd have to mess with it to figure out the process again). On Wed, Jul 24, 2013 at 12:10 PM, Andrew Kluthe wrote: > Is there anyway to include a set of permanent access tokens in that > library? When I played around with it a few weeks ago it seemed like it > required using revBrowser to authenticate access. > > I am trying to avoid the need to do that. > > Regards, > > Andrew > > > On Wed, Jul 24, 2013 at 11:02 AM, Mike Kerner >wrote: > > > Which reminds me, I have another fix that I sent Gugliermo for the > > phx_dropboxLib over the weekend, so if you're using it, email me off-list > > and I'll send you the fixes. > > > > > > On Wed, Jul 24, 2013 at 12:00 PM, Mike Kerner > >wrote: > > > > > Yep. Gugliermo's phx_dropboxLib works great on all platforms, using > the > > > REST API, and on mobile, Monte has an external that does not rely on > > REST. > > > > > > > > > On Wed, Jul 24, 2013 at 11:39 AM, Andrew Kluthe > wrote: > > > > > >> Heya, > > >> > > >> A while back someone posted a library for interacting with dropbox. > > >> > > >> This required using revbrowser to authenticate to a dropbox account. > > >> > > >> Is there any way to use this or something like this to use the http > > >> interface for uploading files to dropbox using just an access token > or a > > >> key without requiring the user to login via revBrowser? > > >> > > >> -- > > >> 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 > > >> > > > > > > > > > > > > -- > > > On the first day, God created the heavens and the Earth > > > On the second day, God created the oceans. > > > On the third day, God put the animals on hold for a few hours, > > > and did a little diving. > > > And God said, "This is good." > > > > > > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > 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 > -- 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 Wed Jul 24 12:21:52 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 24 Jul 2013 12:21:52 -0400 Subject: Easier Dropbox Access In-Reply-To: References: Message-ID: By "IT", I mean the library. On Wed, Jul 24, 2013 at 12:21 PM, Mike Kerner wrote: > I didn't write it, but you have to get the app authorized for the user. I > thought there was a command for that. I've never used revBrowser, but I > got it up and running for several apps (though it has been a couple of > months since I last authorized a new app, so I'd have to mess with it to > figure out the process again). > > > > On Wed, Jul 24, 2013 at 12:10 PM, Andrew Kluthe wrote: > >> Is there anyway to include a set of permanent access tokens in that >> library? When I played around with it a few weeks ago it seemed like it >> required using revBrowser to authenticate access. >> >> I am trying to avoid the need to do that. >> >> Regards, >> >> Andrew >> >> >> On Wed, Jul 24, 2013 at 11:02 AM, Mike Kerner > >wrote: >> >> > Which reminds me, I have another fix that I sent Gugliermo for the >> > phx_dropboxLib over the weekend, so if you're using it, email me >> off-list >> > and I'll send you the fixes. >> > >> > >> > On Wed, Jul 24, 2013 at 12:00 PM, Mike Kerner < >> MikeKerner at roadrunner.com >> > >wrote: >> > >> > > Yep. Gugliermo's phx_dropboxLib works great on all platforms, using >> the >> > > REST API, and on mobile, Monte has an external that does not rely on >> > REST. >> > > >> > > >> > > On Wed, Jul 24, 2013 at 11:39 AM, Andrew Kluthe >> wrote: >> > > >> > >> Heya, >> > >> >> > >> A while back someone posted a library for interacting with dropbox. >> > >> >> > >> This required using revbrowser to authenticate to a dropbox account. >> > >> >> > >> Is there any way to use this or something like this to use the http >> > >> interface for uploading files to dropbox using just an access token >> or a >> > >> key without requiring the user to login via revBrowser? >> > >> >> > >> -- >> > >> 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 >> > >> >> > > >> > > >> > > >> > > -- >> > > On the first day, God created the heavens and the Earth >> > > On the second day, God created the oceans. >> > > On the third day, God put the animals on hold for a few hours, >> > > and did a little diving. >> > > And God said, "This is good." >> > > >> > >> > >> > >> > -- >> > On the first day, God created the heavens and the Earth >> > On the second day, God created the oceans. >> > On the third day, God put the animals on hold for a few hours, >> > and did a little diving. >> > And God said, "This is good." >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> >> >> >> -- >> 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 >> > > > > -- > 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 mwieder at ahsoftware.net Wed Jul 24 12:25:18 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 24 Jul 2013 09:25:18 -0700 Subject: Another free HTML5 course Message-ID: <62157142411.20130724092518@ahsoftware.net> LinkedIn notified me of another free HTML5 course. There look to be a lot of annoying typos, but from the preview videos it seems to cover a lot of ground. http://eduonix.com/affiliates/aff-Offer-HTML5_free.html -- -Mark Wieder mwieder at ahsoftware.net From bogdanoff at me.com Wed Jul 24 12:29:13 2013 From: bogdanoff at me.com (Peter Bogdanoff) Date: Wed, 24 Jul 2013 09:29:13 -0700 Subject: Setting up LC Server on Dreamhost In-Reply-To: References: <024A4A18-F8FA-4AF0-919E-9B2DBFA00E16@me.com> Message-ID: <62668EED-6EFC-4463-83CE-7D605E8BC490@me.com> Thanks, Stephen. Following your example, I changed the permissions and then moved the .htaccess file to the right directory. Now I see the HTML source displayed in the browser. Is the Dreamhost configuration set up by default to use .htaccess files? Or do I need to contact their tech support? I see from the Apache website that .htaccess files are not ideal; better to change the server main configuration file. Can I do that with Dreamhost? We moved to a dedicated server because of performance issues--a shared server on GoDaddy was too slow serving simultaneous audio files. Peter On Jul 23, 2013, at 5:56 PM, stephen barncard wrote: > a dedicated server is not required - the .htaccess method works with shared > servers at DH. > > a lot of options are available using htaccess. > > > On Tue, Jul 23, 2013 at 5:44 PM, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > >> >> On Tue, Jul 23, 2013 at 3:34 PM, Peter Bogdanoff wrote: >> >>> Can anyone give me give me pointers or send me somewhere...? >> >> >> you probably need to set the permissions. >> >> http://fulton.barncard.com/downloads/LIVECODE_SERVER_SETUP.pdf >> >> >> -- >> >> >> >> Stephen Barncard >> San Francisco Ca. USA >> >> more about sqb >> > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andrew at ctech.me Wed Jul 24 12:32:43 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Wed, 24 Jul 2013 11:32:43 -0500 Subject: Easier Dropbox Access In-Reply-To: References: Message-ID: Right, weird. I downloaded and the example stack loaded dropbox's page in a revBrowser to get the OAuth tokens. What I want is to authorize it once on my end and let some of my users use it without additional interaction. I suppose I'll try hacking at it and seeing what I can come up with. I just don't know if the access tokens expire after a particular length of time. I suppose I'll just have to experiment. I'll contact you offlist for the updated version of the library you mentioned. On Wed, Jul 24, 2013 at 11:21 AM, Mike Kerner wrote: > By "IT", I mean the library. > > > On Wed, Jul 24, 2013 at 12:21 PM, Mike Kerner >wrote: > > > I didn't write it, but you have to get the app authorized for the user. > I > > thought there was a command for that. I've never used revBrowser, but I > > got it up and running for several apps (though it has been a couple of > > months since I last authorized a new app, so I'd have to mess with it to > > figure out the process again). > > > > > > > > On Wed, Jul 24, 2013 at 12:10 PM, Andrew Kluthe wrote: > > > >> Is there anyway to include a set of permanent access tokens in that > >> library? When I played around with it a few weeks ago it seemed like it > >> required using revBrowser to authenticate access. > >> > >> I am trying to avoid the need to do that. > >> > >> Regards, > >> > >> Andrew > >> > >> > >> On Wed, Jul 24, 2013 at 11:02 AM, Mike Kerner < > MikeKerner at roadrunner.com > >> >wrote: > >> > >> > Which reminds me, I have another fix that I sent Gugliermo for the > >> > phx_dropboxLib over the weekend, so if you're using it, email me > >> off-list > >> > and I'll send you the fixes. > >> > > >> > > >> > On Wed, Jul 24, 2013 at 12:00 PM, Mike Kerner < > >> MikeKerner at roadrunner.com > >> > >wrote: > >> > > >> > > Yep. Gugliermo's phx_dropboxLib works great on all platforms, using > >> the > >> > > REST API, and on mobile, Monte has an external that does not rely on > >> > REST. > >> > > > >> > > > >> > > On Wed, Jul 24, 2013 at 11:39 AM, Andrew Kluthe > >> wrote: > >> > > > >> > >> Heya, > >> > >> > >> > >> A while back someone posted a library for interacting with dropbox. > >> > >> > >> > >> This required using revbrowser to authenticate to a dropbox > account. > >> > >> > >> > >> Is there any way to use this or something like this to use the http > >> > >> interface for uploading files to dropbox using just an access token > >> or a > >> > >> key without requiring the user to login via revBrowser? > >> > >> > >> > >> -- > >> > >> 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 > >> > >> > >> > > > >> > > > >> > > > >> > > -- > >> > > On the first day, God created the heavens and the Earth > >> > > On the second day, God created the oceans. > >> > > On the third day, God put the animals on hold for a few hours, > >> > > and did a little diving. > >> > > And God said, "This is good." > >> > > > >> > > >> > > >> > > >> > -- > >> > On the first day, God created the heavens and the Earth > >> > On the second day, God created the oceans. > >> > On the third day, God put the animals on hold for a few hours, > >> > and did a little diving. > >> > And God said, "This is good." > >> > _______________________________________________ > >> > use-livecode mailing list > >> > use-livecode at lists.runrev.com > >> > Please visit this url to subscribe, unsubscribe and manage your > >> > subscription preferences: > >> > http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > >> > >> > >> > >> -- > >> 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 > >> > > > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From MikeKerner at roadrunner.com Wed Jul 24 13:33:25 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 24 Jul 2013 13:33:25 -0400 Subject: Easier Dropbox Access In-Reply-To: References: Message-ID: As I read through the docs, I forgot that (unfortunately) you do need to have the user go to a browser somehow to authorize the app. You don't need to use revBrowser to do that, though. -- 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 Wed Jul 24 14:18:49 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 24 Jul 2013 11:18:49 -0700 Subject: Setting up LC Server on Dreamhost In-Reply-To: <62668EED-6EFC-4463-83CE-7D605E8BC490@me.com> References: <024A4A18-F8FA-4AF0-919E-9B2DBFA00E16@me.com> <62668EED-6EFC-4463-83CE-7D605E8BC490@me.com> Message-ID: Andre and I have only been able to get LCS to work at each domain level, not the server level. There are TWO .htaccess files, btw. Email me directly for my successful versions. The location and installation of Apache is somewhat mysterious and appears to be virtualized or changed in some way by DH, inaccessible to us. Perhaps you could enlist Dreamhost support to help you make the changes you need, and even get LC support involved. This would help you and also help evangelize the platform, as it could be offered in the same way that MySQL, PHP, etc is offered currently at Dreamhost. I would love to see a way to make one installation of LC Server work on all my sites, but I'm also happy with the performance of the product used in this (htaccess) way. On Wed, Jul 24, 2013 at 9:29 AM, Peter Bogdanoff wrote: > Thanks, Stephen. > > Following your example, I changed the permissions and then moved the > .htaccess file to the right directory. > > Now I see the HTML source displayed in the browser. Is the Dreamhost > configuration set up by default to use .htaccess files? Or do I need to > contact their tech support? > > I see from the Apache website that .htaccess files are not ideal; better > to change the server main configuration file. Can I do that with Dreamhost? > > We moved to a dedicated server because of performance issues--a shared > server on GoDaddy was too slow serving simultaneous audio files. > > Peter > > On Jul 23, 2013, at 5:56 PM, stephen barncard wrote: > > > a dedicated server is not required - the .htaccess method works with > shared > > servers at DH. > > > > a lot of options are available using htaccess. > > > > > > On Tue, Jul 23, 2013 at 5:44 PM, stephen barncard < > > stephenREVOLUTION2 at barncard.com> wrote: > > > >> > >> On Tue, Jul 23, 2013 at 3:34 PM, Peter Bogdanoff > wrote: > >> > >>> Can anyone give me give me pointers or send me somewhere...? > >> > >> > >> you probably need to set the permissions. > >> > >> http://fulton.barncard.com/downloads/LIVECODE_SERVER_SETUP.pdf > >> > >> > >> -- > >> > >> > >> > >> Stephen Barncard > >> San Francisco Ca. USA > >> > >> more about sqb > >> > > > > > > > > -- > > > > > > > > Stephen Barncard > > San Francisco Ca. USA > > > > more about sqb > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From ambassador at fourthworld.com Wed Jul 24 14:29:04 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Jul 2013 11:29:04 -0700 Subject: Setting up LC Server on Dreamhost In-Reply-To: <62668EED-6EFC-4463-83CE-7D605E8BC490@me.com> References: <62668EED-6EFC-4463-83CE-7D605E8BC490@me.com> Message-ID: <51F01CF0.3020507@fourthworld.com> Peter Bogdanoff wrote: > I see from the Apache website that .htaccess files are not ideal; > better to change the server main configuration file. Do you recall what their complaints were? URL? -- 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 bogdanoff at me.com Wed Jul 24 14:41:16 2013 From: bogdanoff at me.com (Peter Bogdanoff) Date: Wed, 24 Jul 2013 11:41:16 -0700 Subject: Setting up LC Server on Dreamhost In-Reply-To: <51F01CF0.3020507@fourthworld.com> References: <62668EED-6EFC-4463-83CE-7D605E8BC490@me.com> <51F01CF0.3020507@fourthworld.com> Message-ID: "You should avoid using .htaccess files completely if you have access to httpd main server config file. Using .htaccess files slows down your Apache http server. Any directive that you can include in a .htaccess file is better set in a Directory block, as it will have the same effect with better performance." http://httpd.apache.org/docs/current/howto/htaccess.html On Jul 24, 2013, at 11:29 AM, Richard Gaskin wrote: > Peter Bogdanoff wrote: > > > I see from the Apache website that .htaccess files are not ideal; > > better to change the server main configuration file. > > Do you recall what their complaints were? URL? > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dave at applicationinsight.com Wed Jul 24 14:46:29 2013 From: dave at applicationinsight.com (Dave Kilroy) Date: Wed, 24 Jul 2013 11:46:29 -0700 (PDT) Subject: Easier Dropbox Access In-Reply-To: References: Message-ID: <1374691589517-4667953.post@n4.nabble.com> I'm also using Guglielmo's library and save Dropbox token key and secret to a SQLite database and the app key and secret as a custom property of the stack. Reconnecting to Dropbox on subsequent openings of the app doesn't require a browser - and the tokens can be sent to another user of the app so that instance of the app can synch to the same Dropbox account. But as far as I know there is no way around visiting Dropbox initially in a browser (I do it inside the app) for the initial connection and authorisation - but once tokens saved no need to do so again. get phx_DropboxInitLib(gAppKey, gAppSec, gTokenkey, gTokenSec) By the way, a while ago I had an issue connecting to Dropbox from an iPad (HTTP POST) see here I tried but failed to get HTTP POST (used by Guglielmo for connecting from mobiles) to write files anywhere but the root sandboxed folder for the file... Mike what do your library improvements concern? Anyway I'm interested so please post back with a link or contact me directly Dave -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Easier-Dropbox-Access-tp4667940p4667953.html Sent from the Revolution - User mailing list archive at Nabble.com. From effendi at wanadoo.fr Wed Jul 24 14:51:23 2013 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Wed, 24 Jul 2013 20:51:23 +0200 Subject: Colouring a circle and its segments Message-ID: <6F4100A2-0F77-4073-84A8-37F69DD8F23D@wanadoo.fr> Hi from Beautiful Brittany, Strange, can't find these answers on the Internet, and I have tried all the colour instructions to no avail. 1 - How do you colour a circle (graphic) ? 2 - How do you colour a segment of this circle ? Answers welcome ?? -Francis "Nothing should ever be done for the first time !" From MikeKerner at roadrunner.com Wed Jul 24 14:56:10 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 24 Jul 2013 14:56:10 -0400 Subject: Easier Dropbox Access In-Reply-To: <1374691589517-4667953.post@n4.nabble.com> References: <1374691589517-4667953.post@n4.nabble.com> Message-ID: Dave, Yes, I found exactly the same problem you did for mobile, because of the way Gugliermo wrote the POST portion of the code, which is the method required for mobile. That is the fix I made over the weekend and sent to Gugliermo. I'll send it to you in a second. On Wed, Jul 24, 2013 at 2:46 PM, Dave Kilroy wrote: > I'm also using Guglielmo's library and save Dropbox token key and secret > to a > SQLite database and the app key and secret as a custom property of the > stack. Reconnecting to Dropbox on subsequent openings of the app doesn't > require a browser - and the tokens can be sent to another user of the app > so > that instance of the app can synch to the same Dropbox account. > > But as far as I know there is no way around visiting Dropbox initially in a > browser (I do it inside the app) for the initial connection and > authorisation - but once tokens saved no need to do so again. > > get phx_DropboxInitLib(gAppKey, gAppSec, gTokenkey, gTokenSec) > > By the way, a while ago I had an issue connecting to Dropbox from an iPad > (HTTP POST) see here > < > http://runtime-revolution.278305.n4.nabble.com/Dropbox-phxDropboxLib-and-HTTP-POST-td4666700.html > > > I tried but failed to get HTTP POST (used by Guglielmo for connecting from > mobiles) to write files anywhere but the root sandboxed folder for the > file... > > Mike what do your library improvements concern? Anyway I'm interested so > please post back with a link or contact me directly > > Dave > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Easier-Dropbox-Access-tp4667940p4667953.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Wed Jul 24 14:56:10 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 24 Jul 2013 14:56:10 -0400 Subject: Easier Dropbox Access In-Reply-To: <1374691589517-4667953.post@n4.nabble.com> References: <1374691589517-4667953.post@n4.nabble.com> Message-ID: Dave, Yes, I found exactly the same problem you did for mobile, because of the way Gugliermo wrote the POST portion of the code, which is the method required for mobile. That is the fix I made over the weekend and sent to Gugliermo. I'll send it to you in a second. On Wed, Jul 24, 2013 at 2:46 PM, Dave Kilroy wrote: > I'm also using Guglielmo's library and save Dropbox token key and secret > to a > SQLite database and the app key and secret as a custom property of the > stack. Reconnecting to Dropbox on subsequent openings of the app doesn't > require a browser - and the tokens can be sent to another user of the app > so > that instance of the app can synch to the same Dropbox account. > > But as far as I know there is no way around visiting Dropbox initially in a > browser (I do it inside the app) for the initial connection and > authorisation - but once tokens saved no need to do so again. > > get phx_DropboxInitLib(gAppKey, gAppSec, gTokenkey, gTokenSec) > > By the way, a while ago I had an issue connecting to Dropbox from an iPad > (HTTP POST) see here > < > http://runtime-revolution.278305.n4.nabble.com/Dropbox-phxDropboxLib-and-HTTP-POST-td4666700.html > > > I tried but failed to get HTTP POST (used by Guglielmo for connecting from > mobiles) to write files anywhere but the root sandboxed folder for the > file... > > Mike what do your library improvements concern? Anyway I'm interested so > please post back with a link or contact me directly > > Dave > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Easier-Dropbox-Access-tp4667940p4667953.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From ambassador at fourthworld.com Wed Jul 24 15:07:57 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Jul 2013 12:07:57 -0700 Subject: Setting up LC Server on Dreamhost In-Reply-To: References: Message-ID: <51F0260D.5060106@fourthworld.com> Peter Bogdanoff wrote: > "You should avoid using .htaccess files completely if you have access > to httpd main server config file. Using .htaccess files slows down > your Apache http server. Any directive that you can include in a > .htaccess file is better set in a Directory block, as it will have > the same effect with better performance." > > http://httpd.apache.org/docs/current/howto/htaccess.html Makes sense. Thanks for the link. I'll bet the performance difference is pretty low, though, probably not even noticeable until you reach a traffic level where moving to a dedicated server makes sense for other reasons. I haven't used a dedicated server at DH myself, but I've used the instructions provided in the LiveCode package to set up my own servers here and they've worked out well. What issues did you run into modding the Apache config file? -- 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 paulhibbert at mac.com Wed Jul 24 15:36:11 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Wed, 24 Jul 2013 12:36:11 -0700 Subject: Colouring a circle and its segments In-Reply-To: <6F4100A2-0F77-4073-84A8-37F69DD8F23D@wanadoo.fr> References: <6F4100A2-0F77-4073-84A8-37F69DD8F23D@wanadoo.fr> Message-ID: Hi from Super, Natural, Vancouver Island, Some answers: set the opaque of grc "myCircle" to true -- Make the graphic opaque to see the colour set the backColor of grc "myCircle" to "orange" -- Colour the graphic in orange, or you could use RGB colours e.g. 248,128,23 set the startAngle of grc "myCircle" to "60" -- Rotates the start point of the graphic anti clockwise by 60 degrees set the arcAngle of grc "myCircle" to "30" -- Changes the graphic circle to a 30 degree Arc HTH Paul On 2013-07-24, at 11:51 AM, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > Strange, can't find these answers on the Internet, > and I have tried all the colour instructions to no avail. > > 1 - How do you colour a circle (graphic) ? > 2 - How do you colour a segment of this circle ? > > Answers welcome ?? > > -Francis > > "Nothing should ever be done for the first 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 MikeKerner at roadrunner.com Wed Jul 24 15:45:37 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 24 Jul 2013 15:45:37 -0400 Subject: Easier Dropbox Access In-Reply-To: References: <1374691589517-4667953.post@n4.nabble.com> Message-ID: I just heard from Gugliermo. He's out this week, but will be working on the new version next week. On Wed, Jul 24, 2013 at 2:56 PM, Mike Kerner wrote: > Dave, > Yes, I found exactly the same problem you did for mobile, because of the > way Gugliermo wrote the POST portion of the code, which is the method > required for mobile. That is the fix I made over the weekend and sent to > Gugliermo. I'll send it to you in a second. > > > On Wed, Jul 24, 2013 at 2:46 PM, Dave Kilroy wrote: > >> I'm also using Guglielmo's library and save Dropbox token key and secret >> to a >> SQLite database and the app key and secret as a custom property of the >> stack. Reconnecting to Dropbox on subsequent openings of the app doesn't >> require a browser - and the tokens can be sent to another user of the app >> so >> that instance of the app can synch to the same Dropbox account. >> >> But as far as I know there is no way around visiting Dropbox initially in >> a >> browser (I do it inside the app) for the initial connection and >> authorisation - but once tokens saved no need to do so again. >> >> get phx_DropboxInitLib(gAppKey, gAppSec, gTokenkey, gTokenSec) >> >> By the way, a while ago I had an issue connecting to Dropbox from an iPad >> (HTTP POST) see here >> < >> http://runtime-revolution.278305.n4.nabble.com/Dropbox-phxDropboxLib-and-HTTP-POST-td4666700.html >> > >> I tried but failed to get HTTP POST (used by Guglielmo for connecting from >> mobiles) to write files anywhere but the root sandboxed folder for the >> file... >> >> Mike what do your library improvements concern? Anyway I'm interested so >> please post back with a link or contact me directly >> >> Dave >> >> >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/Easier-Dropbox-Access-tp4667940p4667953.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- 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 Wed Jul 24 15:45:37 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 24 Jul 2013 15:45:37 -0400 Subject: Easier Dropbox Access In-Reply-To: References: <1374691589517-4667953.post@n4.nabble.com> Message-ID: I just heard from Gugliermo. He's out this week, but will be working on the new version next week. On Wed, Jul 24, 2013 at 2:56 PM, Mike Kerner wrote: > Dave, > Yes, I found exactly the same problem you did for mobile, because of the > way Gugliermo wrote the POST portion of the code, which is the method > required for mobile. That is the fix I made over the weekend and sent to > Gugliermo. I'll send it to you in a second. > > > On Wed, Jul 24, 2013 at 2:46 PM, Dave Kilroy wrote: > >> I'm also using Guglielmo's library and save Dropbox token key and secret >> to a >> SQLite database and the app key and secret as a custom property of the >> stack. Reconnecting to Dropbox on subsequent openings of the app doesn't >> require a browser - and the tokens can be sent to another user of the app >> so >> that instance of the app can synch to the same Dropbox account. >> >> But as far as I know there is no way around visiting Dropbox initially in >> a >> browser (I do it inside the app) for the initial connection and >> authorisation - but once tokens saved no need to do so again. >> >> get phx_DropboxInitLib(gAppKey, gAppSec, gTokenkey, gTokenSec) >> >> By the way, a while ago I had an issue connecting to Dropbox from an iPad >> (HTTP POST) see here >> < >> http://runtime-revolution.278305.n4.nabble.com/Dropbox-phxDropboxLib-and-HTTP-POST-td4666700.html >> > >> I tried but failed to get HTTP POST (used by Guglielmo for connecting from >> mobiles) to write files anywhere but the root sandboxed folder for the >> file... >> >> Mike what do your library improvements concern? Anyway I'm interested so >> please post back with a link or contact me directly >> >> Dave >> >> >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/Easier-Dropbox-Access-tp4667940p4667953.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- 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 scott at tactilemedia.com Wed Jul 24 16:04:22 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 24 Jul 2013 13:04:22 -0700 Subject: Colouring a circle and its segments In-Reply-To: Message-ID: You can also create the effect of colorizing a "slice" of an oval graphic -- like a pie chart -- by using a conical fillGradient. This allows you to display the complete circle in one color, and the slice in another color. Ex: http://tinyurl.com/l6gkyqm Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 7/24/13 12:36 PM, "Paul Hibbert" wrote: >Hi from Super, Natural, Vancouver Island, > >Some answers: > > set the opaque of grc "myCircle" to true -- Make the graphic opaque to >see the colour > set the backColor of grc "myCircle" to "orange" -- Colour the graphic >in orange, or you could use RGB colours e.g. 248,128,23 > set the startAngle of grc "myCircle" to "60" -- Rotates the start point >of the graphic anti clockwise by 60 degrees > set the arcAngle of grc "myCircle" to "30" -- Changes the graphic >circle to a 30 degree Arc > >HTH > >Paul > >On 2013-07-24, at 11:51 AM, Francis Nugent Dixon wrote: > >> Hi from Beautiful Brittany, >> >> Strange, can't find these answers on the Internet, >> and I have tried all the colour instructions to no avail. >> >> 1 - How do you colour a circle (graphic) ? >> 2 - How do you colour a segment of this circle ? >> >> Answers welcome ?? >> >> -Francis >> >> "Nothing should ever be done for the first 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 > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From andrew at ctech.me Wed Jul 24 16:15:56 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Wed, 24 Jul 2013 15:15:56 -0500 Subject: Easier Dropbox Access In-Reply-To: References: <1374691589517-4667953.post@n4.nabble.com> Message-ID: I'll probably wait till next week because that is when i planned to work on it anyhow. Dave cleared that up, all our applications using this will be used in house so the occasional re connection isn't a problem but I thought we had to do that each time the application was opened. Thanks for the info, Andrew K On Wed, Jul 24, 2013 at 2:45 PM, Mike Kerner wrote: > I just heard from Gugliermo. He's out this week, but will be working on > the new version next week. > > > On Wed, Jul 24, 2013 at 2:56 PM, Mike Kerner >wrote: > > > Dave, > > Yes, I found exactly the same problem you did for mobile, because of the > > way Gugliermo wrote the POST portion of the code, which is the method > > required for mobile. That is the fix I made over the weekend and sent to > > Gugliermo. I'll send it to you in a second. > > > > > > On Wed, Jul 24, 2013 at 2:46 PM, Dave Kilroy < > dave at applicationinsight.com>wrote: > > > >> I'm also using Guglielmo's library and save Dropbox token key and secret > >> to a > >> SQLite database and the app key and secret as a custom property of the > >> stack. Reconnecting to Dropbox on subsequent openings of the app doesn't > >> require a browser - and the tokens can be sent to another user of the > app > >> so > >> that instance of the app can synch to the same Dropbox account. > >> > >> But as far as I know there is no way around visiting Dropbox initially > in > >> a > >> browser (I do it inside the app) for the initial connection and > >> authorisation - but once tokens saved no need to do so again. > >> > >> get phx_DropboxInitLib(gAppKey, gAppSec, gTokenkey, gTokenSec) > >> > >> By the way, a while ago I had an issue connecting to Dropbox from an > iPad > >> (HTTP POST) see here > >> < > >> > http://runtime-revolution.278305.n4.nabble.com/Dropbox-phxDropboxLib-and-HTTP-POST-td4666700.html > >> > > >> I tried but failed to get HTTP POST (used by Guglielmo for connecting > from > >> mobiles) to write files anywhere but the root sandboxed folder for the > >> file... > >> > >> Mike what do your library improvements concern? Anyway I'm interested so > >> please post back with a link or contact me directly > >> > >> Dave > >> > >> > >> > >> -- > >> View this message in context: > >> > http://runtime-revolution.278305.n4.nabble.com/Easier-Dropbox-Access-tp4667940p4667953.html > >> Sent from the Revolution - User mailing list archive at Nabble.com. > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > > > > > -- > 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 > -- Regards, Andrew Kluthe andrew at ctech.me From bleiler at buffalo.edu Wed Jul 24 18:24:09 2013 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Wed, 24 Jul 2013 18:24:09 -0400 Subject: Problems with Padding and the Properties In-Reply-To: <51EFCC99.4060507@fourthworld.com> References: <09F7F935-0170-4153-B929-12816F664B66@gmail.com> <51EFCC99.4060507@fourthworld.com> Message-ID: I'm running into some problems with the padding property. I'm not familiar with it and haven't used it but it's being returned with the Properties of fields of all types and is causing me some trouble. Here are the problems: When I get the properties of a field, the padding is included but appears to be the rect of the field. If I try to get the padding of the field directly i.e. get the padding of fld 1 - I get the message "the object does not have this property" It looks to me like something is a bug but I don't know where the error is because I really don't know what the rules are for the padding property. Tim Bleiler, Ph.D. Instructional Designer, HSIT University at Buffalo From ambassador at fourthworld.com Wed Jul 24 18:37:52 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Jul 2013 15:37:52 -0700 Subject: Problems with Padding and the Properties In-Reply-To: References: Message-ID: <51F05740.4000704@fourthworld.com> Timothy Bleiler wrote: > When I get the properties of a field, the padding is included but > appears to be the rect of the field. > If I try to get the padding of the field directly i.e. get the > padding of fld 1 - I get the message "the object does not have this > property" > > It looks to me like something is a bug but I don't know where the > error is because I really don't know what the rules are for the > padding property. This appears to be a bug, either in the docs or the engine, as this example from the Dictionary throws an error: set the padding of field 1 to 10 Until this is resolved you may need to specify a text chunk to apply the padding to, or use the margins 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 monte at sweattechnologies.com Wed Jul 24 18:46:19 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 25 Jul 2013 08:46:19 +1000 Subject: Problems with Padding and the Properties In-Reply-To: References: <09F7F935-0170-4153-B929-12816F664B66@gmail.com> <51EFCC99.4060507@fourthworld.com> Message-ID: On 25/07/2013, at 8:24 AM, Timothy Bleiler wrote: > I'm running into some problems with the padding property. > > I'm not familiar with it and haven't used it but it's being returned with the Properties of fields of all types and is causing me some trouble. > > Here are the problems: > > When I get the properties of a field, the padding is included but appears to be the rect of the field. > If I try to get the padding of the field directly i.e. get the padding of fld 1 - I get the message "the object does not have this property" > > It looks to me like something is a bug but I don't know where the error is because I really don't know what the rules are for the padding property. Hi Tim This is already fixed and merged into the forthcoming 6.0.1 release. Padding was incorrectly documented as a field property when it's actually only a line property. Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From capellan2000 at gmail.com Wed Jul 24 19:53:48 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 24 Jul 2013 19:53:48 -0400 Subject: [OT] Free Benchmarking Stuff Message-ID: Richard Gaskin wrote: > 4W RevBench is available in the Stacks section of RevNet - in the IDE > see Development->Plugins->GoRevNet > I also added an article to LiveCode Journal that goes into benchmarking > in a little more detail: > Benchmarking Performance in LiveCode Excelent Richard! Many thanks for writing this essential and informative article. :D Now... How could we collect a battery of benchmarks for stress testing the most commonly used functions, commands, properties and messages used in the LiveCode platform? I know that benchmarks for stress testing LiveCode seems too much effort, but it's important to notice that we are in a transitional stage, between desktop and mobile computing. These extreme benchmarks would save a lot of hair pulling when we find a "New and Non-standard" device in this Wild New Era of Portable Computing. (Tablets, Phones, Clocks and more...) https://en.wikipedia.org/wiki/Stress_testing Al From ambassador at fourthworld.com Wed Jul 24 20:01:37 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Jul 2013 17:01:37 -0700 Subject: [OT] Free Benchmarking Stuff In-Reply-To: References: Message-ID: <51F06AE1.7070109@fourthworld.com> Alejandro Tejada wrote: > Now... How could we collect a battery of benchmarks for > stress testing the most commonly used functions, commands, > properties and messages used in the LiveCode platform? I thought Mark Weider and Jacque were going to write a framework for that? ;) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From mwieder at ahsoftware.net Wed Jul 24 22:53:52 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 24 Jul 2013 19:53:52 -0700 Subject: Another free HTML5 course In-Reply-To: <62157142411.20130724092518@ahsoftware.net> References: <62157142411.20130724092518@ahsoftware.net> Message-ID: <18430237612.20130724195352@ahsoftware.net> > LinkedIn notified me of another free HTML5 course. Never mind. I took a look at this and it's pretty poorly done. If I didn't already know html and css I wouldn't have a clue as to what the "teacher" is trying to get across to me. Sorry for the post. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Wed Jul 24 23:28:53 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 24 Jul 2013 22:28:53 -0500 Subject: [OT] Free Benchmarking Stuff In-Reply-To: <51F06AE1.7070109@fourthworld.com> References: <51F06AE1.7070109@fourthworld.com> Message-ID: <51F09B75.70605@hyperactivesw.com> On 7/24/13 7:01 PM, Richard Gaskin wrote: > Alejandro Tejada wrote: >> Now... How could we collect a battery of benchmarks for >> stress testing the most commonly used functions, commands, >> properties and messages used in the LiveCode platform? > > I thought Mark Weider and Jacque were going to write a framework for that? > > ;) Wha...? I suppose I promised this by next week. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From peterwawood at gmail.com Thu Jul 25 01:54:17 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Thu, 25 Jul 2013 13:54:17 +0800 Subject: [OT] Free Benchmarking Stuff In-Reply-To: <51F09B75.70605@hyperactivesw.com> References: <51F06AE1.7070109@fourthworld.com> <51F09B75.70605@hyperactivesw.com> Message-ID: >> I thought Mark Weider and Jacque were going to write a framework for that? >> >> ;) > > Wha...? I suppose I promised this by next week. No, yesterday. From effendi at wanadoo.fr Thu Jul 25 05:35:23 2013 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Thu, 25 Jul 2013 11:35:23 +0200 Subject: Colouring a circle and its segments Message-ID: Hi from Beautiful Brittany, Paul, Thanks for the information. I searched hi and lo for this info, but could't find it. The guys (and girls) on the LiveCode forum know all the answers ?.. :>) As for Vancouver, I agree, Vancouver Island is one of the most beautiful places I have ever seen. As for my need concerning circles, I am trying to build a Progress Bar mechanism, as is found in the Upload function of "MyTransfer" I think it's kinda cute ! Best Regards -Francis From dave at applicationinsight.com Thu Jul 25 05:56:14 2013 From: dave at applicationinsight.com (Dave Kilroy) Date: Thu, 25 Jul 2013 02:56:14 -0700 (PDT) Subject: Easier Dropbox Access In-Reply-To: References: <1374691589517-4667953.post@n4.nabble.com> Message-ID: <1374746174638-4667970.post@n4.nabble.com> Mike, excellent that you sorted out the HTTP POST and sub-folders issue (I tried and gave up on it) - haven't tried it yet but looks good :) Andrew, yes the app reconnects to Dropbox each start-up but doing so with saved tokens and secrets in the background does the trick (I keep various other bits of data about the Dropbox account in my database and check this on startup) - as far as I know secrets and keys for both app and token do not expire (have been using prototypes using same tokens for about a month with no problem and I understood from Guigelmo that they are pretty permanent. I should think that app secret and key really are permanent and if token key and secret expire all than means is that the user has to set up initial connection and authorisation again... -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Easier-Dropbox-Access-tp4667940p4667970.html Sent from the Revolution - User mailing list archive at Nabble.com. From dave at applicationinsight.com Thu Jul 25 06:42:41 2013 From: dave at applicationinsight.com (Dave Kilroy) Date: Thu, 25 Jul 2013 03:42:41 -0700 (PDT) Subject: Easier Dropbox Access In-Reply-To: <1374746174638-4667970.post@n4.nabble.com> References: <1374691589517-4667953.post@n4.nabble.com> <1374746174638-4667970.post@n4.nabble.com> Message-ID: <1374748961932-4667971.post@n4.nabble.com> Mike just tried your version synching files via Dropbox in my app between iOS, OSX and Windows and it 'just worked' - nice fix! Dave -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Easier-Dropbox-Access-tp4667940p4667971.html Sent from the Revolution - User mailing list archive at Nabble.com. From camm29 at tesco.net Thu Jul 25 07:38:26 2013 From: camm29 at tesco.net (Camm) Date: Thu, 25 Jul 2013 11:38:26 +0000 (UTC) Subject: [OT] New quad-core China tablet (mini-look-alike) In-Reply-To: Message-ID: <604228883.2102043.1374752306551.JavaMail.root@md01.topaz.synacor.com> Roger , Wow , great item for delevopment ,got mine last week runs great with livecode test. Just need to add its USB Vendor ID to google USB driver (android_winusb.ini) & ADB (adb_usb.ini). Regards Camm ----- Original Message ----- From: "Roger Eller" To: "How to use LiveCode" , "LiveCode Developer List" Sent: Friday, 5 July, 2013 5:08:34 PM Subject: [OT] New quad-core China tablet (mini-look-alike) I think this device (especially for $158) would be an excellent LiveCode testing device. Or, something fun to play around with. It ships with Jelly Bean 4.2, and can be rooted if you require it. Also, this quad core mini will fit iPad mini cases. The following video is a VERY thorough review. Looks like a great browsing / gaming tablet with a very good price point. https://www.youtube.com/watch?v=YOHOW7dArIc http://www.merimobiles.com/window-mini-one-rk3188-quad-core-bluetooth-1-8ghz-7-85-inch-ips-1024-768-with-android-4-2-hdmi-tablet-pc_p/meri7549.htm ~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 effendi at wanadoo.fr Thu Jul 25 08:36:52 2013 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Thu, 25 Jul 2013 14:36:52 +0200 Subject: Colouring a circle and its segments Message-ID: Hi from Beautiful Brittany,.. Thanks Scott, So many possibilites with graphics, that I am only just beginning to discover. -Francis From roger.e.eller at sealedair.com Thu Jul 25 09:50:23 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 25 Jul 2013 09:50:23 -0400 Subject: [OT] New quad-core China tablet (mini-look-alike) In-Reply-To: <604228883.2102043.1374752306551.JavaMail.root@md01.topaz.synacor.com> References: <604228883.2102043.1374752306551.JavaMail.root@md01.topaz.synacor.com> Message-ID: Awesome! Thanks for the LC compatibility report. Btw, the price has gone up to $175, which still isn't bad. ~Roger On Thu, Jul 25, 2013 at 7:38 AM, Camm wrote: > Roger , > > Wow , great item for delevopment ,got mine last week runs great with > livecode test. > > Just need to add its USB Vendor ID to google USB driver > (android_winusb.ini) & ADB (adb_usb.ini). > > Regards > Camm > > > ----- Original Message ----- > From: "Roger Eller" > To: "How to use LiveCode" , "LiveCode > Developer List" > Sent: Friday, 5 July, 2013 5:08:34 PM > Subject: [OT] New quad-core China tablet (mini-look-alike) > > I think this device (especially for $158) would be an excellent LiveCode > testing device. Or, something fun to play around with. It ships with > Jelly Bean 4.2, and can be rooted if you require it. > > Also, this quad core mini will fit iPad mini cases. The following video is > a VERY thorough review. Looks like a great browsing / gaming tablet with a > very good price point. > > https://www.youtube.com/watch?v=YOHOW7dArIc > > > http://www.merimobiles.com/window-mini-one-rk3188-quad-core-bluetooth-1-8ghz-7-85-inch-ips-1024-768-with-android-4-2-hdmi-tablet-pc_p/meri7549.htm > > ~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 matthias_livecode_150811 at m-r-d.de Thu Jul 25 10:36:55 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 25 Jul 2013 16:36:55 +0200 Subject: Anyone using coda 2 with livecodeserver and syntax highlighting Message-ID: Hi, is anyone already using Coda2 for livecode scripting with syntax highlighting? I used Coda 1 in the past, but Coda 2 is not using the same stylesheets format. Has anyone already created such stylesheet for using coda 2 for livecode scripting? Regards, Matthias From dochawk at gmail.com Thu Jul 25 10:47:56 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 25 Jul 2013 07:47:56 -0700 Subject: keeping track of the open cards for update Message-ID: As my project moves along, it's handling remote updates of data and displaying it live locally (watches for database updates). I'm about to move on to making these live in multiple windows (i.e., the input window, and one or more output windows). This means that the update code needs to quickly deal with all the open windows. Typically either one or up to a half-dozen fields would update in any open window--but as many as 50 or even 100 could happen under certain circumstances. For keeping track of upon windows, it seems that something like on openCard ... put space & the id of this card after gUpdateCards end openCard on closeCard replace space & the id of this card with upty in gUpdateCards end closeCard and then, something like repeat for each word cdid in gUpdateCards if exists fld upFld of cd cdId then do stuff to put it in the field end if end repeat or will it be faster to keep lists in variables, arrays, or custom properties of cards? if upFld is among the updateFields of cd cd id then . . . OR if upFld is among the keys of upFlds[cdid][upFld] then . . . thanks for ny thoughts -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From tate83 at gmail.com Thu Jul 25 10:56:39 2013 From: tate83 at gmail.com (Pascal Lehner) Date: Thu, 25 Jul 2013 15:56:39 +0100 Subject: Where to store database ID Message-ID: Hi all, I am working on a project with a SQLite DB and I'm wondering if there is an improvement to the following: On preOpenStack I connect to the database and store the connection ID in a custom property on the main stack. In whatever command I write or execute where I use any sql command to read or write data, I always have to get the connection ID from the custom property and put it in a local variable as the first thing of this command. This means I repeat that "put custom variable in local variable" quite often.. Is this the right way or would you probably store it once in a global or so? Also, when does this connection ID expire and I need a new one? How can I recognise that before the DB returns an error? Cheers from foggy Edinbra.. Pascal From MikeKerner at roadrunner.com Thu Jul 25 11:07:27 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 25 Jul 2013 11:07:27 -0400 Subject: Where to store database ID In-Reply-To: References: Message-ID: I think you are overthinking this. IMHO, globals are far more convenient for the DBID. The DBID does not really expire, especially for SQLite, where you are not connecting to a server. When you close your stack or . The only time the DBID is going to be different is if you open different DB's in a different order. If you are only ever using 1 db, then the DBID will always be 1, but you still have to tell LC to open the DB when you open the stack, obviously. What I, and probably most of us have done, is to write some DB functions and handlers, so that I can pass the tables and columns that I want, and the functions/handlers use the DBID and call the LC functions to actually process the query. If you are using a function/handler to do your database interaction, then it doesn't even matter how you have the DBID stored - in a field, a custom property, a global, some array, or anything else, because the function/handler will be the only place that needs it. On Thu, Jul 25, 2013 at 10:56 AM, Pascal Lehner wrote: > Hi all, > > I am working on a project with a SQLite DB and I'm wondering if there is an > improvement to the following: > > On preOpenStack I connect to the database and store the connection ID in a > custom property on the main stack. > > In whatever command I write or execute where I use any sql command to read > or write data, I always have to get the connection ID from the custom > property and put it in a local variable as the first thing of this command. > This means I repeat that "put custom variable in local variable" quite > often.. > > Is this the right way or would you probably store it once in a global or > so? Also, when does this connection ID expire and I need a new one? How can > I recognise that before the DB returns an error? > > Cheers from foggy Edinbra.. > > Pascal > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From dochawk at gmail.com Thu Jul 25 11:14:26 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 25 Jul 2013 08:14:26 -0700 Subject: relative performance of two dimensional array and in-memory sqlite database Message-ID: Searching through the archives, I found what would have been my next question. The answer being that using ":memory:" as the filename opens an sqlite database in memory rather than disk. That said, has anyone ever looked into the relative performance of caching data into two-dimensional arrays, and into in-memory sqlite when it comes time to search? If I want to do something, say, for all the rows in which "squidget > 5", I could loop through ary[row][squidget] and check every one, or I could "SELECT FROM table WHERE squidget>5 ORDER BY sqName". It would seem to make sense that sqlite would be better optimized for such things than a loop. (in fact, much of my data manipulation would be easier in SQL with WHERE than in memory). And, oh happy day, I actually wrote my code so that my data isn't manipulated directly, but only through setVal and getVal(), so that I can easily rip out and replace . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Thu Jul 25 11:15:45 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 25 Jul 2013 08:15:45 -0700 Subject: Getting data out of Excel In-Reply-To: <51EFCA96.4060306@fourthworld.com> References: <9054B19F-2614-4448-97AF-B6A626AA3304@unimelb.edu.au> <51EFCA96.4060306@fourthworld.com> Message-ID: On Wed, Jul 24, 2013 at 5:37 AM, Richard Gaskin wrote: > Which is my solution. Copy from libreoffice, paste into a table, and I'm done. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Thu Jul 25 11:32:35 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Jul 2013 08:32:35 -0700 Subject: relative performance of two dimensional array and in-memory sqlite database In-Reply-To: References: Message-ID: <51F14513.7010501@fourthworld.com> Dr. Hawkins wrote: > Searching through the archives, I found what would have been my next > question. The answer being that using ":memory:" as the filename > opens an sqlite database in memory rather than disk. > > That said, has anyone ever looked into the relative performance of > caching data into two-dimensional arrays, and into in-memory sqlite > when it comes time to search? > > If I want to do something, say, for all the rows in which "squidget > > 5", I could loop through ary[row][squidget] and check every one, or I > could "SELECT FROM table WHERE squidget>5 ORDER BY sqName". > > It would seem to make sense that sqlite would be better optimized for > such things than a loop. (in fact, much of my data manipulation would > be easier in SQL with WHERE than in memory). I've benchmarked various LC-based disk stores (simple indexed files) to SQLite on disk, but not in memory. Benchmark fetishist that I am, I would of course be interested in any definitive findings related to this. My hunch is that you'll find a lot of "depends", in which certain types of searches in certain sizes of colunns across certain ranges of record numbers are faster in SQLite, others faster with LC arrays, and some faster with simple chunk expressions. I'm frequently amazed at how well "repeat for each..." with collected results collated with "put...after" performs relative to alternatives. When we consider the various hash table jumps and offset moves that SQLite and arrays need to make to access data, this is perhaps less surprising. For single-access calls, arrays are hard to beat. But for aggregate operations across an entire data set, like a search, "repeat for each..." performs quite admirably. That said, SQLite offers indexing options that can greatly reduce the search space, so for columns with high carindality I'd be surprised if any scripted solution could beat it. But if you need free text searches, I'd wager chunk expressions would perform roughly on par with SQLite, possibly besting it, in at least some cases (where lines aren't particularly long, or have more than say a couple dozen columns). -- 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 stephenREVOLUTION2 at barncard.com Thu Jul 25 12:06:58 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 25 Jul 2013 09:06:58 -0700 Subject: Anyone using coda 2 with livecodeserver and syntax highlighting In-Reply-To: References: Message-ID: there are a few modes available at the subethaedit site there are two for Livecode, one for Revolution. The Revolution one sucks, that's mine. click "additional modes" http://subethaedit.net/modes.html you can also make your own. click "create a mode" On Thu, Jul 25, 2013 at 7:36 AM, Matthias Rebbe < matthias_livecode_150811 at m-r-d.de> wrote: > Hi, > > is anyone already using Coda2 for livecode scripting with syntax > highlighting? > > I used Coda 1 in the past, but Coda 2 is not using the same stylesheets > format. > > Has anyone already created such stylesheet for using coda 2 for livecode > scripting? > > 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From tate83 at gmail.com Thu Jul 25 12:34:54 2013 From: tate83 at gmail.com (Pascal Lehner) Date: Thu, 25 Jul 2013 17:34:54 +0100 Subject: Where to store database ID In-Reply-To: References: Message-ID: Hi Mike Thanks for the reply, it seems I can do less :-) I got into the habit of doing it that way when I first experimented with sqlite and DBLib and noticed that I get a new DBID everytime I reopen the stack. So I basically could just set the global to 1 and this works, as long as I just use one DB? When using two different ones, would I just use 1 and 2? I figure since it is a local DB it does not require a unique key or something (which 1 or 2 are not really, anyways..). Best regards, Pascal On 25 July 2013 16:07, Mike Kerner wrote: > I think you are overthinking this. > > IMHO, globals are far more convenient for the DBID. The DBID does not > really expire, especially for SQLite, where you are not connecting to a > server. When you close your stack or . The only time the DBID is going to > be different is if you open different DB's in a different order. If you > are only ever using 1 db, then the DBID will always be 1, but you still > have to tell LC to open the DB when you open the stack, obviously. > > What I, and probably most of us have done, is to write some DB functions > and handlers, so that I can pass the tables and columns that I want, and > the functions/handlers use the DBID and call the LC functions to actually > process the query. > > If you are using a function/handler to do your database interaction, then > it doesn't even matter how you have the DBID stored - in a field, a custom > property, a global, some array, or anything else, because the > function/handler will be the only place that needs it. > > > On Thu, Jul 25, 2013 at 10:56 AM, Pascal Lehner wrote: > > > Hi all, > > > > I am working on a project with a SQLite DB and I'm wondering if there is > an > > improvement to the following: > > > > On preOpenStack I connect to the database and store the connection ID in > a > > custom property on the main stack. > > > > In whatever command I write or execute where I use any sql command to > read > > or write data, I always have to get the connection ID from the custom > > property and put it in a local variable as the first thing of this > command. > > This means I repeat that "put custom variable in local variable" quite > > often.. > > > > Is this the right way or would you probably store it once in a global or > > so? Also, when does this connection ID expire and I need a new one? How > can > > I recognise that before the DB returns an error? > > > > Cheers from foggy Edinbra.. > > > > Pascal > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Thu Jul 25 12:41:23 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 25 Jul 2013 18:41:23 +0200 Subject: Anyone using coda 2 with livecodeserver and syntax highlighting In-Reply-To: References: Message-ID: <03A9841B-F768-4A37-8002-94F8019D5035@m-r-d.de> Hi Stephen, thank you very much. That saved my day. Matthias Am 25.07.2013 um 18:06 schrieb stephen barncard : > there are a few modes available at the subethaedit site > > > there are two for Livecode, one for Revolution. The Revolution one sucks, > that's mine. > > click "additional modes" > http://subethaedit.net/modes.html > > > > you can also make your own. > > click "create a mode" > > > > > > > On Thu, Jul 25, 2013 at 7:36 AM, Matthias Rebbe < > matthias_livecode_150811 at m-r-d.de> wrote: > >> Hi, >> >> is anyone already using Coda2 for livecode scripting with syntax >> highlighting? >> >> I used Coda 1 in the past, but Coda 2 is not using the same stylesheets >> format. >> >> Has anyone already created such stylesheet for using coda 2 for livecode >> scripting? >> >> 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 >> > > > > -- > > > > 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 MikeKerner at roadrunner.com Thu Jul 25 12:45:12 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 25 Jul 2013 12:45:12 -0400 Subject: Where to store database ID In-Reply-To: References: Message-ID: LC's libraries need the ID so they know what you're asking them for after you've opened the DB. I just use globals. You can use a global with multiple lines, or an array with multiple elements, if you are going to have multiple DB's open. I THINK that the ID's are sequential and "unique" per launch of LC, not per time the stack is opened, but don't quote me on that. Jacque? On Thu, Jul 25, 2013 at 12:34 PM, Pascal Lehner wrote: > Hi Mike > > Thanks for the reply, it seems I can do less :-) > I got into the habit of doing it that way when I first experimented with > sqlite and DBLib and noticed that I get a new DBID everytime I reopen the > stack. > So I basically could just set the global to 1 and this works, as long as I > just use one DB? When using two different ones, would I just use 1 and 2? > > I figure since it is a local DB it does not require a unique key or > something (which 1 or 2 are not really, anyways..). > > Best regards, > Pascal > > On 25 July 2013 16:07, Mike Kerner wrote: > > > I think you are overthinking this. > > > > IMHO, globals are far more convenient for the DBID. The DBID does not > > really expire, especially for SQLite, where you are not connecting to a > > server. When you close your stack or . The only time the DBID is going > to > > be different is if you open different DB's in a different order. If you > > are only ever using 1 db, then the DBID will always be 1, but you still > > have to tell LC to open the DB when you open the stack, obviously. > > > > What I, and probably most of us have done, is to write some DB functions > > and handlers, so that I can pass the tables and columns that I want, and > > the functions/handlers use the DBID and call the LC functions to actually > > process the query. > > > > If you are using a function/handler to do your database interaction, then > > it doesn't even matter how you have the DBID stored - in a field, a > custom > > property, a global, some array, or anything else, because the > > function/handler will be the only place that needs it. > > > > > > On Thu, Jul 25, 2013 at 10:56 AM, Pascal Lehner > wrote: > > > > > Hi all, > > > > > > I am working on a project with a SQLite DB and I'm wondering if there > is > > an > > > improvement to the following: > > > > > > On preOpenStack I connect to the database and store the connection ID > in > > a > > > custom property on the main stack. > > > > > > In whatever command I write or execute where I use any sql command to > > read > > > or write data, I always have to get the connection ID from the custom > > > property and put it in a local variable as the first thing of this > > command. > > > This means I repeat that "put custom variable in local variable" quite > > > often.. > > > > > > Is this the right way or would you probably store it once in a global > or > > > so? Also, when does this connection ID expire and I need a new one? How > > can > > > I recognise that before the DB returns an error? > > > > > > Cheers from foggy Edinbra.. > > > > > > Pascal > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From matthias_livecode_150811 at m-r-d.de Thu Jul 25 12:50:48 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 25 Jul 2013 18:50:48 +0200 Subject: Anyone using coda 2 with livecodeserver and syntax highlighting In-Reply-To: <03A9841B-F768-4A37-8002-94F8019D5035@m-r-d.de> References: <03A9841B-F768-4A37-8002-94F8019D5035@m-r-d.de> Message-ID: <5E12D491-4ADE-4B7E-A0AF-3FC413830F30@m-r-d.de> Hm, i was a little bit to fast. I do not get it to work with coda 2. Are you using syntax highlighting/colorization with "Coda 2"? I installed the mode file and selected it in for the current file. But no colorization. Matthias Am 25.07.2013 um 18:41 schrieb Matthias Rebbe : > Hi Stephen, > > thank you very much. That saved my day. > > Matthias > > > Am 25.07.2013 um 18:06 schrieb stephen barncard : > >> there are a few modes available at the subethaedit site >> >> >> there are two for Livecode, one for Revolution. The Revolution one sucks, >> that's mine. >> >> click "additional modes" >> http://subethaedit.net/modes.html >> >> >> >> you can also make your own. >> >> click "create a mode" >> >> >> >> >> >> >> On Thu, Jul 25, 2013 at 7:36 AM, Matthias Rebbe < >> matthias_livecode_150811 at m-r-d.de> wrote: >> >>> Hi, >>> >>> is anyone already using Coda2 for livecode scripting with syntax >>> highlighting? >>> >>> I used Coda 1 in the past, but Coda 2 is not using the same stylesheets >>> format. >>> >>> Has anyone already created such stylesheet for using coda 2 for livecode >>> scripting? >>> >>> 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 >>> >> >> >> >> -- >> >> >> >> 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 MikeKerner at roadrunner.com Thu Jul 25 12:52:15 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 25 Jul 2013 12:52:15 -0400 Subject: relative performance of two dimensional array and in-memory sqlite database In-Reply-To: <51F14513.7010501@fourthworld.com> References: <51F14513.7010501@fourthworld.com> Message-ID: I would pick the method that's the easiest to implement and try it, first. I would rather just access the DB instead of trying to load everything into containers, so I indexed the relevant fields, and have found that even for tens-of-thousands of records, doing a compound LIKE (with wildcards) query on multiple fields, it's giggle-fast. If you're using mobile, everything is technically in memory anyway, since your storage is on an SSD. On Thu, Jul 25, 2013 at 11:32 AM, Richard Gaskin wrote: > Dr. Hawkins wrote: > >> Searching through the archives, I found what would have been my next >> question. The answer being that using ":memory:" as the filename >> opens an sqlite database in memory rather than disk. >> >> That said, has anyone ever looked into the relative performance of >> caching data into two-dimensional arrays, and into in-memory sqlite >> when it comes time to search? >> >> If I want to do something, say, for all the rows in which "squidget > >> 5", I could loop through ary[row][squidget] and check every one, or I >> could "SELECT FROM table WHERE squidget>5 ORDER BY sqName". >> >> It would seem to make sense that sqlite would be better optimized for >> such things than a loop. (in fact, much of my data manipulation would >> be easier in SQL with WHERE than in memory). >> > > I've benchmarked various LC-based disk stores (simple indexed files) to > SQLite on disk, but not in memory. > > Benchmark fetishist that I am, I would of course be interested in any > definitive findings related to this. > > My hunch is that you'll find a lot of "depends", in which certain types of > searches in certain sizes of colunns across certain ranges of record > numbers are faster in SQLite, others faster with LC arrays, and some faster > with simple chunk expressions. > > I'm frequently amazed at how well "repeat for each..." with collected > results collated with "put...after" performs relative to alternatives. > > When we consider the various hash table jumps and offset moves that SQLite > and arrays need to make to access data, this is perhaps less surprising. > > For single-access calls, arrays are hard to beat. But for aggregate > operations across an entire data set, like a search, "repeat for each..." > performs quite admirably. > > That said, SQLite offers indexing options that can greatly reduce the > search space, so for columns with high carindality I'd be surprised if any > scripted solution could beat it. > > But if you need free text searches, I'd wager chunk expressions would > perform roughly on par with SQLite, possibly besting it, in at least some > cases (where lines aren't particularly long, or have more than say a couple > dozen columns). > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/**FourthWorldSys > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From pete at lcsql.com Thu Jul 25 12:57:30 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 25 Jul 2013 09:57:30 -0700 Subject: Where to store database ID In-Reply-To: References: Message-ID: I definitely wouldn't hard code the DBID! Just go with Mike's suggestion and write some general purpose handlers that actually issue the LC db calls and put them somewhere where they're always callable from anywhere else in your stack (main stack script for example) If you do that, you don;t even need to use a global to hold the DBID, a script local variable will do it. And you'll have a set of reusable handlers. I think you also asked when the DBID gets cleared and the answer to that is when you clear it. In other words, your handler that closes the database would set it to empty. SHould also mention that there are techniques that call for opening more than one db connection to the same database. Pete lcSQL Software On Thu, Jul 25, 2013 at 9:34 AM, Pascal Lehner wrote: > Hi Mike > > Thanks for the reply, it seems I can do less :-) > I got into the habit of doing it that way when I first experimented with > sqlite and DBLib and noticed that I get a new DBID everytime I reopen the > stack. > So I basically could just set the global to 1 and this works, as long as I > just use one DB? When using two different ones, would I just use 1 and 2? > > I figure since it is a local DB it does not require a unique key or > something (which 1 or 2 are not really, anyways..). > > Best regards, > Pascal > > On 25 July 2013 16:07, Mike Kerner wrote: > > > I think you are overthinking this. > > > > IMHO, globals are far more convenient for the DBID. The DBID does not > > really expire, especially for SQLite, where you are not connecting to a > > server. When you close your stack or . The only time the DBID is going > to > > be different is if you open different DB's in a different order. If you > > are only ever using 1 db, then the DBID will always be 1, but you still > > have to tell LC to open the DB when you open the stack, obviously. > > > > What I, and probably most of us have done, is to write some DB functions > > and handlers, so that I can pass the tables and columns that I want, and > > the functions/handlers use the DBID and call the LC functions to actually > > process the query. > > > > If you are using a function/handler to do your database interaction, then > > it doesn't even matter how you have the DBID stored - in a field, a > custom > > property, a global, some array, or anything else, because the > > function/handler will be the only place that needs it. > > > > > > On Thu, Jul 25, 2013 at 10:56 AM, Pascal Lehner > wrote: > > > > > Hi all, > > > > > > I am working on a project with a SQLite DB and I'm wondering if there > is > > an > > > improvement to the following: > > > > > > On preOpenStack I connect to the database and store the connection ID > in > > a > > > custom property on the main stack. > > > > > > In whatever command I write or execute where I use any sql command to > > read > > > or write data, I always have to get the connection ID from the custom > > > property and put it in a local variable as the first thing of this > > command. > > > This means I repeat that "put custom variable in local variable" quite > > > often.. > > > > > > Is this the right way or would you probably store it once in a global > or > > > so? Also, when does this connection ID expire and I need a new one? How > > can > > > I recognise that before the DB returns an error? > > > > > > Cheers from foggy Edinbra.. > > > > > > Pascal > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Thu Jul 25 13:43:39 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 25 Jul 2013 10:43:39 -0700 Subject: relative performance of two dimensional array and in-memory sqlite database In-Reply-To: References: <51F14513.7010501@fourthworld.com> Message-ID: On Thu, Jul 25, 2013 at 9:52 AM, Mike Kerner wrote: > I would pick the method that's the easiest to implement and try it, first. I initially did that--then changed to the array, as remote db access turned out to have expensive latency. So I have the remote DB, and also need a local cache of that to operate on (the dataset will always be small enough, unless someone tries GM's next bankruptcy on this . . . ) > I would rather just access the DB instead of trying to load everything into > containers, so I indexed the relevant fields, and have found that even for > tens-of-thousands of records, doing a compound LIKE (with wildcards) query > on multiple fields, it's giggle-fast. Thanks. The DB would be easier in so many ways, and my gut says it will be faster if I go back to it, but . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From MikeKerner at roadrunner.com Thu Jul 25 14:43:31 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 25 Jul 2013 14:43:31 -0400 Subject: relative performance of two dimensional array and in-memory sqlite database In-Reply-To: References: <51F14513.7010501@fourthworld.com> Message-ID: Then what you might want to do is either use ODBC or your own method to mirror the remote db locally. Then the rest of your code stays the same and if the remote issue is resolved, you're grinning. On Thu, Jul 25, 2013 at 1:43 PM, Dr. Hawkins wrote: > On Thu, Jul 25, 2013 at 9:52 AM, Mike Kerner > wrote: > > I would pick the method that's the easiest to implement and try it, > first. > > I initially did that--then changed to the array, as remote db access > turned out to have expensive latency. > > So I have the remote DB, and also need a local cache of that to > operate on (the dataset will always be small enough, unless someone > tries GM's next bankruptcy on this . . . ) > > > I would rather just access the DB instead of trying to load everything > into > > containers, so I indexed the relevant fields, and have found that even > for > > tens-of-thousands of records, doing a compound LIKE (with wildcards) > query > > on multiple fields, it's giggle-fast. > > Thanks. The DB would be easier in so many ways, and my gut says it > will be faster if I go back to it, but . . . > > > -- > 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From devin_asay at byu.edu Thu Jul 25 17:45:24 2013 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 25 Jul 2013 21:45:24 +0000 Subject: Where to store database ID In-Reply-To: References: Message-ID: <157896D9-4915-4E96-8136-94FB43037283@byu.edu> On Jul 25, 2013, at 10:45 AM, Mike Kerner wrote: > LC's libraries need the ID so they know what you're asking them for after > you've opened the DB. I just use globals. You can use a global with > multiple lines, or an array with multiple elements, if you are going to > have multiple DB's open. I THINK that the ID's are sequential and "unique" > per launch of LC, not per time the stack is opened, but don't quote me on > that. Jacque? Not Jacque, but I saw her once. :) DBIDs are numbered sequentially and increment each time you make a connection. Creating a DB cursor also affects this number. E.g.: revOpenDatabase --> connection id is 1 revQueryDatabase --> cursor id is 2 revCloseDatabase revOpenDataabase --> connection id is 3 Others probably have their own approach, but I rarely leave a DB connection open for an entire session. I create the connection, do my transaction, then close it immediately. Maybe it's the "wrong" way, but it works well for the way I use DBs. YMMV. Regards, Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From mwieder at ahsoftware.net Thu Jul 25 18:43:55 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 25 Jul 2013 15:43:55 -0700 Subject: [OT] Free Benchmarking Stuff In-Reply-To: <51F06AE1.7070109@fourthworld.com> References: <51F06AE1.7070109@fourthworld.com> Message-ID: <3952993627.20130725154355@ahsoftware.net> Richard- Wednesday, July 24, 2013, 5:01:37 PM, you wrote: > I thought Mark Weider and Jacque were going to write a framework for that? Yeah. OK. Whatever. I posted my RRTest app and framework on revOnline just now. Have fun. -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Thu Jul 25 19:03:28 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Jul 2013 16:03:28 -0700 Subject: [OT] Free Benchmarking Stuff In-Reply-To: <3952993627.20130725154355@ahsoftware.net> References: <3952993627.20130725154355@ahsoftware.net> Message-ID: <51F1AEC0.5090804@fourthworld.com> Mark Wieder wrote: > Richard- > > Wednesday, July 24, 2013, 5:01:37 PM, you wrote: > >> I thought Mark Weider and Jacque were going to write a framework for that? > > Yeah. OK. Whatever. > I posted my RRTest app and framework on revOnline just now. > Have fun. Dude, you rock! Alejandro: Does Mark's contribution seem a good start for what you had in mind? -- 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 dochawk at gmail.com Thu Jul 25 19:10:21 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 25 Jul 2013 16:10:21 -0700 Subject: relative performance of two dimensional array and in-memory sqlite database In-Reply-To: References: <51F14513.7010501@fourthworld.com> Message-ID: On Thu, Jul 25, 2013 at 11:43 AM, Mike Kerner wrote: > Then what you might want to do is either use ODBC or your own method to > mirror the remote db locally. Then the rest of your code stays the same > and if the remote issue is resolved, you're grinning. I'm actually developing my own, with queries to update to/from the remote to keep them in sync. They're small enough to load in from a remote when opened (right now, into the array). -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From harrison at all-auctions.com Thu Jul 25 19:26:54 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 25 Jul 2013 19:26:54 -0400 Subject: LC Server Image Weirdness In-Reply-To: <512F8ABE-A215-419F-8571-FC9524947073@mac.com> References: <51E9962D.3080601@gmail.com> <8D052F91E87F454-16AC-C00FF@webmail-m141.sysops.aol.com> <51EA5225.70507@gmail.com> <8D6D117A-4D70-4530-9794-8BDCC8F54639@all-auctions.com> <2829C83B-B2C9-4F18-8644-39F27930DBBF@mac.com> <512F8ABE-A215-419F-8571-FC9524947073@mac.com> Message-ID: Hi Paul, It turned out I had an extra . Once I got rid of that and used the shell touch command everything started working correctly. Thanks, Rick On Jul 22, 2013, at 10:46 PM, Paul Hibbert wrote: > Rick, > > Maybe if you could post (at least the basics of) the code for your upload and display routine somebody may be able to come up with ideas for a solution. > > Paul > > On 2013-07-21, at 7:16 AM, Rick Harrison wrote: > >> Hi Paul, >> >> I tried your suggestions. I moved the display >> of the image after the "Close File", - no luck. >> >> I tried the "touch -c" shell command, and - no luck. >> >> I tried both together, - no luck. >> >> Thanks for making the suggestions though. >> >> Anyone else? >> >> Thanks, >> >> Rick >> >> On Jul 21, 2013, at 12:16 AM, Paul Hibbert wrote: >> >>> Hi Rick, >>> >>> I'm no expert in this area, but it sounds to me like the image is not being released after the upload, other list readers may have a better idea. >>> >>> If you are using "Open File", "Write to File" etc., make sure you also use "Close File" after the upload to release the image file for other applications to use (i.e. the browser). >>> >>> If that's not the case, maybe Jacqueline's suggestion to a similar problem I had a while ago, using the shell touch command may help, I think this should still work on the Server. >>> >>> put "touch -c " & quote & & quote into tCmd >>> get shell(tCmd) >>> >>> More info on the Touch command here? >>> https://developer.apple.com/library/mac/#documentation/Darwin/Reference/Manpages/man1/touch.1.html >>> >>> No guarantees, but may be worth a try. >>> >>> Paul >>> >>> On 2013-07-20, at 9:17 AM, Rick Harrison wrote: >>> >>>> Ok, so I have the LC 6.1.0 server >>>> running on a Macintosh, and I'm >>>> uploading an image to the server >>>> through a webpage and storing it >>>> onto the server. >>>> >>>> I'm trying to display the image >>>> on the webpage to show that >>>> it completed properly etc. >>>> >>>> I'm using the statement: >>>> >>>> put "
" & cr >>>> >>>> The webpage completes all the >>>> way through without errors, but the >>>> image doesn't display at all. The >>>> image gets uploaded, but when I >>>> try to open the image with "Preview", >>>> it complains that the image is >>>> corrupted somehow. I find I can >>>> open the image up just fine in >>>> "GraphicConverter" and if I then >>>> save the file using "GraphicConverter" >>>> the file gets fixed and will >>>> display properly in "Preview". >>>> >>>> If I put in a statement like: >>>> >>>> put image "BogusImageName" into VarBogusImageName >>>> >>>> into the .lc webpage it causes the webpage to >>>> throw an error, (Chunk: no such object), as expected, >>>> but the interesting thing is that now >>>> the image I was trying to display before that wasn't showing >>>> now shows up just fine! Furthermore, the file uploaded >>>> shows up fine in Preview without any corruption whatsoever. >>>> >>>> Does anyone have a clue as to what is causing this weirdness >>>> and what I can do to fix the problem of the image not showing? >>>> >>>> Thanks in advance, >>>> >>>> Rick >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Jul 25 20:17:20 2013 From: dfepstein at comcast.net (David Epstein) Date: Thu, 25 Jul 2013 20:17:20 -0400 Subject: Finding matched parentheses Message-ID: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> Has anyone scripted a function that will locate the closing parenthesis (or bracket, etc.) of a pair? Below is my effort. Reports of its limitations or simpler alternatives (regex?) are invited. David Epstein function offsetPair a,b,str, at z -- returns offset(a,str) and loads in z offset(b,str) where b is the "matching" member of the pair; -- returns 0 if there is no a, empty if there is no match if a is not in str then return 0 if b is not in str then return empty put 0 into b4 -- skipped characters put 0 into na -- number (ordinal) of the a hit put 0 into nb repeat put offset(a,str,b4) into ca -- character position of a put offset(b,str,b4) into cb -- character position of a if ca = 0 and na < nb then return empty if cb = 0 and nb < na then return empty -- only take note of the first hit: put empty into hitCase -- default if ca > 0 and (ca < cb or cb = 0) then put "a" into hitCase if cb > 0 and (cb < ca or ca = 0) then put "b" into hitCase if hitCase = "a" then add 1 to na put ca+b4 into aca[na] -- absolute char position of a hit number na put aca[na] into b4 else if hitCase = "b" then add 1 to nb put cb+b4 into acb -- absolute char position of most recent b hit put acb into b4 else return empty if na = nb then -- we have a match put acb into z return aca[1] end if end repeat return empty end offsetPair From mwieder at ahsoftware.net Thu Jul 25 20:32:38 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 25 Jul 2013 17:32:38 -0700 Subject: Finding matched parentheses In-Reply-To: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> References: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> Message-ID: <7059516900.20130725173238@ahsoftware.net> David- Thursday, July 25, 2013, 5:17:20 PM, you wrote: > Has anyone scripted a function that will locate the closing > parenthesis (or bracket, etc.) of a pair? Below is my effort. > Reports of its limitations or simpler alternatives (regex?) are invited. Here's the one I wrote for glx2. I don't know if it counts as simpler, but it does the trick. It's called from the mouseDown handler when the user right-clicks on a parenthesis, thus the clickline and chunk parameters. private function FindMatching pClickLine, pChunk local tResult local tToken local tCharNum local tHowMany local tStartPos, tEndPos lock screen put false into tResult put word 2 of pChunk into tCharNum put char tCharNum of me into tToken put 1 into tHowMany switch tToken case "(" put tCharNum into tStartPos repeat with x=1 to the number of chars in me switch char tCharNum+x of me case tToken add 1 to tHowMany break case ")" subtract 1 from tHowMany if tHowMany is 0 then put tCharNum+x into tEndPos put true into tResult exit repeat end if break end switch end repeat break case ")" repeat with x=tCharNum-1 down to 1 switch char x of me case tToken add 1 to tHowMany break case "(" subtract 1 from tHowMany if tHowMany is 0 then put x into tStartPos put tCharNum into tEndPos put true into tResult exit repeat end if break end switch end repeat break end switch if tResult is true then -- now you have tStartPos and tEndPos in the line set the backcolor of char tStartPos to tEndPos of me to \ "orange" end if unlock screen return tResult end FindMatching -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Jul 25 20:35:18 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 25 Jul 2013 17:35:18 -0700 Subject: [OT] Free Benchmarking Stuff In-Reply-To: <51F1AEC0.5090804@fourthworld.com> References: <3952993627.20130725154355@ahsoftware.net> <51F1AEC0.5090804@fourthworld.com> Message-ID: <7659677070.20130725173518@ahsoftware.net> Richard- Thursday, July 25, 2013, 4:03:28 PM, you wrote: > Dude, you rock! > Alejandro: Does Mark's contribution seem a good start for what you had > in mind? Well, it's a start in one direction. The tests are stored in a local SQLite database. Ideally I'd like to see them on a shared server so that there aren't multiple fragmented copies of the scripts, but I haven't wrapped my head around how that might be accomplished. I suppose the alternative is to resort to sqldump and importing, dealing with the duplicates as they show up. -- -Mark Wieder mwieder at ahsoftware.net From pete at lcsql.com Thu Jul 25 21:52:15 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 25 Jul 2013 18:52:15 -0700 Subject: Finding matched parentheses In-Reply-To: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> References: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> Message-ID: This appears to work: get matchChunk(,".*\(.*(\)).*",tstart,tEnd) tStart and tEnd will both contain the offset of the closing paren You'd have to build the regex on the fly if you want to match any pair of characters but the regex for square brackets is ".*\[.*(\]).*" Pete lcSQL Software On Thu, Jul 25, 2013 at 5:17 PM, David Epstein wrote: > Has anyone scripted a function that will locate the closing parenthesis > (or bracket, etc.) of a pair? Below is my effort. Reports of its > limitations or simpler alternatives (regex?) are invited. > > David Epstein > > function offsetPair a,b,str, at z > -- returns offset(a,str) and loads in z offset(b,str) where b is the > "matching" member of the pair; > -- returns 0 if there is no a, empty if there is no match > > if a is not in str then return 0 > if b is not in str then return empty > put 0 into b4 -- skipped characters > put 0 into na -- number (ordinal) of the a hit > put 0 into nb > repeat > put offset(a,str,b4) into ca -- character position of a > put offset(b,str,b4) into cb -- character position of a > if ca = 0 and na < nb then return empty > if cb = 0 and nb < na then return empty > -- only take note of the first hit: > put empty into hitCase -- default > if ca > 0 and (ca < cb or cb = 0) then put "a" into hitCase > if cb > 0 and (cb < ca or ca = 0) then put "b" into hitCase > if hitCase = "a" then > add 1 to na > put ca+b4 into aca[na] -- absolute char position of a hit number na > put aca[na] into b4 > else if hitCase = "b" then > add 1 to nb > put cb+b4 into acb -- absolute char position of most recent b hit > put acb into b4 > else return empty > if na = nb then -- we have a match > put acb into z > return aca[1] > end if > end repeat > return empty > end offsetPair > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From andrew at ctech.me Thu Jul 25 22:32:07 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 25 Jul 2013 21:32:07 -0500 Subject: [OT-ish] Chromecast Message-ID: Hey Ya'll, Managed to get my hands on a Chromecast today. Pretty snazzy for 35 dollars. It also seems they are going to release the iOS sdk and android sdk for it. I wonder if there will be any way of getting an external (or whatever form the future extensions for livecode will take) for it. My company already wants to use this to stream videos to the parts of the office that have tv's playing informational videos about our farm for the many visitors we get. -- Regards, Andrew Kluthe andrew at ctech.me From mwieder at ahsoftware.net Thu Jul 25 22:38:20 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 25 Jul 2013 19:38:20 -0700 Subject: Finding matched parentheses In-Reply-To: References: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> Message-ID: <8267059115.20130725193820@ahsoftware.net> Pete- Thursday, July 25, 2013, 6:52:15 PM, you wrote: > This appears to work: > get matchChunk(,".*\(.*(\)).*",tstart,tEnd) I think this is closer to what you're looking for get matchChunk(pString,"(\(.*\)).*",tstart,tEnd) but even that will fail when you have multiple parentheses in strings like this: "hello (bucko) this (is) a test" -- -Mark Wieder mwieder at ahsoftware.net From Mark_Smith at cpe.umanitoba.ca Thu Jul 25 23:09:49 2013 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Thu, 25 Jul 2013 20:09:49 -0700 (PDT) Subject: 5.5.5 linking problem -- SOLVED In-Reply-To: <1374674085516-4667939.post@n4.nabble.com> References: <1374457184771-4667839.post@n4.nabble.com> <360B5D49-9012-4BE3-BE5D-0EF27AED8534@elementarysoftware.com> <1374545414975-4667881.post@n4.nabble.com> <1374674085516-4667939.post@n4.nabble.com> Message-ID: <1374808189585-4668002.post@n4.nabble.com> This one was solved by installing the latest version of the externals I was using. Simple, elegant, just didn't know where to start with this problem. Thanks for all the help and hints provided here. Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/5-5-5-linking-problem-tp4667839p4668002.html Sent from the Revolution - User mailing list archive at Nabble.com. From monte at sweattechnologies.com Thu Jul 25 23:25:34 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 26 Jul 2013 13:25:34 +1000 Subject: 5.5.5 linking problem -- SOLVED In-Reply-To: <1374808189585-4668002.post@n4.nabble.com> References: <1374457184771-4667839.post@n4.nabble.com> <360B5D49-9012-4BE3-BE5D-0EF27AED8534@elementarysoftware.com> <1374545414975-4667881.post@n4.nabble.com> <1374674085516-4667939.post@n4.nabble.com> <1374808189585-4668002.post@n4.nabble.com> Message-ID: On 26/07/2013, at 1:09 PM, Mark Smith wrote: > This one was solved by installing the latest version of the externals I was > using. Simple, elegant, just didn't know where to start with this problem. > Thanks for all the help and hints provided here. Glad you sorted it out Mark ;-) For everyone's reference upgrading to a new iOS sdk requires using both livecode and externals built for that sdk. So whenever you get linking errors the first thing to check is that you have the latest of everything. The next thing is whether you are building armv6 or universal and the external doesn't support it (all of mine so far do but mergDropboxSync coming soon won't) or you don't have a iOS 5 or 5.1 sdk setup somewhere. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From gcanyon at gmail.com Fri Jul 26 00:53:47 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Thu, 25 Jul 2013 23:53:47 -0500 Subject: Finding matched parentheses In-Reply-To: <8267059115.20130725193820@ahsoftware.net> References: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> <8267059115.20130725193820@ahsoftware.net> Message-ID: regex is notoriously unable to handle recursion. To see endless heated debate, search the web for how to parse HTML using regex. Here is a fairly short function that searches for the outermost matched pairs of characters. For parentheses, that means that every ( must be balanced by a ), in appropriate order. It is happy with multiple matches, and returns them all, so the returned value can be a set of lines of start,stop values function strictOuterMatching S,B,E put 0 into C repeat with i = 1 to length(S) if char i of S is E then if C < 1 then return "E" && i if C = 1 then put i & cr after R subtract 1 from C else if char i of S is B then if C = 0 then put i & comma after R add 1 to C end if end repeat if C = 0 then return R else return "E" && i end strictOuterMatching samples from my testing: erksdfkj(klwer(jklsdfljk)lkjsdflj)lsdjkfklsd 9,34 ljksaljk((((()))))ljkadsflj 9,18 (()(()((()(()()((())()(())))))))(()((()))) 1,32 33,42 aslkjsadflj(asldkjf(jklsdf)(sjlkdf)(ljksdf))lskjdf 12,44 asdlfkj(adfjlk)sf(()())sdf(()())()sdflkj 8,15 18,23 27,32 33,34 ljkewr(((())) E 13 23l4jk))))) E 7 (jlksdfjkl))) E 12 lakjsdfljasdfljkasdf asdlfkjasdlkjf(sjkldf(sjkldf(ljksdfjl)lkjsdf(sldkjf)sldjf)slkdjf E 64 asdflkj)ksdf)ljksdf(skldf) E 8 hksakdjfsdf On Thu, Jul 25, 2013 at 9:38 PM, Mark Wieder wrote: > Pete- > > Thursday, July 25, 2013, 6:52:15 PM, you wrote: > > > This appears to work: > > > get matchChunk(,".*\(.*(\)).*",tstart,tEnd) > > I think this is closer to what you're looking for > > get matchChunk(pString,"(\(.*\)).*",tstart,tEnd) > > but even that will fail when you have multiple parentheses in strings > like this: > > "hello (bucko) this (is) a test" > > -- > -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 jhj at jhj.com Fri Jul 26 01:14:40 2013 From: jhj at jhj.com (Jerry Jensen) Date: Thu, 25 Jul 2013 22:14:40 -0700 Subject: Finding matched parentheses In-Reply-To: References: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> <8267059115.20130725193820@ahsoftware.net> Message-ID: <38F04864-67CF-4691-BC23-5AFF4BAF9867@jhj.com> Gesundheit! On Jul 25, 2013, at 9:53 PM, Geoff Canyon wrote: > > erksdfkj(klwer(jklsdfljk)lkjsdflj)lsdjkfklsd > 9,34 > > ljksaljk((((()))))ljkadsflj > 9,18 > > (()(()((()(()()((())()(())))))))(()((()))) > 1,32 > 33,42 > > aslkjsadflj(asldkjf(jklsdf)(sjlkdf)(ljksdf))lskjdf > 12,44 > > asdlfkj(adfjlk)sf(()())sdf(()())()sdflkj > 8,15 > 18,23 > 27,32 > 33,34 > > ljkewr(((())) > E 13 > > 23l4jk))))) > E 7 > > (jlksdfjkl))) > E 12 > > lakjsdfljasdfljkasdf > > asdlfkjasdlkjf(sjkldf(sjkldf(ljksdfjl)lkjsdf(sldkjf)sldjf)slkdjf > E 64 > > asdflkj)ksdf)ljksdf(skldf) > E 8 > > hksakdjfsdf From stephenREVOLUTION2 at barncard.com Fri Jul 26 01:15:42 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 25 Jul 2013 22:15:42 -0700 Subject: Finding matched parentheses In-Reply-To: <38F04864-67CF-4691-BC23-5AFF4BAF9867@jhj.com> References: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> <8267059115.20130725193820@ahsoftware.net> <38F04864-67CF-4691-BC23-5AFF4BAF9867@jhj.com> Message-ID: look like sneezing.... On Thu, Jul 25, 2013 at 10:14 PM, Jerry Jensen wrote: > Gesundheit! > > On Jul 25, 2013, at 9:53 PM, Geoff Canyon wrote: > > > > erksdfkj(klwer(jklsdfljk)lkjsdflj)lsdjkfklsd > > 9,34 > > > > ljksaljk((((()))))ljkadsflj > > 9,18 > > > > (()(()((()(()()((())()(())))))))(()((()))) > > 1,32 > > 33,42 > > > > aslkjsadflj(asldkjf(jklsdf)(sjlkdf)(ljksdf))lskjdf > > 12,44 > > > > asdlfkj(adfjlk)sf(()())sdf(()())()sdflkj > > 8,15 > > 18,23 > > 27,32 > > 33,34 > > > > ljkewr(((())) > > E 13 > > > > 23l4jk))))) > > E 7 > > > > (jlksdfjkl))) > > E 12 > > > > lakjsdfljasdfljkasdf > > > > asdlfkjasdlkjf(sjkldf(sjkldf(ljksdfjl)lkjsdf(sldkjf)sldjf)slkdjf > > E 64 > > > > asdflkj)ksdf)ljksdf(skldf) > > E 8 > > > > hksakdjfsdf > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From mwieder at ahsoftware.net Fri Jul 26 01:35:37 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 25 Jul 2013 22:35:37 -0700 Subject: Finding matched parentheses In-Reply-To: References: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> <8267059115.20130725193820@ahsoftware.net> Message-ID: <12877695830.20130725223537@ahsoftware.net> Geoff- Thursday, July 25, 2013, 9:53:47 PM, you wrote: > regex is notoriously unable to handle recursion. To see endless heated > debate, search the web for how to parse HTML using regex. To be fair, the blame is mostly on HTML, not regex. But there's enough blame to go around. No worries. > Here is a fairly short function that searches for the outermost matched > pairs of characters. "outermost" is different from matched. You might want to find the matching parenthesis for "lineDelim()" in put stripHTML( url("http:://www.www.com"), lineDelim("/n" ), cos(theta) ) -- -Mark Wieder mwieder at ahsoftware.net From th.douez at gmail.com Fri Jul 26 03:10:04 2013 From: th.douez at gmail.com (Thierry Douez) Date: Fri, 26 Jul 2013 09:10:04 +0200 Subject: Finding matched parentheses In-Reply-To: <8267059115.20130725193820@ahsoftware.net> References: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> <8267059115.20130725193820@ahsoftware.net> Message-ID: 2013/7/26 Mark Wieder > get matchChunk(pString,"(\(.*\)).*",tstart,tEnd) > > but even that will fail when you have multiple parentheses in strings > like this: > > "hello (bucko) this (is) a test" > ?But this one will work and match the first occurence:? if matchChunk(mystring,"(\([^)]*\)).*",tstart,tEnd) ?Regards, Thierry ? ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From gcanyon at gmail.com Fri Jul 26 03:25:51 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 26 Jul 2013 02:25:51 -0500 Subject: Finding matched parentheses In-Reply-To: <12877695830.20130725223537@ahsoftware.net> References: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> <8267059115.20130725193820@ahsoftware.net> <12877695830.20130725223537@ahsoftware.net> Message-ID: The first answer to http://stackoverflow.com/questions/590747/using-regular-expressions-to-parse-html-why-notexplains the disconnect between regex and HTML better than I can. Here is a function that still requires correctness -- any unmatched ( or ) will cause it to return E with the position of the offending character -- but this routine returns *all* matched parentheses. function strictTotalMatching S,B,E put 0 into C repeat with i = 1 to length(S) if char i of S is E then subtract 1 from C if C < 0 then return "E" && i put M[C],i & cr after R else if char i of S is B then put i into M[C] add 1 to C end if end repeat if C <> 0 then return "E" && i sort lines of R numeric by item 1 of each return R end strictTotalMatching more sneezing coming up: put stripHTML( url("http:://www.www.com"), lineDelim("/n" ), cos(theta)) 14,84 22,44 59,68 77,83 ljksaljk((((()))))ljkadsflj 9,18 10,17 11,16 12,15 13,14 erksdfkj(klwer(jklsdfljk)lkjsdflj)lsdjkfklsd 9,34 15,25 (()(()((()(()()((())()(())))))))(()((()))) 1,32 2,3 4,31 5,6 7,30 8,29 9,10 11,28 12,13 14,15 16,27 17,20 18,19 21,22 23,26 24,25 33,42 34,35 36,41 37,40 38,39 aslkjsadflj(asldkjf(jklsdf)(sjlkdf)(ljksdf))lskjdf 12,44 20,27 28,35 36,43 asdlfkj(adfjlk)sf(()())sdf(()())()sdflkj 8,15 18,23 19,20 21,22 27,32 28,29 30,31 33,34 ljkewr(((())) 8,15 18,23 19,20 21,22 27,32 28,29 30,31 33,34 23l4jk))))) 8,15 18,23 19,20 21,22 27,32 28,29 30,31 33,34 (jlksdfjkl))) 8,15 18,23 19,20 21,22 27,32 28,29 30,31 33,34 lakjsdfljasdfljkasdf asdlfkjasdlkjf(sjkldf(sjkldf(ljksdfjl)lkjsdf(sldkjf)sldjf)slkdjf E 64 asdflkj)ksdf)ljksdf(skldf) E 8 From gcanyon at gmail.com Fri Jul 26 04:22:54 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 26 Jul 2013 03:22:54 -0500 Subject: Reliable script to handle selection/drag-and-drop in a list field? In-Reply-To: References: <51EEC534.2070503@fourthworld.com> Message-ID: Thanks to Peter for pointing out some issues. Update to fix them: https://docs.google.com/file/d/0By_mW8YYOZpAZ19VUHdHcjViY28 On Wed, Jul 24, 2013 at 3:38 AM, Geoff Canyon wrote: > Thanks for pointing out the new messages for behaviors. This versionshould address the following: > > -- All messages should be "before" or "after" so they won't interfere > with your code. > -- Clicking on the selection should not change the selection -- > previously if you clicked an item that was one of multiple highlighted > lines, the others would all be deselected, but then jump back if you > dragged. Now the selection remains, ready to be dragged. > -- The image of the dragged items in most cases will be positioned as you > drag so that the spot you clicked -- whatever item that was -- should be > directly under the pointer where it was when you clicked to drag. This > doesn't do what I want when the dragged lines are more than will fit in the > visible list at one time. I'm still working on that. > > Let me know what else you find. > > gc > > > On Tue, Jul 23, 2013 at 5:17 PM, Geoff Canyon wrote: > >> On Tue, Jul 23, 2013 at 1:02 PM, Richard Gaskin < >> ambassador at fourthworld.com> wrote: >> >>> I wonder if Geoff's script could be revised to use "before mouseDown" or >>> "after mouseDown" to allow instances to handle the primary forms of those >>> messages without interference? >>> >> >> >> I checked, and the appropriate combination of before and after handlers >> works great. I want to adjust the positioning of the highlight a bit and >> then I'll post an update. >> > > > From gcanyon at gmail.com Fri Jul 26 06:13:14 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 26 Jul 2013 05:13:14 -0500 Subject: Finding matched parentheses In-Reply-To: References: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> <8267059115.20130725193820@ahsoftware.net> <12877695830.20130725223537@ahsoftware.net> Message-ID: Arrgh. Well it certainly pays to check your output... I wasn't clearing one of the variables in the code I wrote outside the function to test it, hence the false good results in the first email. Here's the output once that was fixed. Hopefully I'm not overlooking something else. put stripHTML( url("http:://www.www.com"), lineDelim("/n" ), cos(theta)) 14,84 22,44 59,68 77,83 ljksaljk((((()))))ljkadsflj 9,18 10,17 11,16 12,15 13,14 erksdfkj(klwer(jklsdfljk)lkjsdflj)lsdjkfklsd 9,34 15,25 (()(()((()(()()((())()(())))))))(()((()))) 1,32 2,3 4,31 5,6 7,30 8,29 9,10 11,28 12,13 14,15 16,27 17,20 18,19 21,22 23,26 24,25 33,42 34,35 36,41 37,40 38,39 aslkjsadflj(asldkjf(jklsdf)(sjlkdf)(ljksdf))lskjdf 12,44 20,27 28,35 36,43 asdlfkj(adfjlk)sf(()())sdf(()())()sdflkj 8,15 18,23 19,20 21,22 27,32 28,29 30,31 33,34 ljkewr(((())) E 13 23l4jk))))) E 7 (jlksdfjkl))) E 12 lakjsdfljasdfljkasdf asdlfkjasdlkjf(sjkldf(sjkldf(ljksdfjl)lkjsdf(sldkjf)sldjf)slkdjf E 64 asdflkj)ksdf)ljksdf(skldf) E 8 On Fri, Jul 26, 2013 at 2:25 AM, Geoff Canyon wrote: > The first answer to > http://stackoverflow.com/questions/590747/using-regular-expressions-to-parse-html-why-notexplains the disconnect between regex and HTML better than I can. > > Here is a function that still requires correctness -- any unmatched ( or ) > will cause it to return E with the position of the offending character -- > but this routine returns *all* matched parentheses. > > function strictTotalMatching S,B,E > > put 0 into C > repeat with i = 1 to length(S) > if char i of S is E then > subtract 1 from C > > if C < 0 then return "E" && i > put M[C],i & cr after R > > else if char i of S is B then > put i into M[C] > > add 1 to C > end if > end repeat > if C <> 0 then return "E" && i > sort lines of R numeric by item 1 of each > return R > end strictTotalMatching > > more sneezing coming up: > > put stripHTML( url("http:://www.www.com"), lineDelim("/n" ), > cos(theta)) > 14,84 > 22,44 > 59,68 > 77,83 > > ljksaljk((((()))))ljkadsflj > 9,18 > 10,17 > 11,16 > 12,15 > 13,14 > > erksdfkj(klwer(jklsdfljk)lkjsdflj)lsdjkfklsd > 9,34 > 15,25 > > (()(()((()(()()((())()(())))))))(()((()))) > 1,32 > 2,3 > 4,31 > 5,6 > 7,30 > 8,29 > 9,10 > 11,28 > 12,13 > 14,15 > 16,27 > 17,20 > 18,19 > 21,22 > 23,26 > 24,25 > 33,42 > 34,35 > 36,41 > 37,40 > 38,39 > > aslkjsadflj(asldkjf(jklsdf)(sjlkdf)(ljksdf))lskjdf > 12,44 > 20,27 > 28,35 > 36,43 > > asdlfkj(adfjlk)sf(()())sdf(()())()sdflkj > 8,15 > 18,23 > 19,20 > 21,22 > 27,32 > 28,29 > 30,31 > 33,34 > > ljkewr(((())) > 8,15 > 18,23 > 19,20 > 21,22 > 27,32 > 28,29 > 30,31 > 33,34 > > 23l4jk))))) > 8,15 > 18,23 > 19,20 > 21,22 > 27,32 > 28,29 > 30,31 > 33,34 > > (jlksdfjkl))) > 8,15 > 18,23 > 19,20 > 21,22 > 27,32 > 28,29 > 30,31 > 33,34 > > > lakjsdfljasdfljkasdf > > asdlfkjasdlkjf(sjkldf(sjkldf(ljksdfjl)lkjsdf(sldkjf)sldjf)slkdjf > E 64 > > asdflkj)ksdf)ljksdf(skldf) > E 8 > > From pmbrig at gmail.com Fri Jul 26 08:42:10 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 26 Jul 2013 08:42:10 -0400 Subject: keeping track of the open cards for update In-Reply-To: References: Message-ID: <2878A32A-1D8F-4E56-BD98-A14780F5143B@gmail.com> Another question that should be tested with a benchmarking procedure. However, I doubt that even needing to update 50-100 fields would show much variation no matter which technique you decided on. It would begin to matter if you had a thousand windows open and several thousand fields, which is unlikely, :-). If you go with your initial solution, however, you have to use "short ID" (the straight "ID" contains more than one word), and you have to declare your global variables, either at the start of the script, or within each handler that uses them (you probably knew that). -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Jul 25, 2013, at 10:47 AM, Dr. Hawkins wrote: > As my project moves along, it's handling remote updates of data and > displaying it live locally (watches for database updates). > > I'm about to move on to making these live in multiple windows (i.e., > the input window, and one or more output windows). This means that > the update code needs to quickly deal with all the open windows. > Typically either one or up to a half-dozen fields would update in any > open window--but as many as 50 or even 100 could happen under certain > circumstances. > > For keeping track of upon windows, it seems that something like > > on openCard > ... > put space & the id of this card after gUpdateCards > end openCard > > on closeCard > replace space & the id of this card with upty in gUpdateCards > end closeCard > > > and then, something like > > repeat for each word cdid in gUpdateCards > if exists fld upFld of cd cdId then > do stuff to put it in the field > end if > end repeat > > or will it be faster to keep lists in variables, arrays, or custom > properties of cards? > > if upFld is among the updateFields of cd cd id then . . . > > OR > > if upFld is among the keys of upFlds[cdid][upFld] then . . . > > > thanks for ny thoughts > > -- > 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 pmbrig at gmail.com Fri Jul 26 09:17:00 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 26 Jul 2013 09:17:00 -0400 Subject: Finding matched parentheses In-Reply-To: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> References: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> Message-ID: <2A701097-EB03-4889-A208-186272E6D1EC@gmail.com> Not sure what you are looking for here. Just find first occurrence of a in str and return the offset of the next occurrence of b after that? function offsetPair a,b,str, at z -- returns offset(a,str) and loads in z offset(b,str) where b is the "matching" member of the pair; -- returns 0 if there is no a, empty if there is no match -- offsets(b,str) returns a comma-delimited list of all the offsets -- of a in str (see below) put offset(a,str) into startOffset if startOffset = 0 then return 0 put offsets(b,str) into endOffsets if endOffsets = 0 then return empty repeat with i = 1 to the number of items of endOffsets if item i of endOffsets < startOffset then next repeat put item i of endOffsets into z exit offsetPair end repeat return empty end offsetPair Actually, if str is grammatically correct, this should always return item 1 of endOffsets. If you want a more general solution, you could use offsets(a,str) along with offsets(b,str) and look at all the pairs, with item i of offsets(b,str) being index of the closing paren for the open paren at item i of offsets(a,str). Presuming that there are no unmatched parens in str, the latter should be greater than the former for each i. Also, I'd be inclined to return the match as the value of the function call, instead of putting it into a referenced variable. Otherwise why not use a command instead of a function? But again, I'm not sure what you are looking for exactly. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig PS: I've posted this before, but at the risk of repeating myself: function offsets str,container,includeOverlaps -- returns a comma-delimited list of all the offsets of str in container -- returns 0 if not found -- third param is optional: -- offsets("xx","xxxxxx") returns "1,3,5" not "1,2,3,4,5" -- ie, by default, overlapping offsets are not counted -- if you want overlapping offsets then pass "true" in 3rd param if str is not in container then return 0 if includeOverlaps = empty then put false into includeOverlaps put empty into offsetList put 0 into startPoint repeat put offset(str,container,startPoint) into thisOffset if thisOffset = 0 then exit repeat add thisOffset to startPoint put startPoint & comma after offsetList if not includeOverlaps then add length(str)-1 to startPoint end if end repeat return item 1 to -1 of offsetList -- delete trailing comma end offsets On Jul 25, 2013, at 8:17 PM, David Epstein wrote: > Has anyone scripted a function that will locate the closing parenthesis (or bracket, etc.) of a pair? Below is my effort. Reports of its limitations or simpler alternatives (regex?) are invited. > > David Epstein > > function offsetPair a,b,str, at z > -- returns offset(a,str) and loads in z offset(b,str) where b is the "matching" member of the pair; > -- returns 0 if there is no a, empty if there is no match > > if a is not in str then return 0 > if b is not in str then return empty > put 0 into b4 -- skipped characters > put 0 into na -- number (ordinal) of the a hit > put 0 into nb > repeat > put offset(a,str,b4) into ca -- character position of a > put offset(b,str,b4) into cb -- character position of a > if ca = 0 and na < nb then return empty > if cb = 0 and nb < na then return empty > -- only take note of the first hit: > put empty into hitCase -- default > if ca > 0 and (ca < cb or cb = 0) then put "a" into hitCase > if cb > 0 and (cb < ca or ca = 0) then put "b" into hitCase > if hitCase = "a" then > add 1 to na > put ca+b4 into aca[na] -- absolute char position of a hit number na > put aca[na] into b4 > else if hitCase = "b" then > add 1 to nb > put cb+b4 into acb -- absolute char position of most recent b hit > put acb into b4 > else return empty > if na = nb then -- we have a match > put acb into z > return aca[1] > end if > end repeat > return empty > end offsetPair > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Fri Jul 26 09:33:06 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 26 Jul 2013 09:33:06 -0400 Subject: Finding matched parentheses In-Reply-To: <12877695830.20130725223537@ahsoftware.net> References: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> <8267059115.20130725193820@ahsoftware.net> <12877695830.20130725223537@ahsoftware.net> Message-ID: Sorry, in my previous post I did not consider nested parens (I was thinking English text, not C code). The function below should return the offset of the outermost closing paren, the "match" for the first opening paren. function offsetPair a,b,str -- returns offset(a,str) and loads in z offset(b,str) where b is the "matching" member of the pair; -- returns 0 if there is no a, empty if there is no match -- offsets(b,str) returns a comma-delimited list of all the offsets -- of a in str (see below) put offsets(a,str) into startOffsets if startOffset = 0 then return 0 put offsets(b,str) into endOffsets if endOffsets = 0 then return empty if the number of items of startOffsets <> the number of items of endOffsets then -- unmatched parens, not grammatical return empty end if put item -1 of endOffsets into lastCloseParen if lastCloseParen < item 1 of startOffsets then return empty -- right number of open + close parens -- but not grammatical return item -1 of endOffsets end offsetPair -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Jul 26, 2013, at 1:35 AM, Mark Wieder wrote: > Geoff- > > Thursday, July 25, 2013, 9:53:47 PM, you wrote: > >> regex is notoriously unable to handle recursion. To see endless heated >> debate, search the web for how to parse HTML using regex. > > To be fair, the blame is mostly on HTML, not regex. But there's enough > blame to go around. No worries. > >> Here is a fairly short function that searches for the outermost matched >> pairs of characters. > > "outermost" is different from matched. You might want to find the > matching parenthesis for "lineDelim()" in > > put stripHTML( > url("http:://www.www.com"), > lineDelim("/n" > ), > cos(theta) > ) > > -- > -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 Fri Jul 26 09:36:00 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 26 Jul 2013 08:36:00 -0500 Subject: Finding matched parentheses In-Reply-To: <2A701097-EB03-4889-A208-186272E6D1EC@gmail.com> References: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> <2A701097-EB03-4889-A208-186272E6D1EC@gmail.com> Message-ID: <80F74720-FAC9-40A2-BB7F-F1201F4BBFA4@gmail.com> You have to account for the nesting of parens, something like: ((())) Sent from my iPad On Jul 26, 2013, at 8:17 AM, "Peter M. Brigham" wrote: > If you want a more general solution, you could use offsets(a,str) along with offsets(b,str) and look at all the pairs, with item i of offsets(b,str) being index of the closing paren for the open paren at item i of offsets(a,str). Presuming that there are no unmatched parens in str, the latter should be greater than the former for each i. From pete at lcsql.com Fri Jul 26 12:03:18 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 26 Jul 2013 09:03:18 -0700 Subject: Finding matched parentheses In-Reply-To: <8267059115.20130725193820@ahsoftware.net> References: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> <8267059115.20130725193820@ahsoftware.net> Message-ID: On Thu, Jul 25, 2013 at 7:38 PM, Mark Wieder wrote: > I think this is closer to what you're looking for > > get matchChunk(pString,"(\(.*\)).*",tstart,tEnd) > > but even that will fail when you have multiple parentheses in strings > like this: > > "hello (bucko) this (is) a test" > OK, I thought the OP was looking to find the position of the closing paren (which mine does), not the positions of the opening and closing parens (Which yours does). But you're right, neither one deals with multiple pairs of parens. I'll bet there's a regex for it though! Might be a good idea for the OP to clarify a bit more about what he's trying to do. There might not be multiple pairs of parens in his scenario, for example. Pete lcSQL Software From pete at lcsql.com Fri Jul 26 12:09:02 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 26 Jul 2013 09:09:02 -0700 Subject: Finding matched parentheses In-Reply-To: References: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> <8267059115.20130725193820@ahsoftware.net> Message-ID: On Fri, Jul 26, 2013 at 12:10 AM, Thierry Douez wrote: > But this one will work and match the first occurence: > > if matchChunk(mystring,"(\([^)]*\)).*",tstart,tEnd) > > Regards, > > Thierry > Nice Thierry! Doesn't handle nested parens though, but once again, that may not be a possibility in the OP's scenario. Pete lcSQL Software From ambassador at fourthworld.com Fri Jul 26 12:21:53 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 26 Jul 2013 09:21:53 -0700 Subject: SoCal LC User Group meeting Thurs., August 1, Pasadena Message-ID: <51F2A221.2020701@fourthworld.com> The next SoCal LiveCode User Group meeting is happening Thursday, August 1, 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 mcgrath3 at mac.com Fri Jul 26 12:44:02 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 26 Jul 2013 12:44:02 -0400 Subject: dispatch usage versus send Message-ID: I am trying to figure out the 'correct' use of dispatch: I first set up a lot of details in an iOS app on launch. I load some text files and populate some custom props for use throughout the app. After that I want to load the appropriate fields and other aspects of the app from those custom props BUT only if everything else loaded. I won't know what the data is so I can't check that, I can only tell wether or not something was loaded. I was trying to determine if I should use send or dispatch. I am using this code now: on openstack loadCustomPropsFromFile dispatch "loadAllUsers" to card "Users" of this stack if it is "handled" then dispatch "loadCurrentUser" to card "Users" of this stack if it is "handled" then dispatch "loadCurrentUserForm" to card "Users" of this stack end if end if end openstack But I could use: send "loadAllUsers" to card "Users" of this stack send "loadCurrentUser" to card "Users" of this stack send "loadCurrentUserForm" to card "Users" of this stack My question is "Is the right usage of dispatch?" "Is there another 'better' way to accomplish this?" Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From dunbarx at aol.com Fri Jul 26 13:02:08 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 26 Jul 2013 13:02:08 -0400 (EDT) Subject: Finding matched parentheses In-Reply-To: References: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> <8267059115.20130725193820@ahsoftware.net> Message-ID: <8D05838FF1BF7B2-1B38-1F1AC@webmail-m232.sysops.aol.com> I am old fashioned. And late. I think this works: on mouseUp answer findNests(fld 1) end mouseUp function findNests var repeat with y = 1 to the number of chars in var if char y of var = "(" then put y & return after lefts --build list of left paren if char y of var = ")" then put y & return after rights --build list of right paren end repeat put 0 & return before rights repeat with y = the number of lines of lefts down to 1 repeat with u = the number of lines of rights down to 1 if line y of lefts < line u of rights and line y of lefts > line u-1 of rights then put line y of lefts & "," & line u of rights & return after accum delete line y of lefts if line u of rights <> 0 then delete line u of rights end if end repeat end repeat sort accum numeric return accum end findNests The returned list orders the char numbers of the paired parens. Craig -----Original Message----- From: Peter Haworth To: How to use LiveCode Sent: Fri, Jul 26, 2013 12:09 pm Subject: Re: Finding matched parentheses On Fri, Jul 26, 2013 at 12:10 AM, Thierry Douez wrote: > But this one will work and match the first occurence: > > if matchChunk(mystring,"(\([^)]*\)).*",tstart,tEnd) > > Regards, > > Thierry > Nice Thierry! Doesn't handle nested parens though, but once again, that may not be a possibility in the OP's scenario. 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 ambassador at fourthworld.com Fri Jul 26 13:07:19 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 26 Jul 2013 10:07:19 -0700 Subject: Awesome! Message-ID: <51F2ACC7.1050400@fourthworld.com> Ben's progress report in the latest newsletter includes some truly great additions, coming up faster than I'd thought would happen - thanks RunRev! Graphics Library Driven by Michael McCreary We have been working for some time on moving LiveCode's 2D rendering to use Skia, an open source library maintained by Google. The initial purpose for this project is to facilitate the rendering LiveCode stacks at any scale (Resolution independence). It is possible that we'll also see some rendering performance improvements but we'll only know once the project is complete. Progress report: This project is almost complete. The only remaining step is to hook in text rendering. The estimated release date of a test version for this is the end of August. Resolution Independence Driven by Ian MacPhail The aim of this project is to take away the need to LiveCode developers to do extra work when creating an app that is required to run on devices with different screen densities. For example, developers who write an app for the iPad2 (1024x768) currently have to manually upscale their objects, graphics and images by hand to support the iPad3 (2048x1532). With resolution independence, LiveCode will perform all this scaling automatically as well as selecting the appropriate density of image from your app bundle. Users will be able to create an app at one scale and let LiveCode scale it up or down to meet to density of the screen of the target device. Progress report: LiveCode can now display a stack at any scale on Mac and iOS! We are busy porting this to all platforms at the moment. The final step is to update the image object to select the appropriate density of image automatically. The estimated release of a test version for this project is the end of August. -- 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 th.douez at gmail.com Fri Jul 26 13:10:25 2013 From: th.douez at gmail.com (Thierry Douez) Date: Fri, 26 Jul 2013 19:10:25 +0200 Subject: Finding matched parentheses In-Reply-To: References: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> <8267059115.20130725193820@ahsoftware.net> Message-ID: 2013/7/26 Peter Haworth > On Fri, Jul 26, 2013 at 12:10 AM, Thierry Douez > wrote: > > > But this one will work and match the first occurence: > > > > if matchChunk(mystring,"(\([^)]*\)).*",tstart,tEnd) > > > > Regards, > > > > Thierry > > > > Nice Thierry! Doesn't handle nested parens though, but once again, that > may not be a possibility in the OP's scenario. > Yes, that was my understanding.. There are solutions for recursive pattern matching with PCRE, but never being able to make them work within LC. Regards, Thierry ? > > Pete > lcSQL Software > ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From roger.e.eller at sealedair.com Fri Jul 26 13:24:55 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 26 Jul 2013 13:24:55 -0400 Subject: [OT] Android FOSS Repository Message-ID: Fyi - https://f-droid.org/ ~Roger From mwieder at ahsoftware.net Fri Jul 26 13:46:46 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 26 Jul 2013 17:46:46 +0000 (UTC) Subject: odin down again Message-ID: no comment From mwieder at ahsoftware.net Fri Jul 26 13:53:53 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 26 Jul 2013 17:53:53 +0000 (UTC) Subject: dispatch usage versus send References: Message-ID: Thomas McGrath III writes: > I am using this code now: > > on openstack > loadCustomPropsFromFile > dispatch "loadAllUsers" to card "Users" of this stack > if it is "handled" then > dispatch "loadCurrentUser" to card "Users" of this stack > if it is "handled" then > dispatch "loadCurrentUserForm" to card "Users" of this stack > end if > end if > end openstack > My question is "Is the right usage of dispatch?" Not in terms of what you're trying to accomplish. The "handled" result says that there was a handler somewhere in the message path that caught the message and processed it. It's not an indication that the loadxxx command was successful. To do that you'd need to return a value in the result or set a semaphore somewhere or some similar action. You'd be in the same situation if you used "send". Lately I've taken to using send only when I need to send a message in time, and I'm using dispatch for all other situations. There are some subtle differences in context, but otherwise you can treat them the same. And "dispatch function" is a lot easier to read, remember, and maintain than the "value(..." syntax. -- Mark Wieder mwieder at ahsoftware.net From dochawk at gmail.com Fri Jul 26 14:38:29 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 26 Jul 2013 11:38:29 -0700 Subject: keeping track of the open cards for update In-Reply-To: <2878A32A-1D8F-4E56-BD98-A14780F5143B@gmail.com> References: <2878A32A-1D8F-4E56-BD98-A14780F5143B@gmail.com> Message-ID: On Fri, Jul 26, 2013 at 5:42 AM, Peter M. Brigham wrote: > If you go with your initial solution, however, you have to use "short ID" (the straight "ID" >contains more than one word), and you have to declare your global variables, either at the > start of the script, or within each handler that uses them (you probably knew that). Yes, but that brings up another question I forgot to ask: I'm *assuming* that using an id rather than name is faster, as I assume that internally, the name is used to look up the id, and on from there. But is that really how thing work? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Fri Jul 26 16:10:46 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 26 Jul 2013 15:10:46 -0500 Subject: keeping track of the open cards for update In-Reply-To: References: <2878A32A-1D8F-4E56-BD98-A14780F5143B@gmail.com> Message-ID: <51F2D7C6.5090901@hyperactivesw.com> On 7/26/13 1:38 PM, Dr. Hawkins wrote: > On Fri, Jul 26, 2013 at 5:42 AM, Peter M. Brigham wrote: >> If you go with your initial solution, however, you have to use "short ID" (the straight "ID" >> contains more than one word), and you have to declare your global variables, either at the >> start of the script, or within each handler that uses them (you probably knew that). > > Yes, but that brings up another question I forgot to ask: I'm > *assuming* that using an id rather than name is faster, as I assume > that internally, the name is used to look up the id, and on from > there. But is that really how thing work? > > Yes. Using ID is always the quickest way to access anything. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Fri Jul 26 16:15:26 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 26 Jul 2013 13:15:26 -0700 Subject: keeping track of the open cards for update In-Reply-To: <51F2D7C6.5090901@hyperactivesw.com> References: <51F2D7C6.5090901@hyperactivesw.com> Message-ID: <51F2D8DE.4050807@fourthworld.com> J. Landman Gay wrote: > Using ID is always the quickest way to access anything. Why is that? Mark, Monte - have you guys stumbled across how object references are resolved in the code base? -- 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 Fri Jul 26 16:24:52 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 27 Jul 2013 06:24:52 +1000 Subject: keeping track of the open cards for update In-Reply-To: <51F2D8DE.4050807@fourthworld.com> References: <51F2D7C6.5090901@hyperactivesw.com> <51F2D8DE.4050807@fourthworld.com> Message-ID: On 27/07/2013, at 6:15 AM, Richard Gaskin wrote: >> Using ID is always the quickest way to access anything. > > Why is that? > > Mark, Monte - have you guys stumbled across how object references are resolved in the code base? I haven't really looked into it but it makes sense that an integer comparison will be faster than a string comparison. Objects are arranged internally as doubly linked lists in the hierarchy of objects so to find the actual instance it needs to iterate over the objects to find them and compare the id or name to what's being looked for. There is also the id cache that was introduced a few versions ago that keeps track of re-uses of ids and make them faster. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From ambassador at fourthworld.com Fri Jul 26 16:38:48 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 26 Jul 2013 13:38:48 -0700 Subject: keeping track of the open cards for update In-Reply-To: References: Message-ID: <51F2DE58.3000602@fourthworld.com> Monte Goulding wrote: > On 27/07/2013, at 6:15 AM, Richard Gaskin wrote: > >>> Using ID is always the quickest way to access anything. >> >> Why is that? >> >> Mark, Monte - have you guys stumbled across how object references are resolved in the code base? > > I haven't really looked into it but it makes sense that an integer > comparison will be faster than a string comparison. Objects are > arranged internally as doubly linked lists in the hierarchy of > objects so to find the actual instance it needs to iterate over the > objects to find them and compare the id or name to what's being > looked for. Yes, I've always believed that name was the slowest option, but it's the iteration that made me thinking that ordinal references would be at least as fast, and possibly faster since the lookup is ordinal by nature anyway but ordinal references require no additional ID comparison. > There is also the id cache that was introduced a few versions > ago that keeps track of re-uses of ids and make them faster. I found that interesting when it first showed up but have been unable to come up with a way to benchmark the improved performance. Anyone here have a sample script that shows off how well ID caching works? -- 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 Fri Jul 26 16:42:22 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 27 Jul 2013 06:42:22 +1000 Subject: keeping track of the open cards for update In-Reply-To: <51F2DE58.3000602@fourthworld.com> References: <51F2DE58.3000602@fourthworld.com> Message-ID: <18E1FCC5-DA78-47C6-A16B-2CABC1DC4FEC@sweattechnologies.com> On 27/07/2013, at 6:38 AM, Richard Gaskin wrote: > Yes, I've always believed that name was the slowest option, but it's the iteration that made me thinking that ordinal references would be at least as fast, and possibly faster since the lookup is ordinal by nature anyway but ordinal references require no additional ID comparison. I'm not really sure what you mean by ordinal references. -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From bogdanoff at me.com Fri Jul 26 17:08:01 2013 From: bogdanoff at me.com (Peter Bogdanoff) Date: Fri, 26 Jul 2013 14:08:01 -0700 Subject: OT: 1948 Newsreel of a Mechanical Differential Analyzer Message-ID: <932AAEA3-3B0F-4481-9EC6-162A4BFEDCA6@me.com> http://newsroom.ucla.edu/portal/ucla/video-1948-mechanical-computer-247581.aspx This 1948 short film by Popular Science magazine screened in movie theaters before Paramount Pictures features. It shows a mechanical differential analyzer in use by UCLA engineering students and researchers. In the movie, I am, of course, the male student flanked by the two co-eds ;) Not that I know what a differential is. Peter Bogdanoff UCLA "Birthplace of the Internet" From pete at lcsql.com Fri Jul 26 20:23:47 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 26 Jul 2013 17:23:47 -0700 Subject: Reliable script to handle selection/drag-and-drop in a list field? In-Reply-To: References: <51EEC534.2070503@fourthworld.com> Message-ID: Hi Geoff, I got a few minutes to check this out and everything works fine now except for the issue of dragging above/below the field. However, looks like that's just a matter of how much of a border you allow for when calculating the noFlyRect. I changed the top and bottom borders from 20 to 10 and that fixed the issue. Thanks again for this, been trying to figure out how to do it for ages! Pete lcSQL Software On Fri, Jul 26, 2013 at 1:22 AM, Geoff Canyon wrote: > Thanks to Peter for pointing out some issues. Update to fix them: > > https://docs.google.com/file/d/0By_mW8YYOZpAZ19VUHdHcjViY28 > > > On Wed, Jul 24, 2013 at 3:38 AM, Geoff Canyon wrote: > > > Thanks for pointing out the new messages for behaviors. This version< > https://docs.google.com/file/d/0By_mW8YYOZpAOTE2blU1Y2JhMnM/>should > address the following: > > > > -- All messages should be "before" or "after" so they won't interfere > > with your code. > > -- Clicking on the selection should not change the selection -- > > previously if you clicked an item that was one of multiple highlighted > > lines, the others would all be deselected, but then jump back if you > > dragged. Now the selection remains, ready to be dragged. > > -- The image of the dragged items in most cases will be positioned as > you > > drag so that the spot you clicked -- whatever item that was -- should be > > directly under the pointer where it was when you clicked to drag. This > > doesn't do what I want when the dragged lines are more than will fit in > the > > visible list at one time. I'm still working on that. > > > > Let me know what else you find. > > > > gc > > > > > > On Tue, Jul 23, 2013 at 5:17 PM, Geoff Canyon wrote: > > > >> On Tue, Jul 23, 2013 at 1:02 PM, Richard Gaskin < > >> ambassador at fourthworld.com> wrote: > >> > >>> I wonder if Geoff's script could be revised to use "before mouseDown" > or > >>> "after mouseDown" to allow instances to handle the primary forms of > those > >>> messages without interference? > >>> > >> > >> > >> I checked, and the appropriate combination of before and after handlers > >> works great. I want to adjust the positioning of the highlight a bit and > >> then I'll post an update. > >> > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Fri Jul 26 20:27:40 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 26 Jul 2013 17:27:40 -0700 Subject: keeping track of the open cards for update In-Reply-To: <18E1FCC5-DA78-47C6-A16B-2CABC1DC4FEC@sweattechnologies.com> References: <18E1FCC5-DA78-47C6-A16B-2CABC1DC4FEC@sweattechnologies.com> Message-ID: <51F313FC.4070709@fourthworld.com> Monte Goulding wrote: > On 27/07/2013, at 6:38 AM, Richard Gaskin wrote: > >> Yes, I've always believed that name was the slowest option, but >> it's the iteration that made me thinking that ordinal references >> would be at least as fast, and possibly faster since the lookup >> is ordinal by nature anyway but ordinal references require no >> additional ID comparison. > > I'm not really sure what you mean by ordinal references. ordinal = order = "button 1", "field 4", etc. -- 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 bvlahos at mac.com Fri Jul 26 20:48:22 2013 From: bvlahos at mac.com (Bill Vlahos) Date: Fri, 26 Jul 2013 17:48:22 -0700 Subject: OT: 1948 Newsreel of a Mechanical Differential Analyzer In-Reply-To: <932AAEA3-3B0F-4481-9EC6-162A4BFEDCA6@me.com> References: <932AAEA3-3B0F-4481-9EC6-162A4BFEDCA6@me.com> Message-ID: <9D646A25-03E0-46B6-807C-C33FDC0FE708@mac.com> Wow. It would have been something to see this thing in action. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. lcTaskList: (http://www.infowallet.com/lctasklist/index.htm) RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61) On Jul 26, 2013, at 2:08 PM, Peter Bogdanoff wrote: > > > http://newsroom.ucla.edu/portal/ucla/video-1948-mechanical-computer-247581.aspx > > This 1948 short film by Popular Science magazine screened in movie theaters before Paramount Pictures features. It shows a mechanical differential analyzer in use by UCLA engineering students and researchers. > > In the movie, I am, of course, the male student flanked by the two co-eds ;) > > Not that I know what a differential is. > > Peter Bogdanoff > > UCLA > "Birthplace of the Internet" > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Fri Jul 26 21:05:57 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 27 Jul 2013 11:05:57 +1000 Subject: keeping track of the open cards for update In-Reply-To: <51F313FC.4070709@fourthworld.com> References: <18E1FCC5-DA78-47C6-A16B-2CABC1DC4FEC@sweattechnologies.com> <51F313FC.4070709@fourthworld.com> Message-ID: On 27/07/2013, at 10:27 AM, Richard Gaskin wrote: > Monte Goulding wrote: > > On 27/07/2013, at 6:38 AM, Richard Gaskin wrote: > > > >> Yes, I've always believed that name was the slowest option, but > >> it's the iteration that made me thinking that ordinal references > >> would be at least as fast, and possibly faster since the lookup > >> is ordinal by nature anyway but ordinal references require no > >> additional ID comparison. > > > > I'm not really sure what you mean by ordinal references. > > ordinal = order = "button 1", "field 4", etc. Ah... gotcha. I haven't got my head around the script parser yet. After a few little looks it's one thing I'm happy to leave to the people getting paid ;-) My focus lately has been on helping where I can with getting android externals working. Just got mergZXingGetBarcode working this morning! Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From calhorner at xtra.co.nz Sat Jul 27 00:43:45 2013 From: calhorner at xtra.co.nz (Cal Horner) Date: Sat, 27 Jul 2013 16:43:45 +1200 (New Zealand Standard Time) Subject: Answer Dialog location Message-ID: <51F34FFD.000009.05672@CALS_BIG_PC> I have implemented a modified error checking handler in the topmost stack in a multi-stack application and the standard "answer dialog" is popping up over the topmost stack instead of in the middle of the screen. To me this is a problem. I was sure that I had seen an answer to my problem in the forum, but I can't find that answer anywhere. Just replies that tell us to build our own dialog stack. Which I would rather not do at this late stage in the project. Surely there must be a simple answer such as setting the location of the "answer" stack. Please answer with something simple, other than building my own stack. From scott at tactilemedia.com Sat Jul 27 01:05:16 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 26 Jul 2013 22:05:16 -0700 Subject: Answer Dialog location In-Reply-To: <51F34FFD.000009.05672@CALS_BIG_PC> Message-ID: Are you sure you don't have a handler somewhere that is positioning the dialog? Because the default behavior *is* to position the answer dialog in the middle of the main display. This is the routine I use when I want the dialog to appear at a specific location: on suspendStack if "answer dialog" is among the lines of the openStacks then set the topLeft of stack "answer dialog" to 100,100 end if end suspendStack I've never had to use any script to position the answer dialog in the middle of the screen since it (should) just work that way. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 7/26/13 9:43 PM, "Cal Horner" wrote: >I have implemented a modified error checking handler in the topmost stack >in >a multi-stack application and the standard "answer dialog" is popping up >over the topmost stack instead of in the middle of the screen. To me this >is >a problem. > >I was sure that I had seen an answer to my problem in the forum, but I >can't >find that answer anywhere. Just replies that tell us to build our own >dialog >stack. Which I would rather not do at this late stage in the project. > >Surely there must be a simple answer such as setting the location of the >"answer" stack. Please answer with something simple, other than building >my own stack. >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From sysman at bigpond.com Sat Jul 27 02:17:27 2013 From: sysman at bigpond.com (Mitchell Duncan) Date: Sat, 27 Jul 2013 16:17:27 +1000 Subject: LiveCode and implementation of tail-recursion Message-ID: Can anyone comment on the efficiency of LiveCode in recursive applications, and in particular, whether it handles tail-recursion well (if at all). From alanstenhouse at hotmail.com Sat Jul 27 04:24:48 2013 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Sat, 27 Jul 2013 10:24:48 +0200 Subject: Answer Dialog location In-Reply-To: References: Message-ID: G'day Cal Quote from the online docs: --- The position and appearance of the dialog box varies between platforms. On Mac OS systems, the dialog box is centered on the screen; on Unix and Windows systems, the dialog box is centered over the active window. On Windows systems, the buttons are shown in reverse order (the first button is on the right side). --- Presumably you're on windows/linux...? One solution might be to create a small stack for use when using your error answer dialog and set it's location to the middle of the screen (and invisible) and then close it when you're done...? i.e. so whenever you run your error handler you open inv the window in the screenloc and then answer your info... Does that make sense? HTH cheers Alan On 27/07/2013, at 6:43 AM, use-livecode-request at lists.runrev.com wrote: > I have implemented a modified error checking handler in the topmost stack in > a multi-stack application and the standard "answer dialog" is popping up > over the topmost stack instead of in the middle of the screen. To me this is > a problem. > > I was sure that I had seen an answer to my problem in the forum, but I can't > find that answer anywhere. Just replies that tell us to build our own dialog > stack. Which I would rather not do at this late stage in the project. > > Surely there must be a simple answer such as setting the location of the "answer" stack. Please answer with something simple, other than building my own stack. From scott at tactilemedia.com Sat Jul 27 05:21:55 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 27 Jul 2013 02:21:55 -0700 Subject: Answer Dialog location In-Reply-To: References: Message-ID: Good point about the platform being key -- had forgot about that in my X-centric view. But Cal might be able to make use of the suspendStack handler to position the answer dialog in the preferred location. Regards, Scott Rossi Creative Director Tactile Media, UX Design On Jul 27, 2013, at 1:24 AM, Alan Stenhouse wrote: > The position and appearance of the dialog box varies between platforms. From sims at ezpzapps.com Sat Jul 27 05:30:51 2013 From: sims at ezpzapps.com (Jim sims) Date: Sat, 27 Jul 2013 11:30:51 +0200 Subject: App builds but will not install Message-ID: Have an iPad app that would install and run ten days ago. Did some work on it (it does not use externals) - builds fine - when synched to my iPad it will not install. Same ios application settings as before , in the one that installed and ran. No dialogs popping up with warnings. Just will not install. Any suggestions on where to look for a cure? TIA sims From mcgrath3 at mac.com Sat Jul 27 09:00:44 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 27 Jul 2013 09:00:44 -0400 Subject: App builds but will not install In-Reply-To: References: Message-ID: <4EF6B3AA-7B91-4CF1-9C56-E114A6E31E27@mac.com> Jim, How are you doing the 'syncing'? Xcode Organizer? iTunes? Other? Sometimes you have to delete the original app on the iPad before installing a new one? But there is usually an error. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jul 27, 2013, at 5:30 AM, Jim sims wrote: > Have an iPad app that would install and run ten days ago. > > Did some work on it (it does not use externals) - builds fine - when > synched to my iPad it will not install. > > Same ios application settings as before , in the one that installed and > ran. No dialogs popping up with warnings. Just will not install. > > Any suggestions on where to look for a cure? > > TIA > sims > _______________________________________________ > use-livecode mailing list > use-livecode at 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 scimatch.org Sat Jul 27 10:47:24 2013 From: david at scimatch.org (David Bovill) Date: Sat, 27 Jul 2013 15:47:24 +0100 Subject: Google Cast Message-ID: Anyone working on integrating Google Cast into LiveCode? - https://developers.google.com/cast/devprev From roger.e.eller at sealedair.com Sat Jul 27 11:38:06 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 27 Jul 2013 11:38:06 -0400 Subject: Answer Dialog location In-Reply-To: References: Message-ID: Make a tiny hidden substack that stays at the screenLoc (hidden). On Windows, go to stack "screenCenter" before calling answer. ~Roger On Jul 27, 2013 5:22 AM, "Scott Rossi" wrote: > Good point about the platform being key -- had forgot about that in my > X-centric view. > But Cal might be able to make use of the suspendStack handler to position > the answer dialog in the preferred location. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > On Jul 27, 2013, at 1:24 AM, Alan Stenhouse > wrote: > > > The position and appearance of the dialog box varies between platforms. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 27 12:44:55 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 27 Jul 2013 09:44:55 -0700 Subject: Replicant Message-ID: <19778624020.20130727094455@ahsoftware.net> The FSF has started fundraising to expand the reach of Replicant, an open-source version of Android. Currently running on 10 mobile devices, Replicant replaces the non-OSS parts of the Android operating system with free replacements. F-Droid is also available, and can be installed on any Android system now. https://www.fsf.org/blogs/community/donate-to-replicant-and-support-free-software-on-mobile-devices https://f-droid.org/ -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Sat Jul 27 13:29:53 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 27 Jul 2013 20:29:53 +0300 Subject: Replicant In-Reply-To: <19778624020.20130727094455@ahsoftware.net> References: <19778624020.20130727094455@ahsoftware.net> Message-ID: <51F40391.30507@gmail.com> On 07/27/2013 07:44 PM, Mark Wieder wrote: > The FSF has started fundraising to expand the reach of Replicant, an > open-source version of Android. Currently running on 10 mobile > devices, Replicant replaces the non-OSS parts of the Android operating > system with free replacements. F-Droid is also available, and can be > installed on any Android system now. > > https://www.fsf.org/blogs/community/donate-to-replicant-and-support-free-software-on-mobile-devices > https://f-droid.org/ > After a bit I get a bit sick of Stallman's galloping fundamentalism (oddly enough he does look like a chubby version of both John Knox and Osama bin Laden; 2 men who exerted a distinctly baleful influence in their time). If you believe the GNU rant the fact that an operating system contains 1 non-Open Source component imperils us beyond belief: this is palpable "bollo": "Even one such program in a phone's application space is enough to threaten our freedom and security" Oh Pish! --------------- How is running my Closed source Devawriter Pro (made with Livecode 4.5 commercial) on your Linux box (cough, cough, sorry, "GNU/Linux" even though the GNU thang is unfinished after a million years we cannot be seen to give lots of credit to Linus Torvalds who managed to do something without licking the lotus feet of Guru Stallman) going to imperil your existence, or, for that matter, your freedom? All the Free Software Foundation guff reads like rant with not much by the way of logical underpinning. ------------- "it only takes one open backdoor to gain access" that is a truism used disingenuously. I can make a bit of Closed Source software that does NOT allow hackers to muck around in a system it is installed on, and, equally well, I can make a bit of Open Source that DOES allow hackers to muck around. The difference is NOT between Closed and Open source software, the difference IS between sloppy and/or deliberately naughty programming and careful programming. But this is the sort of 'argumentation' that cults use (e.g. ISKCON, Scientology, the Moonies) to justify their brainwashing and other criminal activities. Stallman and his merry band are not doing themselves an favours (one of the reasons they are ignored to a large extent). ------------------- What the advantage of "F-Droid" (I wonder what the 'F' stands for???) over Android is is hard to see: Aah, Yes; it runs on far fewer machines: Got to be good. Richmond. From mwieder at ahsoftware.net Sat Jul 27 14:43:40 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 27 Jul 2013 11:43:40 -0700 Subject: Replicant In-Reply-To: <51F40391.30507@gmail.com> References: <19778624020.20130727094455@ahsoftware.net> <51F40391.30507@gmail.com> Message-ID: <8985748319.20130727114340@ahsoftware.net> Richmond- Saturday, July 27, 2013, 10:29:53 AM, you wrote: > After a bit I get a bit sick of Stallman's galloping fundamentalism tl;dr, eh? It does sometimes pay to read the described material *before* issuing a kneejerk response. Note that this post is about Replicant, not FSF. Nonetheless... > What the advantage of "F-Droid" (I wonder what the 'F' stands for???) > over Android is is hard to see: F-Droid, as desribed in the article, is *not* a replacement for Android. It is an alternative place to find and download free Android apps. One might liken it to a sort of revOnline. -- -Mark Wieder mwieder at ahsoftware.net From endernafi at gmail.com Sat Jul 27 14:57:24 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Sat, 27 Jul 2013 21:57:24 +0300 Subject: [OT] greetings Message-ID: <02C2F74E15AD416AB37B09859735BDF1@gmail.com> Hello Dear LiveCoders, We're still on the streets but there are other things to do. Legal prosecutions, seeking human rights in official echelons, etc. However, one must pay the rent and the bills ;-) Time to roll up my sleeves and get back to coding. I really missed you, guys :-) The discussions, questions, answers, algorithms, solutions, mental challenges and all... I missed LiveCode, too. with my kindest regards from istanbul, ~ Ender Nafi From richmondmathewson at gmail.com Sat Jul 27 15:16:35 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 27 Jul 2013 22:16:35 +0300 Subject: Replicant In-Reply-To: <8985748319.20130727114340@ahsoftware.net> References: <19778624020.20130727094455@ahsoftware.net> <51F40391.30507@gmail.com> <8985748319.20130727114340@ahsoftware.net> Message-ID: <51F41C93.5000902@gmail.com> On 07/27/2013 09:43 PM, Mark Wieder wrote: > Richmond- > > Saturday, July 27, 2013, 10:29:53 AM, you wrote: > >> After a bit I get a bit sick of Stallman's galloping fundamentalism > > > tl;dr, eh? > > It does sometimes pay to read the described material *before* issuing > a kneejerk response. Note that this post is about Replicant, not FSF. > Nonetheless... I did, oddly enough, read about Replicant and F-Droid, and, as such I cannot see anything unduly wrong with them; but all that was mixed up with the "Whiter than white" specious nonsense of Stallman and his acolytes, which gives me such a dry boak, that my forjeskitment made me react to that. > >> What the advantage of "F-Droid" (I wonder what the 'F' stands for???) >> over Android is is hard to see: > F-Droid, as desribed in the article, is *not* a replacement for > Android. It is an alternative place to find and download free Android > apps. One might liken it to a sort of revOnline. > From richmondmathewson at gmail.com Sat Jul 27 15:19:28 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 27 Jul 2013 22:19:28 +0300 Subject: [OT] greetings In-Reply-To: <02C2F74E15AD416AB37B09859735BDF1@gmail.com> References: <02C2F74E15AD416AB37B09859735BDF1@gmail.com> Message-ID: <51F41D40.3010607@gmail.com> On 07/27/2013 09:57 PM, Ender Nafi Elek?io?lu wrote: > Hello Dear LiveCoders, > > We're still on the streets but there are other things to do. > Legal prosecutions, seeking human rights in official echelons, etc. > > However, one must pay the rent and the bills ;-) > Time to roll up my sleeves and get back to coding. > > I really missed you, guys :-) > The discussions, questions, answers, algorithms, solutions, mental challenges and all... > I missed LiveCode, too. We're having a "time" over here in Bulgaria; but, unlike Istanbul, the world chooses not to pay it any attention because Bulgaria is not a strategic ally of the US, nor is it a bastion against Islamic fundamentalism. So the police belted people over the heads with batons, drawing blood, and not a sound is heard in the international media. Meanwhile the Bulgarian oligarchy rolls on and over its citizens; the EU looks on and sucks its lollipops. Richmond. > > with my kindest regards from istanbul, > > ~ Ender Nafi > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 27 15:24:16 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 27 Jul 2013 12:24:16 -0700 Subject: Finding matched parentheses In-Reply-To: References: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> <8267059115.20130725193820@ahsoftware.net> Message-ID: On Thu, Jul 25, 2013 at 9:53 PM, Geoff Canyon wrote: > regex is notoriously unable to handle recursion. To see endless heated > debate, search the web for how to parse HTML using regex. > Hi Geoff, You piqued my interest and indeed there are endless debates about parsing html! I also came across the (?R) item which allows for recursion of a regex. There's an example of using it at http://php.net/manual/en/regexp.reference.recursive.php that is specifically aimed at capturing the text between nested parens. Not quite what the original problem was but you just need to subtract one from each start char and add 1 to each end char to get the char positions of the parens. It still doesn't handle Mark's earlier example of two completely separate sets of parens, but I'll bet someone with more regex skills than I could modify it to do so. However, it may still not be usable within LC because matchChunk requires you to know in advance how many capture groups will be found and specify the requisite number of start/end variable pairs, which has always seemed strange to me. I wonder if it might ever be changed to return an array with one numeric key for each match containing the comma separated start and end chars, or even a line delimited list of start/end positions. Pete lcSQL Software From pete at lcsql.com Sat Jul 27 15:36:53 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 27 Jul 2013 12:36:53 -0700 Subject: Finding matched parentheses In-Reply-To: References: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> <8267059115.20130725193820@ahsoftware.net> Message-ID: On Fri, Jul 26, 2013 at 10:10 AM, Thierry Douez wrote: > There are solutions for recursive pattern matching with PCRE, but > never being able to make them work within LC. > Hi Thierry, Sorry, missed your post somehow. If you follow the link in my post to Geoff, there's an example of a recursive expression. It works great in LC (after removing the whitespace characters) but, as also mentioned, in my reply to Geoff, matchText doesn't work in circumstances where you don't know in advance how many capture groups will be found. Pete lcSQL Software From dochawk at gmail.com Sat Jul 27 15:48:08 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 27 Jul 2013 12:48:08 -0700 Subject: "unsetting" behavior Message-ID: I'm looking at the need to be able to set & "unset" behaviors. If I have set the behavior of a field to some button, and then want it to go back to default behavior, is there any way to do this? Do I need a null script? And how long does a "setting" last? While I"m o the card? While the stack is open? While the mainstack is open? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mwieder at ahsoftware.net Sat Jul 27 16:09:34 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 27 Jul 2013 13:09:34 -0700 Subject: Replicant In-Reply-To: <51F41C93.5000902@gmail.com> References: <19778624020.20130727094455@ahsoftware.net> <51F40391.30507@gmail.com> <8985748319.20130727114340@ahsoftware.net> <51F41C93.5000902@gmail.com> Message-ID: <7990902438.20130727130934@ahsoftware.net> Richmond- Saturday, July 27, 2013, 12:16:35 PM, you wrote: > I did, oddly enough, read about Replicant and F-Droid, and, as such I > cannot see anything unduly wrong with > them; but all that was mixed up with the "Whiter than white" specious > nonsense of Stallman and his acolytes, > which gives me such a dry boak, that my forjeskitment made me react to that. Well, Replicant and F-Droid are two different things, the latter not requiring or, as far as I can see, related to, the former. However, point taken. My eyes tend to glaze over when faced with the FSF stuff in general, and I focus on the end result rather than the process. -- -Mark Wieder mwieder at ahsoftware.net From revdev at pdslabs.net Sat Jul 27 16:20:46 2013 From: revdev at pdslabs.net (Phil Davis) Date: Sat, 27 Jul 2013 13:20:46 -0700 Subject: "unsetting" behavior In-Reply-To: References: Message-ID: <51F42B9E.3020902@pdslabs.net> On 7/27/13 12:48 PM, Dr. Hawkins wrote: > I'm looking at the need to be able to set & "unset" behaviors. > > If I have set the behavior of a field to some button, and then want it > to go back to default behavior, is there any way to do this? Do I > need a null script? set the behavior of control 1 to empty > > And how long does a "setting" last? While I"m o the card? While the > stack is open? While the mainstack is open? Dunno. I would assume the unsetting lasts as long as the unset copy of the stack is in memory. -- Phil Davis From mwieder at ahsoftware.net Sat Jul 27 16:26:23 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 27 Jul 2013 13:26:23 -0700 Subject: [OT] greetings In-Reply-To: <51F41D40.3010607@gmail.com> References: <02C2F74E15AD416AB37B09859735BDF1@gmail.com> <51F41D40.3010607@gmail.com> Message-ID: <15591911763.20130727132623@ahsoftware.net> Richmond- Saturday, July 27, 2013, 12:19:28 PM, you wrote: > So the police belted people over the heads with batons, drawing blood, > and not a sound is heard in the > international media. There are dribs and such in the Guardian and some other places. But you have to go looking for coverage in order to know it's there. Nothing in the US, of course. Until we invade a country we have no idea where in the world it is. > Meanwhile the Bulgarian oligarchy rolls on and over its citizens; the EU > looks on and sucks its lollipops. Shoulda had a royal baby. That gets 'em every time. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sat Jul 27 18:06:08 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 27 Jul 2013 15:06:08 -0700 Subject: "unsetting" behavior In-Reply-To: References: Message-ID: <6397896766.20130727150608@ahsoftware.net> hi- Saturday, July 27, 2013, 12:48:08 PM, you wrote: > I'm looking at the need to be able to set & "unset" behaviors. > If I have set the behavior of a field to some button, and then want it > to go back to default behavior, is there any way to do this? Do I > need a null script? > And how long does a "setting" last? While I"m o the card? While the > stack is open? While the mainstack is open? The behavior of an object is treated the same as any other property. If you set it and save the stack, it's permanent. Until changed. If you set it to empty, you're essentially clearing the behavior property of the object, unlinking the object from its behavior button. Think of setting or clearing the backgroundcolor of the field. It has the same persistence characteristics: if you save the stack, it's saved with the current property value; if you change the setting and don't save it then the setting disappears when the stack is closed. -- -Mark Wieder mwieder at ahsoftware.net From dochawk at gmail.com Sat Jul 27 18:10:06 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 27 Jul 2013 15:10:06 -0700 Subject: "unsetting" behavior In-Reply-To: <51F42B9E.3020902@pdslabs.net> References: <51F42B9E.3020902@pdslabs.net> Message-ID: On Sat, Jul 27, 2013 at 1:20 PM, Phil Davis wrote: > > On 7/27/13 12:48 PM, Dr. Hawkins wrote: >> If I have set the behavior of a field to some button, and then want it >> to go back to default behavior, is there any way to do this? Do I >> need a null script? > > set the behavior of control 1 to empty OK, thanks. I was afraid that that could de-behavior it entirely . . . >> And how long does a "setting" last? While I"m o the card? While the >> stack is open? While the mainstack is open? > > Dunno. I would assume the unsetting lasts as long as the unset copy of the > stack is in memory. That's my assumption, but . . . the dictionary has very little to say about behaviro. thanks again -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sat Jul 27 18:14:53 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 27 Jul 2013 15:14:53 -0700 Subject: "unsetting" behavior In-Reply-To: <6397896766.20130727150608@ahsoftware.net> References: <6397896766.20130727150608@ahsoftware.net> Message-ID: On Sat, Jul 27, 2013 at 3:06 PM, Mark Wieder wrote: > The behavior of an object is treated the same as any other property. > If you set it and save the stack, it's permanent. Until changed. If > you set it to empty, you're essentially clearing the behavior property > of the object, unlinking the object from its behavior button. *blink* I'd have sworn I tried this and experimented with it . . . and here I am setting them every time cards load . . . wow. Thanks -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sat Jul 27 18:21:11 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 27 Jul 2013 15:21:11 -0700 Subject: huh? a non-table accepting tabs instead of leaving? Message-ID: I have a handful of fields where I implemented a click-to open behavior as we discussed a few days--fields that are unlikely to need to be overridden, so shouldn't be tabbed through. On one of these, when I tab, it inserts a tab into the next field, rather than processing it. I've seen the occasional weird behavior in a field before, requiring replacing it, but this seems a bit much. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mwieder at ahsoftware.net Sat Jul 27 18:20:15 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 27 Jul 2013 15:20:15 -0700 Subject: "unsetting" behavior In-Reply-To: References: <6397896766.20130727150608@ahsoftware.net> Message-ID: <7298743166.20130727152015@ahsoftware.net> Hmmm... Saturday, July 27, 2013, 3:14:53 PM, you wrote: > I'd have sworn I tried this and experimented with it . . . and here I > am setting them every time cards load . . . I do remember a bug with a previous version where the behavior wasn't consistently persistent, but that got cleared up pretty quickly. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sat Jul 27 22:50:33 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 27 Jul 2013 19:50:33 -0700 Subject: huh? a non-table accepting tabs instead of leaving? In-Reply-To: References: Message-ID: <62114961567.20130727195033@ahsoftware.net> hi- Saturday, July 27, 2013, 3:21:11 PM, you wrote: > On one of these, when I tab, it inserts a tab into the next field, > rather than processing it. The tabstops of that field is not empty. -- -Mark Wieder mwieder at ahsoftware.net From gcanyon at gmail.com Sun Jul 28 03:54:50 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Sun, 28 Jul 2013 02:54:50 -0500 Subject: Finding matched parentheses In-Reply-To: <8D05838FF1BF7B2-1B38-1F1AC@webmail-m232.sysops.aol.com> References: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> <8267059115.20130725193820@ahsoftware.net> <8D05838FF1BF7B2-1B38-1F1AC@webmail-m232.sysops.aol.com> Message-ID: I checked, and your solution and my strictTotalMatching function return identical results. It took me a while to figure out how it works. It's very clever, but interestingly, not very efficient -- it almost certainly doesn't matter for the likely use cases, but if you throw a string with a few thousand (s and )s at it, seconds will go by before you get the result. gc On Fri, Jul 26, 2013 at 12:02 PM, wrote: > I am old fashioned. And late. I think this works: > > > > on mouseUp > answer findNests(fld 1) > end mouseUp > > > function findNests var > repeat with y = 1 to the number of chars in var > if char y of var = "(" then put y & return after lefts --build list > of left paren > if char y of var = ")" then put y & return after rights --build list > of right paren > end repeat > put 0 & return before rights > > repeat with y = the number of lines of lefts down to 1 > repeat with u = the number of lines of rights down to 1 > if line y of lefts < line u of rights and line y of lefts > line > u-1 of rights then > put line y of lefts & "," & line u of rights & return after > accum > delete line y of lefts > if line u of rights <> 0 then delete line u of rights > end if > end repeat > end repeat > sort accum numeric > return accum > end findNests > > > The returned list orders the char numbers of the paired parens. > > > Craig > > > > -----Original Message----- > From: Peter Haworth > To: How to use LiveCode > Sent: Fri, Jul 26, 2013 12:09 pm > Subject: Re: Finding matched parentheses > > > On Fri, Jul 26, 2013 at 12:10 AM, Thierry Douez > wrote: > > > But this one will work and match the first occurence: > > > > if matchChunk(mystring,"(\([^)]*\)).*",tstart,tEnd) > > > > Regards, > > > > Thierry > > > > Nice Thierry! Doesn't handle nested parens though, but once again, that > may not be a possibility in the OP's scenario. > > 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 th.douez at gmail.com Sun Jul 28 03:56:49 2013 From: th.douez at gmail.com (Thierry Douez) Date: Sun, 28 Jul 2013 09:56:49 +0200 Subject: Finding matched parentheses In-Reply-To: References: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> <8267059115.20130725193820@ahsoftware.net> Message-ID: 2013/7/27 Peter Haworth > On Fri, Jul 26, 2013 at 10:10 AM, Thierry Douez > wrote: > > > There are solutions for recursive pattern matching with PCRE, but > > never being able to make them work within LC. > > > > Hi Thierry, > If you follow the link in my post to > Geoff, there's an example of a recursive expression. It works great in LC > (after removing the whitespace characters) but, as also mentioned, in my > reply to Geoff, matchText doesn't work in circumstances where you don't > know in advance how many capture groups will be found. > ?Thanks Peter, Well, I should have said that I didn't managed to make them work consistently. A couple of years ago, I spent quite some time to dig in ? ? regex within LC. I ?dropped the idea of using (?R) or its derivatives because for most practical cases it didn't worked as expected (even crash LC) but ?those regex ? worked in Perl scripts! (looks like in php it works great too). ? ?Regards, Thierry? ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From effendi at wanadoo.fr Sun Jul 28 07:38:19 2013 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sun, 28 Jul 2013 13:38:19 +0200 Subject: Replicant Message-ID: <8D98826B-0369-40BC-BF67-F847C9F06DF9@wanadoo.fr> Hi from Beautiful Brittany, Richmond, ?. if you did not exist ?.. ?? we would have to invent you ! Best Regards - Francis From index at kenjikojima.com Sun Jul 28 08:14:14 2013 From: index at kenjikojima.com (index at kenjikojima.com) Date: Sun, 28 Jul 2013 08:14:14 -0400 Subject: How can I get Unicode Menu Items on Windows? Message-ID: Hi, It works on Mac OS, But does not work on Windows. go to url "http://kenjikojima.com/livecode/download/unicodeMenuStudy.livecode" What's wrong? Thanks, -- Kenji Kojima / ???? http://www.kenjikojima.com/ From guglielmo at braguglia.ch Sun Jul 28 08:49:02 2013 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Sun, 28 Jul 2013 14:49:02 +0200 Subject: Easier Dropbox Access In-Reply-To: References: <1374691589517-4667953.post@n4.nabble.com> Message-ID: <51F5133E.5070903@braguglia.ch> I'm back and ... ... *thanks to Mike Kerner*, a new version (1.04) of the phxDropboxLib, solving the "/folder/" problem on mobile "phx_DropboxWriteFile", as been made available still on the same link : http://www.phoenixsea.ch/downloads/Livecode/phxDropboxLib.zip Still thanks to Mike, also some "typo" in the documentation have been corrected :-) /*Guglielmo Braguglia */ On 7/24/13 21:45 PM, Mike Kerner wrote: > I just heard from Gugliermo. He's out this week, but will be working on > the new version next week. > From richmondmathewson at gmail.com Sun Jul 28 09:06:36 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 28 Jul 2013 16:06:36 +0300 Subject: How can I get Unicode Menu Items on Windows? In-Reply-To: References: Message-ID: <51F5175C.2000103@gmail.com> On 07/28/2013 03:14 PM, index at kenjikojima.com wrote: > Hi, > > It works on Mac OS, But does not work on Windows. > go to url "http://kenjikojima.com/livecode/download/unicodeMenuStudy.livecode" > > What's wrong? > > Thanks, > -- > Kenji Kojima / ???? > http://www.kenjikojima.com/ Sorry; pictures required for this one: http://forums.runrev.com/viewtopic.php?f=18&t=16173 Richmond. From Camm29 at tesco.net Sun Jul 28 09:11:00 2013 From: Camm29 at tesco.net (Camm) Date: Sun, 28 Jul 2013 14:11:00 +0100 Subject: Missing APPLY button on IDE Message-ID: <001301ce8b93$e8d77210$ba865630$@tesco.net> Hi , On Windows 7:- The Apply button is missing on the script editor in IDE ?? Also errors shown but do not go to script line number ?? Any clues .. Regards Camm From richmondmathewson at gmail.com Sun Jul 28 09:45:12 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 28 Jul 2013 16:45:12 +0300 Subject: Missing APPLY button on IDE In-Reply-To: <001301ce8b93$e8d77210$ba865630$@tesco.net> References: <001301ce8b93$e8d77210$ba865630$@tesco.net> Message-ID: <51F52068.9090601@gmail.com> On 07/28/2013 04:11 PM, Camm wrote: > Hi , > > > > On Windows 7:- > > > > The Apply button is missing on the script editor in IDE ?? > > Also errors shown but do not go to script line number ?? > > > > Any clues .. > > > > Regards > > Camm > > Which version are you using? I just had a go with LC 6.1.1 rc 1 Community on Windows 7 and had no problem seeing the 'Apply' button. Similarly with where the "BIG RED X" ends up when there is a script error. How about posting the odd picture to the Forums : http://forums.runrev.com/index.php so we can all see what you mean. Richmond. From index at kenjikojima.com Sun Jul 28 11:06:11 2013 From: index at kenjikojima.com (index at kenjikojima.com) Date: Sun, 28 Jul 2013 11:06:11 -0400 Subject: How can I get Unicode Menu Items on Windows? In-Reply-To: <51F5175C.2000103@gmail.com> References: <51F5175C.2000103@gmail.com> Message-ID: <9951FB6F-F028-4BD5-984D-E1E9BB7663BE@kenjikojima.com> Richmond, You installed a vertical font. You can install regular fonts from an installer CD. http://www.dartmouth.edu/~introjpn/00_windowsxp.html You can show Japanese font in a field. But can not select menu items correctly. -- Kenji Kojima / ???? http://www.kenjikojima.com/ On Jul 28, 2013, at 9:06 AM, Richmond wrote: > On 07/28/2013 03:14 PM, index at kenjikojima.com wrote: >> Hi, >> >> It works on Mac OS, But does not work on Windows. >> go to url "http://kenjikojima.com/livecode/download/unicodeMenuStudy.livecode" >> >> What's wrong? >> >> Thanks, >> -- >> Kenji Kojima / ???? >> http://www.kenjikojima.com/ > > Sorry; pictures required for this one: > > http://forums.runrev.com/viewtopic.php?f=18&t=16173 > > 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 Jul 28 11:12:17 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 28 Jul 2013 18:12:17 +0300 Subject: How can I get Unicode Menu Items on Windows? In-Reply-To: <9951FB6F-F028-4BD5-984D-E1E9BB7663BE@kenjikojima.com> References: <51F5175C.2000103@gmail.com> <9951FB6F-F028-4BD5-984D-E1E9BB7663BE@kenjikojima.com> Message-ID: <51F534D1.7040401@gmail.com> On 07/28/2013 06:06 PM, index at kenjikojima.com wrote: > Richmond, > > You installed a vertical font. That seems quite obvious from my screenshots; unfortunately EPSON did not specify that those were vertical fonts. I'm sorry; but as I have no Japanese, and almost as little knowledge of Windows XP, I did what instinct told me to do. Selecting menu items in your stack is also not doing much good on Linux, I'm afraid. Richmond. > You can install regular fonts from an installer CD. > http://www.dartmouth.edu/~introjpn/00_windowsxp.html > > You can show Japanese font in a field. > But can not select menu items correctly. > -- > Kenji Kojima / ???? > http://www.kenjikojima.com/ > > > On Jul 28, 2013, at 9:06 AM, Richmond wrote: > >> On 07/28/2013 03:14 PM, index at kenjikojima.com wrote: >>> Hi, >>> >>> It works on Mac OS, But does not work on Windows. >>> go to url "http://kenjikojima.com/livecode/download/unicodeMenuStudy.livecode" >>> >>> What's wrong? >>> >>> Thanks, >>> -- >>> Kenji Kojima / ???? >>> http://www.kenjikojima.com/ >> Sorry; pictures required for this one: >> >> http://forums.runrev.com/viewtopic.php?f=18&t=16173 >> >> 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 Jul 28 11:16:14 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 28 Jul 2013 18:16:14 +0300 Subject: How can I get Unicode Menu Items on Windows? In-Reply-To: <9951FB6F-F028-4BD5-984D-E1E9BB7663BE@kenjikojima.com> References: <51F5175C.2000103@gmail.com> <9951FB6F-F028-4BD5-984D-E1E9BB7663BE@kenjikojima.com> Message-ID: <51F535BE.1030801@gmail.com> I do believe that if all the Japanese characters you use are within the Unicode area reserved for Hiragana, Katakana and Kanji it should not be necessary for end-users to have to perform "extra tricks" to get your stuff working on their setup. My, limited, experience with Livecode and Unicode fonts on Windows has been fairly negative with the exception of XP. Richmond. From index at kenjikojima.com Sun Jul 28 11:26:30 2013 From: index at kenjikojima.com (index at kenjikojima.com) Date: Sun, 28 Jul 2013 11:26:30 -0400 Subject: How can I get Unicode Menu Items on Windows? In-Reply-To: <51F535BE.1030801@gmail.com> References: <51F5175C.2000103@gmail.com> <9951FB6F-F028-4BD5-984D-E1E9BB7663BE@kenjikojima.com> <51F535BE.1030801@gmail.com> Message-ID: I tested the stack on Windows XP. It did not work. -- Kenji Kojima / ???? http://www.kenjikojima.com/ On Jul 28, 2013, at 11:16 AM, Richmond wrote: > I do believe that if all the Japanese characters you use are > within the Unicode area reserved for Hiragana, Katakana and > Kanji it should not be necessary for end-users to have to > perform "extra tricks" to get your stuff working on their setup. > > My, limited, experience with Livecode and Unicode fonts on Windows > has been fairly negative with the exception of XP. > > 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 Jul 28 11:29:49 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 28 Jul 2013 18:29:49 +0300 Subject: How can I get Unicode Menu Items on Windows? In-Reply-To: References: <51F5175C.2000103@gmail.com> <9951FB6F-F028-4BD5-984D-E1E9BB7663BE@kenjikojima.com> <51F535BE.1030801@gmail.com> Message-ID: <51F538ED.4080007@gmail.com> On 07/28/2013 06:26 PM, index at kenjikojima.com wrote: > I tested the stack on Windows XP. > It did not work. > -- > Kenji Kojima / ???? > http://www.kenjikojima.com/ > > Well then, that needs to be filed as a BUG report so that the RunRev people can sort it out. Richmond. From dochawk at gmail.com Sun Jul 28 11:31:29 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 28 Jul 2013 08:31:29 -0700 Subject: huh? a non-table accepting tabs instead of leaving? In-Reply-To: <62114961567.20130727195033@ahsoftware.net> References: <62114961567.20130727195033@ahsoftware.net> Message-ID: On Sat, Jul 27, 2013 at 7:50 PM, Mark Wieder wrote: > Saturday, July 27, 2013, 3:21:11 PM, you wrote: > >> On one of these, when I tab, it inserts a tab into the next field, >> rather than processing it. > > The tabstops of that field is not empty. We have a winner. Now if I can only figure out how it *got* a tabstop. Hmm, if I put "78" into the field, should that create a tabtop? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From index at kenjikojima.com Sun Jul 28 11:37:04 2013 From: index at kenjikojima.com (index at kenjikojima.com) Date: Sun, 28 Jul 2013 11:37:04 -0400 Subject: How can I get Unicode Menu Items on Windows? In-Reply-To: <51F538ED.4080007@gmail.com> References: <51F5175C.2000103@gmail.com> <9951FB6F-F028-4BD5-984D-E1E9BB7663BE@kenjikojima.com> <51F535BE.1030801@gmail.com> <51F538ED.4080007@gmail.com> Message-ID: I will. Thanks, -- Kenji Kojima / ???? http://www.kenjikojima.com/ On Jul 28, 2013, at 11:29 AM, Richmond wrote: > On 07/28/2013 06:26 PM, index at kenjikojima.com wrote: >> I tested the stack on Windows XP. >> It did not work. >> -- >> Kenji Kojima / ???? >> http://www.kenjikojima.com/ >> >> > > Well then, that needs to be filed as a BUG report so that the RunRev > people can sort it out. > > 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 Jul 28 11:48:26 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 28 Jul 2013 18:48:26 +0300 Subject: How can I get Unicode Menu Items on Windows? In-Reply-To: References: <51F5175C.2000103@gmail.com> <9951FB6F-F028-4BD5-984D-E1E9BB7663BE@kenjikojima.com> <51F535BE.1030801@gmail.com> <51F538ED.4080007@gmail.com> Message-ID: <51F53D4A.9060609@gmail.com> On 07/28/2013 06:37 PM, index at kenjikojima.com wrote: > I will. > Thanks, > -- > Kenji Kojima / ???? > http://www.kenjikojima.com/ > > > On Jul 28, 2013, at 11:29 AM, Richmond wrote: > >> On 07/28/2013 06:26 PM, index at kenjikojima.com wrote: >>> I tested the stack on Windows XP. >>> It did not work. >>> -- >>> Kenji Kojima / ???? >>> http://www.kenjikojima.com/ >>> >>> >> Well then, that needs to be filed as a BUG report so that the RunRev >> people can sort it out. >> >> Richmond. >> >> The way Livecode and Unicode DON'T WORK on Windows is a very sore point that I have been banging on about for ages with little or no result. Richmond. From pete at lcsql.com Sun Jul 28 13:58:51 2013 From: pete at lcsql.com (Peter Haworth) Date: Sun, 28 Jul 2013 10:58:51 -0700 Subject: Finding matched parentheses In-Reply-To: References: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> <8267059115.20130725193820@ahsoftware.net> <8D05838FF1BF7B2-1B38-1F1AC@webmail-m232.sysops.aol.com> Message-ID: Yes, I can believe that. don't think regex is the most efficient thing in the world. Some of the tests I did resulted in LC running out of memory too! That's another thing I think should work better with matchText and matchChunk. Any errors, eg a bad regex, result in a runtime error - would be much better if they put something into the result. Pete lcSQL Software On Sun, Jul 28, 2013 at 12:54 AM, Geoff Canyon wrote: > I checked, and your solution and my strictTotalMatching function return > identical results. It took me a while to figure out how it works. It's very > clever, but interestingly, not very efficient -- it almost certainly > doesn't matter for the likely use cases, but if you throw a string with a > few thousand (s and )s at it, seconds will go by before you get the result. > > gc > > > On Fri, Jul 26, 2013 at 12:02 PM, wrote: > > > I am old fashioned. And late. I think this works: > > > > > > > > on mouseUp > > answer findNests(fld 1) > > end mouseUp > > > > > > function findNests var > > repeat with y = 1 to the number of chars in var > > if char y of var = "(" then put y & return after lefts --build list > > of left paren > > if char y of var = ")" then put y & return after rights --build > list > > of right paren > > end repeat > > put 0 & return before rights > > > > repeat with y = the number of lines of lefts down to 1 > > repeat with u = the number of lines of rights down to 1 > > if line y of lefts < line u of rights and line y of lefts > line > > u-1 of rights then > > put line y of lefts & "," & line u of rights & return after > > accum > > delete line y of lefts > > if line u of rights <> 0 then delete line u of rights > > end if > > end repeat > > end repeat > > sort accum numeric > > return accum > > end findNests > > > > > > The returned list orders the char numbers of the paired parens. > > > > > > Craig > > > > > > > > -----Original Message----- > > From: Peter Haworth > > To: How to use LiveCode > > Sent: Fri, Jul 26, 2013 12:09 pm > > Subject: Re: Finding matched parentheses > > > > > > On Fri, Jul 26, 2013 at 12:10 AM, Thierry Douez > > wrote: > > > > > But this one will work and match the first occurence: > > > > > > if matchChunk(mystring,"(\([^)]*\)).*",tstart,tEnd) > > > > > > Regards, > > > > > > Thierry > > > > > > > Nice Thierry! Doesn't handle nested parens though, but once again, that > > may not be a possibility in the OP's scenario. > > > > 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 Camm29 at tesco.net Sun Jul 28 13:59:47 2013 From: Camm29 at tesco.net (Camm) Date: Sun, 28 Jul 2013 18:59:47 +0100 Subject: Missing APPLY button on IDE In-Reply-To: <51F52068.9090601@gmail.com> References: <001301ce8b93$e8d77210$ba865630$@tesco.net> <51F52068.9090601@gmail.com> Message-ID: <000f01ce8bbc$3fc7e320$bf57a960$@tesco.net> I found the simple problem...... In the top far right of script editor page it has an up or down arrow to hide or not the script editor toolbar ! Must have clicked it by mistake , it stops the red cross as well ? Regards Camm -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richmond Sent: 28 July 2013 14:45 To: How to use LiveCode Subject: Re: Missing APPLY button on IDE On 07/28/2013 04:11 PM, Camm wrote: > Hi , > > > > On Windows 7:- > > > > The Apply button is missing on the script editor in IDE ?? > > Also errors shown but do not go to script line number ?? > > > > Any clues .. > > > > Regards > > Camm > > Which version are you using? I just had a go with LC 6.1.1 rc 1 Community on Windows 7 and had no problem seeing the 'Apply' button. Similarly with where the "BIG RED X" ends up when there is a script error. How about posting the odd picture to the Forums : http://forums.runrev.com/index.php so we can all see what you mean. 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 ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2013.0.3349 / Virus Database: 3209/6527 - Release Date: 07/28/13 ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2013.0.3349 / Virus Database: 3209/6527 - Release Date: 07/28/13 ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2013.0.3349 / Virus Database: 3209/6527 - Release Date: 07/28/13 ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2013.0.3349 / Virus Database: 3209/6527 - Release Date: 07/28/13 From pete at lcsql.com Sun Jul 28 14:00:16 2013 From: pete at lcsql.com (Peter Haworth) Date: Sun, 28 Jul 2013 11:00:16 -0700 Subject: Finding matched parentheses In-Reply-To: References: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> <8267059115.20130725193820@ahsoftware.net> Message-ID: On Sun, Jul 28, 2013 at 12:56 AM, Thierry Douez wrote: > I > dropped the idea of using (?R) or its derivatives because for most > practical cases > it didn't worked as expected (even crash LC) but > those regex > worked in Perl scripts! > (looks like in php it works great too). > Yes, I saw some of that too when testing some recursions, also ran into memory limits. Pete lcSQL Software From richmondmathewson at gmail.com Sun Jul 28 14:00:51 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 28 Jul 2013 21:00:51 +0300 Subject: Missing APPLY button on IDE In-Reply-To: <000f01ce8bbc$3fc7e320$bf57a960$@tesco.net> References: <001301ce8b93$e8d77210$ba865630$@tesco.net> <51F52068.9090601@gmail.com> <000f01ce8bbc$3fc7e320$bf57a960$@tesco.net> Message-ID: <51F55C53.4000700@gmail.com> On 07/28/2013 08:59 PM, Camm wrote: > I found the simple problem...... > > In the top far right of script editor page it has an up or down arrow to > hide or not the script editor toolbar ! Very happy to hear it was easily solved :) > > Must have clicked it by mistake , it stops the red cross as well ? > > Regards > Camm > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Richmond > Sent: 28 July 2013 14:45 > To: How to use LiveCode > Subject: Re: Missing APPLY button on IDE > > On 07/28/2013 04:11 PM, Camm wrote: >> Hi , >> >> >> >> On Windows 7:- >> >> >> >> The Apply button is missing on the script editor in IDE ?? >> >> Also errors shown but do not go to script line number ?? >> >> >> >> Any clues .. >> >> >> >> Regards >> >> Camm >> >> > Which version are you using? > > I just had a go with LC 6.1.1 rc 1 Community on Windows 7 and had no problem > seeing the 'Apply' button. > > Similarly with where the "BIG RED X" ends up when there is a script error. > > How about posting the odd picture to the Forums : > http://forums.runrev.com/index.php > > so we can all see what you mean. > > 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 > > > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2013.0.3349 / Virus Database: 3209/6527 - Release Date: 07/28/13 > > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2013.0.3349 / Virus Database: 3209/6527 - Release Date: 07/28/13 > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2013.0.3349 / Virus Database: 3209/6527 - Release Date: 07/28/13 > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2013.0.3349 / Virus Database: 3209/6527 - Release Date: 07/28/13 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 28 15:15:43 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 28 Jul 2013 15:15:43 -0400 (EDT) Subject: Finding matched parentheses In-Reply-To: References: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> <8267059115.20130725193820@ahsoftware.net> <8D05838FF1BF7B2-1B38-1F1AC@webmail-m232.sysops.aol.com> Message-ID: <8D059DDFD16E25B-F24-280B6@webmail-d172.sysops.aol.com> I will gladly accept being clever and inefficient. Craig -----Original Message----- From: Peter Haworth To: How to use LiveCode Sent: Sun, Jul 28, 2013 2:00 pm Subject: Re: Finding matched parentheses Yes, I can believe that. don't think regex is the most efficient thing in the world. Some of the tests I did resulted in LC running out of memory too! That's another thing I think should work better with matchText and matchChunk. Any errors, eg a bad regex, result in a runtime error - would be much better if they put something into the result. Pete lcSQL Software On Sun, Jul 28, 2013 at 12:54 AM, Geoff Canyon wrote: > I checked, and your solution and my strictTotalMatching function return > identical results. It took me a while to figure out how it works. It's very > clever, but interestingly, not very efficient -- it almost certainly > doesn't matter for the likely use cases, but if you throw a string with a > few thousand (s and )s at it, seconds will go by before you get the result. > > gc > > > On Fri, Jul 26, 2013 at 12:02 PM, wrote: > > > I am old fashioned. And late. I think this works: > > > > > > > > on mouseUp > > answer findNests(fld 1) > > end mouseUp > > > > > > function findNests var > > repeat with y = 1 to the number of chars in var > > if char y of var = "(" then put y & return after lefts --build list > > of left paren > > if char y of var = ")" then put y & return after rights --build > list > > of right paren > > end repeat > > put 0 & return before rights > > > > repeat with y = the number of lines of lefts down to 1 > > repeat with u = the number of lines of rights down to 1 > > if line y of lefts < line u of rights and line y of lefts > line > > u-1 of rights then > > put line y of lefts & "," & line u of rights & return after > > accum > > delete line y of lefts > > if line u of rights <> 0 then delete line u of rights > > end if > > end repeat > > end repeat > > sort accum numeric > > return accum > > end findNests > > > > > > The returned list orders the char numbers of the paired parens. > > > > > > Craig > > > > > > > > -----Original Message----- > > From: Peter Haworth > > To: How to use LiveCode > > Sent: Fri, Jul 26, 2013 12:09 pm > > Subject: Re: Finding matched parentheses > > > > > > On Fri, Jul 26, 2013 at 12:10 AM, Thierry Douez > > wrote: > > > > > But this one will work and match the first occurence: > > > > > > if matchChunk(mystring,"(\([^)]*\)).*",tstart,tEnd) > > > > > > Regards, > > > > > > Thierry > > > > > > > Nice Thierry! Doesn't handle nested parens though, but once again, that > > may not be a possibility in the OP's scenario. > > > > 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 th.douez at gmail.com Sun Jul 28 16:28:30 2013 From: th.douez at gmail.com (Thierry Douez) Date: Sun, 28 Jul 2013 22:28:30 +0200 Subject: Finding matched parentheses In-Reply-To: References: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> <8267059115.20130725193820@ahsoftware.net> <8D05838FF1BF7B2-1B38-1F1AC@webmail-m232.sysops.aol.com> Message-ID: H ?i,? 2013/7/28 Peter Haworth > Yes, I can believe that. don't think regex is the most efficient thing in > the world. ?Having using them for years, I still think they are efficient :)? ?But as any tools, you have to use them for the right purpose.. ? Some of the tests I did resulted in LC running out of memory > too! That's another thing I think should work better with matchText and > matchChunk. Any errors, eg a bad regex, result in a runtime error - would > be much better if they put something into the result. > ?Which has nothing to do with regex but more the way it's implemented in LC. ? On Sun, Jul 28, 2013 at 12:54 AM, Geoff Canyon wrote: > > > > ? - it almost certainly > ? ? > doesn't matter for the likely use cases > ?Yes, that's the point. Considering one knows about regex, it's most of the times faster and even often easier to write a regex than to code some lines of pure script language. ? > but if you throw a string with a > > few thousand (s and )s at it, seconds will go by before you get the > result > ?Who has to deal with such cases ? :) ? ?Best, Thierry? ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From index at kenjikojima.com Sun Jul 28 16:32:31 2013 From: index at kenjikojima.com (index at kenjikojima.com) Date: Sun, 28 Jul 2013 16:32:31 -0400 Subject: How can I get Unicode Menu Items on Windows? In-Reply-To: <51F53D4A.9060609@gmail.com> References: <51F5175C.2000103@gmail.com> <9951FB6F-F028-4BD5-984D-E1E9BB7663BE@kenjikojima.com> <51F535BE.1030801@gmail.com> <51F538ED.4080007@gmail.com> <51F53D4A.9060609@gmail.com> Message-ID: <4E0F5762-2CA0-4FF2-8806-63653EB13C43@kenjikojima.com> This is temporary unicode menu script until bugs are fixed. go to url "http://kenjikojima.com/livecode/download/tempoUnicodeMenu.livecode" Use "menuHistory" and custom function "getUnicodeMenuItem". It works on MacOS and WIndows. I do not use Linux. Please try. -- Kenji Kojima / ???? http://www.kenjikojima.com/ From capellan2000 at gmail.com Sun Jul 28 19:53:58 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 28 Jul 2013 19:53:58 -0400 Subject: [OT] Free Benchmarking Stuff Message-ID: on Fri Jul 26, Richard Gaskin wrote: > Does Mark's contribution seem a good start for what you had in mind? Actually, I could not find RRTest in RevOnline: http://revonline2.runrev.com/search/tag/developer%20tool/direction/descending/searchtype/latest/ Could you post a direct download link? Thanks in advance! Al From dfepstein at comcast.net Sun Jul 28 20:42:31 2013 From: dfepstein at comcast.net (David Epstein) Date: Sun, 28 Jul 2013 20:42:31 -0400 Subject: Finding matched parentheses Message-ID: Thanks for all the interesting replies to this query. I used "offset" rather than (what most replies suggested) "repeat" with (or for) each character thinking it would be faster, but that seems to be true only if the string is extremely long and the sought for character very far from the front. And I tried to match the first "(" rather than building a list of all matches. There is no practical need for yet another approach, but in case others will find it of interest here is a speedy one that does not step through each character and barely uses offset. David Epstein function offsetPair a,b,str -- NOTE: a and b are single characters, str cannot be more than one line -- in string str, locate the first a, and the nth b, where n = the number of a's that precede that b -- e.g., if a = "(" and b = ")" the character positions of the first matched pair will be returned -- return 0 if a is not found and empty if no match is found put offset(a,str) into ca if ca = 0 then return 0 put numToChar(7) into char 1 to ca of str -- some char that's not a or b replace a with return in str put 1 into na -- number (ordinal) of a's, also the line count in str put 0 into nb repeat for each line k in str if k is not empty then -- does this line have (na-nb) instances of b? get nthHit(na-nb,b,k,z,numToChar(7)) if it is not empty then return ca && it+ca+length(line 1 to na-1 of str) add z to nb end if add 1 to na end repeat return empty end offsetPair function nthHit n,a,str, at z -- returns character number of the nth instance of a (a single character) in str -- z reports the total number of hits put numToChar(7) & str & numToChar(7) into str -- so str does not begin or end with a set itemDelimiter to a put -1 + the number of items in str into z if n > z then return empty return length(item 1 to n of str) end nthHit From pete at lcsql.com Sun Jul 28 21:34:18 2013 From: pete at lcsql.com (Peter Haworth) Date: Sun, 28 Jul 2013 18:34:18 -0700 Subject: Finding matched parentheses In-Reply-To: References: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> <8267059115.20130725193820@ahsoftware.net> <8D05838FF1BF7B2-1B38-1F1AC@webmail-m232.sysops.aol.com> Message-ID: On Sun, Jul 28, 2013 at 1:28 PM, Thierry Douez wrote: > Having using them for years, I still think they are efficient :) > > > But as any tools, you have to use them for the right purpose.. > > I agree with you on that. > > Some of the tests I did resulted in LC running out of memory > > too! That's another thing I think should work better with matchText and > > matchChunk. Any errors, eg a bad regex, result in a runtime error - > would > > be much better if they put something into the result. > > > > > Which has nothing to do with regex but more the way it's implemented in LC. > Yep. The tests that ran out of memory in LC worked fine in RegExhibit (a tool I use for testing regex expressions). > Pete lcSQL Software From skip at magicgate.com Sun Jul 28 22:02:58 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Sun, 28 Jul 2013 22:02:58 -0400 Subject: App Template and Icons Pack? Message-ID: Anybody have any details (screen shots, ect) of what is included with this product from RunRev? SKIP From mwieder at ahsoftware.net Sun Jul 28 22:33:41 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 28 Jul 2013 19:33:41 -0700 Subject: [OT] Free Benchmarking Stuff In-Reply-To: References: Message-ID: <17035678580.20130728193341@ahsoftware.net> Alejandro- Sunday, July 28, 2013, 4:53:58 PM, you wrote: > on Fri Jul 26, > Richard Gaskin wrote: >> Does Mark's contribution seem a good start for what you had in mind? > Actually, I could not find RRTest in RevOnline: > http://revonline2.runrev.com/search/tag/developer%20tool/direction/descending/searchtype/latest/ > Could you post a direct download link? I can't find it either. In fact, the web interface shows nothing newer than 9 July. And everything from July is from dev at livecode.com. The web version of revOnline seems to have very little to do with the IDE version. I think the design and maintenance of the runrev website has been taken over by folks who hate LiveCode. It's the only explanation I can think of. Use the revOnline interface in the IDE. -- -Mark Wieder mwieder at ahsoftware.net From calhorner at xtra.co.nz Mon Jul 29 03:30:41 2013 From: calhorner at xtra.co.nz (Cal Horner) Date: Mon, 29 Jul 2013 19:30:41 +1200 (New Zealand Standard Time) Subject: DialogData Message-ID: <51F61A1D.000009.05984@CALS_BIG_PC> Anyone done any study of the dialogdata command? What does the data structure look like? I'm assuming that it is held in an array. But I can't find anything that defines the array itself. From m.schonewille at economy-x-talk.com Mon Jul 29 04:55:35 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 29 Jul 2013 10:55:35 +0200 Subject: DialogData In-Reply-To: <51F61A1D.000009.05984@CALS_BIG_PC> References: <51F61A1D.000009.05984@CALS_BIG_PC> Message-ID: <51F62E07.7030408@economy-x-talk.com> Hi, The dialogData is a global property. You decide the "data structure". If you want to store a string, an array or binary data, that's up to you. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 7/29/2013 09:30, Cal Horner wrote: > Anyone done any study of the dialogdata command? > > What does the data structure look like? > > I'm assuming that it is held in an array. But I can't find anything that defines the array itself. From support.toki at laposte.net Mon Jul 29 05:45:11 2013 From: support.toki at laposte.net (Support Toki) Date: Mon, 29 Jul 2013 11:45:11 +0200 Subject: How can I get Unicode Menu Items on Windows? In-Reply-To: <4E0F5762-2CA0-4FF2-8806-63653EB13C43@kenjikojima.com> References: <51F5175C.2000103@gmail.com> <9951FB6F-F028-4BD5-984D-E1E9BB7663BE@kenjikojima.com> <51F535BE.1030801@gmail.com> <51F538ED.4080007@gmail.com> <51F53D4A.9060609@gmail.com> <4E0F5762-2CA0-4FF2-8806-63653EB13C43@kenjikojima.com> Message-ID: <51F639A7.9000105@laposte.net> Hi, The best solution for using unicode menu is to add tags. The menuPick handler will get the tag as a parameter, and the tag is always ANSI on all platforms. For more explaination, check the keyword menu in the dictionary. The tag allows to manage cascading menus when menuHistory doesn't. I use this in a Chinese version of one of my app and it just works fine. You menu text property will look like this: ??/|ITEM1 ??/|ITEM2 ???/|ITEM3 - ??/|ITEM4 And the menuPick handler: on menuPick chosenItem case "ITEM1" -- put your stuff here break case "ITEM2" ... Hope it helps. Thierry Arbellot Digital Salade website : www.tokitest.fr email : support at tokitest.fr AIM/iChat : supportToki Skype : support.toki Le 28/07/2013 22:32, index at kenjikojima.com a ?crit : > This is temporary unicode menu script until bugs are fixed. > go to url "http://kenjikojima.com/livecode/download/tempoUnicodeMenu.livecode" > > Use "menuHistory" and custom function "getUnicodeMenuItem". > It works on MacOS and WIndows. I do not use Linux. Please try. > -- > Kenji Kojima / ???? > http://www.kenjikojima.com/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From support.toki at laposte.net Mon Jul 29 05:49:11 2013 From: support.toki at laposte.net (Support Toki) Date: Mon, 29 Jul 2013 11:49:11 +0200 Subject: How can I get Unicode Menu Items on Windows? In-Reply-To: <51F639A7.9000105@laposte.net> References: <51F5175C.2000103@gmail.com> <9951FB6F-F028-4BD5-984D-E1E9BB7663BE@kenjikojima.com> <51F535BE.1030801@gmail.com> <51F538ED.4080007@gmail.com> <51F53D4A.9060609@gmail.com> <4E0F5762-2CA0-4FF2-8806-63653EB13C43@kenjikojima.com> <51F639A7.9000105@laposte.net> Message-ID: <51F63A97.9070501@laposte.net> Miss one line in the handler: on menuPick chosenItem switch chosenItem case "ITEM1" -- put your stuff here break case "ITEM2" ... end switch Thierry Arbellot Digital Salade website : www.tokitest.fr email : support at tokitest.fr AIM/iChat : supportToki Skype : support.toki Le 29/07/2013 11:45, Support Toki a ?crit : > Hi, > > The best solution for using unicode menu is to add tags. > The menuPick handler will get the tag as a parameter, and the tag is > always ANSI on all platforms. > For more explaination, check the keyword menu in the dictionary. > The tag allows to manage cascading menus when menuHistory doesn't. > I use this in a Chinese version of one of my app and it just works fine. > > You menu text property will look like this: > > ??/|ITEM1 > ??/|ITEM2 > ???/|ITEM3 > - > ??/|ITEM4 > > And the menuPick handler: > > on menuPick chosenItem > > case "ITEM1" > -- put your stuff here > break > case "ITEM2" > ... > > Hope it helps. > > Thierry Arbellot > Digital Salade > > website : www.tokitest.fr > email : support at tokitest.fr > AIM/iChat : supportToki > Skype : support.toki > > Le 28/07/2013 22:32, index at kenjikojima.com a ?crit : >> This is temporary unicode menu script until bugs are fixed. >> go to url >> "http://kenjikojima.com/livecode/download/tempoUnicodeMenu.livecode" >> >> Use "menuHistory" and custom function "getUnicodeMenuItem". >> It works on MacOS and WIndows. I do not use Linux. Please try. >> -- >> Kenji Kojima / ???? >> http://www.kenjikojima.com/ >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dfepstein at comcast.net Mon Jul 29 10:55:17 2013 From: dfepstein at comcast.net (dfepstein at comcast.net) Date: Mon, 29 Jul 2013 14:55:17 +0000 (UTC) Subject: Finding matched parentheses Message-ID: <1273659386.1838914.1375109717309.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> On second thought : function offsetPair a,b,str -- str cannot be more than one line ?? -- returns first instance of char a && "matching" instance of char b in str, or 0 if no a or empty if no match ?? put offset(a,str) into ca ?? if ca = 0 then return 0 ?? put numToChar(7) into char 1 to ca of str ?? set lineDelimiter to a ?? set itemDelimiter to b ?? repeat with i = 1 to the number of items in str ????? if i = the number of lines in item 1 to i of str then return ca && ca+length(item 1 to i of str) ?? end repeat ?? return empty end offsetPair From dunbarx at aol.com Mon Jul 29 12:07:53 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 29 Jul 2013 12:07:53 -0400 (EDT) Subject: Finding matched parentheses In-Reply-To: <1273659386.1838914.1375109717309.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> References: <1273659386.1838914.1375109717309.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> Message-ID: <8D05A8CEA8B008F-9A8-1C8A@webmail-vd010.sysops.aol.com> Hi. I tired your script on the string: aa(ss)(xx)(yy) it only returned the parens bracketing "ss" Craig Newman -----Original Message----- From: dfepstein To: use-livecode Sent: Mon, Jul 29, 2013 10:56 am Subject: Re: Finding matched parentheses On second thought : function offsetPair a,b,str -- str cannot be more than one line -- returns first instance of char a && "matching" instance of char b in str, or 0 if no a or empty if no match put offset(a,str) into ca if ca = 0 then return 0 put numToChar(7) into char 1 to ca of str set lineDelimiter to a set itemDelimiter to b repeat with i = 1 to the number of items in str if i = the number of lines in item 1 to i of str then return ca && ca+length(item 1 to i of str) end repeat return empty end offsetPair _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From index at kenjikojima.com Mon Jul 29 12:26:55 2013 From: index at kenjikojima.com (index at kenjikojima.com) Date: Mon, 29 Jul 2013 12:26:55 -0400 Subject: How can I get Unicode Menu Items on Windows? In-Reply-To: <51F63A97.9070501@laposte.net> References: <51F5175C.2000103@gmail.com> <9951FB6F-F028-4BD5-984D-E1E9BB7663BE@kenjikojima.com> <51F535BE.1030801@gmail.com> <51F538ED.4080007@gmail.com> <51F53D4A.9060609@gmail.com> <4E0F5762-2CA0-4FF2-8806-63653EB13C43@kenjikojima.com> <51F639A7.9000105@laposte.net> <51F63A97.9070501@laposte.net> Message-ID: <4AB31C06-99DA-4F4A-A588-65E6E6C4633B@kenjikojima.com> Thierry, Yes, it works well. Thank you, -- Kenji Kojima / ???? http://www.kenjikojima.com/ On Jul 29, 2013, at 5:49 AM, Support Toki wrote: > Miss one line in the handler: > > on menuPick chosenItem > > switch chosenItem > case "ITEM1" > -- put your stuff here > break > case "ITEM2" > ... > end switch > > Thierry Arbellot > Digital Salade > > website : www.tokitest.fr > email : support at tokitest.fr > AIM/iChat : supportToki > Skype : support.toki > > Le 29/07/2013 11:45, Support Toki a ?crit : >> Hi, >> >> The best solution for using unicode menu is to add tags. >> The menuPick handler will get the tag as a parameter, and the tag is always ANSI on all platforms. >> For more explaination, check the keyword menu in the dictionary. >> The tag allows to manage cascading menus when menuHistory doesn't. >> I use this in a Chinese version of one of my app and it just works fine. >> >> You menu text property will look like this: >> >> ??/|ITEM1 >> ??/|ITEM2 >> ???/|ITEM3 >> - >> ??/|ITEM4 >> >> And the menuPick handler: >> >> on menuPick chosenItem >> >> case "ITEM1" >> -- put your stuff here >> break >> case "ITEM2" >> ... >> >> Hope it helps. >> >> Thierry Arbellot >> Digital Salade >> >> website : www.tokitest.fr >> email : support at tokitest.fr >> AIM/iChat : supportToki >> Skype : support.toki >> >> Le 28/07/2013 22:32, index at kenjikojima.com a ?crit : >>> This is temporary unicode menu script until bugs are fixed. >>> go to url "http://kenjikojima.com/livecode/download/tempoUnicodeMenu.livecode" >>> >>> Use "menuHistory" and custom function "getUnicodeMenuItem". >>> It works on MacOS and WIndows. I do not use Linux. Please try. >>> -- >>> Kenji Kojima / ???? >>> http://www.kenjikojima.com/ >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 29 13:14:43 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 29 Jul 2013 10:14:43 -0700 Subject: Finding matched parentheses In-Reply-To: <8D05A8CEA8B008F-9A8-1C8A@webmail-vd010.sysops.aol.com> References: <1273659386.1838914.1375109717309.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> <8D05A8CEA8B008F-9A8-1C8A@webmail-vd010.sysops.aol.com> Message-ID: On Mon, Jul 29, 2013 at 9:07 AM, wrote: > I tired your script on the string: > > > > aa(ss)(xx)(yy) > > > > it only returned the parens bracketing "ss" > I Think that's what he wants to do - just find the position of the first set of parentheses, taking nested parens into account. But not sure..... Personally, I'd use the regex that Thierry posted a couple of days back. No recursion involved and one line of code does the job. Pete lcSQL Software From richmondmathewson at gmail.com Mon Jul 29 14:03:16 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 29 Jul 2013 21:03:16 +0300 Subject: revOnline and Open Source Message-ID: <51F6AE64.10107@gmail.com> If one downloads a stack from revOnline how does an end-user know if it is to be considered open source (and, therefore, usable in other OSS projects) or not? Richmond. From gcanyon at gmail.com Mon Jul 29 15:51:13 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 29 Jul 2013 14:51:13 -0500 Subject: Finding matched parentheses In-Reply-To: References: <1273659386.1838914.1375109717309.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> <8D05A8CEA8B008F-9A8-1C8A@webmail-vd010.sysops.aol.com> Message-ID: On Mon, Jul 29, 2013 at 12:14 PM, Peter Haworth wrote: > Personally, I'd use the regex that Thierry posted a couple of days back. > No recursion involved and one line of code does the job. > If you're talking about: matchChunk(mystring,"(\([^)]*\)).*",tstart,tEnd) That will return 1,4 for the string "((()))" gc From monte at sweattechnologies.com Mon Jul 29 16:08:25 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 30 Jul 2013 06:08:25 +1000 Subject: revOnline and Open Source In-Reply-To: <51F6AE64.10107@gmail.com> References: <51F6AE64.10107@gmail.com> Message-ID: Read the authors license. If there's no license assume you have no right to use the code. -- M E R Goulding Software development services mergExt - There's an external for that! On 30/07/2013, at 4:03 AM, Richmond wrote: > If one downloads a stack from revOnline how does an > end-user know if it is to be considered open source (and, therefore, > usable in other OSS projects) or not? From dunbarx at aol.com Mon Jul 29 16:15:24 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 29 Jul 2013 16:15:24 -0400 (EDT) Subject: Finding matched parentheses In-Reply-To: References: <1273659386.1838914.1375109717309.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> <8D05A8CEA8B008F-9A8-1C8A@webmail-vd010.sysops.aol.com> Message-ID: <8D05AAF7E7D21DE-9A8-36E6@webmail-vd010.sysops.aol.com> Hmmm. I read the original post as finding the "closing parenthesis ... of a pair" "Any pair?" This seems to indicate that all nested parens have to be parsed as a whole. If you want to find a particular related couple, you have to use the correct ordered pair derived from the function. It is much simpler to find the first ")" and work backward. But that would preclude nested parens, since the firstmost and innermost pair would be the only one found. You cannot find that kind of first "pair" and also include nested pairs. That first pair is always minimally small. The function could be easily modified to list all pairs within any designated pair, of course. Anyway, it was fun to play with. Craig -----Original Message----- From: Peter Haworth To: How to use LiveCode Sent: Mon, Jul 29, 2013 1:15 pm Subject: Re: Finding matched parentheses On Mon, Jul 29, 2013 at 9:07 AM, wrote: > I tired your script on the string: > > > > aa(ss)(xx)(yy) > > > > it only returned the parens bracketing "ss" > I Think that's what he wants to do - just find the position of the first set of parentheses, taking nested parens into account. But not sure..... Personally, I'd use the regex that Thierry posted a couple of days back. No recursion involved and one line of code does the job. 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 capellan2000 at gmail.com Mon Jul 29 16:57:04 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 29 Jul 2013 16:57:04 -0400 Subject: [OT] Free Benchmarking Stuff Message-ID: on Sun, 28 Jul 2013 Mark Wieder wrote: > Use the revOnline interface in the IDE. Found it! :D Excellent start point for creating many specific tests for Livecode. This will prove to be an invaluable tool to sort the brave new world of Android devices... :o Many, many thanks for sharing this stack. Al From mkoob at rogers.com Mon Jul 29 18:07:57 2013 From: mkoob at rogers.com (Martin Koob) Date: Mon, 29 Jul 2013 15:07:57 -0700 (PDT) Subject: open a substack in an opencard handler Message-ID: <1375135677886-4668105.post@n4.nabble.com> I am trying to have a substack open above the main stack when a card opens. What happens is the substack opens in front of the main stack but immediately the main stack moves to the front. I want the substack to stay above the main stack. Two illustrate this I created a simple stack with a main stack with two cards and a sub stack called "window2" Card 1 of the main stack has a button with the script on mouseUp go card 2 end mouseUp Card 2 of the main stack has the following card script on opencard show stack "window2" go stack "window2" #the following wait command is just to hold stack "window2" open long enough to see it opened wait 2 seconds end opencard on closecard hide stack "window2" end closecard Card 2 of the main stack also has a button with the following script on mouseUp go card 1 end mouseUp When you click the button to go to card 2 the stack "window2" opens above the main stack and stays for the 2 seconds of the wait but then the main stack moves to the front. I assume the problem is that when the opencard message ends the stack with the card with that handler becomes the active stack and moves to the front. I have tried sending or dispatching messages to other objects to show and go to the substack but if I do that within the opencard handler after those messages are dealt with the context returns to the open card handler and then the main stack becomes active again. Is there another way to do this? Thanks. Martin Koob -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/open-a-substack-in-an-opencard-handler-tp4668105.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at lcsql.com Mon Jul 29 19:21:36 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 29 Jul 2013 16:21:36 -0700 Subject: Finding matched parentheses In-Reply-To: <8D05AAF7E7D21DE-9A8-36E6@webmail-vd010.sysops.aol.com> References: <1273659386.1838914.1375109717309.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> <8D05A8CEA8B008F-9A8-1C8A@webmail-vd010.sysops.aol.com> <8D05AAF7E7D21DE-9A8-36E6@webmail-vd010.sysops.aol.com> Message-ID: On Mon, Jul 29, 2013 at 1:15 PM, wrote: > I read the original post as finding the "closing parenthesis ... of a pair" You're right, sorry, forgot which regex was the one that worked. It was the following (which I found online so no credit to me): \((((?>[^()]+)|(?R))*)\) This uses regex look ahead and recursion to solve the problem. It only works for the first set of nested parens in a line but since the OP's function doesn't handle multiple sets, I assume that's not a requirement. If it is, then here's a function that seems to work with limited testing and subject to the performance limitations that Geoff mentioned. Apologies in advance for any extraneous empty line and/or asterisks that gMail might insert into the function! *function* getCharPairPositions pstring,pstartchar,pendchar *local* tstart,tend,tResults,tAdj,tregex *put* zero into tAdj *put* "\" & pstartchar & "(((?>[^" & pstartchar & pendchar & "]+)|(?R))*)\" & pendchar into tRegex *repeat* *if* matchChunk(pstring,tRegex,tStart,tEnd) *then* *put* tStart-1+tAdj, tEnd+1+tAdj & *return* after tResults *add* (tEnd+1) to tAdj *delete* char 1 to tEnd+1 of pstring *else* *exit* *repeat* *end* *if* *end* *repeat* *return* tResults *end* getCharPairPositions Pete lcSQL Software From mwieder at ahsoftware.net Mon Jul 29 19:19:56 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 29 Jul 2013 16:19:56 -0700 Subject: open a substack in an opencard handler In-Reply-To: <1375135677886-4668105.post@n4.nabble.com> References: <1375135677886-4668105.post@n4.nabble.com> Message-ID: <28110452963.20130729161956@ahsoftware.net> Martin- Monday, July 29, 2013, 3:07:57 PM, you wrote: > I assume the problem is that when the opencard message ends the stack with > the card with that handler becomes the active stack and moves to the front. Yes, that's exactly what's going on. You're not giving the openCard handler in the mainstack a chance to finish, and when you finally give it control again after the two second wait, the card on the mainstack can finally open (and come to the front as a side-effect). Try putting the substack commands in a separate handler and send it in time: on openCard -- do stuff here send "showSubStack" to me in 1 millisecond end openCard on showSubStack show stack "window2" go stack "window2" end showSubStack -- -Mark Wieder mwieder at ahsoftware.net From monte at sweattechnologies.com Mon Jul 29 19:52:41 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 30 Jul 2013 09:52:41 +1000 Subject: [ANN] mApp 1.0.1 Message-ID: Hi Folks I normally don't spam this list with maintenance release announcements but this is a fairly critical one for mApp users wanting to work on LC 6.1+. It works around the crash when building on that version. mApp is available in the free section of the mergExt.com download page. For those that don't know mApp is an MIT licensed mobile application framework that handles pixel density and layout. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From terry.judd at unimelb.edu.au Mon Jul 29 20:00:32 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 30 Jul 2013 00:00:32 +0000 Subject: [ANN] mApp 1.0.1 In-Reply-To: References: Message-ID: Thanks Monte. Terry... On 30/07/2013, at 09:52 AM, Monte Goulding wrote: > Hi Folks > > I normally don't spam this list with maintenance release announcements but this is a fairly critical one for mApp users wanting to work on LC 6.1+. It works around the crash when building on that version. mApp is available in the free section of the mergExt.com download page. For those that don't know mApp is an MIT licensed mobile application framework that handles pixel density and layout. > > 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 dan at clearvisiontech.com Mon Jul 29 20:34:49 2013 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 29 Jul 2013 17:34:49 -0700 Subject: Calendar time issue In-Reply-To: References: Message-ID: <2E3D70A5-8AB2-447D-9F5F-D69149FCB327@clearvisiontech.com> Fellow LiveCoders... This is a little off-topic, but I am working on a calendar which reads and displays a variety of calendar formats. It's going well! However, when using the iCal format, I have noticed that my calendar is an hour off as compared to what it says on the web display of the calendar. I am using the DTSTART tag to get the starting date and time. If DTSTART ends with "Z", I am using: put word 6 of the internet date into dateOffset to get the difference in time and making the change. I can't find any differences in the VCALENDAR files that would make one calendar a different time than another. Is there some lookup that I have to do for a calendar? Anyone have any experience with this type of thing? Any advise would be appreciated! Thank you in advance, Dan From terry.judd at unimelb.edu.au Mon Jul 29 20:58:30 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 30 Jul 2013 00:58:30 +0000 Subject: Calendar time issue In-Reply-To: <2E3D70A5-8AB2-447D-9F5F-D69149FCB327@clearvisiontech.com> References: <2E3D70A5-8AB2-447D-9F5F-D69149FCB327@clearvisiontech.com> Message-ID: <993E1B3B-87C9-4AD0-AC71-D145852FBEAF@unimelb.edu.au> Hi Dan - do they include timezone info in the header or events? Terry... On 30/07/2013, at 10:34 AM, Dan Friedman wrote: > Fellow LiveCoders... > > This is a little off-topic, but I am working on a calendar which reads and displays a variety of calendar formats. It's going well! However, when using the iCal format, I have noticed that my calendar is an hour off as compared to what it says on the web display of the calendar. I am using the DTSTART tag to get the starting date and time. If DTSTART ends with "Z", I am using: > > put word 6 of the internet date into dateOffset > > to get the difference in time and making the change. I can't find any differences in the VCALENDAR files that would make one calendar a different time than another. > > Is there some lookup that I have to do for a calendar? Anyone have any experience with this type of thing? Any advise would be appreciated! > > Thank you in advance, > Dan > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From dfepstein at comcast.net Mon Jul 29 21:57:32 2013 From: dfepstein at comcast.net (dfepstein at comcast.net) Date: Tue, 30 Jul 2013 01:57:32 +0000 (UTC) Subject: Finding matched parentheses Message-ID: <186143995.1865437.1375149452789.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> Testing for speed, I found that my July 29 function--the one that uses lineDelimiter and itemDelimiter--is thwarted when two parens appear as consecutive characters, and gives the wrong answer in that case. Sorry about that. I may not have correctly implemented Peter Haworth's Regex string, but I get wrong answers from writing the function as below -- offsetPair6("(a(a))") returns "2 5". function offsetPair6 str put "\((((?>[^()]+)|(?R))*)\)" into tRegex get matchChunk(str,tRegex,tStart,tEnd) return tStart && tEnd end offsetPair6 As far as I know the function I posted July 26 works correctly. David Epstein From dan at clearvisiontech.com Mon Jul 29 22:03:26 2013 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 29 Jul 2013 19:03:26 -0700 Subject: Calendar time issue Message-ID: Terry, No, they didn't. They are exactly the same! In fact, the calendars come from different accounts by the same company! I can't figure it out! Any other thoughts? -Dan > Hi Dan - do they include timezone info in the header or events? > > Terry... > > On 30/07/2013, at 10:34 AM, Dan Friedman wrote: > >> Fellow LiveCoders... >> >> This is a little off-topic, but I am working on a calendar which reads and displays a variety of calendar formats. It's going well! However, when using the iCal format, I have noticed that my calendar is an hour off as compared to what it says on the web display of the calendar. I am using the DTSTART tag to get the starting date and time. If DTSTART ends with "Z", I am using: >> >> put word 6 of the internet date into dateOffset >> >> to get the difference in time and making the change. I can't find any differences in the VCALENDAR files that would make one calendar a different time than another. >> >> Is there some lookup that I have to do for a calendar? Anyone have any experience with this type of thing? Any advise would be appreciated! >> >> Thank you in advance, >> Dan From terry.judd at unimelb.edu.au Mon Jul 29 22:16:51 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 30 Jul 2013 02:16:51 +0000 Subject: Calendar time issue In-Reply-To: References: Message-ID: On 30/07/2013, at 12:03 PM, Dan Friedman wrote: > Terry, > > No, they didn't. They are exactly the same! In fact, the calendars come from different accounts by the same company! I can't figure it out! > > Any other thoughts? If they are in a different timezone to you then that's where I'd still be looking. Daylight saving? Terry... > > -Dan > >> Hi Dan - do they include timezone info in the header or events? >> >> Terry... >> >> On 30/07/2013, at 10:34 AM, Dan Friedman wrote: >> >>> Fellow LiveCoders... >>> >>> This is a little off-topic, but I am working on a calendar which reads and displays a variety of calendar formats. It's going well! However, when using the iCal format, I have noticed that my calendar is an hour off as compared to what it says on the web display of the calendar. I am using the DTSTART tag to get the starting date and time. If DTSTART ends with "Z", I am using: >>> >>> put word 6 of the internet date into dateOffset >>> >>> to get the difference in time and making the change. I can't find any differences in the VCALENDAR files that would make one calendar a different time than another. >>> >>> Is there some lookup that I have to do for a calendar? Anyone have any experience with this type of thing? Any advise would be appreciated! >>> >>> Thank you in advance, >>> Dan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From mcgrath3 at mac.com Mon Jul 29 22:19:59 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 29 Jul 2013 22:19:59 -0400 Subject: delete Url on mobile Message-ID: Can you delete a file on mobile if it is in the engine folder? delete URL ("file:" & specialFolderPath("engine") & "/" & tName) Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From mcgrath3 at mac.com Mon Jul 29 22:22:49 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 29 Jul 2013 22:22:49 -0400 Subject: delete Url on mobile In-Reply-To: References: Message-ID: <58938C73-BB1F-4292-A1C4-91C086E72865@mac.com> Neither one of these works in the simulator? delete URL ("file:" & specialFolderPath("engine") & "/" & tName) delete file (specialFolderPath("engine") & "/" & tName) -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jul 29, 2013, at 10:19 PM, Thomas McGrath III wrote: > Can you delete a file on mobile if it is in the engine folder? > delete URL ("file:" & specialFolderPath("engine") & "/" & tName) > > 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 gerry.orkin at gmail.com Tue Jul 30 00:14:31 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Tue, 30 Jul 2013 14:14:31 +1000 Subject: delete Url on mobile In-Reply-To: References: Message-ID: <80E0F846-E018-4C3C-9BAA-77E9CE26F1F7@gmail.com> On iOS at least you can't change the binary at run time in any way. Apple won't allow it. g On 30/07/2013, at 12:19 PM, Thomas McGrath III wrote: > Can you delete a file on mobile if it is in the engine folder? > delete URL ("file:" & specialFolderPath("engine") & "/" & tName) > > 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 jacque at hyperactivesw.com Tue Jul 30 00:16:10 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 29 Jul 2013 23:16:10 -0500 Subject: delete Url on mobile In-Reply-To: References: Message-ID: <51F73E0A.6020401@hyperactivesw.com> On 7/29/13 9:19 PM, Thomas McGrath III wrote: > Can you delete a file on mobile if it is in the engine folder? > delete URL ("file:" & specialFolderPath("engine") & "/" & tName) I doubt it. I believe the commandment is: thou shalt not write, nor edit, nor delete, nor add to the sacred documents, lest thy sandbox become defiled with corruption and render thy checksum invalid. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gerry.orkin at gmail.com Tue Jul 30 00:20:25 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Tue, 30 Jul 2013 14:20:25 +1000 Subject: [ANN] mApp 1.0.1 In-Reply-To: References: Message-ID: Monte, thanks. Is there documentation for mApp? g On 30/07/2013, at 9:52 AM, Monte Goulding wrote: > Hi Folks > > I normally don't spam this list with maintenance release announcements but this is a fairly critical one for mApp users wanting to work on LC 6.1+. It works around the crash when building on that version. mApp is available in the free section of the mergExt.com download page. For those that don't know mApp is an MIT licensed mobile application framework that handles pixel density and layout. > > 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 monte at sweattechnologies.com Tue Jul 30 00:43:32 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 30 Jul 2013 14:43:32 +1000 Subject: [ANN] mApp 1.0.1 In-Reply-To: References: Message-ID: On 30/07/2013, at 2:20 PM, Gerry Orkin wrote: > Monte, thanks. Is there documentation for mApp? There will be.. one day. It would be a good contribution if anyone's interested. I did a talk on it at the conference if you have the simulcast. I've just been too busy since the conference to put together any docs for it. 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 Tue Jul 30 01:10:20 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 30 Jul 2013 05:10:20 +0000 (UTC) Subject: Finding matched parentheses References: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> <8267059115.20130725193820@ahsoftware.net> Message-ID: Geoff Canyon writes: > > regex is notoriously unable to handle recursion. To see endless heated > debate, search the web for how to parse HTML using regex. I found an old posting of my own on this topic... "The
cannot hold it is too late." ...and follow the link to ...the comments are hilarious "Great, we're now debating the possibility of chuck norris parsing HTML with regular expressions .. and paris hilton writing an operating system." "Pierre de Fermat also figured out how to do it, but the margin he was writing in wasn't big enough for the code." -- -Mark Wieder mwieder at ahsoftware.net From pete at lcsql.com Tue Jul 30 01:17:33 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 29 Jul 2013 22:17:33 -0700 Subject: Finding matched parentheses In-Reply-To: <186143995.1865437.1375149452789.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> References: <186143995.1865437.1375149452789.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> Message-ID: On Mon, Jul 29, 2013 at 6:57 PM, wrote: > I may not have correctly implemented Peter Haworth's Regex string, but I > get wrong answers from writing the function as below -- > offsetPair6("(a(a))") returns "2 5". Hi David, The regex actually returns the string within the parens so to get the char position of the parens, the function should return tStart-1 and tEnd+1 which would be 1 and 6 in your example, which I think is what you want? Glad your function works though, you should probably go with it if it feels more comfortable. Your situation was a challenge for me to find a way to do it with a regex :-) Pete lcSQL Software From th.douez at gmail.com Tue Jul 30 07:08:25 2013 From: th.douez at gmail.com (Thierry Douez) Date: Tue, 30 Jul 2013 13:08:25 +0200 Subject: Finding matched parentheses In-Reply-To: References: <1273659386.1838914.1375109717309.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> <8D05A8CEA8B008F-9A8-1C8A@webmail-vd010.sysops.aol.com> Message-ID: 2013/7/29 Geoff Canyon > On Mon, Jul 29, 2013 at 12:14 PM, Peter Haworth wrote: > > > Personally, I'd use the regex that Thierry posted a couple of days back. > > No recursion involved and one line of code does the job. > > > > > If you're talking about: > > matchChunk(mystring,"(\([^)]*\)).*",tstart,tEnd) > > That will return 1,4 for the string "((()))" > ?which is the correct answer. This one line of code is a straight answer to the 1st post of this thread where no-one speaks about nested parentheses! If you change the rules afterwards, then it's another story and different answers.. I like this sentence picked up from Mark's pointer: "I would go with something that works on sane things than weep about not being universally perfect :-) " Best, Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From matthias_livecode_150811 at m-r-d.de Tue Jul 30 07:40:56 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 30 Jul 2013 13:40:56 +0200 Subject: Anyone interested in a free license of Animation Engine? Message-ID: Hi, i would like to give away for free my Animation Engine license from my Kickstarter Pledge as i have already a license of it. So if one is interested please send me a private mail to matthias (at) rebbe . tk and i will ask Heather to move the license to your account at theRunrev store. Regards, Matthias From dave at applicationinsight.com Tue Jul 30 08:01:01 2013 From: dave at applicationinsight.com (Dave Kilroy) Date: Tue, 30 Jul 2013 05:01:01 -0700 (PDT) Subject: Anyone interested in a free license of Animation Engine? In-Reply-To: References: Message-ID: <1375185660946-4668125.post@n4.nabble.com> Along with Matthias I can also donate Animation Engine as well as a copy of MobGUI - let me know if you want them and I'll ask Heather ... -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Anyone-interested-in-a-free-license-of-Animation-Engine-tp4668124p4668125.html Sent from the Revolution - User mailing list archive at Nabble.com. From marc.vancauwenberghe at pandora.be Tue Jul 30 08:08:10 2013 From: marc.vancauwenberghe at pandora.be (Marc Van Cauwenberghe) Date: Tue, 30 Jul 2013 14:08:10 +0200 Subject: Anyone interested in a free license of Animation Engine? In-Reply-To: <1375185660946-4668125.post@n4.nabble.com> References: <1375185660946-4668125.post@n4.nabble.com> Message-ID: <43406410-6616-442C-A6B7-1F2AF265BD20@pandora.be> Hi, I would very much like the licences if they are still availeble. Thank you for your kind offer. Marc Verstuurd vanaf mijn iPhone Op 30-jul.-2013 om 14:01 heeft Dave Kilroy het volgende geschreven: > Along with Matthias I can also donate Animation Engine as well as a copy of > MobGUI - let me know if you want them and I'll ask Heather ... > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Anyone-interested-in-a-free-license-of-Animation-Engine-tp4668124p4668125.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mkoob at rogers.com Tue Jul 30 08:25:22 2013 From: mkoob at rogers.com (Martin Koob) Date: Tue, 30 Jul 2013 05:25:22 -0700 (PDT) Subject: open a substack in an opencard handler In-Reply-To: <28110452963.20130729161956@ahsoftware.net> References: <1375135677886-4668105.post@n4.nabble.com> <28110452963.20130729161956@ahsoftware.net> Message-ID: <1375187122439-4668127.post@n4.nabble.com> Thanks Mark for the code and the explanation of the process. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/open-a-substack-in-an-opencard-handler-tp4668105p4668127.html Sent from the Revolution - User mailing list archive at Nabble.com. From dave at applicationinsight.com Tue Jul 30 08:34:12 2013 From: dave at applicationinsight.com (Dave Kilroy) Date: Tue, 30 Jul 2013 05:34:12 -0700 (PDT) Subject: Anyone interested in a free license of Animation Engine? In-Reply-To: <43406410-6616-442C-A6B7-1F2AF265BD20@pandora.be> References: <1375185660946-4668125.post@n4.nabble.com> <43406410-6616-442C-A6B7-1F2AF265BD20@pandora.be> Message-ID: <1375187652978-4668128.post@n4.nabble.com> Hi Marc - I've emailed Heather (copying you in) asking my KickStarter copies of Animation Engine and MobGUI be transferred to you Dave -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Anyone-interested-in-a-free-license-of-Animation-Engine-tp4668124p4668128.html Sent from the Revolution - User mailing list archive at Nabble.com. From marc.vancauwenberghe at pandora.be Tue Jul 30 08:38:35 2013 From: marc.vancauwenberghe at pandora.be (Marc Van Cauwenberghe) Date: Tue, 30 Jul 2013 14:38:35 +0200 Subject: Anyone interested in a free license of Animation Engine? In-Reply-To: <1375187652978-4668128.post@n4.nabble.com> References: <1375185660946-4668125.post@n4.nabble.com> <43406410-6616-442C-A6B7-1F2AF265BD20@pandora.be> <1375187652978-4668128.post@n4.nabble.com> Message-ID: <92BC1997-61C9-4194-958C-15C051673095@pandora.be> Thank you very much Dave!!!' If I can do something for you please let me know. Very best regards. Marc Verstuurd vanaf mijn iPhone Op 30-jul.-2013 om 14:34 heeft Dave Kilroy het volgende geschreven: > Hi Marc - I've emailed Heather (copying you in) asking my KickStarter copies > of Animation Engine and MobGUI be transferred to you > > Dave > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Anyone-interested-in-a-free-license-of-Animation-Engine-tp4668124p4668128.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Tue Jul 30 09:26:30 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 30 Jul 2013 15:26:30 +0200 Subject: Anyone interested in a free license of Animation Engine? In-Reply-To: References: Message-ID: <57DCFFF2-0019-4C7B-87CE-CB05317E077F@m-r-d.de> My license of AnimationEngine found a new user. So nothing to give away anymore. Regards, Matthias Am 30.07.2013 um 13:40 schrieb Matthias Rebbe : > Hi, > > i would like to give away for free my Animation Engine license from my Kickstarter Pledge as i have already a license of it. > > So if one is interested please send me a private mail to matthias (at) rebbe . tk and i will ask Heather to move the license to your > account at theRunrev store. > > 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 mcgrath3 at mac.com Tue Jul 30 09:29:09 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 30 Jul 2013 09:29:09 -0400 Subject: delete Url on mobile In-Reply-To: <51F73E0A.6020401@hyperactivesw.com> References: <51F73E0A.6020401@hyperactivesw.com> Message-ID: <90110342-BBA2-4C72-A9AF-33D2BD06B2D3@mac.com> How can one know something one day and then not know it the next. It is a conundrum. Thanks G & J T -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jul 30, 2013, at 12:16 AM, "J. Landman Gay" wrote: > On 7/29/13 9:19 PM, Thomas McGrath III wrote: >> Can you delete a file on mobile if it is in the engine folder? >> delete URL ("file:" & specialFolderPath("engine") & "/" & tName) > > I doubt it. I believe the commandment is: thou shalt not write, nor edit, nor delete, nor add to the sacred documents, lest thy sandbox become defiled with corruption and render thy checksum invalid. > > -- > 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 mcgrath3 at mac.com Tue Jul 30 09:33:41 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 30 Jul 2013 09:33:41 -0400 Subject: Free to first caller Message-ID: <7D9477CF-C663-4671-A223-9581764B8AF5@mac.com> Does anyone need a free license to Animation Engine or MobGUI? I have an extra of each from the kickstarted campaign and would like to give them away. First reply gets one or both. You decide. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From klaus at major-k.de Tue Jul 30 09:35:16 2013 From: klaus at major-k.de (Klaus major-k) Date: Tue, 30 Jul 2013 15:35:16 +0200 Subject: Free to first caller In-Reply-To: <7D9477CF-C663-4671-A223-9581764B8AF5@mac.com> References: <7D9477CF-C663-4671-A223-9581764B8AF5@mac.com> Message-ID: <91B2FB4A-84D1-4141-ABE0-D1C9EEE14570@major-k.de> Hi Tom, Am 30.07.2013 um 15:33 schrieb Thomas McGrath III : > Does anyone need a free license to Animation Engine or MobGUI? I have an extra of each from the kickstarted campaign and would like to give them away. > > First reply gets one or both. You decide. I could need a MobGUI license! > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From webmaster at curiositi.com Tue Jul 30 09:45:17 2013 From: webmaster at curiositi.com (=?utf-8?B?Q3VyaW9zaXRpIFdlYm1hc3Rlcg==?=) Date: Tue, 30 Jul 2013 08:45:17 -0500 Subject: =?utf-8?B?UmU6IEZyZWUgdG8gZmlyc3QgY2FsbGVy?= Message-ID: <20130730134500.57E9C22E256@mxout-07.mxes.net> Would love to have AE. Already have MobGUI. Thanks for the generosity! --Forrest Doddington Sent from my Verizon Wireless Phone ----- Reply message ----- From: "Thomas McGrath III" To: "How to use LiveCode" Subject: Free to first caller Date: Tue, Jul 30, 2013 8:33 am Does anyone need a free license to Animation Engine or MobGUI? I have an extra of each from the kickstarted campaign and would like to give them away. First reply gets one or both. You decide. 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 pmbrig at gmail.com Tue Jul 30 09:52:27 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 30 Jul 2013 09:52:27 -0400 Subject: Finding matched parentheses In-Reply-To: <8D05AAF7E7D21DE-9A8-36E6@webmail-vd010.sysops.aol.com> References: <1273659386.1838914.1375109717309.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> <8D05A8CEA8B008F-9A8-1C8A@webmail-vd010.sysops.aol.com> <8D05AAF7E7D21DE-9A8-36E6@webmail-vd010.sysops.aol.com> Message-ID: <53369CD8-1394-4AF3-8D02-E3BB2DFD9C5F@gmail.com> Here is a function generalized to work for any pair, building on dfepstein's function. I *think* it works, did limited testing. Try to find errors please. I'm curious to see benchmarking on this with long strings, if it works. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig ------------------ function offsetPair str,tIndex,a,b -- str cannot be more than one line -- returns the offset of b matching the occurrence of a at char tIndex in str -- if (char tIndex of str) <> a then returns empty -- error -- if a or b are not in str then returns 0 -- if tIndex = empty then assumes the first occurrence of a -- if a or b = empty then assumes parentheses search if a = empty then put "(" into a if b = empty then put ")" into b put offsets(a,str) into openParens put offsets(b,str) into closeParens if openParens = 0 then return 0 if closeParens = 0 then return 0 if tIndex = empty then return firstOffsetPair(a,b,str) if tIndex is not among the items of openParens then return empty -- char tIndex of str <> a put howmany(a,char 1 to tIndex-1 of str) into openBefore put length(char 1 to tIndex-1 of str) into lengthBefore put char tIndex to -1 of str into workingStr put item -openBefore of closeParens into tempCloseIndex delete char tempCloseIndex to -1 of workingStr put firstOffsetPair(a,b,workingStr) into theCloseIndex return tIndex,(theCloseIndex + lengthBefore) end offsetPair function firstOffsetPair a,b,str -- from dfepstein -- str cannot be more than one line -- returns first instance of char a && "matching" instance of char b in str, or 0 if no a or empty if no match put offset(a,str) into ca if ca = 0 then return 0 put numToChar(7) into char 1 to ca of str set lineDelimiter to a set itemDelimiter to b repeat with i = 1 to the number of items in str if i = the number of lines in item 1 to i of str then return ca+length(item 1 to i of str) end repeat return empty end firstOffsetPair function offsets str,container,includeOverlaps -- returns a comma-delimited list of all the offsets of str in container -- returns 0 if not found -- third param is optional: -- offsets("xx","xxxxxx") returns "1,3,5" not "1,2,3,4,5" -- ie, by default, overlapping offsets are not counted -- if you want overlapping offsets then pass "true" in 3rd param if str is not in container then return 0 if includeOverlaps = empty then put false into includeOverlaps put empty into offsetList put 0 into startPoint repeat put offset(str,container,startPoint) into thisOffset if thisOffset = 0 then exit repeat add thisOffset to startPoint put startPoint & comma after offsetList if not includeOverlaps then add length(str)-1 to startPoint end if end repeat return item 1 to -1 of offsetList -- delete trailing comma end offsets function howmany tg,container -- how many tg = is in container -- note that howmany("00","000000") returns 3, not 5 -- if you want to allow overlapping matches, use: -- number of items of offsets(tg,container,"true") -- (see offsets() function) -- requires getDelimiters() put getDelimiters(container) into divChar replace tg with divChar in container set the itemdelimiter to divChar put the number of items of container into h if char -1 of container = divChar then return h -- trailing delimiter is ignored return h-1 end howmany function getDelimiters tText,nbr -- returns a cr-delimited list of characters -- not found in the variable tText -- use for delimiters for, eg, parsing CSV files -- usage: put getDelimiters(CSVtext,2) into tDelims -- put line 1 of tDelims into lineDivider -- put line 2 of tDelims into itemDivider -- etc. if nbr = empty then put 1 into nbr -- default 1 delimiter put "2,3,4,5,6,7,8" into baseList -- could use other non-printing ASCII values put the number of items of baseList into maxNbr if nbr > maxNbr then return "Error: max" && maxNbr && "delimiters." repeat with tCount = 1 to nbr put true into failed repeat with i = 1 to the number of items of baseList put item i of baseList into testNbr put numtochar(testNbr) into testChar if testChar is not in tText then -- found one, store and get next delim put false into failed put testChar into line tCount of delimList exit repeat end if end repeat if failed then put the number of lines of delimList into nbrFound if nbr = 1 then return "Cannot get delimiter!" else if nbrFound = 0 then return "Cannot get any delimiters!" else return "Can only get" && nbrFound && "delimiters!" end if end if delete item i of baseList end repeat return delimList end getDelimiters ---------------------- On Jul 29, 2013, at 4:15 PM, DunbarX at aol.com wrote: > > Hmmm. > > > I read the original post as finding the "closing parenthesis ... of a pair" > > > "Any pair?" > > > This seems to indicate that all nested parens have to be parsed as a whole. If you want to find a particular > related couple, you have to use the correct ordered pair derived from the function. > > > It is much simpler to find the first ")" and work backward. But that would preclude nested parens, since the > firstmost and innermost pair would be the only one found. You cannot find that kind of first "pair" and also > include nested pairs. That first pair is always minimally small. > > > The function could be easily modified to list all pairs within any designated pair, of course. > > > > Anyway, it was fun to play with. > > > Craig > > > -----Original Message----- > From: Peter Haworth > To: How to use LiveCode > Sent: Mon, Jul 29, 2013 1:15 pm > Subject: Re: Finding matched parentheses > > > On Mon, Jul 29, 2013 at 9:07 AM, wrote: > >> I tired your script on the string: >> >> >> >> aa(ss)(xx)(yy) >> >> >> >> it only returned the parens bracketing "ss" >> > > I Think that's what he wants to do - just find the position of the first > set of parentheses, taking nested parens into account. But not sure..... > > Personally, I'd use the regex that Thierry posted a couple of days back. > No recursion involved and one line of code does the job. > > 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 Tue Jul 30 10:00:00 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 30 Jul 2013 10:00:00 -0400 Subject: Free to first caller In-Reply-To: <20130730134500.57E9C22E256@mxout-07.mxes.net> References: <20130730134500.57E9C22E256@mxout-07.mxes.net> Message-ID: Done and Done. I sent a letter to Heather with you emails and a copy to you both. Enjoy. Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Jul 30, 2013, at 9:45 AM, Curiositi Webmaster wrote: > Would love to have AE. Already have MobGUI. Thanks for the generosity! > > --Forrest Doddington > > Sent from my Verizon Wireless Phone > > Hi Tom, > > >> Does anyone need a free license to Animation Engine or MobGUI? I have an extra of each from the kickstarted campaign and would like to give them away. >> >> First reply gets one or both. You decide. > > I could need a MobGUI license! > > Best > > Klaus > > -- > Klaus Major From rabit at revigniter.com Tue Jul 30 10:06:56 2013 From: rabit at revigniter.com (Ralf Bitter) Date: Tue, 30 Jul 2013 16:06:56 +0200 Subject: mergExt Kickstarter Reward to give away for free Message-ID: <0968B4C6-8DB8-4A8D-8D5B-2CAD9A10F1BE@revigniter.com> The subject says it. I would like to pass my mergExt Kickstarter Reward on to someone else for free. So, those who are seriously interested in mergExt, an indispensable tool if you develop for iOS, may let me know by sending me a private email to rbprivate (at) mac.com. Ralf From rabit at revigniter.com Tue Jul 30 10:43:18 2013 From: rabit at revigniter.com (Ralf Bitter) Date: Tue, 30 Jul 2013 16:43:18 +0200 Subject: mergExt Kickstarter Reward to give away for free In-Reply-To: <0968B4C6-8DB8-4A8D-8D5B-2CAD9A10F1BE@revigniter.com> References: <0968B4C6-8DB8-4A8D-8D5B-2CAD9A10F1BE@revigniter.com> Message-ID: <2AD002D7-B3E5-4050-98F6-52D54E3B5C1F@revigniter.com> Sorry, the game is over. The mergExt license has a new owner. Best Ralf On 30.07.2013, at 16:06, Ralf Bitter wrote: > > The subject says it. I would like to pass my > mergExt Kickstarter Reward on to someone else > for free. > > So, those who are seriously interested in mergExt, > an indispensable tool if you develop for iOS, > may let me know by sending me a private email > to rbprivate (at) mac.com. > > Ralf > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rabit at revigniter.com Tue Jul 30 10:49:48 2013 From: rabit at revigniter.com (Ralf Bitter) Date: Tue, 30 Jul 2013 16:49:48 +0200 Subject: Another Animation Engine license to give away for free Message-ID: <8604E5F3-FB3A-43E4-873D-6FB0A3BB6FBC@revigniter.com> Those who are interested may let me know by sending me a private email to rbprivate (at) mac.com. Ralf From rabit at revigniter.com Tue Jul 30 11:38:29 2013 From: rabit at revigniter.com (Ralf Bitter) Date: Tue, 30 Jul 2013 17:38:29 +0200 Subject: Another Animation Engine license to give away for free In-Reply-To: <8604E5F3-FB3A-43E4-873D-6FB0A3BB6FBC@revigniter.com> References: <8604E5F3-FB3A-43E4-873D-6FB0A3BB6FBC@revigniter.com> Message-ID: <3FB3CCFF-8556-436B-AAE8-A02BB9FBEEFA@revigniter.com> Donated. Ralf On 30.07.2013, at 16:49, Ralf Bitter wrote: > > Those who are interested may let me know by sending me > a private email to rbprivate (at) mac.com. > > > Ralf > From bonnmike at gmail.com Tue Jul 30 12:04:12 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 30 Jul 2013 10:04:12 -0600 Subject: Question I should be able to figure out but.. Message-ID: I have a question that should be easy to figure out but i'm having issues so hopefully someone can point me at a simple method. I have an sqlite database with 3 tables, 1 primary, with the other 2 as secondary tables that relate to the primary with an id field. The question is this.. can I create an entry in the primary as well as adding entries to the secondaries all in one go? Need to create the main, use the newly created id and add the entries to the secondary tables using that id. I've done this (or similar) in the past yet can't get my noggin to pull out the info, and haven't found the right thing via google yet. (will keep looking for the right words to google) Any help would be appreciated. From m.schonewille at economy-x-talk.com Tue Jul 30 12:14:03 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 30 Jul 2013 18:14:03 +0200 Subject: Programming LiveCode for the Real Beginner is available again! Message-ID: <51F7E64B.8050405@economy-x-talk.com> Hello everyone, The first print of my book sold out in just over a month. Everybody who took an interest in the book was asked to do the survey at http://livecodebeginner.economy-x-talk.com/survey/ (which you can still fill out if you want) and that made it clear that we are doing things pretty much the right way. So, we've decided to print more books, after making a few small corrections. I haven't changed much because I want teachers and students to be able to use the two prints next to each other. Nonetheless, I went through my book once more and corrected a few dozens of small typos. Where possible, I improved any confusing phrases. You can find the most important changes at http://qery.us/3xy . I'll be extending the list of errata during the next few weeks. Besides corrections, the new print has a slightly heavier soft cover and a better index. If you still have any comments or questions while reading the book, you can post them on our Q&A site at http://livecodebeginner.economy-x-talk.com/qa/ . An important change, partly due to the survey results, is the minimum order size that qualifies as a bulk order. From now on, if you order at least 10 books, you may qualify for a big discount (this used to be 25 books). Contact me off-list for more information. If you bought the book recently, we'll be shipping it within a few days. Books purchased after today will be shipped within 2 weeks. DHL needs at most 3 weeks to deliver the package, while you should normally get it within 1 week after we ship it. More info about the book can be found at http://qery.us/3xz . -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ From m.schonewille at economy-x-talk.com Tue Jul 30 12:15:42 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 30 Jul 2013 18:15:42 +0200 Subject: Question I should be able to figure out but.. In-Reply-To: References: Message-ID: <51F7E6AE.1090607@economy-x-talk.com> Hi, You might be able to create a trigger, which automatically executes queries when you insert specific data. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 7/30/2013 18:04, Mike Bonner wrote: > I have a question that should be easy to figure out but i'm having issues > so hopefully someone can point me at a simple method. > > I have an sqlite database with 3 tables, 1 primary, with the other 2 as > secondary tables that relate to the primary with an id field. > > The question is this.. can I create an entry in the primary as well as > adding entries to the secondaries all in one go? Need to create the main, > use the newly created id and add the entries to the secondary tables using > that id. > > I've done this (or similar) in the past yet can't get my noggin to pull out > the info, and haven't found the right thing via google yet. (will keep > looking for the right words to google) > > Any help would be appreciated. From cmsheffield at icloud.com Tue Jul 30 12:19:05 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Tue, 30 Jul 2013 10:19:05 -0600 Subject: Question I should be able to figure out but.. In-Reply-To: References: Message-ID: Mike, See this page in the SQLite documentation http://www.sqlite.org/c3ref/last_insert_rowid.html. You should be able to call last_insert_rowID() via a Select statement in LiveCode script. That'll get you the rowid value, which you can then use to insert records in your other two tables. Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Jul 30, 2013, at 10:04 AM, Mike Bonner wrote: > I have a question that should be easy to figure out but i'm having issues > so hopefully someone can point me at a simple method. > > I have an sqlite database with 3 tables, 1 primary, with the other 2 as > secondary tables that relate to the primary with an id field. > > The question is this.. can I create an entry in the primary as well as > adding entries to the secondaries all in one go? Need to create the main, > use the newly created id and add the entries to the secondary tables using > that id. > > I've done this (or similar) in the past yet can't get my noggin to pull out > the info, and haven't found the right thing via google yet. (will keep > looking for the right words to google) > > Any help would be appreciated. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 30 12:22:08 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 30 Jul 2013 10:22:08 -0600 Subject: Question I should be able to figure out but.. In-Reply-To: References: Message-ID: Ty ty both! Will check out both methods and see which is easiest for me to grok. Much appreciated. On Tue, Jul 30, 2013 at 10:19 AM, Chris Sheffield wrote: > Mike, > > See this page in the SQLite documentation > http://www.sqlite.org/c3ref/last_insert_rowid.html. You should be able to > call last_insert_rowID() via a Select statement in LiveCode script. That'll > get you the rowid value, which you can then use to insert records in your > other two tables. > > Chris > > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > > > On Jul 30, 2013, at 10:04 AM, Mike Bonner wrote: > > > I have a question that should be easy to figure out but i'm having issues > > so hopefully someone can point me at a simple method. > > > > I have an sqlite database with 3 tables, 1 primary, with the other 2 as > > secondary tables that relate to the primary with an id field. > > > > The question is this.. can I create an entry in the primary as well as > > adding entries to the secondaries all in one go? Need to create the > main, > > use the newly created id and add the entries to the secondary tables > using > > that id. > > > > I've done this (or similar) in the past yet can't get my noggin to pull > out > > the info, and haven't found the right thing via google yet. (will keep > > looking for the right words to google) > > > > Any help would be appreciated. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jul 30 12:47:19 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 30 Jul 2013 09:47:19 -0700 Subject: Finding matched parentheses In-Reply-To: References: <5A0ADC85-B958-4D92-A4AE-C7FE41B99EE8@comcast.net> <8267059115.20130725193820@ahsoftware.net> Message-ID: On Mon, Jul 29, 2013 at 10:10 PM, Mark Wieder wrote: > "Pierre de Fermat also figured out how to do it, but the margin he was > writing in wasn't big enough for the code." > I think that's my favorite! I promise I will never, ever try to parse html with regex! Or if I do, I won't mention it here. I did once try to parse SQL statements with regex but quickly gave up on that. Pete lcSQL Software From cmsheffield at icloud.com Tue Jul 30 12:51:08 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Tue, 30 Jul 2013 10:51:08 -0600 Subject: another MobGUI license giveaway... Message-ID: I wasn't quite sure how best to do this, so I was waiting to hear from Heather. But since others have done it here this morning, I will too. I also have a MobGUI license to give away if anyone is interested. Just let me know. Off-list is probably best, but I'm okay with a reply here as well. First one to respond gets it. Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From cmsheffield at icloud.com Tue Jul 30 13:10:27 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Tue, 30 Jul 2013 11:10:27 -0600 Subject: another MobGUI license giveaway... In-Reply-To: References: Message-ID: And it's gone. Thanks, Pascal. On Jul 30, 2013, at 10:51 AM, Chris Sheffield wrote: > I wasn't quite sure how best to do this, so I was waiting to hear from Heather. But since others have done it here this morning, I will too. > > I also have a MobGUI license to give away if anyone is interested. Just let me know. Off-list is probably best, but I'm okay with a reply here as well. First one to respond gets it. > > 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 dan at clearvisiontech.com Tue Jul 30 15:08:40 2013 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 30 Jul 2013 12:08:40 -0700 Subject: Removing ListStyle In-Reply-To: References: Message-ID: Hello... How do you remove the listStyle of some text? If you set it to "skip" as listed in the dictionary, you still have remnants of the listStyle. For example, using the htmlText of a field, it starts with:

test

Then you set the listStyle to "disc" and you get this:
  • test

set the listStyle to "skip", and you get this:

    test

Setting the listStyle to empty doesn't work either. How do you get it back to this:

test

Anyone know how to remove the listStyle? Thanks in advance, -Dn From th.douez at gmail.com Tue Jul 30 15:23:09 2013 From: th.douez at gmail.com (Thierry Douez) Date: Tue, 30 Jul 2013 21:23:09 +0200 Subject: Removing ListStyle In-Reply-To: References: Message-ID: 2013/7/30 Dan Friedman > Hello... > > How do you remove the listStyle of some text? If you set it to "skip" as > listed in the dictionary, you still have remnants of the listStyle. For > example, using the htmlText of a field, it starts with: > >

test

> > Then you set the listStyle to "disc" and you get this: > >
    >
  • >

    test

    >
  • >
> > set the listStyle to "skip", and you get this: > >
    >

    test

    > >
> > Setting the listStyle to empty doesn't work either. How do you get it > back to this: > >

test

> > Anyone know how to remove the listStyle? > > Thanks in advance, > -Dn > ?Hi, set the liststyle of line 3 of fld "F1" to empty works here on Mac LC 5.5.4? and the htmltext is clean. ?HTH, Thierry? ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From dan at clearvisiontech.com Tue Jul 30 15:30:05 2013 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 30 Jul 2013 12:30:05 -0700 Subject: Removing ListStyle Message-ID: <03CBF565-CF1D-4EDA-AFAB-9DF3CA36E16A@clearvisiontech.com> Thierry, On Mac LC 6.1, I do this: set the listStyle of the selectedLine to empty and the htmlText is this:

test

Is that as "clean" as it gets? I would expect it to be

test

. -Dan > ?Hi, > > set the liststyle of line 3 of fld "F1" to empty > > works here on Mac LC 5.5.4? and the htmltext is clean. > > ?HTH, > > Thierry? >> Hello... >> >> How do you remove the listStyle of some text? From m.schonewille at economy-x-talk.com Tue Jul 30 15:38:32 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 30 Jul 2013 21:38:32 +0200 Subject: Removing ListStyle In-Reply-To: References: Message-ID: <51F81638.7020407@economy-x-talk.com> Hi Dn, I don't understand where you get your listindent property from. The following doesn't create anything like that: on tabKey put the listDepth of the selectedLine into myDepth if myDepth is 1 and the shiftKey is down then set the listStyle of the selectedLine to empty else if myDepth > 0 and the shiftKey is down then set the listStyle of the selectedLine to disc set the listDepth of the selectedLine to myDepth - 1 else set the listStyle of the selectedLine to disc set the listDepth of the selectedLine to myDepth + 1 end if end tabKey on rawKeyUp put the htmlText of me pass rawKeyUp end rawKeyUp -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 7/30/2013 21:08, Dan Friedman wrote: > Hello... > > How do you remove the listStyle of some text? If you set it to "skip" as listed in the dictionary, you still have remnants of the listStyle. For example, using the htmlText of a field, it starts with: > >

test

> > Then you set the listStyle to "disc" and you get this: > >
    >
  • >

    test

    >
  • >
> > set the listStyle to "skip", and you get this: > >
    >

    test

    > >
> > Setting the listStyle to empty doesn't work either. How do you get it back to this: > >

test

> > Anyone know how to remove the listStyle? > > Thanks in advance, > -Dn From th.douez at gmail.com Tue Jul 30 15:41:17 2013 From: th.douez at gmail.com (Thierry Douez) Date: Tue, 30 Jul 2013 21:41:17 +0200 Subject: Removing ListStyle In-Reply-To: <03CBF565-CF1D-4EDA-AFAB-9DF3CA36E16A@clearvisiontech.com> References: <03CBF565-CF1D-4EDA-AFAB-9DF3CA36E16A@clearvisiontech.com> Message-ID: Hi, I've done this first: on mouseUp set the liststyle of line 3 of fld "F1" to "disc" put the htmltext of fld "F1" end mouseUp get:
  • werwerwerwer

  • and then: on mouseUp set the liststyle of line 3 of fld "F1" to empty put the htmltext of fld "F1" end mouseUp ?get:

    werwerwerwer

    ? ?Thierry? ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage 2013/7/30 Dan Friedman > Thierry, > > On Mac LC 6.1, I do this: > > set the listStyle of the selectedLine to empty > > and the htmlText is this: > >

    test

    > > Is that as "clean" as it gets? I would expect it to be

    test

    . > > -Dan > > > > > ?Hi, > > > > set the liststyle of line 3 of fld "F1" to empty > > > > works here on Mac LC 5.5.4? and the htmltext is clean. > > > > ?HTH, > > > > Thierry? > > > >> Hello... > >> > >> How do you remove the listStyle of some text? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Tue Jul 30 15:53:22 2013 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 30 Jul 2013 12:53:22 -0700 Subject: Removing ListStyle Message-ID: <4D9DACE6-2ADE-4BF2-AEB3-D1E8AD562D24@clearvisiontech.com> Mark, Well, I don't know why I'm getting the results I am, but your tabKey command script works great! Thanks for the snippet! --Dan > Hi Dn, > > I don't understand where you get your listindent property from. The > following doesn't create anything like that... From monte at sweattechnologies.com Tue Jul 30 16:31:29 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 31 Jul 2013 06:31:29 +1000 Subject: Free AnimationEngine and MobGUI with mergExt Complete Purchase Message-ID: <63482DC6-A4A4-45C3-BD7D-FCF64DEDD3D6@sweattechnologies.com> The subject says it all.. Be the next person to purchase mergExt Complete and get my AnimationEngine and MobGUI kickstarter rewards free. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From meitnik at bellsouth.net Tue Jul 30 16:58:43 2013 From: meitnik at bellsouth.net (Andrew Meit) Date: Tue, 30 Jul 2013 16:58:43 -0400 Subject: Animation Engine gift In-Reply-To: References: Message-ID: I really would like a commercial version of Animation Engine. If anyone has a second copy to give away please contact me. Thanks From capellan2000 at gmail.com Tue Jul 30 17:53:36 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 30 Jul 2013 14:53:36 -0700 (PDT) Subject: Open Source plugins and externals Message-ID: <1375221216246-4668157.post@n4.nabble.com> Hi All, What do you think if we ask to RunRev to include many open source plugins with every LiveCode Community edition? For example: https://bitbucket.org/mwieder/glx2/wiki/Home http://forums.runrev.com/viewtopic.php?f=27&t=14399 http://www.quartam.com/ and many more... Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Open-Source-plugins-and-externals-tp4668157.html Sent from the Revolution - User mailing list archive at Nabble.com. From monte at sweattechnologies.com Tue Jul 30 18:13:28 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 31 Jul 2013 08:13:28 +1000 Subject: Open Source plugins and externals In-Reply-To: <1375221216246-4668157.post@n4.nabble.com> References: <1375221216246-4668157.post@n4.nabble.com> Message-ID: <15AAFA56-75A3-41D5-8F9E-1C04754CEB3F@sweattechnologies.com> On 31/07/2013, at 7:53 AM, Alejandro Tejada wrote: > What do you think if we ask to RunRev > to include many open source plugins with > every LiveCode Community edition? The currently included plugins do definitely need a cleanup from both a licensing and maintenance perspective. I'd suggest that the included plugins should only be examples in full control of the RunRev team. They should also not be hidden inside the app bundle but copied to the user's extensions folder so it's easier for users to see what can be done. Now RunRev actively showcasing inside LiveCode what extensions are available for the platform whether sold by them or not is another matter and could only be a good thing for them as far as I can see. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From pete at lcsql.com Tue Jul 30 19:01:19 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 30 Jul 2013 16:01:19 -0700 Subject: Open Source plugins and externals In-Reply-To: <15AAFA56-75A3-41D5-8F9E-1C04754CEB3F@sweattechnologies.com> References: <1375221216246-4668157.post@n4.nabble.com> <15AAFA56-75A3-41D5-8F9E-1C04754CEB3F@sweattechnologies.com> Message-ID: On Tue, Jul 30, 2013 at 3:13 PM, Monte Goulding wrote: > Now RunRev actively showcasing inside LiveCode what extensions are > available for the platform whether sold by them or not is another matter > and could only be a good thing for them as far as I can see. Not entirely on topic but on reading the animation engine post on the forum about this, I note that there is a source code repository for folks who would like to make changes to the open source version. Is this a requirement of supplying an open source version of a plugin, or is it valid to simply supply the source code and tell everyone they're free to make changes to their own version? Pete lcSQL Software From monte at sweattechnologies.com Tue Jul 30 19:18:38 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 31 Jul 2013 09:18:38 +1000 Subject: Open Source plugins and externals In-Reply-To: References: <1375221216246-4668157.post@n4.nabble.com> <15AAFA56-75A3-41D5-8F9E-1C04754CEB3F@sweattechnologies.com> Message-ID: On 31/07/2013, at 9:01 AM, Peter Haworth wrote: > Not entirely on topic but on reading the animation engine post on the forum > about this, I note that there is a source code repository for folks who > would like to make changes to the open source version. Is this a > requirement of supplying an open source version of a plugin, or is it valid > to simply supply the source code and tell everyone they're free to make > changes to their own version? There's lots of different open source licenses but I don't think I've ever read one that said you were required to accept contributions. Actually the LiveCode IDE is a good example of this right now and probably for a significant amount of time into the future. If you do allow people to make contributions make sure you have a contributor agreement in place so you have a license to distribute the contributions. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From aicolburn at yahoo.com Tue Jul 30 19:17:13 2013 From: aicolburn at yahoo.com (Alan Colburn) Date: Tue, 30 Jul 2013 16:17:13 -0700 (PDT) Subject: Copying Files Message-ID: <1375226233.35955.YahooMailNeo@web84501.mail.ne1.yahoo.com> I am trying to copy a file from a public Dropbox folder to the temp folder. The code: put URL ("binfile:https://dl.dropboxusercontent.com/path/to/filename") \ ???????? into URL ("binfile:"&the temporary folder&"\filename") just creates an empty file in the temporary folder. And: revCopyFile "https://dl.dropboxusercontent.com/path/to/filename",the temporary folder doesn't do anything. Any thoughts about how to do this? thanks, as always -- Al C. From m.schonewille at economy-x-talk.com Tue Jul 30 19:23:09 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 31 Jul 2013 01:23:09 +0200 Subject: Copying Files In-Reply-To: <1375226233.35955.YahooMailNeo@web84501.mail.ne1.yahoo.com> References: <1375226233.35955.YahooMailNeo@web84501.mail.ne1.yahoo.com> Message-ID: <7E7CBBC2-9E54-4500-9458-06828BDB0554@economy-x-talk.com> Alan, put URL ("https://dl.dropboxusercontent.com/path/to/filename") \ into URL ("binfile:" & the temporary folder & "/filename") -- 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 31 jul 2013, at 01:17, Alan Colburn wrote: > I am trying to copy a file from a public Dropbox folder to the temp folder. The code: > > put URL ("binfile:https://dl.dropboxusercontent.com/path/to/filename") \ > into URL ("binfile:"&the temporary folder&"\filename") > > just creates an empty file in the temporary folder. And: > > revCopyFile "https://dl.dropboxusercontent.com/path/to/filename",the temporary folder > > doesn't do anything. > > Any thoughts about how to do this? > > thanks, as always -- Al C. From pete at lcsql.com Tue Jul 30 20:00:01 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 30 Jul 2013 17:00:01 -0700 Subject: Open Source plugins and externals In-Reply-To: References: <1375221216246-4668157.post@n4.nabble.com> <15AAFA56-75A3-41D5-8F9E-1C04754CEB3F@sweattechnologies.com> Message-ID: On Tue, Jul 30, 2013 at 4:18 PM, Monte Goulding wrote: > There's lots of different open source licenses but I don't think I've ever > read one that said you were required to accept contributions. Actually the > LiveCode IDE is a good example of this right now and probably for a > significant amount of time into the future. If you do allow people to make > contributions make sure you have a contributor agreement in place so you > have a license to distribute the contributions. Thanks for the clarification. Pete lcSQL Software From james at thehales.id.au Tue Jul 30 20:27:22 2013 From: james at thehales.id.au (James Hale) Date: Wed, 31 Jul 2013 10:27:22 +1000 Subject: SQLYoga to give away. Message-ID: <9B2C492F-D39F-4DF3-9186-3D8CDD894066@thehales.id.au> Hi, I have an extra SQL yoga from the Kickstarter campaign to give to the first person to PM me. I only get the digest of this list so please do not reply to the list. Send me your details and I will ask Heather to move the seat to your account. James From james at thehales.id.au Tue Jul 30 20:39:58 2013 From: james at thehales.id.au (James Hale) Date: Wed, 31 Jul 2013 10:39:58 +1000 Subject: Extra SQL Yoga gone Message-ID: Hi all, The seat has gone. Thank you. James From nm at studionm.pl Wed Jul 31 03:50:52 2013 From: nm at studionm.pl (Marek Niesiobedzki) Date: Wed, 31 Jul 2013 09:50:52 +0200 Subject: Not needed commercial copy of AE? Message-ID: <0D35DCBD-0981-4F6C-8A7A-E958411DEB17@studionm.pl> If anyone has a second copy of Animation Engine to give away, I'll be very thankful if you could offer it to me. Marek From gcanyon at gmail.com Wed Jul 31 04:19:05 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 31 Jul 2013 03:19:05 -0500 Subject: Finding matched parentheses In-Reply-To: <53369CD8-1394-4AF3-8D02-E3BB2DFD9C5F@gmail.com> References: <1273659386.1838914.1375109717309.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> <8D05A8CEA8B008F-9A8-1C8A@webmail-vd010.sysops.aol.com> <8D05AAF7E7D21DE-9A8-36E6@webmail-vd010.sysops.aol.com> <53369CD8-1394-4AF3-8D02-E3BB2DFD9C5F@gmail.com> Message-ID: On Tue, Jul 30, 2013 at 8:52 AM, Peter M. Brigham wrote: > function firstOffsetPair a,b,str > -- from dfepstein > -- str cannot be more than one line > -- returns first instance of char a && "matching" instance of char b in > str, or 0 if no a or empty if no match > put offset(a,str) into ca > if ca = 0 then return 0 > put numToChar(7) into char 1 to ca of str > set lineDelimiter to a > set itemDelimiter to b > repeat with i = 1 to the number of items in str > if i = the number of lines in item 1 to i of str then return > ca+length(item 1 to i of str) > end repeat > return empty > end firstOffsetPair > (you asked for feedback) I haven't looked at the rest of the code you posted, but his function could scale better by avoiding things like "the number of lines in item 1 to i of str" For comparison: function offsetPair b,e,str set the itemdelimiter to b set the linedelimiter to e put offset(b,str) into bi if bi = 0 then return 0 put 0 into C put 0 into LC repeat for each line L in str add 1 to LC add the number of items of (L & b) - 2 to C if C = 0 then return bi,(1+length(line 1 to LC of str)) end repeat return empty end offsetPair That scales roughly linearly on the size of the input: a 20,000 character string will take roughly twice as long as a similar 10,000 character string. That means for strings around 30,000 characters long firstOffsetPair can take 50x as long as offsetPair. Whoever first posted code that used items and lines, thanks, that's quite clever. regards, geoff From mac at mauraoconnell.com Wed Jul 31 06:38:19 2013 From: mac at mauraoconnell.com (Mac Bennett) Date: Wed, 31 Jul 2013 05:38:19 -0500 Subject: Extra copy of MobGUI Message-ID: <86E6A017-BAAF-4EE0-A6C9-80A59D548564@mauraoconnell.com> Anyone interested in my extra copy of MobGUI please contact me off-list. Thanks, Mac From wilhelm.forchheim at freenet.de Wed Jul 31 09:00:26 2013 From: wilhelm.forchheim at freenet.de (Ruediger Wilhelm) Date: Wed, 31 Jul 2013 15:00:26 +0200 Subject: Extra of MobGUI Message-ID: <000c01ce8ded$eec7a530$cc56ef90$@forchheim@freenet.de> I have an extra license of MobGUI to give away. Who ever is interested please contact me so I can tell Heather to add it to your account. Ruediger From rman at free.fr Wed Jul 31 09:49:08 2013 From: rman at free.fr (Robert Mann) Date: Wed, 31 Jul 2013 06:49:08 -0700 (PDT) Subject: revOnline and Open Source In-Reply-To: References: <51F6AE64.10107@gmail.com> Message-ID: <1375278548647-4668171.post@n4.nabble.com> Oups! i'm surprised. I thought the opposite would be true :: if nothing specified, it's deemed "public knowledge"? As far as patents are concerned, once a mechanism is documented on line, it is deemed to be public knowledge and thus no more patentable (one could do it but anybody knowing the prior publication and proving it would be able to challenge the patent). Now it is true that copyrights protect the actual "wording" you use in a document, and is applicable to softwares. And copyright applies whether or not you actually put the copyright logo name and year. On the frontier :: if the name of the author is not specified in the stack, then it'll be hard to argue against common knowledge. Clearly it would simplify to be able to add at the publication step a corresponding OSS declaration. I strangely assumed so far that contributions at revOnline were for the common good, thus freely re-usable common knowledge. Are there any other folks around who though so? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/revOnline-and-Open-Source-tp4668100p4668171.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Wed Jul 31 10:06:51 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 31 Jul 2013 16:06:51 +0200 Subject: revOnline and Open Source In-Reply-To: <1375278548647-4668171.post@n4.nabble.com> References: <51F6AE64.10107@gmail.com> <1375278548647-4668171.post@n4.nabble.com> Message-ID: <51F919FB.1030607@economy-x-talk.com> Hi Robert, Anonymous works are still copyrighted by the anonymous author. If the author ever decides to reveal him/herself, he can claim this copyright. Contributions to RevOnline are not anonymous. If need be, they can be traced back to an account and a user. This makes it easier to claim copyright. I don't think that public knowledge voids any patents. If you have a new idea and can prove that the idea is yours, you can claim the patent. I wouldn't want to force people to decide on anything when they release their software. If they don't include an open source license, then let them just have the copyright. That's also a type of freedom people (authors) are entitled to. (I'm no expert on legal issues). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 7/31/2013 15:49, Robert Mann wrote: > Oups! i'm surprised. I thought the opposite would be true :: if nothing > specified, it's deemed "public knowledge"? > > As far as patents are concerned, once a mechanism is documented on line, it > is deemed to be public knowledge and thus no more patentable (one could do > it but anybody knowing the prior publication and proving it would be able to > challenge the patent). > > Now it is true that copyrights protect the actual "wording" you use in a > document, and is applicable to softwares. And copyright applies whether or > not you actually put the copyright logo name and year. > > On the frontier :: if the name of the author is not specified in the stack, > then it'll be hard to argue against common knowledge. > > Clearly it would simplify to be able to add at the publication step a > corresponding OSS declaration. > > I strangely assumed so far that contributions at revOnline were for the > common good, thus freely re-usable common knowledge. Are there any other > folks around who though so? > From dochawk at gmail.com Wed Jul 31 10:10:20 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 31 Jul 2013 07:10:20 -0700 Subject: revOnline and Open Source In-Reply-To: <1375278548647-4668171.post@n4.nabble.com> References: <51F6AE64.10107@gmail.com> <1375278548647-4668171.post@n4.nabble.com> Message-ID: On Wed, Jul 31, 2013 at 6:49 AM, Robert Mann wrote: > On the frontier :: if the name of the author is not specified in the stack, > then it'll be hard to argue against common knowledge. That just isn't the law. Not in the US, and AFAIK, not any country subscribing to the Berne convention. *HOWEVER*, the GPL3 of the community version *DOES* infect executables created with the community version (it's license requires that the derivative work have the same license). -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Wed Jul 31 10:24:55 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 31 Jul 2013 17:24:55 +0300 Subject: revOnline and Open Source In-Reply-To: <1375278548647-4668171.post@n4.nabble.com> References: <51F6AE64.10107@gmail.com> <1375278548647-4668171.post@n4.nabble.com> Message-ID: <51F91E37.8010903@gmail.com> On 31/07/13 16:49, Robert Mann wrote: > Oups! i'm surprised. I thought the opposite would be true :: if nothing > specified, it's deemed "public knowledge"? > > As far as patents are concerned, once a mechanism is documented on line, it > is deemed to be public knowledge and thus no more patentable (one could do > it but anybody knowing the prior publication and proving it would be able to > challenge the patent). > > Now it is true that copyrights protect the actual "wording" you use in a > document, and is applicable to softwares. And copyright applies whether or > not you actually put the copyright logo name and year. > > On the frontier :: if the name of the author is not specified in the stack, > then it'll be hard to argue against common knowledge. > > Clearly it would simplify to be able to add at the publication step a > corresponding OSS declaration. > > I strangely assumed so far that contributions at revOnline were for the > common good, thus freely re-usable common knowledge. Are there any other > folks around who though so? yes; Me! Richmond. > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/revOnline-and-Open-Source-tp4668100p4668171.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 m.schonewille at economy-x-talk.com Wed Jul 31 10:27:08 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 31 Jul 2013 16:27:08 +0200 Subject: revOnline and Open Source In-Reply-To: References: <51F6AE64.10107@gmail.com> <1375278548647-4668171.post@n4.nabble.com> Message-ID: <963A3EE8-54DB-434D-A51B-F7050A54936F@economy-x-talk.com> Hi, Yes, the license of the community version does infect executables built with it, but not automatically. The author still has to include the license with the software and if s/he doesn't do that, copright applies automatically and the author would be violating LiveCode's open source license. -- 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 31 jul 2013, at 16:10, Dr. Hawkins wrote: > > That just isn't the law. > > Not in the US, and AFAIK, not any country subscribing to the Berne convention. > > *HOWEVER*, the GPL3 of the community version *DOES* infect executables > created with the community version (it's license requires that the > derivative work have the same license). > > From ambassador at fourthworld.com Wed Jul 31 10:31:39 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 31 Jul 2013 07:31:39 -0700 Subject: revOnline and Open Source In-Reply-To: References: Message-ID: <51F91FCB.8020909@fourthworld.com> Dr. Hawkins wrote: > On Wed, Jul 31, 2013 at 6:49 AM, Robert Mann wrote: >> On the frontier :: if the name of the author is not specified in the stack, >> then it'll be hard to argue against common knowledge. > > That just isn't the law. > > Not in the US, and AFAIK, not any country subscribing to the Berne convention. > > *HOWEVER*, the GPL3 of the community version *DOES* infect executables > created with the community version (it's license requires that the > derivative work have the same license). FWIW, the inventor of the GPL prefers "inherit" rather than "infect", since the GPL is a choice authors can make and "infect" has negative connotations that make that choice sound like an accident. But this discussion raises a peripheral question: How does the GPL3 used by the Community Edition affect libraries? GPL3 distinguishes "dynamic linking" as not affected, while "static linking" explicitly inherits GPL freedoms. The AGPL goes one step further to apply to the sort of "dynamic linking" in connections made by clients to servers, but in the LC world that usually only affects LiveCode Server and Kevin has already noted that he chose not to use AGPL for Server specifically to avoid encumbrance by clients. For desktop LiveCode, can one build a library and license it under the GPL3-compatible LGPL for use in proprietary standalones as long as it remains a separate stack file? Conversely, can one build a proprietary library and use it with the Community Edition (not password-protected, of course)? There seems to be much variance over how to define "dynamically linked" and "derivative work". For example, the Wordpress and Drupal project owners have both explicitly stated that they believe plugins and even themes constitute "derivative works" and therefore inherit GPL rights and responsibilities. Yet even within those communities there are some who sell proprietary add-ons, to the best of my knowledge without legal intervention. Where exactly is the line drawn with LC libraries when distributed as separate stack files? -- 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 wilhelm.forchheim at freenet.de Wed Jul 31 10:48:31 2013 From: wilhelm.forchheim at freenet.de (Ruediger Wilhelm) Date: Wed, 31 Jul 2013 16:48:31 +0200 Subject: Greenhorn Question In-Reply-To: <1375278548647-4668171.post@n4.nabble.com> References: <51F6AE64.10107@gmail.com> <1375278548647-4668171.post@n4.nabble.com> Message-ID: <001601ce8dfd$07eb8180$17c28480$@forchheim@freenet.de> I hardly dare to ask this most likely trivial question to this list. Why does the cursor not change on my button script: on mouseEnter set the cursor to hand end mouseEnter Thanks to somebody who cares to help! Ruediger -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Robert Mann Sent: Mittwoch, 31. Juli 2013 15:49 To: use-revolution at lists.runrev.com Subject: Re: revOnline and Open Source Oups! i'm surprised. I thought the opposite would be true :: if nothing specified, it's deemed "public knowledge"? As far as patents are concerned, once a mechanism is documented on line, it is deemed to be public knowledge and thus no more patentable (one could do it but anybody knowing the prior publication and proving it would be able to challenge the patent). Now it is true that copyrights protect the actual "wording" you use in a document, and is applicable to softwares. And copyright applies whether or not you actually put the copyright logo name and year. On the frontier :: if the name of the author is not specified in the stack, then it'll be hard to argue against common knowledge. Clearly it would simplify to be able to add at the publication step a corresponding OSS declaration. I strangely assumed so far that contributions at revOnline were for the common good, thus freely re-usable common knowledge. Are there any other folks around who though so? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/revOnline-and-Open-Source-tp4 668100p4668171.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 bogdanoff at me.com Wed Jul 31 10:59:18 2013 From: bogdanoff at me.com (Peter Bogdanoff) Date: Wed, 31 Jul 2013 07:59:18 -0700 Subject: Greenhorn Question In-Reply-To: <001601ce8dfd$07eb8180$17c28480$%forchheim@freenet.de> References: <51F6AE64.10107@gmail.com> <1375278548647-4668171.post@n4.nabble.com> <001601ce8dfd$07eb8180$17c28480$%forchheim@freenet.de> Message-ID: Also add a line: set the lockCursor to true and later, when you're done: set the lockCursor to false Peter Bogdanoff UCLA On Jul 31, 2013, at 7:48 AM, Ruediger Wilhelm wrote: > I hardly dare to ask this most likely trivial > question to this list. > Why does the cursor not change on my > button script: > > on mouseEnter > set the cursor to hand > end mouseEnter > > Thanks to somebody who cares to help! > > Ruediger > > From m.schonewille at economy-x-talk.com Wed Jul 31 11:02:16 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 31 Jul 2013 17:02:16 +0200 Subject: Greenhorn Question In-Reply-To: <001601ce8dfd$07eb8180$17c28480$@forchheim@freenet.de> References: <51F6AE64.10107@gmail.com> <1375278548647-4668171.post@n4.nabble.com> <001601ce8dfd$07eb8180$17c28480$@forchheim@freenet.de> Message-ID: <0012B244-9DF1-47C5-8FA8-3AA84559D17E@economy-x-talk.com> Hi R?diger, The cursor changes, but is reset immediately after the handler finishes. There are two possible solutions. on mouseEnter lock cursor set the cursor to hand end mouseEnter on mouseEnter set the defaultCursor to hand end mouseEnter -- 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 31 jul 2013, at 16:48, Ruediger Wilhelm wrote: > I hardly dare to ask this most likely trivial > question to this list. > Why does the cursor not change on my > button script: > > on mouseEnter > set the cursor to hand > end mouseEnter > > Thanks to somebody who cares to help! > > Ruediger > > From neil at runrev.com Wed Jul 31 11:04:36 2013 From: neil at runrev.com (Neil Roger) Date: Wed, 31 Jul 2013 16:04:36 +0100 Subject: Greenhorn Question In-Reply-To: <001601ce8dfd$07eb8180$17c28480$@forchheim@freenet.de> References: <51F6AE64.10107@gmail.com> <1375278548647-4668171.post@n4.nabble.com> <001601ce8dfd$07eb8180$17c28480$@forchheim@freenet.de> Message-ID: <51F92784.5020201@runrev.com> As Peter has mentioned... something like this will work. on mouseEnter set the lockCursor to true set the cursor to hand end mouseEnter on mouseLeave set the lockCursor to false end mouseLeave Kind Regards, Neil Roger ----- RunRev Support Team ~ http://www.runrev.com ------ On 31/07/2013 15:48, Ruediger Wilhelm wrote: > I hardly dare to ask this most likely trivial > question to this list. > Why does the cursor not change on my > button script: > > on mouseEnter > set the cursor to hand > end mouseEnter > > Thanks to somebody who cares to help! > > Ruediger > > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Robert Mann > Sent: Mittwoch, 31. Juli 2013 15:49 > To: use-revolution at lists.runrev.com > Subject: Re: revOnline and Open Source > > Oups! i'm surprised. I thought the opposite would be true :: if nothing > specified, it's deemed "public knowledge"? > > As far as patents are concerned, once a mechanism is documented on line, it > is deemed to be public knowledge and thus no more patentable (one could do > it but anybody knowing the prior publication and proving it would be able to > challenge the patent). > > Now it is true that copyrights protect the actual "wording" you use in a > document, and is applicable to softwares. And copyright applies whether or > not you actually put the copyright logo name and year. > > On the frontier :: if the name of the author is not specified in the stack, > then it'll be hard to argue against common knowledge. > > Clearly it would simplify to be able to add at the publication step a > corresponding OSS declaration. > > I strangely assumed so far that contributions at revOnline were for the > common good, thus freely re-usable common knowledge. Are there any other > folks around who though so? > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/revOnline-and-Open-Source-tp4 > 668100p4668171.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From index at kenjikojima.com Wed Jul 31 12:04:28 2013 From: index at kenjikojima.com (index at kenjikojima.com) Date: Wed, 31 Jul 2013 12:04:28 -0400 Subject: Japanese Font Menu In-Reply-To: <4AB31C06-99DA-4F4A-A588-65E6E6C4633B@kenjikojima.com> References: <51F5175C.2000103@gmail.com> <9951FB6F-F028-4BD5-984D-E1E9BB7663BE@kenjikojima.com> <51F535BE.1030801@gmail.com> <51F538ED.4080007@gmail.com> <51F53D4A.9060609@gmail.com> <4E0F5762-2CA0-4FF2-8806-63653EB13C43@kenjikojima.com> <51F639A7.9000105@laposte.net> <51F63A97.9070501@laposte.net> <4AB31C06-99DA-4F4A-A588-65E6E6C4633B@kenjikojima.com> Message-ID: Hi, This is Japanese font menu for MacOS and Windows. You can set the text font of a text field from Japanese menubar. go to url "http://kenjikojima.com/livecode/download/jpFontMenu03.livecode" I could not remove strange characters of the first line of Windows font menu. -- Kenji Kojima / ???? http://www.kenjikojima.com/ From dunbarx at aol.com Wed Jul 31 12:24:34 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 31 Jul 2013 12:24:34 -0400 (EDT) Subject: Greenhorn Question In-Reply-To: <51F92784.5020201@runrev.com> References: <51F6AE64.10107@gmail.com> <1375278548647-4668171.post@n4.nabble.com> <001601ce8dfd$07eb8180$17c28480$@forchheim@freenet.de> <51F92784.5020201@runrev.com> Message-ID: <8D05C21942398C2-9A8-117A2@webmail-vd010.sysops.aol.com> All answers are spot on. Greenhorns welcome. The cursor is temporary, and reset to whatever the default is at idle time. This will be virtually instantaneous if you are simple navigating around the card in browse mode. Try this in a button: on mouseUp set the cursor to hand wait until the mouseClick end mouseUp Now move around the card at will, and when you get tired of that, click somewhere. The difference is that the engine is in thrall to the "wait" command, and idle time has not resumed. Craig Newman -----Original Message----- From: Neil Roger To: How to use LiveCode Sent: Wed, Jul 31, 2013 11:05 am Subject: Re: Greenhorn Question As Peter has mentioned... something like this will work. on mouseEnter set the lockCursor to true set the cursor to hand end mouseEnter on mouseLeave set the lockCursor to false end mouseLeave Kind Regards, Neil Roger ----- RunRev Support Team ~ http://www.runrev.com ------ On 31/07/2013 15:48, Ruediger Wilhelm wrote: > I hardly dare to ask this most likely trivial > question to this list. > Why does the cursor not change on my > button script: > > on mouseEnter > set the cursor to hand > end mouseEnter > > Thanks to somebody who cares to help! > > Ruediger > > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Robert Mann > Sent: Mittwoch, 31. Juli 2013 15:49 > To: use-revolution at lists.runrev.com > Subject: Re: revOnline and Open Source > > Oups! i'm surprised. I thought the opposite would be true :: if nothing > specified, it's deemed "public knowledge"? > > As far as patents are concerned, once a mechanism is documented on line, it > is deemed to be public knowledge and thus no more patentable (one could do > it but anybody knowing the prior publication and proving it would be able to > challenge the patent). > > Now it is true that copyrights protect the actual "wording" you use in a > document, and is applicable to softwares. And copyright applies whether or > not you actually put the copyright logo name and year. > > On the frontier :: if the name of the author is not specified in the stack, > then it'll be hard to argue against common knowledge. > > Clearly it would simplify to be able to add at the publication step a > corresponding OSS declaration. > > I strangely assumed so far that contributions at revOnline were for the > common good, thus freely re-usable common knowledge. Are there any other > folks around who though so? > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/revOnline-and-Open-Source-tp4 > 668100p4668171.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From wilhelm.forchheim at freenet.de Wed Jul 31 12:25:14 2013 From: wilhelm.forchheim at freenet.de (Ruediger Wilhelm) Date: Wed, 31 Jul 2013 18:25:14 +0200 Subject: Greenhorn Question In-Reply-To: References: <51F6AE64.10107@gmail.com> <1375278548647-4668171.post@n4.nabble.com> <001601ce8dfd$07eb8180$17c28480$%forchheim@freenet.de> Message-ID: <002301ce8e0a$89a56c60$9cf04520$@forchheim@freenet.de> Thank you, Peter, Mark and Neil. Now even my cursor changes. Ruediger -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Peter Bogdanoff Sent: Mittwoch, 31. Juli 2013 16:59 To: How to use LiveCode Subject: Re: Greenhorn Question Also add a line: set the lockCursor to true and later, when you're done: set the lockCursor to false Peter Bogdanoff UCLA On Jul 31, 2013, at 7:48 AM, Ruediger Wilhelm wrote: > I hardly dare to ask this most likely trivial > question to this list. > Why does the cursor not change on my > button script: > > on mouseEnter > set the cursor to hand > end mouseEnter > > Thanks to somebody who cares to help! > > Ruediger > > _______________________________________________ use-livecode mailing list use-livecode at 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 Jul 31 13:54:54 2013 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 31 Jul 2013 17:54:54 +0000 Subject: Japanese Font Menu In-Reply-To: References: <51F5175C.2000103@gmail.com> <9951FB6F-F028-4BD5-984D-E1E9BB7663BE@kenjikojima.com> <51F535BE.1030801@gmail.com> <51F538ED.4080007@gmail.com> <51F53D4A.9060609@gmail.com> <4E0F5762-2CA0-4FF2-8806-63653EB13C43@kenjikojima.com> <51F639A7.9000105@laposte.net> <51F63A97.9070501@laposte.net> <4AB31C06-99DA-4F4A-A588-65E6E6C4633B@kenjikojima.com> Message-ID: <395E8106-DC0E-48DC-8EEF-C554C0517FF6@byu.edu> On Jul 31, 2013, at 10:04 AM, index at kenjikojima.com wrote: > Hi, > > This is Japanese font menu for MacOS and Windows. > You can set the text font of a text field from Japanese menubar. > go to url "http://kenjikojima.com/livecode/download/jpFontMenu03.livecode" > > I could not remove strange characters of the first line of Windows font menu. > -- > Kenji Kojima / ???? > http://www.kenjikojima.com/ This is brilliant, Kenji! Thanks for sharing your stack. Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From mcgrath3 at mac.com Wed Jul 31 15:15:24 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 31 Jul 2013 15:15:24 -0400 Subject: revOnline and Open Source In-Reply-To: <51F91FCB.8020909@fourthworld.com> References: <51F91FCB.8020909@fourthworld.com> Message-ID: Copyright Law aside, Isn't revOnline a place to openly 'share' code with other users. In fact what other purpose does revOnline perform? Doesn't the idea of sharing code openly in a public space enough to declare it as public? Or is that presuming too much? Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From ambassador at fourthworld.com Wed Jul 31 15:44:18 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 31 Jul 2013 12:44:18 -0700 Subject: revOnline and Open Source In-Reply-To: References: Message-ID: <51F96912.5090609@fourthworld.com> Thomas McGrath III wrote: > Copyright Law aside, Isn't revOnline a place to openly 'share' code > with other users. In fact what other purpose does revOnline perform? > Doesn't the idea of sharing code openly in a public space enough to > declare it as public? Or is that presuming too much? Sharing code is sharing code, but it helps to define the terms under which it's shared. Otherwise we have no way to know if the intention was GPL, CC, MIT, public domain, or something else. -- 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 Wed Jul 31 15:51:36 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 31 Jul 2013 12:51:36 -0700 Subject: revOnline and Open Source In-Reply-To: <51F96912.5090609@fourthworld.com> References: <51F96912.5090609@fourthworld.com> Message-ID: <4267551367.20130731125136@ahsoftware.net> Richard- Wednesday, July 31, 2013, 12:44:18 PM, you wrote: > Sharing code is sharing code, but it helps to define the terms under > which it's shared. Otherwise we have no way to know if the intention > was GPL, CC, MIT, public domain, or something else. (Sticking my non-lawyer nose into this) if something isn't explicitly GPL then it's not GPL, right? And just to be clear about this: anything I have ever put on revOnline or the web forum is freely available for anyone to do whatever they want with, the only exceptions being the password-protected demos. -- -Mark Wieder mwieder at ahsoftware.net From lfredricks at proactive-intl.com Wed Jul 31 16:01:25 2013 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed, 31 Jul 2013 13:01:25 -0700 Subject: Bento is Dead, Jim! Port to LiveCode and Get 50% off Valentina DB ADK Message-ID: <0D69EA4D337D4C53B7D1DC4C0F2F3372@GATEWAY> http://www.valentina-db.com/blog/?p=1364 I think we can do way, way better with LiveCode + Valentina DB anyway than moving to FM :-) 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 Jul 31 16:10:42 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 31 Jul 2013 13:10:42 -0700 Subject: revOnline and Open Source In-Reply-To: <4267551367.20130731125136@ahsoftware.net> References: <4267551367.20130731125136@ahsoftware.net> Message-ID: <51F96F42.3040207@fourthworld.com> Mark Wieder wrote: > Richard- > > Wednesday, July 31, 2013, 12:44:18 PM, you wrote: > >> Sharing code is sharing code, but it helps to define the terms under >> which it's shared. Otherwise we have no way to know if the intention >> was GPL, CC, MIT, public domain, or something else. > > (Sticking my non-lawyer nose into this) if something isn't explicitly > GPL then it's not GPL, right? Yes, that's true of any terms: if you don't declare them, no one can know what they are. -- 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 Jul 31 16:23:12 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 31 Jul 2013 13:23:12 -0700 Subject: revOnline and Open Source In-Reply-To: <51F96912.5090609@fourthworld.com> References: <51F96912.5090609@fourthworld.com> Message-ID: On Wed, Jul 31, 2013 at 12:44 PM, Richard Gaskin wrote: > Sharing code is sharing code, but it helps to define the terms under which > it's shared. Otherwise we have no way to know if the intention was GPL, > CC, MIT, public domain, or something else. Have to admit I've always thought of revOnline stuff as freely available to anyone who wants to use with no strings attached and certainly no GPL requirements. However, seems like it would be a good idea for RunRev to publish the terms under which revOnline submissions are accepted so we don't all have to include our own t&cs. Pete lcSQL Software From ambassador at fourthworld.com Wed Jul 31 16:34:57 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 31 Jul 2013 13:34:57 -0700 Subject: revOnline and Open Source In-Reply-To: References: Message-ID: <51F974F1.1050300@fourthworld.com> Peter Haworth wrote: > However, seems like it would be a good idea for RunRev to publish the terms > under which revOnline submissions are accepted so we don't all have to > include our own t&cs. Personally, I very strongly prefer to be free to choose my own license for my work. There are specific implications for GPL, MIT, public domain, etc., and I like each for different projects. I fear it would greatly limit the range of goodies there if we were required to limit our uploads to those serving one license's goals. -- 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 Jul 31 16:48:37 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 31 Jul 2013 13:48:37 -0700 Subject: revOnline and Open Source In-Reply-To: <51F974F1.1050300@fourthworld.com> References: <51F974F1.1050300@fourthworld.com> Message-ID: On Wed, Jul 31, 2013 at 1:34 PM, Richard Gaskin wrote: > Personally, I very strongly prefer to be free to choose my own license for > my work. There are specific implications for GPL, MIT, public domain, > etc., and I like each for different projects. > > I fear it would greatly limit the range of goodies there if we were > required to limit our uploads to those serving one license's goals. > I guess I'd always assumed revOnline was for public domain, freely available, no strings attached code but sounds like that's not the case. Pete lcSQL Software From monte at sweattechnologies.com Wed Jul 31 18:19:31 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 1 Aug 2013 08:19:31 +1000 Subject: revOnline and Open Source In-Reply-To: <51F974F1.1050300@fourthworld.com> References: <51F974F1.1050300@fourthworld.com> Message-ID: On 01/08/2013, at 6:34 AM, Richard Gaskin wrote: > Personally, I very strongly prefer to be free to choose my own license for my work. There are specific implications for GPL, MIT, public domain, etc., and I like each for different projects. I've asked many times for the lists and forums to be declared CC0... nothing's happened yet. RevOnline should also be CC0 unless the author specifically identifies a license and the license terms should be visible in the interface before downloading the stack. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From monte at sweattechnologies.com Wed Jul 31 18:20:24 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 1 Aug 2013 08:20:24 +1000 Subject: revOnline and Open Source In-Reply-To: <51F91FCB.8020909@fourthworld.com> References: <51F91FCB.8020909@fourthworld.com> Message-ID: On 01/08/2013, at 12:31 AM, Richard Gaskin wrote: > GPL3 distinguishes "dynamic linking" as not affected, while "static linking" explicitly inherits GPL freedoms. I thought it was LGPL that made that distinction. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From pete at lcsql.com Wed Jul 31 19:47:15 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 31 Jul 2013 16:47:15 -0700 Subject: Open file with double click Message-ID: Is it possible to associate a file extension with a standalone application so the standalone runs when a user double clicks on a file with the extension? Multiple file extensions? This would be for all three desktop platforms. Pete lcSQL Software From m.schonewille at economy-x-talk.com Wed Jul 31 20:00:08 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 01 Aug 2013 02:00:08 +0200 Subject: Open file with double click In-Reply-To: References: Message-ID: <51F9A508.7020805@economy-x-talk.com> Hi Pete, Just a quick answer. You can set file associations for OSX in the OSX tab of the standalone application settings window. Installer Maker manages the file associations on Windows. I'm not sure how to do this in Linux, but I think double-clicking an unassociated file in Ubuntu would show a window with an option to choose an app. I think you can also set file associations in a .desktop file, but I'm not sure how this works. On all desktop platforms, you can use $1 to determine if a file was double-clicked to trigger the launch of the application. $1 contains the file path. You need to check out the relaunch message in the docs. Create a relaunch handler that doesn't return anything (or returns empty). You can also use the relaunch message to open a document on Windows. On Mac OS X, you'd use apple events if an app is running already. Again, I'm not sure how this works on Linux. It should be possible for a standalone to determine if a process is running already and somehow tell that process to open a file. (As soon as I figure this out for Linux, I'll add it to Installer Maker). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 8/1/2013 01:47, Peter Haworth wrote: > Is it possible to associate a file extension with a standalone application > so the standalone runs when a user double clicks on a file with the > extension? Multiple file extensions? This would be for all three desktop > platforms. > Pete > lcSQL Software From MikeKerner at roadrunner.com Wed Jul 31 20:05:18 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 31 Jul 2013 20:05:18 -0400 Subject: Open file with double click In-Reply-To: References: Message-ID: You as a developer, or you as a user? You as a user can just by right-clicking on the file you want to open, and then picking "Open With" (all three platforms). As a developer, see https://www.google.com/search?q=as+a+developer+how+do+I+get+my+file+types+associated+with+a+particular+application&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&channel=fflb On Wed, Jul 31, 2013 at 7:47 PM, Peter Haworth wrote: > Is it possible to associate a file extension with a standalone application > so the standalone runs when a user double clicks on a file with the > extension? Multiple file extensions? This would be for all three desktop > platforms. > 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 > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From dochawk at gmail.com Wed Jul 31 21:01:42 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 31 Jul 2013 18:01:42 -0700 Subject: revOnline and Open Source In-Reply-To: <963A3EE8-54DB-434D-A51B-F7050A54936F@economy-x-talk.com> References: <51F6AE64.10107@gmail.com> <1375278548647-4668171.post@n4.nabble.com> <963A3EE8-54DB-434D-A51B-F7050A54936F@economy-x-talk.com> Message-ID: On Wed, Jul 31, 2013 at 7:27 AM, Mark Schonewille wrote: > Yes, the license of the community version does infect executables built with it, >but not automatically. The author still has to include the license with the software >and if s/he doesn't do that, copright applies automatically and the author >would be violating LiveCode's open source license. Correct. I wrote part of that explanation, but deleted it as more than most would want. Specifically, the author of the piece would breach the license of LiveCode Community by distributing an executable without so licensing it and providing the source. Nonetheless, the executable could not be freely distributed by the user as the license to do so wouldn't exist. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Wed Jul 31 21:18:28 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 31 Jul 2013 18:18:28 -0700 Subject: Persistent LC server? Message-ID: <51F9B764.6050008@fourthworld.com> I've been toying with the idea of using one of my VPSes as a cache server, with a persistent LC Server instance there able to handle queries by returning array values (which is why it needs to be persistent). I can do this will enough with the GUI version of LC via sockets, but I'm not sure how to do this with the faceless LC Server. Have any of you done anything like this? -- 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 dochawk at gmail.com Wed Jul 31 21:31:04 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 31 Jul 2013 18:31:04 -0700 Subject: revOnline and Open Source In-Reply-To: <51F91FCB.8020909@fourthworld.com> References: <51F91FCB.8020909@fourthworld.com> Message-ID: On Wed, Jul 31, 2013 at 7:31 AM, Richard Gaskin wrote: > Dr. Hawkins wrote: > FWIW, the inventor of the GPL prefers "inherit" rather than "infect", since > the GPL is a choice authors can make and "infect" has negative connotations > that make that choice sound like an accident. An inheritance an also be disclaimed . . . As the author of the seminal Economic paper on the subject, I chose "viral" and "public" quite deliberately. > But this discussion raises a peripheral question: > > How does the GPL3 used by the Community Edition affect libraries? Compiled standalone stacks, or uncompiled? A standalone (or any executable) has code of the virally licensed compiler, and thus is bound by that license. As a lawyer, I don't *think* that the source would be necessarily bound if distributed as such. If you distributed just scripts that were tested in livecode, I don't think they would. If, OTOH, you distributed a .livecode file, I think you're probably back to a derivative work. I wouldn't bet my car for or against either of these, though.let alone my house (wait a minute; I like my car better than my house!). I also wouldn't release or contribute any code to anything under GPL3 (I have under GP2). The patent gotchas are just to risky. If I come up with any brilliant ideas for livecode, I'll either ship them off under MIT or public domain, and let someone else slap that license onto it. I know what the FSF says about licensing. I've also read the GPL in a couple of versions, and I'm not sure what the actual legal consequences are--I'm just sure they're *not* all what the FSF would like them to be and claims they are. I also don't use 6.x, and won't until it's stable enough; business need to depend upon what I'm writing. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Wed Jul 31 21:32:20 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 31 Jul 2013 18:32:20 -0700 Subject: revOnline and Open Source In-Reply-To: References: <51F91FCB.8020909@fourthworld.com> Message-ID: On Wed, Jul 31, 2013 at 12:15 PM, Thomas McGrath III wrote: > Copyright Law aside, Isn't revOnline a place to openly 'share' code with other users. >In fact what other purpose does revOnline perform? Doesn't the idea of sharing code >openly in a public space enough to declare it as public? Or is that presuming too much? It's presuming too much. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Wed Jul 31 21:50:20 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 31 Jul 2013 18:50:20 -0700 Subject: Open file with double click In-Reply-To: <51F9A508.7020805@economy-x-talk.com> References: <51F9A508.7020805@economy-x-talk.com> Message-ID: On Wed, Jul 31, 2013 at 5:00 PM, Mark Schonewille wrote: > I'm not sure how to do this in Linux, but I think double-clicking an > unassociated file in Ubuntu would show a window with an option to choose an > app. Actually, it wouldn't be specific to Linux or X, but to the window manager or whathaveyou in use. So KDE, Gnome, FVWM, and so forth could very well be different. (For that matter, I'm not sure that FVWM (my preference) could do this at all) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From monte at sweattechnologies.com Wed Jul 31 22:01:52 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 1 Aug 2013 12:01:52 +1000 Subject: revOnline and Open Source In-Reply-To: References: <51F91FCB.8020909@fourthworld.com> Message-ID: <4D2DBE84-D854-4B5B-B2B7-3233F2756453@sweattechnologies.com> On 01/08/2013, at 11:31 AM, "Dr. Hawkins" wrote: > If, OTOH, you > distributed a .livecode file, I think you're probably back to a > derivative work. Why? Are all images edited with GIMP derivative works? Are all MySQL databases derivative works? What about text files written with GPL software? Cheers Monte From revdev at pdslabs.net Wed Jul 31 22:40:06 2013 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 31 Jul 2013 19:40:06 -0700 Subject: Persistent LC server? In-Reply-To: <51F9B764.6050008@fourthworld.com> References: <51F9B764.6050008@fourthworld.com> Message-ID: <51F9CA86.9040100@pdslabs.net> So it would be a faceless long-running app, right? Sounds like some experimentation is needed to see what is possible. Seems like it could listen to a non-web port and respond to requests there. Do traditional DB calls go through the web server? If not (and maybe if so) you could possibly follow their model. Phil On 7/31/13 6:18 PM, Richard Gaskin wrote: > I've been toying with the idea of using one of my VPSes as a cache > server, with a persistent LC Server instance there able to handle > queries by returning array values (which is why it needs to be > persistent). > > I can do this will enough with the GUI version of LC via sockets, but > I'm not sure how to do this with the faceless LC Server. > > Have any of you done anything like this? > > -- > 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 dochawk at gmail.com Wed Jul 31 22:59:03 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 31 Jul 2013 19:59:03 -0700 Subject: revOnline and Open Source In-Reply-To: <4267551367.20130731125136@ahsoftware.net> References: <51F96912.5090609@fourthworld.com> <4267551367.20130731125136@ahsoftware.net> Message-ID: On Wed, Jul 31, 2013 at 12:51 PM, Mark Wieder wrote: > (Sticking my non-lawyer nose into this) if something isn't explicitly > GPL then it's not GPL, right? correct. If you don't license or transfer it, it's still completely copyrignted & protected. However, the act of putting it on there should create an implicit permission to *use* it (but not to modify & distribute, nor even to reidstribute) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Wed Jul 31 23:10:29 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 31 Jul 2013 20:10:29 -0700 Subject: revOnline and Open Source In-Reply-To: <4D2DBE84-D854-4B5B-B2B7-3233F2756453@sweattechnologies.com> References: <51F91FCB.8020909@fourthworld.com> <4D2DBE84-D854-4B5B-B2B7-3233F2756453@sweattechnologies.com> Message-ID: On Wed, Jul 31, 2013 at 7:01 PM, Monte Goulding wrote: > On 01/08/2013, at 11:31 AM, "Dr. Hawkins" wrote: > >> If, OTOH, you >> distributed a .livecode file, I think you're probably back to a >> derivative work. > > Why? Are all images edited with GIMP derivative works? Are all MySQL databases derivative >works? What about text files written with GPL software? Generally, for those examples, no. If I send a livecode script, it was made with an editor, but no parts of the editor are there. In a .livecode file,though, there are pieces written by the program instead of me: looking at mine, after a bunch of scipts, I see add_table follwed by gobbledygook, crevGeneral, gobbledygook, and so forth. Some numeric sequences making no sense, and so forth. It's including pieces of the program that created it, unlike a pure script, and is a derived work. A GIMP image, though, is just an image; a collection of dots & grids. An eps editor, on the other hand, would probably create derivative works, including bits of its own code. Similarly for mysql, you write code, which is from an editor, which doesn't include the mysql program. And to bring it all together, gcc is *not* gpl, but one of the many QGPL (quasi-gpl) licenses (so is linux). There is an explicit exception to the gcc license disclaiming copyright. Similarly, Linux & co. explicitly disclaim to allow non-GPL kernel modules. It roughly comes down to whether or not pieces of the virally licensed software end up as pieces of the new work. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Wed Jul 31 23:27:30 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 31 Jul 2013 20:27:30 -0700 Subject: revOnline and Open Source Message-ID: <51F9D5A2.2020504@fourthworld.com> Dr. Hawkins wrote: > On Wed, Jul 31, 2013 at 7:31 AM, Richard Gaskin wrote: >> Dr. Hawkins wrote: > >> FWIW, the inventor of the GPL prefers "inherit" rather than "infect", since >> the GPL is a choice authors can make and "infect" has negative connotations >> that make that choice sound like an accident. > > An inheritance an also be disclaimed . . . > > As the author of the seminal Economic paper on the subject, I chose > "viral" and "public" quite deliberately. That's certainly your right, or anyone's right, regardless of any academic credentials. Just the same, terms like "viral" and "infect" are unnecessarily provocative. > I also wouldn't release or contribute any code to anything under GPL3 > (I have under GP2). The patent gotchas are just to risky. What are your patent concerns? -- 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 Wed Jul 31 23:29:23 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 1 Aug 2013 13:29:23 +1000 Subject: revOnline and Open Source In-Reply-To: References: <51F91FCB.8020909@fourthworld.com> <4D2DBE84-D854-4B5B-B2B7-3233F2756453@sweattechnologies.com> Message-ID: If you look at the code that writes the LiveCode file to disk you will see that it's just saving object properties. It's a binary file format which is why some of it will look like gobbledygook. Cheers -- M E R Goulding Software development services mergExt - There's an external for that! On 01/08/2013, at 1:10 PM, "Dr. Hawkins" wrote: > In a .livecode file,though, there are pieces written by the program > instead of me: looking at mine, after a bunch of scipts, I see > add_table follwed by gobbledygook, crevGeneral, gobbledygook, and so > forth. Some numeric sequences making no sense, and so forth. From ambassador at fourthworld.com Wed Jul 31 23:34:16 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 31 Jul 2013 20:34:16 -0700 Subject: Persistent LC server? Message-ID: <51F9D738.7080009@fourthworld.com> Phil Davis wrote: > So it would be a faceless long-running app, right? Sounds like some > experimentation is needed to see what is possible. Seems like it could > listen to a non-web port and respond to requests there. Do traditional > DB calls go through the web server? If not (and maybe if so) you could > possibly follow their model. They go through the Web server when the developer cares about security. :) The trick here is that LC Server is designed to run as a CGI; that is, the process is born, lives, and dies in the time it takes to satisfy a request. So what I need to work out is how to launch it and have it sit in a loop waiting for communications over a given port. Probably doable, but would be nice if someone had already worked out the gotchas. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Wed Jul 31 23:42:02 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 31 Jul 2013 20:42:02 -0700 Subject: revOnline and Open Source Message-ID: <51F9D90A.5040604@fourthworld.com> Monte Goulding wrote: > On 01/08/2013, at 12:31 AM, Richard Gaskin wrote: > >> GPL3 distinguishes "dynamic linking" as not affected, while "static linking" explicitly inherits GPL freedoms. > > I thought it was LGPL that made that distinction. On further review, I believe you're right. I got hung up on the phrase "dynamically linked", having glossed over the rest of this clause from Section 1 of GPL3: The ?Corresponding Source? for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. That last sentence seems less about whether it's statically or dynamically linked, and more appropriately (it seems to me) about the degree to which such files are essential to the core functionality of the work. Thanks for prompting my re-read (so much falls out of one's head after a few days in Hawaii ). -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com