From irog at mac.com Mon Oct 1 00:07:18 2012 From: irog at mac.com (Roger Guay) Date: Sun, 30 Sep 2012 21:07:18 -0700 Subject: [OT] What does Richmond do with Livecode? In-Reply-To: References: Message-ID: <087B9474-2BB7-44F2-9305-B33F0629020C@mac.com> I have this idea for people who hate Facebook . . . sort of like an anti-Facebook. I call it ButtBook . . . for the anti-social. I'm working on it. Any ideas to contribute? Cheers, Roger On Sep 30, 2012, at 7:48 PM, use-livecode-request at lists.runrev.com wrote: > Message: 29 > Date: Sun, 30 Sep 2012 21:43:10 -0500 > From: "J. Landman Gay" > To: How to use LiveCode > Subject: Re: [OT] What does Richmond do with Livecode? > Message-ID: <5069033E.8000109 at hyperactivesw.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 9/30/12 8:57 PM, Jeff Reynolds wrote: >> Jacquiline, >> >> so glad to hear you are one of the unsocial out there, makes me feel in good company! > > Hey, we could start an online club... > > :) > >> >> jeff >> >> >> >> On Sep 30, 2012, at 6:14 PM, use-livecode-request at lists.runrev.com wrote: >> >>> Those of us who do not want to be involved with Facebook for any reason >>> will never know what he did. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 warren at warrensweb.us Mon Oct 1 00:20:39 2012 From: warren at warrensweb.us (Warren Samples) Date: Sun, 30 Sep 2012 23:20:39 -0500 Subject: Storing location for a preferences file in a standalone stack? In-Reply-To: References: <50689A7B.8000006@hyperactivesw.com> <3F635F67-6AB1-497A-873E-5B1D611D8C02@major.on-rev.com> Message-ID: <50691A17.1000806@warrensweb.us> On 09/30/2012 10:35 PM, Andre Garzia wrote: > Unless the person on the keyboard has an administrator level access or > password at hand, then you will not be able to write anywhere outside that > persons folder.Your unpriviledged user can't write to /Library or /System, > only the super user can. Does /Users/Shared still exist? Shouldn't that be usable for shared preferences? If this still exists and is useable as in the past, a single preferences stack in this location could be used to store individual personal preferences for multiple users if users are logging into the app, using a conditional, and global prefs if needed. Warren From jacque at hyperactivesw.com Mon Oct 1 01:37:38 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 01 Oct 2012 00:37:38 -0500 Subject: [OT] What does Richmond do with Livecode? In-Reply-To: <087B9474-2BB7-44F2-9305-B33F0629020C@mac.com> References: <087B9474-2BB7-44F2-9305-B33F0629020C@mac.com> Message-ID: <50692C22.8010501@hyperactivesw.com> On 9/30/12 11:07 PM, Roger Guay wrote: > I have this idea for people who hate Facebook . . . sort of like an > anti-Facebook. I call it ButtBook . . . for the anti-social. I'm > working on it. Any ideas to contribute? Buy a photo copier? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From admin at FlexibleLearning.com Mon Oct 1 03:47:19 2012 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Mon, 1 Oct 2012 08:47:19 +0100 Subject: [OT] What does Richmond do with Livecode? In-Reply-To: Message-ID: Add me to the club of non-members. :) Hugh Senior FLCo On 9/30/12 8:57 PM, Jeff Reynolds wrote: > Jacquiline, > > so glad to hear you are one of the unsocial out there, makes me feel in good company! Hey, we could start an online club... :) > jeff > > > On Sep 30, 2012, at 6:14 PM, use-livecode-request at lists.runrev.com wrote: > >> Those of us who do not want to be involved with Facebook for any reason >> will never know what he did. From klaus at major.on-rev.com Mon Oct 1 04:59:40 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 1 Oct 2012 10:59:40 +0200 Subject: Storing location for a preferences file in a standalone stack? In-Reply-To: References: <50689A7B.8000006@hyperactivesw.com> <3F635F67-6AB1-497A-873E-5B1D611D8C02@major.on-rev.com> Message-ID: Hi Andre, Am 30.09.2012 um 22:02 schrieb Andre Garzia : >> This works on the Mac: >> specialfolderpath("asup") -> "~/Library/Application Support >> > Klaus, > > specialfolderpath("asup") returns the system wide Application Support > folder and not the users Application Support folder. If you are using > specialfolderpath("asup") then you will need a "put '~' before" it. oops, yes, my fault :-/ Sure you are correct! > Cheers > andre Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From alex at tweedly.net Mon Oct 1 06:49:14 2012 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 01 Oct 2012 11:49:14 +0100 Subject: Bug or just something you can't do ? In-Reply-To: References: <5068CDFD.1010602@tweedly.net> <5068D289.7020302@fourthworld.com> Message-ID: <5069752A.8030104@tweedly.net> Thanks Mark - that's a great solution for a one-liner, or even for a 2- or 3- liner, but not practical for a real=life, multi-line handler. (And as a purist I'd mention that it implements call-by-name not call-by-reference, to the sound of Algol reference papers 'thunk'ing onto my desk :-) See the result of > on mouseUp > local X, J > put 1 into J > put 1 into x[1] > put 7 into X[2] > inc "x[J]", "J" // use quotes instead of @ > put x[1] && x[2] > end mouseUp > > on inc x, t > local myContext > > put line -1 of the executionContexts into myContext > set the debugContext to line -2 of the executionContexts > debugDo ("add 1 to" && t) > debugDo ("add 1 to" && x) > set the debugContext to myContext > end inc call-by-ref would have given "2 7" but here we get "1 8" Thanks again -- Alex. On 01/10/2012 00:32, Mark Schonewille wrote: > This: > > on foo > put 1 into x[1 > inc "x[1]" // use quotes instead of @ > put x[1] > end foo > > on inc x > put line -1 of the executionContexts into myContext > set the debugContext to line -2 of the executionContexts > debugDo ("add 1 to"&& x) > set the debugContext to myContext > end inc > > -- > 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 > > >> So we have a question: if enough folks find this sort of suggested syntax useful, by what syntactic means could we tell the interpreter not to evaluate the argument? >> >> -- >> 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 coiin at verizon.net Mon Oct 1 08:31:36 2012 From: coiin at verizon.net (Colin Holgate) Date: Mon, 1 Oct 2012 08:31:36 -0400 Subject: [OT] What does Richmond do with Livecode? In-Reply-To: <087B9474-2BB7-44F2-9305-B33F0629020C@mac.com> References: <087B9474-2BB7-44F2-9305-B33F0629020C@mac.com> Message-ID: Call it "The Buttbook" at first, then drop the "The" after talking to Justin Timberlake. Call the movie version of the story "Antisocial Network". On Oct 1, 2012, at 12:07 AM, Roger Guay wrote: > >I have this idea for people who hate Facebook . . . sort of like an anti-Facebook. I call it ButtBook . . . for the anti-social. I'm working on it. Any ideas to contribute? From skip at magicgate.com Mon Oct 1 08:57:24 2012 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Mon, 1 Oct 2012 08:57:24 -0400 Subject: [OT] What does Richmond do with Livecode? In-Reply-To: References: <087B9474-2BB7-44F2-9305-B33F0629020C@mac.com> Message-ID: I just downloaded the demo software and tested it on a Windows 7 machine. A couple of observations and questions.... For some reason when you launch it under Win7, it takes forever for the software to appear. I see it sitting in the process section of the Windows task manager for a good minute before it shows it's face. Second, it would be really nice to see the software wrapped up into some type of an installer. That leads me to my question: Is there a way in LC, or the installer method that I mentioned above, to install the required fonts for the end user. It just seems like a step that is not needed for the end user. SKIP On Mon, Oct 1, 2012 at 8:31 AM, Colin Holgate wrote: > Call it "The Buttbook" at first, then drop the "The" after talking to Justin Timberlake. Call the movie version of the story "Antisocial Network". > > > On Oct 1, 2012, at 12:07 AM, Roger Guay wrote: > >> >I have this idea for people who hate Facebook . . . sort of like an anti-Facebook. I call it ButtBook . . . for the anti-social. I'm working on it. Any ideas to contribute? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Oct 1 09:17:17 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 01 Oct 2012 16:17:17 +0300 Subject: [OT] What does Richmond do with Livecode? In-Reply-To: References: <087B9474-2BB7-44F2-9305-B33F0629020C@mac.com> Message-ID: <506997DD.3020703@gmail.com> On 10/01/2012 03:57 PM, Magicgate Software - Skip Kimpel wrote: > I just downloaded the demo software and tested it on a Windows 7 > machine. A couple of observations and questions.... For some reason > when you launch it under Win7, it takes forever for the software to > appear. That is pretty alarming. Unfortunately I do not, right now, have a machine running Windows 7 to test on. > I see it sitting in the process section of the Windows task > manager for a good minute before it shows it's face. Second, it would > be really nice to see the software wrapped up into some type of an > installer. > > That leads me to my question: Is there a way in LC, or the installer > method that I mentioned above, to install the required fonts for the > end user. I doubt whether LC can do that by itself. > It just seems like a step that is not needed for the end > user. > > SKIP > > From guglielmo at braguglia.ch Mon Oct 1 09:30:21 2012 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Mon, 01 Oct 2012 15:30:21 +0200 Subject: [OT] What does Richmond do with Livecode? In-Reply-To: <506997DD.3020703@gmail.com> References: <087B9474-2BB7-44F2-9305-B33F0629020C@mac.com> <506997DD.3020703@gmail.com> Message-ID: <50699AED.4040407@braguglia.ch> Hi Richmond, get a look to Mark installer plugin for LiveCode ... here : http://www3.economy-x-talk.com/file.php?node=installer-maker-for-lc Probably can do all, including installing fonts ;-) Guglielmo On 01.10.2012 15:17, Richmond wrote: > On 10/01/2012 03:57 PM, Magicgate Software - Skip Kimpel wrote: >> I just downloaded the demo software and tested it on a Windows 7 >> machine. A couple of observations and questions.... For some reason >> when you launch it under Win7, it takes forever for the software to >> appear. > > That is pretty alarming. Unfortunately I do not, right now, have a > machine running Windows 7 to test on. > >> I see it sitting in the process section of the Windows task >> manager for a good minute before it shows it's face. Second, it would >> be really nice to see the software wrapped up into some type of an >> installer. >> >> That leads me to my question: Is there a way in LC, or the installer >> method that I mentioned above, to install the required fonts for the >> end user. > > I doubt whether LC can do that by itself. > >> It just seems like a step that is not needed for the end >> user. >> >> SKIP >> >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From skip at magicgate.com Mon Oct 1 10:00:14 2012 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Mon, 1 Oct 2012 10:00:14 -0400 Subject: [OT] What does Richmond do with Livecode? In-Reply-To: <506997DD.3020703@gmail.com> References: <087B9474-2BB7-44F2-9305-B33F0629020C@mac.com> <506997DD.3020703@gmail.com> Message-ID: Richmond, just curious, which version of LC did you compile your executable with? SKIP On Mon, Oct 1, 2012 at 9:17 AM, Richmond wrote: > On 10/01/2012 03:57 PM, Magicgate Software - Skip Kimpel wrote: >> >> I just downloaded the demo software and tested it on a Windows 7 >> machine. A couple of observations and questions.... For some reason >> when you launch it under Win7, it takes forever for the software to >> appear. > > > That is pretty alarming. Unfortunately I do not, right now, have a machine > running Windows 7 to test on. > > >> I see it sitting in the process section of the Windows task >> manager for a good minute before it shows it's face. Second, it would >> be really nice to see the software wrapped up into some type of an >> installer. >> >> That leads me to my question: Is there a way in LC, or the installer >> method that I mentioned above, to install the required fonts for the >> end user. > > > I doubt whether LC can do that by itself. > > >> It just seems like a step that is not needed for the end >> user. >> >> SKIP >> >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Mon Oct 1 10:14:16 2012 From: livfoss at mac.com (Graham Samuel) Date: Mon, 01 Oct 2012 16:14:16 +0200 Subject: iOS Keyboard input question Message-ID: I'm working on an iOS app where keyboard input is allowed for a set of fields shown on the screen of the device: some are still visible when the keyboard comes up, i.e. not hidden by the keyboard - this is by design. These single-line fields are locked, with TraversalOn true, since in iOS you can't type directly into a field but have to do it via the system keyboard. What the user does is to touch a field which he/she wants to update. This triggers a data entry sequence starting with a 'focusIn' handler which brings up the keyboard and a particular screen area (a pseudo-field really) to type into, as per the current LC iOS documentation. After input, the user touches 'Done' and this triggers a 'inputEndEditing' handler which allows my script to look at the text which has been input, verify it, put it away in the original field which started the sequence, and remove the keyboard by making it invisible. So far so good. However, what I find a typical user wants to do is to bypass the 'Done' key after doing the initial input and instead simply touch another field that needs updating and is not obscured by the keyboard. This, I find, does fire 'focusIn', but the keyboard display goes wrong. What I want to happen is for my 'inputEndEditing' actions to take place normally for the initial field, including (momentary) closing of the keyboard, followed immediately by the 'normal' action for the second field to be touched. (I need the keyboard to be replaced between actions since sometimes I want a text keyboard and sometimes a numeric one.) I have tried detecting when the second touch takes place and then sending or calling 'inputEndEditing' at that point, but I can't get this to work. Possibly this is because the whole script is taking place within a behavior which means I don't know where the 'send' should go to retain local variables. I am trying different solutions and may crack it on my own, but I'd be grateful for any advice about how anyone else has tackled this. TIA Graham From james at thehales.id.au Mon Oct 1 11:21:49 2012 From: james at thehales.id.au (James Hale) Date: Tue, 2 Oct 2012 01:21:49 +1000 Subject: Datagrid's scroll bar thumb moves but data doesn't. Message-ID: <4E116BAF-52B1-4845-8AFC-183788EDA286@thehales.id.au> I have a datagrid form that I have filled from an array using the GetDataForLine callback. When I call my handler to populate the DG it does so fine...except... The data visible in the DG group appears but is frozen. There is a vertical scrollbar present as I have more records than can be displayed. I can "scroll" within the DG and the scrollbar thumb moves up and down as expected. The visible data however just sits there, frozen. Following the example stack from the Livecode site I have set a local variable to be the "ID" of the record line in question and sure enough Double clicking on a row returns the ID of the row, as expected. So it all seems to work except I can't scroll the data past what is initially shown. I have 222 lines of data but only the first 10 show. I don't even know,where to look. Any ideas would be greatly appreciated. James From bobs at twft.com Mon Oct 1 11:57:17 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Oct 2012 08:57:17 -0700 Subject: resizing datagrids on mobile In-Reply-To: <7EEFC4E1-7583-475E-BD30-B7F3DCCDE13D@sweattechnologies.com> References: <7EEFC4E1-7583-475E-BD30-B7F3DCCDE13D@sweattechnologies.com> Message-ID: <35A19C7D-1B55-484D-9B07-6532075A2264@twft.com> Whenever resizing, may I humbly suggest starting with a default set of sizes, and always resizing from that instead of resizing from a previous resize. Rounding math is an ugly beast. Bob On Sep 30, 2012, at 1:52 PM, Monte Goulding wrote: > Hi Andre > > It's not that complicated. Just resize everything on the template and reset the datagrid. Any use of pixels in your layout script needs to be altered to add a scaling factor but other than that your good. You also need to change the line height if you have a fixed height form. I haven't tested this with tables yet.... Not sure if I'd use a table on a mobile anyway. > > I'm considering adding this to mergDataGridScroller. I recently added (haven't released yet) bouncing which is cool. > > Cheers > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > > On 01/10/2012, at 2:39 AM, Andre Garzia wrote: > >> Hey Folks, >> >> Have anyone here tried resizing a datagrid on mobile platforms? Resizing >> the rect of the grid is easy but how do we resize cell size and textsize? >> At this moment I am rolling my poor version of a datagrid like table >> because I can't think of a way to resize the inner controls of the datagrid. >> >> =/ >> >> -- >> http://www.andregarzia.com -- All We Do Is Code. >> http://fon.nu -- minimalist url shortening service. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Mon Oct 1 11:59:05 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 1 Oct 2012 08:59:05 -0700 Subject: mysql question In-Reply-To: <5069008A.9030800@hyperactivesw.com> References: <1349035880377-4655596.post@n4.nabble.com> <9379BF40-FEC4-4F0A-BF59-83C6ABBE44B0@economy-x-talk.com> <1349037570802-4655598.post@n4.nabble.com> <0B82564B-13DD-45BB-AB9C-72F2F9ED00D1@economy-x-talk.com> <1349043802748-4655610.post@n4.nabble.com> <4F7F4C79-BC89-46ED-87C6-EF5F315A5FCD@economy-x-talk.com> <5069008A.9030800@hyperactivesw.com> Message-ID: Very strange. I can't find anything in my email config that would cause this. I'll start paying more attention to the "To" and "CC" fields to try and track down what's happening. Pete lcSQL Software On Sun, Sep 30, 2012 at 7:31 PM, J. Landman Gay wrote: > On 9/30/12 6:29 PM, Peter Haworth wrote: > > Maybe there's something weird in my gMail account - is anyone else >> getting >> my messages twice? >> > > Yes, some of them, but not all. The one Mark just referred to came to me > twice. On the other hand, the one I'm replying to now only came in once. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From bobs at twft.com Mon Oct 1 12:00:12 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Oct 2012 09:00:12 -0700 Subject: resizing datagrids on mobile In-Reply-To: References: <7EEFC4E1-7583-475E-BD30-B7F3DCCDE13D@sweattechnologies.com> Message-ID: <1DF9C6E0-38B6-474F-AC34-99B434A2294E@twft.com> Why it seems like just yesterday, I was saying... "This datagrid is nice. It's better than what we had. But I was hoping for something that looked and acted like a spreadsheet table..." . What were you saying? Bob On Sep 30, 2012, at 2:54 PM, Andre Garzia wrote: > Hi Monte, > > I think we need real tables, not the datagrid. Even though the datagrid is > a really impressive proof of what can be done with LiveCode alone, it is > really hard to use some times. > > The whole business of resizing everything, recalculating font sizes and > text heights is getting on my nerves. :-) > > From littlejamesw at mac.com Mon Oct 1 12:03:52 2012 From: littlejamesw at mac.com (Jim Little) Date: Mon, 01 Oct 2012 09:03:52 -0700 Subject: Would anyone mind.. In-Reply-To: References: Message-ID: <8017A228-604E-4C81-82DB-E4AD0837AD4B@mac.com> Hi Mike, Thank you for contributing this plugin to the community. I've tried it out this morning and it worked flawlessly. I like your UI as it is ? simple and intuitive. The code is nicely documented. Thanks again, Jim Little On Sep 30, 2012, at 6:52 PM, Mike Bonner wrote: > Would anyone mind checking over a stack for me? I've come to the > conclusion that I just don't have the energy for a real project (plus with > my design skills its pretty much out of my reach) but I do think there are > some useful aspects to the thing as it sits right now. Unfortunately my > other efforts to extend it have.. er.. How to put this politely. Ok > they've sucked. > > As it sits, the stack will track the mainstacks that are open, filtered > based on a list of filters in a field. (to eliminate untitled mainstacks > and rev stacks from the list) The list should auto update when changes are > made (thanks to pete, thanks pete!) > It also maintains a list of all stacks currently backed up. The backups are > stored in an array in a property of the stack. > > What its good for: > Want to take a snapshot of a mainstack and all of its substacks that are in > memory? (They don't have to be saved, and even if they are, the version is > memory is what will be backed up) select from the list and click backup. > The stacks are added to the array of backed up stacks, and the plugin > stack saves itself. > > If you took a snapshot of a stack hierarchy and then manage to break the > stack you're working on, you can then recover the snapshot and look at the > code of the recovered copy along side the main working stack. If a stack is > with an identical name is already in memory the recovered stacks are named > "copy of thestackname" so there is no worry about the "that stack is > already in memory" message. > > Want to revert to the snapshot? Just close the stacks you wish to dump, > then either rename the "copy of.." or close the misnamed stacks and then > recover them again. They'll pop back out with the correct name as long as a > stack name is not already in use. If the destroystack property is not set > for your stacks this means forcibly removing them from memory. > > Thats about it. Why am I blabbing all this here? Because someone (with a > better grasp of design and structure for this sort of thing, AKA not me) > could easily convert the method in to a cvs. The sheer speed at which a > stack and its substacks can be grabbed this way is amazing, So, anyone and > everyone is welcome to look it over, incorporate any pieces and/or parts > into different projects, mangle it, whatever. > > The current version of the stack can be found at > https://dl.dropbox.com/u/11957935/mdbRevisionPlugin.livecode The automagic > stack updates won't work unless the stack script is inserted into front. > The scripts are documented, and there is a test stack "saved" as a backup > in a property of the stack. the test stack has a field with another short > description of how things work. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Oct 1 12:05:35 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Oct 2012 09:05:35 -0700 Subject: resizing datagrids on mobile In-Reply-To: <5068C452.1070508@fourthworld.com> References: <5068C452.1070508@fourthworld.com> Message-ID: <5C1A1480-9981-4F2F-8CED-45E86A4C2909@twft.com> We have always had that. Simply include in your array the data you want hidden, but don't include the column in the column definition. access the hidden data from the array. put "This is a test" into myArray[1]["column 1"] put "I'm hidden" into myArray[1]["column 2"] set the dgprop["columns"] of group "myDatagrid" to "column 1" set the dgData of group "myDatagrid" to myArray Bob On Sep 30, 2012, at 3:14 PM, Richard Gaskin wrote: > But for simple lists, unless you're displaying financial data the native field object works great, better now in v5.5 than ever before since we now have zero-width columns so we can include things like record IDs without having to show those to the user. From richmondmathewson at gmail.com Mon Oct 1 12:09:02 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 01 Oct 2012 19:09:02 +0300 Subject: [OT] What does Richmond do with Livecode? In-Reply-To: References: <087B9474-2BB7-44F2-9305-B33F0629020C@mac.com> <506997DD.3020703@gmail.com> Message-ID: <5069C01E.90209@gmail.com> On 10/01/2012 05:00 PM, Magicgate Software - Skip Kimpel wrote: > Richmond, just curious, which version of LC did you compile your > executable with? > > SKIP > > 4.5 From bobs at twft.com Mon Oct 1 12:11:54 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Oct 2012 09:11:54 -0700 Subject: "answer folder" ignores ~/Library In-Reply-To: <506901E0.7010603@hyperactivesw.com> References: <506901E0.7010603@hyperactivesw.com> Message-ID: <63CEF5CE-AA03-402F-ACE7-C639C750E7A4@twft.com> In the past when Apple did something that raised people's eyebrows, almost always we found that there was some command or preference that would make it work like we wanted. Not this time. And this change is so pervasive, so fundamental in it's aspect and broad in it's scope, I cannot help thinking that there is a crazed developer genius at Apple that Steve Jobs kept locked up, but has now been let loose and is mind controlling the decision makers there. But seriously, doesn't it feel like the guy who used to sit in the UI interface meetings and say, "That is a really bad idea" has retired? Bob On Sep 30, 2012, at 7:37 PM, J. Landman Gay wrote: >> Is this behavior correct? > > In OS X Lion and above, Apple has decided that mere mortals should not access the Library folder(s) and has hidden them away. They no longer appear in the Finder sidebar or menus. You need to know secret commands and actions to show the Library folders. > > In Snow Leopard and below, your users will be able to see ~/Library in both Finder and standard file dialogs. From rdimola at evergreeninfo.net Mon Oct 1 12:27:12 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 1 Oct 2012 12:27:12 -0400 Subject: connecting to MySql In-Reply-To: <04D458C6-A0A8-41D2-AE83-8F64A3B06718@economy-x-talk.com> References: <1348891177408-4655547.post@n4.nabble.com> <04D458C6-A0A8-41D2-AE83-8F64A3B06718@economy-x-talk.com> Message-ID: <003c01cd9ff1$9d0508e0$d70f1aa0$@net> I connect directly to a MySql db using my account on the on-rev.com server and have had no problems. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mark Schonewille Sent: Saturday, September 29, 2012 2:05 AM To: How to use LiveCode Subject: Re: connecting to mysql Hi Mark, What made you think that you could use the RunRev server to test your own MySQL scripts? Have you got any documentation from RunRev about this? Usually, web hosting companies don't allow remote connections. You need a script on your server as a layer between LiveCode and MySQL, which is usually written in PHP or ASP but could also be a LiveCode server script or a CGI script. Such a script handles URL's or web forms, which are sent to the server with the POST or GET method. You can connect to it from within LiveCode using put/get URL or post to URL commands. -- 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 On 29 sep 2012, at 05:59, Mark Smith wrote: > Hi, I'm looking for a test site I could use to test some code. I've > got the following working for a localhost config but am getting an > error connecting to the remote host at www.runrev.com. Does anyone > have another remote site I could test this with? > > on mouseUp > -- use a global variable to hold the connection ID so other scripts can > use it > global gConnectionID > -- set up the connection parameters - edit these to suit your database > -- put "www.runrev.com" into tDatabaseAddress > -- put "runrev_test" into tDatabaseName > -- put "example" into tDatabaseUser > -- put "example" into tDatabasePassword > put "localhost" into tDatabaseAddress > put "learnsql" into tDatabaseName > put "root" into tDatabaseUser > put "root" into tDatabasePassword > -- connect to the database > put revOpenDatabase("MySQL", tDatabaseAddress, tDatabaseName, > tDatabaseUser, tDatabasePassword) into tResult > -- check if it worked and display an error message if it didn't > -- & set the connection ID global > if tResult is a number then > put tResult into gConnectionID > answer info "Connected to the database." & cr & > "Connection ID = " & gConnectionID > else > put empty into gConnectionID > answer error "Unable to connect to the database:" & cr & > tResult > end if > end mouseUp > > > Also, if your site uses port numbers I'd like to try that as well with > something like this code: > > revOpenDatabase ("mysql",host[:port], databaseName, [userName], > [password], [useSSL], [socket], [timeout], [autoReconnect]) > > BTW, the error I am getting at www.runrev.com is Host > 'wnpgmb014uw-ad04-17-21.dynamic.mtsallstream.net' is not allowed to > connect to this MySQL server > > Thanks > > -- Mark _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Mon Oct 1 12:27:58 2012 From: coiin at verizon.net (Colin Holgate) Date: Mon, 1 Oct 2012 12:27:58 -0400 Subject: "answer folder" ignores ~/Library In-Reply-To: <63CEF5CE-AA03-402F-ACE7-C639C750E7A4@twft.com> References: <506901E0.7010603@hyperactivesw.com> <63CEF5CE-AA03-402F-ACE7-C639C750E7A4@twft.com> Message-ID: Although it is odd why the Library folder has been hidden, you can still use the Go to Folder? menu item in Finder's Go menu, and enter this: ~/Library/ In LiveCode you can do this: answer folder "Look, the Library" with "~/Library/" From bobs at twft.com Mon Oct 1 12:30:29 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Oct 2012 09:30:29 -0700 Subject: Storing location for a preferences file in a standalone stack? In-Reply-To: References: <50689A7B.8000006@hyperactivesw.com> <3F635F67-6AB1-497A-873E-5B1D611D8C02@major.on-rev.com> Message-ID: <46F3CD11-459C-44FC-96AA-BC76A61BC48F@twft.com> This is true, however, other processes can elevate their privileges by authenticating through a user/password dialog. Installers do this all the time. What he is really asking for is a way to invoke the authentication dialog built into the system, and then apply those privileges to his LC app. This has been discussed before. The only way to get the dialog is through an API in the SDK from Apple, and LC does not have access to that. There are forum posts you can search for talking about ways to get the terminal to do it, but I do not think that the privileges will apply to the LC app. This is really something I would like to see as an enhancement to LC, especially given the current state of OS X and Windows. We need a way to prompt the user for privilege escalation. I believe there is a feature request in the QA about this. Vote it up if you find it. Bob On Sep 30, 2012, at 8:35 PM, Andre Garzia wrote: > If the assistant has its own user on the machine and that user has no > priviledge outside its home folder than you will not be able to write to a > system wide location no matter what you try. > > Unless the person on the keyboard has an administrator level access or > password at hand, then you will not be able to write anywhere outside that > persons folder.Your unpriviledged user can't write to /Library or /System, > only the super user can. From bobs at twft.com Mon Oct 1 12:33:21 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Oct 2012 09:33:21 -0700 Subject: Storing location for a preferences file in a standalone stack? In-Reply-To: <50691A17.1000806@warrensweb.us> References: <50689A7B.8000006@hyperactivesw.com> <3F635F67-6AB1-497A-873E-5B1D611D8C02@major.on-rev.com> <50691A17.1000806@warrensweb.us> Message-ID: <508ECA5C-CE53-4361-973F-4EC429A7AD48@twft.com> IMHO this is just kicking the security can down the road. If all developers are required to keep their global preferences here, then instead of all the app preferences being accessible from one now restricted location, they are all available in another. What has really changed? This is what I do not get about how Apple went about this. Bob On Sep 30, 2012, at 9:20 PM, Warren Samples wrote: > On 09/30/2012 10:35 PM, Andre Garzia wrote: >> Unless the person on the keyboard has an administrator level access or >> password at hand, then you will not be able to write anywhere outside that >> persons folder.Your unpriviledged user can't write to /Library or /System, >> only the super user can. > > > Does /Users/Shared still exist? Shouldn't that be usable for shared preferences? If this still exists and is useable as in the past, a single preferences stack in this location could be used to store individual personal preferences for multiple users if users are logging into the app, using a conditional, and global prefs if needed. > > Warren > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Oct 1 12:35:13 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 1 Oct 2012 12:35:13 -0400 Subject: [OT] What does Richmond do with Livecode? In-Reply-To: <50689D41.3040108@hyperactivesw.com> References: <50688FBD.5010905@gmail.com> <50689D41.3040108@hyperactivesw.com> Message-ID: <003d01cd9ff2$bb703f10$3250bd30$@net> Jacqueline, THANK YOU! I'm a member of the non-Facebook crowd. Call me an old foggie. See the "South Park" Facebook episode. Very funny and very true. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Sunday, September 30, 2012 3:28 PM To: How to use LiveCode Subject: Re: [OT] What does Richmond do with Livecode? On 9/30/12 1:39 PM, Roger Eller wrote: > On Sun, Sep 30, 2012 at 2:30 PM, Richmond wrote: > >> Possibly the best way to find out is to subscribe to the Facebook page: >> >> http://www.facebook.com/devawriter >> >> if you already have a Facebook account search for 'Devawriter' and >> send a friend request. >> >> Richmond. > > > I saw your announcement. CONGRATULATIONS Richmond! Those of us who do not want to be involved with Facebook for any reason will never know what he did. I understand that everyone in the world is on FB except the handful of us who don't care to post their private life in public places. I have now seen several promotions by some companies that only give away free product or coupons if you "like" them on FB. I am annoyed. The US has a law that forbids sweepstakes from requiring a purchase, but there is no law that says you can't limit your giveaways to a particular social media outlet. I was eligible for some free items according to all the stated rules except for the fact that I refuse to use FB. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Oct 1 12:38:51 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 01 Oct 2012 09:38:51 -0700 Subject: "answer folder" ignores ~/Library In-Reply-To: <63CEF5CE-AA03-402F-ACE7-C639C750E7A4@twft.com> References: <63CEF5CE-AA03-402F-ACE7-C639C750E7A4@twft.com> Message-ID: <5069C71B.8080303@fourthworld.com> Bob Sneidar wrote: > In the past when Apple did something that raised people's eyebrows, > almost always we found that there was some command or preference that > would make it work like we wanted. Not this time. Most of the money I and my clients make from LiveCode is from sales to customers running Windows, which isn't surprising since MS still has about 87% of the desktop market. For most of those years I had the smug satisfaction of making our Windows-funded software on Mac. In LiveCode this isn't hard to do as long as you're willing to spend some time now and then testing and tweaking on each of the target OSes you're deploying to. With LiveCode you can develop on whichever you OS you prefer, and as long as OS X was a flexible and faithful servant it was where I was having the most fun, so it's where I did most of my development. But as you noted, in recent versions OS X has become more strict, less able to work the way I want it to work and more of it expecting me to conform to its expectations. When people ask me why I use Ubuntu as much as I do these days, this is why: With Ubuntu I have the flexibility I used to enjoy with OS X, and more so. I can set it up however I like and it conforms to my wishes, not the other way around. So I'm still making most of my money from Windows, I've just changed which minority OS I use to develop for Windows on. :) Whether the OS I'm using is also used by 10% of the market or 5% doesn't matter to me. What matters to me is that it does what I ask it to do. -- 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 bobs at twft.com Mon Oct 1 12:40:03 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Oct 2012 09:40:03 -0700 Subject: Bug or just something you can't do ? In-Reply-To: <5068D63C.8060308@tweedly.net> References: <5068CDFD.1010602@tweedly.net> <5068D289.7020302@fourthworld.com> <5068D63C.8060308@tweedly.net> Message-ID: <4F34B311-B3EA-427F-BB76-EF2A84C2169E@twft.com> No because you are passing a reference, not the value itself. That is how the otherwise sandboxed command knows about the variable t outside itself. It would otherwise create an entirely new t if you didn't pass by reference. It's my understanding that presently you cannot pass an array element by reference. You can only pass the entire array. Instead try passing the entire array, then checking inside your command to see if it is an array and then act accordingly. Bob On Sep 30, 2012, at 4:31 PM, Alex Tweedly wrote: > So doesn't > increment t > become > increment (the value of t) From pete at lcsql.com Mon Oct 1 12:48:02 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 1 Oct 2012 09:48:02 -0700 Subject: [OT] What does Richmond do with Livecode? In-Reply-To: <003d01cd9ff2$bb703f10$3250bd30$@net> References: <50688FBD.5010905@gmail.com> <50689D41.3040108@hyperactivesw.com> <003d01cd9ff2$bb703f10$3250bd30$@net> Message-ID: Count me in to the FacelessBook crowd. Pete lcSQL Software On Mon, Oct 1, 2012 at 9:35 AM, Ralph DiMola wrote: > Jacqueline, > > THANK YOU! I'm a member of the non-Facebook crowd. Call me an old foggie. > > See the "South Park" Facebook episode. Very funny and very true. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay > Sent: Sunday, September 30, 2012 3:28 PM > To: How to use LiveCode > Subject: Re: [OT] What does Richmond do with Livecode? > > On 9/30/12 1:39 PM, Roger Eller wrote: > > On Sun, Sep 30, 2012 at 2:30 PM, Richmond wrote: > > > >> Possibly the best way to find out is to subscribe to the Facebook page: > >> > >> http://www.facebook.com/devawriter > >> > >> if you already have a Facebook account search for 'Devawriter' and > >> send a friend request. > >> > >> Richmond. > > > > > > I saw your announcement. CONGRATULATIONS Richmond! > > Those of us who do not want to be involved with Facebook for any reason > will > never know what he did. > > > I understand that everyone in the world is on FB except the handful of us > who don't care to post their private life in public places. I have now seen > several promotions by some companies that only give away free product or > coupons if you "like" them on FB. I am annoyed. The US has a law that > forbids sweepstakes from requiring a purchase, but there is no law that > says > you can't limit your giveaways to a particular social media outlet. I was > eligible for some free items according to all the stated rules except for > the fact that I refuse to use FB. > > > -- > 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 bobs at twft.com Mon Oct 1 12:48:26 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Oct 2012 09:48:26 -0700 Subject: mysql question In-Reply-To: References: <1349035880377-4655596.post@n4.nabble.com> <9379BF40-FEC4-4F0A-BF59-83C6ABBE44B0@economy-x-talk.com> <1349037570802-4655598.post@n4.nabble.com> Message-ID: <03AE5028-17F3-4FED-AE95-0BC358D1F26C@twft.com> I may have missed the post prior, but I believe this is true only of sqLite databases. In a mySQL database, LC would not create a new database because of the security built into mySQL. So far as I know, if you want to create a new mySQL database, you will have to shell in to a mySQL server. Also, if it is a hosted server you may not be able to do even that because of the front end security involved. Bob On Sep 30, 2012, at 2:44 PM, Dr. Hawkins wrote: > On Sun, Sep 30, 2012 at 1:39 PM, Mark Smith wrote: >> Thanks Mark. I am just beginning to realize the limitations of the >> implementation of SQL supported by LC. So, I presume there is no way to >> create a database from LC then? ie. >> >> CREATE DATABASE database_name ?? > > revOpenDatabase() > > will open the database if it doesn't already exist. > > -- > Richard E. Hawkins, Esq. > (702) 508-8462 From rdimola at evergreeninfo.net Mon Oct 1 12:55:47 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 1 Oct 2012 12:55:47 -0400 Subject: resizing datagrids on mobile In-Reply-To: <5C1A1480-9981-4F2F-8CED-45E86A4C2909@twft.com> References: <5068C452.1070508@fourthworld.com> <5C1A1480-9981-4F2F-8CED-45E86A4C2909@twft.com> Message-ID: <003e01cd9ff5$9b14d4d0$d13e7e70$@net> I have never used datagrid. When I first got LC I created one and saw all the created objects and ran away crying like a 2 year old after the candy was taken away. That being said. Could someone send me a stack with working datagrid. I would like to test my resizing library with a real-world datagrid LC app. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bob Sneidar Sent: Monday, October 01, 2012 12:06 PM To: How to use LiveCode Subject: Re: resizing datagrids on mobile We have always had that. Simply include in your array the data you want hidden, but don't include the column in the column definition. access the hidden data from the array. put "This is a test" into myArray[1]["column 1"] put "I'm hidden" into myArray[1]["column 2"] set the dgprop["columns"] of group "myDatagrid" to "column 1" set the dgData of group "myDatagrid" to myArray Bob On Sep 30, 2012, at 3:14 PM, Richard Gaskin wrote: > But for simple lists, unless you're displaying financial data the native field object works great, better now in v5.5 than ever before since we now have zero-width columns so we can include things like record IDs without having to show those to the user. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Mon Oct 1 12:58:53 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 1 Oct 2012 09:58:53 -0700 Subject: [OT] What does Richmond do with Livecode? In-Reply-To: <003d01cd9ff2$bb703f10$3250bd30$@net> References: <50688FBD.5010905@gmail.com> <50689D41.3040108@hyperactivesw.com> <003d01cd9ff2$bb703f10$3250bd30$@net> Message-ID: I find facebook to be quite useful for business in my world. The trick is not to get hung up with everyone else's drama, choose your 'friends' wisely and SMITE those who give you trouble or waste your time. facebook can be like one's own tv station for one's ego, business, cause, whatever. It's not just a place for people that can't design their own websites. But just like websites, facebook pages must be tended and active. Stephen Barncard San Francisco Ca. USA more about sqb From bobs at twft.com Mon Oct 1 13:03:19 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Oct 2012 10:03:19 -0700 Subject: connecting to MySql In-Reply-To: <003c01cd9ff1$9d0508e0$d70f1aa0$@net> References: <1348891177408-4655547.post@n4.nabble.com> <04D458C6-A0A8-41D2-AE83-8F64A3B06718@economy-x-talk.com> <003c01cd9ff1$9d0508e0$d70f1aa0$@net> Message-ID: <8A173B06-11AA-4AED-AF75-7B434D40857E@twft.com> Yes I do as well. However this is considered in the industry a non-secure way of connecting to mySQL because of all the exploits that are out there. We use a digital lock and key system here on this campus (which will remain nameless), which is managed from a "secure" mySQL server running on a Linux distro which is used a lot for this purpose. Obviously, security is a HUGE deal for this vendor, and one of their big selling points is security. All communications between the web page and the host are encrypted. And yet, using an exploit he knew about, he was able to get at the data directly. I bet him a lunch he could not, and I paid him off. If you are writing something for in house use, you can use On-Rev and access the database directly securely enough, because you have to allow access via the On-Rev interface on an IP address basis, so only connections coming from your own campus would be accepted. I suppose someone on the "inside" could still try and get at the data, but if the data is not that important then this might be acceptable. On Oct 1, 2012, at 9:27 AM, Ralph DiMola wrote: > I connect directly to a MySql db using my account on the on-rev.com server > and have had no problems. > > Ralph DiMola From scott at tactilemedia.com Mon Oct 1 13:07:50 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 01 Oct 2012 10:07:50 -0700 Subject: [OT] What does Richmond do with Livecode? In-Reply-To: Message-ID: I've never seen a "smite" button in Facebook, but I'd say it's long overdue. I might try to make one... Regards, Scott Rossi Creative Director Tactile Media, UX Design On 10/1/12 9:58 AM, "stephen barncard" wrote: >The trick is >not to get hung up with everyone else's drama, choose your 'friends' >wisely >and SMITE those who give you trouble or waste your time. > From stephenREVOLUTION2 at barncard.com Mon Oct 1 13:18:02 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 1 Oct 2012 10:18:02 -0700 Subject: [OT] What does Richmond do with Livecode? In-Reply-To: References: Message-ID: There's a little pulldown right next to each post that allows ignoring that person. SMITE! On Mon, Oct 1, 2012 at 10:07 AM, Scott Rossi wrote: > I've never seen a "smite" button in Facebook, but I'd say it's long > overdue. > I might try to make one... > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > > On 10/1/12 9:58 AM, "stephen barncard" > wrote: > > >The trick is > >not to get hung up with everyone else's drama, choose your 'friends' > >wisely > >and SMITE those who give you trouble or waste your time. > > > > > > Stephen Barncard San Francisco Ca. USA more about sqb From bobs at twft.com Mon Oct 1 13:22:46 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Oct 2012 10:22:46 -0700 Subject: resizing datagrids on mobile In-Reply-To: <003e01cd9ff5$9b14d4d0$d13e7e70$@net> References: <5068C452.1070508@fourthworld.com> <5C1A1480-9981-4F2F-8CED-45E86A4C2909@twft.com> <003e01cd9ff5$9b14d4d0$d13e7e70$@net> Message-ID: You could simply make your own. It isn't that hard. There is no fundamental difference between a datagrid made from scratch, and one belonging to an existing app. Just get the properties of the datagrid, create your columns in the properties interface, and go. You may want to create 2 kinds, a table DG and a form DG, just to be sure. Bob On Oct 1, 2012, at 9:55 AM, Ralph DiMola wrote: > I have never used datagrid. When I first got LC I created one and saw all > the created objects and ran away crying like a 2 year old after the candy > was taken away. That being said. Could someone send me a stack with working > datagrid. I would like to test my resizing library with a real-world > datagrid LC app. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net From bobs at twft.com Mon Oct 1 13:24:00 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Oct 2012 10:24:00 -0700 Subject: [OT] What does Richmond do with Livecode? In-Reply-To: <50688FBD.5010905@gmail.com> References: <50688FBD.5010905@gmail.com> Message-ID: <15FD533F-3DDD-4620-931C-202C7A609455@twft.com> Will I have to click through a disclaimer stating that I am 18 or older before entering? ;-) Bob On Sep 30, 2012, at 11:30 AM, Richmond wrote: > Possibly the best way to find out is to subscribe to the Facebook page: > > http://www.facebook.com/devawriter > > if you already have a Facebook account search for 'Devawriter' and send a friend request. > > 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 Mon Oct 1 13:27:54 2012 From: irog at mac.com (Roger Guay) Date: Mon, 01 Oct 2012 10:27:54 -0700 Subject: [OT] What does Richmond do with Livecode? In-Reply-To: References: Message-ID: <7304DE1D-424D-4865-9302-B11D6C3F5702@mac.com> I was thinking more along the lines of Facebook with an attitude. Something like ButtBook - the tongue in cheek FaceBook. Or ButtBook the cheeky FaceBook. Roger On Oct 1, 2012, at 9:33 AM, use-livecode-request at lists.runrev.com wrote: > Message: 6 > Date: Mon, 01 Oct 2012 00:37:38 -0500 > From: "J. Landman Gay" > To: How to use LiveCode > Subject: Re: [OT] What does Richmond do with Livecode? > Message-ID: <50692C22.8010501 at hyperactivesw.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 9/30/12 11:07 PM, Roger Guay wrote: >> I have this idea for people who hate Facebook . . . sort of like an >> anti-Facebook. I call it ButtBook . . . for the anti-social. I'm >> working on it. Any ideas to contribute? > > Buy a photo copier? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Mon Oct 1 13:31:36 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Oct 2012 10:31:36 -0700 Subject: [OT] What does Richmond do with Livecode? In-Reply-To: <50689D41.3040108@hyperactivesw.com> References: <50688FBD.5010905@gmail.com> <50689D41.3040108@hyperactivesw.com> Message-ID: <80DC1B02-44B1-4336-9351-772AB5249230@twft.com> I resisted Facebook for a long time, not only because of security concerns, but because I saw how much it can detract from my own productivity. The latter has come to pass for sure. As to the former, well they cannot find out more about you than you tell them. Just think of everything on Facebook as available to the general public, no matter how you try to restrict it, then post accordingly. They actually have some good vendors advertising on it. I found a really nifty round portable gas grill, and an outlet for military grade clothing and equipment. I suppose I could have gone looking for it, but I am not that imaginative a shopper, and sometimes when you google for something, you get a million unassociated hits that have nothing to do with what you want, and they always seem to pop to the top, and these days you are as likely as not to get a page of links to OTHER search engines. Really frustrating. The best thing about it though is that I get to really irritate my friends and family by posting things I think are really important, but they could care less about. ;-) Bob On Sep 30, 2012, at 12:28 PM, J. Landman Gay wrote: > On 9/30/12 1:39 PM, Roger Eller wrote: >> On Sun, Sep 30, 2012 at 2:30 PM, Richmond wrote: >> >>> Possibly the best way to find out is to subscribe to the Facebook page: >>> >>> http://www.facebook.com/devawriter >>> >>> if you already have a Facebook account search for 'Devawriter' and send a >>> friend request. >>> >>> Richmond. >> >> >> I saw your announcement. CONGRATULATIONS Richmond! > > Those of us who do not want to be involved with Facebook for any reason will never know what he did. > > > I understand that everyone in the world is on FB except the handful of us who don't care to post their private life in public places. I have now seen several promotions by some companies that only give away free product or coupons if you "like" them on FB. I am annoyed. The US has a law that forbids sweepstakes from requiring a purchase, but there is no law that says you can't limit your giveaways to a particular social media outlet. I was eligible for some free items according to all the stated rules except for the fact that I refuse to use FB. > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Oct 1 13:33:04 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Oct 2012 10:33:04 -0700 Subject: [OT] What does Richmond do with Livecode? In-Reply-To: <087B9474-2BB7-44F2-9305-B33F0629020C@mac.com> References: <087B9474-2BB7-44F2-9305-B33F0629020C@mac.com> Message-ID: <63428E47-9BCE-4CC2-867C-571CAB6529C2@twft.com> Will we have to post a picture of our... butt anyway, moving along... Bob On Sep 30, 2012, at 9:07 PM, Roger Guay wrote: > I have this idea for people who hate Facebook . . . sort of like an anti-Facebook. I call it ButtBook . . . for the anti-social. I'm working on it. Any ideas to contribute? > > Cheers, > Roger From gandalf at doctorTimothyMiller.com Mon Oct 1 13:34:10 2012 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Mon, 1 Oct 2012 10:34:10 -0700 Subject: command-click on a word Message-ID: <7C509FB6-7AE3-458F-9234-CFA8C28A9812@doctorTimothyMiller.com> I'm not writing to complain about an absent feature. Mostly just curious, and maybe I'll learn something useful. In recent years, I've come to take it for granted that I can hilite a word and command-click on it to get a pop-up dialog box with items like "cut" "copy" "look up in dictionary" and so on. The specific items depend on the application, but the dialog box usually looks the same. A few minutes ago, I tried this in a text field an a LC stack and thought, "Hey, why doesn't that work!?" Then I remembered that LC doesn't do that, as far as I know. Yet I have the impression that this is an OS function that any application could invoke. So, my question: Is this an OS function? If so, why doesn't LC take advantage of it? I suppose it could be scripted. Is there an LC add-on that conveniently adds this functionality? Or maybe there's a simple LC command I don't know about? Cheers, Tim From bobs at twft.com Mon Oct 1 13:34:33 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Oct 2012 10:34:33 -0700 Subject: [OT] What does Richmond do with Livecode? In-Reply-To: References: <087B9474-2BB7-44F2-9305-B33F0629020C@mac.com> Message-ID: Wait,... there's a Buttbook app already?? On Oct 1, 2012, at 5:57 AM, Magicgate Software - Skip Kimpel wrote: > I just downloaded the demo software and tested it on a Windows 7 > machine. A couple of observations and questions.... For some reason > when you launch it under Win7, it takes forever for the software to > appear. I see it sitting in the process section of the Windows task > manager for a good minute before it shows it's face. Second, it would > be really nice to see the software wrapped up into some type of an > installer. > > That leads me to my question: Is there a way in LC, or the installer > method that I mentioned above, to install the required fonts for the > end user. It just seems like a step that is not needed for the end > user. > > SKIP > > On Mon, Oct 1, 2012 at 8:31 AM, Colin Holgate wrote: >> Call it "The Buttbook" at first, then drop the "The" after talking to Justin Timberlake. Call the movie version of the story "Antisocial Network". >> >> >> On Oct 1, 2012, at 12:07 AM, Roger Guay wrote: >> >>>> I have this idea for people who hate Facebook . . . sort of like an anti-Facebook. I call it ButtBook . . . for the anti-social. I'm working on it. Any ideas to contribute? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Oct 1 13:36:01 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Oct 2012 10:36:01 -0700 Subject: [OT] What does Richmond do with Livecode? In-Reply-To: <003d01cd9ff2$bb703f10$3250bd30$@net> References: <50688FBD.5010905@gmail.com> <50689D41.3040108@hyperactivesw.com> <003d01cd9ff2$bb703f10$3250bd30$@net> Message-ID: <32881FB6-968A-4AF6-B6D4-E0B2AE1BF67D@twft.com> Old "Foggie" indeed. Us "old fogies" are often quite "foggy". On Oct 1, 2012, at 9:35 AM, Ralph DiMola wrote: > Jacqueline, > > THANK YOU! I'm a member of the non-Facebook crowd. Call me an old foggie. > > See the "South Park" Facebook episode. Very funny and very true. > > Ralph DiMola From bobs at twft.com Mon Oct 1 13:37:03 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Oct 2012 10:37:03 -0700 Subject: [OT] What does Richmond do with Livecode? In-Reply-To: References: Message-ID: <962B88A3-9A54-4514-ACD6-066AA68CE634@twft.com> I thot that was the "banhammer" button... On Oct 1, 2012, at 10:18 AM, stephen barncard wrote: > There's a little pulldown right next to each post that allows ignoring that > person. SMITE! > > On Mon, Oct 1, 2012 at 10:07 AM, Scott Rossi wrote: > >> I've never seen a "smite" button in Facebook, but I'd say it's long >> overdue. >> I might try to make one... >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >> >> >> >> On 10/1/12 9:58 AM, "stephen barncard" >> wrote: >> >>> The trick is >>> not to get hung up with everyone else's drama, choose your 'friends' >>> wisely >>> and SMITE those who give you trouble or waste your time. >>> >> >> >> >> > 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 bobs at twft.com Mon Oct 1 13:39:34 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Oct 2012 10:39:34 -0700 Subject: [OT] What does Richmond do with Livecode? In-Reply-To: <7304DE1D-424D-4865-9302-B11D6C3F5702@mac.com> References: <7304DE1D-424D-4865-9302-B11D6C3F5702@mac.com> Message-ID: <28D2B70A-3908-406D-ABBA-DBCF0B368882@twft.com> Okay this thread is getting too weird. Has anyone invented a Faux Pas checker yet? On second thought, I would just disable it. On Oct 1, 2012, at 10:27 AM, Roger Guay wrote: > ButtBook - the tongue in cheek Facebook... From richmondmathewson at gmail.com Mon Oct 1 14:31:24 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 01 Oct 2012 21:31:24 +0300 Subject: [OT] What does Richmond do with Livecode? In-Reply-To: <15FD533F-3DDD-4620-931C-202C7A609455@twft.com> References: <50688FBD.5010905@gmail.com> <15FD533F-3DDD-4620-931C-202C7A609455@twft.com> Message-ID: <5069E17C.8000406@gmail.com> On 10/01/2012 08:24 PM, Bob Sneidar wrote: > Will I have to click through a disclaimer stating that I am 18 or older before entering? ;-) No; there are several teenagers there. > > Bob > > > On Sep 30, 2012, at 11:30 AM, Richmond wrote: > >> Possibly the best way to find out is to subscribe to the Facebook page: >> >> http://www.facebook.com/devawriter >> >> if you already have a Facebook account search for 'Devawriter' and send a friend request. >> >> 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 livfoss at mac.com Mon Oct 1 15:12:17 2012 From: livfoss at mac.com (Graham Samuel) Date: Mon, 01 Oct 2012 21:12:17 +0200 Subject: Bug or just something you can't do ? In-Reply-To: References: Message-ID: <26D1B007-B4C9-4DB4-84FB-C85BE04A224A@mac.com> I never thought I'd see the word 'thunk' again. A coinage of Donald Knuth, I fancy? well, what a blast from the past! Graham (who, when dinosaurs ruled the Earth, completed and supported an Algol compiler) On Mon, 01 Oct 2012 11:49:14 +0100, Alex Tweedly wrote: > Thanks Mark - that's a great solution for a one-liner, or even for a 2- > or 3- liner, but not practical for a real=life, multi-line handler. > > (And as a purist I'd mention that it implements call-by-name not > call-by-reference, to the sound of Algol reference papers 'thunk'ing > onto my desk :-) From pete at lcsql.com Mon Oct 1 15:28:08 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 1 Oct 2012 12:28:08 -0700 Subject: command-click on a word In-Reply-To: <7C509FB6-7AE3-458F-9234-CFA8C28A9812@doctorTimothyMiller.com> References: <7C509FB6-7AE3-458F-9234-CFA8C28A9812@doctorTimothyMiller.com> Message-ID: Hi Tim, There was a similar discussion a few months back regarding the spell checking ability built into an OS, specifically OSX. The outcome of that was simply that LC doesn't provide a way to hook into it so I think the answer to your question would be the same. There is a third party spell checker application available on the RunRev store but I don;t remember seeing anything for the feature you mentioned. Pete lcSQL Software On Mon, Oct 1, 2012 at 10:34 AM, Timothy Miller < gandalf at doctortimothymiller.com> wrote: > I'm not writing to complain about an absent feature. Mostly just curious, > and maybe I'll learn something useful. > > In recent years, I've come to take it for granted that I can hilite a word > and command-click on it to get a pop-up dialog box with items like "cut" > "copy" "look up in dictionary" and so on. The specific items depend on the > application, but the dialog box usually looks the same. > > A few minutes ago, I tried this in a text field an a LC stack and thought, > "Hey, why doesn't that work!?" Then I remembered that LC doesn't do that, > as far as I know. Yet I have the impression that this is an OS function > that any application could invoke. > > So, my question: Is this an OS function? If so, why doesn't LC take > advantage of it? > > I suppose it could be scripted. Is there an LC add-on that conveniently > adds this functionality? Or maybe there's a simple LC command I don't know > about? > > Cheers, > > 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 jacque at hyperactivesw.com Mon Oct 1 15:26:12 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 01 Oct 2012 14:26:12 -0500 Subject: [OT] Facebook [was: What does Richmond do with Livecode?] In-Reply-To: <80DC1B02-44B1-4336-9351-772AB5249230@twft.com> References: <50688FBD.5010905@gmail.com> <50689D41.3040108@hyperactivesw.com> <80DC1B02-44B1-4336-9351-772AB5249230@twft.com> Message-ID: <5069EE54.9050709@hyperactivesw.com> On 10/1/12 12:31 PM, Bob Sneidar wrote: > I resisted Facebook for a long time, not only because of security > concerns, but because I saw how much it can detract from my own > productivity. The latter has come to pass for sure. As to the former, > well they cannot find out more about you than you tell them. They know far more about you than you can imagine: FB collects more data about you than you know, it's shared more widely than you know, legal protections are spotty, and malicious behavior related to FB is on the rise: Your current location and activity, among other things, can be picked up and broadcast without your knowledge; stop using FB apps: Breach of privacy extends to non-members of Facebook (and lots of other info): Identity theft using off the shelf facial recognition software (keep your profile private and take down that photo): Until recently they did even worse until a lawsuit stopped some of it. Their approach seems to be that they will infringe without telling you until they are forced to stop. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From harrison at all-auctions.com Mon Oct 1 15:32:29 2012 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 1 Oct 2012 15:32:29 -0400 Subject: iOS Unknown Deployment Platform error In-Reply-To: <46F3CD11-459C-44FC-96AA-BC76A61BC48F@twft.com> References: <50689A7B.8000006@hyperactivesw.com> <3F635F67-6AB1-497A-873E-5B1D611D8C02@major.on-rev.com> <46F3CD11-459C-44FC-96AA-BC76A61BC48F@twft.com> Message-ID: <3A9B14CC-363E-43B9-820D-C5A61BEBEE22@all-auctions.com> Hi there, When Apple decided to force upgrade everything to version 4.5 of Xcode is when everything went a bad way for me. Before that I was able to run the iOS Simulato,r and connect to my iPad 2 just fine with LiveCode. I was happily running Lion and then one day Apple forced me to do some stupid upgrade or things just wouldn't work. So I tried the upgrade. Things still didn't work. People started saying, oh yea, you need to work with version 4.5 of the SDK now. Of course you'll need Mountain Lion to run that. It just so happened that my MacBook was one Generation too old to run Mountain Lion, so then I was forced to purchase a brand new machine just so I could get back to coding again. I purchased the new computer, upgraded it to Mountain Lion since it came with Lion installed. I installed Xcode 4.5, upgraded my iPad 2 to iOS 6.0, and upgraded to LiveCode 5.5.3rc1. Now when I try to run the Simulator it tells me "Unknown Deployment Platform" and still doesn't work! Anyone else having this problem? I'm dead in the water without any direction at this point. Any help is greatly appreciated! Thanks, Rick From mpetrides at earthlink.net Mon Oct 1 15:37:06 2012 From: mpetrides at earthlink.net (Marian Petrides MD) Date: Mon, 1 Oct 2012 15:37:06 -0400 Subject: [OT] Facebook [was: What does Richmond do with Livecode?] In-Reply-To: <5069EE54.9050709@hyperactivesw.com> References: <50688FBD.5010905@gmail.com> <50689D41.3040108@hyperactivesw.com> <80DC1B02-44B1-4336-9351-772AB5249230@twft.com> <5069EE54.9050709@hyperactivesw.com> Message-ID: <67CF70C2-59AB-4CF9-AC40-FCAF6D0C0719@earthlink.net> Wonder if they can do facial recognition on canine faces? Those are the only photos I ever post. :-)) Sent from my iPhone On Oct 1, 2012, at 3:26 PM, "J. Landman Gay" wrote: > On 10/1/12 12:31 PM, Bob Sneidar wrote: >> I resisted Facebook for a long time, not only because of security >> concerns, but because I saw how much it can detract from my own >> productivity. The latter has come to pass for sure. As to the former, >> well they cannot find out more about you than you tell them. > > They know far more about you than you can imagine: > > > FB collects more data about you than you know, it's shared more widely than you know, legal protections are spotty, and malicious behavior related to FB is on the rise: > > > > Your current location and activity, among other things, can be picked up and broadcast without your knowledge; stop using FB apps: > > > > Breach of privacy extends to non-members of Facebook (and lots of other info): > > > Identity theft using off the shelf facial recognition software (keep your profile private and take down that photo): > > > Until recently they did even worse until a lawsuit stopped some of it. Their approach seems to be that they will infringe without telling you until they are forced to stop. > > -- > 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 scott at tactilemedia.com Mon Oct 1 15:42:44 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 01 Oct 2012 12:42:44 -0700 Subject: [OT] What does Richmond do with Livecode? In-Reply-To: Message-ID: You're not thinking visual enough: http://www.tactilemedia.com/download/smite_button.gif Regards, Scott Rossi Creative Director Tactile Media, UX Design On 10/1/12 10:18 AM, "stephen barncard" wrote: >There's a little pulldown right next to each post that allows ignoring >that >person. SMITE! > >On Mon, Oct 1, 2012 at 10:07 AM, Scott Rossi >wrote: > >> I've never seen a "smite" button in Facebook, but I'd say it's long >> overdue. >> I might try to make one... >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >> >> >> >> On 10/1/12 9:58 AM, "stephen barncard" >> wrote: >> >> >The trick is >> >not to get hung up with everyone else's drama, choose your 'friends' >> >wisely >> >and SMITE those who give you trouble or waste your time. >> > >> >> >> >> >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 roger.e.eller at sealedair.com Mon Oct 1 15:56:22 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 1 Oct 2012 15:56:22 -0400 Subject: [OT] What does Richmond do with Livecode? In-Reply-To: References: Message-ID: On Mon, Oct 1, 2012 at 3:42 PM, Scott Rossi wrote: > You're not thinking visual enough: > http://www.tactilemedia.com/download/smite_button.gif > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design LIKE! +10000000000000 From cmsheffield at me.com Mon Oct 1 15:57:08 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Mon, 01 Oct 2012 13:57:08 -0600 Subject: iOS Unknown Deployment Platform error In-Reply-To: <3A9B14CC-363E-43B9-820D-C5A61BEBEE22@all-auctions.com> References: <50689A7B.8000006@hyperactivesw.com> <3F635F67-6AB1-497A-873E-5B1D611D8C02@major.on-rev.com> <46F3CD11-459C-44FC-96AA-BC76A61BC48F@twft.com> <3A9B14CC-363E-43B9-820D-C5A61BEBEE22@all-auctions.com> Message-ID: <43675225-623B-404E-84D2-158ED293B8B9@me.com> Rick, A couple things to check. First, make sure you've pointed LiveCode to your Xcode app bundle. I'm assuming you've already done this. Otherwise, the Test option wouldn't even be available to you. But I just wanted to make sure. Second, make sure you've selected the appropriate simulator version from the Development -> Test Target menu in LC. I find that sometimes I have to reset this after upgrading LiveCode and/or Xcode. If for some reason you don't have the simulators you want, launch Xcode, open Prefs -> Downloads, and download the additional simulators. With Xcode 4.5 you can go back to iOS simulator 5.0. Hope that helps you. Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Oct 1, 2012, at 1:32 PM, Rick Harrison wrote: > Hi there, > > When Apple decided to force upgrade everything to version 4.5 of Xcode > is when everything went a bad way for me. Before that I was able to > run the iOS Simulato,r and connect to my iPad 2 just fine with LiveCode. > > I was happily running Lion and then one day Apple forced me to do some > stupid upgrade or things just wouldn't work. So I tried the upgrade. > Things still didn't work. People started saying, oh yea, you need to work with > version 4.5 of the SDK now. Of course you'll need Mountain Lion to run that. > It just so happened that my MacBook was one Generation too old to run > Mountain Lion, so then I was forced to purchase a brand new machine just > so I could get back to coding again. > > I purchased the new computer, upgraded it to Mountain Lion since it came > with Lion installed. I installed Xcode 4.5, upgraded my iPad 2 to iOS 6.0, > and upgraded to LiveCode 5.5.3rc1. Now when I try to run the Simulator > it tells me "Unknown Deployment Platform" and still doesn't work! > > Anyone else having this problem? I'm dead in the water without any > direction at this point. Any help is greatly appreciated! > > Thanks, > > 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 dunbarx at aol.com Mon Oct 1 16:29:58 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 1 Oct 2012 16:29:58 -0400 (EDT) Subject: command-click on a word In-Reply-To: <7C509FB6-7AE3-458F-9234-CFA8C28A9812@doctorTimothyMiller.com> References: <7C509FB6-7AE3-458F-9234-CFA8C28A9812@doctorTimothyMiller.com> Message-ID: <8CF6E2AA8E22540-DFC-659F4@webmail-m007.sysops.aol.com> Hi. Are you harking back to HC, where holding the commandKey down in an unlocked field would put the clickText? This does not work natively in LC, though you can always: on mouseUp put the clickText --into tText --load popUpGadget end mouseUp There is no visual feedback that something has changed (HC showed the hand cursor), but the result is the same. That the commandKey was in fact pressed is therefore invisible, but it still works that way. So now you can do your loadPopUp thing, using any sort of info derived from the clickText. There were several threads, either here or at the forums, about creating popups on the fly, or you can just show one. Craig Newman -----Original Message----- From: Timothy Miller To: How to use LiveCode Sent: Mon, Oct 1, 2012 1:35 pm Subject: command-click on a word I'm not writing to complain about an absent feature. Mostly just curious, and maybe I'll learn something useful. In recent years, I've come to take it for granted that I can hilite a word and command-click on it to get a pop-up dialog box with items like "cut" "copy" "look up in dictionary" and so on. The specific items depend on the application, but the dialog box usually looks the same. A few minutes ago, I tried this in a text field an a LC stack and thought, "Hey, why doesn't that work!?" Then I remembered that LC doesn't do that, as far as I know. Yet I have the impression that this is an OS function that any application could invoke. So, my question: Is this an OS function? If so, why doesn't LC take advantage of it? I suppose it could be scripted. Is there an LC add-on that conveniently adds this functionality? Or maybe there's a simple LC command I don't know about? Cheers, 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 mwieder at ahsoftware.net Mon Oct 1 17:20:20 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 1 Oct 2012 14:20:20 -0700 Subject: mysql question In-Reply-To: References: <1349035880377-4655596.post@n4.nabble.com> <9379BF40-FEC4-4F0A-BF59-83C6ABBE44B0@economy-x-talk.com> <1349037570802-4655598.post@n4.nabble.com> <0B82564B-13DD-45BB-AB9C-72F2F9ED00D1@economy-x-talk.com> <1349043802748-4655610.post@n4.nabble.com> <4F7F4C79-BC89-46ED-87C6-EF5F315A5FCD@economy-x-talk.com> <5069008A.9030800@hyperactivesw.com> Message-ID: <182760919812.20121001142020@ahsoftware.net> Pete- Monday, October 1, 2012, 8:59:05 AM, you wrote: > Very strange. I can't find anything in my email config that would cause > this. I'll start paying more attention to the "To" and "CC" fields to try > and track down what's happening. Check to Reply-To field on incoming messages as well. That should never be filled in (replies should by default go to the From address) but if there's something there you may end up double-dipping. -- -Mark Wieder mwieder at ahsoftware.net From pete at lcsql.com Mon Oct 1 17:27:21 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 1 Oct 2012 14:27:21 -0700 Subject: mysql question In-Reply-To: <182760919812.20121001142020@ahsoftware.net> References: <1349035880377-4655596.post@n4.nabble.com> <9379BF40-FEC4-4F0A-BF59-83C6ABBE44B0@economy-x-talk.com> <1349037570802-4655598.post@n4.nabble.com> <0B82564B-13DD-45BB-AB9C-72F2F9ED00D1@economy-x-talk.com> <1349043802748-4655610.post@n4.nabble.com> <4F7F4C79-BC89-46ED-87C6-EF5F315A5FCD@economy-x-talk.com> <5069008A.9030800@hyperactivesw.com> <182760919812.20121001142020@ahsoftware.net> Message-ID: Thanks Mark. I also noticed that I had a gMail Lab in place which made the default reply button mean Reply To All so if any incoming messages were sent to the old and new mailing lists, I think that would cause the double messages. I've disabled that now. Pete lcSQL Software On Mon, Oct 1, 2012 at 2:20 PM, Mark Wieder wrote: > Pete- > > Monday, October 1, 2012, 8:59:05 AM, you wrote: > > > Very strange. I can't find anything in my email config that would cause > > this. I'll start paying more attention to the "To" and "CC" fields to > try > > and track down what's happening. > > Check to Reply-To field on incoming messages as well. That should > never be filled in (replies should by default go to the From address) > but if there's something there you may end up double-dipping. > > -- > -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 gandalf at doctorTimothyMiller.com Mon Oct 1 17:40:41 2012 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Mon, 1 Oct 2012 14:40:41 -0700 Subject: command-click on a word In-Reply-To: References: <7C509FB6-7AE3-458F-9234-CFA8C28A9812@doctorTimothyMiller.com> Message-ID: <19CD97A6-06CB-4695-8C3A-3CFAE450AC04@doctorTimothyMiller.com> Thanks Peter and Craig, Good thoughts, but I wasn't thinking of either one of those things. I am aware of the new LC text property that makes spell check possible in LC, I have looked at the spell-checker in the LC store, and I do remember the HC command-key feature. (Heck, my Atari 64 seems like just yesterday!) You've probably overestimated me. My question was much dumber than that. I'm just wondering two things. Is command-clickng on a hilited word an OS thing, or does each application implement this feature independently? If it's an OS thing, it might not be not very hard to implement. In that case why doesn't LC do it? I.e., not just spell-check but all those other cute tricks -- look up on google, look up in the dictionary, cut, copy, etc? Cheers, Tim On Oct 1, 2012, at 12:28 PM, Peter Haworth wrote: > Hi Tim, > There was a similar discussion a few months back regarding the spell > checking ability built into an OS, specifically OSX. The outcome of that > was simply that LC doesn't provide a way to hook into it so I think the > answer to your question would be the same. > > There is a third party spell checker application available on the RunRev > store but I don;t remember seeing anything for the feature you mentioned. > > Pete > lcSQL Software > > > > On Mon, Oct 1, 2012 at 10:34 AM, Timothy Miller < > gandalf at doctortimothymiller.com> wrote: > >> I'm not writing to complain about an absent feature. Mostly just curious, >> and maybe I'll learn something useful. >> >> In recent years, I've come to take it for granted that I can hilite a word >> and command-click on it to get a pop-up dialog box with items like "cut" >> "copy" "look up in dictionary" and so on. The specific items depend on the >> application, but the dialog box usually looks the same. >> >> A few minutes ago, I tried this in a text field an a LC stack and thought, >> "Hey, why doesn't that work!?" Then I remembered that LC doesn't do that, >> as far as I know. Yet I have the impression that this is an OS function >> that any application could invoke. >> >> So, my question: Is this an OS function? If so, why doesn't LC take >> advantage of it? >> >> I suppose it could be scripted. Is there an LC add-on that conveniently >> adds this functionality? Or maybe there's a simple LC command I don't know >> about? >> >> Cheers, >> >> 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 bobs at twft.com Mon Oct 1 18:14:26 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Oct 2012 15:14:26 -0700 Subject: [OT] Facebook [was: What does Richmond do with Livecode?] In-Reply-To: <5069EE54.9050709@hyperactivesw.com> References: <50688FBD.5010905@gmail.com> <50689D41.3040108@hyperactivesw.com> <80DC1B02-44B1-4336-9351-772AB5249230@twft.com> <5069EE54.9050709@hyperactivesw.com> Message-ID: <43549E44-0BD7-4FF5-8E15-0A24C01F416F@twft.com> I agree that FB is notorious in their privacy protection failures. They are epic. However, I will bet that the FBI doesn't need Facebook to find out whatever they want about me. The trick is to not have anything to hide that they might want to know about. As far as identity theft, I am not sure how having a picture of me can induce a bank to start up an account with my name. Still, my photo is a logo someone made for me called Sly Laboratories, which is a fox next to a beaker under a full blue moon. Pretty spiffy I think! If the FBI wants to know what I think and how I feel about things, why they can call me and ask. In fact I might just call them and see if they are interested. :-) I've had my Facebook account hacked once. Nothing came of it, because I don't have any information there that could be used to compromise anything. Still, I get what you are saying. Most people might use their online banking user name and password for FB and never even think about what a HUGE bonehead thing to do that is. Bob On Oct 1, 2012, at 12:26 PM, J. Landman Gay wrote: > On 10/1/12 12:31 PM, Bob Sneidar wrote: >> I resisted Facebook for a long time, not only because of security >> concerns, but because I saw how much it can detract from my own >> productivity. The latter has come to pass for sure. As to the former, >> well they cannot find out more about you than you tell them. > > They know far more about you than you can imagine: > > > FB collects more data about you than you know, it's shared more widely than you know, legal protections are spotty, and malicious behavior related to FB is on the rise: > > > > Your current location and activity, among other things, can be picked up and broadcast without your knowledge; stop using FB apps: > > > > Breach of privacy extends to non-members of Facebook (and lots of other info): > > > Identity theft using off the shelf facial recognition software (keep your profile private and take down that photo): > > > Until recently they did even worse until a lawsuit stopped some of it. Their approach seems to be that they will infringe without telling you until they are forced to stop. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Oct 1 18:16:14 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Oct 2012 15:16:14 -0700 Subject: [OT] What does Richmond do with Livecode? In-Reply-To: References: Message-ID: Thanks Scott! That is going into my next app for sure! I'm thinking about a record deletion confirmation dialog... Bob On Oct 1, 2012, at 12:42 PM, Scott Rossi wrote: > You're not thinking visual enough: > http://www.tactilemedia.com/download/smite_button.gif > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design From bobs at twft.com Mon Oct 1 18:18:24 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Oct 2012 15:18:24 -0700 Subject: iOS Unknown Deployment Platform error In-Reply-To: <43675225-623B-404E-84D2-158ED293B8B9@me.com> References: <50689A7B.8000006@hyperactivesw.com> <3F635F67-6AB1-497A-873E-5B1D611D8C02@major.on-rev.com> <46F3CD11-459C-44FC-96AA-BC76A61BC48F@twft.com> <3A9B14CC-363E-43B9-820D-C5A61BEBEE22@all-auctions.com> <43675225-623B-404E-84D2-158ED293B8B9@me.com> Message-ID: Great post! I feel his pain though. I'm not big on, "I shouldn't have to" posts, but in this case, "He shouldn't have to." Bob On Oct 1, 2012, at 12:57 PM, Chris Sheffield wrote: > Rick, > > A couple things to check. > > First, make sure you've pointed LiveCode to your Xcode app bundle. I'm assuming you've already done this. Otherwise, the Test option wouldn't even be available to you. But I just wanted to make sure. > > Second, make sure you've selected the appropriate simulator version from the Development -> Test Target menu in LC. I find that sometimes I have to reset this after upgrading LiveCode and/or Xcode. If for some reason you don't have the simulators you want, launch Xcode, open Prefs -> Downloads, and download the additional simulators. With Xcode 4.5 you can go back to iOS simulator 5.0. > > Hope that helps you. > > Chris > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > > > On Oct 1, 2012, at 1:32 PM, Rick Harrison wrote: > >> Hi there, >> >> When Apple decided to force upgrade everything to version 4.5 of Xcode >> is when everything went a bad way for me. Before that I was able to >> run the iOS Simulato,r and connect to my iPad 2 just fine with LiveCode. >> >> I was happily running Lion and then one day Apple forced me to do some >> stupid upgrade or things just wouldn't work. So I tried the upgrade. >> Things still didn't work. People started saying, oh yea, you need to work with >> version 4.5 of the SDK now. Of course you'll need Mountain Lion to run that. >> It just so happened that my MacBook was one Generation too old to run >> Mountain Lion, so then I was forced to purchase a brand new machine just >> so I could get back to coding again. >> >> I purchased the new computer, upgraded it to Mountain Lion since it came >> with Lion installed. I installed Xcode 4.5, upgraded my iPad 2 to iOS 6.0, >> and upgraded to LiveCode 5.5.3rc1. Now when I try to run the Simulator >> it tells me "Unknown Deployment Platform" and still doesn't work! >> >> Anyone else having this problem? I'm dead in the water without any >> direction at this point. Any help is greatly appreciated! >> >> Thanks, >> >> 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 bobs at twft.com Mon Oct 1 18:19:13 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Oct 2012 15:19:13 -0700 Subject: mysql question In-Reply-To: References: <1349035880377-4655596.post@n4.nabble.com> <9379BF40-FEC4-4F0A-BF59-83C6ABBE44B0@economy-x-talk.com> <1349037570802-4655598.post@n4.nabble.com> <0B82564B-13DD-45BB-AB9C-72F2F9ED00D1@economy-x-talk.com> <1349043802748-4655610.post@n4.nabble.com> <4F7F4C79-BC89-46ED-87C6-EF5F315A5FCD@economy-x-talk.com> <5069008A.9030800@hyperactivesw.com> <182760919812.20121001142020@ahsoftware.net> Message-ID: Yup. That would do it. On Oct 1, 2012, at 2:27 PM, Peter Haworth wrote: > Thanks Mark. I also noticed that I had a gMail Lab in place which made the > default reply button mean Reply To All so if any incoming messages were > sent to the old and new mailing lists, I think that would cause the double > messages. I've disabled that now. > Pete > lcSQL Software From harrison at all-auctions.com Mon Oct 1 18:27:23 2012 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 1 Oct 2012 18:27:23 -0400 Subject: iOS Unknown Deployment Platform error In-Reply-To: <43675225-623B-404E-84D2-158ED293B8B9@me.com> References: <50689A7B.8000006@hyperactivesw.com> <3F635F67-6AB1-497A-873E-5B1D611D8C02@major.on-rev.com> <46F3CD11-459C-44FC-96AA-BC76A61BC48F@twft.com> <3A9B14CC-363E-43B9-820D-C5A61BEBEE22@all-auctions.com> <43675225-623B-404E-84D2-158ED293B8B9@me.com> Message-ID: Hi Chris, I did already go through the process of pointing LiveCode to the Xcode app bundle. I tried your suggestion of making sure that the appropriate simulator version from the Development -> Test Target was chosen, but when I went to do this both the iPad Simulator 6.0 and the iPhone Simulator 6.0 were greyed out. When I went into the Xcode Prefs for Downloads version 5.0 and version 5.1 showed up so I downloaded them, but 6 was nowhere in that list. So, I think I must have 6 somewhere or it would be showing up in that list. I'll try to get the 5.0 and 5.1 Simulators to work. In the meantime, can you think of anything else to try? Thanks, Rick On Oct 1, 2012, at 3:57 PM, Chris Sheffield wrote: > Rick, > > A couple things to check. > > First, make sure you've pointed LiveCode to your Xcode app bundle. I'm assuming you've already done this. Otherwise, the Test option wouldn't even be available to you. But I just wanted to make sure. > > Second, make sure you've selected the appropriate simulator version from the Development -> Test Target menu in LC. I find that sometimes I have to reset this after upgrading LiveCode and/or Xcode. If for some reason you don't have the simulators you want, launch Xcode, open Prefs -> Downloads, and download the additional simulators. With Xcode 4.5 you can go back to iOS simulator 5.0. > > Hope that helps you. > > Chris > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > > > On Oct 1, 2012, at 1:32 PM, Rick Harrison wrote: > >> Hi there, >> >> When Apple decided to force upgrade everything to version 4.5 of Xcode >> is when everything went a bad way for me. Before that I was able to >> run the iOS Simulato,r and connect to my iPad 2 just fine with LiveCode. >> >> I was happily running Lion and then one day Apple forced me to do some >> stupid upgrade or things just wouldn't work. So I tried the upgrade. >> Things still didn't work. People started saying, oh yea, you need to work with >> version 4.5 of the SDK now. Of course you'll need Mountain Lion to run that. >> It just so happened that my MacBook was one Generation too old to run >> Mountain Lion, so then I was forced to purchase a brand new machine just >> so I could get back to coding again. >> >> I purchased the new computer, upgraded it to Mountain Lion since it came >> with Lion installed. I installed Xcode 4.5, upgraded my iPad 2 to iOS 6.0, >> and upgraded to LiveCode 5.5.3rc1. Now when I try to run the Simulator >> it tells me "Unknown Deployment Platform" and still doesn't work! >> >> Anyone else having this problem? I'm dead in the water without any >> direction at this point. Any help is greatly appreciated! >> >> Thanks, >> >> 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 alex at tweedly.net Mon Oct 1 18:36:42 2012 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 01 Oct 2012 23:36:42 +0100 Subject: Bug or just something you can't do ? In-Reply-To: <4F34B311-B3EA-427F-BB76-EF2A84C2169E@twft.com> References: <5068CDFD.1010602@tweedly.net> <5068D289.7020302@fourthworld.com> <5068D63C.8060308@tweedly.net> <4F34B311-B3EA-427F-BB76-EF2A84C2169E@twft.com> Message-ID: <506A1AFA.8040608@tweedly.net> On 01/10/2012 17:40, Bob Sneidar wrote: > It's my understanding that presently you cannot pass an array element by reference. You can only pass the entire array. > Yeah - that's the whole problem I am complaining about :-) > Instead try passing the entire array, then checking inside your command to see if it is an array and then act accordingly. I can't see how to do that (without some *really* ugly code within the handler). The problem is that (in the handler) the parameter is an array passed in by reference so that it can be modified; sometimes I want to call it with an entire array, others with a sub-array (i.e. an array element which is itself an array). So the handler can't simply check whether what was passed was an array. It could require an extra parameter for the array index, and if that was empty use the array parameter as itself, and if non-empty it could index the array - but that means that every usage of the parameter within the handler becomes subject to an if-test. Oh, btw, the real handler has more than one such parameter :-( (example below in case that's not clear). In any case, Pete has confirmed that it is already in QCC as 10070 and 7167 - both marked as duplicate of 6820 It has been open, but "unconfirmed" (though commented on by Mark W), for over 4 years - which pretty much tells me not to hold my breath ;-) I'll just carry on with the ugly work-around described earlier of copying the element into a top-level array, passing that, and copying back afterwards ..... sigh. Thanks everyone for your help and comments. -- Alex. (example - vaguely close to though simpler than the real example) in my library stack (used in 90% of my current projects) function readData pURL, @pData, @pInverse put URL (pURL) into temp repeat for each line L in temp add 1 to tCount put item 2 to -1 of L into pData[item 1 of L] repeat for each item K in (item 2 to -1 of L) put L &CR after pInverse[K] end repeat end repeat return tCount end readData and in some stacks I just do local pData, pInverse put empty into pData put empty into pIndex put readData( someURL, pData, pInverse) into tC .... while in others I'd do repeat for each line thisURL in tListOfURLs put readData( thisURL, pData[thisURL], pInverse) into pData[thisURL]["count"] end repeat ... i.e. can be either a whole array or a sub-array. From stephenREVOLUTION2 at barncard.com Mon Oct 1 18:38:29 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 1 Oct 2012 15:38:29 -0700 Subject: [OT] What does Richmond do with Livecode? In-Reply-To: References: Message-ID: my use of the term 'SMITE' was inspired by a New Yorker cartoon depicting god in heaven looking down on earth, button finger outstretched to a control named 'SMITE' On Mon, Oct 1, 2012 at 3:16 PM, Bob Sneidar wrote: > Thanks Scott! That is going into next app for sure! I'm thinking about a > record deletion confirmation dialog... > > Bob > > > On Oct 1, 2012, at 12:42 PM, Scott Rossi wrote: > > > You're not thinking visual enough: > > http://www.tactilemedia.com/download/smite_button.gif > > > > Regards > > > > Scott Rossi > > Creative Director > > Tactile Media, UX Design > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From bobs at twft.com Mon Oct 1 18:42:07 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Oct 2012 15:42:07 -0700 Subject: command-click on a word In-Reply-To: <19CD97A6-06CB-4695-8C3A-3CFAE450AC04@doctorTimothyMiller.com> References: <7C509FB6-7AE3-458F-9234-CFA8C28A9812@doctorTimothyMiller.com> <19CD97A6-06CB-4695-8C3A-3CFAE450AC04@doctorTimothyMiller.com> Message-ID: <9CCE817A-151A-4A78-90EA-DB93CFD34AB5@twft.com> Command clicking and right-clicking are the same thing in OS x (unless you changed the default prefs). What you are really talking about is a contextual menu. These can be modified. I have an app that does it, thanks to someone on this list who showed me how to modify the contextual menu handler built into LC. Be careful though! Get it wrong and it can cause problems in other ways. To do this, you have to insert some code into the frontScript. My code, which allows me to right click a field in pointer mode, and select a type of validation from options that I added to the normal contextual menu. If only I could remember the people who help me with this kind of thing and give them credit I would, but my memory is an old man's memory. Always has been. It looks like this: on revHookBuildObjectEditorContextMenu pMenuTarget, pMenuName, @pMenu, tModifiedMenu put the topstack into theCurrentStack put the long name of this card of theCurrentStack into theCurrentCard put the customkeys of theCurrentStack into theCustomProps if theCustomProps is empty then pass revHookBuildObjectEditorContextMenu exit revHookBuildObjectEditorContextMenu end if if word 1 of pMenuTarget is among the items of "field" and \ ("PreConversions" is among the lines of theCustomProps or \ "MidValidations" is among the lines of theCustomProps or \ "PostValidations" is among the lines of theCustomProps) then put "Data Type" into line 1 of theValMenu put tab & "Text" into line 2 of theValMenu put tab & "Number" into line 3 of theValMenu put tab & "Date" into line 4 of theValMenu put "-" into line 5 of theValMenu put "Pre-Conversions" into line 6 of theValMenu put "Mid-Validations" into line 7 of theValMenu put "Post-Validations" & lf & "-" & lf into line 8 of theValMenu -- put the valMenu of me into theValMenu put theValMenu before pMenu end if -- preCheck the data type if "DataType" is among the lines of the customkeys of pMenuTarget then put the DataType of pMenuTarget into theDataType if theDataType is not empty then put lineoffset(theDataType, pMenu) into theTypeLine if theTypeLine is not 0 then put "!c" before word 1 of line theTypeLine of pMenu end if end if end if pass revHookBuildObjectEditorContextMenu end revHookBuildObjectEditorContextMenu function dispatchContextMenuPick pMenuName, pWhich if "Data Type" is in pWhich or \ "Validations" is in pWhich or \ "Conversions" is in pWhich then send "initVal" && pWhich to the topstack in 0 seconds exit to top -- essential that we do not pass anything along that LC does not expect end if pass dispatchContextMenuPick end dispatchContextMenuPick This code is fairly specific to what I want to do, but if you study it you will be able to discern what it does. The first function intercepts the revHookBuildObjectEditorContextMenu, which is responsible for building the contextual menu for all objects in LC. Having done that, I check for certain conditions, such as a custom property of the stack, and the fact that it was a field that was clicked on. I then proceed to append options to the menu text. The next function conditionally acts upon what was chosen. On Oct 1, 2012, at 2:40 PM, Timothy Miller wrote: > Thanks Peter and Craig, > > Good thoughts, but I wasn't thinking of either one of those things. I am aware of the new LC text property that makes spell check possible in LC, I have looked at the spell-checker in the LC store, and I do remember the HC command-key feature. (Heck, my Atari 64 seems like just yesterday!) You've probably overestimated me. My question was much dumber than that. > > I'm just wondering two things. Is command-clickng on a hilited word an OS thing, or does each application implement this feature independently? If it's an OS thing, it might not be not very hard to implement. In that case why doesn't LC do it? I.e., not just spell-check but all those other cute tricks -- look up on google, look up in the dictionary, cut, copy, etc? > > Cheers, > > Tim > > > On Oct 1, 2012, at 12:28 PM, Peter Haworth wrote: > >> Hi Tim, >> There was a similar discussion a few months back regarding the spell >> checking ability built into an OS, specifically OSX. The outcome of that >> was simply that LC doesn't provide a way to hook into it so I think the >> answer to your question would be the same. >> >> There is a third party spell checker application available on the RunRev >> store but I don;t remember seeing anything for the feature you mentioned. >> >> Pete >> lcSQL Software >> >> >> >> On Mon, Oct 1, 2012 at 10:34 AM, Timothy Miller < >> gandalf at doctortimothymiller.com> wrote: >> >>> I'm not writing to complain about an absent feature. Mostly just curious, >>> and maybe I'll learn something useful. >>> >>> In recent years, I've come to take it for granted that I can hilite a word >>> and command-click on it to get a pop-up dialog box with items like "cut" >>> "copy" "look up in dictionary" and so on. The specific items depend on the >>> application, but the dialog box usually looks the same. >>> >>> A few minutes ago, I tried this in a text field an a LC stack and thought, >>> "Hey, why doesn't that work!?" Then I remembered that LC doesn't do that, >>> as far as I know. Yet I have the impression that this is an OS function >>> that any application could invoke. >>> >>> So, my question: Is this an OS function? If so, why doesn't LC take >>> advantage of it? >>> >>> I suppose it could be scripted. Is there an LC add-on that conveniently >>> adds this functionality? Or maybe there's a simple LC command I don't know >>> about? >>> >>> Cheers, >>> >>> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Oct 1 19:00:15 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 01 Oct 2012 18:00:15 -0500 Subject: command-click on a word In-Reply-To: <19CD97A6-06CB-4695-8C3A-3CFAE450AC04@doctorTimothyMiller.com> References: <7C509FB6-7AE3-458F-9234-CFA8C28A9812@doctorTimothyMiller.com> <19CD97A6-06CB-4695-8C3A-3CFAE450AC04@doctorTimothyMiller.com> Message-ID: <506A207F.2020704@hyperactivesw.com> On 10/1/12 4:40 PM, Timothy Miller wrote: > I'm just wondering two things. Is command-clickng on a hilited word > an OS thing, or does each application implement this feature > independently? If it's an OS thing, it might not be not very hard to > implement. In that case why doesn't LC do it? I.e., not just > spell-check but all those other cute tricks -- look up on google, > look up in the dictionary, cut, copy, etc? It's an OS X Service and apps can hook into it if they want. I suspect LiveCode doesn't do it because of its cross-platform nature. None of the other operating systems have it and branching the engine code to support a single OS is probably a lot of work. It wouldn't make our jobs any easier either, since only apps built for Macs would work with it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Oct 1 19:09:45 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 01 Oct 2012 18:09:45 -0500 Subject: [OT] Facebook In-Reply-To: <43549E44-0BD7-4FF5-8E15-0A24C01F416F@twft.com> References: <50688FBD.5010905@gmail.com> <50689D41.3040108@hyperactivesw.com> <80DC1B02-44B1-4336-9351-772AB5249230@twft.com> <5069EE54.9050709@hyperactivesw.com> <43549E44-0BD7-4FF5-8E15-0A24C01F416F@twft.com> Message-ID: <506A22B9.4060706@hyperactivesw.com> On 10/1/12 5:14 PM, Bob Sneidar wrote: > As far as > identity theft, I am not sure how having a picture of me can induce a > bank to start up an account with my name. From the research paper: "We investigated the feasibility of combining publicly available Web 2.0 data with off-the-shelf face recognition software for the purpose of large-scale, automated individual re-identification. Two experiments demonstrated the ability of identifying strangers online (on a dating site where individuals protect their identities by using pseudonyms) and offline (in a public space), based on photos made publicly available on a social network site. A third proof-of-concept experiment illustrated the ability of inferring strangers' personal or sensitive information (their interests and Social Security numbers) from their faces, by combining face recognition, data mining algorithms, and statistical re-identification techniques. The results highlight the implications of the inevitable convergence of face recognition technology and increasing online self-disclosures, and the emergence of ``personally predictable'' information." From the original link: "Drawing upon previous research, they were also relatively successful at guessing individuals? Social Security numbers. From there, of course, it is just an automated click to your Google profile, LinkedIn work history, credit report, and many other slices of private information. " Once you have enough info, you walk into the bank and open an account. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Mon Oct 1 19:22:57 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Oct 2012 16:22:57 -0700 Subject: Bug or just something you can't do ? In-Reply-To: <506A1AFA.8040608@tweedly.net> References: <5068CDFD.1010602@tweedly.net> <5068D289.7020302@fourthworld.com> <5068D63C.8060308@tweedly.net> <4F34B311-B3EA-427F-BB76-EF2A84C2169E@twft.com> <506A1AFA.8040608@tweedly.net> Message-ID: <392F9EB8-8E7E-46E6-ACAF-083891B82B53@twft.com> Yes, a conditional test for an array would be necessary, as well as a loop for multiple elements of the array. It's not that hard really, and once the code is written, it will "just work", which is the whole point of writing utility handlers. It may seem ugly, but think of it from the other end. The calling program has a one liner it can call, and can pass a normal variable, or an array. Think of this also. Somewhere the code is going to have to be complicated enough to handle the situation. Better in the handler, written once, used many times, than in the calling code which may have to be rewritten for every app that needs it. Just my 2?. Bob On Oct 1, 2012, at 3:36 PM, Alex Tweedly wrote: > On 01/10/2012 17:40, Bob Sneidar wrote: >> It's my understanding that presently you cannot pass an array element by reference. You can only pass the entire array. >> > Yeah - that's the whole problem I am complaining about :-) >> Instead try passing the entire array, then checking inside your command to see if it is an array and then act accordingly. > I can't see how to do that (without some *really* ugly code within the handler). The problem is that (in the handler) the parameter is an array passed in by reference so that it can be modified; sometimes I want to call it with an entire array, others with a sub-array (i.e. an array element which is itself an array). So the handler can't simply check whether what was passed was an array. From bobs at twft.com Mon Oct 1 19:24:50 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Oct 2012 16:24:50 -0700 Subject: [OT] What does Richmond do with Livecode? In-Reply-To: References: Message-ID: <3C32B81E-1CDE-4CD7-9EDB-C076564DC6DF@twft.com> Mrrphh grrggle mrrphhhplhle grrphphlt! On Oct 1, 2012, at 3:38 PM, stephen barncard wrote: > my use of the term 'SMITE' was inspired by a New Yorker cartoon depicting > god in heaven looking down on earth, button finger outstretched to a > control named 'SMITE' > > On Mon, Oct 1, 2012 at 3:16 PM, Bob Sneidar wrote: > >> Thanks Scott! That is going into next app for sure! I'm thinking about a >> record deletion confirmation dialog... >> >> Bob From pete at lcsql.com Mon Oct 1 19:52:04 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 1 Oct 2012 16:52:04 -0700 Subject: Bug or just something you can't do ? In-Reply-To: <506A1AFA.8040608@tweedly.net> References: <5068CDFD.1010602@tweedly.net> <5068D289.7020302@fourthworld.com> <5068D63C.8060308@tweedly.net> <4F34B311-B3EA-427F-BB76-EF2A84C2169E@twft.com> <506A1AFA.8040608@tweedly.net> Message-ID: Hi Alex, Not sure if this will reduce the complexity of dealing with arrays/subarrays but when this came up before, I learned something about array keys I didn't know before, posted by Dick Kriesel. An extract from his post follows. LC has a way to get and set a node at any level of an array, without code that concatenates [ ] to specify the node. In an array reference a single [ ] can enclose an array of keys, as you can see in the code below. Put the following into a button and click it. The code invokes the debugger so you can see the array and the result string on the variables tab. Pete lcSQL Software On Mon, Oct 1, 2012 at 3:36 PM, Alex Tweedly wrote: > I can't see how to do that (without some *really* ugly code within the > handler). The problem is that (in the handler) the parameter is an array > passed in by reference so that it can be modified; sometimes I want to call > it with an entire array, others with a sub-array (i.e. an array element > which is itself an array). So the handler can't simply check whether what > was passed was an array. It could require an extra parameter for the array > index, and if that was empty use the array parameter as itself, and if > non-empty it could index the array - but that means that every usage of the > parameter within the handler becomes subject to an if-test. Oh, btw, the > real handler has more than one such parameter :-( > From bonnmike at gmail.com Mon Oct 1 20:27:25 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 1 Oct 2012 18:27:25 -0600 Subject: Would anyone mind.. In-Reply-To: <8017A228-604E-4C81-82DB-E4AD0837AD4B@mac.com> References: <8017A228-604E-4C81-82DB-E4AD0837AD4B@mac.com> Message-ID: Thanks for the kind words, glad it actually worked too! Mike On Mon, Oct 1, 2012 at 10:03 AM, Jim Little wrote: > Hi Mike, > > Thank you for contributing this plugin to the community. > > I've tried it out this morning and it worked flawlessly. > > I like your UI as it is ? simple and intuitive. > > The code is nicely documented. > > Thanks again, > > Jim Little > > > On Sep 30, 2012, at 6:52 PM, Mike Bonner wrote: > > > Would anyone mind checking over a stack for me? I've come to the > > conclusion that I just don't have the energy for a real project (plus > with > > my design skills its pretty much out of my reach) but I do think there > are > > some useful aspects to the thing as it sits right now. Unfortunately my > > other efforts to extend it have.. er.. How to put this politely. Ok > > they've sucked. > > > > As it sits, the stack will track the mainstacks that are open, filtered > > based on a list of filters in a field. (to eliminate untitled mainstacks > > and rev stacks from the list) The list should auto update when changes > are > > made (thanks to pete, thanks pete!) > > It also maintains a list of all stacks currently backed up. The backups > are > > stored in an array in a property of the stack. > > > > What its good for: > > Want to take a snapshot of a mainstack and all of its substacks that are > in > > memory? (They don't have to be saved, and even if they are, the version > is > > memory is what will be backed up) select from the list and click backup. > > The stacks are added to the array of backed up stacks, and the plugin > > stack saves itself. > > > > If you took a snapshot of a stack hierarchy and then manage to break the > > stack you're working on, you can then recover the snapshot and look at > the > > code of the recovered copy along side the main working stack. If a stack > is > > with an identical name is already in memory the recovered stacks are > named > > "copy of thestackname" so there is no worry about the "that stack is > > already in memory" message. > > > > Want to revert to the snapshot? Just close the stacks you wish to dump, > > then either rename the "copy of.." or close the misnamed stacks and then > > recover them again. They'll pop back out with the correct name as long > as a > > stack name is not already in use. If the destroystack property is not set > > for your stacks this means forcibly removing them from memory. > > > > Thats about it. Why am I blabbing all this here? Because someone (with a > > better grasp of design and structure for this sort of thing, AKA not me) > > could easily convert the method in to a cvs. The sheer speed at which a > > stack and its substacks can be grabbed this way is amazing, So, anyone > and > > everyone is welcome to look it over, incorporate any pieces and/or parts > > into different projects, mangle it, whatever. > > > > The current version of the stack can be found at > > https://dl.dropbox.com/u/11957935/mdbRevisionPlugin.livecode The > automagic > > stack updates won't work unless the stack script is inserted into front. > > The scripts are documented, and there is a test stack "saved" as a backup > > in a property of the stack. the test stack has a field with another short > > description of how things work. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 1 21:45:29 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 2 Oct 2012 11:45:29 +1000 Subject: [ANN] Huge mergExt update! Message-ID: <4818D0C9-F255-473D-B843-D5E4BB86C3BB@sweattechnologies.com> Dear LiveCoders Today there has been a huge update to the mergExt suite. The major new features are: - activity view (mergPop 2) - present the iOS 6 activity controller allowing the user to post text, images, and urls to twitter, facebook, copy, print etc. With one simple command you can add all of these services to your app. - iPod library queries (New external mergMP) - access artwork, titles, playlists, lyrics. Everything you need to create a media player in LiveCode. - camera control (mergAV 3) - flash and torch control - thumbnail images in the callback rather than needing to handle a full high res file if you don't need to - video and image picker (mergAV 3 - now you can allow a user to pick either video or a photo from the library at the same time - video composition (mergAV 3) - load assets and create video compositions to export as new videos - player (mergAV 3) - play compositions before exporting them - play direct from ipod library - full control to seek, play, pause, change rate - audio session (mergAV 3) - change the audio session categories and modes - find out if other audio app is playing - allow your app to mix with or duck other apps audio. A simple example of duking might be an exercise timer that ducked the iPod audio when playing a start or stop bell. - maps (mergMK) - use custom images as pins - draw polygon overlays - datagrid scroller (mergDataGridScroller) - over and under scroll bounce back of the datagrid As many of you may know LiveCode 5.5.2 introduced an engine change that required iOS externals to be significantly modified. All the mergExt externals have been updated for LC 5.5.2, however, there is continued support back to LiveCode 5. There have also been a number of bug fixes in the externals SDK. The most significant of these now allows externals to find out the scale the stack is displayed at on retina devices so popover locations and control rects can now be set in LiveCode pixels rather than UIKit points. The individual components in the suite now have a total value of $524 making the price for the suite ridiculously low so as of November 1 the price of the suite will rise to $299 per year of access. The 20% discount for buying another year of access before your time is up will continue to apply. You can do this at any time as it is added to the end. The monthly subscription will rise to $79 for the first month and $20 per month ongoing. For existing subscribers your subscription rate will not be modified unless you cancel and re-subscribe. That means that until the end of the month you are able to lock in a subscription for $10 a month ongoing to the suite. Or if you prefer purchasing a year at a time you can buy up as many years as you like at the existing rate. This is your chance to beat the price rise! Regards Monte Goulding -- 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 Mon Oct 1 21:56:39 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Mon, 1 Oct 2012 18:56:39 -0700 (PDT) Subject: Would anyone mind.. In-Reply-To: References: <8017A228-604E-4C81-82DB-E4AD0837AD4B@mac.com> Message-ID: <1349142999758-4655711.post@n4.nabble.com> Hi Mike, what is a cvs? -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Would-anyone-mind-tp4655630p4655711.html Sent from the Revolution - User mailing list archive at Nabble.com. From bonnmike at gmail.com Mon Oct 1 21:58:27 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 1 Oct 2012 19:58:27 -0600 Subject: Would anyone mind.. In-Reply-To: <1349142999758-4655711.post@n4.nabble.com> References: <8017A228-604E-4C81-82DB-E4AD0837AD4B@mac.com> <1349142999758-4655711.post@n4.nabble.com> Message-ID: er.. vcs. :) cvs is dislexia. On Mon, Oct 1, 2012 at 7:56 PM, Mark Smith wrote: > Hi Mike, what is a cvs? > > -- Mark > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Would-anyone-mind-tp4655630p4655711.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 jacque at hyperactivesw.com Mon Oct 1 22:09:12 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 01 Oct 2012 21:09:12 -0500 Subject: iOS Keyboard input question In-Reply-To: References: Message-ID: <506A4CC8.7020402@hyperactivesw.com> On 10/1/12 9:14 AM, Graham Samuel wrote: > I'm working on an iOS app where keyboard input is allowed for a set > of fields shown on the screen of the device: some are still visible > when the keyboard comes up, i.e. not hidden by the keyboard - this is > by design. These single-line fields are locked, with TraversalOn > true, since in iOS you can't type directly into a field but have to > do it via the system keyboard. > > What the user does is to touch a field which he/she wants to update. > This triggers a data entry sequence starting with a 'focusIn' handler > which brings up the keyboard and a particular screen area (a > pseudo-field really) to type into, as per the current LC iOS > documentation. After input, the user touches 'Done' and this triggers > a 'inputEndEditing' handler which allows my script to look at the > text which has been input, verify it, put it away in the original > field which started the sequence, and remove the keyboard by making > it invisible. So far so good. > > However, what I find a typical user wants to do is to bypass the > 'Done' key after doing the initial input and instead simply touch > another field that needs updating and is not obscured by the > keyboard. This, I find, does fire 'focusIn', but the keyboard display > goes wrong. What I want to happen is for my 'inputEndEditing' actions > to take place normally for the initial field, including (momentary) > closing of the keyboard, followed immediately by the 'normal' action > for the second field to be touched. (I need the keyboard to be > replaced between actions since sometimes I want a text keyboard and > sometimes a numeric one.) I thought the inputEndEditing message was sent whenever the input field loses focus. Seems like you should be getting that message right before the second field triggers the focusIn message. Is that not happening? You could insert a temporary "put" statement at the beginning of the handler to see if it is triggering, and watch for it in Console. Maybe something is aborting the handler before it finishes executing. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dunbarx at aol.com Mon Oct 1 22:25:49 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 1 Oct 2012 22:25:49 -0400 (EDT) Subject: Finally found one. In-Reply-To: References: <8017A228-604E-4C81-82DB-E4AD0837AD4B@mac.com> <1349142999758-4655711.post@n4.nabble.com> Message-ID: <8CF6E5C5EAD0914-1B24-66F4F@webmail-m081.sysops.aol.com> Finally found reproducible scripts that work as advertised when stepping through in the deBugger, but do not when simply run. This gremlin has been sighted, like the Yeti, by nominally sane people, but never caught. Make two buttons. Name one "start". Name the other "stop". in btn "start": on mouseUp put the seconds + 8 into tSecs showrandoms tSecs end mouseUp In btn "stop": on mouseup send "showRandoms" && 0 to this card end mouseup In the card script: on showRandoms tSecs put random(99) if tSecs = 0 then exit to top end if if tSecs > the seconds then send "showRandoms" && tSecs to me in 0 millisecs end showRandoms Try it. If you press the "start" button, you get random numbers in msg for eight seconds. If you press the "stop" not while this is going on, nothing happens. If you place a breakpoint at the "exit to top" line in the card script. the handler is caught there, and if you then step through, you exit. The "stop" button resets the variable "tSecs" to a value that will force showRandoms to end. And it does, but only if you step through, not if you run it. The variable watcher shows a "0" as the value of tSecs, as it should, and the conditional tosses you out of the handler. As it should. But not in a normal run, only in the debugger. I have been chasing this since 1987. I am not crazy. I have pictures. I will start a support group. Craig Newman From harrison at all-auctions.com Mon Oct 1 22:29:40 2012 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 1 Oct 2012 22:29:40 -0400 Subject: iOS Can't Make a Standalone! In-Reply-To: References: <50689A7B.8000006@hyperactivesw.com> <3F635F67-6AB1-497A-873E-5B1D611D8C02@major.on-rev.com> <46F3CD11-459C-44FC-96AA-BC76A61BC48F@twft.com> <3A9B14CC-363E-43B9-820D-C5A61BEBEE22@all-auctions.com> <43675225-623B-404E-84D2-158ED293B8B9@me.com> Message-ID: Hi Chris, Ok, I managed to get the Simulators to work, and I can make a Standalone, but now I get: No code signature found from Xcode! Please don't tell me I have to go through the grueling Provisioning Profile again! Xcode says I have a valid Provisioning Profile. Thanks for any helpful suggestions in advance. Rick On Oct 1, 2012, at 6:27 PM, Rick Harrison wrote: > Hi Chris, > > I did already go through the process of pointing LiveCode to the Xcode app bundle. > > I tried your suggestion of making sure that the appropriate simulator version from the > Development -> Test Target was chosen, but when I went to do this both the iPad > Simulator 6.0 and the iPhone Simulator 6.0 were greyed out. When I went into > the Xcode Prefs for Downloads version 5.0 and version 5.1 showed up so I downloaded > them, but 6 was nowhere in that list. So, I think I must have 6 somewhere or it would be > showing up in that list. > > I'll try to get the 5.0 and 5.1 Simulators to work. > > In the meantime, can you think of anything else to try? > > Thanks, > > Rick From dochawk at gmail.com Mon Oct 1 22:43:36 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 1 Oct 2012 19:43:36 -0700 Subject: Would anyone mind.. In-Reply-To: References: <8017A228-604E-4C81-82DB-E4AD0837AD4B@mac.com> <1349142999758-4655711.post@n4.nabble.com> Message-ID: On Mon, Oct 1, 2012 at 6:58 PM, Mike Bonner wrote: > er.. vcs. :) cvs is dislexia. Nah, I can see the sign for the local CVS from my back yard. I'd rather look from the front to the Sam's Town sign, though . . . -- Richard E. Hawkins, Esq. (702) 508-8462 From bonnmike at gmail.com Mon Oct 1 22:48:27 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 1 Oct 2012 20:48:27 -0600 Subject: Would anyone mind.. In-Reply-To: References: <8017A228-604E-4C81-82DB-E4AD0837AD4B@mac.com> <1349142999758-4655711.post@n4.nabble.com> Message-ID: ok, my turn. Whats cvs? (would probably know but I live in bfe) On Mon, Oct 1, 2012 at 8:43 PM, Dr. Hawkins wrote: > On Mon, Oct 1, 2012 at 6:58 PM, Mike Bonner wrote: > > er.. vcs. :) cvs is dislexia. > > Nah, I can see the sign for the local CVS from my back yard. I'd > rather look from the front to the Sam's Town sign, though . . . > > > -- > 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 Mark_Smith at cpe.umanitoba.ca Mon Oct 1 23:12:14 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Mon, 1 Oct 2012 20:12:14 -0700 (PDT) Subject: connecting to mysql In-Reply-To: <04D458C6-A0A8-41D2-AE83-8F64A3B06718@economy-x-talk.com> References: <1348891177408-4655547.post@n4.nabble.com> <04D458C6-A0A8-41D2-AE83-8F64A3B06718@economy-x-talk.com> Message-ID: <1349147534660-4655718.post@n4.nabble.com> Hi Mark, I contacted RR about their MySQL lesson and they sent me updated connection parameters: ????put "runrev.com" into tDatabaseAddress ????put "runrev_test" into tDatabaseName ????put "runrev_example" into tDatabaseUser ????put "example" into tDatabasePassword ????-- connect to the database ???put revOpenDatabase("MySQL", tDatabaseAddress, tDatabaseName, tDatabaseUser, tDatabasePassword) into tResult Worked for me. -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/connecting-to-mysql-tp4655547p4655718.html Sent from the Revolution - User mailing list archive at Nabble.com. From dochawk at gmail.com Mon Oct 1 23:47:27 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 1 Oct 2012 20:47:27 -0700 Subject: mysql question In-Reply-To: <03AE5028-17F3-4FED-AE95-0BC358D1F26C@twft.com> References: <1349035880377-4655596.post@n4.nabble.com> <9379BF40-FEC4-4F0A-BF59-83C6ABBE44B0@economy-x-talk.com> <1349037570802-4655598.post@n4.nabble.com> <03AE5028-17F3-4FED-AE95-0BC358D1F26C@twft.com> Message-ID: On Mon, Oct 1, 2012 at 9:48 AM, Bob Sneidar wrote: > I may have missed the post prior, but I believe this is true only of sqLite databases. In a >mySQL database, LC would not create a new database because of the security built >into mySQL. I may well be mistaken; I'm hardly an expert. I though it was the local db creating on the opendatabse() command, with the mysql not doing it as a remote/server issue. > So far as I know, if you want to create a new mySQL database, you will have to shell >in to a mySQL server. Also, if it is a hosted server you may not be able to do even >that because of the front end security involved. Most seem to have that blocked, too. -- Richard E. Hawkins, Esq. (702) 508-8462 From kray at sonsothunder.com Mon Oct 1 23:50:02 2012 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 1 Oct 2012 22:50:02 -0500 Subject: [ANN] Huge mergExt update! In-Reply-To: <4818D0C9-F255-473D-B843-D5E4BB86C3BB@sweattechnologies.com> References: <4818D0C9-F255-473D-B843-D5E4BB86C3BB@sweattechnologies.com> Message-ID: On Oct 1, 2012, at 8:45 PM, Monte Goulding wrote: > Dear LiveCoders > > Today there has been a huge update to the mergExt suite. The major new features are: Sweet! Came just in the nick of time for my project? Thanks, Monte! Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From bvlahos at mac.com Mon Oct 1 23:50:30 2012 From: bvlahos at mac.com (William Vlahos) Date: Mon, 01 Oct 2012 20:50:30 -0700 Subject: iOS error reporting Message-ID: <7932AC5A-D132-42AE-9DB8-5E388A092AEF@mac.com> The Simulator shows that there is an error on a particular line but it doesn't report which script contains the error. Is there a way to have the error be more explicit and actually tell me what script and object is the problem? Thanks, 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 littlejamesw at mac.com Tue Oct 2 00:23:02 2012 From: littlejamesw at mac.com (Jim Little) Date: Mon, 01 Oct 2012 21:23:02 -0700 Subject: Would anyone mind.. In-Reply-To: References: <8017A228-604E-4C81-82DB-E4AD0837AD4B@mac.com> <1349142999758-4655711.post@n4.nabble.com> Message-ID: <7ACE3486-C230-4B1B-9CDA-BB789C3C4042@mac.com> Mike, I agree. It does seem that your plugin could be readily expanded into a version control system. Jim Little On Oct 1, 2012, at 7:48 PM, Mike Bonner wrote: > ok, my turn. Whats cvs? (would probably know but I live in bfe) > > On Mon, Oct 1, 2012 at 8:43 PM, Dr. Hawkins wrote: > >> On Mon, Oct 1, 2012 at 6:58 PM, Mike Bonner wrote: >>> er.. vcs. :) cvs is dislexia. >> >> Nah, I can see the sign for the local CVS from my back yard. I'd >> rather look from the front to the Sam's Town sign, though . . . >> >> >> -- >> 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 james at thehales.id.au Tue Oct 2 00:39:04 2012 From: james at thehales.id.au (James Hale) Date: Tue, 2 Oct 2012 14:39:04 +1000 Subject: Datagrid's scroll bar thumb moves but data doesn't. (Solved) Message-ID: <4AF7ED8A-274C-4430-ABA4-A04BF01E3128@thehales.id.au> I seem to have solved the datagrid not scrolling issue. Quite by accident I reduced the datagrid area in order to add a new one and try some different method of populating it. Belief in suspicious behaviour I know. In any case before doing more than changing the original's size I looked at another issue and inadvertently scrolled over the original datagrid. It scrolled! I then resized the datagrid back to where it was and the scroll stopped working again. I then realized that the top edge of the datagrid was under the bottom edge of another field. Only by a pixel or two. This overlap was the problem. Or so I thought. Playing around with how close I could get the two fields resulted in my not being able to reproduce the original problem. So my issue is resolved, but I don't know by what means. James From mwieder at ahsoftware.net Tue Oct 2 01:08:42 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 1 Oct 2012 22:08:42 -0700 Subject: Finally found one. In-Reply-To: <8CF6E5C5EAD0914-1B24-66F4F@webmail-m081.sysops.aol.com> References: <8017A228-604E-4C81-82DB-E4AD0837AD4B@mac.com> <1349142999758-4655711.post@n4.nabble.com> <8CF6E5C5EAD0914-1B24-66F4F@webmail-m081.sysops.aol.com> Message-ID: <105789022203.20121001220842@ahsoftware.net> Craig- Monday, October 1, 2012, 7:25:49 PM, you wrote: [bunch of stuff deleted] > Try it. If you press the "start" button, you get random numbers > in msg for eight seconds. If you press the "stop" not while this is > going on, nothing happens. You need to give the engine some room to breathe. Insert the line wait 0 milliseconds with messages at the start of your showRandoms function. The "with messages" part will allow the engine a chance to look around and see if any events have occurred (as for instance someone pressing the Stop button). Otherwise you've coded up a loop that's so tight the engine will never see the mouseUp (or any other) message. When you're running this in the debugger there are a lot of engine events happening - your actual code is only a small fraction of that, and the engine is paying attention to everything in the environment. That's why your mouseclicks get registered. -- -Mark Wieder mwieder at ahsoftware.net From dave at businessplaninsight.com Tue Oct 2 06:08:41 2012 From: dave at businessplaninsight.com (Dave Kilroy) Date: Tue, 2 Oct 2012 12:08:41 +0200 Subject: launch iOS app with a personalised message In-Reply-To: References: Message-ID: Thanks Monte, yep I can certainly sent username and password but that means user has to register themselves on the app And thanks for the inspired IP suggestion, would not have thought of that - but it's rather fragile as a system like you say? The closest thing I've been able to find is the 'Custom URL' scheme where an already installed app can be woken up with a personalised message (or other data) by sending a link to the phone - so once the app is installed SMS texts sent to the device can launch the app with personalised alerts (at least I think so if I've understood properly) But that won't help with the first launch of the app after installation - unless of course a custom URL request stays in memory until the app is launched? (but that would mean the device would have to remember the custom URL whilst it goes to the AppStore, installs the app and can then recall it when launching the app for the first time - which does seem pretty unlikely?) Has anyone used Custom URL and can they confirm or deny whether they can be used for the initial launch of an app? Kind regards Dave > From: Monte Goulding > > Hmm... Could you send a username and pass too? If not then maybe the SMS links to a script that associates their ip with their details then redirects them to the app store and then the app gets that from the script. I think you would want to have a backup username and password though incase their ip changes between download and use or some other issue messes it up. > > Cheers > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > > On 01/10/2012, at 7:53 AM, Dave Kilroy wrote: > >> Hello all LiveCode coders - can you help me with this? Can't think of how to do it? >> >> I've got a prospective client that wants to be able to send their new customers a SMS which will contain a link to the AppStore, from where they can download the app they want me to make for them. And that's fine, I can understand how that will work. >> >> The thing is they want their customer to get a personalised message on launching the app (or pretty quickly thereafter) saying something like "Hello Mr/Mrs XXXX, thank you for downloading this new app. This is a reminder that your appointment is at time-time-date-date-date. Yours sincerely XXXXX Dental Practice" (they're dentists). >> >> Is this possible to do? I can think of various approaches that almost make it work, but nothing that will do it all. >> >> Thank you for any light you can shed on this problem. >> >> ?Distracted of Devon... >> >> Dave >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > ------------------------------ > > Message: 31 > Date: Sun, 30 Sep 2012 15:14:42 -0700 > From: Richard Gaskin > To: use-livecode at lists.runrev.com > Subject: Re: resizing datagrids on mobile > Message-ID: <5068C452.1070508 at fourthworld.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Andre Garzia wrote: > >> I think we need real tables, not the datagrid. Even though the datagrid is >> a really impressive proof of what can be done with LiveCode alone, it is >> really hard to use some times. > > When you need a form layout for displays which may exceed 32k pixels, > the DataGrid is a great solution. > > But for simple lists, unless you're displaying financial data the native > field object works great, better now in v5.5 than ever before since we > now have zero-width columns so we can include things like record IDs > without having to show those to the user. Up to 4GB of data can be > displayed easily in a single object that buffers and scolls more > smoothly than Excel. > > The only drawback to fields is with financial data, since you'll need > independent column alignment to right-align numbers while left-aligning > text. > > With all the new stuff they added to fields for v5.5 I can't imagine how > they overlooked the proposed tabAlign property: > > > Being able to specify distinct alignments for each column is essential > for any app that displays numeric data. > > With so many other long-awaited list essentials already implemented in > v5.5, I'm hoping we'll see tabAlign in v5.5.3. > > -- > 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 > http://lists.runrev.com/mailman/listinfo/use-livecode > > End of use-livecode Digest, Vol 108, Issue 52 > ********************************************* > From pmbrig at gmail.com Tue Oct 2 08:23:34 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 2 Oct 2012 08:23:34 -0400 Subject: [OT] What does Richmond do with Livecode? In-Reply-To: References: <50688FBD.5010905@gmail.com> <50689D41.3040108@hyperactivesw.com> <003d01cd9ff2$bb703f10$3250bd30$@net> Message-ID: <9534DBA3-F4BC-4690-A100-53469329AA05@gmail.com> As a psychiatrist, I do not want any of my personal info available to random others (read: "possibly personality-disordered patients"), and my solution was to open a Facebook account with minimal information and maximal privacy settings mainly so I could post an occasional comment on my daughter's and nephew's Facebook pages. However, the privacy settings are complex enough -- and Facebook's propensity to share my info without my knowledge is so worrisome -- that I haven't been able to decipher them. As a result, I still run into some roadblocks, eg I got stymied by a recent NPR suggestion to share some brief slogans re why I listen to NPR when I found that it was only accessible through Facebook and that it required me to open my page info to be available to send to NPR. At that point I gave up. It's annoying to me when anyone restricts their communication to the Facebook channel. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Oct 1, 2012, at 12:58 PM, stephen barncard wrote: > I find facebook to be quite useful for business in my world. The trick is > not to get hung up with everyone else's drama, choose your 'friends' wisely > and SMITE those who give you trouble or waste your time. > > facebook can be like one's own tv station for one's ego, business, cause, > whatever. > > It's not just a place for people that can't design their own websites. But > just like websites, facebook pages must be tended and active. From pmbrig at gmail.com Tue Oct 2 08:42:11 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 2 Oct 2012 08:42:11 -0400 Subject: command-click on a word In-Reply-To: <9CCE817A-151A-4A78-90EA-DB93CFD34AB5@twft.com> References: <7C509FB6-7AE3-458F-9234-CFA8C28A9812@doctorTimothyMiller.com> <19CD97A6-06CB-4695-8C3A-3CFAE450AC04@doctorTimothyMiller.com> <9CCE817A-151A-4A78-90EA-DB93CFD34AB5@twft.com> Message-ID: <27D04683-7D91-4B57-BC57-31F94DBF0D05@gmail.com> On Oct 1, 2012, at 6:42 PM, Bob Sneidar wrote: > Command clicking and right-clicking are the same thing in OS x (unless you changed the default prefs). Unless I am mistaken, this is not true. In OSX, control-clicking and right clicking are the same thing, but not the same as command-clicking -- the common denominator is that they both trigger a mouseup message even in an unlocked field. E.g., put this in a field script and you'll see the difference: on mouseup tBtn if tBtn = 3 then put "controlkey:" && the clicktext else if the commandkey is down then put "commandkey:" && the clicktext end if end mouseup Control-click on a word and you'll get the "controlkey" branch, command-click on a word and you'll get the "commandkey" branch. I don't find anything in the preferences that changes this, but maybe I'm missing something?. You can roll your own popup menu for what you want. I have a library with a button and a script for a function "popChoose" that makes this very easy: put "choice 1" & cr & "second choice" & cr & "last choice" into tChoices put popChoose(tChoices) into userChoice switch userChoice case "choice 1" If anyone wants this then I'll post it. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From admin at FlexibleLearning.com Tue Oct 2 08:50:10 2012 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Tue, 2 Oct 2012 13:50:10 +0100 Subject: Leaving stack open In-Reply-To: Message-ID: Using the LiveCode IDE, is it possible to keep a stack open after closing the LiveCode menubar? Using the MC IDE, I am used to this behavior and would like to retain it! Hugh Senior FLCo From dunbarx at aol.com Tue Oct 2 09:47:56 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 2 Oct 2012 09:47:56 -0400 (EDT) Subject: Finally found one. Message-ID: <8CF6EBBA9B0E1BC-DFC-6B7F8@webmail-m007.sysops.aol.com> Mark. I thought of that, but believed that the "send in time", where I even increased the time value to, say, 100 ticks, would be more than enough to allow the engine to "rest". So I am misunderstanding the two paths. I see clearly what "wait with messages" does. But I am trying to avoid "wait" in general. This from an old HC user. But I thought that "send in time" also placed control back in the hands of the engine (the message pending) for the specified interval. What else is going on during that time? There is no loop. The handler ends, the message is queued, and I would have thought that I can invoke a new instance of that handler from another source, like clicking a button. This was derived from a post I made on the forum. I tried something like this, and failed, eventually setting a custom property and checking its value to allow the poster to do just what I mentioned. Thanks, Craig -----Original Message----- From: Mark Wieder To: How to use LiveCode Sent: Tue, Oct 2, 2012 1:10 am Subject: Re: Finally found one. Craig- Monday, October 1, 2012, 7:25:49 PM, you wrote: [bunch of stuff deleted] > Try it. If you press the "start" button, you get random numbers > in msg for eight seconds. If you press the "stop" not while this is > going on, nothing happens. You need to give the engine some room to breathe. Insert the line wait 0 milliseconds with messages at the start of your showRandoms function. The "with messages" part will allow the engine a chance to look around and see if any events have occurred (as for instance someone pressing the Stop button). Otherwise you've coded up a loop that's so tight the engine will never see the mouseUp (or any other) message. When you're running this in the debugger there are a lot of engine events happening - your actual code is only a small fraction of that, and the engine is paying attention to everything in the environment. That's why your mouseclicks get registered. -- -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 Tue Oct 2 10:01:15 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 2 Oct 2012 10:01:15 -0400 (EDT) Subject: Finally found one. In-Reply-To: <8CF6EBBA9B0E1BC-DFC-6B7F8@webmail-m007.sysops.aol.com> References: <8CF6EBBA9B0E1BC-DFC-6B7F8@webmail-m007.sysops.aol.com> Message-ID: <8CF6EBD85A0F50D-DFC-6BCF9@webmail-m007.sysops.aol.com> Mark. I had not even time to try the wait with messages thing, when I read Bernd's reply in the forum (I posted there as well). Check it out. Now I have to go experiment some more. Craig -----Original Message----- From: dunbarx To: use-livecode Sent: Tue, Oct 2, 2012 9:49 am Subject: Re: Finally found one. Mark. I thought of that, but believed that the "send in time", where I even increased the time value to, say, 100 ticks, would be more than enough to allow the engine to "rest". So I am misunderstanding the two paths. I see clearly what "wait with messages" does. But I am trying to avoid "wait" in general. This from an old HC user. But I thought that "send in time" also placed control back in the hands of the engine (the message pending) for the specified interval. What else is going on during that time? There is no loop. The handler ends, the message is queued, and I would have thought that I can invoke a new instance of that handler from another source, like clicking a button. This was derived from a post I made on the forum. I tried something like this, and failed, eventually setting a custom property and checking its value to allow the poster to do just what I mentioned. Thanks, Craig -----Original Message----- From: Mark Wieder To: How to use LiveCode Sent: Tue, Oct 2, 2012 1:10 am Subject: Re: Finally found one. Craig- Monday, October 1, 2012, 7:25:49 PM, you wrote: [bunch of stuff deleted] > Try it. If you press the "start" button, you get random numbers > in msg for eight seconds. If you press the "stop" not while this is > going on, nothing happens. You need to give the engine some room to breathe. Insert the line wait 0 milliseconds with messages at the start of your showRandoms function. The "with messages" part will allow the engine a chance to look around and see if any events have occurred (as for instance someone pressing the Stop button). Otherwise you've coded up a loop that's so tight the engine will never see the mouseUp (or any other) message. When you're running this in the debugger there are a lot of engine events happening - your actual code is only a small fraction of that, and the engine is paying attention to everything in the environment. That's why your mouseclicks get registered. -- -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 ambassador at fourthworld.com Tue Oct 2 10:05:57 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 02 Oct 2012 07:05:57 -0700 Subject: Leaving stack open In-Reply-To: References: Message-ID: <506AF4C5.1040000@fourthworld.com> Hugh Senior wrote: > Using the LiveCode IDE, is it possible to keep a stack open after closing > the LiveCode menubar? Using the MC IDE, I am used to this behavior and would > like to retain it! The MC IDE is very much an "I know what I'm doing" design, so it allows you to close its menu bar even though that may require any subsequent opening of stacks, or even quitting, be done through the Message Box (assuming you have some way to access the Message Box without going through the IDE menu bar). The LiveCode IDE attempts the more difficult role of providing a traditional application GUI, even though your application's GUI will sometimes take precedence (fighting over the single menu bar on Mac, for example). Given the central role of LC's menu bar, they've elected to have the app quit when it's closed. If it conflicts with your app's layout (such as having your own toolbar) you can hide the LC toolbar instead of closing 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 cmsheffield at me.com Tue Oct 2 10:10:16 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Tue, 02 Oct 2012 08:10:16 -0600 Subject: iOS Can't Make a Standalone! In-Reply-To: References: <50689A7B.8000006@hyperactivesw.com> <3F635F67-6AB1-497A-873E-5B1D611D8C02@major.on-rev.com> <46F3CD11-459C-44FC-96AA-BC76A61BC48F@twft.com> <3A9B14CC-363E-43B9-820D-C5A61BEBEE22@all-auctions.com> <43675225-623B-404E-84D2-158ED293B8B9@me.com> Message-ID: Make sure you've selected your provisioning profile in the standalone builder settings. Again, sometimes when upgrading LiveCode and/or Xcode, it's been necessary to set it again. I've also had to do it when updating my profile for whatever reason (i.e. it's expired, I've added a new device, etc.). Chris On Oct 1, 2012, at 8:29 PM, Rick Harrison wrote: > Hi Chris, > > Ok, I managed to get the Simulators to work, and I can make a > Standalone, but now I get: No code signature found from Xcode! > Please don't tell me I have to go through the grueling > Provisioning Profile again! > > Xcode says I have a valid Provisioning Profile. > > Thanks for any helpful suggestions in advance. > > Rick > > > On Oct 1, 2012, at 6:27 PM, Rick Harrison wrote: > >> Hi Chris, >> >> I did already go through the process of pointing LiveCode to the Xcode app bundle. >> >> I tried your suggestion of making sure that the appropriate simulator version from the >> Development -> Test Target was chosen, but when I went to do this both the iPad >> Simulator 6.0 and the iPhone Simulator 6.0 were greyed out. When I went into >> the Xcode Prefs for Downloads version 5.0 and version 5.1 showed up so I downloaded >> them, but 6 was nowhere in that list. So, I think I must have 6 somewhere or it would be >> showing up in that list. >> >> I'll try to get the 5.0 and 5.1 Simulators to work. >> >> In the meantime, can you think of anything else to try? >> >> Thanks, >> >> 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 harrison at all-auctions.com Tue Oct 2 10:42:07 2012 From: harrison at all-auctions.com (Rick Harrison) Date: Tue, 2 Oct 2012 10:42:07 -0400 Subject: iOS No code signature found! In-Reply-To: References: <50689A7B.8000006@hyperactivesw.com> <3F635F67-6AB1-497A-873E-5B1D611D8C02@major.on-rev.com> <46F3CD11-459C-44FC-96AA-BC76A61BC48F@twft.com> <3A9B14CC-363E-43B9-820D-C5A61BEBEE22@all-auctions.com> <43675225-623B-404E-84D2-158ED293B8B9@me.com> Message-ID: <18F23B3C-5689-4C52-90F9-74BBC48D635E@all-auctions.com> Hi Chris, Yes, I had my provisioning profile selected correctly. I tried to have it select a new one that I created, and it made no difference. I tried resetting it back to the old one, and it made no difference. Under LC 5.2.2 it used to ask for permission to use a couple of things out of my keychain. Under LC 5.5.3rc1 it doesn't ask anymore, so I'm wondering if it isn't bundling things correctly. Your thoughts? Rick On Oct 2, 2012, at 10:10 AM, Chris Sheffield wrote: > Make sure you've selected your provisioning profile in the standalone builder settings. Again, sometimes when upgrading LiveCode and/or Xcode, it's been necessary to set it again. I've also had to do it when updating my profile for whatever reason (i.e. it's expired, I've added a new device, etc.). > > Chris > > > On Oct 1, 2012, at 8:29 PM, Rick Harrison wrote: > >> Hi Chris, >> >> Ok, I managed to get the Simulators to work, and I can make a >> Standalone, but now I get: No code signature found from Xcode! >> Please don't tell me I have to go through the grueling >> Provisioning Profile again! >> >> Xcode says I have a valid Provisioning Profile. >> >> Thanks for any helpful suggestions in advance. >> >> Rick >> From cmsheffield at me.com Tue Oct 2 10:52:21 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Tue, 02 Oct 2012 08:52:21 -0600 Subject: iOS No code signature found! In-Reply-To: <18F23B3C-5689-4C52-90F9-74BBC48D635E@all-auctions.com> References: <50689A7B.8000006@hyperactivesw.com> <3F635F67-6AB1-497A-873E-5B1D611D8C02@major.on-rev.com> <46F3CD11-459C-44FC-96AA-BC76A61BC48F@twft.com> <3A9B14CC-363E-43B9-820D-C5A61BEBEE22@all-auctions.com> <43675225-623B-404E-84D2-158ED293B8B9@me.com> <18F23B3C-5689-4C52-90F9-74BBC48D635E@all-auctions.com> Message-ID: <184C2C49-8254-4B59-A7D5-80B5FA493F1C@me.com> Wow, someone else might have to chime in here. I'm not really sure what else to try. Actually, I did just have one more thought. Sometimes this procedure will fix things for me if I'm having strange problems. Maybe you've done this already, but try opening Xcode and then the Organizer window. On the left, select Provisioning Profiles under Library then hit the Refresh button. It'll ask you to log into your Apple dev account. Then, with any luck, it'll refresh and reinstall everything (profiles and certs). After doing this you may have to reselect your profile in LiveCode again. I'm not sure about that. Then give your build a try again. If that doesn't work, I'm out of ideas. Sorry. Chris On Oct 2, 2012, at 8:42 AM, Rick Harrison wrote: > Hi Chris, > > Yes, I had my provisioning profile selected correctly. I tried to > have it select a new one that I created, and it made no difference. > I tried resetting it back to the old one, and it made no difference. > > Under LC 5.2.2 it used to ask for permission to use a couple of > things out of my keychain. Under LC 5.5.3rc1 it doesn't ask anymore, > so I'm wondering if it isn't bundling things correctly. > > Your thoughts? > > Rick > > On Oct 2, 2012, at 10:10 AM, Chris Sheffield wrote: > >> Make sure you've selected your provisioning profile in the standalone builder settings. Again, sometimes when upgrading LiveCode and/or Xcode, it's been necessary to set it again. I've also had to do it when updating my profile for whatever reason (i.e. it's expired, I've added a new device, etc.). >> >> Chris >> >> >> On Oct 1, 2012, at 8:29 PM, Rick Harrison wrote: >> >>> Hi Chris, >>> >>> Ok, I managed to get the Simulators to work, and I can make a >>> Standalone, but now I get: No code signature found from Xcode! >>> Please don't tell me I have to go through the grueling >>> Provisioning Profile again! >>> >>> Xcode says I have a valid Provisioning Profile. >>> >>> Thanks for any helpful suggestions 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 livfoss at mac.com Tue Oct 2 11:00:17 2012 From: livfoss at mac.com (Graham Samuel) Date: Tue, 02 Oct 2012 17:00:17 +0200 Subject: Spiking the focus Message-ID: <607836B0-C3FE-4E86-87FD-E73CD23421D0@mac.com> I'm having trouble running some very simple tests of iOS keyboard input, and one problem is that I want the iOS keyboard to come up when the user touches a specific field (or the mouse clicks in the Simulator). These fields are locked with TraversalOn set to true as is usual for iOS keyboard input. This isn't working, no doubt due to some stupidity on my part (I'm sending another message about this), but while I was testing I found that one of my fields (field number 1) in my very simple test stack was receiving the focus as soon as the card was opened when my script wasn't expecting it. I was surprised after all this time to find the following in the LC documentation: > When a card is opened, LiveCode automatically focuses the first object on the card that is capable of receiving the keyboard focus. > Somehow I never noticed this before. I don't like this and would like to stop it, but even when I arrange for the fields to have their TravesalOn false on loading and only set it on again during an OpenCard handler, I still get the unwanted focussing. If I leave the TraversalOns false and don't change them, then the card triggers a focusIn handler, which is equally unwanted. Do I have to live with this or is there a workaround? TIA Graham From harrison at all-auctions.com Tue Oct 2 11:01:43 2012 From: harrison at all-auctions.com (Rick Harrison) Date: Tue, 2 Oct 2012 11:01:43 -0400 Subject: iOS No code signature found! In-Reply-To: <184C2C49-8254-4B59-A7D5-80B5FA493F1C@me.com> References: <50689A7B.8000006@hyperactivesw.com> <3F635F67-6AB1-497A-873E-5B1D611D8C02@major.on-rev.com> <46F3CD11-459C-44FC-96AA-BC76A61BC48F@twft.com> <3A9B14CC-363E-43B9-820D-C5A61BEBEE22@all-auctions.com> <43675225-623B-404E-84D2-158ED293B8B9@me.com> <18F23B3C-5689-4C52-90F9-74BBC48D635E@all-auctions.com> <184C2C49-8254-4B59-A7D5-80B5FA493F1C@me.com> Message-ID: <0C5A7F15-0C19-48A7-A52A-1E99A8C26AA5@all-auctions.com> Hi Chris, I finally got it to work by deleting the in my keychain. That apparently forced LC to rebuild things correctly when I created my standalone again. Thank you for your encouragement and help! Rick On Oct 2, 2012, at 10:52 AM, Chris Sheffield wrote: > Wow, someone else might have to chime in here. I'm not really sure what else to try. > > Actually, I did just have one more thought. Sometimes this procedure will fix things for me if I'm having strange problems. Maybe you've done this already, but try opening Xcode and then the Organizer window. On the left, select Provisioning Profiles under Library then hit the Refresh button. It'll ask you to log into your Apple dev account. Then, with any luck, it'll refresh and reinstall everything (profiles and certs). After doing this you may have to reselect your profile in LiveCode again. I'm not sure about that. Then give your build a try again. > > If that doesn't work, I'm out of ideas. Sorry. > > Chris > > > On Oct 2, 2012, at 8:42 AM, Rick Harrison wrote: > >> Hi Chris, >> >> Yes, I had my provisioning profile selected correctly. I tried to >> have it select a new one that I created, and it made no difference. >> I tried resetting it back to the old one, and it made no difference. >> >> Under LC 5.2.2 it used to ask for permission to use a couple of >> things out of my keychain. Under LC 5.5.3rc1 it doesn't ask anymore, >> so I'm wondering if it isn't bundling things correctly. >> >> Your thoughts? >> >> Rick >> >> On Oct 2, 2012, at 10:10 AM, Chris Sheffield wrote: >> >>> Make sure you've selected your provisioning profile in the standalone builder settings. Again, sometimes when upgrading LiveCode and/or Xcode, it's been necessary to set it again. I've also had to do it when updating my profile for whatever reason (i.e. it's expired, I've added a new device, etc.). >>> >>> Chris >>> >>> >>> On Oct 1, 2012, at 8:29 PM, Rick Harrison wrote: >>> >>>> Hi Chris, >>>> >>>> Ok, I managed to get the Simulators to work, and I can make a >>>> Standalone, but now I get: No code signature found from Xcode! >>>> Please don't tell me I have to go through the grueling >>>> Provisioning Profile again! >>>> >>>> Xcode says I have a valid Provisioning Profile. >>>> >>>> Thanks for any helpful suggestions 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 cmsheffield at me.com Tue Oct 2 11:13:43 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Tue, 02 Oct 2012 09:13:43 -0600 Subject: iOS No code signature found! In-Reply-To: <0C5A7F15-0C19-48A7-A52A-1E99A8C26AA5@all-auctions.com> References: <50689A7B.8000006@hyperactivesw.com> <3F635F67-6AB1-497A-873E-5B1D611D8C02@major.on-rev.com> <46F3CD11-459C-44FC-96AA-BC76A61BC48F@twft.com> <3A9B14CC-363E-43B9-820D-C5A61BEBEE22@all-auctions.com> <43675225-623B-404E-84D2-158ED293B8B9@me.com> <18F23B3C-5689-4C52-90F9-74BBC48D635E@all-auctions.com> <184C2C49-8254-4B59-A7D5-80B5FA493F1C@me.com> <0C5A7F15-0C19-48A7-A52A-1E99A8C26AA5@all-auctions.com> Message-ID: Great. Glad you got it working. On Oct 2, 2012, at 9:01 AM, Rick Harrison wrote: > Hi Chris, > > I finally got it to work by deleting the in my keychain. > That apparently forced LC to rebuild things correctly when > I created my standalone again. > > Thank you for your encouragement and help! > > Rick > > On Oct 2, 2012, at 10:52 AM, Chris Sheffield wrote: > >> Wow, someone else might have to chime in here. I'm not really sure what else to try. >> >> Actually, I did just have one more thought. Sometimes this procedure will fix things for me if I'm having strange problems. Maybe you've done this already, but try opening Xcode and then the Organizer window. On the left, select Provisioning Profiles under Library then hit the Refresh button. It'll ask you to log into your Apple dev account. Then, with any luck, it'll refresh and reinstall everything (profiles and certs). After doing this you may have to reselect your profile in LiveCode again. I'm not sure about that. Then give your build a try again. >> >> If that doesn't work, I'm out of ideas. Sorry. >> >> Chris >> >> >> On Oct 2, 2012, at 8:42 AM, Rick Harrison wrote: >> >>> Hi Chris, >>> >>> Yes, I had my provisioning profile selected correctly. I tried to >>> have it select a new one that I created, and it made no difference. >>> I tried resetting it back to the old one, and it made no difference. >>> >>> Under LC 5.2.2 it used to ask for permission to use a couple of >>> things out of my keychain. Under LC 5.5.3rc1 it doesn't ask anymore, >>> so I'm wondering if it isn't bundling things correctly. >>> >>> Your thoughts? >>> >>> Rick >>> >>> On Oct 2, 2012, at 10:10 AM, Chris Sheffield wrote: >>> >>>> Make sure you've selected your provisioning profile in the standalone builder settings. Again, sometimes when upgrading LiveCode and/or Xcode, it's been necessary to set it again. I've also had to do it when updating my profile for whatever reason (i.e. it's expired, I've added a new device, etc.). >>>> >>>> Chris >>>> >>>> >>>> On Oct 1, 2012, at 8:29 PM, Rick Harrison wrote: >>>> >>>>> Hi Chris, >>>>> >>>>> Ok, I managed to get the Simulators to work, and I can make a >>>>> Standalone, but now I get: No code signature found from Xcode! >>>>> Please don't tell me I have to go through the grueling >>>>> Provisioning Profile again! >>>>> >>>>> Xcode says I have a valid Provisioning Profile. >>>>> >>>>> Thanks for any helpful suggestions 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 m.schonewille at economy-x-talk.com Tue Oct 2 11:16:33 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 2 Oct 2012 17:16:33 +0200 Subject: Spiking the focus In-Reply-To: <607836B0-C3FE-4E86-87FD-E73CD23421D0@mac.com> References: <607836B0-C3FE-4E86-87FD-E73CD23421D0@mac.com> Message-ID: <01C37ACA-F4BB-4394-9B3C-3F03EB112D1F@economy-x-talk.com> Graham, Set the traversalon to false in preOpenCard (or better yet, when you build the standalone). et the traversalOn to true in a mouseUp handler and select the text of your field to make the keyboard appear. Still better would be to use native text fields, which would allow you to keep traversalOn false at all times. -- 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 On 2 okt 2012, at 17:00, Graham Samuel wrote: > I'm having trouble running some very simple tests of iOS keyboard input, and one problem is that I want the iOS keyboard to come up when the user touches a specific field (or the mouse clicks in the Simulator). These fields are locked with TraversalOn set to true as is usual for iOS keyboard input. > > This isn't working, no doubt due to some stupidity on my part (I'm sending another message about this), but while I was testing I found that one of my fields (field number 1) in my very simple test stack was receiving the focus as soon as the card was opened when my script wasn't expecting it. I was surprised after all this time to find the following in the LC documentation: > >> When a card is opened, LiveCode automatically focuses the first object on the card that is capable of receiving the keyboard focus. >> > Somehow I never noticed this before. > > I don't like this and would like to stop it, but even when I arrange for the fields to have their TravesalOn false on loading and only set it on again during an OpenCard handler, I still get the unwanted focussing. If I leave the TraversalOns false and don't change them, then the card triggers a focusIn handler, which is equally unwanted. > > Do I have to live with this or is there a workaround? > > TIA > > Graham From livfoss at mac.com Tue Oct 2 11:22:59 2012 From: livfoss at mac.com (Graham Samuel) Date: Tue, 02 Oct 2012 17:22:59 +0200 Subject: Triggering the iOS keyboard Message-ID: This is probably a dumb question, but I'm stumped. I've been writing an iOS app which invokes a 'native' keyboard when a user touches a field. This has been working pretty well in general, with some particular problems. In order to investigate these, I have tried to abstract the problem into an app which is a one-card stack. On opening (preOpenCard) this app instantiates a keyboard and renders it invisible, then when the user touches a field, the system fires a 'focusIn' message, which I then use to show the keyboard. Amazingly, although this works in my complicated app, it doesn't work in my simplified one. I am quite clear that the keyboard has really been instantiated and that the focusIn handler is fired, but my simple statement iPhoneControlSet tInputID, "visible", true doesn't work. I just can't see why not. It's got to be finger trouble on my part but I just can't see it. I tried enabling the control as well (never needed to do this in my real app) but it had no effect. There is an additional oddness compared with my real app which must be relevant, I suppose - the actual control belonging to the iOS keyboard (which is not the keyboard itself but a rectangle where the user inputs text) appears without the keyboard when the app opens. If I type into that, then the keyboard appears (and a 'keyboardActivated' message is sent), but this doesn't make sense to me, and I don't get this effect in my real app. Can anyone suggest what is going on? TIA Graham From andrew at ctech.me Tue Oct 2 13:42:24 2012 From: andrew at ctech.me (Andrew Kluthe) Date: Tue, 2 Oct 2012 12:42:24 -0500 Subject: libURL on andorid Message-ID: Do post to url, get url and delete url work with https on android? Most of my codebases use a REST interface. I am just getting started today with mobile development and thought I had seen on the list that this was not available yet. -- Regards, Andrew Kluthe andrew at ctech.me From mwieder at ahsoftware.net Tue Oct 2 13:49:21 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 2 Oct 2012 17:49:21 +0000 (UTC) Subject: Finally found one. References: <8CF6EBBA9B0E1BC-DFC-6B7F8@webmail-m007.sysops.aol.com> Message-ID: Craig- > I thought of that, but believed that the "send in time", where I even increased the time value to, say, 100 ticks, would be more than enough to allow the engine to "rest". It's not a matter of giving the engine time to "rest". See below. > I see clearly what "wait with messages" does. No, I do think you're missing the point. It's the "with messages" part that's important, not the "wait" part. It doesn't matter how long you wait - if you omit the messages part the engine still won't be looking for other events. "With messages" says "look around and see what other messages may have been triggered before continuing". As in, someone might have clicked a button. Or a message may have come in from another control. Or another timer has expired. Or... > But I am trying to avoid "wait" in general Waiting for 0 milliseconds is essentially not waiting. It just gives us something to tack the "with messages" part onto. So don't be afraid of waiting for no time. The overhead of checking for messages will take up more time than the wait statement and you won't even notice it. -- Mark Wieder mwieder at ahsoftware.net From ludovic.thebault at laposte.net Tue Oct 2 14:35:41 2012 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Tue, 2 Oct 2012 20:35:41 +0200 Subject: iPhone 5 and iOS 6 Message-ID: <32928752-D50E-49D4-975A-27989B7AA557@laposte.net> Hello Just to clarify (i cannot test under iPhone 5) : To have an app that works on iPhone 5 under iOS 6 we need to wait Livecode 5.5.3 (to work with Xcode 4.5). It's right ? Or it is already possible to compile with LC 5.5.2 and Xcode 4.1) ? Thanks From sc at sahores-conseil.com Tue Oct 2 14:38:34 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Tue, 2 Oct 2012 20:38:34 +0200 Subject: libURL on andorid In-Reply-To: References: Message-ID: <00BD9BE8-63B4-4D25-9441-49B107E8447A@sahores-conseil.com> Hi Andrew, Post to url and get url works perfectly fine with https under android. Can't say about put url as long as, for security reasons, i always delegate such tasks in sending a POST to a server-side LC-server handler instead via urldecode($_POST_RAW). Idem about delete url for the same reasons. Under both the iOS and Android platforms, HTTPS seems to be supported at the engine level (LibURL not involved nor needed at all). Cheers, Le 2 oct. 2012 ? 19:42, Andrew Kluthe a ?crit : > Do post to url, get url and delete url work with https on android? > Most of my codebases use a REST interface. I am just getting started > today with mobile development and thought I had seen on the list that > this was not available yet. > > -- > 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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From irog at mac.com Tue Oct 2 14:53:34 2012 From: irog at mac.com (Roger Guay) Date: Tue, 02 Oct 2012 11:53:34 -0700 Subject: iOS Standalone Error Message-ID: Hi All, All of a sudden, I'm getting this error when building an iOS standalone: "?. performing iOS device builds requires iOS 5.0 SDK platform to be installed". I'm running LiveCode 5.5.1 and Xcode 4.5. I've repointed the LC preferences to the "Location of developer root for iOS 5.0 and above" and tried setting standalone application to build for iPad 5.0 and 6.0. I've also tried reloading Xcode, and I've tried LC 5.5.2. Can anyone please tell me what I'm missing and how to fix? Thanks, Roger From andrew at ctech.me Tue Oct 2 14:54:45 2012 From: andrew at ctech.me (Andrew Kluthe) Date: Tue, 2 Oct 2012 13:54:45 -0500 Subject: libURL on andorid In-Reply-To: <00BD9BE8-63B4-4D25-9441-49B107E8447A@sahores-conseil.com> References: <00BD9BE8-63B4-4D25-9441-49B107E8447A@sahores-conseil.com> Message-ID: Rad. Eager to see what I can do with it. Thanks. On Tue, Oct 2, 2012 at 1:38 PM, Pierre Sahores wrote: > Hi Andrew, > > Post to url and get url works perfectly fine with https under android. Can't say about put url as long as, for security reasons, i always delegate such tasks in sending a POST to a server-side LC-server handler instead via urldecode($_POST_RAW). Idem about delete url for the same reasons. Under both the iOS and Android platforms, HTTPS seems to be supported at the engine level (LibURL not involved nor needed at all). > > Cheers, > > Le 2 oct. 2012 ? 19:42, Andrew Kluthe a ?crit : > >> Do post to url, get url and delete url work with https on android? >> Most of my codebases use a REST interface. I am just getting started >> today with mobile development and thought I had seen on the list that >> this was not available yet. >> >> -- >> 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 > > -- > 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 dixonja at hotmail.co.uk Tue Oct 2 14:58:57 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Tue, 2 Oct 2012 19:58:57 +0100 Subject: iOS Standalone Error In-Reply-To: References: Message-ID: Roger.. Build a standalone with LC 5.5.1 and Xcode 4.4.1 at the moment > All of a sudden, I'm getting this error when building an iOS standalone: "?. performing iOS device builds requires iOS 5.0 SDK platform to be installed". > I'm running LiveCode 5.5.1 and Xcode 4.5. I've repointed the LC preferences to the "Location of developer root for iOS 5.0 and above" and tried setting standalone application to build for iPad 5.0 and 6.0. I've also tried reloading Xcode, and I've tried LC 5.5.2. > Can anyone please tell me what I'm missing and how to fix? > Thanks, > Roger be well, Dixie From jeff at siphonophore.com Tue Oct 2 15:05:37 2012 From: jeff at siphonophore.com (Jeff Reynolds) Date: Tue, 2 Oct 2012 15:05:37 -0400 Subject: [OT] Facebook In-Reply-To: References: Message-ID: security and personal information aside (very important and bad in my book as ell) I find that the vast majority of fb communication to be worthless as true human communication. I actually was on facebook pretty early on. a couple of clients had wanted to investigate it so i had to get in and play and later manage their accounts. i did not like much of the interaction that was happening, but did not care much as i would find an interested volunteer in each org to take over the upkeep and take over each one. At the early time i didn't like the amount of info they asked for and vague privacy policy so i signed up as fictitious scifi character with a burner email address. I also did this to see if they could detect faked accounts as well. As i was not communicating or friending i was very under the radar. then late one night facebook emailed they wanted a second email address for security purposes. i was tired and not thinking and used one of my main email addresses for this. Well i woke up the next morning with a few hundred friend requests! they of course used the 'security' email address to mine folks address books to make more connections (many did not realize they were allowing this as well). So i thought what the heck I'll just go ahead and give it the full look (this was a couple years back when fb was going ballistic). i instantly had a few hundred friends going all the way back to high school. I would say 75% of the friends were folks that i had a very passing association with and had not communicated with me in any other way in a long time. At first i thought cool, i can catch up some. Well quickly i found that none would really communicate other than 3 word posts at time and when i would email them would get little or nothing back from them. Then the stream of completely inane posts came in, some of which just reminded me of the worst of high school/adolescent behavior (i taught high school for a while so got to revisit this first hand as well). Try as i might to hold any sort of quality communication with this large group of very diverse folks, nothing worked! It amazed me that it was called social media. It was the worst aspects of being social, the most shallow, vane and devoid of any human quality communication. to end the fb saga and the capper of bad behavior was how i ended up getting booted. everyone pretty quickly figured out my fb persona and knew my quirky side and got it and had a laugh. one of the old high school acquaintances (we ran track together and no real friendship) that had friended me early on kept sending cause requests for a lot of rather extreme causes. He started emailing me to ask why i was not joining his causes. I responded very nicely that my friends are spread across the political spectrum and i learned not to be public with politics much as any cause would piss off a good fraction of my friends. He kept at me and I kept trying to say sorry. He finally sent one message that was pretty angry and then that evening fb busted me for being a potential fake information. Im sure he was the one that turned me in at that point as i had survived several years with the fake id. so it was so ironic that i would be booted by one of the bad behaviors i felt fb was encouraging! To boot during this time i actually knew and met a few folks that were only interested in continuing communications if it was only thru facebook, no direct email. Again i found this so stunning. The funniest part of all this is im probably one of the most tech of all my wide circle of friends as well as the one who has always tried to keep in touch with folks the most, but im not on fb. I have not found fb to increase my connection to anyone or to have much of anything to do with being social, just the opposite. I also have a few friends and clients that are big fb cause promoters. They are always touting the likes they have and yet when i ask what have they gotten for action, fund raising, etc out of all this (some invest a lot of money and time into these), they never have anything solid to point to. they all just fall into the argument that they have to be represented here and that its important to have all those likes. it becomes a circular argument. cheers jeff From richmondmathewson at gmail.com Tue Oct 2 15:07:43 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 02 Oct 2012 22:07:43 +0300 Subject: [OT] Boasting Message-ID: <506B3B7F.2020101@gmail.com> I have just sold my FIRST copy of Devawriter Pro for $50. While this is extremely small potatoes out in the big wide world of computer programming, for me, stuffed into a cubicle off my bedroom, doing something fairly whacko (Sanskrit ???) for 3 years in his spare time, this is a big, big thing. Needless to say, that $50 would not be now without the help, curses (that often stimulated me to do better) and support from a very large number of people on this Use-List. A big Thank you to you all. Richmond. From richmondmathewson at gmail.com Tue Oct 2 15:32:18 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 02 Oct 2012 22:32:18 +0300 Subject: [OT] Facebook In-Reply-To: References: Message-ID: <506B4142.1000500@gmail.com> On 10/02/2012 10:05 PM, Jeff Reynolds wrote: > security and personal information aside (very important and bad in my book as ell) I find that the vast majority of fb communication to be worthless as true human communication. > > I actually was on facebook pretty early on. a couple of clients had wanted to investigate it so i had to get in and play and later manage their accounts. i did not like much of the interaction that was happening, but did not care much as i would find an interested volunteer in each org to take over the upkeep and take over each one. > > At the early time i didn't like the amount of info they asked for and vague privacy policy so i signed up as fictitious scifi character with a burner email address. I also did this to see if they could detect faked accounts as well. As i was not communicating or friending i was very under the radar. then late one night facebook emailed they wanted a second email address for security purposes. i was tired and not thinking and used one of my main email addresses for this. Well i woke up the next morning with a few hundred friend requests! they of course used the 'security' email address to mine folks address books to make more connections (many did not realize they were allowing this as well). > > So i thought what the heck I'll just go ahead and give it the full look (this was a couple years back when fb was going ballistic). i instantly had a few hundred friends going all the way back to high school. I would say 75% of the friends were folks that i had a very passing association with and had not communicated with me in any other way in a long time. At first i thought cool, i can catch up some. Well quickly i found that none would really communicate other than 3 word posts at time and when i would email them would get little or nothing back from them. Then the stream of completely inane posts came in, some of which just reminded me of the worst of high school/adolescent behavior (i taught high school for a while so got to revisit this first hand as well). Try as i might to hold any sort of quality communication with this large group of very diverse folks, nothing worked! It amazed me that it was called social media. It was the worst aspects of being social, the most shallow, vane and devoid of any human quality communication. > > to end the fb saga and the capper of bad behavior was how i ended up getting booted. everyone pretty quickly figured out my fb persona and knew my quirky side and got it and had a laugh. one of the old high school acquaintances (we ran track together and no real friendship) that had friended me early on kept sending cause requests for a lot of rather extreme causes. He started emailing me to ask why i was not joining his causes. I responded very nicely that my friends are spread across the political spectrum and i learned not to be public with politics much as any cause would piss off a good fraction of my friends. He kept at me and I kept trying to say sorry. He finally sent one message that was pretty angry and then that evening fb busted me for being a potential fake information. Im sure he was the one that turned me in at that point as i had survived several years with the fake id. so it was so ironic that i would be booted by one of the bad behaviors i felt fb was encouraging! > > To boot during this time i actually knew and met a few folks that were only interested in continuing communications if it was only thru facebook, no direct email. Again i found this so stunning. > > The funniest part of all this is im probably one of the most tech of all my wide circle of friends as well as the one who has always tried to keep in touch with folks the most, but im not on fb. I have not found fb to increase my connection to anyone or to have much of anything to do with being social, just the opposite. > > I also have a few friends and clients that are big fb cause promoters. They are always touting the likes they have and yet when i ask what have they gotten for action, fund raising, etc out of all this (some invest a lot of money and time into these), they never have anything solid to point to. they all just fall into the argument that they have to be represented here and that its important to have all those likes. it becomes a circular argument. > > cheers > > jeff > _______________________________________________ > Well, Jeff (don't you just 'love' those messages that start "Well" you know that they are about to stick the boot in), I do agree with almost all that you have written; but my view of the "whole Facebook phenomenon" (as cheapo journalists are inclined to call things) is rather different: At the risk of offending a lot of people I should like to make a Biological analogy: 1. We are all born with genitals and sex drives. 2. What we CHOOSE to do with the above is 100% our responsibility. 3. Has anybody heard this sort of statement; "I contacted STDs because other people started infecting me whether I wanted it or not". Now, Facebook is quite similar in an odd sort of way; to which I would point out: 1. I blocked all messages from my Facebook account(s) to any of my email accounts on day one. 2. Almost all of the 'friends' on my Devawriter account are blocked from ANY input on that page at all: after all this is a page for telling people about my program, and not for them to tell me about their latest social something. 3. Cause requests; all of these are suspicious, whether they jive with my socio-political beliefs or not, so I simply ignore all of them (many people do NOT know a TV has an OFF button). 4. Stupid online games pushed by 'friends'; ditto - never played a computer game into 37 years of programming; can see know reason to start now - I can stroll over to the park any time I want and have a game of chess, cards or backgammon with some Bulgarian pensioners, who, no matter how senile they may be, are 1000 times more rewarding than sitting hunched over a VDU in some semi-darkened room. I do agree whole-heartedly that Facebook is a flat-liner socially; being social is about being together in the same space and interacting: - this is exactly the reason why I phoned my Mum just now instead of sending her a cold and stagnant email. 5. No addresses, no phone numbers, no pack-drill. 6. If anyone wants to refuse me a job I apply for because I like Devo, express views that are Right-Wing but also supportive of LGBT rights at the same time, well they can just go and jump in the lake. 7. Inane postings; I just delete them, and if the inane postings get to much I write to that 'friend' and if they carry on with the inane postings I "unfriend" them, not all that complicated. 8. "Like" is like everything else; it reminds me of the semantics of "nice", a word my Carnoustie Granny tried her damnedest to expunge from my vocabulary; it shifts around to the point of being just a sort of filler word. I don't like very much, and I would far rather have a graded system from, say, "crap", through "reasonable" to "agree". 9. My Granny would, in all probability, had she encountered Facebook, described all the business of 'Like' and inane comments, as BLATE (and that's a good Scots word that is not like 'nice'). From matthias_livecode_150811 at m-r-d.de Tue Oct 2 15:37:35 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 2 Oct 2012 21:37:35 +0200 Subject: iPhone 5 and iOS 6 In-Reply-To: <32928752-D50E-49D4-975A-27989B7AA557@laposte.net> References: <32928752-D50E-49D4-975A-27989B7AA557@laposte.net> Message-ID: <8ACAC279-C123-4BC0-8D96-9F7562C527B5@m-r-d.de> Ludovic, i got the following answer from Runrev to my question which combination of LC/xCode will create apps which run on iphone 4 and iphone 5. "with LiveCode 5.5.2 use xCode 4.4.1 with LiveCode 5.5.3, when available, use xCode 4.5" Regards, Matthias -- Matthias Rebbe matthias (at) rebbe.tk Tel +49.5741.310000 Tel +49.160.5504462 -- "Life is too short for boring code" Am 02.10.2012 um 20:35 schrieb Ludovic Th?bault : > Hello > > Just to clarify (i cannot test under iPhone 5) : > To have an app that works on iPhone 5 under iOS 6 we need to wait Livecode 5.5.3 (to work with Xcode 4.5). > It's right ? > > Or it is already possible to compile with LC 5.5.2 and Xcode 4.1) ? > > Thanks > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dixonja at hotmail.co.uk Tue Oct 2 15:59:45 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Tue, 2 Oct 2012 20:59:45 +0100 Subject: iPhone 5 and iOS 6 In-Reply-To: <8ACAC279-C123-4BC0-8D96-9F7562C527B5@m-r-d.de> References: <32928752-D50E-49D4-975A-27989B7AA557@laposte.net>, <8ACAC279-C123-4BC0-8D96-9F7562C527B5@m-r-d.de> Message-ID: I got a different answer :-) 'You have correctly identified the current workaround to getting your apps to run on iOS 6. This will be resolved with the next release of LiveCode, due out shortly, 5.5.2 is not fully compatible with iOS 6.' The current workaround being livCode 5.5.1 and xCode 4.4.1 Dixie > i got the following answer from Runrev to my question which combination of LC/xCode will create apps which run on iphone 4 and iphone 5. > "with LiveCode 5.5.2 use xCode 4.4.1 > with LiveCode 5.5.3, when available, use xCode 4.5" > Regards, > > Matthias > -- > Matthias Rebbe > matthias (at) rebbe.tk > Tel +49.5741.310000 > Tel +49.160.5504462 > -- > "Life is too short for boring code" > > > > > > > > > Am 02.10.2012 um 20:35 schrieb Ludovic Th?bault : > > > Hello > > > > Just to clarify (i cannot test under iPhone 5) : > > To have an app that works on iPhone 5 under iOS 6 we need to wait Livecode 5.5.3 (to work with Xcode 4.5). > > It's right ? > > > > Or it is already possible to compile with LC 5.5.2 and Xcode 4.1) ? > > > > Thanks > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dixonja at hotmail.co.uk Tue Oct 2 16:06:58 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Tue, 2 Oct 2012 21:06:58 +0100 Subject: [OT] Boasting In-Reply-To: <506B3B7F.2020101@gmail.com> References: <506B3B7F.2020101@gmail.com> Message-ID: Nice one... I hope that there are many more sales...:-) Dixie > Date: Tue, 2 Oct 2012 22:07:43 +0300 > From: richmondmathewson at gmail.com > To: use-livecode at lists.runrev.com > Subject: [OT] Boasting > > I have just sold my FIRST copy of Devawriter Pro for $50. While this is > extremely small > potatoes out in the big wide world of computer programming, for me, > stuffed into a cubicle off > my bedroom, doing something fairly whacko (Sanskrit ???) for 3 years in > his spare time, this > is a big, big thing. > > Needless to say, that $50 would not be now without the help, curses > (that often stimulated me to > do better) and support from a very large number of people on this > Use-List. A big Thank you to > you all. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Oct 2 16:06:57 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Oct 2012 15:06:57 -0500 Subject: Finally found one. In-Reply-To: References: <8CF6EBBA9B0E1BC-DFC-6B7F8@webmail-m007.sysops.aol.com> Message-ID: <506B4961.4040505@hyperactivesw.com> On 10/2/12 12:49 PM, Mark Wieder wrote: > Craig- > >> I thought of that, but believed that the "send in time", where I even > increased the time value to, say, 100 ticks, would be more than enough to allow > the engine to "rest". > > It's not a matter of giving the engine time to "rest". See below. I added "wait 0 with messages" to Craig's card handler and it didn't work. :( I've been tinkering with it and I can't find anything so far that makes it work. I did think that sending a message in time allows a brief idle state where the engine would pick up any pending user actions. I've used it with a 0 millisecond send in order to force events to go through. In this case I can't find anything that allows the Stop button to work. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Tue Oct 2 16:14:19 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 02 Oct 2012 23:14:19 +0300 Subject: iPad? Message-ID: <506B4B1B.10409@gmail.com> Goofy question really..... I was in my local Computer air-hangar the other day and having a goggle at iPads (not because I want one, but because I wanted to "have a fiddle") and they stated on the box that they ran 'Mac OS X'. This being Bulgaria nobody but nobody knows anything about Apple (my younger son told me 2 years ago that a girl at his school bought an Apple laptop and then ONLY ran Windows on it), and looks at you as though you have a third eye if you ask anything vaguely technical about Apple. Come to think of it, the only way to get even oddeer looks in Bulgaria is to start talking about Linux. The chap who just bought a copy of my Devawriter wrote this: "A version in time for IPAD? Then documents could be passed via iCloud? Please !" Does anybody know whether a standard MacINTEL build will transfer "seamlessly" (Ha, Ha, Ha) to iPad??? Richmond. From livfoss at mac.com Tue Oct 2 16:15:17 2012 From: livfoss at mac.com (Graham Samuel) Date: Tue, 02 Oct 2012 22:15:17 +0200 Subject: Spiking the focus In-Reply-To: References: Message-ID: Mark, thanks as ever for your reply. I can do what you say and probably will, since I have no idea how to use native text fields in the sense you appear to mean: I would love to understand it, but I only have the available documentation to go on, and it really doesn't help much. Just to be clear, I want there to be lots of fields showing on the screen (think of a miniature spreadsheet). I want the user to touch any one of them to enter data. AFAIK the only way to do this is to activate an iOS keyboard when field is touched, and have the data appear in the iOS control (a rectangle associated with the instantiation of the keyboard), and after the data is entered I can use a 'inputEndEditing' handler to transfer it to the field (cell) that was clicked on in the first place. I can see that I could make the rectangle coincident with the LC field in question, but that wouldn't really be much of a step forward since I would still have to stick the data in the underlying field purely for persistence reasons, and I would still have the problem of the keyboard inevitably obscuring some parts of the screen. I am quite happy to be told I am doing this all wrong, but I don't know how to do it any other way. If you or anyone wants to suggest anything else, I would be more than interested. Graham On Tue, 2 Oct 2012 17:16:33 +0200, Mark Schonewille wrote: > > Graham, > > Set the traversalon to false in preOpenCard (or better yet, when you build the standalone). et the traversalOn to true in a mouseUp handler and select the text of your field to make the keyboard appear. Still better would be to use native text fields, which would allow you to keep traversalOn false at all times. > > -- > 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 > > > > On 2 okt 2012, at 17:00, Graham Samuel wrote: > >> I'm having trouble running some very simple tests of iOS keyboard input, and one problem is that I want the iOS keyboard to come up when the user touches a specific field (or the mouse clicks in the Simulator). These fields are locked with TraversalOn set to true as is usual for iOS keyboard input. >> >> This isn't working, no doubt due to some stupidity on my part (I'm sending another message about this), but while I was testing I found that one of my fields (field number 1) in my very simple test stack was receiving the focus as soon as the card was opened when my script wasn't expecting it. I was surprised after all this time to find the following in the LC documentation: >> >>> When a card is opened, LiveCode automatically focuses the first object on the card that is capable of receiving the keyboard focus. >>> >> Somehow I never noticed this before. >> >> I don't like this and would like to stop it, but even when I arrange for the fields to have their TravesalOn false on loading and only set it on again during an OpenCard handler, I still get the unwanted focussing. If I leave the TraversalOns false and don't change them, then the card triggers a focusIn handler, which is equally unwanted. >> >> Do I have to live with this or is there a workaround? From jacque at hyperactivesw.com Tue Oct 2 16:18:51 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Oct 2012 15:18:51 -0500 Subject: [OT] Boasting In-Reply-To: <506B3B7F.2020101@gmail.com> References: <506B3B7F.2020101@gmail.com> Message-ID: <506B4C2B.9040706@hyperactivesw.com> On 10/2/12 2:07 PM, Richmond wrote: > I have just sold my FIRST copy of Devawriter Pro for $50. While this is > extremely small > potatoes out in the big wide world of computer programming, for me, > stuffed into a cubicle off > my bedroom, doing something fairly whacko (Sanskrit ???) for 3 years in > his spare time, this > is a big, big thing. It is. And I'm proud of you -- even if you ARE on Facebook and you incomprehensibly like it. We've watched you make it happen, it's very cool. Celebrate! -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Oct 2 16:21:21 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Oct 2012 15:21:21 -0500 Subject: iPhone 5 and iOS 6 In-Reply-To: References: <32928752-D50E-49D4-975A-27989B7AA557@laposte.net>, <8ACAC279-C123-4BC0-8D96-9F7562C527B5@m-r-d.de> Message-ID: <506B4CC1.50902@hyperactivesw.com> On 10/2/12 2:59 PM, John Dixon wrote: > > > > I got a different answer :-) > > 'You have correctly identified the current workaround to getting your apps to run > on iOS 6. This will be resolved with the next release of LiveCode, due out > shortly, 5.5.2 is not fully compatible with iOS 6.' > > The current workaround being livCode 5.5.1 and xCode 4.4.1 Oh great. I've got an app waiting for review, built with 5.5.2 and 4.4.1. Someone else told me that combination worked on iOS 6. Maybe it depends on what the app does? Or should I pull the update and rebuild? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gandalf at doctorTimothyMiller.com Tue Oct 2 16:39:29 2012 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Tue, 2 Oct 2012 13:39:29 -0700 Subject: command-click on a word In-Reply-To: <506A207F.2020704@hyperactivesw.com> References: <7C509FB6-7AE3-458F-9234-CFA8C28A9812@doctorTimothyMiller.com> <19CD97A6-06CB-4695-8C3A-3CFAE450AC04@doctorTimothyMiller.com> <506A207F.2020704@hyperactivesw.com> Message-ID: <8AF46240-CD58-4FAA-BDB1-CE5A2FB7F66D@doctorTimothyMiller.com> There's my answer. Thanks, J. On Oct 1, 2012, at 4:00 PM, J. Landman Gay wrote: > It's an OS X Service and apps can hook into it if they want. I suspect LiveCode doesn't do it because of its cross-platform nature. None of the other operating systems have it and branching the engine code to support a single OS is probably a lot of work. It wouldn't make our jobs any easier either, since only apps built for Macs would work with it. Now I'm curious again. I suppose the definition of "our jobs," as above, has changed on the LC list. Is the LC list mostly comprised of developers writing mobile apps these days? Thanks also to Bob, for the extensive reply. I hope you didn't write all that code just for me! Tim From sc at sahores-conseil.com Tue Oct 2 16:40:48 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Tue, 2 Oct 2012 22:40:48 +0200 Subject: Finally found one. In-Reply-To: <506B4961.4040505@hyperactivesw.com> References: <8CF6EBBA9B0E1BC-DFC-6B7F8@webmail-m007.sysops.aol.com> <506B4961.4040505@hyperactivesw.com> Message-ID: <075A494A-0920-4F69-8869-EF3F99DA9F71@sahores-conseil.com> Jacque, Try inside opencard : if MyStartUpVar is not a number then send opencard to this cd in 0 milliseconds put "1" into MyStartUpVar end if or : something with message without waiting Best, Pierre Le 2 oct. 2012 ? 22:06, J. Landman Gay a ?crit : > On 10/2/12 12:49 PM, Mark Wieder wrote: >> Craig- >> >>> I thought of that, but believed that the "send in time", where I even >> increased the time value to, say, 100 ticks, would be more than enough to allow >> the engine to "rest". >> >> It's not a matter of giving the engine time to "rest". See below. > > I added "wait 0 with messages" to Craig's card handler and it didn't work. :( I've been tinkering with it and I can't find anything so far that makes it work. > > I did think that sending a message in time allows a brief idle state where the engine would pick up any pending user actions. I've used it with a 0 millisecond send in order to force events to go through. In this case I can't find anything that allows the Stop button to work. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From john at splash21.com Tue Oct 2 16:42:01 2012 From: john at splash21.com (John Craig) Date: Tue, 02 Oct 2012 21:42:01 +0100 Subject: Finally found one. In-Reply-To: <8CF6E5C5EAD0914-1B24-66F4F@webmail-m081.sysops.aol.com> References: <8017A228-604E-4C81-82DB-E4AD0837AD4B@mac.com> <1349142999758-4655711.post@n4.nabble.com> <8CF6E5C5EAD0914-1B24-66F4F@webmail-m081.sysops.aol.com> Message-ID: <506B5199.8020702@splash21.com> Hi, Craig. Looks like the trouble is that you've always got a pending message, so after you press stop, there's another message fired immediately to start things rolling again. try this handler in the card; command cancelMessages pMessages -- cancel any pending messages in the pMessages list if pMessages = empty then exit cancelMessages put the pendingMessages into tPending repeat for each line tMsg in tPending put item 1 of tMsg into tID put item 3 of tMsg into tName if tName is among the items of pMessages then cancel tID end repeat end cancelMessages and change your showRandoms command to; on showRandoms tSecs put random(99) if tSecs = 0 then cancelMessages "showRandoms" exit to top end if if tSecs > the seconds then send "showRandoms" && tSecs to me in 10 millisecs end showRandoms HTH :) On 02/10/2012 03:25, dunbarx at aol.com wrote: > > > > Finally found reproducible scripts that work as advertised when stepping through in the deBugger, but do not when simply run. This gremlin has been sighted, like the Yeti, by nominally sane people, but never caught. > > > Make two buttons. Name one "start". Name the other "stop". > > > in btn "start": > on mouseUp > put the seconds + 8 into tSecs > showrandoms tSecs > end mouseUp > > > In btn "stop": > on mouseup > send "showRandoms" && 0 to this card > end mouseup > > > In the card script: > on showRandoms tSecs > put random(99) > if tSecs = 0 then > exit to top > end if > if tSecs > the seconds then send "showRandoms" && tSecs to me in 0 millisecs > end showRandoms > > > Try it. If you press the "start" button, you get random numbers in msg for eight seconds. If you press the "stop" not while this is going on, nothing happens. > > > If you place a breakpoint at the "exit to top" line in the card script. the handler is caught there, and if you then step through, you exit. The "stop" button resets the variable "tSecs" to a value that will force showRandoms to end. And it does, but only if you step through, not if you run it. The variable watcher shows a "0" as the value of tSecs, as it should, and the conditional tosses you out of the handler. As it should. > > > But not in a normal run, only in the debugger. > > > I have been chasing this since 1987. I am not crazy. I have pictures. I will start a support group. > > > Craig Newman > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dixonja at hotmail.co.uk Tue Oct 2 16:47:57 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Tue, 2 Oct 2012 21:47:57 +0100 Subject: iPhone 5 and iOS 6 In-Reply-To: <506B4CC1.50902@hyperactivesw.com> References: <32928752-D50E-49D4-975A-27989B7AA557@laposte.net>, , <8ACAC279-C123-4BC0-8D96-9F7562C527B5@m-r-d.de>, , <506B4CC1.50902@hyperactivesw.com> Message-ID: Chinese whispers ?...:-) > On 10/2/12 2:59 PM, John Dixon wrote: > > I got a different answer :-) > > > > 'You have correctly identified the current workaround to getting your apps to run > > on iOS 6. This will be resolved with the next release of LiveCode, due out > > shortly, 5.5.2 is not fully compatible with iOS 6.' > > > > The current workaround being livCode 5.5.1 and xCode 4.4.1 > > Oh great. I've got an app waiting for review, built with 5.5.2 and > 4.4.1. Someone else told me that combination worked on iOS 6. Maybe it > depends on what the app does? Or should I pull the update and rebuild? From matthias_livecode_150811 at m-r-d.de Tue Oct 2 16:50:44 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 2 Oct 2012 22:50:44 +0200 Subject: iPhone 5 and iOS 6 In-Reply-To: References: <32928752-D50E-49D4-975A-27989B7AA557@laposte.net>, <8ACAC279-C123-4BC0-8D96-9F7562C527B5@m-r-d.de> Message-ID: <00C8FF52-ADCF-4A94-90F5-7216E21815C2@m-r-d.de> That?s funny. 4 days ago i asked on the dev list "What combination of xCode and Livecode do i have to use, when i want to create apps that run on iPhone 4 with iOS 5.x/iOS6 and iPhone 5?" And Ben?s answer was: with LiveCode 5.5.2 use xCode 4.4.1 with LiveCode 5.5.3 use xCode 4.5 As i do not have an iPhone 5 for testing, i just can rely on Runrev or someone who has already tested with iPhone 5. So what correct now? Matthias -- Matthias Rebbe matthias (at) rebbe.tk Tel +49.5741.310000 Tel +49.160.5504462 -- "Life is too short for boring code" Am 02.10.2012 um 21:59 schrieb John Dixon : > > > > I got a different answer :-) > > 'You have correctly identified the current workaround to getting your apps to run > on iOS 6. This will be resolved with the next release of LiveCode, due out > shortly, 5.5.2 is not fully compatible with iOS 6.' > > The current workaround being livCode 5.5.1 and xCode 4.4.1 > > Dixie > >> i got the following answer from Runrev to my question which combination of LC/xCode will create apps which run on iphone 4 and iphone 5. > >> "with LiveCode 5.5.2 use xCode 4.4.1 >> with LiveCode 5.5.3, when available, use xCode 4.5" > >> Regards, >> >> Matthias >> -- >> Matthias Rebbe >> matthias (at) rebbe.tk >> Tel +49.5741.310000 >> Tel +49.160.5504462 >> -- >> "Life is too short for boring code" >> >> >> >> >> >> >> >> >> Am 02.10.2012 um 20:35 schrieb Ludovic Th?bault : >> >>> Hello >>> >>> Just to clarify (i cannot test under iPhone 5) : >>> To have an app that works on iPhone 5 under iOS 6 we need to wait Livecode 5.5.3 (to work with Xcode 4.5). >>> It's right ? >>> >>> Or it is already possible to compile with LC 5.5.2 and Xcode 4.1) ? >>> >>> Thanks >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Oct 2 16:50:27 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Oct 2012 15:50:27 -0500 Subject: Finally found one. In-Reply-To: <506B5199.8020702@splash21.com> References: <8017A228-604E-4C81-82DB-E4AD0837AD4B@mac.com> <1349142999758-4655711.post@n4.nabble.com> <8CF6E5C5EAD0914-1B24-66F4F@webmail-m081.sysops.aol.com> <506B5199.8020702@splash21.com> Message-ID: <506B5393.1070907@hyperactivesw.com> On 10/2/12 3:42 PM, John Craig wrote: > Hi, Craig. Looks like the trouble is that you've always got a pending > message, so after you press stop, there's another message fired > immediately to start things rolling again. > > try this handler in the card; > > command cancelMessages pMessages > -- cancel any pending messages in the pMessages list > if pMessages = empty then exit cancelMessages > put the pendingMessages into tPending > repeat for each line tMsg in tPending > put item 1 of tMsg into tID > put item 3 of tMsg into tName > if tName is among the items of pMessages then cancel tID > end repeat > end cancelMessages > > > > and change your showRandoms command to; > > > on showRandoms tSecs > put random(99) > if tSecs = 0 then > cancelMessages "showRandoms" > exit to top > end if > if tSecs > the seconds then send "showRandoms" && tSecs to me in 10 > millisecs > end showRandoms > > > HTH :) Ah, that's it. I tried handling pending messages differently but in the wrong place: on showRandoms tSecs put random(99) wait 0 with messages if tSecs = 0 then exit to top end if if tSecs > the seconds and "showRandoms" is not in the pendingmessages then send "showRandoms" && tSecs to me in 5 end showRandoms Your way works. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Tue Oct 2 16:56:30 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 2 Oct 2012 20:56:30 +0000 (UTC) Subject: Finally found one. References: <8CF6EBBA9B0E1BC-DFC-6B7F8@webmail-m007.sysops.aol.com> <506B4961.4040505@hyperactivesw.com> Message-ID: J. Landman Gay writes: > I added "wait 0 with messages" to Craig's card handler and it didn't > work. :( I've been tinkering with it and I can't find anything so far > that makes it work. OK - granted I've only tried it on Windows and linux so far. There may be some other platform out there. I'll give it a try again when I get back to my mac. -- Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Tue Oct 2 16:58:45 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 2 Oct 2012 20:58:45 +0000 (UTC) Subject: [OT] Boasting References: <506B3B7F.2020101@gmail.com> Message-ID: Richmond writes: > I have just sold my FIRST copy of Devawriter Pro for $50. !!! Yay! Congratulations. -- Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Tue Oct 2 16:58:44 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Oct 2012 15:58:44 -0500 Subject: command-click on a word In-Reply-To: <8AF46240-CD58-4FAA-BDB1-CE5A2FB7F66D@doctorTimothyMiller.com> References: <7C509FB6-7AE3-458F-9234-CFA8C28A9812@doctorTimothyMiller.com> <19CD97A6-06CB-4695-8C3A-3CFAE450AC04@doctorTimothyMiller.com> <506A207F.2020704@hyperactivesw.com> <8AF46240-CD58-4FAA-BDB1-CE5A2FB7F66D@doctorTimothyMiller.com> Message-ID: <506B5584.1060408@hyperactivesw.com> On 10/2/12 3:39 PM, Timothy Miller wrote: > Now I'm curious again. I suppose the definition of "our jobs," as > above, has changed on the LC list. Is the LC list mostly comprised of > developers writing mobile apps these days? I just meant that anyone developing cross platform apps (Windows, OS X, mobile) couldn't use the same code base for all builds. The menu is strictly an OS X service, so there would have to be a lot of code-branching for each platform, and lots of specialized handlers to accomodate similar functionality on non-Mac machines. I was probably a little presumptuous, forgetting that some folks develop only for their own use. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Tue Oct 2 17:03:45 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 2 Oct 2012 14:03:45 -0700 Subject: [OT] What does Richmond do with Livecode? In-Reply-To: <9534DBA3-F4BC-4690-A100-53469329AA05@gmail.com> References: <50688FBD.5010905@gmail.com> <50689D41.3040108@hyperactivesw.com> <003d01cd9ff2$bb703f10$3250bd30$@net> <9534DBA3-F4BC-4690-A100-53469329AA05@gmail.com> Message-ID: <53C7320F-A390-4C01-8291-7BEDCA6524E8@twft.com> I won't interact with people/organizations like that. Another thing that ticks me off is multiple redirects, so that if you click the back button it clicks in again, ostensibly padding their click in stats for their advertisers. I will not interact with a site like that or buy anything from them. Bob On Oct 2, 2012, at 5:23 AM, Peter M. Brigham wrote: > It's annoying to me when anyone restricts their communication to the Facebook channel. > > -- Peter From mwieder at ahsoftware.net Tue Oct 2 17:00:17 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 2 Oct 2012 21:00:17 +0000 (UTC) Subject: OT?: What Apple, Microsoft and the Rest of Them =?utf-8?b?RG9u4oCZdA==?= Get Message-ID: Not too far OT, apropos some recent discussions here: http://scienceblogs.com/gregladen/2012/09/29/what-apple-microsoft-and-the-rest-of-them-dont-get/ -- Mark Wieder mwieder at ahsoftware.net From bobs at twft.com Tue Oct 2 17:07:08 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 2 Oct 2012 14:07:08 -0700 Subject: iOS No code signature found! In-Reply-To: <0C5A7F15-0C19-48A7-A52A-1E99A8C26AA5@all-auctions.com> References: <50689A7B.8000006@hyperactivesw.com> <3F635F67-6AB1-497A-873E-5B1D611D8C02@major.on-rev.com> <46F3CD11-459C-44FC-96AA-BC76A61BC48F@twft.com> <3A9B14CC-363E-43B9-820D-C5A61BEBEE22@all-auctions.com> <43675225-623B-404E-84D2-158ED293B8B9@me.com> <18F23B3C-5689-4C52-90F9-74BBC48D635E@all-auctions.com> <184C2C49-8254-4B59-A7D5-80B5FA493F1C@me.com> <0C5A7F15-0C19-48A7-A52A-1E99A8C26AA5@all-auctions.com> Message-ID: <53BC79AE-5064-4456-9226-501AEB691886@twft.com> The keychain, as useful as it is, can be problematic. I have had situations where I had to delete the password entry for a wireless network to be able to connect to a wireless, and the password had NOT changed! The keychain entry just got borked somehow. Bob On Oct 2, 2012, at 8:01 AM, Rick Harrison wrote: > Hi Chris, > > I finally got it to work by deleting the in my keychain. > That apparently forced LC to rebuild things correctly when > I created my standalone again. > > Thank you for your encouragement and help! > > Rick > > On Oct 2, 2012, at 10:52 AM, Chris Sheffield wrote: > >> Wow, someone else might have to chime in here. I'm not really sure what else to try. >> >> Actually, I did just have one more thought. Sometimes this procedure will fix things for me if I'm having strange problems. Maybe you've done this already, but try opening Xcode and then the Organizer window. On the left, select Provisioning Profiles under Library then hit the Refresh button. It'll ask you to log into your Apple dev account. Then, with any luck, it'll refresh and reinstall everything (profiles and certs). After doing this you may have to reselect your profile in LiveCode again. I'm not sure about that. Then give your build a try again. >> >> If that doesn't work, I'm out of ideas. Sorry. >> >> Chris >> >> >> On Oct 2, 2012, at 8:42 AM, Rick Harrison wrote: >> >>> Hi Chris, >>> >>> Yes, I had my provisioning profile selected correctly. I tried to >>> have it select a new one that I created, and it made no difference. >>> I tried resetting it back to the old one, and it made no difference. >>> >>> Under LC 5.2.2 it used to ask for permission to use a couple of >>> things out of my keychain. Under LC 5.5.3rc1 it doesn't ask anymore, >>> so I'm wondering if it isn't bundling things correctly. >>> >>> Your thoughts? >>> >>> Rick >>> >>> On Oct 2, 2012, at 10:10 AM, Chris Sheffield wrote: >>> >>>> Make sure you've selected your provisioning profile in the standalone builder settings. Again, sometimes when upgrading LiveCode and/or Xcode, it's been necessary to set it again. I've also had to do it when updating my profile for whatever reason (i.e. it's expired, I've added a new device, etc.). >>>> >>>> Chris >>>> >>>> >>>> On Oct 1, 2012, at 8:29 PM, Rick Harrison wrote: >>>> >>>>> Hi Chris, >>>>> >>>>> Ok, I managed to get the Simulators to work, and I can make a >>>>> Standalone, but now I get: No code signature found from Xcode! >>>>> Please don't tell me I have to go through the grueling >>>>> Provisioning Profile again! >>>>> >>>>> Xcode says I have a valid Provisioning Profile. >>>>> >>>>> Thanks for any helpful suggestions 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 jacque at hyperactivesw.com Tue Oct 2 17:02:16 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Oct 2012 16:02:16 -0500 Subject: iPad? In-Reply-To: <506B4B1B.10409@gmail.com> References: <506B4B1B.10409@gmail.com> Message-ID: <506B5658.8050008@hyperactivesw.com> On 10/2/12 3:14 PM, Richmond wrote: > Does anybody know whether a standard MacINTEL build will transfer > "seamlessly" (Ha, Ha, Ha) > to iPad??? Define "standard". :) Usually you need to adjust a lot of the UI for mobile apps, and you may need to write code to support some native controls. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Tue Oct 2 17:13:15 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 2 Oct 2012 14:13:15 -0700 Subject: [OT] Facebook In-Reply-To: References: Message-ID: <1AF2234A-D2A3-4753-BE1A-B4161C0BF254@twft.com> I got that email, only they were not asking for a secondary address for security purposes. They wanted to open my email account and scrape it for addresses. They promised to be really, really careful with the information I gave them. At first I thought it was a scam, but it turned out it really was from Facebook!! Ok... I can see some young programmer thinking this was a good idea, but to ask someone for a user name and password to their email account? Ohe Myee Gawad! (as the valley girls say). NOBODY (except for of course, NOBODY) asks for full credentials to ANYTHING via an email message!!!!! Except Facebook. Bob On Oct 2, 2012, at 12:05 PM, Jeff Reynolds wrote: > then late one night facebook emailed they wanted a second email address for security purposes. i was tired and not thinking and used one of my main email addresses for this. Well i woke up the next morning with a few hundred friend requests! they of course used the 'security' email address to mine folks address books to make more connections (many did not realize they were allowing this as well). From bobs at twft.com Tue Oct 2 17:15:44 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 2 Oct 2012 14:15:44 -0700 Subject: iPad? In-Reply-To: <506B4B1B.10409@gmail.com> References: <506B4B1B.10409@gmail.com> Message-ID: I don't know that much about development on iOS, but if Apple defines a place you can store documents your apps create, then I suspect that will get synched to iCloud. Only one way to know for sure! Bob On Oct 2, 2012, at 1:14 PM, Richmond wrote: > Goofy question really..... > > I was in my local Computer air-hangar the other day and having a goggle at iPads (not > because I want one, but because I wanted to "have a fiddle") and they stated on the box > that they ran 'Mac OS X'. > > This being Bulgaria nobody but nobody knows anything about Apple (my younger son told me > 2 years ago that a girl at his school bought an Apple laptop and then ONLY ran Windows on it), > and looks at you as though you have a third eye if you ask anything vaguely technical about Apple. > > Come to think of it, the only way to get even oddeer looks in Bulgaria is to start talking about Linux. > > The chap who just bought a copy of my Devawriter wrote this: > > "A version in time for IPAD? Then documents could be passed via iCloud? Please !" > > Does anybody know whether a standard MacINTEL build will transfer "seamlessly" (Ha, Ha, Ha) > to iPad??? > > 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 bobs at twft.com Tue Oct 2 17:18:22 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 2 Oct 2012 14:18:22 -0700 Subject: command-click on a word In-Reply-To: <27D04683-7D91-4B57-BC57-31F94DBF0D05@gmail.com> References: <7C509FB6-7AE3-458F-9234-CFA8C28A9812@doctorTimothyMiller.com> <19CD97A6-06CB-4695-8C3A-3CFAE450AC04@doctorTimothyMiller.com> <9CCE817A-151A-4A78-90EA-DB93CFD34AB5@twft.com> <27D04683-7D91-4B57-BC57-31F94DBF0D05@gmail.com> Message-ID: So sorry my bad. It is control. On Oct 2, 2012, at 5:42 AM, Peter M. Brigham wrote: > On Oct 1, 2012, at 6:42 PM, Bob Sneidar wrote: > >> Command clicking and right-clicking are the same thing in OS x (unless you changed the default prefs). > > Unless I am mistaken, this is not true. In OSX, control-clicking and right clicking are the same thing, but not the same as command-clicking -- the common denominator is that they both trigger a mouseup message even in an unlocked field. E.g., put this in a field script and you'll see the difference: From bobs at twft.com Tue Oct 2 17:19:35 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 2 Oct 2012 14:19:35 -0700 Subject: command-click on a word In-Reply-To: <8AF46240-CD58-4FAA-BDB1-CE5A2FB7F66D@doctorTimothyMiller.com> References: <7C509FB6-7AE3-458F-9234-CFA8C28A9812@doctorTimothyMiller.com> <19CD97A6-06CB-4695-8C3A-3CFAE450AC04@doctorTimothyMiller.com> <506A207F.2020704@hyperactivesw.com> <8AF46240-CD58-4FAA-BDB1-CE5A2FB7F66D@doctorTimothyMiller.com> Message-ID: <4DBEE06A-FEBA-4395-A05D-33BACF67BE80@twft.com> No the core of it was presented to me by another LC dev, and I modified it to suit my needs. I just didn't want to go through the trouble of making it generic again. Bob On Oct 2, 2012, at 1:39 PM, Timothy Miller wrote: > There's my answer. Thanks, J. > > On Oct 1, 2012, at 4:00 PM, J. Landman Gay wrote: > >> It's an OS X Service and apps can hook into it if they want. I suspect LiveCode doesn't do it because of its cross-platform nature. None of the other operating systems have it and branching the engine code to support a single OS is probably a lot of work. It wouldn't make our jobs any easier either, since only apps built for Macs would work with it. > > > Now I'm curious again. I suppose the definition of "our jobs," as above, has changed on the LC list. Is the LC list mostly comprised of developers writing mobile apps these days? > > Thanks also to Bob, for the extensive reply. I hope you didn't write all that code just for me! > > 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 bobs at twft.com Tue Oct 2 17:21:20 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 2 Oct 2012 14:21:20 -0700 Subject: iPhone 5 and iOS 6 In-Reply-To: <00C8FF52-ADCF-4A94-90F5-7216E21815C2@m-r-d.de> References: <32928752-D50E-49D4-975A-27989B7AA557@laposte.net>, <8ACAC279-C123-4BC0-8D96-9F7562C527B5@m-r-d.de> <00C8FF52-ADCF-4A94-90F5-7216E21815C2@m-r-d.de> Message-ID: Erm... wait for LC 5.5.3? On Oct 2, 2012, at 1:50 PM, Matthias Rebbe wrote: > That?s funny. 4 days ago i asked on the dev list > > "What combination of xCode and Livecode do i have to use, when i want to create apps that run on iPhone 4 with iOS 5.x/iOS6 and iPhone 5?" > > And Ben?s answer was: > > with LiveCode 5.5.2 use xCode 4.4.1 > with LiveCode 5.5.3 use xCode 4.5 > > > As i do not have an iPhone 5 for testing, i just can rely on Runrev or someone who has already tested with iPhone 5. > > So what correct now? > > Matthias > > -- > Matthias Rebbe > matthias (at) rebbe.tk > Tel +49.5741.310000 > Tel +49.160.5504462 > -- > "Life is too short for boring code" > > > > > > > > > Am 02.10.2012 um 21:59 schrieb John Dixon : > >> >> >> >> I got a different answer :-) >> >> 'You have correctly identified the current workaround to getting your apps to run >> on iOS 6. This will be resolved with the next release of LiveCode, due out >> shortly, 5.5.2 is not fully compatible with iOS 6.' >> >> The current workaround being livCode 5.5.1 and xCode 4.4.1 >> >> Dixie >> >>> i got the following answer from Runrev to my question which combination of LC/xCode will create apps which run on iphone 4 and iphone 5. >> >>> "with LiveCode 5.5.2 use xCode 4.4.1 >>> with LiveCode 5.5.3, when available, use xCode 4.5" >> >>> Regards, >>> >>> Matthias >>> -- >>> Matthias Rebbe >>> matthias (at) rebbe.tk >>> Tel +49.5741.310000 >>> Tel +49.160.5504462 >>> -- >>> "Life is too short for boring code" >>> >>> >>> >>> >>> >>> >>> >>> >>> Am 02.10.2012 um 20:35 schrieb Ludovic Th?bault : >>> >>>> Hello >>>> >>>> Just to clarify (i cannot test under iPhone 5) : >>>> To have an app that works on iPhone 5 under iOS 6 we need to wait Livecode 5.5.3 (to work with Xcode 4.5). >>>> It's right ? >>>> >>>> Or it is already possible to compile with LC 5.5.2 and Xcode 4.1) ? >>>> >>>> Thanks >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Oct 2 17:33:00 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Oct 2012 16:33:00 -0500 Subject: iPhone 5 and iOS 6 In-Reply-To: References: <32928752-D50E-49D4-975A-27989B7AA557@laposte.net>, , <8ACAC279-C123-4BC0-8D96-9F7562C527B5@m-r-d.de>, , <506B4CC1.50902@hyperactivesw.com> Message-ID: <506B5D8C.2090405@hyperactivesw.com> On 10/2/12 3:47 PM, John Dixon wrote: > > Chinese whispers ?...:-) Yeah, maybe. But I still don't know what to do. I suppose if it crashes, Apple will be happy to tell me so. BTW, I had to look that up. We've always called it "Telephone". > >> On 10/2/12 2:59 PM, John Dixon wrote: >>> I got a different answer :-) >>> >>> 'You have correctly identified the current workaround to getting your apps to run >>> on iOS 6. This will be resolved with the next release of LiveCode, due out >>> shortly, 5.5.2 is not fully compatible with iOS 6.' >>> >>> The current workaround being livCode 5.5.1 and xCode 4.4.1 >> >> Oh great. I've got an app waiting for review, built with 5.5.2 and >> 4.4.1. Someone else told me that combination worked on iOS 6. Maybe it >> depends on what the app does? Or should I pull the update and rebuild? > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 terry.judd at unimelb.edu.au Tue Oct 2 17:55:25 2012 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 2 Oct 2012 21:55:25 +0000 Subject: iPhone 5 and iOS 6 In-Reply-To: <00C8FF52-ADCF-4A94-90F5-7216E21815C2@m-r-d.de> References: <32928752-D50E-49D4-975A-27989B7AA557@laposte.net>, <8ACAC279-C123-4BC0-8D96-9F7562C527B5@m-r-d.de> , <00C8FF52-ADCF-4A94-90F5-7216E21815C2@m-r-d.de> Message-ID: On 03/10/2012, at 6:51 AM, "Matthias Rebbe" wrote: > That?s funny. 4 days ago i asked on the dev list > > "What combination of xCode and Livecode do i have to use, when i want to create apps that run on iPhone 4 with iOS 5.x/iOS6 and iPhone 5?" > > And Ben?s answer was: > > with LiveCode 5.5.2 use xCode 4.4.1 > with LiveCode 5.5.3 use xCode 4.5 > > > As i do not have an iPhone 5 for testing, i just can rely on Runrev or someone who has already tested with iPhone 5. > > So what correct now? I don't know about the app store but I'm distributing an app using an enterprise developer account and LC 5.5.2 and Xcode 4.4.1 seems to be compatible with the iPhone 5 (I haven't resized the app for the 4 inch screen though). Terry... > > Matthias > > -- > Matthias Rebbe > matthias (at) rebbe.tk > Tel +49.5741.310000 > Tel +49.160.5504462 > -- > "Life is too short for boring code" > > > > > > > > > Am 02.10.2012 um 21:59 schrieb John Dixon : > >> >> >> >> I got a different answer :-) >> >> 'You have correctly identified the current workaround to getting your apps to run >> on iOS 6. This will be resolved with the next release of LiveCode, due out >> shortly, 5.5.2 is not fully compatible with iOS 6.' >> >> The current workaround being livCode 5.5.1 and xCode 4.4.1 >> >> Dixie >> >>> i got the following answer from Runrev to my question which combination of LC/xCode will create apps which run on iphone 4 and iphone 5. >> >>> "with LiveCode 5.5.2 use xCode 4.4.1 >>> with LiveCode 5.5.3, when available, use xCode 4.5" >> >>> Regards, >>> >>> Matthias >>> -- >>> Matthias Rebbe >>> matthias (at) rebbe.tk >>> Tel +49.5741.310000 >>> Tel +49.160.5504462 >>> -- >>> "Life is too short for boring code" >>> >>> >>> >>> >>> >>> >>> >>> >>> Am 02.10.2012 um 20:35 schrieb Ludovic Th?bault : >>> >>>> Hello >>>> >>>> Just to clarify (i cannot test under iPhone 5) : >>>> To have an app that works on iPhone 5 under iOS 6 we need to wait Livecode 5.5.3 (to work with Xcode 4.5). >>>> It's right ? >>>> >>>> Or it is already possible to compile with LC 5.5.2 and Xcode 4.1) ? >>>> >>>> Thanks >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Tue Oct 2 18:25:33 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 2 Oct 2012 18:25:33 -0400 Subject: [OT] The ultimate Chinese copy of an original Message-ID: http://www.kotaku.com.au/2012/10/close-ups-of-wax-steve-jobs-are-creepy/ ~Roger From bobs at twft.com Tue Oct 2 18:39:29 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 2 Oct 2012 15:39:29 -0700 Subject: [OT] The ultimate Chinese copy of an original In-Reply-To: References: Message-ID: <60033364-75BE-49C3-BD85-89CD797E0E4B@twft.com> Why do Vimeo videos play so gawdawefully badly on my Macbook Pro with a 100 Mbit internet connection?? On Oct 2, 2012, at 3:25 PM, Roger Eller wrote: > http://www.kotaku.com.au/2012/10/close-ups-of-wax-steve-jobs-are-creepy/ > > ~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 rdimola at evergreeninfo.net Tue Oct 2 19:10:23 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 2 Oct 2012 19:10:23 -0400 Subject: Android Native Input Control Keyboard stuck on In-Reply-To: <60033364-75BE-49C3-BD85-89CD797E0E4B@twft.com> References: <60033364-75BE-49C3-BD85-89CD797E0E4B@twft.com> Message-ID: <005001cda0f3$1a09cf40$4e1d6dc0$@net> 1) All is good until I try to move to another card. The keyboard stay active. Does anyone know how to make the keyboard go away? If one hits the physical back button the keyboard disappears and all is well but no LC message is generated(not that I need it). I tried the o'l "set focus to nothing" although I think this is only applicable to LC field object and did not work. I tried to send a backkey message and pass it to the engine, but all that does is follow the backkey logic. 2) When I move to the card with the native input controls I do a "push left". The card with the native controls is started I resize and create the native input controls in the preopencard handler. However the input fields appear over the previous card then the proper card slides into place. I now create the input controls in the opencard handler. The user now sees the card with all controls except the native inputs slid into place and the input controls just "poof" appear. The LC field object is much better in some ways but on some devices if predictive type or a 3rd party keyboard is used LC just locks up and FC when the first character is typed into the field Any Ideas? Thanks! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From dunbarx at aol.com Tue Oct 2 20:49:03 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 2 Oct 2012 20:49:03 -0400 (EDT) Subject: Finally found one. In-Reply-To: References: <8CF6EBBA9B0E1BC-DFC-6B7F8@webmail-m007.sysops.aol.com> Message-ID: <8CF6F1804ED4ABA-964-8C6F4@webmail-m021.sysops.aol.com> Mark. I know that. I know that "wait" is blocking without the "with messages" part. I found this a terrific and profound improvement over HC. I've been around the block, you know. What I am missing, though, is what happens during the time a script has finished, and a new message is sent "in time". I see no blocking intrinsic to any portion of such a construct. Two buttons. In one, place on mouseUp put random(99) if the optionKey is down then exit to top send "mouseUp" to me in 1 second end mouseUp In btn 2: on mouseUp set the loc of me to the mouseLoc end mouseUp Press button 1. You get a second counter. Any time you wish, you may click on the other button and watch it jump to the mouseLoc. As advertised, and as i understood it. In original sample script, why isn't the secondary message caught by the working handler while it is running, as opposed to while it is under the control of the debugger? It does not matter if I send the message back in a longer time. So to simplify, two more buttons. In the first: on mouseUp showRandoms 3 end mouseUp In the second: on mouseUp showRandoms 0 end mouseUp in the card script: on showRandoms var put random(99) if var = 0 then repeat for each line tLine in the pendingMessages cancel item 1 of tLine end repeat exit to top end if send "showRandoms" && 3 to this card in 60 end mouseup Does the existence of a pending message block a new call to that very handler from another source? The stop works if the code runs as shown. It fails if the repeat construct is commented out. That is what I am trying to understand. Craig -----Original Message----- From: Mark Wieder To: use-livecode Sent: Tue, Oct 2, 2012 1:52 pm Subject: Re: Finally found one. Craig- > I thought of that, but believed that the "send in time", where I even increased the time value to, say, 100 ticks, would be more than enough to allow the engine to "rest". It's not a matter of giving the engine time to "rest". See below. > I see clearly what "wait with messages" does. No, I do think you're missing the point. It's the "with messages" part that's important, not the "wait" part. It doesn't matter how long you wait - if you omit the messages part the engine still won't be looking for other events. "With messages" says "look around and see what other messages may have been triggered before continuing". As in, someone might have clicked a button. Or a message may have come in from another control. Or another timer has expired. Or... > But I am trying to avoid "wait" in general Waiting for 0 milliseconds is essentially not waiting. It just gives us something to tack the "with messages" part onto. So don't be afraid of waiting for no time. The overhead of checking for messages will take up more time than the wait statement and you won't even notice 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 From cszasz at me.com Tue Oct 2 20:50:29 2012 From: cszasz at me.com (Charles Szasz) Date: Tue, 02 Oct 2012 20:50:29 -0400 Subject: How do you group two groups on two separate cards? Message-ID: Some time ago I was able to group two different groups on two cards in a stack. Unfortunately, I do not remember how I did this! I tried the following script in the message box: group group "one" of card "two" and group "two" of card "three" This does group the two groups but it also puts them on the same card, which is not I want or need. Any suggestions on how to group two groups on two separate cards? Charles Szasz cszasz at mac.com From dunbarx at aol.com Tue Oct 2 21:15:23 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 2 Oct 2012 21:15:23 -0400 (EDT) Subject: Finally found one. In-Reply-To: <506B5199.8020702@splash21.com> References: <8017A228-604E-4C81-82DB-E4AD0837AD4B@mac.com> <1349142999758-4655711.post@n4.nabble.com> <8CF6E5C5EAD0914-1B24-66F4F@webmail-m081.sysops.aol.com> <506B5199.8020702@splash21.com> Message-ID: <8CF6F1BB2B4A049-964-8CF0B@webmail-m021.sysops.aol.com> John. Just read your post. I came to the same conclusion. See the last entry in the thread in the forums. But it seems like each time a pending message is queued, a message is sent, so I do not see why these should build up. But I posted an example, similar to your thinking, and it obviously is the reason behind it all. But as Bernd notes, why the "exit to top" doesn't kill everything is still a mystery... Craig Newman -----Original Message----- From: John Craig To: How to use LiveCode Sent: Tue, Oct 2, 2012 4:43 pm Subject: Re: Finally found one. Hi, Craig. Looks like the trouble is that you've always got a pending message, so after you press stop, there's another message fired immediately to start things rolling again. try this handler in the card; command cancelMessages pMessages -- cancel any pending messages in the pMessages list if pMessages = empty then exit cancelMessages put the pendingMessages into tPending repeat for each line tMsg in tPending put item 1 of tMsg into tID put item 3 of tMsg into tName if tName is among the items of pMessages then cancel tID end repeat end cancelMessages and change your showRandoms command to; on showRandoms tSecs put random(99) if tSecs = 0 then cancelMessages "showRandoms" exit to top end if if tSecs > the seconds then send "showRandoms" && tSecs to me in 10 millisecs end showRandoms HTH :) On 02/10/2012 03:25, dunbarx at aol.com wrote: > > > > Finally found reproducible scripts that work as advertised when stepping through in the deBugger, but do not when simply run. This gremlin has been sighted, like the Yeti, by nominally sane people, but never caught. > > > Make two buttons. Name one "start". Name the other "stop". > > > in btn "start": > on mouseUp > put the seconds + 8 into tSecs > showrandoms tSecs > end mouseUp > > > In btn "stop": > on mouseup > send "showRandoms" && 0 to this card > end mouseup > > > In the card script: > on showRandoms tSecs > put random(99) > if tSecs = 0 then > exit to top > end if > if tSecs > the seconds then send "showRandoms" && tSecs to me in 0 millisecs > end showRandoms > > > Try it. If you press the "start" button, you get random numbers in msg for eight seconds. If you press the "stop" not while this is going on, nothing happens. > > > If you place a breakpoint at the "exit to top" line in the card script. the handler is caught there, and if you then step through, you exit. The "stop" button resets the variable "tSecs" to a value that will force showRandoms to end. And it does, but only if you step through, not if you run it. The variable watcher shows a "0" as the value of tSecs, as it should, and the conditional tosses you out of the handler. As it should. > > > But not in a normal run, only in the debugger. > > > I have been chasing this since 1987. I am not crazy. I have pictures. I will start a support group. > > > Craig Newman > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From terry.judd at unimelb.edu.au Tue Oct 2 21:15:22 2012 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 3 Oct 2012 01:15:22 +0000 Subject: How do you group two groups on two separate cards? In-Reply-To: References: Message-ID: On 03/10/2012, at 10:50 AM, Charles Szasz wrote: > Some time ago I was able to group two different groups on two cards in a stack. Unfortunately, I do not remember how I did this! I tried the following script in the message box: > > group group "one" of card "two" and group "two" of card "three" > > This does group the two groups but it also puts them on the same card, which is not I want or need. Any suggestions on how to group two groups on two separate cards? I'd be very surprised if there was any way of doing that, but why not do what you are already doing (which I think will remove the group from the second card) and then place the newly created parent group on the second card. In a preopencard handler you could then show/hide the child groups of the parent group on each of the cards as appropriate. Terry... > > Charles Szasz > cszasz at mac.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From cszasz at me.com Tue Oct 2 21:19:36 2012 From: cszasz at me.com (Charles Szasz) Date: Tue, 02 Oct 2012 21:19:36 -0400 Subject: How do you group two groups on two separate cards? Message-ID: <528994FB-B465-4D7D-A193-6A6BCE4A22DA@me.com> Terry, I need both groups to remain on their respected cards. As I stated before, I was able to group 20 separate groups in another project. I wish I has written down the procedure! Charles Szasz cszasz at mac.com From mwieder at ahsoftware.net Tue Oct 2 21:27:06 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 2 Oct 2012 18:27:06 -0700 Subject: Finally found one. In-Reply-To: <8CF6F1804ED4ABA-964-8C6F4@webmail-m021.sysops.aol.com> References: <8CF6EBBA9B0E1BC-DFC-6B7F8@webmail-m007.sysops.aol.com> <8CF6F1804ED4ABA-964-8C6F4@webmail-m021.sysops.aol.com> Message-ID: <140862126265.20121002182706@ahsoftware.net> Craig- Tuesday, October 2, 2012, 5:49:03 PM, you wrote: > I've been around the block, you know. LOL. You and me both, buddy. > Does the existence of a pending message block a new call to that > very handler from another source? The stop works if the code runs as > shown. It fails if the repeat construct is commented out. That is > what I am trying to understand. In spite of the documentation, I remain unconvinced that exit to top really cancels pending messages. What I see happening in the absence of a "wait with messages" statement is that the exit to top does exit, but leaves a call to showRandoms still pending. Then the pending call executes and off you go again. To demonstrate this, change the card script to on showRandoms tSecs put random(99) after msg if tSecs = 0 then put " exiting to top" & cr after msg exit to top end if put " still working" & cr after msg if tSecs > the seconds then send "showRandoms" && tSecs to me in 500 millisecs end showRandoms and you'll see the "still working" message appear even after the "exiting to top" message. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Tue Oct 2 21:28:04 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 2 Oct 2012 18:28:04 -0700 Subject: Finally found one. In-Reply-To: References: <8CF6EBBA9B0E1BC-DFC-6B7F8@webmail-m007.sysops.aol.com> <506B4961.4040505@hyperactivesw.com> Message-ID: <170862183796.20121002182804@ahsoftware.net> Jacque- Tuesday, October 2, 2012, 1:56:30 PM, I wrote: > OK - granted I've only tried it on Windows and linux so far. > There may be some other platform out there. > I'll give it a try again when I get back to my mac. OK - no surprise here. Same result on OSX. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Tue Oct 2 21:29:53 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 2 Oct 2012 18:29:53 -0700 Subject: Finally found one. In-Reply-To: <506B5393.1070907@hyperactivesw.com> References: <8017A228-604E-4C81-82DB-E4AD0837AD4B@mac.com> <1349142999758-4655711.post@n4.nabble.com> <8CF6E5C5EAD0914-1B24-66F4F@webmail-m081.sysops.aol.com> <506B5199.8020702@splash21.com> <506B5393.1070907@hyperactivesw.com> Message-ID: <103862292750.20121002182953@ahsoftware.net> Jacque- Tuesday, October 2, 2012, 1:50:27 PM, you wrote: > Ah, that's it. I tried handling pending messages differently but in the > wrong place: > on showRandoms tSecs > put random(99) > wait 0 with messages > if tSecs = 0 then > exit to top > end if > if tSecs > the seconds and "showRandoms" is not in the pendingmessages > then send "showRandoms" && tSecs to me in 5 > end showRandoms You actually don't need the pendingmessages test if you've got the wait 0 with messages line in there. Unless you hit the start button multiple times there will only ever be one "showRandoms" message pending because it's queued up at the end of the previous one. -- -Mark Wieder mwieder at ahsoftware.net From scott at tactilemedia.com Tue Oct 2 22:11:23 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 02 Oct 2012 19:11:23 -0700 Subject: Finally found one. In-Reply-To: <8CF6F1BB2B4A049-964-8CF0B@webmail-m021.sysops.aol.com> Message-ID: Not speaking as an authority, just from my own experience? "exit xyz" exits the current handler, and allows a calling handler to continue executing, if present "exit to top" exits and stops executing the current handler and any calling handler if present; any pending messages will be sent "send xyz to me in 200 millisecs" allows other messages/events to take place "wait until with messages" allows other messages/events to take place (in what I think of as being an ultra-tight repeat loop) If you want to cancel a message that has been sent in time, you can: 1) grab the id upon sending the message to be canceled later 2) do a "repeat for each" in the pending messages to find the line containing the message name and cancel it 3) cancel all the pendingMessages Hope this helps. Regards, Scott Rossi Creative Director Tactile Media, UX Design On 10/2/12 6:15 PM, "dunbarx at aol.com" wrote: >But as Bernd notes, why the "exit to top" doesn't kill everything is >still a mystery... From jacque at hyperactivesw.com Tue Oct 2 22:10:37 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Oct 2012 21:10:37 -0500 Subject: How do you group two groups on two separate cards? In-Reply-To: <528994FB-B465-4D7D-A193-6A6BCE4A22DA@me.com> References: <528994FB-B465-4D7D-A193-6A6BCE4A22DA@me.com> Message-ID: <506B9E9D.6090809@hyperactivesw.com> On 10/2/12 8:19 PM, Charles Szasz wrote: > Terry, > > I need both groups to remain on their respected cards. As I stated > before, I was able to group 20 separate groups in another project. I > wish I has written down the procedure! I don't think it's possible to have a container group that doesn't have all its parts on the card. Maybe you just hid one of the inner groups? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Oct 2 22:12:32 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Oct 2012 21:12:32 -0500 Subject: Finally found one. In-Reply-To: <103862292750.20121002182953@ahsoftware.net> References: <8017A228-604E-4C81-82DB-E4AD0837AD4B@mac.com> <1349142999758-4655711.post@n4.nabble.com> <8CF6E5C5EAD0914-1B24-66F4F@webmail-m081.sysops.aol.com> <506B5199.8020702@splash21.com> <506B5393.1070907@hyperactivesw.com> <103862292750.20121002182953@ahsoftware.net> Message-ID: <506B9F10.2080702@hyperactivesw.com> On 10/2/12 8:29 PM, Mark Wieder wrote: > Jacque- > > Tuesday, October 2, 2012, 1:50:27 PM, you wrote: > >> Ah, that's it. I tried handling pending messages differently but in the >> wrong place: > >> on showRandoms tSecs >> put random(99) >> wait 0 with messages >> if tSecs = 0 then >> exit to top >> end if >> if tSecs > the seconds and "showRandoms" is not in the pendingmessages >> then send "showRandoms" && tSecs to me in 5 >> end showRandoms > > You actually don't need the pendingmessages test if you've got the > wait 0 with messages line in there. Unless you hit the start button > multiple times there will only ever be one "showRandoms" message > pending because it's queued up at the end of the previous one. > Yeah. I pasted the wrong one of many attempts that were stacked up in the script editor. Some of them had lots of commented lines and I just uncommented everything and pasted. That's my story and I'm sticking with it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Tue Oct 2 22:26:10 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 2 Oct 2012 19:26:10 -0700 Subject: Finally found one. In-Reply-To: <506B9F10.2080702@hyperactivesw.com> References: <8017A228-604E-4C81-82DB-E4AD0837AD4B@mac.com> <1349142999758-4655711.post@n4.nabble.com> <8CF6E5C5EAD0914-1B24-66F4F@webmail-m081.sysops.aol.com> <506B5199.8020702@splash21.com> <506B5393.1070907@hyperactivesw.com> <103862292750.20121002182953@ahsoftware.net> <506B9F10.2080702@hyperactivesw.com> Message-ID: <85865670265.20121002192610@ahsoftware.net> Jacque- Tuesday, October 2, 2012, 7:12:32 PM, you wrote: > Yeah. I pasted the wrong one of many attempts that were stacked up in > the script editor. Some of them had lots of commented lines and I just > uncommented everything and pasted. That's my story and I'm sticking with it. Copy is no problem. Paste always get me in trouble. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Tue Oct 2 22:21:54 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Oct 2012 21:21:54 -0500 Subject: Finally found one. In-Reply-To: <8CF6F1804ED4ABA-964-8C6F4@webmail-m021.sysops.aol.com> References: <8CF6EBBA9B0E1BC-DFC-6B7F8@webmail-m007.sysops.aol.com> <8CF6F1804ED4ABA-964-8C6F4@webmail-m021.sysops.aol.com> Message-ID: <506BA142.4030002@hyperactivesw.com> On 10/2/12 7:49 PM, dunbarx at aol.com wrote: > Does the existence of a pending message block a new call to that very > handler from another source? The stop works if the code runs as > shown. It fails if the repeat construct is commented out. That is > what I am trying to understand. The exit to top will abort the current handler and all of the handlers that called the current one (basically everything that's currently running.) Pending messages aren't running yet so there is nothing to abort there. As soon as the abort happens, the waiting pending message fires and the showRandoms handler starts up again. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Tue Oct 2 22:28:37 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 2 Oct 2012 19:28:37 -0700 Subject: Finally found one. In-Reply-To: References: Message-ID: <85865816750.20121002192837@ahsoftware.net> Scott- Yes to all the above with the exception that I'm not sure send xyz to me in 0 milliseconds gives any time for other messages to get through. -- -Mark Wieder mwieder at ahsoftware.net From coiin at verizon.net Tue Oct 2 22:30:25 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 2 Oct 2012 22:30:25 -0400 Subject: [OT] The ultimate Chinese copy of an original In-Reply-To: References: Message-ID: <7552F84C-8812-41F4-A1AE-D92F95D5D5CE@verizon.net> It's a recent video too, that's an iPhone 5 near the end. On Oct 2, 2012, at 6:25 PM, Roger Eller wrote: > >http://www.kotaku.com.au/2012/10/close-ups-of-wax-steve-jobs-are-creepy/ From jacque at hyperactivesw.com Tue Oct 2 22:27:05 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Oct 2012 21:27:05 -0500 Subject: Android Native Input Control Keyboard stuck on In-Reply-To: <005001cda0f3$1a09cf40$4e1d6dc0$@net> References: <60033364-75BE-49C3-BD85-89CD797E0E4B@twft.com> <005001cda0f3$1a09cf40$4e1d6dc0$@net> Message-ID: <506BA279.7040107@hyperactivesw.com> On 10/2/12 6:10 PM, Ralph DiMola wrote: > 1) All is good until I try to move to another card. The keyboard stay > active. Does anyone know how to make the keyboard go away? If one hits the > physical back button the keyboard disappears and all is well but no LC > message is generated(not that I need it). I tried the o'l "set focus to > nothing" although I think this is only applicable to LC field object and did > not work. Do you mean "focus on nothing"? Even if there are native input fields, focusing on nothing is supposed to remove the keyboard. > > 2) When I move to the card with the native input controls I do a "push > left". The card with the native controls is started I resize and create the > native input controls in the preopencard handler. However the input fields > appear over the previous card then the proper card slides into place. I now > create the input controls in the opencard handler. The user now sees the > card with all controls except the native inputs slid into place and the > input controls just "poof" appear. Locking the screen may help: lock screen for visual effect go next card unlock screen with visual effect push left -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From terry.judd at unimelb.edu.au Tue Oct 2 22:56:08 2012 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 3 Oct 2012 02:56:08 +0000 Subject: How do you group two groups on two separate cards? In-Reply-To: <528994FB-B465-4D7D-A193-6A6BCE4A22DA@me.com> References: <528994FB-B465-4D7D-A193-6A6BCE4A22DA@me.com> Message-ID: On 03/10/2012, at 11:19 AM, Charles Szasz wrote: > Terry, > > I need both groups to remain on their respected cards. As I stated before, I was able to group 20 separate groups in another project. I wish I has written down the procedure! Sorry - no other ideas. I'd like to know how you did it as well but I'm having a hard time getting my head around the idea that a group can exist on two separate cards and have different contents on each. You can copy a group from another card into an existing group, which retains the group on the other card. Is that what you mean? e.g. copy group 1 from card 2 to grp 1 of this cd Terry... > > Charles Szasz > cszasz at mac.com > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From jacque at hyperactivesw.com Tue Oct 2 23:00:38 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Oct 2012 22:00:38 -0500 Subject: State of the internet Message-ID: <506BAA56.4050709@hyperactivesw.com> Interesting set of graphs. Looks like RR was wise to focus on mobile: I suppose in ten years we'll look at our desktop machines with the same nostalgia as we do now with typewriters. At least, those of us who remember typewriters, which of course I've only read about... -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Tue Oct 2 23:34:24 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 2 Oct 2012 20:34:24 -0700 Subject: State of the internet In-Reply-To: <506BAA56.4050709@hyperactivesw.com> References: <506BAA56.4050709@hyperactivesw.com> Message-ID: <43869763968.20121002203424@ahsoftware.net> Jacque- Tuesday, October 2, 2012, 8:00:38 PM, you wrote: > I suppose in ten years we'll look at our desktop machines with the same > nostalgia as we do now with typewriters. At least, those of us who > remember typewriters, which of course I've only read about... ...I've heard about reading. What was that like? -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Tue Oct 2 23:52:07 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Oct 2012 22:52:07 -0500 Subject: State of the internet In-Reply-To: <43869763968.20121002203424@ahsoftware.net> References: <506BAA56.4050709@hyperactivesw.com> <43869763968.20121002203424@ahsoftware.net> Message-ID: <506BB667.6040609@hyperactivesw.com> On 10/2/12 10:34 PM, Mark Wieder wrote: > Jacque- > > Tuesday, October 2, 2012, 8:00:38 PM, you wrote: > >> I suppose in ten years we'll look at our desktop machines with the same >> nostalgia as we do now with typewriters. At least, those of us who >> remember typewriters, which of course I've only read about... > > ...I've heard about reading. What was that like? > Much, much faster than stone etchings. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From Mark_Smith at cpe.umanitoba.ca Wed Oct 3 00:03:15 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Tue, 2 Oct 2012 21:03:15 -0700 (PDT) Subject: Would anyone mind.. In-Reply-To: References: <8017A228-604E-4C81-82DB-E4AD0837AD4B@mac.com> <1349142999758-4655711.post@n4.nabble.com> Message-ID: <1349236995569-4655780.post@n4.nabble.com> Mike Bonner wrote > er.. vcs. :) cvs is dislexia. Thanks :-) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Would-anyone-mind-tp4655630p4655780.html Sent from the Revolution - User mailing list archive at Nabble.com. From Mark_Smith at cpe.umanitoba.ca Wed Oct 3 00:05:57 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Tue, 2 Oct 2012 21:05:57 -0700 (PDT) Subject: [OT] Boasting In-Reply-To: <506B3B7F.2020101@gmail.com> References: <506B3B7F.2020101@gmail.com> Message-ID: <1349237157711-4655781.post@n4.nabble.com> Richmond Mathewson-2 wrote > I have just sold my FIRST copy of Devawriter Pro for $50. While this is Whup, whup!! May there be many more to come!! -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Boasting-tp4655748p4655781.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Wed Oct 3 00:10:56 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 2 Oct 2012 21:10:56 -0700 Subject: State of the internet In-Reply-To: <506BAA56.4050709@hyperactivesw.com> References: <506BAA56.4050709@hyperactivesw.com> Message-ID: <132871955734.20121002211056@ahsoftware.net> Jacque- Tuesday, October 2, 2012, 8:00:38 PM, you wrote: > Interesting set of graphs. Looks like RR was wise to focus on mobile: > Very interesting. Thanks. But... Smartphone sales soon to dwarf personal computer sales? First off, they're different markets - ever hear of a smartphone farm? Secondly, smartphones are more of a commodity item, partly because of the price differential and partly because there's more of a planned obsolescence approach to marketing the latest model and dumping last years'. (someone clue me in on what a "feature phone" is) "Angry Birds has over 1 billion downloads" "2+ billion people online" "2/3 of the world left to go" "1/7 of the world's population use Facebook" OK... so 1 out of every 2 people online has downloaded Angry Birds and roughly that same number is on Facebook. ...and folks who haven't yet bought into all the hype are the "under-penetrated segments in U.S."? Interesting last slide showing a decline in developer interest in ALL mobile platforms over the last two years. Interesting also in that there's no mention of the influence of litigation on growth and stagnation. -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Wed Oct 3 00:20:15 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 02 Oct 2012 21:20:15 -0700 Subject: State of the internet In-Reply-To: <506BAA56.4050709@hyperactivesw.com> References: <506BAA56.4050709@hyperactivesw.com> Message-ID: <506BBCFF.4000608@fourthworld.com> J. Landman Gay wrote: > Interesting set of graphs. Looks like RR was wise to focus on mobile: > > Laptops overtook desktop sales nearly a decade ago. This mobile trend has been progressing steadily since, enjoying ever-steeper adoption rates as the technology gets smaller, lighter, and consumes less power. This chart from your link is especially encouraging for us LiveCode developers: While most of the newer generation of developers are focusing exclusively on the biggest percentage in that chart (smartphones), those of us using an omni-platform tool like LiveCode can also fully capitalize on the the second-biggest segment as well, labeled there as "Personal Computers". A majority of the apps in both the iOS and Android app stores are earning between minimum wage and zero, while desktop software continues to be the solid business opportunity we've always enjoyed, only bigger: that chart shows the PC sales increasing year over year at roughly the same rate of growth from 2000 through 2015. Most of our competition has never designed for the desktop; they know only mobile, and earn only mobile revenues. But us LiveCoders can extend our existing desktop model into the mobile arena in ways that compliment both. We're not affected by the downward pressure on prices that inhibit mobile-only devs; for many of us here, mobile software is effectively just a feature we add to our desktop offerings. RunRev is in a very good spot indeed, far beyond the limited role of desktop-only or even mobile-only tools in our increasingly diverse world. -- Richard Gaskin Fourth World Systems From scott at tactilemedia.com Wed Oct 3 00:26:31 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 2 Oct 2012 21:26:31 -0700 Subject: Finally found one. In-Reply-To: <85865816750.20121002192837@ahsoftware.net> References: <85865816750.20121002192837@ahsoftware.net> Message-ID: <635475D2-4E6A-4061-95E1-0C2C6FE1C9F1@tactilemedia.com> Mark: One thing worth noting is that "send xyz to me in 0 millisecs" can allow screen updates and other events to take place, while attempts to do the same in a repeat loop may not. So I'm pretty sure other events will take place before the send is executed. This is why long running sessions of "send" with a specific interval can eventually get thrown off. Regards, Scott Rossi Creative Director Tactile Media, UX Design On Oct 2, 2012, at 7:28 PM, Mark Wieder wrote: > Scott- > > Yes to all the above with the exception that I'm not sure > > send xyz to me in 0 milliseconds > > gives any time for other messages to get through. > > -- > -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 mfstuart at cox.net Wed Oct 3 00:40:49 2012 From: mfstuart at cox.net (Mark Stuart) Date: Tue, 2 Oct 2012 21:40:49 -0700 Subject: Reading the First Line of a DataGrid Message-ID: Hi all, I'm trying to get the first line of a loaded DataGrid to be selected. At the end of the script that loads the DataGrid, I have the following 2 lines: set the dgLine of grp "DataGrid" to 1 send "selectionChanged" to grp "DataGrid" I've also tried: set the dgLine of grp "DataGrid" to 1 dispatch "selectionChanged" to grp "DataGrid" This really isn't selecting the line at all. How do I know, because in the selectionChanged handler of the DataGrid I'm using the answer command to display the arguments of the handler: HilitedIndex and PrevHilitedIndex. These values are empty using: answer "HilitedIndex:" && HilitedIndex & cr & "PrevHilitedIndex:" && PrevHilitedIndex So how do I get the first line of a DataGrid to be selected? Regards, Mark Stuart From skip at magicgate.com Wed Oct 3 00:58:32 2012 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Wed, 3 Oct 2012 00:58:32 -0400 Subject: Working with retina projects and development screen size real estate Message-ID: Quick question, as I must be missing something obvious that I am sure one of you can point out. I am developing an iPad3 app (2048x1536) and the stack size is HUGE and certainly won't fit on my laptop screen. Other than stating the obvious of "get a bigger screen" is there a way to "zoom out" of the stack so that it becomes smaller during development? SKIP From jacque at hyperactivesw.com Wed Oct 3 01:13:48 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 03 Oct 2012 00:13:48 -0500 Subject: State of the internet In-Reply-To: <132871955734.20121002211056@ahsoftware.net> References: <506BAA56.4050709@hyperactivesw.com> <132871955734.20121002211056@ahsoftware.net> Message-ID: <506BC98C.8050900@hyperactivesw.com> On 10/2/12 11:10 PM, Mark Wieder wrote: > (someone clue me in on what a "feature phone" is) They're a business magazine, they don't know the jargon, and "not-dumb-phone" is longer to spell. > ...and folks who haven't yet bought into all the hype are the > "under-penetrated segments in U.S."? Actually, I got the impression they're looking at marketing opportunities because TV and newspapers are tanking. Mobile is the new money space. Google is winning. > > Interesting last slide showing a decline in developer interest in ALL > mobile platforms over the last two years. More for me! Er, us. > > Interesting also in that there's no mention of the influence of > litigation on growth and stagnation. > Litigation doesn't provide ad space. This article is about selling to the masses. Although I did just read recently that Facebook users don't click on ads much, so that's one-seventh of the online population down the tubes. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Wed Oct 3 01:39:03 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 2 Oct 2012 22:39:03 -0700 Subject: Reading the First Line of a DataGrid In-Reply-To: References: Message-ID: I'm a bit rusty on datagrids but shouldn't it be dghilitedline? On Oct 2, 2012 9:40 PM, "Mark Stuart" wrote: > Hi all, > I'm trying to get the first line of a loaded DataGrid to be selected. > > At the end of the script that loads the DataGrid, I have the following 2 > lines: > set the dgLine of grp "DataGrid" to 1 > send "selectionChanged" to grp "DataGrid" > > I've also tried: > set the dgLine of grp "DataGrid" to 1 > dispatch "selectionChanged" to grp "DataGrid" > > This really isn't selecting the line at all. > How do I know, because in the selectionChanged handler of the DataGrid I'm > using the answer command to display the arguments of the handler: > HilitedIndex and PrevHilitedIndex. > These values are empty using: > answer "HilitedIndex:" && HilitedIndex & cr & "PrevHilitedIndex:" > && > PrevHilitedIndex > > So how do I get the first line of a DataGrid to be selected? > > Regards, > Mark Stuart > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Wed Oct 3 01:52:25 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 03 Oct 2012 00:52:25 -0500 Subject: Working with retina projects and development screen size real estate In-Reply-To: References: Message-ID: <506BD299.3070302@hyperactivesw.com> On 10/2/12 11:58 PM, Magicgate Software - Skip Kimpel wrote: > Quick question, as I must be missing something obvious that I am sure > one of you can point out. I am developing an iPad3 app (2048x1536) > and the stack size is HUGE and certainly won't fit on my laptop > screen. Other than stating the obvious of "get a bigger screen" is > there a way to "zoom out" of the stack so that it becomes smaller > during development? The only thing you can do is set your screen resolution higher. If it's already as high as it goes, you're pretty much stuck. I think someone talked about making (or made) a palette that would set the position of the stack window on screen so you could see different parts of it. It probably wouldn't be too hard to do that yourself actually. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From john at splash21.com Wed Oct 3 02:12:58 2012 From: john at splash21.com (John Craig) Date: Wed, 03 Oct 2012 07:12:58 +0100 Subject: Finally found one. In-Reply-To: <8CF6F1BB2B4A049-964-8CF0B@webmail-m021.sysops.aol.com> References: <8017A228-604E-4C81-82DB-E4AD0837AD4B@mac.com> <1349142999758-4655711.post@n4.nabble.com> <8CF6E5C5EAD0914-1B24-66F4F@webmail-m081.sysops.aol.com> <506B5199.8020702@splash21.com> <8CF6F1BB2B4A049-964-8CF0B@webmail-m021.sysops.aol.com> Message-ID: <506BD76A.5010105@splash21.com> Hi, Craig. There's no message build up : every time you send a 'showRandoms tSecs', you schedule another 'showRandoms tSecs' if your time check is true, so there's one pending. Pressing the stop button just makes another call to the handler, it doesn't cancel the scheduled message - it's still there and will still fire. When you send 'showRandoms 0', the existing scheduled message is still 'showRandoms x' - it still has it's random number as the tSecs parameter. On 03/10/2012 02:15, dunbarx at aol.com wrote: > John. > > > Just read your post. I came to the same conclusion. See the last entry in the thread in the forums. > > > But it seems like each time a pending message is queued, a message is sent, so I do not see why these should build up. But I posted an example, similar to your thinking, and it obviously is the reason behind it all. > > > But as Bernd notes, why the "exit to top" doesn't kill everything is still a mystery... > > > Craig Newman > > > > -----Original Message----- > From: John Craig > To: How to use LiveCode > Sent: Tue, Oct 2, 2012 4:43 pm > Subject: Re: Finally found one. > > > Hi, Craig. Looks like the trouble is that you've always got a pending > message, so after you press stop, there's another message fired > immediately to start things rolling again. > > try this handler in the card; > > command cancelMessages pMessages > -- cancel any pending messages in the pMessages list > if pMessages = empty then exit cancelMessages > put the pendingMessages into tPending > repeat for each line tMsg in tPending > put item 1 of tMsg into tID > put item 3 of tMsg into tName > if tName is among the items of pMessages then cancel tID > end repeat > end cancelMessages > > > > and change your showRandoms command to; > > > on showRandoms tSecs > put random(99) > if tSecs = 0 then > cancelMessages "showRandoms" > exit to top > end if > if tSecs > the seconds then send "showRandoms" && tSecs to me in 10 > millisecs > end showRandoms > > > HTH :) > > > > On 02/10/2012 03:25, dunbarx at aol.com wrote: >> >> >> Finally found reproducible scripts that work as advertised when stepping > through in the deBugger, but do not when simply run. This gremlin has been > sighted, like the Yeti, by nominally sane people, but never caught. >> >> Make two buttons. Name one "start". Name the other "stop". >> >> >> in btn "start": >> on mouseUp >> put the seconds + 8 into tSecs >> showrandoms tSecs >> end mouseUp >> >> >> In btn "stop": >> on mouseup >> send "showRandoms" && 0 to this card >> end mouseup >> >> >> In the card script: >> on showRandoms tSecs >> put random(99) >> if tSecs = 0 then >> exit to top >> end if >> if tSecs > the seconds then send "showRandoms" && tSecs to me in 0 > millisecs >> end showRandoms >> >> >> Try it. If you press the "start" button, you get random numbers in msg for > eight seconds. If you press the "stop" not while this is going on, nothing > happens. >> >> If you place a breakpoint at the "exit to top" line in the card script. the > handler is caught there, and if you then step through, you exit. The "stop" > button resets the variable "tSecs" to a value that will force showRandoms to > end. And it does, but only if you step through, not if you run it. The variable > watcher shows a "0" as the value of tSecs, as it should, and the conditional > tosses you out of the handler. As it should. >> >> But not in a normal run, only in the debugger. >> >> >> I have been chasing this since 1987. I am not crazy. I have pictures. I will > start a support group. >> >> Craig Newman >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From guglielmo at braguglia.ch Wed Oct 3 02:16:03 2012 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Wed, 03 Oct 2012 08:16:03 +0200 Subject: Working with retina projects and development screen size real estate In-Reply-To: References: Message-ID: <506BD823.60800@braguglia.ch> Mmmm ... why not develop simply for the normal iPad (1024 x 768) and then make a "retina" scaling ? iPad3 is like iPhone4 ... same screen size of previous model but double density. Creating your stack on a real 2048 x 1536 Mac screen can lead you to put too many objects (controls) that, on the real device, appear too small and unusable ... Guglielmo On 03.10.2012 06:58, Magicgate Software - Skip Kimpel wrote: > Quick question, as I must be missing something obvious that I am sure > one of you can point out. I am developing an iPad3 app (2048x1536) > and the stack size is HUGE and certainly won't fit on my laptop > screen. Other than stating the obvious of "get a bigger screen" is > there a way to "zoom out" of the stack so that it becomes smaller > during development? > > SKIP > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From lfredricks at proactive-intl.com Wed Oct 3 02:38:42 2012 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue, 2 Oct 2012 23:38:42 -0700 Subject: =?us-ascii?Q?RE:_What_Apple=2CMicrosoft_and_the_Rest_of_Them_Don't_Get?= In-Reply-To: References: Message-ID: <7547298B6E68463594F4CAF497711629@GATEWAY> > Not too far OT, apropos some recent discussions here: > > http://scienceblogs.com/gregladen/2012/09/29/what-apple-microsoft-and-the-re st-of-them-dont-get/ > Very interesting, but he mixes together some things that do not seem to me to go together, and he's failed to make himself an informed buyer. I like this one: "Meanwhile one of the pieces of software you usually use, that you need to access right now to get some data, has stopped working because it conflicts with some time-saving application you installed yesterday." He complains the the makers treat their products like toys. But he's acting like the equipment is his own personal toy. The problems as I see them: - Consumer products brought into the business. You only have yourself to blame, because consumer product lines generally get some form of update every six months. - Relying on (web) services where you cannot control your own updates. Someone decided price and convenience were more important than a consistent, controlled platform. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From james at thehales.id.au Wed Oct 3 05:28:18 2012 From: james at thehales.id.au (James Hale) Date: Wed, 3 Oct 2012 19:28:18 +1000 Subject: Datagrid not showing all lines Message-ID: <93617EA9-000E-40DB-9046-397211F8A63C@thehales.id.au> I am still having datagrid problems. I am unable to get the datagrid to display all the records I populate it with. I am using a form datagrid that has a single field of variable height. If I populate it with more records (from an array) than the datagrid can show the vertical scroll appears and I can scroll the records in and out of view up to a point. For example the datagrid I am looking at as I write this should have 20 rows. I can only get 13 to show and even then, the 13th is only half there. I know they are all there as the dgnumberoflines property returns the correct value. I also have buttons that step through the datagrid and these work fine. They move forward or back and highlight the "chosen" line as well as display it in context within another field. When I hit the last line visible (13 in this case) pressing the forward button moves forward and displays the next line in context but the datagrid itself does nothing. I can move through to the end and back again. Once I hit the record showing at the bottom of the datagrid everything starts behaving as it should. I have deleted the datagrid and redone it. But no change. The only modification I carried out on the form was to change the single field's name and set its text style. Any thoughts? James From rpresender at cox.net Wed Oct 3 09:15:18 2012 From: rpresender at cox.net (Robert Presender) Date: Wed, 3 Oct 2012 06:15:18 -0700 Subject: State of the internet Message-ID: on Oct 2, 2012 Jacque wrote < I suppose in ten years we'll look at our desktop machines with the same nostalgia as we do now with typewriters. At least, those of us who remember typewriters, which of course I've only read about? Hi Jacque When I was 12, my mother bought me a Royal portable typewriter which is still in the family. Let's see ? that was 80 years ago! Bob From ambassador at fourthworld.com Wed Oct 3 10:39:37 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 03 Oct 2012 07:39:37 -0700 Subject: Finally found one. In-Reply-To: <85865816750.20121002192837@ahsoftware.net> References: <85865816750.20121002192837@ahsoftware.net> Message-ID: <506C4E29.9030609@fourthworld.com> Mark Wieder wrote: > Scott- > > Yes to all the above with the exception that I'm not sure > > send xyz to me in 0 milliseconds > > gives any time for other messages to get through. It seems to, at least with this test: 1 card, two buttons. Script of btn "A": on mouseUp global g put true into g end mouseUp Script of btn "B": on mouseUp global g put empty into i repeat forever add 1 to i if g is not empty then exit to top wait 0 with messages put i end repeat end mouseUp Click on btn "B", enjoy the number incrementing in the Message Box for a while, then click on btn "A" - btn "B"'s script stops. I believe any use of "with messages" will queue messages to be handled at first idle or the earliest timer expiration, whichever occurs first. So with a timer set to a delay of zero, this still applies just with the shortest possible delay. -- 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 jallijn at gmail.com Wed Oct 3 10:42:40 2012 From: jallijn at gmail.com (John Allijn) Date: Wed, 3 Oct 2012 16:42:40 +0200 Subject: Skinning buttons Message-ID: <0A6FC4B5-FEC0-4CA4-ABA8-3DF7A7C481BD@gmail.com> I've created a large number of buttons designed to look good on an iPad3. I created these buttons by scripts that combining images and icon fonts and saving these as snapshots. After that my script uses these snapshots to skin buttons. So far so good. The problem that I now run into is that when I try to scale these buttons down for use on an iPhone, the images are cropped (clipped) and not resized. Is there a setting somewhere that can change this behaviour? In other words, if I select a button and drag the corner to resize it, I want the images of its skin to resize with it. Thanks! John. From john at splash21.com Wed Oct 3 10:57:37 2012 From: john at splash21.com (John Craig) Date: Wed, 03 Oct 2012 15:57:37 +0100 Subject: Skinning buttons In-Reply-To: <0A6FC4B5-FEC0-4CA4-ABA8-3DF7A7C481BD@gmail.com> References: <0A6FC4B5-FEC0-4CA4-ABA8-3DF7A7C481BD@gmail.com> Message-ID: <506C5261.9000001@splash21.com> Hi, John. You have to resize the image object as well. Quality = 'good' or 'best' works for me - 'normal' is usually too rough. On 03/10/2012 15:42, John Allijn wrote: > I've created a large number of buttons designed to look good on an iPad3. I created these buttons by scripts that combining images and icon fonts and saving these as snapshots. After that my script uses these snapshots to skin buttons. So far so good. > > The problem that I now run into is that when I try to scale these buttons down for use on an iPhone, the images are cropped (clipped) and not resized. Is there a setting somewhere that can change this behaviour? In other words, if I select a button and drag the corner to resize it, I want the images of its skin to resize with it. > > 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 jallijn at gmail.com Wed Oct 3 11:11:05 2012 From: jallijn at gmail.com (John Allijn) Date: Wed, 3 Oct 2012 17:11:05 +0200 Subject: Skinning buttons In-Reply-To: <506C5261.9000001@splash21.com> References: <0A6FC4B5-FEC0-4CA4-ABA8-3DF7A7C481BD@gmail.com> <506C5261.9000001@splash21.com> Message-ID: <0EFFBDDD-536B-4A48-8CB3-DD4E69E2DF7E@gmail.com> Thanks John! I was afraid that it might be that. If I copy a skinned button to another stack, then I don't need to copy the images. LC appearently does that for me. Where can I find those images? On Oct 3, 2012, at 16:57, John Craig wrote: > Hi, John. You have to resize the image object as well. Quality = 'good' or 'best' works for me - 'normal' is usually too rough. > > > On 03/10/2012 15:42, John Allijn wrote: >> I've created a large number of buttons designed to look good on an iPad3. I created these buttons by scripts that combining images and icon fonts and saving these as snapshots. After that my script uses these snapshots to skin buttons. So far so good. >> >> The problem that I now run into is that when I try to scale these buttons down for use on an iPhone, the images are cropped (clipped) and not resized. Is there a setting somewhere that can change this behaviour? In other words, if I select a button and drag the corner to resize it, I want the images of its skin to resize with it. >> >> Thanks! >> John. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Wed Oct 3 11:30:59 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 3 Oct 2012 17:30:59 +0200 Subject: mobileBusyIndicatorStart is displayed top left Message-ID: <497CC951-C380-441B-B0AB-73F8C0E50B67@m-r-d.de> Hi, i created a stack in which i want to use mobileBusyindicatorstart. But for whatever reason only a part of the busy indicator is displayed on the top left of the screen and not in the center. Tested in the iOS simulator. Could not test on an iPhone directly. I tried with a blank stack also. The result is the same. The funny thing is, i have here an older stack in which i use the mobliebusyindicator. There it is displayed correctly. Does anyone have an idea, what i am missing. Regards, Matthias -- Matthias Rebbe matthias (at) rebbe.tk Tel +49.5741.310000 Tel +49.160.5504462 -- "Life is too short for boring code" From mwieder at ahsoftware.net Wed Oct 3 11:43:06 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 3 Oct 2012 08:43:06 -0700 Subject: State of the internet In-Reply-To: <506BC98C.8050900@hyperactivesw.com> References: <506BAA56.4050709@hyperactivesw.com> <132871955734.20121002211056@ahsoftware.net> <506BC98C.8050900@hyperactivesw.com> Message-ID: <134913485625.20121003084306@ahsoftware.net> Jacque- Tuesday, October 2, 2012, 10:13:48 PM, you wrote: > Litigation doesn't provide ad space. This article is about selling to > the masses. Although I did just read recently that Facebook users don't > click on ads much, so that's one-seventh of the online population down > the tubes. No, that's one-seventh of the *world's* population, or roughly one out of every two internet users. -- -Mark Wieder mwieder at ahsoftware.net From bobs at twft.com Wed Oct 3 11:44:34 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 3 Oct 2012 08:44:34 -0700 Subject: Reading the First Line of a DataGrid In-Reply-To: References: Message-ID: I believe it's dgSelectedLine On Oct 2, 2012, at 9:40 PM, Mark Stuart wrote: > Hi all, > I'm trying to get the first line of a loaded DataGrid to be selected. > > At the end of the script that loads the DataGrid, I have the following 2 > lines: > set the dgLine of grp "DataGrid" to 1 > send "selectionChanged" to grp "DataGrid" > > I've also tried: > set the dgLine of grp "DataGrid" to 1 > dispatch "selectionChanged" to grp "DataGrid" > > This really isn't selecting the line at all. > How do I know, because in the selectionChanged handler of the DataGrid I'm > using the answer command to display the arguments of the handler: > HilitedIndex and PrevHilitedIndex. > These values are empty using: > answer "HilitedIndex:" && HilitedIndex & cr & "PrevHilitedIndex:" && > PrevHilitedIndex > > So how do I get the first line of a DataGrid to be selected? > > Regards, > Mark Stuart > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Wed Oct 3 11:47:04 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 3 Oct 2012 08:47:04 -0700 Subject: Finally found one. In-Reply-To: <506BD76A.5010105@splash21.com> References: <8017A228-604E-4C81-82DB-E4AD0837AD4B@mac.com> <1349142999758-4655711.post@n4.nabble.com> <8CF6E5C5EAD0914-1B24-66F4F@webmail-m081.sysops.aol.com> <506B5199.8020702@splash21.com> <8CF6F1BB2B4A049-964-8CF0B@webmail-m021.sysops.aol.com> <506BD76A.5010105@splash21.com> Message-ID: <64913724437.20121003084704@ahsoftware.net> John- Tuesday, October 2, 2012, 11:12:58 PM, you wrote: > Pressing the stop button just makes another call to the handler, it > doesn't cancel the scheduled message - it's still there and will still fire. The problem, as I see it, is that the documentation incorrectly states that "exit to top" will cancel pending messages, and that's not the case. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed Oct 3 11:49:15 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 3 Oct 2012 08:49:15 -0700 Subject: Finally found one. In-Reply-To: <635475D2-4E6A-4061-95E1-0C2C6FE1C9F1@tactilemedia.com> References: <85865816750.20121002192837@ahsoftware.net> <635475D2-4E6A-4061-95E1-0C2C6FE1C9F1@tactilemedia.com> Message-ID: <184913854875.20121003084915@ahsoftware.net> Scott- Tuesday, October 2, 2012, 9:26:31 PM, you wrote: > Mark: One thing worth noting is that "send xyz to me in 0 > millisecs" can allow screen updates and other events to take place, > while attempts to do the same in a repeat loop may not. So I'm > pretty sure other events will take place before the send is > executed. This is why long running sessions of "send" with a > specific interval can eventually get thrown off. Interesting distinction. Thanks. -- -Mark Wieder mwieder at ahsoftware.net From iowahengst at mac.com Wed Oct 3 11:49:48 2012 From: iowahengst at mac.com (Randy Hengst) Date: Wed, 03 Oct 2012 10:49:48 -0500 Subject: Skinning buttons In-Reply-To: <0EFFBDDD-536B-4A48-8CB3-DD4E69E2DF7E@gmail.com> References: <0A6FC4B5-FEC0-4CA4-ABA8-3DF7A7C481BD@gmail.com> <506C5261.9000001@splash21.com> <0EFFBDDD-536B-4A48-8CB3-DD4E69E2DF7E@gmail.com> Message-ID: <89C1EBCA-1CBE-4BED-963D-57A5B42130F2@mac.com> As far as I know, LC does not copy the referenced art of a skinned button when moving a button to a different stack? at least, it never has for me. If you have the original stack still open when you paste the skinned button into a new stack, you'll still see the skinned view in that new stack. But, when you then open the new stack, by itself? you'll no longer see the art as part of the skinned button. I'd be happy to be corrected on this, because having it happen automatically would be nice. be well, randy ----- On Oct 3, 2012, at 10:11 AM, John Allijn wrote: > Thanks John! I was afraid that it might be that. > If I copy a skinned button to another stack, then I don't need to copy the images. LC appearently does that for me. Where can I find those images? > > > > On Oct 3, 2012, at 16:57, John Craig wrote: > >> Hi, John. You have to resize the image object as well. Quality = 'good' or 'best' works for me - 'normal' is usually too rough. >> >> >> On 03/10/2012 15:42, John Allijn wrote: >>> I've created a large number of buttons designed to look good on an iPad3. I created these buttons by scripts that combining images and icon fonts and saving these as snapshots. After that my script uses these snapshots to skin buttons. So far so good. >>> >>> The problem that I now run into is that when I try to scale these buttons down for use on an iPhone, the images are cropped (clipped) and not resized. Is there a setting somewhere that can change this behaviour? In other words, if I select a button and drag the corner to resize it, I want the images of its skin to resize with it. >>> >>> 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Wed Oct 3 11:52:27 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 3 Oct 2012 08:52:27 -0700 Subject: Reading the First Line of a DataGrid In-Reply-To: References: Message-ID: Sorry, it's dgHilitedLine or dgHilitedIndex. Then dispatch selectionChanged to the group. Bob On Oct 2, 2012, at 9:40 PM, Mark Stuart wrote: > Hi all, > I'm trying to get the first line of a loaded DataGrid to be selected. > > At the end of the script that loads the DataGrid, I have the following 2 > lines: > set the dgLine of grp "DataGrid" to 1 > send "selectionChanged" to grp "DataGrid" > > I've also tried: > set the dgLine of grp "DataGrid" to 1 > dispatch "selectionChanged" to grp "DataGrid" > > This really isn't selecting the line at all. > How do I know, because in the selectionChanged handler of the DataGrid I'm > using the answer command to display the arguments of the handler: > HilitedIndex and PrevHilitedIndex. > These values are empty using: > answer "HilitedIndex:" && HilitedIndex & cr & "PrevHilitedIndex:" && > PrevHilitedIndex > > So how do I get the first line of a DataGrid to be selected? > > Regards, > Mark Stuart > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Wed Oct 3 11:57:30 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 3 Oct 2012 08:57:30 -0700 Subject: How do you group two groups on two separate cards? In-Reply-To: References: Message-ID: <5CBE53DA-45EF-4D65-9365-F7FDFB897BEC@twft.com> You cannot do that to my knowledge, unless they are backgrounds, shared among cards, and then they do not actually belong to a card per se, but the whole stack. It would be interesting to see what would happen if you grouped two backgrounds and then told one it wasn't a background anymore. Bob On Oct 2, 2012, at 5:50 PM, Charles Szasz wrote: > Some time ago I was able to group two different groups on two cards in a stack. Unfortunately, I do not remember how I did this! I tried the following script in the message box: > > group group "one" of card "two" and group "two" of card "three" > > This does group the two groups but it also puts them on the same card, which is not I want or need. Any suggestions on how to group two groups on two separate cards? > > Charles Szasz > cszasz at mac.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Wed Oct 3 11:58:50 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 3 Oct 2012 11:58:50 -0400 Subject: Finally found one. In-Reply-To: <64913724437.20121003084704@ahsoftware.net> References: <8017A228-604E-4C81-82DB-E4AD0837AD4B@mac.com> <1349142999758-4655711.post@n4.nabble.com> <8CF6E5C5EAD0914-1B24-66F4F@webmail-m081.sysops.aol.com> <506B5199.8020702@splash21.com> <8CF6F1BB2B4A049-964-8CF0B@webmail-m021.sysops.aol.com> <506BD76A.5010105@splash21.com> <64913724437.20121003084704@ahsoftware.net> Message-ID: <00bf01cda17f$fb96e060$f2c4a120$@net> I reported this on this "exit to top" thing on this list back in July. Is it a Engine or Documentation bug? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net The problem, as I see it, is that the documentation incorrectly states that "exit to top" will cancel pending messages, and that's not the case. -- -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 bobs at twft.com Wed Oct 3 12:03:03 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 3 Oct 2012 09:03:03 -0700 Subject: What Apple,Microsoft and the Rest of Them Don't Get In-Reply-To: <7547298B6E68463594F4CAF497711629@GATEWAY> References: <7547298B6E68463594F4CAF497711629@GATEWAY> Message-ID: <78055EBC-E11E-4638-BC56-87E6BC32A948@twft.com> I agree Lynn. I was going to post on this that I didn't really see a coherent point in the article, or that he wasn't making his point very well. It ended up sounding like someone who was frustrated because something he wanted to do didn't work, and he is picking the biggest thing he can find to throw rotten eggs at. I could have made his point better by showing that Apple has been making decisions lately that don't seem to advance the user or the developer's experience, but seem to be change for changes sake. Now you can pin THAT tail on the Microsoft donkey pretty easily as well. Bob On Oct 2, 2012, at 11:38 PM, Lynn Fredricks wrote: >> Not too far OT, apropos some recent discussions here: >> >> > http://scienceblogs.com/gregladen/2012/09/29/what-apple-microsoft-and-the-re > st-of-them-dont-get/ >> > > Very interesting, but he mixes together some things that do not seem to me > to go together, and he's failed to make himself an informed buyer. I like > this one: > > "Meanwhile one of the pieces of software you usually use, that you need to > access right now to get some data, has stopped working because it conflicts > with some time-saving application you installed yesterday." > > He complains the the makers treat their products like toys. But he's acting > like the equipment is his own personal toy. > > The problems as I see them: > > - Consumer products brought into the business. You only have yourself to > blame, because consumer product lines generally get some form of update > every six months. > > - Relying on (web) services where you cannot control your own updates. > Someone decided price and convenience were more important than a consistent, > controlled platform. > > Best regards, > > Lynn Fredricks > President > Paradigma Software > http://www.paradigmasoft.com > > Valentina SQL Server: The Ultra-fast, Royalty Free Database Server > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Wed Oct 3 12:05:10 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 3 Oct 2012 09:05:10 -0700 Subject: Datagrid not showing all lines In-Reply-To: <93617EA9-000E-40DB-9046-397211F8A63C@thehales.id.au> References: <93617EA9-000E-40DB-9046-397211F8A63C@thehales.id.au> Message-ID: It is likely that your datagrid data has nulls in it. If LC encounters a null in the array data, it will think that there is no more array to work with. If you are getting your data from a sql database, make sure that all your columns are defined with not null as an easy way to prevent this. Bob On Oct 3, 2012, at 2:28 AM, James Hale wrote: > I am still having datagrid problems. > I am unable to get the datagrid to display all the records I populate it with. From bobs at twft.com Wed Oct 3 12:11:38 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 3 Oct 2012 09:11:38 -0700 Subject: State of the internet In-Reply-To: <506BAA56.4050709@hyperactivesw.com> References: <506BAA56.4050709@hyperactivesw.com> Message-ID: <444B3210-2534-46EB-BCFA-03DB95868C6A@twft.com> I respectfully disagree. They would have to make a mobile device as connectable as a laptop, which in my mind would probably end up looking a lot like a laptop, at which point people would be clamoring for more screen real estate. The screen real estate is something you just cannot get around. You can micro miniaturize the device, but the screen can only get so small and then people will not use it for serious computing tasks. What has really happened in the marketplace is that someone finally came out with a mobile device that most consumers found adequate for what they do with such a device. In the past, all users had at their disposal was a laptop that was far more powerful than they needed, but it was all that was available. Now users can get something more to fit their needs and budget. Bob On Oct 2, 2012, at 8:00 PM, J. Landman Gay wrote: > Interesting set of graphs. Looks like RR was wise to focus on mobile: > > > > I suppose in ten years we'll look at our desktop machines with the same nostalgia as we do now with typewriters. At least, those of us who remember typewriters, which of course I've only read about... From bobs at twft.com Wed Oct 3 12:18:26 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 3 Oct 2012 09:18:26 -0700 Subject: State of the internet In-Reply-To: <43869763968.20121002203424@ahsoftware.net> References: <506BAA56.4050709@hyperactivesw.com> <43869763968.20121002203424@ahsoftware.net> Message-ID: I think you are trying to communicate, but all I see are groups of strange shapes with random spaces between them. Wait, how are you going to read this?? Can you imagine a worldwide confusion of type Babylon-esque? Bob On Oct 2, 2012, at 8:34 PM, Mark Wieder wrote: > Jacque- > > Tuesday, October 2, 2012, 8:00:38 PM, you wrote: > >> I suppose in ten years we'll look at our desktop machines with the same >> nostalgia as we do now with typewriters. At least, those of us who >> remember typewriters, which of course I've only read about... > > ...I've heard about reading. What was that like? > From bobs at twft.com Wed Oct 3 12:20:31 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 3 Oct 2012 09:20:31 -0700 Subject: State of the internet In-Reply-To: <506BB667.6040609@hyperactivesw.com> References: <506BAA56.4050709@hyperactivesw.com> <43869763968.20121002203424@ahsoftware.net> <506BB667.6040609@hyperactivesw.com> Message-ID: We gave up stone etchings because you could read into them whatever you wanted to. I might want you to stop, but you interpret me to mean, "Go right on through!" A lot of ox cart accidents happened that way. Bob On Oct 2, 2012, at 8:52 PM, J. Landman Gay wrote: >>> I suppose in ten years we'll look at our desktop machines with the same >>> nostalgia as we do now with typewriters. At least, those of us who >>> remember typewriters, which of course I've only read about... >> >> ...I've heard about reading. What was that like? >> > > Much, much faster than stone etchings. From gandalf at doctorTimothyMiller.com Wed Oct 3 12:20:58 2012 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Wed, 3 Oct 2012 09:20:58 -0700 Subject: Home brewers Message-ID: On Oct 2, 2012, at 1:58 PM, J. Landman Gay wrote: > I just meant that anyone developing cross platform apps (Windows, OS X, mobile) couldn't use the same code base for all builds. The menu is strictly an OS X service, so there would have to be a lot of code-branching for each platform, and lots of specialized handlers to accomodate similar functionality on non-Mac machines. I was probably a little presumptuous, forgetting that some folks develop only for their own use. Not presumptuous. From your previous message I got the impression that the number of home-brewers on the list is relatively small. I'm wondering: home-brewers / professional developers on the list < 1? < 0.1? By home-brewers I mean amateurs developing for their own use. Home-brewers don't normally work cross-platform. Professional developers usually do, I suppose. Is LC the preferred tool for non-pros developing for their own use? If not then what is? Cheers, Tim From bobs at twft.com Wed Oct 3 12:24:14 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 3 Oct 2012 09:24:14 -0700 Subject: State of the internet In-Reply-To: <506BC98C.8050900@hyperactivesw.com> References: <506BAA56.4050709@hyperactivesw.com> <132871955734.20121002211056@ahsoftware.net> <506BC98C.8050900@hyperactivesw.com> Message-ID: <1084F7B2-C1EE-4F0A-B7AE-88D4A80C3CAB@twft.com> People don't read junk mail much either, or click on web ads, but the few that do and end up buying something must net huge profits, because companies continue to send a ton of junk mail and pay for banner ads on websites! The entire web seems to be powered by this. Bob On Oct 2, 2012, at 10:13 PM, J. Landman Gay wrote: > Litigation doesn't provide ad space. This article is about selling to the masses. Although I did just read recently that Facebook users don't click on ads much, so that's one-seventh of the online population down the tubes. > > -- > Jacqueline Landman Gay From mfstuart at cox.net Wed Oct 3 12:29:32 2012 From: mfstuart at cox.net (Mark Stuart) Date: Wed, 3 Oct 2012 09:29:32 -0700 Subject: Reading the First Line of a DataGrid Message-ID: <31D38165D5334554B590A59423505F55@stuart> Thanx Peter and Bob for the suggestions. LC: 4.6.4 I tried all suggestions but unfortunately, they're not working. dgHilitedIndex sets the line to the added sequence line, which in my case is the last line because the DataGrid is sorted descending order. The most recent record is at the top of the DataGrid. Both dgLine and dgHilitedLine select the first line in the DataGrid, which is the desired effect. Here's what I tried: set the dgLine of grp "DataGrid" to 1 send "mouseUp" to grp "DataGrid" dispatch "selectionChanged" to grp "DataGrid" and set the dgLine of grp "DataGrid" to 1 dispatch "selectionChanged" to grp "DataGrid" --send "mouseUp" to grp "DataGrid" Both scenarios the DataGrid selectionChanged parameter: HilitedIndex had no value. If you all have any other suggestions, they'll be very much welcomed. Regards, Mark Stuart From bobs at twft.com Wed Oct 3 12:31:20 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 3 Oct 2012 09:31:20 -0700 Subject: State of the internet In-Reply-To: <506BB667.6040609@hyperactivesw.com> References: <506BAA56.4050709@hyperactivesw.com> <43869763968.20121002203424@ahsoftware.net> <506BB667.6040609@hyperactivesw.com> Message-ID: <85062EAD-A28F-4E22-A6A0-277FB7DA4AD9@twft.com> I'd like to point out something I noticed when I was young. People tend to put a lot of stock in what has happened in the past, and then apply it to predict what will happen in the future. From stock prices to global warming, everyone seems to think that trends will continue in a linear fashion because we have seen a tiny segment of something as it progresses over time, and then we make the mistake of presuming it will continue to do so in the same manner. This is quite odd, because what we really see in life is cyclical behavior. Things go up and down. Almost nothing about real life follows a linear trend. I would venture to say absolutely nothing, but someone would doubtless point out some exception that was so obvious it made me look stupid for saying it. Charts and graphs are great for showing us what has happened. They are almost worthless for predicting the future. If things did proceed along linear paths, Apple would be a bankrupt company and Microsoft... nay IBM would rule the world! Also you probably would not be able to buy a house in Orange County right now for under 3 million. Bob On Oct 2, 2012, at 8:52 PM, J. Landman Gay wrote: > On 10/2/12 10:34 PM, Mark Wieder wrote: >> Jacque- >> >> Tuesday, October 2, 2012, 8:00:38 PM, you wrote: >> >>> I suppose in ten years we'll look at our desktop machines with the same >>> nostalgia as we do now with typewriters. At least, those of us who >>> remember typewriters, which of course I've only read about... >> >> ...I've heard about reading. What was that like? >> > > Much, much faster than stone etchings. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Wed Oct 3 12:35:15 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 3 Oct 2012 09:35:15 -0700 Subject: Entire sqlite database wiped of data?? Message-ID: While working last night with my program, somehow, all three tables were wiped clean of data. The columns are still there, but the data is not. For that matter, the keys are still there, but the data for the other columns of each row was wiped. When I read the binary file, I can see the data there. Is there an sql command that can wipe multiple tables simultaneously??? Do I have an even bigger problem? -- Richard E. Hawkins, Esq. (702) 508-8462 From bobs at twft.com Wed Oct 3 12:36:20 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 3 Oct 2012 09:36:20 -0700 Subject: Finally found one. In-Reply-To: References: Message-ID: This is actually very informative. I also was under the impression that "exit to top" meant "stop everything". I thought it was the equivalent of a kill command. It seems another nuance of Livetalk (is that what we are calling it now) has surfaced. Bob On Oct 2, 2012, at 7:11 PM, Scott Rossi wrote: > Not speaking as an authority, just from my own experience? > > "exit xyz" exits the current handler, and allows a calling handler to > continue executing, if present > > "exit to top" exits and stops executing the current handler and any > calling handler if present; any pending messages will be sent From bobs at twft.com Wed Oct 3 12:39:33 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 3 Oct 2012 09:39:33 -0700 Subject: Finally found one. In-Reply-To: <64913724437.20121003084704@ahsoftware.net> References: <8017A228-604E-4C81-82DB-E4AD0837AD4B@mac.com> <1349142999758-4655711.post@n4.nabble.com> <8CF6E5C5EAD0914-1B24-66F4F@webmail-m081.sysops.aol.com> <506B5199.8020702@splash21.com> <8CF6F1BB2B4A049-964-8CF0B@webmail-m021.sysops.aol.com> <506BD76A.5010105@splash21.com> <64913724437.20121003084704@ahsoftware.net> Message-ID: <1579B10F-EE35-4C5A-B1F7-A51BAB5BE410@twft.com> Apparently we now need a kill command that stops everything! Bob On Oct 3, 2012, at 8:47 AM, Mark Wieder wrote: > John- > > Tuesday, October 2, 2012, 11:12:58 PM, you wrote: > >> Pressing the stop button just makes another call to the handler, it >> doesn't cancel the scheduled message - it's still there and will still fire. > > The problem, as I see it, is that the documentation incorrectly states > that "exit to top" will cancel pending messages, and that's not the > case. > > -- > -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 bobs at twft.com Wed Oct 3 12:42:07 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 3 Oct 2012 09:42:07 -0700 Subject: Home brewers In-Reply-To: References: Message-ID: <36C6FA44-8793-4699-A3FA-4ABD213FABAD@twft.com> You would need to make the distinction about developing in house. I am strictly an in house developer, although some of what I do or plan to do might find it's way into a commercial app eventually. Would I be considered a home-brewer or a pro? I am certainly still an amateur! Bob On Oct 3, 2012, at 9:20 AM, Timothy Miller wrote: > On Oct 2, 2012, at 1:58 PM, J. Landman Gay wrote: > >> I just meant that anyone developing cross platform apps (Windows, OS X, mobile) couldn't use the same code base for all builds. The menu is strictly an OS X service, so there would have to be a lot of code-branching for each platform, and lots of specialized handlers to accomodate similar functionality on non-Mac machines. I was probably a little presumptuous, forgetting that some folks develop only for their own use. > > Not presumptuous. > > From your previous message I got the impression that the number of home-brewers on the list is relatively small. > > I'm wondering: home-brewers / professional developers on the list < 1? < 0.1? > > By home-brewers I mean amateurs developing for their own use. > > Home-brewers don't normally work cross-platform. Professional developers usually do, I suppose. > > Is LC the preferred tool for non-pros developing for their own use? If not then what is? > > Cheers, > > 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 skip at magicgate.com Wed Oct 3 12:46:42 2012 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Wed, 3 Oct 2012 12:46:42 -0400 Subject: Entire sqlite database wiped of data?? In-Reply-To: References: Message-ID: Yikes! Hopefully you have everything backed up! I am curious to hear of the possible causes of this... very scary scenario. SKIP On Wed, Oct 3, 2012 at 12:35 PM, Dr. Hawkins wrote: > While working last night with my program, somehow, all three tables > were wiped clean of data. The columns are still there, but the data > is not. For that matter, the keys are still there, but the data for > the other columns of each row was wiped. > > When I read the binary file, I can see the data there. > > Is there an sql command that can wipe multiple tables > simultaneously??? Do I have an even bigger problem? > > -- > 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 bobs at twft.com Wed Oct 3 12:46:59 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 3 Oct 2012 09:46:59 -0700 Subject: Reading the First Line of a DataGrid In-Reply-To: <31D38165D5334554B590A59423505F55@stuart> References: <31D38165D5334554B590A59423505F55@stuart> Message-ID: Sorry Mark. Not sure why it doesn't work for you. I call set the dgHilitedLine of group "myDatagrid" to 1 all the time and it does just what you would expect. The only reason to send selectionChanged is if you are trapping for it in the datagrid script, and want to execute some code afterwards. I do not send mouseUp, there's no point, unless you have a mouseUp handler in your datagrid script you want to execute. Bob On Oct 3, 2012, at 9:29 AM, Mark Stuart wrote: > Thanx Peter and Bob for the suggestions. > > LC: 4.6.4 > > I tried all suggestions but unfortunately, they're not working. > dgHilitedIndex sets the line to the added sequence line, which in my case is > the last line because the DataGrid is sorted descending order. The most > recent record is at the top of the DataGrid. > > Both dgLine and dgHilitedLine select the first line in the DataGrid, which > is the desired effect. > Here's what I tried: > set the dgLine of grp "DataGrid" to 1 > send "mouseUp" to grp "DataGrid" > dispatch "selectionChanged" to grp "DataGrid" > and > set the dgLine of grp "DataGrid" to 1 > dispatch "selectionChanged" to grp "DataGrid" > --send "mouseUp" to grp "DataGrid" > > Both scenarios the DataGrid selectionChanged parameter: HilitedIndex had no > value. > > If you all have any other suggestions, they'll be very much welcomed. > > Regards, > Mark Stuart > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From skip at magicgate.com Wed Oct 3 12:48:36 2012 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Wed, 3 Oct 2012 12:48:36 -0400 Subject: Home brewers In-Reply-To: <36C6FA44-8793-4699-A3FA-4ABD213FABAD@twft.com> References: <36C6FA44-8793-4699-A3FA-4ABD213FABAD@twft.com> Message-ID: I think LC is a PERFECT tool for developing in house and being a "home-brewer." What is even better is when you decided to go commercial and go big because you have developed an amazing product, you are still using the same tool to do it! SKIP On Wed, Oct 3, 2012 at 12:42 PM, Bob Sneidar wrote: > You would need to make the distinction about developing in house. I am strictly an in house developer, although some of what I do or plan to do might find it's way into a commercial app eventually. Would I be considered a home-brewer or a pro? I am certainly still an amateur! > > Bob > > > On Oct 3, 2012, at 9:20 AM, Timothy Miller wrote: > >> On Oct 2, 2012, at 1:58 PM, J. Landman Gay wrote: >> >>> I just meant that anyone developing cross platform apps (Windows, OS X, mobile) couldn't use the same code base for all builds. The menu is strictly an OS X service, so there would have to be a lot of code-branching for each platform, and lots of specialized handlers to accomodate similar functionality on non-Mac machines. I was probably a little presumptuous, forgetting that some folks develop only for their own use. >> >> Not presumptuous. >> >> From your previous message I got the impression that the number of home-brewers on the list is relatively small. >> >> I'm wondering: home-brewers / professional developers on the list < 1? < 0.1? >> >> By home-brewers I mean amateurs developing for their own use. >> >> Home-brewers don't normally work cross-platform. Professional developers usually do, I suppose. >> >> Is LC the preferred tool for non-pros developing for their own use? If not then what is? >> >> Cheers, >> >> 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 bobs at twft.com Wed Oct 3 12:49:59 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 3 Oct 2012 09:49:59 -0700 Subject: Entire sqlite database wiped of data?? In-Reply-To: References: Message-ID: <68F28836-CCE6-483C-86C9-1A776A100350@twft.com> I take it you have viewed the data in an SQL utility? Firefox has an sqLite plugin that works pretty well and it's free. Without opening your database myself, I can't do much to help. Bob On Oct 3, 2012, at 9:35 AM, Dr. Hawkins wrote: > While working last night with my program, somehow, all three tables > were wiped clean of data. The columns are still there, but the data > is not. For that matter, the keys are still there, but the data for > the other columns of each row was wiped. > > When I read the binary file, I can see the data there. > > Is there an sql command that can wipe multiple tables > simultaneously??? Do I have an even bigger problem? > > -- > 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 Wed Oct 3 12:50:25 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 3 Oct 2012 12:50:25 -0400 Subject: Entire SQLite database wiped of data?? In-Reply-To: References: Message-ID: <00ce01cda187$3025e860$9071b920$@net> I have been using SQLite in LC extensively for about a year on IDE PC/IDE Mac/Android/IOS. I have an SQLite app on the PlayStore also. I have not seen this type of problem. As far as I know there is no simple way to wipe data across multiple tables unless you do some SQL joins. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Dr. Hawkins Sent: Wednesday, October 03, 2012 12:35 PM To: How to use LiveCode Subject: Entire sqlite database wiped of data?? While working last night with my program, somehow, all three tables were wiped clean of data. The columns are still there, but the data is not. For that matter, the keys are still there, but the data for the other columns of each row was wiped. When I read the binary file, I can see the data there. Is there an sql command that can wipe multiple tables simultaneously??? Do I have an even bigger problem? -- 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 james at thehales.id.au Wed Oct 3 12:54:30 2012 From: james at thehales.id.au (James Hale) Date: Thu, 4 Oct 2012 02:54:30 +1000 Subject: Datagrid not showing all lines - resolved/sort of Message-ID: <34C905FE-7AEA-45E8-8F18-6335EAAAF3EF@thehales.id.au> After trolling through the list archives and thinking I had it after reading Peter's major issues thread of April this year. Unfortunately I already had in place the measures that resolved his variable height field issue. But maybe there were other properties to be cleaned, massaged or whispered to. I then tried refreshing lines, changing the order of my commands, removing all processing apart from the bare minimum required to display the data and anything else that seemed vaguely associated with the display. Finally in desperation I fixed the line height to 160 (to ensure there would be no truncations) and all the lines appeared. Turn off fixed line height and I would lose the last ten or so lines. I was getting resigned to this and thinking of ways to dress up the background so as to not make the small data lines not look so bare when I wondered if my method of populating the datagrid was the issue. As it was possible there could be up to 800 lines in the datagrid (rare but possible) I was using setting the dgNumberOfRecords method. I wondered if just setting the dgData would be make a difference. Perhaps there would not be a speed penalty. Sure enough, setting the dgData to populate the datagrid made all lines appear. Grabbing a set of 883 records was no slower than 8 records. So there seems to be no problem when populating the datagrid using the normal "set the dgData" method. There still seems to be an issue if you use the dgNumberOfRecords method and I couldn't find a workaround unless I fixed the line heights. Thankfully I don't have to use the dgNumberOfRecords method so MY problem is now resolved. James From gandalf at doctorTimothyMiller.com Wed Oct 3 13:04:27 2012 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Wed, 3 Oct 2012 10:04:27 -0700 Subject: [OT] State of the internet In-Reply-To: <85062EAD-A28F-4E22-A6A0-277FB7DA4AD9@twft.com> References: <506BAA56.4050709@hyperactivesw.com> <43869763968.20121002203424@ahsoftware.net> <506BB667.6040609@hyperactivesw.com> <85062EAD-A28F-4E22-A6A0-277FB7DA4AD9@twft.com> Message-ID: On Oct 3, 2012, at 9:31 AM, Bob Sneidar wrote: > I'd like to point out something I noticed when I was young. People tend to put a lot of stock in what has happened in the past, and then apply it to predict what will happen in the future. From stock prices to global warming, everyone seems to think that trends will continue in a linear fashion because we have seen a tiny segment of something as it progresses over time, and then we make the mistake of presuming it will continue to do so in the same manner. > > This is quite odd... Well, here we go, off topic. Possibly of interest to Bob. He started it. Perhaps of interest to no one else. My bad. Maybe the presumption that regression lines go on to infinity represents a universal human cognitive bias. Humans are not rational creatures, though we like to think we are. We are barely capable of rationality. Lots of good research and popular-press books on that topic these days. My favorite is You Are Not So Smart. The author is a journalist, not a scientist, but I think he got his facts right. It's an easy and informative read. I read an amusing article in Behavior and Brain Sciences. The gist: People are so bad at reasoning that many scientists wonder why they evolved to do it at all. If reasoning is usually wrong, then it would not likely have any reproductive value. One theory is that people don't reason to be right. They reason to win arguments for the sake of increasing their social status. That would explain 99% of political and religious conversations, wouldn't it? Don't know if the full text is available on line. The abstract is here: http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1698090 But you say, "We must be able to reason or we couldn't write LC scripts." That's true. Under certain narrow circumstances people do reason correctly. If you must solve the same type of puzzle repeatedly and you get rapid feedback about whether you got it right or not, then you can learn to reason correctly about that particular kind of puzzle. If the LC script does what you intended, you know you got it right. You find out pretty quick. This is why emergency room nurses usually get the diagnosis right. Conversely this is why talking heads on TV and experts commenting on the future state of the internet get it right about as often as a monkey with a dart board. Cheers, Tim From jallijn at gmail.com Wed Oct 3 13:07:45 2012 From: jallijn at gmail.com (John Allijn) Date: Wed, 3 Oct 2012 19:07:45 +0200 Subject: Skinning buttons In-Reply-To: <89C1EBCA-1CBE-4BED-963D-57A5B42130F2@mac.com> References: <0A6FC4B5-FEC0-4CA4-ABA8-3DF7A7C481BD@gmail.com> <506C5261.9000001@splash21.com> <0EFFBDDD-536B-4A48-8CB3-DD4E69E2DF7E@gmail.com> <89C1EBCA-1CBE-4BED-963D-57A5B42130F2@mac.com> Message-ID: <6ACB476D-D716-45F9-8DFC-37D646D81883@gmail.com> Oooooohhhhh, that must be it! Thanks Randy. On Oct 3, 2012, at 17:49, Randy Hengst wrote: > As far as I know, LC does not copy the referenced art of a skinned button when moving a button to a different stack? at least, it never has for me. > > If you have the original stack still open when you paste the skinned button into a new stack, you'll still see the skinned view in that new stack. But, when you then open the new stack, by itself? you'll no longer see the art as part of the skinned button. > > I'd be happy to be corrected on this, because having it happen automatically would be nice. > > be well, > randy > ----- > On Oct 3, 2012, at 10:11 AM, John Allijn wrote: > >> Thanks John! I was afraid that it might be that. >> If I copy a skinned button to another stack, then I don't need to copy the images. LC appearently does that for me. Where can I find those images? >> >> >> >> On Oct 3, 2012, at 16:57, John Craig wrote: >> >>> Hi, John. You have to resize the image object as well. Quality = 'good' or 'best' works for me - 'normal' is usually too rough. >>> >>> >>> On 03/10/2012 15:42, John Allijn wrote: >>>> I've created a large number of buttons designed to look good on an iPad3. I created these buttons by scripts that combining images and icon fonts and saving these as snapshots. After that my script uses these snapshots to skin buttons. So far so good. >>>> >>>> The problem that I now run into is that when I try to scale these buttons down for use on an iPhone, the images are cropped (clipped) and not resized. Is there a setting somewhere that can change this behaviour? In other words, if I select a button and drag the corner to resize it, I want the images of its skin to resize with it. >>>> >>>> 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 >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From th.douez at gmail.com Wed Oct 3 13:09:37 2012 From: th.douez at gmail.com (Thierry Douez) Date: Wed, 3 Oct 2012 19:09:37 +0200 Subject: [ANN] sunnYmidi V 2.0 ( MacOsX) Message-ID: Hi everyone, Right now you can download a full working Livecode tutorial with a trial version of sunnYmidi version 2.0 at: http://sunny-tdz.com/dwn and select "sunnYmidi demo v2.0" This new version: - manages all your midi IN and OUTPUT devices, physical or virtual. - sends raw or sysex midi datas to your own devices. - triggers your Livecode handlers with incoming Midi notes! (Livecode seen as a destination midi device). - enables Livecode to monitor existing midi channels. - is fully compatible with version 1.0 You can read the documentation here: Tutorial to connect Midi Devices: http://sunny-tdz.com/art-1011 sunnYmidi version 2.0: http://sunny-tdz.com/art-1012 Easy fast Midi Player: http://sunny-tdz.com/art-1000 Playing sounds a la Hypercard: http://sunny-tdz.com/art-1010 sunnYmidi version 2.0 for MacOsX is coming in a couple of days! I appreciate your feedback. Kind regards, Thierry From ambassador at fourthworld.com Wed Oct 3 13:20:53 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 03 Oct 2012 10:20:53 -0700 Subject: State of the internet In-Reply-To: <85062EAD-A28F-4E22-A6A0-277FB7DA4AD9@twft.com> References: <85062EAD-A28F-4E22-A6A0-277FB7DA4AD9@twft.com> Message-ID: <506C73F5.5010402@fourthworld.com> Bob Sneidar wrote: > I'd like to point out something I noticed when I was young. People > tend to put a lot of stock in what has happened in the past, and > then apply it to predict what will happen in the future. That's a very important point. All of the predictions about the future market growth of today's form-factor-du-jour, the tablet, overlook the very high likelihood that another form factor will come along within the next two to five years that'll be even more interesting. Google Glass may or may not be The Next Big Thing, but it serves as a healthy reminder that this industry is always evolving, with new form factors every few years, and each one both complicates our lives as x-plat devs and also opens up many new opportunities we couldn't have conceived of before. With regard to tablets, personally I'll be quite surprised if their peak lifecycle winds up being any longer than that of the netbook, which would place tablets in roughly the middle of their growth trajectory. This is one of the few times I think a Microsoft VP got it right when he said, "The tablet of the future of your phone". A phone is the one computer you can carry with you without a carrying case, backpack, or purse. And while the touch factor is indeed profoundly satisfying to our lower brains, you still have to hold the darn thing for the two hours of your movie, or use a pillow or a special add-on case, while your faithful laptop holds its own screen up all by itself, and even protects that screen when it's closed. And where exactly are we when tablets have docking keyboards and laptops weight almost the same and have detachable touch screens? Diversity of form and overlap of functionality will continue to increasingly characterize much of what we'll see as today's devices move forward, at least until The Next Big Thing arrives, likely within 24 to 36 months. -- 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 bobs at twft.com Wed Oct 3 13:27:57 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 3 Oct 2012 10:27:57 -0700 Subject: Datagrid not showing all lines - resolved/sort of In-Reply-To: <34C905FE-7AEA-45E8-8F18-6335EAAAF3EF@thehales.id.au> References: <34C905FE-7AEA-45E8-8F18-6335EAAAF3EF@thehales.id.au> Message-ID: <2DD2938A-EF26-49C6-A17D-38094782E6FF@twft.com> That is because the datagrid only processes the visible rows, plus the row before and the row after. This is one of the main features of a Datagrid, as speed for a table object with large amounts of data was one of the hurdles to overcome. The dgNumberOfRecords property and method are for handling a LARGE number of records. 800, in computer terms is not very large at all. Think tens of thousands and up. 10,000 keys each containing 1000 characters is still only one megabyte. (plus overhead yes yes). Bob On Oct 3, 2012, at 9:54 AM, James Hale wrote: > Sure enough, setting the dgData to populate the datagrid made all lines appear. > Grabbing a set of 883 records was no slower than 8 records. From selander at tkf.att.ne.jp Wed Oct 3 13:42:06 2012 From: selander at tkf.att.ne.jp (Tim Selander) Date: Thu, 04 Oct 2012 02:42:06 +0900 Subject: Home brewers In-Reply-To: <36C6FA44-8793-4699-A3FA-4ABD213FABAD@twft.com> References: <36C6FA44-8793-4699-A3FA-4ABD213FABAD@twft.com> Message-ID: <506C78EE.3090900@tkf.att.ne.jp> This is my classification as well. Though with the use of tablets really gaining traction in the company, it is may become important to have a tool I can use on desktop as well as mobile. Tim Selander On 10/4/12 1:42 AM, Bob Sneidar wrote: > You would need to make the distinction about developing in house. I am strictly an in house developer, although some of what I do or plan to do might find it's way into a commercial app eventually. Would I be considered a home-brewer or a pro? I am certainly still an amateur! > > Bob > > > On Oct 3, 2012, at 9:20 AM, Timothy Miller wrote: > >> On Oct 2, 2012, at 1:58 PM, J. Landman Gay wrote: >> >>> I just meant that anyone developing cross platform apps (Windows, OS X, mobile) couldn't use the same code base for all builds. The menu is strictly an OS X service, so there would have to be a lot of code-branching for each platform, and lots of specialized handlers to accomodate similar functionality on non-Mac machines. I was probably a little presumptuous, forgetting that some folks develop only for their own use. >> >> Not presumptuous. >> >> From your previous message I got the impression that the number of home-brewers on the list is relatively small. >> >> I'm wondering: home-brewers / professional developers on the list< 1?< 0.1? >> >> By home-brewers I mean amateurs developing for their own use. >> >> Home-brewers don't normally work cross-platform. Professional developers usually do, I suppose. >> >> Is LC the preferred tool for non-pros developing for their own use? If not then what is? >> >> Cheers, >> >> Tim From bobs at twft.com Wed Oct 3 13:56:12 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 3 Oct 2012 10:56:12 -0700 Subject: [OT] State of the internet In-Reply-To: References: <506BAA56.4050709@hyperactivesw.com> <43869763968.20121002203424@ahsoftware.net> <506BB667.6040609@hyperactivesw.com> <85062EAD-A28F-4E22-A6A0-277FB7DA4AD9@twft.com> Message-ID: <81B8D49D-97E5-4AB2-B5B5-5CE4D068F5D2@twft.com> I think reasoning is what people are forced to do because they rarely have all the necessary facts, or are able to analyze the facts of a situation due to the sheer number of them, and the complexity of their application, and the lack of total understanding of mere men to truly comprehend a complex problem. Without reason, it would be impossible to function at the level we do. But function we must. If rain is falling on our heads, but we discover that hiding behind the tree diminishes this effect, reason tells us we need to find a way to put the tree over our heads and away we go. An ox would just stand there until the storm passes. He's equipped for it. We are not. We make decisions "with the best knowledge we currently possess". These decisions may often be wrong. But I don't consider reason to be faulty, just a necessary evil. You can easily make the argument that perhaps we make too many decisions and act too often when we ought to do nothing and wait. In ancient times, I believe they called that, "wisdom". But of course, sometimes we MUST act. We are given no other choice. In that case, reason serves us well. Well, as best she can. Nothing is more frustrating to me than someone who stops in the middle of a 3 lane road, because they are about to miss their turn, and they cannot get their minds out of brain freeze mode to consider that their position is completely untenable. The traffic backing up behind them is not likely to improve and the goal of making the turn has gotten much more complex. Reason would dictate that they think of another way to accomplish their goal. How about I just drive up to the next block and try to go around? Better yet, after having made this mistake innumerable times (as I have to conclude they have) reason would dictate that they learn to think ahead and know what lane they have to be in before they get there. Sometimes it's the lack of (or unwillingness to apply) reason that causes our bad decisions. One more point and I am done (to the great relief of most people reading this far I am sure). Reason cannot find out fact. Reason can prove nothing. It can only operate on facts. The great example for this is when we learned that heavier objects fall at the same speed in a vacuum as lighter ones. Almost no one by pure reason would have concluded that! The force we feel on our hands is so much greater, the heavier a thing is, vacuum or no. Surely reason tells us the result will be that heavier things fall faster! It turns out to not to be the case at all. Why? Because we don't have all the applicable facts of physics at our disposal, because we cannot gather all of the facts together in our mind at one time, and because we don't understand how all those facts about physics apply to the current problem we are trying to solve. Once we have all the facts and understand how they apply, reason will produce the correct conclusion. Or one might say, once we have all the facts and understand them, reason has no job left to do. Bob On Oct 3, 2012, at 10:04 AM, Timothy Miller wrote: > On Oct 3, 2012, at 9:31 AM, Bob Sneidar wrote: > >> I'd like to point out something I noticed when I was young. People tend to put a lot of stock in what has happened in the past, and then apply it to predict what will happen in the future. From stock prices to global warming, everyone seems to think that trends will continue in a linear fashion because we have seen a tiny segment of something as it progresses over time, and then we make the mistake of presuming it will continue to do so in the same manner. >> >> This is quite odd... > > Well, here we go, off topic. Possibly of interest to Bob. He started it. Perhaps of interest to no one else. My bad. > > Maybe the presumption that regression lines go on to infinity represents a universal human cognitive bias. Humans are not rational creatures, though we like to think we are. We are barely capable of rationality. Lots of good research and popular-press books on that topic these days. My favorite is You Are Not So Smart. The author is a journalist, not a scientist, but I think he got his facts right. It's an easy and informative read. > > I read an amusing article in Behavior and Brain Sciences. The gist: People are so bad at reasoning that many scientists wonder why they evolved to do it at all. If reasoning is usually wrong, then it would not likely have any reproductive value. One theory is that people don't reason to be right. They reason to win arguments for the sake of increasing their social status. That would explain 99% of political and religious conversations, wouldn't it? > > Don't know if the full text is available on line. The abstract is here: > > http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1698090 > > But you say, "We must be able to reason or we couldn't write LC scripts." > > That's true. Under certain narrow circumstances people do reason correctly. If you must solve the same type of puzzle repeatedly and you get rapid feedback about whether you got it right or not, then you can learn to reason correctly about that particular kind of puzzle. If the LC script does what you intended, you know you got it right. You find out pretty quick. > > This is why emergency room nurses usually get the diagnosis right. > > Conversely this is why talking heads on TV and experts commenting on the future state of the internet get it right about as often as a monkey with a dart board. > > Cheers, > > 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 bobs at twft.com Wed Oct 3 13:59:13 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 3 Oct 2012 10:59:13 -0700 Subject: Skinning buttons In-Reply-To: <6ACB476D-D716-45F9-8DFC-37D646D81883@gmail.com> References: <0A6FC4B5-FEC0-4CA4-ABA8-3DF7A7C481BD@gmail.com> <506C5261.9000001@splash21.com> <0EFFBDDD-536B-4A48-8CB3-DD4E69E2DF7E@gmail.com> <89C1EBCA-1CBE-4BED-963D-57A5B42130F2@mac.com> <6ACB476D-D716-45F9-8DFC-37D646D81883@gmail.com> Message-ID: <9AC16093-1AB6-438C-B690-073947925AB1@twft.com> You are right Randy. I came across this when I copied a button in one stack to another. Later I opened the second stack and the art for the button was blank. The stack containing the graphic must at least be loaded into memory for the graphic to show. It may be a good idea to copy all the graphics each stack needs into a card of that same stack. I like keeping them all on one card so I have one place where I know all my graphic images are. Bob On Oct 3, 2012, at 10:07 AM, John Allijn wrote: > Oooooohhhhh, that must be it! > Thanks Randy. > > > > On Oct 3, 2012, at 17:49, Randy Hengst wrote: > >> As far as I know, LC does not copy the referenced art of a skinned button when moving a button to a different stack? at least, it never has for me. >> >> If you have the original stack still open when you paste the skinned button into a new stack, you'll still see the skinned view in that new stack. But, when you then open the new stack, by itself? you'll no longer see the art as part of the skinned button. >> >> I'd be happy to be corrected on this, because having it happen automatically would be nice. >> >> be well, >> randy From mfstuart at cox.net Wed Oct 3 13:59:28 2012 From: mfstuart at cox.net (Mark Stuart) Date: Wed, 3 Oct 2012 10:59:28 -0700 Subject: [RESOLVED] Reading the First Line of a DataGrid Message-ID: Reading the rev-list, I found a reference to: dispatch "selectionChanged" to grp "DataGrid" with var Notice the with var So I've modified my command to: put the dgHilitedIndex of grp "DataGrid" into firstLineNum dispatch "selectionChanged" to grp "DataGrid" with firstLineNum This passes the DataGrid index to the selectionChanged and allows the dataArray of the DataGrid to be fetched successfully. This doesn't matter how the user has sorted the DataGrid. Thanx for your help Bob and Peter. Regards, Mark Stuart From richmondmathewson at gmail.com Wed Oct 3 14:04:17 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 03 Oct 2012 21:04:17 +0300 Subject: Home brewers In-Reply-To: References: Message-ID: <506C7E21.1090904@gmail.com> On 10/03/2012 07:20 PM, Timothy Miller wrote: > On Oct 2, 2012, at 1:58 PM, J. Landman Gay wrote: > >> I just meant that anyone developing cross platform apps (Windows, OS X, mobile) couldn't use the same code base for all builds. The menu is strictly an OS X service, so there would have to be a lot of code-branching for each platform, and lots of specialized handlers to accomodate similar functionality on non-Mac machines. I was probably a little presumptuous, forgetting that some folks develop only for their own use. > Not presumptuous. > > From your previous message I got the impression that the number of home-brewers on the list is relatively small. > > I'm wondering: home-brewers / professional developers on the list < 1? < 0.1? > > By home-brewers I mean amateurs developing for their own use. 1. I develop in-house software for my language school; all programs running on either Linux (Ubuntu) or Mac OS 10.4. 2. I develop a piece of commercial software (Devawriter Pro) for Macintosh and Windows, and, ultimately, Linux. All my software development is done in my bedroom. Does that make me a home-brewer? Certainly seems that your categories are a bit too neat, and have too sharply defined boundaries to make sense in the real world. > > Home-brewers don't normally work cross-platform. Professional developers usually do, I suppose. > > Is LC the preferred tool for non-pros developing for their own use? If not then what is? > > Cheers, > > 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 pete at lcsql.com Wed Oct 3 14:07:36 2012 From: pete at lcsql.com (Peter Haworth) Date: Wed, 3 Oct 2012 11:07:36 -0700 Subject: Skinning buttons In-Reply-To: <0A6FC4B5-FEC0-4CA4-ABA8-3DF7A7C481BD@gmail.com> References: <0A6FC4B5-FEC0-4CA4-ABA8-3DF7A7C481BD@gmail.com> Message-ID: One other thought - you could use the image itself as a button, just code a mouseUp handler for it to deal what happens when someone clicks on it. Then you can just resize the image and you're done. Pete lcSQL Software On Wed, Oct 3, 2012 at 7:42 AM, John Allijn wrote: > I've created a large number of buttons designed to look good on an iPad3. > I created these buttons by scripts that combining images and icon fonts and > saving these as snapshots. After that my script uses these snapshots to > skin buttons. So far so good. > > The problem that I now run into is that when I try to scale these buttons > down for use on an iPhone, the images are cropped (clipped) and not > resized. Is there a setting somewhere that can change this behaviour? In > other words, if I select a button and drag the corner to resize it, I want > the images of its skin to resize with it. > > 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 jacque at hyperactivesw.com Wed Oct 3 14:09:55 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 03 Oct 2012 13:09:55 -0500 Subject: State of the internet In-Reply-To: <134913485625.20121003084306@ahsoftware.net> References: <506BAA56.4050709@hyperactivesw.com> <132871955734.20121002211056@ahsoftware.net> <506BC98C.8050900@hyperactivesw.com> <134913485625.20121003084306@ahsoftware.net> Message-ID: <506C7F73.5090007@hyperactivesw.com> On 10/3/12 10:43 AM, Mark Wieder wrote: > Jacque- > > Tuesday, October 2, 2012, 10:13:48 PM, you wrote: > >> Litigation doesn't provide ad space. This article is about selling to >> the masses. Although I did just read recently that Facebook users don't >> click on ads much, so that's one-seventh of the online population down >> the tubes. > > No, that's one-seventh of the *world's* population, or roughly one out > of every two internet users. > Geez. In that case the FB situation is worse than I thought. I wonder when they'll pass laws forcing non-participants like me to stand outside in the rain to use the internet. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Wed Oct 3 14:15:17 2012 From: pete at lcsql.com (Peter Haworth) Date: Wed, 3 Oct 2012 11:15:17 -0700 Subject: Entire sqlite database wiped of data?? In-Reply-To: References: Message-ID: There is no sqlite single command to clear out all the data in all tables. If the keys are still there and you can see the data in binary mode then I'd guess something in your program is not working correctly. Try using one of the many sqlite admin tools out there to see if it sees the data. Pete lcSQL Software On Wed, Oct 3, 2012 at 9:35 AM, Dr. Hawkins wrote: > While working last night with my program, somehow, all three tables > were wiped clean of data. The columns are still there, but the data > is not. For that matter, the keys are still there, but the data for > the other columns of each row was wiped. > > When I read the binary file, I can see the data there. > > Is there an sql command that can wipe multiple tables > simultaneously??? Do I have an even bigger problem? > > -- > Richard E. Hawkins, Esq. > (702) 508-8462 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Wed Oct 3 14:10:44 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 03 Oct 2012 13:10:44 -0500 Subject: Finally found one. In-Reply-To: <64913724437.20121003084704@ahsoftware.net> References: <8017A228-604E-4C81-82DB-E4AD0837AD4B@mac.com> <1349142999758-4655711.post@n4.nabble.com> <8CF6E5C5EAD0914-1B24-66F4F@webmail-m081.sysops.aol.com> <506B5199.8020702@splash21.com> <8CF6F1BB2B4A049-964-8CF0B@webmail-m021.sysops.aol.com> <506BD76A.5010105@splash21.com> <64913724437.20121003084704@ahsoftware.net> Message-ID: <506C7FA4.3060003@hyperactivesw.com> On 10/3/12 10:47 AM, Mark Wieder wrote: > John- > > Tuesday, October 2, 2012, 11:12:58 PM, you wrote: > >> Pressing the stop button just makes another call to the handler, it >> doesn't cancel the scheduled message - it's still there and will still fire. > > The problem, as I see it, is that the documentation incorrectly states > that "exit to top" will cancel pending messages, and that's not the > case. > I think it's a poor description; what it means is pending handlers. It should be changed. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rene.micout at numericable.com Wed Oct 3 14:19:24 2012 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Wed, 3 Oct 2012 20:19:24 +0200 Subject: [ANN] sunnYmidi V 2.0 ( MacOsX) In-Reply-To: References: Message-ID: MERCI Thierry !! I have not yet red the tutorial... (je travaille sur ma palette d'outils LiveCode Mac OS X) A bient?t Ren? Le 3 oct. 2012 ? 19:09, Thierry Douez a ?crit : > Hi everyone, > > Right now you can download a full working Livecode tutorial with a trial > version of sunnYmidi version 2.0 at: > > http://sunny-tdz.com/dwn and select "sunnYmidi demo v2.0" > > > This new version: > > - manages all your midi IN and OUTPUT devices, physical or virtual. > > - sends raw or sysex midi datas to your own devices. > > - triggers your Livecode handlers with incoming Midi notes! > (Livecode seen as a destination midi device). > > - enables Livecode to monitor existing midi channels. > > - is fully compatible with version 1.0 > > > You can read the documentation here: > > Tutorial to connect Midi Devices: > http://sunny-tdz.com/art-1011 > sunnYmidi version 2.0: > http://sunny-tdz.com/art-1012 > Easy fast Midi Player: > http://sunny-tdz.com/art-1000 > Playing sounds a la Hypercard: > http://sunny-tdz.com/art-1010 > > > sunnYmidi version 2.0 for MacOsX is coming in a couple of days! > > I appreciate your feedback. > > Kind regards, > > Thierry > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From th.douez at gmail.com Wed Oct 3 14:41:15 2012 From: th.douez at gmail.com (Thierry Douez) Date: Wed, 3 Oct 2012 20:41:15 +0200 Subject: [ANN] sunnYmidi V 2.0 ( MacOsX) In-Reply-To: References: Message-ID: Bonsoir Ren?, 2012/10/3 Ren? Micout : > MERCI Thierry !! > I have not yet red the tutorial... It's not something to read... It's a LC stack which in 20 cards shows most of the features of sunnYmidi in live. I like one of them very much where LC ask the user for a note, then you have to play it on your midi keyboard, and LC tells you if it's the good note or not... But maybe worth a try... You download a disk image which is self-contained and at the end the disk i sunmounted and your Mac is free as before. J'attends de tes nouvelles :) Thierry > A bient?t > Ren? > > Le 3 oct. 2012 ? 19:09, Thierry Douez a ?crit : > >> Hi everyone, >> >> Right now you can download a full working Livecode tutorial with a trial >> version of sunnYmidi version 2.0 at: >> >> http://sunny-tdz.com/dwn and select "sunnYmidi demo v2.0" >> >> >> This new version: >> >> - manages all your midi IN and OUTPUT devices, physical or virtual. >> >> - sends raw or sysex midi datas to your own devices. >> >> - triggers your Livecode handlers with incoming Midi notes! >> (Livecode seen as a destination midi device). >> >> - enables Livecode to monitor existing midi channels. >> >> - is fully compatible with version 1.0 >> >> >> You can read the documentation here: >> >> Tutorial to connect Midi Devices: >> http://sunny-tdz.com/art-1011 >> sunnYmidi version 2.0: >> http://sunny-tdz.com/art-1012 >> Easy fast Midi Player: >> http://sunny-tdz.com/art-1000 >> Playing sounds a la Hypercard: >> http://sunny-tdz.com/art-1010 >> >> >> sunnYmidi version 2.0 for MacOsX is coming in a couple of days! >> >> I appreciate your feedback. >> >> Kind regards, >> >> Thierry >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From todd at geistinteractive.com Wed Oct 3 14:46:51 2012 From: todd at geistinteractive.com (Todd Geist) Date: Wed, 3 Oct 2012 11:46:51 -0700 Subject: Communicating with External processes Message-ID: I am thinking of building a GUI to a Xplat server that is similar to apache. I have two questions. 1. Does any have any example stacks showing how to startup monitor an external process like Apache? 2. Is there any reason why you couldn't include the the executables along with the GUI. Think MAMP, or XAMPP, but built with Live Code Thanks very much Todd Todd -- Todd Geist ------------------------------------ http://www.geistinteractive.com 805-419-9382 GoDraw Draw on Photos with FileMaker Go http://www.geistinteractive.com/godraw From bobs at twft.com Wed Oct 3 14:50:31 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 3 Oct 2012 11:50:31 -0700 Subject: State of the internet In-Reply-To: <506C7F73.5090007@hyperactivesw.com> References: <506BAA56.4050709@hyperactivesw.com> <132871955734.20121002211056@ahsoftware.net> <506BC98C.8050900@hyperactivesw.com> <134913485625.20121003084306@ahsoftware.net> <506C7F73.5090007@hyperactivesw.com> Message-ID: They already have that law out here in California, and they tax us for it too. (just kidding. Everyone knows it never rains in California!) Bob On Oct 3, 2012, at 11:09 AM, J. Landman Gay wrote: > On 10/3/12 10:43 AM, Mark Wieder wrote: >> Jacque- >> >> Tuesday, October 2, 2012, 10:13:48 PM, you wrote: >> >>> Litigation doesn't provide ad space. This article is about selling to >>> the masses. Although I did just read recently that Facebook users don't >>> click on ads much, so that's one-seventh of the online population down >>> the tubes. >> >> No, that's one-seventh of the *world's* population, or roughly one out >> of every two internet users. >> > > Geez. In that case the FB situation is worse than I thought. I wonder when they'll pass laws forcing non-participants like me to stand outside in the rain to use the internet. > > -- > Jacqueline Landman Gay From jacque at hyperactivesw.com Wed Oct 3 14:50:08 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 03 Oct 2012 13:50:08 -0500 Subject: [OT] State of the internet In-Reply-To: References: <506BAA56.4050709@hyperactivesw.com> <43869763968.20121002203424@ahsoftware.net> <506BB667.6040609@hyperactivesw.com> <85062EAD-A28F-4E22-A6A0-277FB7DA4AD9@twft.com> Message-ID: <506C88E0.9050803@hyperactivesw.com> On 10/3/12 12:04 PM, Timothy Miller wrote: > Maybe the presumption that regression lines go on to infinity > represents a universal human cognitive bias. Humans are not rational > creatures, though we like to think we are. I'm sure it's a human trait. We are very good at pattern recognition, and a straight line is just another pattern. Bob's comments about having the facts was partly right-on and partly not. I was reading an article yesterday that said we only "hear" facts that we agree with, and which reinforce our already formed views. That's why it is ineffective to present pure facts to counter emotionally-based opinions like religion or politics. You have to alter the bias first before you can use facts to reinforce your argument. > > I read an amusing article in Behavior and Brain Sciences. The gist: > People are so bad at reasoning that many scientists wonder why they > evolved to do it at all. If reasoning is usually wrong, then it would > not likely have any reproductive value. One theory is that people > don't reason to be right. They reason to win arguments for the sake > of increasing their social status. That would explain 99% of > political and religious conversations, wouldn't it? The same article I read says that humans are mentally lazy. We need to choose what we consider because if we didn't, we'd expend all our energy evaluating things. So instead we find what works and presume from there. The problem with this is that sometimes what works most of the time doesn't always work universally. I don't have a link to the article unfortunately because it came in through the RSS feeds I scan daily and it has now evaporated into the ether. But it was on Ars Technica yesterday. > Conversely this is why talking heads on TV and experts commenting on > the future state of the internet get it right about as often as a > monkey with a dart board. But given enough time they can reproduce Shakespeare. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jallijn at gmail.com Wed Oct 3 15:04:11 2012 From: jallijn at gmail.com (John Allijn) Date: Wed, 3 Oct 2012 21:04:11 +0200 Subject: Skinning buttons In-Reply-To: References: <0A6FC4B5-FEC0-4CA4-ABA8-3DF7A7C481BD@gmail.com> Message-ID: <81A83823-A7C1-4B84-B9B8-09DBE150A398@gmail.com> > One other thought - you could use the image itself as a button, just code a > mouseUp handler for it to deal what happens when someone clicks on it. > Then you can just resize the image and you're done. > I tried to make this work for quite some time, but i don't get it to look nice and behave naturally, thats why i'm reverting back to a standard button. Skinning looks so easy when they show it in the livecode lessons, but designing a UI and making it work nicely takes up about 90% of my programming-time when building an iOS app. Who knew that design is difficult :) From pete at lcsql.com Wed Oct 3 15:27:13 2012 From: pete at lcsql.com (Peter Haworth) Date: Wed, 3 Oct 2012 12:27:13 -0700 Subject: [OT] State of the internet In-Reply-To: <506C88E0.9050803@hyperactivesw.com> References: <506BAA56.4050709@hyperactivesw.com> <43869763968.20121002203424@ahsoftware.net> <506BB667.6040609@hyperactivesw.com> <85062EAD-A28F-4E22-A6A0-277FB7DA4AD9@twft.com> <506C88E0.9050803@hyperactivesw.com> Message-ID: Part of the problem is finding the right facts. If you read a "fact" that happens to support your argument then obviously you think it's true. Problem is, so many "facts" spouted by experts on any number of subjects these days are either misguided, biased, or flat out wrong. There's a great book by David Freedman named "Wrong" which discusses the reasons for this, some quite frightening. Pete lcSQL Software On Wed, Oct 3, 2012 at 11:50 AM, J. Landman Gay wrote: > Bob's comments about having the facts was partly right-on and partly not. > I was reading an article yesterday that said we only "hear" facts that we > agree with, and which reinforce our already formed views. That's why it is > ineffective to present pure facts to counter emotionally-based opinions > like religion or politics. You have to alter the bias first before you can > use facts to reinforce your argument. From todd at geistinteractive.com Wed Oct 3 16:19:01 2012 From: todd at geistinteractive.com (Todd Geist) Date: Wed, 3 Oct 2012 13:19:01 -0700 Subject: Communicating with External processes In-Reply-To: References: Message-ID: <2EA5DBD8-A93C-414E-9238-AE79B368FCBF@geistinteractive.com> On Oct 3, 2012, at 11:46 AM, Todd Geist wrote: > I have two questions. > > 1. Does any have any example stacks showing how to startup monitor an external process like Apache? Ok so this turns out to be easy simple use of shell seems like it will work for most things Todd From mwieder at ahsoftware.net Wed Oct 3 16:21:46 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 3 Oct 2012 13:21:46 -0700 Subject: [OT] State of the internet In-Reply-To: References: <506BAA56.4050709@hyperactivesw.com> <43869763968.20121002203424@ahsoftware.net> <506BB667.6040609@hyperactivesw.com> <85062EAD-A28F-4E22-A6A0-277FB7DA4AD9@twft.com> <506C88E0.9050803@hyperactivesw.com> Message-ID: <76930206156.20121003132146@ahsoftware.net> Pete- Wednesday, October 3, 2012, 12:27:13 PM, you wrote: > Part of the problem is finding the right facts. If you read a "fact" that > happens to support your argument then obviously you think it's true. I'll see that when I believe it. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed Oct 3 16:26:23 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 3 Oct 2012 13:26:23 -0700 Subject: Home brewers In-Reply-To: References: Message-ID: <90930483203.20121003132623@ahsoftware.net> Tim- Wednesday, October 3, 2012, 9:20:58 AM, you wrote: > Is LC the preferred tool for non-pros developing for their own use? If not then what is? Asking that on the LC list is like asking Giants fans who their favorite team is. -- -Mark Wieder mwieder at ahsoftware.net From pete at lcsql.com Wed Oct 3 16:37:44 2012 From: pete at lcsql.com (Peter Haworth) Date: Wed, 3 Oct 2012 13:37:44 -0700 Subject: Debug and IDE scripts In-Reply-To: References: Message-ID: Hi Mark, In connection with my continuing problems in lcStackbrowser, I remembered you sent me an email about debugging the IDE. This is concerning the problem in opening a stack when the open is preceded with an answer file dialog for the user to choose a stack. To add to the mystery, if I set the global variable you mentioned, then everything in lcStackBrowser works fine. WIth the global variable set to false, the original problem remains. I don't see any runtime errors in any IDE handlers with the global set to true and if I set a breakpoint on the open stack command, I get to the next line in my code without going through any IDE code. Obviously I can't set the global in the product so I'm wondering if you might have any other thoughts on why setting it should make things work? I'm setting it in the message box by the way, not in my script so the script code is exactly the same in both cases. Pete lcSQL Software On Wed, Sep 12, 2012 at 12:13 PM, Mark Wieder wrote: > global gRevDevelopment; put true into gRevDevelopment From bobs at twft.com Wed Oct 3 17:10:33 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 3 Oct 2012 14:10:33 -0700 Subject: [OT] State of the internet In-Reply-To: <506C88E0.9050803@hyperactivesw.com> References: <506BAA56.4050709@hyperactivesw.com> <43869763968.20121002203424@ahsoftware.net> <506BB667.6040609@hyperactivesw.com> <85062EAD-A28F-4E22-A6A0-277FB7DA4AD9@twft.com> <506C88E0.9050803@hyperactivesw.com> Message-ID: <632A8341-C8FC-407B-9AFA-2734B50D2A69@twft.com> This all goes to another principle I have, that no two parties in a debate will get anywhere at all, unless both have the grasping of truth as their highest priority. Both parties must love truth. If either party has proving they are right as their goal, neither will get anywhere. People like that think they are secure in their beliefs, but are actually not secure at all. One only needs to introduce a few more "facts" (though they need not be true) and you can get them to do almost anything you want. Wars and revolutions begin this way. You might say that truth is different things to different people, but that is not what I mean by truth. I mean "the way things really are" as opposed to "the way we perceive them". The first is what I mean by fact. The second is I suppose what we might mean by reason, or what reason leads us to think. But even reason must tell us that there really is an inexorable nature to all things, and if we are mistaken about that nature, it's not nature's fault but ours. It also, by the way, ought to tell us that everything we base on our misperception of a things nature is going to lead to more errors down the road. If we are ready to shed ways of thinking when facts disagree with us, then we might get on. I would only caution that, as with my original post, we are almost never (I would venture to say absolutely never) in possession of all the information we need to make really informed decisions, and the very best kinds of deception in this world involve telling just the right truths, and skipping just the right ones. To quote a very wise man, "Test all things. Hold fast to what is good." And for the sake of those who really don't want to know I will withhold the author. You can readily find it if you google it. On another note, I would say that one reason we love to develop or work with computers, is that it is an environment that has at least the perception of being completely knowable and predictable. Given all the electrons are flowing from point a to point b as engineered, we can tell a computer to add one to one and we will always get two. Oh there is still a lot we don't know, but it seems clear to us that the pool of knowledge is at least in theory, not infinite or unattainable. In real life we can do all the right things and have everything turn out oh so wrong. In our computer worlds, all works as it ought to, and if it doesn't, why we KNOW that there is a tangible reason for it. The CPU overheated. The preferences file got corrupted. The developer made a mistake and there is a bug. There is a point we know we will get to if we try hard enough where we will say, "Ah hah! Got it!" In the real world we will probably never know why most things happen the way they do. But being somewhat older now than I used to be, it dawns on me that it doesn't matter that I know. I'd probably do all the wrong things to fix it, because having gained all knowledge, I still would lack understanding and wisdom to know what to do about it. Bob On Oct 3, 2012, at 11:50 AM, J. Landman Gay wrote: > On 10/3/12 12:04 PM, Timothy Miller wrote: > >> Maybe the presumption that regression lines go on to infinity >> represents a universal human cognitive bias. Humans are not rational >> creatures, though we like to think we are. > > I'm sure it's a human trait. We are very good at pattern recognition, and a straight line is just another pattern. > > Bob's comments about having the facts was partly right-on and partly not. I was reading an article yesterday that said we only "hear" facts that we agree with, and which reinforce our already formed views. That's why it is ineffective to present pure facts to counter emotionally-based opinions like religion or politics. You have to alter the bias first before you can use facts to reinforce your argument. > >> >> I read an amusing article in Behavior and Brain Sciences. The gist: >> People are so bad at reasoning that many scientists wonder why they >> evolved to do it at all. If reasoning is usually wrong, then it would >> not likely have any reproductive value. One theory is that people >> don't reason to be right. They reason to win arguments for the sake >> of increasing their social status. That would explain 99% of >> political and religious conversations, wouldn't it? > > The same article I read says that humans are mentally lazy. We need to choose what we consider because if we didn't, we'd expend all our energy evaluating things. So instead we find what works and presume from there. The problem with this is that sometimes what works most of the time doesn't always work universally. > > I don't have a link to the article unfortunately because it came in through the RSS feeds I scan daily and it has now evaporated into the ether. But it was on Ars Technica yesterday. > >> Conversely this is why talking heads on TV and experts commenting on >> the future state of the internet get it right about as often as a >> monkey with a dart board. > > But given enough time they can reproduce Shakespeare. :) > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Wed Oct 3 17:12:22 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 3 Oct 2012 14:12:22 -0700 Subject: Home brewers In-Reply-To: <90930483203.20121003132623@ahsoftware.net> References: <90930483203.20121003132623@ahsoftware.net> Message-ID: <6F0FD908-46D3-458E-A539-948E90D0FBAA@twft.com> Reminds me of Madagascar 2. "All hail the New York Giants!" On Oct 3, 2012, at 1:26 PM, Mark Wieder wrote: > Tim- > > Wednesday, October 3, 2012, 9:20:58 AM, you wrote: > >> Is LC the preferred tool for non-pros developing for their own use? If not then what is? > > Asking that on the LC list is like asking Giants fans who their > favorite team is. > > -- > -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 Oct 3 17:55:34 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 3 Oct 2012 15:55:34 -0600 Subject: [ANN] sunnYmidi V 2.0 ( MacOsX) In-Reply-To: References: Message-ID: is sunnYperl (not sure how you spelled it) available? Think I checked at one time and couldn't locate a download but its been long enough ago that i'm foggy. Would love to try it. On Wed, Oct 3, 2012 at 12:41 PM, Thierry Douez wrote: > Bonsoir Ren?, > > 2012/10/3 Ren? Micout : > > MERCI Thierry !! > > I have not yet red the tutorial... > > It's not something to read... > It's a LC stack which in 20 cards shows > most of the features of sunnYmidi in live. > > I like one of them very much where > LC ask the user for a note, then you have to play it on your midi keyboard, > and LC tells you if it's the good note or not... > > But maybe worth a try... > You download a disk image which is self-contained and at the end > the disk i sunmounted and your Mac is free as before. > > J'attends de tes nouvelles :) > > Thierry > > > A bient?t > > Ren? > > > > Le 3 oct. 2012 ? 19:09, Thierry Douez a ?crit : > > > >> Hi everyone, > >> > >> Right now you can download a full working Livecode tutorial with a trial > >> version of sunnYmidi version 2.0 at: > >> > >> http://sunny-tdz.com/dwn and select "sunnYmidi demo v2.0" > >> > >> > >> This new version: > >> > >> - manages all your midi IN and OUTPUT devices, physical or virtual. > >> > >> - sends raw or sysex midi datas to your own devices. > >> > >> - triggers your Livecode handlers with incoming Midi notes! > >> (Livecode seen as a destination midi device). > >> > >> - enables Livecode to monitor existing midi channels. > >> > >> - is fully compatible with version 1.0 > >> > >> > >> You can read the documentation here: > >> > >> Tutorial to connect Midi Devices: > >> http://sunny-tdz.com/art-1011 > >> sunnYmidi version 2.0: > >> http://sunny-tdz.com/art-1012 > >> Easy fast Midi Player: > >> http://sunny-tdz.com/art-1000 > >> Playing sounds a la Hypercard: > >> http://sunny-tdz.com/art-1010 > >> > >> > >> sunnYmidi version 2.0 for MacOsX is coming in a couple of days! > >> > >> I appreciate your feedback. > >> > >> Kind regards, > >> > >> Thierry > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From adams at switchintime.com Wed Oct 3 19:32:50 2012 From: adams at switchintime.com (Jonathan Adams) Date: Wed, 3 Oct 2012 19:32:50 -0400 Subject: [ANN] sunnYmidi V 2.0 ( MacOsX) In-Reply-To: References: Message-ID: Great job Thierry! Powerful and simple. This is going to be fun? Jon From dochawk at gmail.com Wed Oct 3 20:08:55 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 3 Oct 2012 17:08:55 -0700 Subject: Entire sqlite database wiped of data?? In-Reply-To: <68F28836-CCE6-483C-86C9-1A776A100350@twft.com> References: <68F28836-CCE6-483C-86C9-1A776A100350@twft.com> Message-ID: On Wed, Oct 3, 2012 at 9:49 AM, Bob Sneidar wrote: > I take it you have viewed the data in an SQL utility? Firefox has an sqLite plugin that works pretty well and it's free. Without opening >your database myself, I can't do much to help. Unfortunately, it's client data. On Wed, Oct 3, 2012 at 11:15 AM, Peter Haworth wrote: > There is no sqlite single command to clear out all the data in all tables. That's what I thought . . . > If the keys are still there and you can see the data in binary mode then > I'd guess something in your program is not working correctly. Try using > one of the many sqlite admin tools out there to see if it sees the data. I've manually queried the database from the message box--the columns & keys remain, but the data is gone (but visible in less). And as for backup . . . I managed to kill wuala's time-travel, apparently, by renaming the file--now neither the file with it's new name nor the file assigned to the original name has a history. And it wasn't entered long enough to be in other backups. It's not a lot to reenter; I'm more concerned with *how* multiple tables could get whacked like that; I *think* the program should have failed with the first one gone . . . -- Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Wed Oct 3 20:22:00 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 3 Oct 2012 17:22:00 -0700 Subject: Home brewers In-Reply-To: <506C7E21.1090904@gmail.com> References: <506C7E21.1090904@gmail.com> Message-ID: On Wed, Oct 3, 2012 at 11:04 AM, Richmond wrote: > Does that make me a home-brewer? Bah. Soak some malted barley in hot water, rinse with hotter water, boil the rinse with female hop flowers, cool down,and add yeast. *Then* you will be a home brewer . . . :) -- Richard E. Hawkins, Esq. (702) 508-8462 From Mark_Smith at cpe.umanitoba.ca Wed Oct 3 21:01:38 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Wed, 3 Oct 2012 18:01:38 -0700 (PDT) Subject: valid signing identity not found Message-ID: <1349312498658-4655858.post@n4.nabble.com> Why does xcode 4.5.1 say it cannot find a valid signing identity for my provisioning profile and what in heck can I do about it. I'd use stronger language but this is probably a family-oriented forum. Thanks -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/valid-signing-identity-not-found-tp4655858.html Sent from the Revolution - User mailing list archive at Nabble.com. From Mark_Smith at cpe.umanitoba.ca Wed Oct 3 21:28:12 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Wed, 3 Oct 2012 18:28:12 -0700 (PDT) Subject: valid signing identity not found: now code signature not found In-Reply-To: <1349312498658-4655858.post@n4.nabble.com> References: <1349312498658-4655858.post@n4.nabble.com> Message-ID: <1349314092814-4655859.post@n4.nabble.com> Okay, now I can compile (it appears I have a valid signing whatever) but now when I copy the app to the ipad it says no code signature found. Translation please and again, what can I do about it?? Thanks -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/valid-signing-identity-not-found-tp4655858p4655859.html Sent from the Revolution - User mailing list archive at Nabble.com. From Mark_Smith at cpe.umanitoba.ca Wed Oct 3 23:20:51 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Wed, 3 Oct 2012 20:20:51 -0700 (PDT) Subject: valid signing identity not found In-Reply-To: <1349312498658-4655858.post@n4.nabble.com> References: <1349312498658-4655858.post@n4.nabble.com> Message-ID: <1349320851871-4655860.post@n4.nabble.com> For those who run into the same digital signature/signing authority quagmire, these instructions worked: Close all your stuff except your webpage that should be logged into App Dev center. Open Xcode. Click WINDOW > ORGANIZER. Then click the Devices tab and select "Provisioning Profiles" on the left. That should bring up your provisioning profiles. Highlight one by one (if more than 1), right click and delete profile. Yes, just do it! Delete them all! (I kept making a new one after a new one trying to make the thing work.) >From the first page you see after logging into the App Dev Center on the right side click "iOS PROVISIONING PORTAL" > (do not "launch assistant"). Instead click on the left side. Select CERTIFICATES. You will probably have just one line listed with your name/company - from there click on the right side REVOKE. Click OK to verify that's what you want to do. On the same page click DEVICES. Click the box next to your device you are trying to provision and click REMOVE SELECTED. Again click OK to verify. Wait about 2 minutes to let Apple do their thing. Now click on "HOME" that is on the left side navigation. Click "Launch Assistant" create a new app ID - call it whatever you want. Just make sure it's unique enough to know that's the one you just created because the others you've been messing with all day will not be deleted from Apples Dev Center. You should be able to follow the rest of the Assistant without troubles -- the main thing is you just had to delete your old provision profiles and start over. -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/valid-signing-identity-not-found-tp4655858p4655860.html Sent from the Revolution - User mailing list archive at Nabble.com. From th.douez at gmail.com Thu Oct 4 01:53:23 2012 From: th.douez at gmail.com (Thierry Douez) Date: Thu, 4 Oct 2012 07:53:23 +0200 Subject: [ANN] sunnYmidi V 2.0 ( MacOsX) In-Reply-To: References: Message-ID: Hi Mike, 2012/10/3 Mike Bonner : > is sunnYperl available? Think I checked at > one time and couldn't locate a download but its been long enough ago that > i'm foggy. Would love to try it. Go to http://sunny-tdz.com In the download page, you have 2 versions of sunnYperl, depending on which version of perl they are linked to. One for Mac, another one for Windows. The funny thing is that I did worked the most with a unix version for years (with Metacard), but unfortunately, it's not available in my site for few very reasonable reasons... Just a reminder; Bioarchimed is an industrial product made with Livecode and Perl. It has been used endlessly in some laboratories for cancer health.. (Check my site) If you really are interested, I'll be happy to talk more deeply about this but better to email me off list. Regards, Thierry From th.douez at gmail.com Thu Oct 4 01:57:52 2012 From: th.douez at gmail.com (Thierry Douez) Date: Thu, 4 Oct 2012 07:57:52 +0200 Subject: [ANN] sunnYmidi V 2.0 ( MacOsX) In-Reply-To: References: Message-ID: Hi Jonathan, 2012/10/4 Jonathan Adams : > Great job Thierry! Powerful and simple. This is going to be fun? > Jon Thanks for your words. I'ld be happy to have some news from your project with your band :) Regards, Thierry From dochawk at gmail.com Thu Oct 4 10:37:24 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 4 Oct 2012 07:37:24 -0700 Subject: Would anyone mind.. In-Reply-To: References: <8017A228-604E-4C81-82DB-E4AD0837AD4B@mac.com> <1349142999758-4655711.post@n4.nabble.com> Message-ID: On Monday, October 1, 2012, Mike Bonner wrote: > ok, my turn. Whats cvs? (would probably know but I live in bfe) > One of the huge us drug store chains -- Richard E. Hawkins, Esq. (702) 508-8462 From bonnmike at gmail.com Thu Oct 4 10:52:28 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 4 Oct 2012 08:52:28 -0600 Subject: Would anyone mind.. In-Reply-To: References: <8017A228-604E-4C81-82DB-E4AD0837AD4B@mac.com> <1349142999758-4655711.post@n4.nabble.com> Message-ID: Ah k. Well as mentioned I live in bfe where there is no cvs. However, if you need a ready supply of sand and rocks, those we have in abundance. Just did a search and apparently there are actually a few in my state, the nearest being about 80 miles from here. I really need to leave the cave once in a while. From ambassador at fourthworld.com Thu Oct 4 10:52:54 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 04 Oct 2012 07:52:54 -0700 Subject: Final reminder: LiveCode User Group meeting in Pasadena tonight Message-ID: <506DA2C6.1010108@fourthworld.com> There are a few people here who don't frequent the forums, so this is just a quick reminder that the bi-monthly SoCal LiveCode User Group meeting is tonight at 7PM in Pasadena - details 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 bobs at twft.com Thu Oct 4 11:43:21 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 4 Oct 2012 08:43:21 -0700 Subject: Entire sqlite database wiped of data?? In-Reply-To: References: <68F28836-CCE6-483C-86C9-1A776A100350@twft.com> Message-ID: <15242F07-0176-4030-80DC-3430C613C2B6@twft.com> Richard, barring anything your app could have done to wipe the data, and barring a damaged database file (a possibility if the physical media took a hit) there is only one thing left. Someone hacked into your database and altered the data. How is your app accessing the data? Is the access to the database encrypted? One of the common ways that SQL databases are backed up is by dumping the entire database to a text file or series of text files, separate for each time you backup so you don't overwrite good data with bad. Virtually all SQL databases have a way to do this (not sure about sqLite though). For any commercial product, this is a must have feature. Everyone expects some kind of backup to be included. Bob On Oct 3, 2012, at 5:08 PM, Dr. Hawkins wrote: > On Wed, Oct 3, 2012 at 9:49 AM, Bob Sneidar wrote: >> I take it you have viewed the data in an SQL utility? Firefox has an sqLite plugin that works pretty well and it's free. Without opening >> your database myself, I can't do much to help. > > Unfortunately, it's client data. > > On Wed, Oct 3, 2012 at 11:15 AM, Peter Haworth wrote: >> There is no sqlite single command to clear out all the data in all tables. > > That's what I thought . . . > >> If the keys are still there and you can see the data in binary mode then >> I'd guess something in your program is not working correctly. Try using >> one of the many sqlite admin tools out there to see if it sees the data. > > I've manually queried the database from the message box--the columns & > keys remain, but the data is gone (but visible in less). > > And as for backup . . . I managed to kill wuala's time-travel, > apparently, by renaming the file--now neither the file with it's new > name nor the file assigned to the original name has a history. > > And it wasn't entered long enough to be in other backups. > > It's not a lot to reenter; I'm more concerned with *how* multiple > tables could get whacked like that; I *think* the program should have > failed with the first one gone . . . > > > -- > 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 bobs at twft.com Thu Oct 4 11:44:58 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 4 Oct 2012 08:44:58 -0700 Subject: Would anyone mind.. In-Reply-To: References: <8017A228-604E-4C81-82DB-E4AD0837AD4B@mac.com> <1349142999758-4655711.post@n4.nabble.com> Message-ID: No no! There are vicious beasts out there! On Oct 4, 2012, at 7:52 AM, Mike Bonner wrote: > Just did a search and apparently there are actually a few in my state, the > nearest being about 80 miles from here. I really need to leave the cave > once in a while. From bobs at twft.com Thu Oct 4 11:45:43 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 4 Oct 2012 08:45:43 -0700 Subject: Final reminder: LiveCode User Group meeting in Pasadena tonight In-Reply-To: <506DA2C6.1010108@fourthworld.com> References: <506DA2C6.1010108@fourthworld.com> Message-ID: I'm close enough to go but it's still a long way out for me. On Oct 4, 2012, at 7:52 AM, Richard Gaskin wrote: > There are a few people here who don't frequent the forums, so this is just a quick reminder that the bi-monthly SoCal LiveCode User Group meeting is tonight at 7PM in Pasadena - details here: > > From ambassador at fourthworld.com Thu Oct 4 12:18:04 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 04 Oct 2012 09:18:04 -0700 Subject: Final reminder: LiveCode User Group meeting in Pasadena tonight In-Reply-To: References: Message-ID: <506DB6BC.8000307@fourthworld.com> Bob Sneidar wrote: > I'm close enough to go but it's still a long way out for me. IIRC, you're near the westside, no? I wonder if it may be fun to post a query in the forums looking for other LCers on that side of town to make another SoCal group? The LC audience has grown quite a bit since we first started this group so many years ago, and I'd like to believe there's enough that a town as big as Los Angeles can be home to two or even three such groups. It seems most of the newcomers are on the forums, so that would be a good place to start. In this town, with its hellish traffic, reducing drive time is really the only way folks can get together regularly. I belong to a number of local usability and other professional groups, but relatively few have members east of Sepulveda, so until we get our train to the westside (2015?) my schedule stays pretty open; I simply won't drive that far during rush hour, which in LA lasts until 7:30. ;) -- 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 bobs at twft.com Thu Oct 4 13:13:18 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 4 Oct 2012 10:13:18 -0700 Subject: Final reminder: LiveCode User Group meeting in Pasadena tonight In-Reply-To: <506DB6BC.8000307@fourthworld.com> References: <506DB6BC.8000307@fourthworld.com> Message-ID: Nope. Orange County. It's not the distance I'm worried about, it's the traffic. I HATE driving in traffic. On Oct 4, 2012, at 9:18 AM, Richard Gaskin wrote: > Bob Sneidar wrote: > >> I'm close enough to go but it's still a long way out for me. > > IIRC, you're near the westside, no? > > I wonder if it may be fun to post a query in the forums looking for other LCers on that side of town to make another SoCal group? > > The LC audience has grown quite a bit since we first started this group so many years ago, and I'd like to believe there's enough that a town as big as Los Angeles can be home to two or even three such groups. It seems most of the newcomers are on the forums, so that would be a good place to start. > > In this town, with its hellish traffic, reducing drive time is really the only way folks can get together regularly. > > I belong to a number of local usability and other professional groups, but relatively few have members east of Sepulveda, so until we get our train to the westside (2015?) my schedule stays pretty open; I simply won't drive that far during rush hour, which in LA lasts until 7:30. ;) > > -- > 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 palcibiades-first at yahoo.co.uk Thu Oct 4 13:24:17 2012 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Thu, 4 Oct 2012 10:24:17 -0700 (PDT) Subject: State of the internet In-Reply-To: <506BB667.6040609@hyperactivesw.com> References: <506BB667.6040609@hyperactivesw.com> Message-ID: <1349371457657-4655871.post@n4.nabble.com> Thanks for posting the link to that presentation. Fascinating. Yes, it does tend to show RR was right to focus on mobile when they did. Imagine how the product would look now without it! Android is the really interesting question the presentation raises of course. Whatever it morphs into. Thanks again. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Re-State-of-the-internet-tp4655779p4655871.html Sent from the Revolution - User mailing list archive at Nabble.com. From larsbrehmer at me.com Thu Oct 4 14:41:47 2012 From: larsbrehmer at me.com (Lars Brehmer) Date: Thu, 04 Oct 2012 21:41:47 +0300 Subject: iOS simulator won't work Message-ID: I am finally testing the waters of apps for the iPad, but my first problem is this: I cannot get my stacks to open in the xCode simulator. All I ever see is a white, generic icon with my stack's name under it. When I click on it, it slides up and to the left out of sight, there is a pause and it slides back into place. No sign of my stack, mo mater how often I try. I use Collin's book, which I bought from Amazon and absolutely love. But I am missing something here. In a nutshell, the steps provided in the book are: 1. create and save a main stack 2. set the size (his example is 1024 X 768, uncheck Resizable 3. put something on the card (example field with "hello World" text 4. open standalone settings, select iOS 5. Set orientation to Landscape 6. Close standalone settings dialog box 7. from the development > test target menu choose iPad simulator 8. development > test 9. your test stack is running in the simulator I did everything several times, with variations, but 9 never happens. All I have ever seen is what I described above. Whart am I missing? The book has been spot on for every little detail so far, so I wonder why this isn't working? I am using Mountain Lion (10.8.2), LiveCode 5.5.2 and xCode 4.5 and in liveCode preferences > MObile Support > the location of developer root for iOS 5 and above is /Applications/Xcode.app/Contents/Developer Tips or suggestions? Cheers, Lars From coiin at verizon.net Thu Oct 4 15:29:44 2012 From: coiin at verizon.net (Colin Holgate) Date: Thu, 4 Oct 2012 15:29:44 -0400 Subject: iOS simulator won't work In-Reply-To: References: Message-ID: <94682E62-7BE5-4C66-AC12-50E2704F952B@verizon.net> On Oct 4, 2012, at 2:41 PM, Lars Brehmer wrote: > >Whart am I missing? The book has been spot on for every little detail so far, so I wonder why this isn't working? What are the chances! Some things may have become more strict over time, and you may have to enter a more full app id. In that field initially there is "com.yourcompany.yourapp", change that to something else, say "com.larsbrehmer.helloworldtest" If that then doesn't work, try selecting a provisioning profile. What I think may have happened is that at the time I wrote those instructions the placeholder text was actually used as the app id, and so it worked. At some point RunRev may have intentionally removed that text when you do a test, so these days you have to enter your own id. At least that's my guess, and I was able to see the problem you saw, and then get it to work by entering my own id, and selecting a provisioning file. From admin at FlexibleLearning.com Thu Oct 4 16:12:00 2012 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Thu, 4 Oct 2012 21:12:00 +0100 Subject: [ANN] Free 'Clearview' desktop clock In-Reply-To: Message-ID: A freebie for the LiveCode community... www.FlexibleLearning.com/freeclock I suspect I am not alone when squinting to see the time on my screens. I also don't need the weather, barometric pressure, a count-down alarm, moon phase or the time in Timbuktoo. This 'clearview' clock is millisecond accurate, displays in your own language and simply does what it says on the tin... No feature-bloat, no bells or whistles, no complications, just a really useful thing to have and it looks good too. Available for Windows and Mac OS X and written entirely in LiveCode obviously. Feel free to share it around and use as you wish. Enjoy! With best regards, Hugh Senior FLCo Home of ChartMaker, DatePicker and The Scripter's Scrapbook From scott at tactilemedia.com Thu Oct 4 16:27:46 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 04 Oct 2012 13:27:46 -0700 Subject: What Card Is "Back"? Message-ID: Is there any way to determine what the engine thinks was the most recent card (not the current card)? In other words, is it possible to retrieve the target card referenced when you script "go back"? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX Design From bobs at twft.com Thu Oct 4 16:30:16 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 4 Oct 2012 13:30:16 -0700 Subject: [ANN] Free 'Clearview' desktop clock In-Reply-To: References: Message-ID: <65BADBD4-E5F1-47C4-ADEA-EDE9C9BF46F8@twft.com> Nicely done! It is running on my second monitor. On Oct 4, 2012, at 1:12 PM, FlexibleLearning.com wrote: > A freebie for the LiveCode community... > > www.FlexibleLearning.com/freeclock > > I suspect I am not alone when squinting to see the time on my screens. I > also don't need the weather, barometric pressure, a count-down alarm, moon > phase or the time in Timbuktoo. This 'clearview' clock is millisecond > accurate, displays in your own language and simply does what it says on the > tin... No feature-bloat, no bells or whistles, no complications, just a > really useful thing to have and it looks good too. > > Available for Windows and Mac OS X and written entirely in LiveCode > obviously. > > Feel free to share it around and use as you wish. > > > Enjoy! > > With best regards, > > Hugh Senior > FLCo > Home of ChartMaker, DatePicker and The Scripter's Scrapbook > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From shawnlivecode at gmail.com Thu Oct 4 16:33:50 2012 From: shawnlivecode at gmail.com (Shawn Blc) Date: Thu, 4 Oct 2012 15:33:50 -0500 Subject: [ANN] Free 'Clearview' desktop clock In-Reply-To: <65BADBD4-E5F1-47C4-ADEA-EDE9C9BF46F8@twft.com> References: <65BADBD4-E5F1-47C4-ADEA-EDE9C9BF46F8@twft.com> Message-ID: Excellent! Have it running on my 15" Retina Macbook Pro. On Thu, Oct 4, 2012 at 3:30 PM, Bob Sneidar wrote: > Nicely done! It is running on my second monitor. > > On Oct 4, 2012, at 1:12 PM, FlexibleLearning.com wrote: > > > A freebie for the LiveCode community... > > > > www.FlexibleLearning.com/freeclock > > > > I suspect I am not alone when squinting to see the time on my screens. I > > also don't need the weather, barometric pressure, a count-down alarm, > moon > > phase or the time in Timbuktoo. This 'clearview' clock is millisecond > > accurate, displays in your own language and simply does what it says on > the > > tin... No feature-bloat, no bells or whistles, no complications, just a > > really useful thing to have and it looks good too. > > > > Available for Windows and Mac OS X and written entirely in LiveCode > > obviously. > > > > Feel free to share it around and use as you wish. > > > > > > Enjoy! > > > > With best regards, > > > > Hugh Senior > > FLCo > > Home of ChartMaker, DatePicker and The Scripter's Scrapbook > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Thu Oct 4 16:36:13 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 04 Oct 2012 13:36:13 -0700 Subject: What Card Is "Back"? In-Reply-To: References: Message-ID: <506DF33D.6000807@fourthworld.com> Scott Rossi wrote: > Is there any way to determine what the engine thinks was the most recent > card (not the current card)? > In other words, is it possible to retrieve the target card referenced when > you script "go back"? The backlist global property is very limited, but may help. -- 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 dixonja at hotmail.co.uk Thu Oct 4 16:52:24 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Thu, 4 Oct 2012 21:52:24 +0100 Subject: [ANN] Free 'Clearview' desktop clock In-Reply-To: References: , Message-ID: I suppose you could just go to specsavers... > From: admin at FlexibleLearning.com > To: use-livecode at lists.runrev.com > Subject: [ANN] Free 'Clearview' desktop clock > Date: Thu, 4 Oct 2012 21:12:00 +0100 > > A freebie for the LiveCode community... > > www.FlexibleLearning.com/freeclock > > I suspect I am not alone when squinting to see the time on my screens. I > also don't need the weather, barometric pressure, a count-down alarm, moon > phase or the time in Timbuktoo. This 'clearview' clock is millisecond > accurate, displays in your own language and simply does what it says on the > tin... No feature-bloat, no bells or whistles, no complications, just a > really useful thing to have and it looks good too. > > Available for Windows and Mac OS X and written entirely in LiveCode > obviously. > > Feel free to share it around and use as you wish. > > > Enjoy! > > With best regards, > > Hugh Senior > FLCo > Home of ChartMaker, DatePicker and The Scripter's Scrapbook > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Thu Oct 4 16:53:58 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 4 Oct 2012 13:53:58 -0700 Subject: What Card Is "Back"? In-Reply-To: References: Message-ID: Hi SCott, There's a recentCards property which lists the long IDs of cards visited, one per line, with the most recent first. Pete lcSQL Software On Thu, Oct 4, 2012 at 1:27 PM, Scott Rossi wrote: > Is there any way to determine what the engine thinks was the most recent > card (not the current card)? > In other words, is it possible to retrieve the target card referenced when > you script "go back"? > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Thu Oct 4 16:50:29 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 04 Oct 2012 15:50:29 -0500 Subject: What Card Is "Back"? In-Reply-To: References: Message-ID: <506DF695.5070608@hyperactivesw.com> On 10/4/12 3:27 PM, Scott Rossi wrote: > Is there any way to determine what the engine thinks was the most recent > card (not the current card)? > In other words, is it possible to retrieve the target card referenced when > you script "go back"? Line 2 of the recentcards. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sc at sahores-conseil.com Thu Oct 4 16:56:39 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Thu, 4 Oct 2012 22:56:39 +0200 Subject: [ANN] Free 'Clearview' desktop clock In-Reply-To: References: Message-ID: Hi Hugh ! Look really nice on mac ;D Best regards, Pierre Le 4 oct. 2012 ? 22:12, FlexibleLearning.com a ?crit : > A freebie for the LiveCode community... > > www.FlexibleLearning.com/freeclock > > I suspect I am not alone when squinting to see the time on my screens. I > also don't need the weather, barometric pressure, a count-down alarm, moon > phase or the time in Timbuktoo. This 'clearview' clock is millisecond > accurate, displays in your own language and simply does what it says on the > tin... No feature-bloat, no bells or whistles, no complications, just a > really useful thing to have and it looks good too. > > Available for Windows and Mac OS X and written entirely in LiveCode > obviously. > > Feel free to share it around and use as you wish. > > > Enjoy! > > With best regards, > > Hugh Senior > FLCo > Home of ChartMaker, DatePicker and The Scripter's Scrapbook > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 m.schonewille at economy-x-talk.com Thu Oct 4 16:56:50 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 4 Oct 2012 22:56:50 +0200 Subject: What Card Is "Back"? In-Reply-To: <506DF33D.6000807@fourthworld.com> References: <506DF33D.6000807@fourthworld.com> Message-ID: <28B17768-FC4D-4208-A734-19F9D01D174A@economy-x-talk.com> Hi, It should be the second line of the recentCards. -- 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 On 4 okt 2012, at 22:36, Richard Gaskin wrote: > Scott Rossi wrote: >> Is there any way to determine what the engine thinks was the most recent >> card (not the current card)? >> In other words, is it possible to retrieve the target card referenced when >> you script "go back"? > > The backlist global property is very limited, but may help. > From alanira9 at mac.com Thu Oct 4 16:58:13 2012 From: alanira9 at mac.com (Alan Gayne) Date: Thu, 04 Oct 2012 16:58:13 -0400 Subject: Any know compatibility issues between LC 4.5.1 and Mountain Lion? Message-ID: <5445B06C-9D2F-4A05-B347-084E419CB970@mac.com> Hi all. I'm currently running Livecode 4.5.1 on a 2011 Macbook Air running Lion, with no apparent problems. I am contemplating updating my OS to Mountain Lion, and am wondering if anyone knows of any issues which I should take into consideration. This may have already been asked and answered before, but I can't seem to find any answer when I try a Google search. Thanks in advance for your help in this matter. Kind regards, Alan Gayne From scott at tactilemedia.com Thu Oct 4 16:59:32 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 04 Oct 2012 13:59:32 -0700 Subject: What Card Is "Back"? In-Reply-To: <506DF33D.6000807@fourthworld.com> Message-ID: Thanks Richard -- it seems like "line 2 of the backlist" is the answer. Nice. Best Regards, Scott Rossi Creative Director Tactile Media, UX Design On 10/4/12 1:36 PM, "Richard Gaskin" wrote: >Scott Rossi wrote: >> Is there any way to determine what the engine thinks was the most recent >> card (not the current card)? >> In other words, is it possible to retrieve the target card referenced >>when >> you script "go back"? > >The backlist global property is very limited, but may help. > >-- > 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 Thu Oct 4 17:00:09 2012 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 05 Oct 2012 00:00:09 +0300 Subject: [ANN] Free 'Clearview' desktop clock In-Reply-To: References: Message-ID: <506DF8D9.3020607@gmail.com> On 10/04/2012 11:56 PM, Pierre Sahores wrote: > Hi Hugh ! > > Look really nice on mac ;D > > Best regards, > > Pierre > > Le 4 oct. 2012 ? 22:12, FlexibleLearning.com a ?crit : > >> A freebie for the LiveCode community... >> >> www.FlexibleLearning.com/freeclock >> >> I suspect I am not alone when squinting to see the time on my screens. I >> also don't need the weather, barometric pressure, a count-down alarm, moon >> phase or the time in Timbuktoo. This 'clearview' clock is millisecond >> accurate, displays in your own language and simply does what it says on the >> tin... No feature-bloat, no bells or whistles, no complications, just a >> really useful thing to have and it looks good too. >> >> Available for Windows and Mac OS X and written entirely in LiveCode >> obviously. >> >> Feel free to share it around and use as you wish. >> >> >> Enjoy! >> >> With best regards, >> >> Hugh Senior >> FLCo >> Home of ChartMaker, DatePicker and The Scripter's Scrapbook >> >> >> >> It would be even more of a cracker were there a Linux build! From rdimola at evergreeninfo.net Thu Oct 4 17:06:16 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 4 Oct 2012 17:06:16 -0400 Subject: What Card Is "Back"? In-Reply-To: References: Message-ID: <006201cda274$181444e0$483ccea0$@net> Scott, My 2 cents.... To go to the previous card I always use the "recent card" syntax like this: open recent card Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net Phone: 518-636-3998 Ex:11 Cell: 518-796-9332 -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Scott Rossi Sent: Thursday, October 04, 2012 4:28 PM To: LiveCode Mail List Subject: What Card Is "Back"? Is there any way to determine what the engine thinks was the most recent card (not the current card)? In other words, is it possible to retrieve the target card referenced when you script "go back"? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX Design _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Thu Oct 4 17:32:16 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 04 Oct 2012 14:32:16 -0700 Subject: What Card Is "Back"? In-Reply-To: <006201cda274$181444e0$483ccea0$@net> Message-ID: Hi Ralph: Navigating back isn't the issue for me. I need to know the actual name of the recent card because returning to the source card from the destination may use a different transition, depending on the source. So line 2 of the backlist or line 2 of the recentCards are good options. Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX Design On 10/4/12 2:06 PM, "Ralph DiMola" wrote: >Scott, > >My 2 cents.... >To go to the previous card I always use the "recent card" syntax like >this: > >open recent card > > >Ralph DiMola >IT Director >Evergreen Information Services >rdimola at evergreeninfo.net >Phone: 518-636-3998 Ex:11 >Cell: 518-796-9332 > > >-----Original Message----- >From: use-livecode-bounces at lists.runrev.com >[mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Scott Rossi >Sent: Thursday, October 04, 2012 4:28 PM >To: LiveCode Mail List >Subject: What Card Is "Back"? > >Is there any way to determine what the engine thinks was the most recent >card (not the current card)? >In other words, is it possible to retrieve the target card referenced when >you script "go back"? > >Thanks & Regards, > >Scott Rossi >Creative Director >Tactile Media, UX Design > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription >preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From sc at sahores-conseil.com Thu Oct 4 18:50:53 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Fri, 5 Oct 2012 00:50:53 +0200 Subject: [ANN] Free 'Clearview' desktop clock In-Reply-To: <506DF8D9.3020607@gmail.com> References: <506DF8D9.3020607@gmail.com> Message-ID: <9B65131E-B408-4CB7-8580-8AABCE0485DD@sahores-conseil.com> Le 4 oct. 2012 ? 23:00, Richmond a ?crit : > On 10/04/2012 11:56 PM, Pierre Sahores wrote: >> Hi Hugh ! >> >> Look really nice on mac ;D >> >> Best regards, >> >> Pierre >> >> Le 4 oct. 2012 ? 22:12, FlexibleLearning.com a ?crit : >> >>> A freebie for the LiveCode community... >>> >>> www.FlexibleLearning.com/freeclock >>> >>> I suspect I am not alone when squinting to see the time on my screens. I >>> also don't need the weather, barometric pressure, a count-down alarm, moon >>> phase or the time in Timbuktoo. This 'clearview' clock is millisecond >>> accurate, displays in your own language and simply does what it says on the >>> tin... No feature-bloat, no bells or whistles, no complications, just a >>> really useful thing to have and it looks good too. >>> >>> Available for Windows and Mac OS X and written entirely in LiveCode >>> obviously. >>> >>> Feel free to share it around and use as you wish. >>> >>> >>> Enjoy! >>> >>> With best regards, >>> >>> Hugh Senior >>> FLCo >>> Home of ChartMaker, DatePicker and The Scripter's Scrapbook >>> >>> >>> >>> > > It would be even more of a cracker were there a Linux build! Yep... and, in about Linux/Asus versus OSX/Apple, i would really prefer to rely on the first kind of config for most of my LC coding and other numeric tasks, at least for 2 main reasons : - in my experience, over the last decade, in average, 18 months is a standard Mac live time. Short, is't for 2000 bucks each box ? On other hand, my Asus/CentOS configs never give up until i replace them by more recent boxes... - No way to run games production AI solutions with top at 100% on a 24/7 basis on Apple platforms. They would just burn their unibody cases and die in less than 24 hours... But too bad, iOS dev need macs (at least to make the workflow as simple as possible...). To bad again, LC stay still, in about mobile/desktop dev, less usable on the Linux platform than it's on the OSX and Windows ones... Would be really helpful to, perhaps !, see the situation change a the near ;) > > _______________________________________________ > use-livecode mailing list > use-livecode 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 bobs at twft.com Thu Oct 4 19:08:54 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 4 Oct 2012 16:08:54 -0700 Subject: [ANN] Free 'Clearview' desktop clock In-Reply-To: <9B65131E-B408-4CB7-8580-8AABCE0485DD@sahores-conseil.com> References: <506DF8D9.3020607@gmail.com> <9B65131E-B408-4CB7-8580-8AABCE0485DD@sahores-conseil.com> Message-ID: <4C5D55C1-9332-410B-B552-EFB0039B90CB@twft.com> Pierre, Pierre, I have been running World Of Warcraft at high graphics settings on both my iMac at home, and my laptop, for years. I've run my laptop at my Dad's house on the hottest of days there. One is almost 4 years old the other almost 6. Neither have burned up. Not sure what you are doing with them, but if you are only getting 1.5 years out of every mac you have ever owned, I would have to say check the power at your place and put some kind of UPS in line because DAMN. Also, just because a hard drive fails does not mean the computer is wasted. Also, I administer n 400 node network. About 60% of our computers are Macs. I have next to my desk all the laptop bodies of the laptops that have failed completely. There are 5 of them. 2 are G4's. Two more were motherboard failures. The other was a monitor burnout. Macs have historically been INCREDIBLY reliable for us. I'm not just a Mac hack. I work in the field of IT every day and have for 20+ years. Also, if you can show you only got that much life out of BRAND NEW macs and there was no abuse involved, you could go back to Apple and they would comp you a new one I am sure. Sorry, but I call BS here. Bob On Oct 4, 2012, at 3:50 PM, Pierre Sahores wrote: > Yep... and, in about Linux/Asus versus OSX/Apple, i would really prefer to rely on the first kind of config for most of my LC coding and other numeric tasks, at least for 2 main reasons : > > - in my experience, over the last decade, in average, 18 months is a standard Mac live time. Short, is't for 2000 bucks each box ? On other hand, my Asus/CentOS configs never give up until i replace them by more recent boxes... > - No way to run games production AI solutions with top at 100% on a 24/7 basis on Apple platforms. They would just burn their unibody cases and die in less than 24 hours... > > But too bad, iOS dev need macs (at least to make the workflow as simple as possible...). To bad again, LC stay still, in about mobile/desktop dev, less usable on the Linux platform than it's on the OSX and Windows ones... > > Would be really helpful to, perhaps !, see the situation change a the near ;) From shawnlivecode at gmail.com Thu Oct 4 21:23:29 2012 From: shawnlivecode at gmail.com (Shawn Blc) Date: Thu, 4 Oct 2012 20:23:29 -0500 Subject: [ANN] Free 'Clearview' desktop clock In-Reply-To: <4C5D55C1-9332-410B-B552-EFB0039B90CB@twft.com> References: <506DF8D9.3020607@gmail.com> <9B65131E-B408-4CB7-8580-8AABCE0485DD@sahores-conseil.com> <4C5D55C1-9332-410B-B552-EFB0039B90CB@twft.com> Message-ID: Is there a way to have the app start up when OSX Mountain Lion starts and remain positioned where I place it? On Thu, Oct 4, 2012 at 6:08 PM, Bob Sneidar wrote: > Pierre, Pierre, I have been running World Of Warcraft at high graphics > settings on both my iMac at home, and my laptop, for years. I've run my > laptop at my Dad's house on the hottest of days there. One is almost 4 > years old the other almost 6. Neither have burned up. Not sure what you are > doing with them, but if you are only getting 1.5 years out of every mac you > have ever owned, I would have to say check the power at your place and put > some kind of UPS in line because DAMN. > > Also, just because a hard drive fails does not mean the computer is > wasted. Also, I administer n 400 node network. About 60% of our computers > are Macs. I have next to my desk all the laptop bodies of the laptops that > have failed completely. There are 5 of them. 2 are G4's. Two more were > motherboard failures. The other was a monitor burnout. Macs have > historically been INCREDIBLY reliable for us. I'm not just a Mac hack. I > work in the field of IT every day and have for 20+ years. > > Also, if you can show you only got that much life out of BRAND NEW macs > and there was no abuse involved, you could go back to Apple and they would > comp you a new one I am sure. Sorry, but I call BS here. > > Bob > > > On Oct 4, 2012, at 3:50 PM, Pierre Sahores wrote: > > > Yep... and, in about Linux/Asus versus OSX/Apple, i would really prefer > to rely on the first kind of config for most of my LC coding and other > numeric tasks, at least for 2 main reasons : > > > > - in my experience, over the last decade, in average, 18 months is a > standard Mac live time. Short, is't for 2000 bucks each box ? On other > hand, my Asus/CentOS configs never give up until i replace them by more > recent boxes... > > - No way to run games production AI solutions with top at 100% on a 24/7 > basis on Apple platforms. They would just burn their unibody cases and die > in less than 24 hours... > > > > But too bad, iOS dev need macs (at least to make the workflow as simple > as possible...). To bad again, LC stay still, in about mobile/desktop dev, > less usable on the Linux platform than it's on the OSX and Windows ones... > > > > Would be really helpful to, perhaps !, see the situation change a the > near ;) > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From th.douez at gmail.com Fri Oct 5 03:14:37 2012 From: th.douez at gmail.com (Thierry Douez) Date: Fri, 5 Oct 2012 09:14:37 +0200 Subject: bring LC to front after a launch command In-Reply-To: References: <1F5A5624-1F93-4489-819A-9A0BD187A258@numericable.com> Message-ID: Hi everyone, 2012/9/28 Thierry Douez : > set the systemWindow of stack... For the record, this solution finally doesn't work in my case. As I want to launch an app in the background from a modeless stack in LC IDE, the systemWindow property is too restrictive. It hides the LC menus, all the answer and ask dialog are behind my main stack window. So, the one-line solution was: shell( "open -g - a Myapp" ) The -g option keep Myapp in the background. Works beautifully. Regards, Thierry > > Thierry > > 2012/9/28 Mark Schonewille : >> Thierry, >> >> On Windows, you can use the VBScript on this (old) site http://runrev.info/Activate%20Application.htm and on Mac you can use AppleScript: >> >> tell application "Standalone.app" to activate >> >> -- >> Best regards, >> >> Mark Schonewille >> On 28 sep 2012, at 09:38, Thierry Douez wrote: >> >>> Bonjour Ren?, >>> >>> 2012/9/28 Ren? Micout : >>>> Hello Thierry, >>>> Is this a solution to (for ?) your problem ? >>>> >>>> set the systemWindow of stack "X" to true >>> >>> >>> From the Dictionary, there is no effect on Mac, but with a comment of >>> a Livecoder that it's not true ! >>> >>> I'm checking it right now. >>> >>> Merci >>> >>> Thierry From rene.micout at numericable.com Fri Oct 5 03:37:17 2012 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Fri, 5 Oct 2012 09:37:17 +0200 Subject: bring LC to front after a launch command In-Reply-To: References: <1F5A5624-1F93-4489-819A-9A0BD187A258@numericable.com> Message-ID: <440FB964-2186-4429-B5B7-C169C97FD6E8@numericable.com> Le 5 oct. 2012 ? 09:14, Thierry Douez a ?crit : > Hi everyone, > > 2012/9/28 Thierry Douez : > >> set the systemWindow of stack... > > > For the record, this solution finally doesn't work in my case. > > As I want to launch an app in the background from a modeless > stack in LC IDE, the systemWindow property is too restrictive. > > It hides the LC menus, all the answer and ask dialog > are behind my main stack window. > > So, the one-line solution was: > > shell( "open -g - a Myapp" ) > > The -g option keep Myapp in the background. Works beautifully. > > Regards, > > Thierry Very interesting ! Thank you ! From sc at sahores-conseil.com Fri Oct 5 03:53:45 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Fri, 5 Oct 2012 09:53:45 +0200 Subject: [ANN] Free 'Clearview' desktop clock In-Reply-To: <4C5D55C1-9332-410B-B552-EFB0039B90CB@twft.com> References: <506DF8D9.3020607@gmail.com> <9B65131E-B408-4CB7-8580-8AABCE0485DD@sahores-conseil.com> <4C5D55C1-9332-410B-B552-EFB0039B90CB@twft.com> Message-ID: Bob, God to hear ! Have to add that i still own a good collection of pre-intel Apple boxes still able to run like charms (PWB 140/160, 5300, G3 15 inches, G4 13 inches, MacMini G4,...) and that my concerns began with intel MBP 15 inches dualcore. All went a kind of AppleCare + protected, so i got them all three replaced for free by new ones within 3 days each. To avoid problems, my macs are starting on external HD, timemachined and copycloned on a 24/7 basis. So when any problem occur, i just have to connect the new one and to go head ;-) In this way, my last 2 weeks old MBP 13 i5 2.5 Ghz is able to run the previous OSX 10.6.8/LC 5.0.2 config i use to code LC server tasks in FTP-SSL mode and all is fine. Least but not last, i rely yet for my mobile and server dev tasks on 2 MBP 13 i5 2.4 Ghz and 2.5 Ghz + samsung displays and both laptops seems lots more reliable than my previous ones. Can't say why but they seems well constructed, not noisy at all, etc... Hope i will own them both for the longs years you report macs are still normally builds to stay reliables :D Pierre Le 5 oct. 2012 ? 01:08, Bob Sneidar a ?crit : > Pierre, Pierre, I have been running World Of Warcraft at high graphics settings on both my iMac at home, and my laptop, for years. I've run my laptop at my Dad's house on the hottest of days there. One is almost 4 years old the other almost 6. Neither have burned up. Not sure what you are doing with them, but if you are only getting 1.5 years out of every mac you have ever owned, I would have to say check the power at your place and put some kind of UPS in line because DAMN. > > Also, just because a hard drive fails does not mean the computer is wasted. Also, I administer n 400 node network. About 60% of our computers are Macs. I have next to my desk all the laptop bodies of the laptops that have failed completely. There are 5 of them. 2 are G4's. Two more were motherboard failures. The other was a monitor burnout. Macs have historically been INCREDIBLY reliable for us. I'm not just a Mac hack. I work in the field of IT every day and have for 20+ years. > > Also, if you can show you only got that much life out of BRAND NEW macs and there was no abuse involved, you could go back to Apple and they would comp you a new one I am sure. Sorry, but I call BS here. > > Bob > > > On Oct 4, 2012, at 3:50 PM, Pierre Sahores wrote: > >> Yep... and, in about Linux/Asus versus OSX/Apple, i would really prefer to rely on the first kind of config for most of my LC coding and other numeric tasks, at least for 2 main reasons : >> >> - in my experience, over the last decade, in average, 18 months is a standard Mac live time. Short, is't for 2000 bucks each box ? On other hand, my Asus/CentOS configs never give up until i replace them by more recent boxes... >> - No way to run games production AI solutions with top at 100% on a 24/7 basis on Apple platforms. They would just burn their unibody cases and die in less than 24 hours... >> >> But too bad, iOS dev need macs (at least to make the workflow as simple as possible...). To bad again, LC stay still, in about mobile/desktop dev, less usable on the Linux platform than it's on the OSX and Windows ones... >> >> Would be really helpful to, perhaps !, see the situation change a the near ;) > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 toolbook at kestner.de Fri Oct 5 08:01:42 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 5 Oct 2012 14:01:42 +0200 Subject: relation between textsize and field height? Message-ID: <005701cda2f1$3006c320$90144960$@de> Hi, I want to let the user change the textsize of single line fields. Now I am looking for a formula for calculating the ideal field height, so that the text sits centered in the height of the field. The perfect height of the field is neither (at least not for all options) the formatted height, nor the textsize + 2 x margins or something like this. E.G Textsize=12, margins=8 the formattedheight is 30 and the ideal field height is 21 Textsize=24, margins=8 the formattedheight is 46 and the ideal field height is 46 Does anybody has a formula or an idea to get the ideal height for single line fields? Perhaps I just don't see the obvious parameter. Thank you Tiemo From m.schonewille at economy-x-talk.com Fri Oct 5 08:14:17 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 5 Oct 2012 14:14:17 +0200 Subject: relation between textsize and field height? In-Reply-To: <005701cda2f1$3006c320$90144960$@de> References: <005701cda2f1$3006c320$90144960$@de> Message-ID: <009E950D-E9F3-4F31-99B0-A0879DF5AC02@economy-x-talk.com> Hi Tiemo, There was a discussion about it on the forum. Look here: http://qery.us/2ll -- 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 On 5 okt 2012, at 14:01, Tiemo Hollmann TB wrote: > Hi, > > I want to let the user change the textsize of single line fields. Now I am > looking for a formula for calculating the ideal field height, so that the > text sits centered in the height of the field. The perfect height of the > field is neither (at least not for all options) the formatted height, nor > the textsize + 2 x margins or something like this. E.G > > Textsize=12, margins=8 the formattedheight is 30 and the ideal field height > is 21 > > Textsize=24, margins=8 the formattedheight is 46 and the ideal field height > is 46 > > Does anybody has a formula or an idea to get the ideal height for single > line fields? Perhaps I just don't see the obvious parameter. > > Thank you > > Tiemo From toolbook at kestner.de Fri Oct 5 08:21:34 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 5 Oct 2012 14:21:34 +0200 Subject: AW: relation between textsize and field height? In-Reply-To: <005701cda2f1$3006c320$90144960$@de> References: <005701cda2f1$3006c320$90144960$@de> Message-ID: <005c01cda2f3$f65b8cc0$e312a640$@de> By making some statistics, I found a factor: field height = 1.9 * textsize. But this is just trial and error. Is there any "standard layout factor"? Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB > Gesendet: Freitag, 5. Oktober 2012 14:02 > An: 'How to use LiveCode' > Betreff: relation between textsize and field height? > > Hi, > > I want to let the user change the textsize of single line fields. Now I am > looking for a formula for calculating the ideal field height, so that the > text sits centered in the height of the field. The perfect height of the > field is neither (at least not for all options) the formatted height, nor > the textsize + 2 x margins or something like this. E.G > > Textsize=12, margins=8 the formattedheight is 30 and the ideal field > height is 21 > > Textsize=24, margins=8 the formattedheight is 46 and the ideal field > height is 46 > > Does anybody has a formula or an idea to get the ideal height for single > line fields? Perhaps I just don't see the obvious parameter. > > Thank you > > 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 Fri Oct 5 08:22:32 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 5 Oct 2012 14:22:32 +0200 Subject: AW: relation between textsize and field height? In-Reply-To: <009E950D-E9F3-4F31-99B0-A0879DF5AC02@economy-x-talk.com> References: <005701cda2f1$3006c320$90144960$@de> <009E950D-E9F3-4F31-99B0-A0879DF5AC02@economy-x-talk.com> Message-ID: <005d01cda2f4$18d5b0f0$4a8112d0$@de> Thanks for the link Mark > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Mark Schonewille > Gesendet: Freitag, 5. Oktober 2012 14:14 > An: How to use LiveCode > Betreff: Re: relation between textsize and field height? > > Hi Tiemo, > > There was a discussion about it on the forum. > Look here: http://qery.us/2ll > > -- > 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 > > > > On 5 okt 2012, at 14:01, Tiemo Hollmann TB wrote: > > > Hi, > > > > I want to let the user change the textsize of single line fields. Now > > I am looking for a formula for calculating the ideal field height, so > > that the text sits centered in the height of the field. The perfect > > height of the field is neither (at least not for all options) the > > formatted height, nor the textsize + 2 x margins or something like > > this. E.G > > > > Textsize=12, margins=8 the formattedheight is 30 and the ideal field > > height is 21 > > > > Textsize=24, margins=8 the formattedheight is 46 and the ideal field > > height is 46 > > > > Does anybody has a formula or an idea to get the ideal height for > > single line fields? Perhaps I just don't see the obvious parameter. > > > > Thank you > > > > 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 dochawk at gmail.com Fri Oct 5 10:57:48 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 5 Oct 2012 07:57:48 -0700 Subject: relation between textsize and field height? In-Reply-To: <005c01cda2f3$f65b8cc0$e312a640$@de> References: <005701cda2f1$3006c320$90144960$@de> <005c01cda2f3$f65b8cc0$e312a640$@de> Message-ID: On Friday, October 5, 2012, Tiemo Hollmann TB wrote: > By making some statistics, I found a factor: field height = 1.9 * textsize. > But this is just trial and error. Is there any "standard layout factor"? For multi-line fields, I'm using the formmattedTextHeight. You may or may not find that you should add a couple of points, depending upon your margins -- Richard E. Hawkins, Esq. (702) 508-8462 From userev at canelasoftware.com Fri Oct 5 11:25:07 2012 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 5 Oct 2012 08:25:07 -0700 Subject: Finally found one. In-Reply-To: <64913724437.20121003084704@ahsoftware.net> References: <8017A228-604E-4C81-82DB-E4AD0837AD4B@mac.com> <1349142999758-4655711.post@n4.nabble.com> <8CF6E5C5EAD0914-1B24-66F4F@webmail-m081.sysops.aol.com> <506B5199.8020702@splash21.com> <8CF6F1BB2B4A049-964-8CF0B@webmail-m021.sysops.aol.com> <506BD76A.5010105@splash21.com> <64913724437.20121003084704@ahsoftware.net> Message-ID: <9EBBA405-A3FA-42E4-A746-52EDE84F49BC@canelasoftware.com> On Oct 3, 2012, at 8:47 AM, Mark Wieder wrote: > John- > > Tuesday, October 2, 2012, 11:12:58 PM, you wrote: > >> Pressing the stop button just makes another call to the handler, it >> doesn't cancel the scheduled message - it's still there and will still fire. > > The problem, as I see it, is that the documentation incorrectly states > that "exit to top" will cancel pending messages, and that's not the > case. Thank goodness as I use that all the time. Best regards, Mark Talluto http://www.canelasoftware.com From th.douez at gmail.com Fri Oct 5 11:26:28 2012 From: th.douez at gmail.com (Thierry Douez) Date: Fri, 5 Oct 2012 17:26:28 +0200 Subject: [ANN] Midi external for MacOsX Message-ID: Hi everyone, Special offer at http://sunny-tdz.com in October. sunnYmidi v2.0,a Midi external for MacOsX is available! sunnYmidi-lite (previously sunnYmidi v1.0) is also available! Right now you can download a full working Livecode tutorial with a trial version of sunnYmidi at: http://sunny-tdz.com/dwn and select "sunnYmidi demo v2.0" sunnYmidi: - manages all your midi IN and OUTPUT devices, physical or virtual. - sends raw or sysex midi datas to your own devices. - triggers your Livecode handlers with incoming Midi notes! (Livecode is a destination device). - enables Livecode to monitor existing midi channels. - is fully compatible with version 1.0 (renamed sunnYmidi-lite) You can read the documentation here: For sunnYmidi and sunnYmidi-lite: easy fast Midi Player: http://sunny-tdz.com/art-1000 playing sounds a la Hypercard: http://sunny-tdz.com/art-1010 Only for sunnYmidi: tutorial to connect Midi Devices: http://sunny-tdz.com/art-1011 sunnYmidi version 2.0: http://sunny-tdz.com/art-1012 Kind regards, Thierry From stgoldberg at aol.com Fri Oct 5 12:19:57 2012 From: stgoldberg at aol.com (stgoldberg at aol.com) Date: Fri, 5 Oct 2012 12:19:57 -0400 (EDT) Subject: SUggestion for improved LiveCode scripting notation Message-ID: <8CF712C650F1ED3-2468-280B@webmail-d129.sysops.aol.com> Reading someone's LiveCode scripting has been improved by adding the prefix "t" (for temporary) to the notation for a local variable and "g" for a global variable. With the increase in the number of scripting words, it also has helped to use the prefixes "mobile", "iphone", "android", and "mob" (for mobGUI) to indicate that these are special words that apply to mobile devices. Despite the fact that I have used LiveCode (Revolution) for a number of years, there are times when I am confused in looking at someone's script as to whether an unfamiliar message word is a real LiveCode word or made up by the person writing the script. It seems to me that it would be useful to add a prefix to such made up message words, such as "X" (for Extra), more specifically, an "XC" to indicate that the handler for the word is on the card, and "XS" to indicate that the handler is in the stack. In that way, it would be much clearer where to look for the meaning or the word, whether in the LiveCode dictionary, the card, or the stack. I wonder what other people on the forum think about using these prefixes. Stephen Goldberg, President Medmaster Publishing Co. www.medmaster.net stgoldberg at aol.com From admin at FlexibleLearning.com Fri Oct 5 12:38:56 2012 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Fri, 5 Oct 2012 17:38:56 +0100 Subject: [ANN] Free 'Clearview' desktop clock v1.1 update In-Reply-To: Message-ID: Thank you for the kind comments. New: Added a collapse/expand toggle. Useful when space is needed (as I am now finding out)... Download at www.FlexibleLearning.com/freeclock Hugh Senior FLCo -- Original messages On Thu, 4 Oct 2012 at 10:56 PM, Pierre Sahores wrote: Hi Hugh ! Look really nice on mac ;D On Thu, 4 Oct 2012 at 3:33 PM, Shawn Blc wrote: Excellent! Have it running on my 15" Retina Macbook Pro. On Thu, Oct 4, 2012 at 3:30 PM, Bob Sneidar wrote: Nicely done! It is running on my second monitor. > On Oct 4, 2012, at 1:12 PM, FlexibleLearning.com wrote: > > > A freebie for the LiveCode community... > > > > www.FlexibleLearning.com/freeclock > > > > I suspect I am not alone when squinting to see the time on my > > screens. I also don't need the weather, barometric pressure, a > > count-down alarm, moon phase or the time in Timbuktoo. This > > 'clearview' clock is millisecond accurate, displays in your own > > language and simply does what it says on the tin... No feature- > > bloat,no bells or whistles, no complications, just a really > > useful thing to have and it looks good too. > > > > Available for Windows and Mac OS X and written entirely in > > LiveCode obviously. > > > > Feel free to share it around and use as you wish. > > > > > > Enjoy! > > > > With best regards, > > > > Hugh Senior > > FLCo > > Home of ChartMaker, DatePicker and The Scripter's Scrapbook From bobs at twft.com Fri Oct 5 12:44:08 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 5 Oct 2012 09:44:08 -0700 Subject: [ANN] Free 'Clearview' desktop clock v1.1 update In-Reply-To: References: Message-ID: Problems. Now none of the controls work, and I cannot move the window. System just beeps when I try. On Oct 5, 2012, at 9:38 AM, FlexibleLearning.com wrote: > Thank you for the kind comments. > > New: Added a collapse/expand toggle. Useful when space is needed (as I am > now finding out)... > > Download at www.FlexibleLearning.com/freeclock > > Hugh Senior > FLCo > > > -- Original messages > > On Thu, 4 Oct 2012 at 10:56 PM, Pierre Sahores > wrote: > > Hi Hugh ! > > Look really nice on mac ;D > > > > On Thu, 4 Oct 2012 at 3:33 PM, Shawn Blc wrote: > > Excellent! Have it running on my 15" Retina Macbook Pro. > > > > On Thu, Oct 4, 2012 at 3:30 PM, Bob Sneidar wrote: > > Nicely done! It is running on my second monitor. > > > >> On Oct 4, 2012, at 1:12 PM, FlexibleLearning.com wrote: >> >>> A freebie for the LiveCode community... >>> >>> www.FlexibleLearning.com/freeclock >>> >>> I suspect I am not alone when squinting to see the time on my >>> screens. I also don't need the weather, barometric pressure, a >>> count-down alarm, moon phase or the time in Timbuktoo. This >>> 'clearview' clock is millisecond accurate, displays in your own >>> language and simply does what it says on the tin... No feature- >>> bloat,no bells or whistles, no complications, just a really >>> useful thing to have and it looks good too. >>> >>> Available for Windows and Mac OS X and written entirely in >>> LiveCode obviously. >>> >>> Feel free to share it around and use as you wish. >>> >>> >>> Enjoy! >>> >>> With best regards, >>> >>> Hugh Senior >>> FLCo >>> Home of ChartMaker, DatePicker and The Scripter's Scrapbook > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Fri Oct 5 12:47:13 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 5 Oct 2012 09:47:13 -0700 Subject: SUggestion for improved LiveCode scripting notation In-Reply-To: <8CF712C650F1ED3-2468-280B@webmail-d129.sysops.aol.com> References: <8CF712C650F1ED3-2468-280B@webmail-d129.sysops.aol.com> Message-ID: This is something I've thought about too. Even for my own use, coming back to code I haven't looked at for some time, it's sometimes hard to remember where a handler is located. As part of the docs for my code, I have a script that goes through all the scripts in a stack file, lists every handler alphabetically along with its location and any other handlers that call it. That helps but some sort of prefix (or suffix) notation sounds like a good idea. Pete lcSQL Software On Fri, Oct 5, 2012 at 9:19 AM, stgoldberg at aol.com wrote: > more specifically, an "XC" to indicate that the handler for the word is on > the card, and "XS" to indicate that the handler is in the stack. In that > way, it would be much clearer where to look for the meaning or the word, > whether in the LiveCode dictionary, the card, or the stack. I wonder what > other people on the forum think about using these prefixes. From bonnmike at gmail.com Fri Oct 5 12:50:19 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 5 Oct 2012 10:50:19 -0600 Subject: SUggestion for improved LiveCode scripting notation In-Reply-To: References: <8CF712C650F1ED3-2468-280B@webmail-d129.sysops.aol.com> Message-ID: While not the same thing as you are talking about, when I write scripts I use the "on" form for lc commands and handlers and any that are created soley by me I use the "command" form. This way it only takes a glance to know which are mine and which are built in. On Fri, Oct 5, 2012 at 10:47 AM, Peter Haworth wrote: > This is something I've thought about too. Even for my own use, coming back > to code I haven't looked at for some time, it's sometimes hard to remember > where a handler is located. > > As part of the docs for my code, I have a script that goes through all the > scripts in a stack file, lists every handler alphabetically along with its > location and any other handlers that call it. That helps but some sort of > prefix (or suffix) notation sounds like a good idea. > > Pete > lcSQL Software > > > > On Fri, Oct 5, 2012 at 9:19 AM, stgoldberg at aol.com >wrote: > > > more specifically, an "XC" to indicate that the handler for the word is > on > > the card, and "XS" to indicate that the handler is in the stack. In that > > way, it would be much clearer where to look for the meaning or the word, > > whether in the LiveCode dictionary, the card, or the stack. I wonder what > > other people on the forum think about using these prefixes. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobs at twft.com Fri Oct 5 13:04:12 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 5 Oct 2012 10:04:12 -0700 Subject: [OT] Girls Don't Code?? Message-ID: In response to the recent LC Journal article about girls and coding, I would like to say that propose there are 3 possible reasons that girls don't code is like asking someone what kind of vegetable they prefer: Peas or Carrots. There is at least one more possibility I might add to the list: Girls in general, may not LIKE to code. But that is not to say ALL. It's obvious I think, especially looking at Jacque's work that some women are perfectly capable of producing good software, and enjoying it too! It's also obvious (to me at least) that some men cannot seem to bring a coding project to completion because I erm.. I mean "they" give up sometimes out of frustration. I think it is more a question of tendencies than abilities. For instance, most women can get together with their arts and crafts all in a room and positively love it, but certainly not ALL women will. Men, well... not so much. On the flip side, most men can get together and get all kinds of greasy and grimy working on an old car that ought to go straight to the junkyard, and call it a great day off of work. Women... think we are crazy. This isn't to say that no woman can work on a car, and like it, or that no man enjoys arts and crafts. The boundaries are somewhat vague. But I think we all see the tendencies between the sexes, and frankly, I wouldn't have it any other way. I think it is a mistake to try and alter these natural tendencies. Those who want to try, do so because in my humble opinion, they confuse "equal in standing" with "equal in nature" and make all kinds of errors because of it. When we are free to pursue whatever makes us happy, certain patterns emerge. They tell us something about how we are wired. I kind of like how I am wired, frankly, and would take offense if someone embarked on a program to try and recondition me to like arts and crafts. Bob From shawnlivecode at gmail.com Fri Oct 5 13:04:26 2012 From: shawnlivecode at gmail.com (Shawn Blc) Date: Fri, 5 Oct 2012 12:04:26 -0500 Subject: [ANN] Free 'Clearview' desktop clock v1.1 update In-Reply-To: References: Message-ID: Works great on my Retina 15" MBP (version 1.1) It'd be nice if 1) it started when I rebooted and 2) it remembered the location where I last put it. Other than that it's FANTASTIC! Thank you. On Fri, Oct 5, 2012 at 11:44 AM, Bob Sneidar wrote: > Problems. Now none of the controls work, and I cannot move the window. > System just beeps when I try. > > On Oct 5, 2012, at 9:38 AM, FlexibleLearning.com wrote: > > > Thank you for the kind comments. > > > > New: Added a collapse/expand toggle. Useful when space is needed (as I am > > now finding out)... > > > > Download at www.FlexibleLearning.com/freeclock > > > > Hugh Senior > > FLCo > > > > > > -- Original messages > > > > On Thu, 4 Oct 2012 at 10:56 PM, Pierre Sahores > > wrote: > > > > Hi Hugh ! > > > > Look really nice on mac ;D > > > > > > > > On Thu, 4 Oct 2012 at 3:33 PM, Shawn Blc > wrote: > > > > Excellent! Have it running on my 15" Retina Macbook Pro. > > > > > > > > On Thu, Oct 4, 2012 at 3:30 PM, Bob Sneidar wrote: > > > > Nicely done! It is running on my second monitor. > > > > > > > >> On Oct 4, 2012, at 1:12 PM, FlexibleLearning.com wrote: > >> > >>> A freebie for the LiveCode community... > >>> > >>> www.FlexibleLearning.com/freeclock > >>> > >>> I suspect I am not alone when squinting to see the time on my > >>> screens. I also don't need the weather, barometric pressure, a > >>> count-down alarm, moon phase or the time in Timbuktoo. This > >>> 'clearview' clock is millisecond accurate, displays in your own > >>> language and simply does what it says on the tin... No feature- > >>> bloat,no bells or whistles, no complications, just a really > >>> useful thing to have and it looks good too. > >>> > >>> Available for Windows and Mac OS X and written entirely in > >>> LiveCode obviously. > >>> > >>> Feel free to share it around and use as you wish. > >>> > >>> > >>> Enjoy! > >>> > >>> With best regards, > >>> > >>> Hugh Senior > >>> FLCo > >>> Home of ChartMaker, DatePicker and The Scripter's Scrapbook > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobs at twft.com Fri Oct 5 13:08:10 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 5 Oct 2012 10:08:10 -0700 Subject: SUggestion for improved LiveCode scripting notation In-Reply-To: References: <8CF712C650F1ED3-2468-280B@webmail-d129.sysops.aol.com> Message-ID: <0835ABAD-7C05-44E0-B0AC-7690D2975948@twft.com> I group them. I use GLX2, which has a feature that allows you to create categories of commands and functions by entering --> and some text in the script of an object. Everything that comes after that and before the next declaration gets grouped into it's own "folder" in the left pane. I believe Remo also has this feature. Bob On Oct 5, 2012, at 9:50 AM, Mike Bonner wrote: > While not the same thing as you are talking about, when I write scripts I > use the "on" form for lc commands and handlers and any that are created > soley by me I use the "command" form. This way it only takes a glance to > know which are mine and which are built in. From admin at FlexibleLearning.com Fri Oct 5 13:27:13 2012 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Fri, 5 Oct 2012 18:27:13 +0100 Subject: [ANN] Free 'Clearview' desktop clock v1.1 update In-Reply-To: Message-ID: Bob, Is the modal 'About' window displayed? Close it first. Hugh Senior FLCo > Date: Fri, 5 Oct 2012 09:44:08 -0700 > From: Bob Sneidar > To: How to use LiveCode > Subject: Re: [ANN] Free 'Clearview' desktop clock v1.1 update > Message-ID: > Content-Type: text/plain; charset=us-ascii > > Problems. Now none of the controls work, and I cannot move the > window. System just beeps when I try. > > On Oct 5, 2012, at 9:38 AM, FlexibleLearning.com wrote: > > > Thank you for the kind comments. > > > > New: Added a collapse/expand toggle. Useful when space is > needed (as I am > > now finding out)... > > > > Download at www.FlexibleLearning.com/freeclock > > > > Hugh Senior > > FLCo From jacque at hyperactivesw.com Fri Oct 5 13:24:09 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 05 Oct 2012 12:24:09 -0500 Subject: SUggestion for improved LiveCode scripting notation In-Reply-To: References: <8CF712C650F1ED3-2468-280B@webmail-d129.sysops.aol.com> Message-ID: <506F17B9.5070303@hyperactivesw.com> On 10/5/12 11:47 AM, Peter Haworth wrote: > This is something I've thought about too. Even for my own use, coming back > to code I haven't looked at for some time, it's sometimes hard to remember > where a handler is located. Right-click the handler name in the script, choose "Go to definition" in the contextual menu. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From charles at buchwald.ca Fri Oct 5 13:32:41 2012 From: charles at buchwald.ca (Charles E Buchwald) Date: Fri, 5 Oct 2012 12:32:41 -0500 Subject: SUggestion for improved LiveCode scripting notation In-Reply-To: <0835ABAD-7C05-44E0-B0AC-7690D2975948@twft.com> References: <8CF712C650F1ED3-2468-280B@webmail-d129.sysops.aol.com> <0835ABAD-7C05-44E0-B0AC-7690D2975948@twft.com> Message-ID: <4A2916B9-8F31-4149-9832-6FF6854595C2@buchwald.ca> > On Oct 5, 2012, at 9:50 AM, Mike Bonner wrote: > >> While not the same thing as you are talking about, when I write scripts I >> use the "on" form for lc commands and handlers and any that are created >> soley by me I use the "command" form. This way it only takes a glance to >> know which are mine and which are built in. The "on" vs. "command" is very useful. I also capitalize all my own commands and functions, e.g. "MyCommand" vs. "revHandler". I believe this is standard Hungarian notation. This is handy when you call the custom command, because you can easily see that's it's custom. I don't use GLX2 so I can't do grouping like that, but thanks to Richard Gaskin I picked up this handy tip. I include a pseudo command like this: command ______Section Divider______ end ______Section Divider______ ... and it appears in the script editor pull down menu as a divider between sections of code. Try it, and you'll see what I mean. - Charles -- Charles E. Buchwald http://buchwald.ca Vancouver / Mexico City / NYC Member of the 02 Global Network for Sustainable Design ? Connect on LinkedIn ? Follow me on Twitter From klaus at major.on-rev.com Fri Oct 5 13:39:17 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Fri, 5 Oct 2012 19:39:17 +0200 Subject: SUggestion for improved LiveCode scripting notation In-Reply-To: <4A2916B9-8F31-4149-9832-6FF6854595C2@buchwald.ca> References: <8CF712C650F1ED3-2468-280B@webmail-d129.sysops.aol.com> <0835ABAD-7C05-44E0-B0AC-7690D2975948@twft.com> <4A2916B9-8F31-4149-9832-6FF6854595C2@buchwald.ca> Message-ID: <59C76F4B-7AF0-41C3-9A5C-20E00DE223B4@major.on-rev.com> Am 05.10.2012 um 19:32 schrieb Charles E Buchwald : >> On Oct 5, 2012, at 9:50 AM, Mike Bonner wrote: >> >>> While not the same thing as you are talking about, when I write scripts I >>> use the "on" form for lc commands and handlers and any that are created >>> soley by me I use the "command" form. This way it only takes a glance to >>> know which are mine and which are built in. > > The "on" vs. "command" is very useful. that's exactly what RunRev HIGHLY recommended, when the new "command" keyword was introduced! I've forgotten the exact reason, but it had to do with later versions of the engine not being as "forgiving" as it is now in this respect. So everyone should get used to it :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From devin_asay at byu.edu Fri Oct 5 13:44:25 2012 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 5 Oct 2012 17:44:25 +0000 Subject: [OT] Girls Don't Code?? In-Reply-To: References: Message-ID: <31BDC56EACAAF64688457CE3F71D9F1ADFFB48@Peas2.byu.local> On Oct 5, 2012, at 11:04 AM, Bob Sneidar wrote: > I think it is more a question of tendencies than abilities. Our first two kids were boys. My wife and I, all full of high-minded book learnin', were all determined that we wouldn't force "gender roles" on our first child. So we got him both dolls and trucks to play with. Guess what? He played with the dolls. He turned them into guns or crashed them into the trucks. Then came the two girls. My wife doesn't much like pink and hates arts and crafts. Daughter #1 loved pink and frilly and to this day enjoys arts and crafts projects. In my LiveCode programming class I almost always have more women than men in my first semester course. As a group they tend to do at least as well as, if not better than, the men. But the second semester course is almost always majority men. So in my limited pool of subjects more men than women self-select to go on to advanced LiveCode programming topics. I don't worry about it; I figure they are just choosing the things that interests them the most. Just my $.02. Devin Devin Asay Office of Digital Humanities Brigham Young University From jacque at hyperactivesw.com Fri Oct 5 13:58:20 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 05 Oct 2012 12:58:20 -0500 Subject: [OT] Girls Don't Code?? In-Reply-To: <31BDC56EACAAF64688457CE3F71D9F1ADFFB48@Peas2.byu.local> References: <31BDC56EACAAF64688457CE3F71D9F1ADFFB48@Peas2.byu.local> Message-ID: <506F1FBC.1080806@hyperactivesw.com> On 10/5/12 12:44 PM, Devin Asay wrote: > > On Oct 5, 2012, at 11:04 AM, Bob Sneidar wrote: > >> I think it is more a question of tendencies than abilities. > > > > Our first two kids were boys. My wife and I, all full of high-minded > book learnin', were all determined that we wouldn't force "gender > roles" on our first child. My parents didn't know about gender roles, they just knew that girls wanted dolls and boys wanted trucks. They bought me dolls, I had no interest. When I was 8 I asked for a chemistry set and later I wanted a building set (remember the Kenner Girder and Panel set? Loved it. My folks were puzzled and a little horrified.) My father wanted a boy but he got me, so I helped him in his workshop. I was pissed off in seventh grade because girls had to take home economics and I wasn't allowed to take shop class. I wanted to work the saws. I like arts and crafts too but only once in a while. Woodworking is arts and crafts for boys when you think about it. I can't do math. I hate pink. Medicine is now half or more women, MIT has almost as many females as males enrolling. I think some of it is genetic tendencies, some of it is culture, and some of it is upbringing. If you could remove the cultural and child rearing biases, the natural tendencies would win out, and I think those may be more evenly balanced between genders than is commonly thought. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Fri Oct 5 14:11:03 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 5 Oct 2012 11:11:03 -0700 Subject: [ANN] Free 'Clearview' desktop clock v1.1 update In-Reply-To: References: Message-ID: <1CF0EE6E-7E37-418B-8FF5-4095C54381FC@twft.com> Yeah the splash about screen somehow got layered behind another window. Too many clicks. I should have known. Works for me now too. Bob On Oct 5, 2012, at 10:04 AM, Shawn Blc wrote: > Works great on my Retina 15" MBP (version 1.1) It'd be nice if 1) it > started when I rebooted and 2) it remembered the location where I last put > it. > > Other than that it's FANTASTIC! Thank you. > > > > > On Fri, Oct 5, 2012 at 11:44 AM, Bob Sneidar wrote: > >> Problems. Now none of the controls work, and I cannot move the window. >> System just beeps when I try. >> >> On Oct 5, 2012, at 9:38 AM, FlexibleLearning.com wrote: >> >>> Thank you for the kind comments. >>> >>> New: Added a collapse/expand toggle. Useful when space is needed (as I am >>> now finding out)... >>> >>> Download at www.FlexibleLearning.com/freeclock >>> >>> Hugh Senior >>> FLCo >>> >>> >>> -- Original messages >>> >>> On Thu, 4 Oct 2012 at 10:56 PM, Pierre Sahores >>> wrote: >>> >>> Hi Hugh ! >>> >>> Look really nice on mac ;D >>> >>> >>> >>> On Thu, 4 Oct 2012 at 3:33 PM, Shawn Blc >> wrote: >>> >>> Excellent! Have it running on my 15" Retina Macbook Pro. >>> >>> >>> >>> On Thu, Oct 4, 2012 at 3:30 PM, Bob Sneidar wrote: >>> >>> Nicely done! It is running on my second monitor. >>> >>> >>> >>>> On Oct 4, 2012, at 1:12 PM, FlexibleLearning.com wrote: >>>> >>>>> A freebie for the LiveCode community... >>>>> >>>>> www.FlexibleLearning.com/freeclock >>>>> >>>>> I suspect I am not alone when squinting to see the time on my >>>>> screens. I also don't need the weather, barometric pressure, a >>>>> count-down alarm, moon phase or the time in Timbuktoo. This >>>>> 'clearview' clock is millisecond accurate, displays in your own >>>>> language and simply does what it says on the tin... No feature- >>>>> bloat,no bells or whistles, no complications, just a really >>>>> useful thing to have and it looks good too. >>>>> >>>>> Available for Windows and Mac OS X and written entirely in >>>>> LiveCode obviously. >>>>> >>>>> Feel free to share it around and use as you wish. >>>>> >>>>> >>>>> Enjoy! >>>>> >>>>> With best regards, >>>>> >>>>> Hugh Senior >>>>> FLCo >>>>> Home of ChartMaker, DatePicker and The Scripter's Scrapbook >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Fri Oct 5 14:27:29 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 5 Oct 2012 11:27:29 -0700 Subject: SUggestion for improved LiveCode scripting notation In-Reply-To: References: <8CF712C650F1ED3-2468-280B@webmail-d129.sysops.aol.com> Message-ID: Yes, I do that too but unfortunately there's no alternative to "function". Pete lcSQL Software On Fri, Oct 5, 2012 at 9:50 AM, Mike Bonner wrote: > While not the same thing as you are talking about, when I write scripts I > use the "on" form for lc commands and handlers and any that are created > soley by me I use the "command" form. This way it only takes a glance to > know which are mine and which are built in. > From bonnmike at gmail.com Fri Oct 5 14:29:44 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 5 Oct 2012 12:29:44 -0600 Subject: SUggestion for improved LiveCode scripting notation In-Reply-To: References: <8CF712C650F1ED3-2468-280B@webmail-d129.sysops.aol.com> Message-ID: In this case that makes no difference. If the function is being defined, its yours, since functions are not events/messages. On Fri, Oct 5, 2012 at 12:27 PM, Peter Haworth wrote: > Yes, I do that too but unfortunately there's no alternative to "function". > Pete > lcSQL Software > > > > On Fri, Oct 5, 2012 at 9:50 AM, Mike Bonner wrote: > > > While not the same thing as you are talking about, when I write scripts I > > use the "on" form for lc commands and handlers and any that are created > > soley by me I use the "command" form. This way it only takes a glance to > > know which are mine and which are built in. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Fri Oct 5 14:30:34 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 5 Oct 2012 11:30:34 -0700 Subject: SUggestion for improved LiveCode scripting notation In-Reply-To: <4A2916B9-8F31-4149-9832-6FF6854595C2@buchwald.ca> References: <8CF712C650F1ED3-2468-280B@webmail-d129.sysops.aol.com> <0835ABAD-7C05-44E0-B0AC-7690D2975948@twft.com> <4A2916B9-8F31-4149-9832-6FF6854595C2@buchwald.ca> Message-ID: That's a great idea! I've used comments to divide up handlers of different types but that, of course, doesn't show up in the list of scripts. Pete lcSQL Software On Fri, Oct 5, 2012 at 10:32 AM, Charles E Buchwald wrote: > I don't use GLX2 so I can't do grouping like that, but thanks to Richard > Gaskin I picked up this handy tip. I include a pseudo command like this: > > command ______Section Divider______ > end ______Section Divider______ > From pete at lcsql.com Fri Oct 5 14:33:16 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 5 Oct 2012 11:33:16 -0700 Subject: SUggestion for improved LiveCode scripting notation In-Reply-To: <506F17B9.5070303@hyperactivesw.com> References: <8CF712C650F1ED3-2468-280B@webmail-d129.sysops.aol.com> <506F17B9.5070303@hyperactivesw.com> Message-ID: Thanks Jacque, didn't know about the right click options. Pete lcSQL Software On Fri, Oct 5, 2012 at 10:24 AM, J. Landman Gay wrote: > Right-click the handler name in the script, choose "Go to definition" in > the contextual menu. From revdev at pdslabs.net Fri Oct 5 14:33:45 2012 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 05 Oct 2012 11:33:45 -0700 Subject: [OT] Girls Don't Code?? In-Reply-To: <506F1FBC.1080806@hyperactivesw.com> References: <31BDC56EACAAF64688457CE3F71D9F1ADFFB48@Peas2.byu.local> <506F1FBC.1080806@hyperactivesw.com> Message-ID: <506F2809.6040806@pdslabs.net> Here is a Kickstarter project that dovetails nicely with this discussion: http://www.kickstarter.com/projects/16029337/goldieblox-the-engineering-toy-for-girls As I see it, LC is to conventional software dev as GoldieBlox is to the world of Legos and such. LC removes some of the reasons why more girls don't code. LC scripting is more like reading than hard-core coding. But even though LC is my dev environment of choice, I didn't prefer dolls as a kid. I was all about building things and then blowing them up or testing them in some other way. And also tearing things apart, like old radios and clocks. Phil Davis On 10/5/12 10:58 AM, J. Landman Gay wrote: > On 10/5/12 12:44 PM, Devin Asay wrote: >> >> On Oct 5, 2012, at 11:04 AM, Bob Sneidar wrote: >> >>> I think it is more a question of tendencies than abilities. >> >> >> >> Our first two kids were boys. My wife and I, all full of high-minded >> book learnin', were all determined that we wouldn't force "gender >> roles" on our first child. > > My parents didn't know about gender roles, they just knew that girls > wanted dolls and boys wanted trucks. They bought me dolls, I had no > interest. When I was 8 I asked for a chemistry set and later I wanted > a building set (remember the Kenner Girder and Panel set? Loved it. My > folks were puzzled and a little horrified.) My father wanted a boy but > he got me, so I helped him in his workshop. I was pissed off in > seventh grade because girls had to take home economics and I wasn't > allowed to take shop class. I wanted to work the saws. > > I like arts and crafts too but only once in a while. Woodworking is > arts and crafts for boys when you think about it. I can't do math. I > hate pink. > > Medicine is now half or more women, MIT has almost as many females as > males enrolling. > > I think some of it is genetic tendencies, some of it is culture, and > some of it is upbringing. If you could remove the cultural and child > rearing biases, the natural tendencies would win out, and I think > those may be more evenly balanced between genders than is commonly > thought. > -- Phil Davis From sc at sahores-conseil.com Fri Oct 5 14:34:44 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Fri, 5 Oct 2012 20:34:44 +0200 Subject: android splash-screen image Message-ID: <2E4051FF-F95E-42D4-A499-04E9BD0A4F5F@sahores-conseil.com> Hi there, I'm missing something : i can't get my Android build to load the splash screen image i selected in the standalone application setting screen !? Works fine on the iOS side but nada on the Android side ;-( Any help will be greatly welcome ;D Thanks, Pierre -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From coiin at verizon.net Fri Oct 5 14:45:16 2012 From: coiin at verizon.net (Colin Holgate) Date: Fri, 5 Oct 2012 14:45:16 -0400 Subject: android splash-screen image In-Reply-To: <2E4051FF-F95E-42D4-A499-04E9BD0A4F5F@sahores-conseil.com> References: <2E4051FF-F95E-42D4-A499-04E9BD0A4F5F@sahores-conseil.com> Message-ID: <6E6664E9-0A83-48F8-9595-9E61B47C291A@verizon.net> I have wondered about that splash image. Android apps don't have a splash image system like on iOS, so I assumed that LC inserts that image after the stack is opened but before it's fully loaded. If it loads quickly then I'm not sure if you would see the splash image, unless you had the same image on your first card too. Oh, also, you only get to use your splash image if it's the full version of that LiveCode feature. Otherwise you ought to be seeing a RunRev splash image. From rdimola at evergreeninfo.net Fri Oct 5 14:50:51 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 5 Oct 2012 14:50:51 -0400 Subject: android splash-screen image In-Reply-To: <2E4051FF-F95E-42D4-A499-04E9BD0A4F5F@sahores-conseil.com> References: <2E4051FF-F95E-42D4-A499-04E9BD0A4F5F@sahores-conseil.com> Message-ID: <004501cda32a$57f0b880$07d22980$@net> Pierre, There is no splash screen for the licensed Android build. There have been 2 techniques that have been offered on this list. 1) Dual Stack==>Have a start up stack that shows a Splash card. Then start up the "real" stack with all initializing stuff that would have delayed the first card from being shown. 2) Single Stack==>Have a splash card with no code. This will display instantly. In the opencard handler of the splash card open the card with all the initializing stuff in its preopencard handler. The second card will not display until the preopencard handler is finished. I take this a step further because my second card is a login page. If the user is already authorized I open a third card. The user only sees the first(Splash) and third card although 3 cards have been "opened". If the user is not authorized I just exit the preopencard handler in the second card and the login prompts are displayed. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Pierre Sahores Sent: Friday, October 05, 2012 2:35 PM To: How to use LiveCode Subject: android splash-screen image Hi there, I'm missing something : i can't get my Android build to load the splash screen image i selected in the standalone application setting screen !? Works fine on the iOS side but nada on the Android side ;-( Any help will be greatly welcome ;D Thanks, Pierre -- 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 charles at buchwald.ca Fri Oct 5 14:56:20 2012 From: charles at buchwald.ca (Charles E Buchwald) Date: Fri, 5 Oct 2012 13:56:20 -0500 Subject: [OT] Girls Don't Code?? In-Reply-To: <506F1FBC.1080806@hyperactivesw.com> References: <31BDC56EACAAF64688457CE3F71D9F1ADFFB48@Peas2.byu.local> <506F1FBC.1080806@hyperactivesw.com> Message-ID: <1DFF4226-7D7A-49E1-8A4E-98F6A2A92811@buchwald.ca> On 2012-10-05, at 12:58 PM, J. Landman Gay wrote: > I think some of it is genetic tendencies, some of it is culture, and some of it is upbringing. If you could remove the cultural and child rearing biases, the natural tendencies would win out, and I think those may be more evenly balanced between genders than is commonly thought. I remember knitting a scarf for my GI Joe. I'm just sayin'. I enjoy coding and crafting beautiful graphic design for the front end. There's something great about allowing yourself to explore and enjoy many disciplines, regardless of the cultural expectations. - Charles -- Charles E. Buchwald http://buchwald.ca Vancouver / Mexico City / NYC Member of the 02 Global Network for Sustainable Design ? Connect on LinkedIn ? Follow me on Twitter From coiin at verizon.net Fri Oct 5 14:58:56 2012 From: coiin at verizon.net (Colin Holgate) Date: Fri, 5 Oct 2012 14:58:56 -0400 Subject: [OT] Girls Don't Code?? In-Reply-To: <1DFF4226-7D7A-49E1-8A4E-98F6A2A92811@buchwald.ca> References: <31BDC56EACAAF64688457CE3F71D9F1ADFFB48@Peas2.byu.local> <506F1FBC.1080806@hyperactivesw.com> <1DFF4226-7D7A-49E1-8A4E-98F6A2A92811@buchwald.ca> Message-ID: <2F2A4302-0A63-4715-BACE-FC0A32142C61@verizon.net> That was last week, wasn't it? On Oct 5, 2012, at 2:56 PM, Charles E Buchwald wrote: > >I remember knitting a scarf for my GI Joe. I'm just sayin'. From sc at sahores-conseil.com Fri Oct 5 15:14:49 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Fri, 5 Oct 2012 21:14:49 +0200 Subject: android splash-screen image In-Reply-To: <004501cda32a$57f0b880$07d22980$@net> References: <2E4051FF-F95E-42D4-A499-04E9BD0A4F5F@sahores-conseil.com> <004501cda32a$57f0b880$07d22980$@net> Message-ID: <1344C2B5-5013-4E87-B4D6-BF4EAA3DE129@sahores-conseil.com> Wouaw ! Seems so simple after getting your game roles ;D Should always read closely the subject before coding ! Thanks friends, Pierre Le 5 oct. 2012 ? 20:50, Ralph DiMola a ?crit : > Pierre, > > There is no splash screen for the licensed Android build. There have been 2 > techniques that have been offered on this list. > > 1) Dual Stack==>Have a start up stack that shows a Splash card. Then start > up the "real" stack with all initializing stuff that would have delayed the > first card from being shown. > > 2) Single Stack==>Have a splash card with no code. This will display > instantly. In the opencard handler of the splash card open the card with all > the initializing stuff in its preopencard handler. The second card will not > display until the preopencard handler is finished. I take this a step > further because my second card is a login page. If the user is already > authorized I open a third card. The user only sees the first(Splash) and > third card although 3 cards have been "opened". If the user is not > authorized I just exit the preopencard handler in the second card and the > login prompts are displayed. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net Le 5 oct. 2012 ? 20:45, Colin Holgate a ?crit : > I have wondered about that splash image. Android apps don't have a splash image system like on iOS, so I assumed that LC inserts that image after the stack is opened but before it's fully loaded. If it loads quickly then I'm not sure if you would see the splash image, unless you had the same image on your first card too. > > Oh, also, you only get to use your splash image if it's the full version of that LiveCode feature. Otherwise you ought to be seeing a RunRev splash image. > Hi there, > > I'm missing something : i can't get my Android build to load the splash > screen image i selected in the standalone application setting screen !? > Works fine on the iOS side but nada on the Android side ;-( > > Any help will be greatly welcome ;D > > Thanks, > > Pierre -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From effendi at wanadoo.fr Fri Oct 5 15:44:45 2012 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Fri, 5 Oct 2012 21:44:45 +0200 Subject: Suggestion for improved LiveCode scripting notation Message-ID: Hi from Beautiful Brittany, I think we have been round this subject several times. 1 - As anybody going to look at your scripts ? (chances are already vastly reduced !) 2 - Are you going to come back to your scripts next year, and mutter "Who wrote this shit ?) 3 - As a principle, do you comment all your script lines ? I do - and there is very little chance of (1), but I've been programming for 50 years, and old habits die hard. As for "L" or G" or any other mechanism for making your scripts readable, "one mans meat is another mans poison". So - ponder on the above, and do as you think best ? :>) But don't expect as many followers as the prophet ?. No two minds think alike (Thank the man up there !) Best Regards -Francis From pete at lcsql.com Fri Oct 5 15:56:03 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 5 Oct 2012 12:56:03 -0700 Subject: Creating files/folders Message-ID: If I "open file " for write" and the file doesn't exist LC creates it. But what happens if an error occurs? For example, the file path includes a folder that doesn't exist, or permissions don't allow the file to be created. I know the file doesn't get created but how do I check for an error? Similarly with "create folder ", how do I check for errors? Pete lcSQL Software From pete at lcsql.com Fri Oct 5 15:58:42 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 5 Oct 2012 12:58:42 -0700 Subject: Suggestion for improved LiveCode scripting notation In-Reply-To: References: Message-ID: How about next week :-)!!! I don't think anyone is trying to impose any standards, just gathering ideas on how people tackle the issue. Pete lcSQL Software On Fri, Oct 5, 2012 at 12:44 PM, Francis Nugent Dixon wrote: > 2 - Are you going to come back to your scripts > next year, and mutter "Who wrote this shit ?) > From dochawk at gmail.com Fri Oct 5 15:59:38 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 5 Oct 2012 12:59:38 -0700 Subject: Entire sqlite database wiped of data?? In-Reply-To: <15242F07-0176-4030-80DC-3430C613C2B6@twft.com> References: <68F28836-CCE6-483C-86C9-1A776A100350@twft.com> <15242F07-0176-4030-80DC-3430C613C2B6@twft.com> Message-ID: On Thu, Oct 4, 2012 at 8:43 AM, Bob Sneidar wrote: > Richard, barring anything your app could have done to wipe the data, and barring a damaged database file (a possibility if the >physical media took a hit) there is only one thing left. Someone hacked into your database and altered the data. How is your app >accessing the data? Is the access to the database encrypted? The database was on my iMac, the same3 one with which I was accessing it, behind a router, behind a dsl "modem"--so access never left the local machine. -- Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Fri Oct 5 16:02:45 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 5 Oct 2012 13:02:45 -0700 Subject: Creating files/folders In-Reply-To: References: Message-ID: On Fri, Oct 5, 2012 at 12:56 PM, Peter Haworth wrote: > If I "open file " for write" and the file doesn't exist LC > creates it. But what happens if an error occurs? For example, the file > path includes a folder that doesn't exist, or permissions don't allow the > file to be created. I know the file doesn't get created but how do I check > for an error? > > Similarly with "create folder ", how do I check for errors? Shouldn't any such thing be in "the result"? It has for things I've wanted, unless returned as a value from a function. -- Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Fri Oct 5 16:07:10 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 5 Oct 2012 13:07:10 -0700 Subject: [OT] Girls Don't Code?? In-Reply-To: <31BDC56EACAAF64688457CE3F71D9F1ADFFB48@Peas2.byu.local> References: <31BDC56EACAAF64688457CE3F71D9F1ADFFB48@Peas2.byu.local> Message-ID: On Fri, Oct 5, 2012 at 10:44 AM, Devin Asay wrote: > Our first two kids were boys. My wife and I, all full of high-minded book learnin', were all determined that we wouldn't force "gender >roles" on our first child. So we got him both dolls and trucks to play with. Guess what? He played with the dolls. He turned them into >guns or crashed them into the trucks. I don't remember specifically doing it for our older girls, but for the twins, we bought trucks and a garage and stuff. We saw them playing with them one day and got closer. twin 1: "This is the mommy truck." twin 2, in little squeaky voice, "This is the baby truck." And with that, we stopped bothering with such things . . . But, On Fri, Oct 5, 2012 at 10:58 AM, J. Landman Gay wrote: > I was pissed off in seventh grade because girls had to take home economics > and I wasn't allowed to take shop class. I wanted to work the saws. My oldest daughter is definitely obsessed with power tools . . . -- Richard E. Hawkins, Esq. (702) 508-8462 From bobs at twft.com Fri Oct 5 16:23:40 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 5 Oct 2012 13:23:40 -0700 Subject: Suggestion for improved LiveCode scripting notation In-Reply-To: References: Message-ID: <05984703-337F-405E-B920-9261F0ABD684@twft.com> CHEESE! On Oct 5, 2012, at 12:44 PM, Francis Nugent Dixon wrote: > 2 - Are you going to come back to your scripts > next year, and mutter "Who wrote this shit ?) From bobs at twft.com Fri Oct 5 16:24:44 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 5 Oct 2012 13:24:44 -0700 Subject: Suggestion for improved LiveCode scripting notation In-Reply-To: References: Message-ID: <5444000B-3965-4AC0-90BE-2CC6E994F642@twft.com> ROQUEFORT!!! On Oct 5, 2012, at 12:44 PM, Francis Nugent Dixon wrote: > No two minds think alike (Thank the man up there !) From pete at lcsql.com Fri Oct 5 16:25:06 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 5 Oct 2012 13:25:06 -0700 Subject: Creating files/folders In-Reply-To: References: Message-ID: Sorry I should have been more specific. The result just says something like "Can't create file" or some such generic message - I'm looking for something more specific as to why it couldn't be created. Pete lcSQL Software On Fri, Oct 5, 2012 at 1:02 PM, Dr. Hawkins wrote: > On Fri, Oct 5, 2012 at 12:56 PM, Peter Haworth wrote: > > If I "open file " for write" and the file doesn't exist LC > > creates it. But what happens if an error occurs? For example, the file > > path includes a folder that doesn't exist, or permissions don't allow the > > file to be created. I know the file doesn't get created but how do I > check > > for an error? > > > > Similarly with "create folder ", how do I check for errors? > > Shouldn't any such thing be in "the result"? It has for things I've > wanted, unless returned as a value from a function. > > -- > 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 bobs at twft.com Fri Oct 5 16:26:33 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 5 Oct 2012 13:26:33 -0700 Subject: Entire sqlite database wiped of data?? In-Reply-To: References: <68F28836-CCE6-483C-86C9-1A776A100350@twft.com> <15242F07-0176-4030-80DC-3430C613C2B6@twft.com> Message-ID: <38718070-9AE0-47C7-AEE3-E4E25E1E124B@twft.com> Hmmm... my professional IT opinion is, the file became damaged somehow. Certainly not unheard of in the SQL world! Bob On Oct 5, 2012, at 12:59 PM, Dr. Hawkins wrote: > On Thu, Oct 4, 2012 at 8:43 AM, Bob Sneidar wrote: >> Richard, barring anything your app could have done to wipe the data, and barring a damaged database file (a possibility if the >> physical media took a hit) there is only one thing left. Someone hacked into your database and altered the data. How is your app >> accessing the data? Is the access to the database encrypted? > > The database was on my iMac, the same3 one with which I was accessing > it, behind a router, behind a dsl "modem"--so access never left the > local machine. > > -- > Richard E. Hawkins, Esq. > (702) 508-8462 From dochawk at gmail.com Fri Oct 5 16:32:36 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 5 Oct 2012 13:32:36 -0700 Subject: Entire sqlite database wiped of data?? In-Reply-To: <38718070-9AE0-47C7-AEE3-E4E25E1E124B@twft.com> References: <68F28836-CCE6-483C-86C9-1A776A100350@twft.com> <15242F07-0176-4030-80DC-3430C613C2B6@twft.com> <38718070-9AE0-47C7-AEE3-E4E25E1E124B@twft.com> Message-ID: On Fri, Oct 5, 2012 at 1:26 PM, Bob Sneidar wrote: > Hmmm... my professional IT opinion is, the file became damaged somehow. Certainly not unheard of in the SQL world! Thanks. My inclination is the same--every other explanation seems highly improbable, and then some . . . -- Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Fri Oct 5 16:34:09 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 5 Oct 2012 13:34:09 -0700 Subject: What to intercept for an OS closing of a stack to lock messages Message-ID: I find that, even knowing better, I tend to close my output stack with the OS controls (red button on Mac). It seems that messages are being processed; it takes, at best, several seconds. I've tried intercepting closeStack and destroyStack, with no luck. What can I do to lock messages when this happens? -- Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Fri Oct 5 16:34:42 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 5 Oct 2012 13:34:42 -0700 Subject: Creating files/folders In-Reply-To: References: Message-ID: On Fri, Oct 5, 2012 at 1:25 PM, Peter Haworth wrote: > Sorry I should have been more specific. The result just says something > like "Can't create file" or some such generic message - I'm looking for > something more specific as to why it couldn't be created. In that case, you're way beyond my paygrade :) -- Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Fri Oct 5 16:37:46 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 5 Oct 2012 13:37:46 -0700 Subject: Entire sqlite database wiped of data?? In-Reply-To: References: <68F28836-CCE6-483C-86C9-1A776A100350@twft.com> <15242F07-0176-4030-80DC-3430C613C2B6@twft.com> Message-ID: Is your database still in the corrupted state? If so issue the following command: PRAGMA integrity_check It will return either OK if it doesn't find any errors or a list of error messages. That won't discover exactly what caused the problem but it might point you in the right direction. In particular, if it returns OK, then at least you will know the database didn't get corrupted. Pete lcSQL Software On Fri, Oct 5, 2012 at 12:59 PM, Dr. Hawkins wrote: > On Thu, Oct 4, 2012 at 8:43 AM, Bob Sneidar wrote: > > Richard, barring anything your app could have done to wipe the data, and > barring a damaged database file (a possibility if the > >physical media took a hit) there is only one thing left. Someone hacked > into your database and altered the data. How is your app > >accessing the data? Is the access to the database encrypted? > > The database was on my iMac, the same3 one with which I was accessing > it, behind a router, behind a dsl "modem"--so access never left the > local machine. > > -- > 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 bobs at twft.com Fri Oct 5 16:44:37 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 5 Oct 2012 13:44:37 -0700 Subject: Creating files/folders In-Reply-To: References: Message-ID: <7CAE517A-6238-4831-9066-AD522EB9EF9F@twft.com> I would have thought a try catch construct should trap the error. However, upon testing this myself, I find it does not, and the result contains, "can't create that directory". This leads me to believe that a failure to create a directory is not considered by LC to be an error per se. From LC's perspective, the command did exactly what it was designed to do. Something to keep in mind with some of these functions. To me, error should mean, "command didn't do what it normally should have done". Bob On Oct 5, 2012, at 1:02 PM, Dr. Hawkins wrote: > On Fri, Oct 5, 2012 at 12:56 PM, Peter Haworth wrote: >> If I "open file " for write" and the file doesn't exist LC >> creates it. But what happens if an error occurs? For example, the file >> path includes a folder that doesn't exist, or permissions don't allow the >> file to be created. I know the file doesn't get created but how do I check >> for an error? >> >> Similarly with "create folder ", how do I check for errors? > > Shouldn't any such thing be in "the result"? It has for things I've > wanted, unless returned as a value from a function. > > -- > 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 bobs at twft.com Fri Oct 5 16:51:24 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 5 Oct 2012 13:51:24 -0700 Subject: What to intercept for an OS closing of a stack to lock messages In-Reply-To: References: Message-ID: <1A0ABD7C-AD15-475A-AE32-3957E13F6F56@twft.com> There is the shutDownRequest if you are quitting a compiled app. It gets sent to the current card of the main stack! Make sure you are trapping for it in the mainStack and not another. Be sure to pass it in order to complete the shutdown! My understanding is that if you don't the SIGTERM sent to the app will be ignored. CloseStack should be working. It is sent to the current card, so make sure it isn't being intercepted and not passed through the heiarchy. I think destroyStack is a property of a stack, and not a command that does anything. It really should be named "purgeMemory" or something of the sort, as the stack is not actually destroyed. Bob On Oct 5, 2012, at 1:34 PM, Dr. Hawkins wrote: > I find that, even knowing better, I tend to close my output stack with > the OS controls (red button on Mac). > > It seems that messages are being processed; it takes, at best, several seconds. > > I've tried intercepting closeStack and destroyStack, with no luck. > What can I do to lock messages when this happens? > > -- > 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 bobs at twft.com Fri Oct 5 16:54:08 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 5 Oct 2012 13:54:08 -0700 Subject: What to intercept for an OS closing of a stack to lock messages In-Reply-To: References: Message-ID: Reading more closely, I am not sure you want to do this anyway. You will not prevent the usual house keeping things from happening in the app or IDE anyway, if you use lock messages. Certain things have to fire off for the IDE to even work properly when messages are locked, or so it is my understanding. Bob On Oct 5, 2012, at 1:34 PM, Dr. Hawkins wrote: > I find that, even knowing better, I tend to close my output stack with > the OS controls (red button on Mac). > > It seems that messages are being processed; it takes, at best, several seconds. > > I've tried intercepting closeStack and destroyStack, with no luck. > What can I do to lock messages when this happens? From dochawk at gmail.com Fri Oct 5 16:55:54 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 5 Oct 2012 13:55:54 -0700 Subject: What to intercept for an OS closing of a stack to lock messages In-Reply-To: <1A0ABD7C-AD15-475A-AE32-3957E13F6F56@twft.com> References: <1A0ABD7C-AD15-475A-AE32-3957E13F6F56@twft.com> Message-ID: On Fri, Oct 5, 2012 at 1:51 PM, Bob Sneidar wrote: > There is the shutDownRequest if you are quitting a compiled app. It gets sent to the current card of the main stack! >Make sure you are trapping for it in the mainStack and not another. Be sure to pass it in order to complete the shutdown! > My understanding is that if you don't the SIGTERM sent to the app will be ignored. It's not the main stack; this is a substack. But in Mac, it gets it's own close window from the OS. I just need this substack to close without executing any handlers. thanks -- Richard E. Hawkins, Esq. (702) 508-8462 From bobs at twft.com Fri Oct 5 16:58:27 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 5 Oct 2012 13:58:27 -0700 Subject: Creating files/folders In-Reply-To: References: Message-ID: I tried sysError() instead. It gives me 13 (for folder creation). It might be different for files. Now have fun parsing what that means! Jacque actually had something along these lines. A function that returned the textual equivalent of a system error? Bob On Oct 5, 2012, at 1:25 PM, Peter Haworth wrote: > Sorry I should have been more specific. The result just says something > like "Can't create file" or some such generic message - I'm looking for > something more specific as to why it couldn't be created. > Pete > lcSQL Software > > > > On Fri, Oct 5, 2012 at 1:02 PM, Dr. Hawkins wrote: > >> On Fri, Oct 5, 2012 at 12:56 PM, Peter Haworth wrote: >>> If I "open file " for write" and the file doesn't exist LC >>> creates it. But what happens if an error occurs? For example, the file >>> path includes a folder that doesn't exist, or permissions don't allow the >>> file to be created. I know the file doesn't get created but how do I >> check >>> for an error? >>> >>> Similarly with "create folder ", how do I check for errors? >> >> Shouldn't any such thing be in "the result"? It has for things I've >> wanted, unless returned as a value from a function. >> >> -- >> 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 bobs at twft.com Fri Oct 5 17:08:20 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 5 Oct 2012 14:08:20 -0700 Subject: What to intercept for an OS closing of a stack to lock messages In-Reply-To: References: <1A0ABD7C-AD15-475A-AE32-3957E13F6F56@twft.com> Message-ID: <4CB64368-021C-4992-A480-E08046FFCD70@twft.com> Not sure what the effect of locking messages would be in the middle of a closeStack. Stack might not close. I seriously doubt however, that your own scripting is taking 4 seconds to run during closeStack! If they are, then perhaps it's time to review the code to see if there is a more efficient way to go about it. Again, without seeing the actual stack(s) it's hard to offer anything more substantial. Bob On Oct 5, 2012, at 1:55 PM, Dr. Hawkins wrote: > On Fri, Oct 5, 2012 at 1:51 PM, Bob Sneidar wrote: >> There is the shutDownRequest if you are quitting a compiled app. It gets sent to the current card of the main stack! >> Make sure you are trapping for it in the mainStack and not another. Be sure to pass it in order to complete the shutdown! >> My understanding is that if you don't the SIGTERM sent to the app will be ignored. > > It's not the main stack; this is a substack. But in Mac, it gets it's > own close window from the OS. > > I just need this substack to close without executing any handlers. > > thanks From larsbrehmer at me.com Fri Oct 5 17:19:21 2012 From: larsbrehmer at me.com (Lars Brehmer) Date: Sat, 06 Oct 2012 00:19:21 +0300 Subject: iOS simulator won't work Message-ID: <172002B3-1E23-42E2-AD1F-288CBCCEC7BA@me.com> Thanks for the reply Colin! Unfortunately it still doesn't work! > What are the chances! > > Some things may have become more strict over time, and you may have to enter a more full app id. > > In that field initially there is "com.yourcompany.yourapp", change that to something else, say "com.larsbrehmer.helloworldtest" If that then doesn't work, try selecting a provisioning profile. > > What I think may have happened is that at the time I wrote those instructions the placeholder text was actually used as the app id, and so it worked. At some point RunRev may have intentionally removed that text when you do a test, so these days you have to enter your own id. > > At least that's my guess, and I was able to see the problem you saw, and then get it to work by entering my own id, and selecting a provisioning file. So I went through the provisioning process, which as everybody knows is quite lengthy. Still, the instructions were perfect and I have the valid certificate in my Keychain. The only remark about the process was the final step, which is opening your project in Xcode and doing something. Since I use liveCode and don't use Xcode, I simply skipped this step. So I have the certificate and it still won't work. I still get the white icon, but nothing happens. The weird thing is that when I double click the home button on the simulator, that icon is there as if it is running. Anyone experienced this and solved it? Cheers, Lars From bobs at twft.com Fri Oct 5 17:21:58 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 5 Oct 2012 14:21:58 -0700 Subject: What to intercept for an OS closing of a stack to lock messages In-Reply-To: References: <1A0ABD7C-AD15-475A-AE32-3957E13F6F56@twft.com> Message-ID: By the way, error 13 is in fact insufficient permissions, as I suspected, but it was more difficult to determine that that I thought it would be. The usual lists of OS X errors usually skips the first 25 or so on the positive side. My opinion here is that system calls that return an error, should be reported as an LC error so you can trap for them as such. I get why LC is somewhat vague about the specifics of the errors, as they might change at some point. There are shell commands you can execute to grep the current error codes, but that may be more that you want to code for if your need is limited. Bob > Not sure what the effect of locking messages would be in the middle of a closeStack. Stack might not close. I seriously doubt however, that your own scripting is taking 4 seconds to run during closeStack! If they are, then perhaps it's time to review the code to see if there is a more efficient way to go about it. Again, without seeing the actual stack(s) it's hard to offer anything more substantial. > > Bob > > > On Oct 5, 2012, at 1:55 PM, Dr. Hawkins wrote: > >> On Fri, Oct 5, 2012 at 1:51 PM, Bob Sneidar wrote: >>> There is the shutDownRequest if you are quitting a compiled app. It gets sent to the current card of the main stack! >>> Make sure you are trapping for it in the mainStack and not another. Be sure to pass it in order to complete the shutdown! >>> My understanding is that if you don't the SIGTERM sent to the app will be ignored. >> >> It's not the main stack; this is a substack. But in Mac, it gets it's >> own close window from the OS. >> >> I just need this substack to close without executing any handlers. >> >> thanks > From pete at lcsql.com Fri Oct 5 17:25:22 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 5 Oct 2012 14:25:22 -0700 Subject: Creating files/folders In-Reply-To: References: Message-ID: Thanks, that's a step in the right direction. The syserror values will be different on each platform so yes, it will be a pain trying to figure out what they mean but more info is better than none at all! Pete lcSQL Software On Fri, Oct 5, 2012 at 1:58 PM, Bob Sneidar wrote: > I tried sysError() instead. It gives me 13 (for folder creation). It might > be different for files. Now have fun parsing what that means! Jacque > actually had something along these lines. A function that returned the > textual equivalent of a system error? > > Bob > > > On Oct 5, 2012, at 1:25 PM, Peter Haworth wrote: > > > Sorry I should have been more specific. The result just says something > > like "Can't create file" or some such generic message - I'm looking for > > something more specific as to why it couldn't be created. > > Pete > > lcSQL Software > > > > > > > > On Fri, Oct 5, 2012 at 1:02 PM, Dr. Hawkins wrote: > > > >> On Fri, Oct 5, 2012 at 12:56 PM, Peter Haworth wrote: > >>> If I "open file " for write" and the file doesn't exist LC > >>> creates it. But what happens if an error occurs? For example, the file > >>> path includes a folder that doesn't exist, or permissions don't allow > the > >>> file to be created. I know the file doesn't get created but how do I > >> check > >>> for an error? > >>> > >>> Similarly with "create folder ", how do I check for > errors? > >> > >> Shouldn't any such thing be in "the result"? It has for things I've > >> wanted, unless returned as a value from a function. > >> > >> -- > >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From coiin at verizon.net Fri Oct 5 17:30:01 2012 From: coiin at verizon.net (Colin Holgate) Date: Fri, 5 Oct 2012 17:30:01 -0400 Subject: iOS simulator won't work In-Reply-To: <172002B3-1E23-42E2-AD1F-288CBCCEC7BA@me.com> References: <172002B3-1E23-42E2-AD1F-288CBCCEC7BA@me.com> Message-ID: <21ECABE9-2CDF-4824-AFB0-C7D78932C633@verizon.net> The instructions about Xcode were for when you get as far as testing on a device, it shouldn't affect whether it works in the simulator. One thing I notice, I wrote that stuff before Apple changed Xcode to become a single application file. If you have a recent Xcode installed there may be a difference in how you have to do things. At the very least, what did you select in the LiveCode preferences under mobile support? With a recent Xcode you would want to be using a recent LiveCode, and choose the option for Xcode 4.3 or later, and then point to the single Xcode application file. From jacque at hyperactivesw.com Fri Oct 5 17:55:41 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 05 Oct 2012 16:55:41 -0500 Subject: What to intercept for an OS closing of a stack to lock messages In-Reply-To: References: <1A0ABD7C-AD15-475A-AE32-3957E13F6F56@twft.com> Message-ID: <506F575D.5040205@hyperactivesw.com> On 10/5/12 3:55 PM, Dr. Hawkins wrote: > I just need this substack to close without executing any handlers. Two ways: 1. In each handler in the mainstack, include a check to see if the target stack is the mainstack and if not, exit the handler. 2. Easier: put empty handlers into the substack, like this: on closeStack end closeStack on closeCard end closeCard Those will block the messages from getting through to the mainstack. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Oct 5 17:56:36 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 05 Oct 2012 16:56:36 -0500 Subject: Creating files/folders In-Reply-To: References: Message-ID: <506F5794.90401@hyperactivesw.com> On 10/5/12 3:58 PM, Bob Sneidar wrote: > I tried sysError() instead. It gives me 13 (for folder creation). It > might be different for files. Now have fun parsing what that means! > Jacque actually had something along these lines. A function that > returned the textual equivalent of a system error? Actually, my stack is for translating LiveCode error codes to text descriptions. It doesn't know about system errors. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Fri Oct 5 18:04:52 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 5 Oct 2012 15:04:52 -0700 Subject: Creating files/folders In-Reply-To: <506F5794.90401@hyperactivesw.com> References: <506F5794.90401@hyperactivesw.com> Message-ID: <25A9511A-0F53-4754-9A31-938B5F69D2FC@twft.com> So when will your new stack on System Errors be finished? ;-) JUST KIDDING! On Oct 5, 2012, at 2:56 PM, J. Landman Gay wrote: > On 10/5/12 3:58 PM, Bob Sneidar wrote: >> I tried sysError() instead. It gives me 13 (for folder creation). It >> might be different for files. Now have fun parsing what that means! >> Jacque actually had something along these lines. A function that >> returned the textual equivalent of a system error? > > Actually, my stack is for translating LiveCode error codes to text descriptions. It doesn't know about system errors. > > -- > Jacqueline Landman Gay From matthias_livecode_150811 at m-r-d.de Fri Oct 5 18:24:16 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 6 Oct 2012 00:24:16 +0200 Subject: [OT] Girls Don't Code?? In-Reply-To: <506F1FBC.1080806@hyperactivesw.com> References: <31BDC56EACAAF64688457CE3F71D9F1ADFFB48@Peas2.byu.local> <506F1FBC.1080806@hyperactivesw.com> Message-ID: <2C3EA7E8-177C-4063-AB0B-D7E0F6BE4269@m-r-d.de> Hi, did i already mention, that i am doing the complete cooking / baking here in our household. And i love it. And my wife is happy that she doesn?t need to do it, because she hates it. Should i be concerned? ;) Regards, Matthias -- Matthias Rebbe matthias (at) rebbe.tk Tel +49.5741.310000 Tel +49.160.5504462 -- "Life is too short for boring code" From bobs at twft.com Fri Oct 5 18:59:33 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 5 Oct 2012 15:59:33 -0700 Subject: [OT] Girls Don't Code?? In-Reply-To: <2C3EA7E8-177C-4063-AB0B-D7E0F6BE4269@m-r-d.de> References: <31BDC56EACAAF64688457CE3F71D9F1ADFFB48@Peas2.byu.local> <506F1FBC.1080806@hyperactivesw.com> <2C3EA7E8-177C-4063-AB0B-D7E0F6BE4269@m-r-d.de> Message-ID: <4F6485E1-FD99-44E3-87A4-6A55005BA842@twft.com> On Oct 5, 2012, at 3:24 PM, Matthias Rebbe wrote: > Hi, > > did i already mention, that i am doing the complete cooking / baking here in our household. And i love it. And my wife is happy that she doesn?t need to do it, because she hates it. > > Should i be concerned? ;) > > Regards, > > Matthias Not a bit. I would no more approve that anyone force some observed social tendencies on an individual, than I would attempt to force any one gender to adopt the tendencies of another. My only point was that the reason there is a 10 to 1 ratio of men to women when it comes to software development is that this is how the tendencies seem to sway us. Others disagree you can certainly guess. I am encouraged however that no one has yet to put forward that the perceived pressure of social norms are entirely the cause of the disparity. Someone might come up with an idea about how to change that. I think it would prove to be disastrous on a large scale. BTW I love to cook! I don't actually think cooking is one of those things that tends to go either way. I just wish I were better at it. I tried to make my own cheese sauce the other day and ended up with curds and whey! Bob From dochawk at gmail.com Fri Oct 5 19:49:00 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 5 Oct 2012 16:49:00 -0700 Subject: [OT] Girls Don't Code?? In-Reply-To: <2C3EA7E8-177C-4063-AB0B-D7E0F6BE4269@m-r-d.de> References: <31BDC56EACAAF64688457CE3F71D9F1ADFFB48@Peas2.byu.local> <506F1FBC.1080806@hyperactivesw.com> <2C3EA7E8-177C-4063-AB0B-D7E0F6BE4269@m-r-d.de> Message-ID: On Fri, Oct 5, 2012 at 3:24 PM, Matthias Rebbe wrote: > did i already mention, that i am doing the complete cooking / baking here in our household. And i love it. And my wife is happy > that she doesn?t need to do it, because she hates it. Gosh, the fire department appreciates the fact that I don't do any of the cooking. I'm not allowed in the kitchen, except to fix things. I bought her a fancy high-end washing machine. As soon as it was installed (by me), I was prohibited from touching it. I've been directed to repair it a couple of times, though. I bought a fancy dishwasher, and was, again as soon as I installed it, prohibited from touching that, either (save, of course, for a couple of repairs). In the words of my eldest as I've attempted to enter the kitchen, "Daddy, you're banned!" -- Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Fri Oct 5 20:15:26 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 5 Oct 2012 17:15:26 -0700 Subject: What to intercept for an OS closing of a stack to lock messages In-Reply-To: <4CB64368-021C-4992-A480-E08046FFCD70@twft.com> References: <1A0ABD7C-AD15-475A-AE32-3957E13F6F56@twft.com> <4CB64368-021C-4992-A480-E08046FFCD70@twft.com> Message-ID: On Fri, Oct 5, 2012 at 2:08 PM, Bob Sneidar wrote: > Not sure what the effect of locking messages would be in the middle of a closeStack. Stack might not close. I seriously doubt >however, that your own scripting is taking 4 seconds to run during closeStack! If they are, then perhaps it's time to review the code >to see if there is a more efficient way to go about it. Again, without seeing the actual stack(s) it's hard to offer >anything more substantial. It appears that it's happening before it even reaches closeStack; I used an ask/breakpoint pair, and it's a long time before that comes up. AFAIK, there isn't any code that it *should* be hitting. I'm using 5.5.3 RC1, if that matters. -- Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Fri Oct 5 20:39:13 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 5 Oct 2012 17:39:13 -0700 Subject: What to intercept for an OS closing of a stack to lock messages In-Reply-To: References: <1A0ABD7C-AD15-475A-AE32-3957E13F6F56@twft.com> <4CB64368-021C-4992-A480-E08046FFCD70@twft.com> Message-ID: On Fri, Oct 5, 2012 at 5:15 PM, Dr. Hawkins wrote: > AFAIK, there isn't any code that it *should* be hitting. ANd this happens even with an empty stack! Or is it empty. This is my output stack. It contains a script, and I regularly delete all the cards. Could I be accumulating some kind of cruft? -- Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Fri Oct 5 20:43:01 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 5 Oct 2012 17:43:01 -0700 Subject: Entire sqlite database wiped of data?? In-Reply-To: References: <68F28836-CCE6-483C-86C9-1A776A100350@twft.com> <15242F07-0176-4030-80DC-3430C613C2B6@twft.com> Message-ID: On Fri, Oct 5, 2012 at 1:37 PM, Peter Haworth wrote: > Is your database still in the corrupted state? If so issue the following > command: > > PRAGMA integrity_check OK, this is getting bizarre. I rushed to try this, and all of my data is back. I can also see the data (and not just the keys) from a SELECT in revDataFromQuery (i tried this before, and only the keys were there. Now I'm more confused than when this first happened! -- Richard E. Hawkins, Esq. (702) 508-8462 From admin at FlexibleLearning.com Sat Oct 6 07:38:22 2012 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Sat, 6 Oct 2012 12:38:22 +0100 Subject: [UPDATE] Free 'Clearview' desktop clock v1.2 Message-ID: As requested by the community: - Linux build is available - Multiple monitors are now supported - Location is restored on re-launch - 'About' is now a systemWindow so should not be hidden behind other windows Download at www.FlexibleLearning.com/freeclock With best regards, Hugh Senior FLCo The home of: - ChartMaker www.FlexibleLearning.com/chartmaker - DatePicker www.FlexibleLearning.com/datepicker - The Scripter's Scrapbook www.FlexibleLearning.com/ssbk From shawnlivecode at gmail.com Sat Oct 6 09:33:53 2012 From: shawnlivecode at gmail.com (Shawn Blc) Date: Sat, 6 Oct 2012 08:33:53 -0500 Subject: [UPDATE] Free 'Clearview' desktop clock v1.2 In-Reply-To: References: Message-ID: Mr. Hugh, The clock does remember location upon relaunch as long as you haven't rebooted. I've also added to Auto-Launch and it launches upon reboot, but does not remember location. I love Clockview! On Sat, Oct 6, 2012 at 6:38 AM, FlexibleLearning wrote: > As requested by the community: > > - Linux build is available > - Multiple monitors are now supported > - Location is restored on re-launch > - 'About' is now a systemWindow so should not be hidden behind other > windows > > Download at www.FlexibleLearning.com/freeclock > > > With best regards, > > Hugh Senior > FLCo > The home of: > - ChartMaker www.FlexibleLearning.com/chartmaker > - DatePicker www.FlexibleLearning.com/datepicker > - The Scripter's Scrapbook www.FlexibleLearning.com/ssbk > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Sat Oct 6 11:30:29 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 6 Oct 2012 08:30:29 -0700 Subject: What to intercept for an OS closing of a stack to lock messages In-Reply-To: References: <1A0ABD7C-AD15-475A-AE32-3957E13F6F56@twft.com> <4CB64368-021C-4992-A480-E08046FFCD70@twft.com> Message-ID: On Friday, October 5, 2012, Dr. Hawkins wrote: > > > This is my output stack. It contains a script, and I regularly delete > all the cards. > > Could I be accumulating some kind of cruft? > It occurred to me this morning: on every output run, I pace my navigation panel group onto the first card, and the cards are later deleted. Could these groups be somehow accumulating and cluttering the message path? -- Richard E. Hawkins, Esq. (702) 508-8462 From livfoss at mac.com Sat Oct 6 12:20:23 2012 From: livfoss at mac.com (Graham Samuel) Date: Sat, 06 Oct 2012 18:20:23 +0200 Subject: iOS keyboard anomaly? Message-ID: <14931B15-4D62-4796-9300-FBCCCC4141E9@mac.com> I am still trying to make sense of iOS text input. I have constructed a very small app for testing purposes, in which I instantiate an iOS keyboard and make it visible. The visibility includes not only the keyboard but also the rectangle (aka field) where the user can type text. This is AFAIK normal. I have written a script which uses the keyboard input and mostly it works; BUT I can get this app into a state where the keyboard shows up and the input rectangle doesn't - I am happy to share the script with anyone interested, but meanwhile do folks think this is other than a bug in LC? What's the user of a text input keyboard without anywhere to input the text? Has anyone else seen this? Still experimenting but very grateful for any insight. Graham From jacque at hyperactivesw.com Sat Oct 6 13:03:17 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 06 Oct 2012 12:03:17 -0500 Subject: What to intercept for an OS closing of a stack to lock messages In-Reply-To: References: <1A0ABD7C-AD15-475A-AE32-3957E13F6F56@twft.com> <4CB64368-021C-4992-A480-E08046FFCD70@twft.com> Message-ID: <50706455.7070807@hyperactivesw.com> On 10/6/12 10:30 AM, Dr. Hawkins wrote: > On Friday, October 5, 2012, Dr. Hawkins wrote: > >> >> >> This is my output stack. It contains a script, and I regularly delete >> all the cards. >> >> Could I be accumulating some kind of cruft? >> > > It occurred to me this morning: on every output run, I pace my navigation > panel group onto the first card, and the cards are later deleted. > > Could these groups be somehow accumulating and cluttering the message path? > > Doubtful. My guess is that there's a script running you haven't found yet. Open the message watcher and see what's happening when you close the stack. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Sat Oct 6 13:43:36 2012 From: pete at lcsql.com (Peter Haworth) Date: Sat, 6 Oct 2012 10:43:36 -0700 Subject: libURLSetStatusCallback Runtime error Message-ID: I'm getting a runtime error on a call to libURLSetStatusCallback. The error is "can't find handler" and the line in question is: libURLSetStatusCallback "lcDownloadStatusCheck",the long ID of stack "lcStackBrowser_CheckForUpdates" There is a handler named "lcDownloadStatusCheck" in the stack script of stack lcStackBrowser_CheckForUpdates and the above command is in the same script. The command is executed from an openCard handler for the first card in my main stack. The check for updates can be manually initiated via a tools menu item, is done with the same code, and works with no problem when initiated that way. This error has just surfaced now that I'm using LC 5.5.2; in LC 5.5.0 there was no error but I've long been puzzled why my check for updates at startup didn't appear to be working. I'm unclear as to exactly which handler can't be found - lcDownloadCheck is right there and libURLSetStatusCallback is a standard LC handler. Pete lcSQL Software From pete at lcsql.com Sat Oct 6 13:53:15 2012 From: pete at lcsql.com (Peter Haworth) Date: Sat, 6 Oct 2012 10:53:15 -0700 Subject: Entire sqlite database wiped of data?? In-Reply-To: References: <68F28836-CCE6-483C-86C9-1A776A100350@twft.com> <15242F07-0176-4030-80DC-3430C613C2B6@twft.com> Message-ID: Did you execute the PRAGMA command? I don't know for sure but it's possible it might fix some problems. Pete lcSQL Software On Fri, Oct 5, 2012 at 5:43 PM, Dr. Hawkins wrote: > On Fri, Oct 5, 2012 at 1:37 PM, Peter Haworth wrote: > > Is your database still in the corrupted state? If so issue the following > > command: > > > > PRAGMA integrity_check > > OK, this is getting bizarre. > > I rushed to try this, and all of my data is back. I can also see the > data (and not just the keys) from a SELECT in revDataFromQuery (i > tried this before, and only the keys were there. > > Now I'm more confused than when this first happened! > > > > > -- > 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 admin at FlexibleLearning.com Sat Oct 6 15:06:05 2012 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Sat, 6 Oct 2012 20:06:05 +0100 Subject: [UPDATE] Free 'Clearview' desktop clock v1.2 In-Reply-To: Message-ID: The clock's display and position are stored in a temporary file only. This seems the least intrusive way of managing things for a non-critical program. If the temp file is deleted (which is perhaps what your system does on re-boot), default settings are restored. Cool you can add the clock to Auto-Launch... I tend to use Windows, and haven't figured out how to do this! With best regards, Hugh Senior FLCo Shawn wrote: The clock does remember location upon relaunch as long as you haven't rebooted. I've also added to Auto-Launch and it launches upon reboot, but does not remember location. I love Clockview! On Sat, Oct 6, 2012 at 6:38 AM, FlexibleLearning wrote: > As requested by the community: > > - Linux build is available > - Multiple monitors are now supported > - Location is restored on re-launch > - 'About' is now a systemWindow so should not be hidden behind other > windows > > Download at www.FlexibleLearning.com/freeclock > > > With best regards, > > Hugh Senior > FLCo > The home of: > - ChartMaker www.FlexibleLearning.com/chartmaker > - DatePicker www.FlexibleLearning.com/datepicker > - The Scripter's Scrapbook www.FlexibleLearning.com/ssbk From richmondmathewson at gmail.com Sat Oct 6 15:29:36 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 06 Oct 2012 22:29:36 +0300 Subject: [UPDATE] Free 'Clearview' desktop clock v1.2 In-Reply-To: References: Message-ID: <507086A0.9060303@gmail.com> On 10/06/2012 10:06 PM, FlexibleLearning.com wrote: > The clock's display and position are stored in a temporary file only. This > seems the least intrusive way of managing things for a non-critical program. > If the temp file is deleted (which is perhaps what your system does on > re-boot), default settings are restored. > > Cool you can add the clock to Auto-Launch... I tend to use Windows, and > haven't figured out how to do this! The 3 major operating systems: Windows, Macintosh and Linux all have a way to set programs to autolaunch at system startup. > > With best regards, > > Hugh Senior > FLCo > > > From effendi at wanadoo.fr Sat Oct 6 16:00:01 2012 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sat, 6 Oct 2012 22:00:01 +0200 Subject: Calling a pdf display through LiveCode, on a PC. Message-ID: <87836753-32D3-4B64-BBC8-20975E78EC8A@wanadoo.fr> Hi from Beautiful Brittany, I have a stack which displays a pdf file, by calling "Skim" through AppleScript. Skim has all the required AppleScript interfaces - a really great app. !! Unfortunately, it is limited to Mac OS X. I am looking for a PC app. which I can call with LiveCode. Adobe Reader doesn't do what I want. Of course, it has to be free ! Can anybody point me in the rignt direction ? Best Regards -Francis From klaus at major.on-rev.com Sat Oct 6 16:04:58 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sat, 6 Oct 2012 22:04:58 +0200 Subject: Calling a pdf display through LiveCode, on a PC. In-Reply-To: <87836753-32D3-4B64-BBC8-20975E78EC8A@wanadoo.fr> References: <87836753-32D3-4B64-BBC8-20975E78EC8A@wanadoo.fr> Message-ID: <98C26999-D7EA-4537-83C4-61CBE95ED98D@major.on-rev.com> Hi Francis, Am 06.10.2012 um 22:00 schrieb Francis Nugent Dixon : > Hi from Beautiful Brittany, > > I have a stack which displays a pdf file, by calling "Skim" > through AppleScript. Skim has all the required AppleScript > interfaces - a really great app. !! > Unfortunately, it is limited to Mac OS X. > I am looking for a PC app. which I can call with LiveCode. > Adobe Reader doesn't do what I want. Of course, it has to > be free ! > > Can anybody point me in the rignt direction ? Try "Foxit Reader": > Best Regards > > -Francis Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From jacque at hyperactivesw.com Sat Oct 6 16:11:47 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 06 Oct 2012 15:11:47 -0500 Subject: libURLSetStatusCallback Runtime error In-Reply-To: References: Message-ID: <50709083.50801@hyperactivesw.com> On 10/6/12 12:43 PM, Peter Haworth wrote: > I'm unclear as to exactly which handler can't be found - lcDownloadCheck is > right there and libURLSetStatusCallback is a standard LC handler. Rev libraries aren't available until backgrounds are done loading. You may need to give it a little more time. Theoretically it should be ready by the time your openCard triggers but try calling the handler specifically after that finishes using a "send in time" structure. > I've long been puzzled why my check for updates at startup > didn't appear to be working. No Rev libraries will be available at startup. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From matthias_livecode_150811 at m-r-d.de Sat Oct 6 16:18:17 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 6 Oct 2012 22:18:17 +0200 Subject: [UPDATE] Free 'Clearview' desktop clock v1.2 In-Reply-To: References: Message-ID: Hugh, just place a shortcut of that app into ? Windows XP: C:\Documents and Settings\username\Start Menu\Programs\Startup ? Windows Vista: C:\users\username\AppData\Roaming\Microsoft\Windows\Start Menu ? Windows 7: C:\Users\username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup Regards, Matthias -- Matthias Rebbe matthias (at) rebbe.tk Tel +49.5741.310000 Tel +49.160.5504462 -- "Life is too short for boring code" Am 06.10.2012 um 21:06 schrieb FlexibleLearning.com : > The clock's display and position are stored in a temporary file only. This > seems the least intrusive way of managing things for a non-critical program. > If the temp file is deleted (which is perhaps what your system does on > re-boot), default settings are restored. > > Cool you can add the clock to Auto-Launch... I tend to use Windows, and > haven't figured out how to do this! > > With best regards, > > Hugh Senior > FLCo > > > > Shawn wrote: > > The clock does remember location upon relaunch as long as you haven't > rebooted. I've also added to Auto-Launch and it launches upon reboot, but > does not remember location. > > I love Clockview! > > > > > On Sat, Oct 6, 2012 at 6:38 AM, FlexibleLearning > wrote: > >> As requested by the community: >> >> - Linux build is available >> - Multiple monitors are now supported >> - Location is restored on re-launch >> - 'About' is now a systemWindow so should not be hidden behind other >> windows >> >> Download at www.FlexibleLearning.com/freeclock >> >> >> With best regards, >> >> Hugh Senior >> FLCo >> The home of: >> - ChartMaker www.FlexibleLearning.com/chartmaker >> - DatePicker www.FlexibleLearning.com/datepicker >> - The Scripter's Scrapbook www.FlexibleLearning.com/ssbk > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Sat Oct 6 16:31:08 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 6 Oct 2012 16:31:08 -0400 Subject: [UPDATE] Free 'Clearview' desktop clock v1.2 In-Reply-To: References: Message-ID: I'm not running Windows at the moment, but there should also be a specialFolderPath("") for this location. The advantage is not having to hard-code a path, and you can allow the program to drop in the shortcut. On Windows, just run a repeat in Message Box to see all the possibilities. Repeat 1 to 100 should cover them all. ~Roger On Sat, Oct 6, 2012 at 4:18 PM, Matthias Rebbe < matthias_livecode_150811 at m-r-d.de> wrote: > Hugh, > > just place a shortcut of that app into > > ? Windows XP: C:\Documents and Settings\username\Start > Menu\Programs\Startup > ? Windows Vista: > C:\users\username\AppData\Roaming\Microsoft\Windows\Start Menu > ? Windows 7: > C:\Users\username\AppData\Roaming\Microsoft\Windows\Start > Menu\Programs\Startup > > Regards, > > Matthias > -- > Matthias Rebbe > matthias (at) rebbe.tk > Tel +49.5741.310000 > Tel +49.160.5504462 > -- > "Life is too short for boring code" > > > > > > > > > Am 06.10.2012 um 21:06 schrieb FlexibleLearning.com > : > > > The clock's display and position are stored in a temporary file only. > This > > seems the least intrusive way of managing things for a non-critical > program. > > If the temp file is deleted (which is perhaps what your system does on > > re-boot), default settings are restored. > > > > Cool you can add the clock to Auto-Launch... I tend to use Windows, and > > haven't figured out how to do this! > > > > With best regards, > > > > Hugh Senior > > FLCo > > > > > > > > Shawn wrote: > > > > The clock does remember location upon relaunch as long as you haven't > > rebooted. I've also added to Auto-Launch and it launches upon reboot, > but > > does not remember location. > > > > I love Clockview! > > > > > > > > > > On Sat, Oct 6, 2012 at 6:38 AM, FlexibleLearning < > admin at flexiblelearning.com > >> wrote: > > > >> As requested by the community: > >> > >> - Linux build is available > >> - Multiple monitors are now supported > >> - Location is restored on re-launch > >> - 'About' is now a systemWindow so should not be hidden behind other > >> windows > >> > >> Download at www.FlexibleLearning.com/freeclock > >> > >> > >> With best regards, > >> > >> Hugh Senior > >> FLCo > >> The home of: > >> - ChartMaker www.FlexibleLearning.com/chartmaker > >> - DatePicker www.FlexibleLearning.com/datepicker > >> - The Scripter's Scrapbook www.FlexibleLearning.com/ssbk > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Sat Oct 6 16:34:52 2012 From: pete at lcsql.com (Peter Haworth) Date: Sat, 6 Oct 2012 13:34:52 -0700 Subject: libURLSetStatusCallback Runtime error In-Reply-To: <50709083.50801@hyperactivesw.com> References: <50709083.50801@hyperactivesw.com> Message-ID: Thanks Jacque, I figured it was a timing issue of some sort. I guess some bug must have been fixed in 5.5.2 since I get no error message in 5.5.0 even though the error must have still occurred. Pete lcSQL Software On Sat, Oct 6, 2012 at 1:11 PM, J. Landman Gay wrote: > On 10/6/12 12:43 PM, Peter Haworth wrote: > > I'm unclear as to exactly which handler can't be found - lcDownloadCheck >> is >> right there and libURLSetStatusCallback is a standard LC handler. >> > > Rev libraries aren't available until backgrounds are done loading. You may > need to give it a little more time. Theoretically it should be ready by the > time your openCard triggers but try calling the handler specifically after > that finishes using a "send in time" structure. > > > I've long been puzzled why my check for updates at startup >> didn't appear to be working. >> > > No Rev libraries will be available at startup. > > -- > 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 matthias_livecode_150811 at m-r-d.de Sat Oct 6 16:58:44 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 6 Oct 2012 22:58:44 +0200 Subject: [UPDATE] Free 'Clearview' desktop clock v1.2 In-Reply-To: References: Message-ID: <0AB9DD11-9ED8-4D40-BC46-EA7506E4B46C@m-r-d.de> Ken Ray has a nice summary of all specialfolder codes for Mac OS and Windows http://sonsothunder.com/devres/livecode/tips/file010.htm Regards, Matthias -- Matthias Rebbe matthias (at) rebbe.tk Tel +49.5741.310000 Tel +49.160.5504462 -- "Life is too short for boring code" Am 06.10.2012 um 22:31 schrieb Roger Eller : > I'm not running Windows at the moment, but there should also be a > specialFolderPath("") for this location. The > advantage is not having to hard-code a path, and you can allow the program > to drop in the shortcut. > > On Windows, just run a repeat in Message Box to see all the possibilities. > Repeat 1 to 100 should cover them all. > > ~Roger > > > On Sat, Oct 6, 2012 at 4:18 PM, Matthias Rebbe < > matthias_livecode_150811 at m-r-d.de> wrote: > From klaus at major.on-rev.com Sat Oct 6 17:53:12 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sat, 6 Oct 2012 23:53:12 +0200 Subject: Calling a pdf display through LiveCode, on a PC. In-Reply-To: <98C26999-D7EA-4537-83C4-61CBE95ED98D@major.on-rev.com> References: <87836753-32D3-4B64-BBC8-20975E78EC8A@wanadoo.fr> <98C26999-D7EA-4537-83C4-61CBE95ED98D@major.on-rev.com> Message-ID: <1B9F0759-FC4F-451E-AFA8-B0C1946F7D7B@major.on-rev.com> Hi Francis, Am 06.10.2012 um 22:04 schrieb Klaus on-rev : > Hi Francis, > > Am 06.10.2012 um 22:00 schrieb Francis Nugent Dixon : > >> Hi from Beautiful Brittany, >> >> I have a stack which displays a pdf file, by calling "Skim" >> through AppleScript. Skim has all the required AppleScript >> interfaces - a really great app. !! >> Unfortunately, it is limited to Mac OS X. >> I am looking for a PC app. which I can call with LiveCode. >> Adobe Reader doesn't do what I want. Of course, it has to >> be free ! >> >> Can anybody point me in the rignt direction ? > > Try "Foxit Reader": > sorry, I overlooked that you are looking for a scriptable application. Don't think that Foxit can be scripted. Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From richmondmathewson at gmail.com Sun Oct 7 02:45:31 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 07 Oct 2012 09:45:31 +0300 Subject: Calling a pdf display through LiveCode, on a PC. In-Reply-To: <98C26999-D7EA-4537-83C4-61CBE95ED98D@major.on-rev.com> References: <87836753-32D3-4B64-BBC8-20975E78EC8A@wanadoo.fr> <98C26999-D7EA-4537-83C4-61CBE95ED98D@major.on-rev.com> Message-ID: <5071250B.7010005@gmail.com> On 10/06/2012 11:04 PM, Klaus on-rev wrote: > Hi Francis, > > Am 06.10.2012 um 22:00 schrieb Francis Nugent Dixon : > >> Hi from Beautiful Brittany, >> >> I have a stack which displays a pdf file, by calling "Skim" >> through AppleScript. Skim has all the required AppleScript >> interfaces - a really great app. !! >> Unfortunately, it is limited to Mac OS X. >> I am looking for a PC app. which I can call with LiveCode. >> Adobe Reader doesn't do what I want. Of course, it has to >> be free ! >> >> Can anybody point me in the rignt direction ? > Try "Foxit Reader": > And Foxit Reader has versions for Windows, Macintosh and Linux, so could be a truly cross-platform answer to PDF documents from Livecode. > >> Best Regards >> >> -Francis > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Oct 7 02:47:43 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 07 Oct 2012 09:47:43 +0300 Subject: Calling a pdf display through LiveCode, on a PC. In-Reply-To: <1B9F0759-FC4F-451E-AFA8-B0C1946F7D7B@major.on-rev.com> References: <87836753-32D3-4B64-BBC8-20975E78EC8A@wanadoo.fr> <98C26999-D7EA-4537-83C4-61CBE95ED98D@major.on-rev.com> <1B9F0759-FC4F-451E-AFA8-B0C1946F7D7B@major.on-rev.com> Message-ID: <5071258F.3000105@gmail.com> > sorry, I overlooked that you are looking for a scriptable application. > Don't think that Foxit can be scripted. > > > open process From richmondmathewson at gmail.com Sun Oct 7 02:50:39 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 07 Oct 2012 09:50:39 +0300 Subject: Calling a pdf display through LiveCode, on a PC. In-Reply-To: <5071258F.3000105@gmail.com> References: <87836753-32D3-4B64-BBC8-20975E78EC8A@wanadoo.fr> <98C26999-D7EA-4537-83C4-61CBE95ED98D@major.on-rev.com> <1B9F0759-FC4F-451E-AFA8-B0C1946F7D7B@major.on-rev.com> <5071258F.3000105@gmail.com> Message-ID: <5071263F.6060600@gmail.com> On 10/07/2012 09:47 AM, Richmond wrote: > >> sorry, I overlooked that you are looking for a scriptable application. >> Don't think that Foxit can be scripted. >> >> >> > > open process http://www.foxitsoftware.com/products/sdk/activex/ scriptable, integratable stuff . . . From klaus at major.on-rev.com Sun Oct 7 05:38:55 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sun, 7 Oct 2012 11:38:55 +0200 Subject: Calling a pdf display through LiveCode, on a PC. In-Reply-To: <5071263F.6060600@gmail.com> References: <87836753-32D3-4B64-BBC8-20975E78EC8A@wanadoo.fr> <98C26999-D7EA-4537-83C4-61CBE95ED98D@major.on-rev.com> <1B9F0759-FC4F-451E-AFA8-B0C1946F7D7B@major.on-rev.com> <5071258F.3000105@gmail.com> <5071263F.6060600@gmail.com> Message-ID: <9DFC259F-C664-4BD0-8C1B-FEB1C0609CC5@major.on-rev.com> Hi Richmond, Am 07.10.2012 um 08:50 schrieb Richmond : > On 10/07/2012 09:47 AM, Richmond wrote: >> >>> sorry, I overlooked that you are looking for a scriptable application. >>> Don't think that Foxit can be scripted. >> open process > http://www.foxitsoftware.com/products/sdk/activex/ > scriptable, integratable stuff . . . yep, but not free as it seems! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From richmondmathewson at gmail.com Sun Oct 7 05:45:46 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 07 Oct 2012 12:45:46 +0300 Subject: Calling a pdf display through LiveCode, on a PC. In-Reply-To: <9DFC259F-C664-4BD0-8C1B-FEB1C0609CC5@major.on-rev.com> References: <87836753-32D3-4B64-BBC8-20975E78EC8A@wanadoo.fr> <98C26999-D7EA-4537-83C4-61CBE95ED98D@major.on-rev.com> <1B9F0759-FC4F-451E-AFA8-B0C1946F7D7B@major.on-rev.com> <5071258F.3000105@gmail.com> <5071263F.6060600@gmail.com> <9DFC259F-C664-4BD0-8C1B-FEB1C0609CC5@major.on-rev.com> Message-ID: <50714F4A.6060405@gmail.com> On 10/07/2012 12:38 PM, Klaus on-rev wrote: > Hi Richmond, > > Am 07.10.2012 um 08:50 schrieb Richmond : > >> On 10/07/2012 09:47 AM, Richmond wrote: >>>> sorry, I overlooked that you are looking for a scriptable application. >>>> Don't think that Foxit can be scripted. >>> open process >> http://www.foxitsoftware.com/products/sdk/activex/ >> scriptable, integratable stuff . . . > yep, but not free as it seems! Yes, I also found out about the 30-day trial :( Possibly there is an open-source 'something' for PDF around and about that can be leveraged with Livecode: http://en.wikipedia.org/wiki/List_of_PDF_software > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sataylor at nbnet.nb.ca Sun Oct 7 10:42:16 2012 From: sataylor at nbnet.nb.ca (Stephen Taylor) Date: Sun, 7 Oct 2012 11:42:16 -0300 Subject: iCloud Document Sync Message-ID: <000001cda499$f29a9160$d7cfb420$@nb.ca> Hi Andre, Can you explain how externals can be used to sync stacks between devices. I am looking at building a mobile app that will save text in a text field and a then syncing with a LiveCode desktop standalone. Stephen From pete at lcsql.com Sun Oct 7 11:25:53 2012 From: pete at lcsql.com (Peter Haworth) Date: Sun, 7 Oct 2012 08:25:53 -0700 Subject: libURLSetStatusCallback Runtime error In-Reply-To: <50709083.50801@hyperactivesw.com> References: <50709083.50801@hyperactivesw.com> Message-ID: I've been thinking about this more and have a couple of issues. The dictionary does mention this issue and lists the handlers which "might" be an issue and openCard is not one of them, that's why I used openCard instead of one of the ones mentioned in the dictionary. I wouldn't have an openCard handler if it weren't for this code. So is the dictionary wrong or is there something else going on? Probably more importantly though, it seems really bad design to me that the engine would pass control to user stacks before its own initialization is complete. Shouldn't I be able to expect that the engine is in a stable state when my code starts executing? Pete lcSQL Software On Sat, Oct 6, 2012 at 1:11 PM, J. Landman Gay wrote: > Rev libraries aren't available until backgrounds are done loading. You may > need to give it a little more time. Theoretically it should be ready by the > time your openCard triggers but try calling the handler specifically after > that finishes using a "send in time" structure. From pete at lcsql.com Sun Oct 7 11:30:05 2012 From: pete at lcsql.com (Peter Haworth) Date: Sun, 7 Oct 2012 08:30:05 -0700 Subject: libURLSetStatusCallback Runtime error In-Reply-To: References: <50709083.50801@hyperactivesw.com> Message-ID: I'll add one other issue to the list. I only discovered this problem when I started using LC 5.5.2. Versions of LC prior to that did not report the "can't find handler" message. So not only was the handler not available to me but there was no indication that was the case; the code just failed silently. I am running into more and more instances of that - it doesn't exactly inspire confidence in what the engine is doing. Pete lcSQL Software On Sun, Oct 7, 2012 at 8:25 AM, Peter Haworth wrote: > I've been thinking about this more and have a couple of issues. From ambassador at fourthworld.com Sun Oct 7 12:26:30 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 07 Oct 2012 09:26:30 -0700 Subject: libURLSetStatusCallback Runtime error In-Reply-To: References: Message-ID: <5071AD36.6020606@fourthworld.com> Peter Haworth wrote: > I only discovered this problem when I started using LC 5.5.2. Versions of > LC prior to that did not report the "can't find handler" message. So not > only was the handler not available to me but there was no indication that > was the case; the code just failed silently. I am running into more and > more instances of that - it doesn't exactly inspire confidence in what the > engine is doing. My hunch is that the engine is fine, but the problem lies with how LC's libraries are added to a standalone. But before we go down that road, forgive me if this was already mentioned but is this happening in the IDE, a standalone, or both? -- 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 irog at mac.com Sun Oct 7 12:54:29 2012 From: irog at mac.com (Roger Guay) Date: Sun, 07 Oct 2012 09:54:29 -0700 Subject: iOS SDK Platform Not Installed Error In-Reply-To: References: Message-ID: Hi All, All of a sudden, I'm getting this error when building an iOS standalone: "There was an error while saving the standalone application performing iOS device builds requires the iOS 5.0 SDK platform to be installed". I'm running LiveCode 5.5.2 and Xcode 4.5.1 I've repointed the LC Preferences to the "Location of developer root for iOS 5.0 and above", and Preferences shows Available simulators to be 5.0, 5.1 & 6.0. I've tried setting standalone application to build for iPad 5.0 and 6.0 Universal. I've also tried reloading Xcode, restarting my computer, and I've tried LC 5.5.1. I've tried to independently verify that the SDKs are indeed installed in my Xcode by looking into the contents of Xcode, but I don't know what to look for?? Can anyone please tell me what I'm missing and how to fix? I've been trying to resolve this problem for a week and I'm totally discouraged at this point! Thanks, Roger From dixonja at hotmail.co.uk Sun Oct 7 13:10:07 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Sun, 7 Oct 2012 18:10:07 +0100 Subject: iOS SDK Platform Not Installed Error In-Reply-To: References: , Message-ID: use 5.5.1 & 4.4.1.. > Subject: iOS SDK Platform Not Installed Error > From: irog at mac.com > Date: Sun, 7 Oct 2012 09:54:29 -0700 > To: use-livecode at lists.runrev.com > > Hi All, > > All of a sudden, I'm getting this error when building an iOS standalone: "There was an error while saving the standalone application performing iOS device builds requires the iOS 5.0 SDK platform to be installed". > > I'm running LiveCode 5.5.2 and Xcode 4.5.1 I've repointed the LC Preferences to the "Location of developer root for iOS 5.0 and above", and Preferences shows Available simulators to be 5.0, 5.1 & 6.0. I've tried setting standalone application to build for iPad 5.0 and 6.0 Universal. I've also tried reloading Xcode, restarting my computer, and I've tried LC 5.5.1. > > I've tried to independently verify that the SDKs are indeed installed in my Xcode by looking into the contents of Xcode, but I don't know what to look for?? > > Can anyone please tell me what I'm missing and how to fix? I've been trying to resolve this problem for a week and I'm totally discouraged at this point! > > 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 admin at FlexibleLearning.com Sun Oct 7 13:33:46 2012 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Sun, 7 Oct 2012 18:33:46 +0100 Subject: [UPDATE] Free 'Clearview' desktop clock v1.4 In-Reply-To: Message-ID: All good stuff. The clock's settings file was not being updated on re-boot. It seems LC is not given the chance to write to file on closeStack when the system is shutting down and quits the app automatically. This is now fixed and an update has been uploaded if it affects you. The Linux build also includes png icon files for your dock if you want or need them... Download v1.4 at www.FlexibleLearning.com/freeclock Auto-launch is a separate issue and should, in this case, be the User's decision. And thank you all, I figured it out in order to fix the above (simply never needed to do it until now). Richmond wrote: >The 3 major operating systems: Windows, Macintosh and Linux all > have a way to set programs to autolaunch at system startup. Best regards, Hugh Senior FLCo From richmondmathewson at gmail.com Sun Oct 7 13:58:45 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 07 Oct 2012 20:58:45 +0300 Subject: [UPDATE] Free 'Clearview' desktop clock v1.4 In-Reply-To: References: Message-ID: <5071C2D5.6020505@gmail.com> On 10/07/2012 08:33 PM, FlexibleLearning.com wrote: > All good stuff. > > The clock's settings file was not being updated on re-boot. It seems LC is > not given the chance to write to file on closeStack when the system is > shutting down and quits the app automatically. This is now fixed and an > update has been uploaded if it affects you. The Linux build also includes > png icon files for your dock if you want or need them... Also, not a bad idea to point out that for Linux users to get the DigitalClock to execute they have to set the executable bit. > > Download v1.4 at www.FlexibleLearning.com/freeclock > > Auto-launch is a separate issue and should, in this case, be the User's > decision. And thank you all, I figured it out in order to fix the above > (simply never needed to do it until now). > > > Richmond wrote: >> The 3 major operating systems: Windows, Macintosh and Linux all >> have a way to set programs to autolaunch at system startup. > Best regards, > > > Hugh Senior > FLCo > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Sun Oct 7 15:26:08 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 8 Oct 2012 06:26:08 +1100 Subject: iCloud Document Sync In-Reply-To: <000001cda499$f29a9160$d7cfb420$@nb.ca> References: <000001cda499$f29a9160$d7cfb420$@nb.ca> Message-ID: What platforms do you want to support? -- M E R Goulding Software development services mergExt - There's an external for that! On 08/10/2012, at 1:42 AM, "Stephen Taylor" wrote: > I am looking at building a mobile app that will save text in a text field > and a then syncing with a LiveCode desktop standalone. From mfstuart at cox.net Sun Oct 7 21:54:24 2012 From: mfstuart at cox.net (Mark Stuart) Date: Sun, 7 Oct 2012 18:54:24 -0700 Subject: LC and mobile development what-not Message-ID: <258D0DBD2BEF4B21B47C5FB2943F6B74@stuart> Hi all, I'm just starting to try my hand at mobile development, using LC 4.6.4. (I won't upgrade LC until I see how mobile development goes) I've read the Android Release Notes for this version of LC and didn't see anything about what font name and size to use for a mobile application, starting with Android since I'm on Windows. Font - I used Tahoma and size 14. It's way too small for my HTC Incredible phone. What is recommended here? (24 seems OK). Button size - what size should a button be? Quite large I now know since the default size I could hardly see on my device. I tried 50 px. It seems OK. Table fields - what are the defaults for mobile? What about the scroll bar width? What about gesturing on the table control itself to scroll down and up? How is that done? Do I set vertical scroll bars at all? These are just a few of the things I've tried so far. There must be a document that outlines the mobile platform layout defaults. Even better would be the IDE reading the Application Settings and knowing there is a mobile platform selected and set the properties palette appropriately. Or is this all trial error for each developer? :( Regards, Mark Stuart From pete at lcsql.com Sun Oct 7 22:20:15 2012 From: pete at lcsql.com (Peter Haworth) Date: Sun, 7 Oct 2012 19:20:15 -0700 Subject: libURLSetStatusCallback Runtime error In-Reply-To: <5071AD36.6020606@fourthworld.com> References: <5071AD36.6020606@fourthworld.com> Message-ID: Hi Richard, This in the IDE. In fact, I start the IDE then load the stack that has the problem so there is loads of time for the library to be loaded before my stack is opened. On Oct 7, 2012 9:26 AM, "Richard Gaskin" wrote: > Peter Haworth wrote: > >> I only discovered this problem when I started using LC 5.5.2. Versions of >> LC prior to that did not report the "can't find handler" message. So not >> only was the handler not available to me but there was no indication that >> was the case; the code just failed silently. I am running into more and >> more instances of that - it doesn't exactly inspire confidence in what the >> engine is doing. >> > > My hunch is that the engine is fine, but the problem lies with how LC's > libraries are added to a standalone. > > But before we go down that road, forgive me if this was already mentioned > but is this happening in the IDE, a standalone, or both? > > -- > 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 Hakan at Exformedia.se Mon Oct 8 01:10:05 2012 From: Hakan at Exformedia.se (Hakan at Exformedia.se) Date: Mon, 8 Oct 2012 07:10:05 +0200 Subject: command-click on a word In-Reply-To: <7C509FB6-7AE3-458F-9234-CFA8C28A9812@doctorTimothyMiller.com> References: <7C509FB6-7AE3-458F-9234-CFA8C28A9812@doctorTimothyMiller.com> Message-ID: <07BA9B6D-45D1-4398-A49F-7156A668B704@Exformedia.se> TO answer your first question. YES it's an OS X thing! It's "free" when using Cocoa text fields. When LiveCode finally ports to Cocoa the "standard" context menu would at least be an option. I can't see that it is possible to hook into that today. So you have to roll your own... The built in spell checker in OS X has the advantages of being true multilingual. (i.e. every language that OS X supports also have the spellchecker. (But the "look up word" is not!) :-H?kan 1 okt 2012 kl. 19:34 skrev Timothy Miller: > I'm not writing to complain about an absent feature. Mostly just curious, and maybe I'll learn something useful. > > In recent years, I've come to take it for granted that I can hilite a word and command-click on it to get a pop-up dialog box with items like "cut" "copy" "look up in dictionary" and so on. The specific items depend on the application, but the dialog box usually looks the same. > > A few minutes ago, I tried this in a text field an a LC stack and thought, "Hey, why doesn't that work!?" Then I remembered that LC doesn't do that, as far as I know. Yet I have the impression that this is an OS function that any application could invoke. > > So, my question: Is this an OS function? If so, why doesn't LC take advantage of it? > > I suppose it could be scripted. Is there an LC add-on that conveniently adds this functionality? Or maybe there's a simple LC command I don't know about? > > Cheers, > > 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 ambassador at fourthworld.com Mon Oct 8 10:00:12 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 08 Oct 2012 07:00:12 -0700 Subject: libURLSetStatusCallback Runtime error In-Reply-To: References: Message-ID: <5072DC6C.1020906@fourthworld.com> Peter Haworth wrote: > Hi Richard, > This in the IDE. In fact, I start the IDE then load the stack that has the > problem so there is loads of time for the library to be loaded before my > stack is opened. Hmmmm....I'm stumped. The next diagnostic step I would try would be going through the release notes for the versions after this last worked, both the IDE and engine changes, so see if you find anything that may be related. I did a quick look and nothing jumped out at me, but I must admit I didn't spend much time thinking through the implications of each item. Anyone else seeing behavior like Peter reported? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From effendi at wanadoo.fr Mon Oct 8 10:36:40 2012 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Mon, 8 Oct 2012 16:36:40 +0200 Subject: Calling a pdf display through LiveCode, on a PC. Message-ID: <276436FA-63CD-48DC-87EB-CB9BA99D8C25@wanadoo.fr> Hi from "you know where", Thanks to all for the input. Unfortunately, I still don't have a solution. My PDF is a Family Tree exported from EazyDraw, but I can also export to jpg, png, etc. Maybe I will have to solve the problem this way. -Francis From m.schonewille at economy-x-talk.com Mon Oct 8 10:58:45 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 8 Oct 2012 16:58:45 +0200 Subject: Put URL and garbage in result from PHP Message-ID: Hi, I'm downloading a list of words of 9 characters from a MySQL database using a PHP script and a put URL command in a LiveCode script. Altogether, there are approximately 10000 lines in my list, with one word on each line. Both the PHP script and the LiveCode script run on Mac OS X. I use a put URL command in my LiveCode script, such as put url "http://localhost/~user/list.php" The relevant part of the PHP script is: $q="SELECT xword FROM ydatabase"; $r=mysql_query($q); if (!$r) { echo 'An error occurred: '.mysql_error(); } else { while ($row = mysql_fetch_array($r)) { echo "$row[0]\n"; } } Exactly every 8001 bytes (or 889 words, which are all different), I get some garbage: 1f41 AAAAAAAAA AAAAAAAAB [889 times] AAAAAAAAC 1f41 AAAAAAAAP AAAAAAAAQ [889 times] AAAAAAAAR etc etc etc BBBBBBBBX 1e7d The garbage is often the same but not always and it appears before the first line and after the last line. I have tried several combinations of the content-type and content-transfer-encoding headers in PHP. I have also tried changing the encoding of the PHP script itself. If I call the same URL from CURL and pipe the output to a text file or if I open the URL in a browser, I don't see any garbage: AAAAAAAAA AAAAAAAAB [889 times] AAAAAAAAC AAAAAAAAP AAAAAAAAQ [889 times] AAAAAAAAR etc etc etc BBBBBBBBX Does anyone have an idea what causes LiveCode to add garbage to my list? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com From ambassador at fourthworld.com Mon Oct 8 11:04:54 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 08 Oct 2012 08:04:54 -0700 Subject: LC and mobile development what-not In-Reply-To: <258D0DBD2BEF4B21B47C5FB2943F6B74@stuart> References: <258D0DBD2BEF4B21B47C5FB2943F6B74@stuart> Message-ID: <5072EB96.1060002@fourthworld.com> Mark Stuart wrote: > I'm just starting to try my hand at mobile development, using LC 4.6.4. > (I won't upgrade LC until I see how mobile development goes) > > I've read the Android Release Notes for this version of LC and didn't see > anything about what font name and size to use for a mobile application, > starting with Android since I'm on Windows. > > Font - I used Tahoma and size 14. It's way too small for my HTC Incredible > phone. What is recommended here? (24 seems OK). > > Button size - what size should a button be? Quite large I now know since the > default size I could hardly see on my device. I tried 50 px. It seems OK. > > Table fields - what are the defaults for mobile? What about the scroll bar > width? What about gesturing on the table control itself to scroll down and > up? How is that done? Do I set vertical scroll bars at all? > > These are just a few of the things I've tried so far. > > There must be a document that outlines the mobile platform layout defaults. > Even better would be the IDE reading the Application Settings and knowing > there is a mobile platform selected and set the properties palette > appropriately. This guide from the Android developer site provides some helpful orientation: As you'll discover, central to managing good layouts in Android is knowing the pixel density of the device, and I'm hoping we'll see a function for that in a version of the Android engine soon. Further down the road it would be great to have a means of scaling the rendering of both cards and groups, useful for so many things beyond mobile development, but for now we need to write these ourselves. There's some code here that's helpful for scaling: Also, Chipp and Ken have been working on a tool to help with this: It's downloadable 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 bdrunrev at gmail.com Mon Oct 8 11:09:00 2012 From: bdrunrev at gmail.com (Bernard Devlin) Date: Mon, 8 Oct 2012 16:09:00 +0100 Subject: libURLSetStatusCallback Runtime error In-Reply-To: <5071AD36.6020606@fourthworld.com> References: <5071AD36.6020606@fourthworld.com> Message-ID: Peter, you could try replacing the 5.5.2 libUrl code with that from an earlier version. LibURL is the script of a button somewhere (can't remember where off the top of my head). Comment out the current script, paste in the old one. See if the problem persists. That will indicate the engine or the script. Bernard On Sun, Oct 7, 2012 at 5:26 PM, Richard Gaskin wrote: > Peter Haworth wrote: > >> I only discovered this problem when I started using LC 5.5.2. Versions of >> LC prior to that did not report the "can't find handler" message. So not >> only was the handler not available to me but there was no indication that >> was the case; the code just failed silently. I am running into more and >> more instances of that - it doesn't exactly inspire confidence in what the >> engine is doing. >> > > My hunch is that the engine is fine, but the problem lies with how LC's > libraries are added to a standalone. > > But before we go down that road, forgive me if this was already mentioned > but is this happening in the IDE, a standalone, or both? > From bobs at twft.com Mon Oct 8 12:40:16 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 8 Oct 2012 09:40:16 -0700 Subject: Entire sqlite database wiped of data?? In-Reply-To: References: <68F28836-CCE6-483C-86C9-1A776A100350@twft.com> <15242F07-0176-4030-80DC-3430C613C2B6@twft.com> Message-ID: QUICK!!! BACK IT UP!!!!! Bob On Oct 5, 2012, at 5:43 PM, Dr. Hawkins wrote: > On Fri, Oct 5, 2012 at 1:37 PM, Peter Haworth wrote: >> Is your database still in the corrupted state? If so issue the following >> command: >> >> PRAGMA integrity_check > > OK, this is getting bizarre. > > I rushed to try this, and all of my data is back. I can also see the > data (and not just the keys) from a SELECT in revDataFromQuery (i > tried this before, and only the keys were there. > > Now I'm more confused than when this first happened! > > > > > -- > 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 bobs at twft.com Mon Oct 8 12:47:48 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 8 Oct 2012 09:47:48 -0700 Subject: [UPDATE] Free 'Clearview' desktop clock v1.2 In-Reply-To: References: Message-ID: You put a shortcut to the app in the user's Startup Items folder. Alternately, you cal place it in the All Users Startup Items folder. C:\Documents and Settings\All Users\Start Menu\Programs\Startup Replace the All Users with the user profile folder name for individual startup. Not sure about Vista and up as I don't use those myself. Bob On Oct 6, 2012, at 12:06 PM, FlexibleLearning.com wrote: > Cool you can add the clock to Auto-Launch... I tend to use Windows, and > haven't figured out how to do this! > > With best regards, > > Hugh Senior From bobs at twft.com Mon Oct 8 12:56:11 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 8 Oct 2012 09:56:11 -0700 Subject: Calling a pdf display through LiveCode, on a PC. In-Reply-To: <87836753-32D3-4B64-BBC8-20975E78EC8A@wanadoo.fr> References: <87836753-32D3-4B64-BBC8-20975E78EC8A@wanadoo.fr> Message-ID: <69AEE7B7-9787-4B14-97B4-254E777D8B31@twft.com> Just curious, on a Mac running OS X can't you simply tell the Finder to open the file and have whatever app is the default app open it? Or do you need the annotation features that Skim gives you which something like Preview does not? I believe LC has a command called launch, that will open a document with the application you specify. So you probably do not need Applescript for this at all. Bob On Oct 6, 2012, at 1:00 PM, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > I have a stack which displays a pdf file, by calling "Skim" > through AppleScript. Skim has all the required AppleScript > interfaces - a really great app. !! > > Unfortunately, it is limited to Mac OS X. > > I am looking for a PC app. which I can call with LiveCode. > Adobe Reader doesn't do what I want. Of course, it has to > be free ! > > Can anybody point me in the rignt direction ? > > Best Regards > > -Francis > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From larsbrehmer at me.com Mon Oct 8 13:06:24 2012 From: larsbrehmer at me.com (Lars Brehmer) Date: Mon, 08 Oct 2012 20:06:24 +0300 Subject: iOS simulator (still!) won't work Message-ID: <8D4D08A5-D4D9-4535-AE2A-8C51F60BE429@me.com> Thanks for the reply Colin! Unfortunately it still doesn't work! > What are the chances! > > Some things may have become more strict over time, and you may have to enter a more full app id. > > In that field initially there is "com.yourcompany.yourapp", change that to something else, say "com.larsbrehmer.helloworldtest" If that then doesn't work, try selecting a provisioning profile. > > What I think may have happened is that at the time I wrote those instructions the placeholder text was actually used as the app id, and so it worked. At some point RunRev may have intentionally removed that text when you do a test, so these days you have to enter your own id. > > At least that's my guess, and I was able to see the problem you saw, and then get it to work by entering my own id, and selecting a provisioning file. So I went through the provisioning process, which as everybody by now knows is quite lengthy. Still, the instructions were very good and I have the valid certificate in my Keychain. The only remark about the process was the final step, which is opening your project in Xcode and doing something. Since I use liveCode and don't use Xcode, I simply skipped this step. So I have the certificate and it still won't work. I still get the white icon, but nothing happens. The weird thing is that when I double click the home button on the simulator, that icon is there in the open apps row as if it is running. Anyone experienced this and solved it? Cheers, Lars From coiin at verizon.net Mon Oct 8 13:22:02 2012 From: coiin at verizon.net (Colin Holgate) Date: Mon, 8 Oct 2012 13:22:02 -0400 Subject: iOS simulator (still!) won't work In-Reply-To: <8D4D08A5-D4D9-4535-AE2A-8C51F60BE429@me.com> References: <8D4D08A5-D4D9-4535-AE2A-8C51F60BE429@me.com> Message-ID: <8EDF1F3E-D5CE-4C33-A551-7176FAEAB86B@verizon.net> Something that may help narrow down the issue, what happens if you give the app a custom icon? Does it then show that icon and fail to open, or is it still a white icon? Which version of LiveCode are you using, and which iOS version? From bill at bluewatermaritime.com Mon Oct 8 13:27:05 2012 From: bill at bluewatermaritime.com (william humphrey) Date: Mon, 8 Oct 2012 13:27:05 -0400 Subject: Entire sqlite database wiped of data?? In-Reply-To: References: <68F28836-CCE6-483C-86C9-1A776A100350@twft.com> <15242F07-0176-4030-80DC-3430C613C2B6@twft.com> Message-ID: I had very similar stuff happen to my SQLite database when I updated my MAC/OS to 10.7 from 10.6 - I could see the data with my SQLite reader but LiveCode was not letting me see it. It was inconsistent too. Sometimes it would all come back. I finally decided that behavior was too flaky for me and I was already using Valentina for another database so I just converted the SQLite to Valentina, changed my LiveCode SQL stuff to the Valentina way I had been using with that other database and all is fine now. It was a little work but there are so many advantages to using Valentina that it was all worth it. Download the free Valentina Studio program, it will allow you to work with your SQLite data and it will convert it if you wish. From andrew at ctech.me Mon Oct 8 13:27:15 2012 From: andrew at ctech.me (Andrew Kluthe) Date: Mon, 8 Oct 2012 12:27:15 -0500 Subject: Multiple Stack Instances Message-ID: Hey there, I have come across a scenario when I need to be able to have multiple copies of the same stack with different form data in the field. So that the user can have multiple instances of this form available to switch between. Typically, I just allow them to edit 1 record at a time and launch that form as a modal or a single palette that fills and saves the form as it is edited or another one is selected, but that isn't going to work here. This seems like rookie stuff, but I am not sure how to go about it. What kind of process do some of you use to handle this? -- Regards, Andrew Kluthe andrew at ctech.me From ambassador at fourthworld.com Mon Oct 8 13:36:24 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 08 Oct 2012 10:36:24 -0700 Subject: Congrats to Colin Message-ID: <50730F18.5030500@fourthworld.com> At our last LiveCode User Group meeting two of our members had Colin's book on their devices, which were passed around giving us all an opportunity to see the scope of the book and the quality of both the writing and the code examples. Well done, Colin. -- 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 Mon Oct 8 13:38:40 2012 From: coiin at verizon.net (Colin Holgate) Date: Mon, 8 Oct 2012 13:38:40 -0400 Subject: Congrats to Colin In-Reply-To: <50730F18.5030500@fourthworld.com> References: <50730F18.5030500@fourthworld.com> Message-ID: Thanks, but are you sure it was my book? Just kidding (I hope!). On Oct 8, 2012, at 1:36 PM, Richard Gaskin wrote: > >At our last LiveCode User Group meeting two of our members had Colin's book on their devices, which were passed around giving us all an opportunity to see the scope of the book and the quality of both the writing and the code examples. > > Well done, Colin. From palcibiades-first at yahoo.co.uk Mon Oct 8 13:58:57 2012 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Mon, 8 Oct 2012 10:58:57 -0700 (PDT) Subject: Calling a pdf display through LiveCode, on a PC. In-Reply-To: <276436FA-63CD-48DC-87EB-CB9BA99D8C25@wanadoo.fr> References: <87836753-32D3-4B64-BBC8-20975E78EC8A@wanadoo.fr> <276436FA-63CD-48DC-87EB-CB9BA99D8C25@wanadoo.fr> Message-ID: <1349719137313-4656012.post@n4.nabble.com> Have you tried evince? I don't know about the command line options for calling it in Windows. Excellent reader. Peter Francis Nugent Dixon wrote > Hi from "you know where", > > Thanks to all for the input. Unfortunately, I still > don't have a solution. > > My PDF is a Family Tree exported from EazyDraw, but > I can also export to jpg, png, etc. > > Maybe I will have to solve the problem this way. > > -Francis > > _______________________________________________ > use-livecode mailing list > use-livecode at .runrev > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Calling-a-pdf-display-through-LiveCode-on-a-PC-tp4655973p4656012.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Mon Oct 8 14:04:58 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 8 Oct 2012 20:04:58 +0200 Subject: Multiple Stack Instances In-Reply-To: References: Message-ID: Hi Andrew, I would use only one stack with one form and keep the data in a custom property. Put the data into the fields in a preOpenCard handler. Another option is to use multiple cards in one stack and display different cards as required. -- 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 On 8 okt 2012, at 19:27, Andrew Kluthe wrote: > Hey there, > > I have come across a scenario when I need to be able to have multiple > copies of the same stack with different form data in the field. So > that the user can have multiple instances of this form available to > switch between. Typically, I just allow them to edit 1 record at a > time and launch that form as a modal or a single palette that fills > and saves the form as it is edited or another one is selected, but > that isn't going to work here. > > This seems like rookie stuff, but I am not sure how to go about it. > > What kind of process do some of you use to handle this? > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me From irog at mac.com Mon Oct 8 14:18:59 2012 From: irog at mac.com (Roger Guay) Date: Mon, 08 Oct 2012 11:18:59 -0700 Subject: iOS SDK Platform Not Installed Error In-Reply-To: References: Message-ID: Bless you, John Dixon . . . it works !! Why isn't this common knowledge, or have I missed this advice before? I know I did a search of the archives many times before posting my problems with Xcode 4.5.1. BTW, if anyone ever wants to contrast the civility and helpfulness of this list, they need only post to the Apple iOS developer forum. Thanks again, Roger On Oct 8, 2012, at 10:00 AM, John Dixon wrote: > use 5.5.1 & 4.4.1.. > >> Subject: iOS SDK Platform Not Installed Error >> From: irog at mac.com >> Date: Sun, 7 Oct 2012 09:54:29 -0700 >> To: use-livecode at lists.runrev.com >> >> Hi All, >> >> All of a sudden, I'm getting this error when building an iOS standalone: "There was an error while saving the standalone application performing iOS device builds requires the iOS 5.0 SDK platform to be installed". >> >> I'm running LiveCode 5.5.2 and Xcode 4.5.1 I've repointed the LC Preferences to the "Location of developer root for iOS 5.0 and above", and Preferences shows Available simulators to be 5.0, 5.1 & 6.0. I've tried setting standalone application to build for iPad 5.0 and 6.0 Universal. I've also tried reloading Xcode, restarting my computer, and I've tried LC 5.5.1. >> >> I've tried to independently verify that the SDKs are indeed installed in my Xcode by looking into the contents of Xcode, but I don't know what to look for?? >> >> Can anyone please tell me what I'm missing and how to fix? I've been trying to resolve this problem for a week and I'm totally discouraged at this point! >> >> Thanks, >> Roger From mwieder at ahsoftware.net Mon Oct 8 14:19:59 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 8 Oct 2012 11:19:59 -0700 Subject: Congrats to Colin In-Reply-To: References: <50730F18.5030500@fourthworld.com> Message-ID: <191354899593.20121008111959@ahsoftware.net> Colin- Monday, October 8, 2012, 10:38:40 AM, you wrote: > Thanks, but are you sure it was my book? Just kidding (I hope!). Not sure. You might check to see if yours is missing. -- -Mark Wieder mwieder at ahsoftware.net From analog_test at runbox.com Mon Oct 8 14:50:42 2012 From: analog_test at runbox.com (Van Brollini) Date: Mon, 08 Oct 2012 11:50:42 -0700 (MST) Subject: Congrats to Colin In-Reply-To: References: <50730F18.5030500@fourthworld.com> Message-ID: Just bought Colin's book!! Looking forward to it. Van Brollini From rdimola at evergreeninfo.net Mon Oct 8 15:15:42 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 8 Oct 2012 15:15:42 -0400 Subject: Congrats to Colin In-Reply-To: <50730F18.5030500@fourthworld.com> References: <50730F18.5030500@fourthworld.com> Message-ID: <004e01cda589$4fa490a0$eeedb1e0$@net> Congrats Colin!!!! By the Way....Are there any east coast US LC User Groups? If not, anyone interested in starting one? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richard Gaskin Sent: Monday, October 08, 2012 1:36 PM To: How to use LiveCode Subject: Congrats to Colin At our last LiveCode User Group meeting two of our members had Colin's book on their devices, which were passed around giving us all an opportunity to see the scope of the book and the quality of both the writing and the code examples. Well done, Colin. -- 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 terence at ctec.co.nz Mon Oct 8 15:17:20 2012 From: terence at ctec.co.nz (Terence Blyth) Date: Tue, 9 Oct 2012 08:17:20 +1300 Subject: libURLSetStatusCallback Runtime error In-Reply-To: References: <5071AD36.6020606@fourthworld.com> Message-ID: I get this error a lot when developing, Livecode locks up and I have to force end Livecode. Can anyone tell me if this is normal ? Thanks Terence On 9/10/2012, at 4:09 AM, Bernard Devlin wrote: > Peter, you could try replacing the 5.5.2 libUrl code with that from an > earlier version. LibURL is the script of a button somewhere (can't > remember where off the top of my head). Comment out the current script, > paste in the old one. See if the problem persists. That will indicate the > engine or the script. > > Bernard > > On Sun, Oct 7, 2012 at 5:26 PM, Richard Gaskin > wrote: > >> Peter Haworth wrote: >> >>> I only discovered this problem when I started using LC 5.5.2. Versions of >>> LC prior to that did not report the "can't find handler" message. So not >>> only was the handler not available to me but there was no indication that >>> was the case; the code just failed silently. I am running into more and >>> more instances of that - it doesn't exactly inspire confidence in what the >>> engine is doing. >>> >> >> My hunch is that the engine is fine, but the problem lies with how LC's >> libraries are added to a standalone. >> >> But before we go down that road, forgive me if this was already mentioned >> but is this happening in the IDE, a standalone, or both? >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Oct 8 15:24:15 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 8 Oct 2012 15:24:15 -0400 Subject: libURLSetStatusCallback Runtime error In-Reply-To: References: <5071AD36.6020606@fourthworld.com> Message-ID: <005301cda58a$816ee210$844ca630$@net> Terence, In 99% of my IDE lockups, F5 will bring LC back to reality. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Terence Blyth Sent: Monday, October 08, 2012 3:17 PM To: How to use LiveCode Subject: Re: libURLSetStatusCallback Runtime error I get this error a lot when developing, Livecode locks up and I have to force end Livecode. Can anyone tell me if this is normal ? Thanks Terence On 9/10/2012, at 4:09 AM, Bernard Devlin wrote: > Peter, you could try replacing the 5.5.2 libUrl code with that from an > earlier version. LibURL is the script of a button somewhere (can't > remember where off the top of my head). Comment out the current > script, paste in the old one. See if the problem persists. That will > indicate the engine or the script. > > Bernard > > On Sun, Oct 7, 2012 at 5:26 PM, Richard Gaskin > wrote: > >> Peter Haworth wrote: >> >>> I only discovered this problem when I started using LC 5.5.2. >>> Versions of LC prior to that did not report the "can't find handler" >>> message. So not only was the handler not available to me but there >>> was no indication that was the case; the code just failed silently. >>> I am running into more and more instances of that - it doesn't >>> exactly inspire confidence in what the engine is doing. >>> >> >> My hunch is that the engine is fine, but the problem lies with how >> LC's libraries are added to a standalone. >> >> But before we go down that road, forgive me if this was already >> mentioned but is this happening in the IDE, a standalone, or both? >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Mon Oct 8 15:46:02 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 8 Oct 2012 15:46:02 -0400 Subject: Congrats to Colin In-Reply-To: <004e01cda589$4fa490a0$eeedb1e0$@net> References: <50730F18.5030500@fourthworld.com> <004e01cda589$4fa490a0$eeedb1e0$@net> Message-ID: We tried to start a SERUG group on the East coast in 2005. Four people met in a hotel lobby with our laptops for a couple of hours in Atlanta. I remember there was a Ralph there (maybe it was you). I had a 2.5 hour drive, which was a bit far, so then we switched to virtual meetings in SecondLife. Surprisingly, there was very little interest by anyone beyond the groups founders. What? Virtual 3D meeting places? It was free, and you didn't even have to leave the couch, but still nobody came. It's all about comfort zones I guess. Virtual was a little too RAD, and after a few virtual meetings of three people (which were quite fun), then there were only two, and then game over. http://www.mail-archive.com/use-revolution at lists.runrev.com/msg60040.html http://www.mail-archive.com/use-revolution at lists.runrev.com/msg60282.html ~Roger On Mon, Oct 8, 2012 at 3:15 PM, Ralph DiMola wrote: > > By the Way....Are there any east coast US LC User Groups? If not, anyone > interested in starting one? > > Ralph DiMola > > -----Original Message----- > On Behalf Of Richard Gaskin > At our last LiveCode User Group meeting... > -- > Richard Gaskin > Fourth World > From pete at lcsql.com Mon Oct 8 15:47:47 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 8 Oct 2012 12:47:47 -0700 Subject: libURLSetStatusCallback Runtime error In-Reply-To: References: <5071AD36.6020606@fourthworld.com> Message-ID: Richard and Bernard, Thanks for the replies. Inserting a "wait with messages" right before the call to libURLSetStatusCallback fixes the issue so at this point, I think I'll just move on :-) Pete lcSQL Software On Mon, Oct 8, 2012 at 8:09 AM, Bernard Devlin wrote: > Peter, you could try replacing the 5.5.2 libUrl code with that from an > earlier version. LibURL is the script of a button somewhere (can't > remember where off the top of my head). Comment out the current script, > paste in the old one. See if the problem persists. That will indicate the > engine or the script. > > Bernard > > On Sun, Oct 7, 2012 at 5:26 PM, Richard Gaskin > wrote: > > > Peter Haworth wrote: > > > >> I only discovered this problem when I started using LC 5.5.2. Versions > of > >> LC prior to that did not report the "can't find handler" message. So > not > >> only was the handler not available to me but there was no indication > that > >> was the case; the code just failed silently. I am running into more and > >> more instances of that - it doesn't exactly inspire confidence in what > the > >> engine is doing. > >> > > > > My hunch is that the engine is fine, but the problem lies with how LC's > > libraries are added to a standalone. > > > > But before we go down that road, forgive me if this was already mentioned > > but is this happening in the IDE, a standalone, or both? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From skip at magicgate.com Mon Oct 8 15:59:02 2012 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Mon, 8 Oct 2012 15:59:02 -0400 Subject: Congrats to Colin In-Reply-To: <004e01cda589$4fa490a0$eeedb1e0$@net> References: <50730F18.5030500@fourthworld.com> <004e01cda589$4fa490a0$eeedb1e0$@net> Message-ID: I am in South Florida.. How about you, Ralph? SKIP On Mon, Oct 8, 2012 at 3:15 PM, Ralph DiMola wrote: > Congrats Colin!!!! > > > By the Way....Are there any east coast US LC User Groups? If not, anyone > interested in starting one? > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richard Gaskin > Sent: Monday, October 08, 2012 1:36 PM > To: How to use LiveCode > Subject: Congrats to Colin > > At our last LiveCode User Group meeting two of our members had Colin's book > on their devices, which were passed around giving us all an opportunity to > see the scope of the book and the quality of both the writing and the code > examples. > > Well done, Colin. > > -- > 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 pete at lcsql.com Mon Oct 8 16:15:22 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 8 Oct 2012 13:15:22 -0700 Subject: Strict Compile Mode Message-ID: I'm switching over to to using strict compile mode in all my stacks, which I should have done long ago. I was surprised to find that not all variables have to be defined in this mode. It seems that using a variable in a repeat command such as "repeat with x=1 to 10" does not require x to be defined as a local variable, nor is an error flagged when x is used later in the handler, either within the loop or after it. I can't decide if I like that or not. I like it because most of the time I don't use x outside of the repeat loop and it seems overkill to have to define it in those circumstances. However if I accidentally type "x" when I really meant to type "y", I wouldn't get an error but my code probably wouldn't work correctly which is the whole point of strict compile mode. It also seems that sometimes LC constants have to be enclosed in quotes. For example "Set the backgroundcolor of field "xyz" to empty" works fine but "set the backgroundcolor of field "xyz" to black" fails and I have to put quotes around black, even though black is colored in the script as if it is a known LC constant. Not a big deal, just wondering why that is. Also, not really related to the rest of this, what does the Preference setting "Variable Preservation" do? Can't find any reference to it in the User Guide. Pete lcSQL Software From bobs at twft.com Mon Oct 8 16:30:25 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 8 Oct 2012 13:30:25 -0700 Subject: Strict Compile Mode In-Reply-To: References: Message-ID: <8B3F88ED-4D71-48D4-8694-4A9AE5F4E65C@twft.com> Ima gonna say it's just something that was overlooked, or something that might have required an engine mod they didn't want to get into at the time. On Oct 8, 2012, at 1:15 PM, Peter Haworth wrote: > It also seems that sometimes LC constants have to be enclosed in quotes. > For example "Set the backgroundcolor of field "xyz" to empty" works fine > but "set the backgroundcolor of field "xyz" to black" fails and I have to > put quotes around black, even though black is colored in the script as if > it is a known LC constant. Not a big deal, just wondering why that is. From dochawk at gmail.com Mon Oct 8 16:30:30 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 8 Oct 2012 13:30:30 -0700 Subject: Entire sqlite database wiped of data?? In-Reply-To: References: <68F28836-CCE6-483C-86C9-1A776A100350@twft.com> <15242F07-0176-4030-80DC-3430C613C2B6@twft.com> Message-ID: On Sat, Oct 6, 2012 at 10:53 AM, Peter Haworth wrote: > Did you execute the PRAGMA command? I don't know for sure but it's > possible it might fix some problems. I'm going to try tomorrow . . . right now I'm to groggy from bounding back and forth across the country--I made the first public showing of my program at a Bankruptcy Practice Workshop (and learned an amazing amount by being there in hindsight, I would have pa8id for it, if not for wanting to wind my practice down rather than up). -- Richard E. Hawkins, Esq. (702) 508-8462 From rdimola at evergreeninfo.net Mon Oct 8 16:43:27 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 8 Oct 2012 16:43:27 -0400 Subject: Congrats to Colin In-Reply-To: References: <50730F18.5030500@fourthworld.com> <004e01cda589$4fa490a0$eeedb1e0$@net> Message-ID: <005701cda595$91b01a80$b5104f80$@net> Skip, I'm in upstate NY(50 miles north of Albany), but have an office 10 miles east of NYC and was thinking that I would time those trips with a LC User group meeting in the NYC tri-state area. Just a thought. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Magicgate Software - Skip Kimpel Sent: Monday, October 08, 2012 3:59 PM To: How to use LiveCode Subject: Re: Congrats to Colin I am in South Florida.. How about you, Ralph? SKIP On Mon, Oct 8, 2012 at 3:15 PM, Ralph DiMola wrote: > Congrats Colin!!!! > > > By the Way....Are there any east coast US LC User Groups? If not, > anyone interested in starting one? > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richard > Gaskin > Sent: Monday, October 08, 2012 1:36 PM > To: How to use LiveCode > Subject: Congrats to Colin > > At our last LiveCode User Group meeting two of our members had Colin's > book on their devices, which were passed around giving us all an > opportunity to see the scope of the book and the quality of both the > writing and the code examples. > > Well done, Colin. > > -- > 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 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From terence at ctec.co.nz Mon Oct 8 17:17:38 2012 From: terence at ctec.co.nz (Terence Blyth) Date: Tue, 9 Oct 2012 10:17:38 +1300 Subject: libURLSetStatusCallback Runtime error In-Reply-To: <005301cda58a$816ee210$844ca630$@net> References: <5071AD36.6020606@fourthworld.com> <005301cda58a$816ee210$844ca630$@net> Message-ID: <004101cda59a$585cdd40$091697c0$@ctec.co.nz> Great I will try it tonight. Terence Blyth Managing Director Computer Technologies Ltd Computer Technologies Ltd 27 Selwyn Place, Nelson City Nelson 7014 Email: terence at ctec.co.nz Phone: +64 3 545 9001 Fax: +64 3 545 9002 Mobile: +64 21 220 5670 ? Please consider the environment before printing this email. All information contained in this e-mail is confidential and may be legally privileged. It is intended only for the designated addressee and cannot be passed on to any third party without the express written consent of Computer Technologies. If you are not the intended recipient, any disclosure, copying, distribution or action taken or omitted to be taken in reliance on it, is prohibited and may be Unlawful. -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Ralph DiMola Sent: Tuesday, 9 October 2012 8:24 a.m. To: 'How to use LiveCode' Subject: RE: libURLSetStatusCallback Runtime error Terence, In 99% of my IDE lockups, F5 will bring LC back to reality. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Terence Blyth Sent: Monday, October 08, 2012 3:17 PM To: How to use LiveCode Subject: Re: libURLSetStatusCallback Runtime error I get this error a lot when developing, Livecode locks up and I have to force end Livecode. Can anyone tell me if this is normal ? Thanks Terence On 9/10/2012, at 4:09 AM, Bernard Devlin wrote: > Peter, you could try replacing the 5.5.2 libUrl code with that from an > earlier version. LibURL is the script of a button somewhere (can't > remember where off the top of my head). Comment out the current > script, paste in the old one. See if the problem persists. That will > indicate the engine or the script. > > Bernard > > On Sun, Oct 7, 2012 at 5:26 PM, Richard Gaskin > wrote: > >> Peter Haworth wrote: >> >>> I only discovered this problem when I started using LC 5.5.2. >>> Versions of LC prior to that did not report the "can't find handler" >>> message. So not only was the handler not available to me but there >>> was no indication that was the case; the code just failed silently. >>> I am running into more and more instances of that - it doesn't >>> exactly inspire confidence in what the engine is doing. >>> >> >> My hunch is that the engine is fine, but the problem lies with how >> LC's libraries are added to a standalone. >> >> But before we go down that road, forgive me if this was already >> mentioned but is this happening in the IDE, a standalone, or both? >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Mon Oct 8 17:50:57 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 8 Oct 2012 21:50:57 +0000 (UTC) Subject: Congrats to Colin References: <50730F18.5030500@fourthworld.com> <191354899593.20121008111959@ahsoftware.net> Message-ID: ...but seriously, anyone doing mobile development in LiveCode needs Colin's book. http://www.amazon.com/gp/product/B008Q7H84A/ -- Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Mon Oct 8 18:01:40 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 8 Oct 2012 22:01:40 +0000 (UTC) Subject: Strict Compile Mode References: Message-ID: Peter Haworth writes: > I'm switching over to to using strict compile mode in all my stacks, which > I should have done long ago. Yay! But aren't you going to feel nostalgic for all those runtime bugs you used to have to hunt down? > I was surprised to find that not all variables have to be defined in this > mode. It seems that using a variable in a repeat command such as "repeat > with x=1 to 10" does not require x to be defined as a local variable, nor > is an error flagged when x is used later in the handler, either within the > loop or after it. I can't decide if I like that or not. I'm probably going to agree with Bob on this. I could justify it as saying the compiler is being "helpful" in allowing relaxed rules for iterators in repeat loops, but I think it just got overlooked. > I like it because most of the time I don't use x outside of the repeat loop > and it seems overkill to have to define it in those circumstances. However > if I accidentally type "x" when I really meant to type "y", I wouldn't get > an error but my code probably wouldn't work correctly which is the whole > point of strict compile mode. Yeah. Nice that the compiler is so "helpful", no? > It also seems that sometimes LC constants have to be enclosed in quotes. > For example "Set the backgroundcolor of field "xyz" to empty" works fine > but "set the backgroundcolor of field "xyz" to black" fails and I have to > put quotes around black, even though black is colored in the script as if > it is a known LC constant. Not a big deal, just wondering why that is. Lazy compiler parsing. It seems that there are constants and then there are constants. The color names in particular seem not to be real constants, although you can't redefine them. -- Mark Wieder mwieder at ahsoftware.net From pete at lcsql.com Mon Oct 8 18:30:21 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 8 Oct 2012 15:30:21 -0700 Subject: Strict Compile Mode In-Reply-To: References: Message-ID: Don't worry, I still have plenty of those to keep me from being nostalgic! I've pretty much decided that every handler should start with lock messages and lock screen and that I'll scatter random wait with messages commands throughout my code :-) Pete lcSQL Software On Mon, Oct 8, 2012 at 3:01 PM, Mark Wieder wrote: > Yay! But aren't you going to feel nostalgic for all those runtime bugs you > used > to have to hunt down? > From bobs at twft.com Mon Oct 8 19:33:38 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 8 Oct 2012 16:33:38 -0700 Subject: Strict Compile Mode In-Reply-To: References: Message-ID: <39C2BF99-6DDD-47F4-83CB-4B57D430B95E@twft.com> Actually, that's the only way I got my Pachinko game to work. Bob On Oct 8, 2012, at 3:30 PM, Peter Haworth wrote: > Don't worry, I still have plenty of those to keep me from being nostalgic! > > I've pretty much decided that every handler should start with lock messages > and lock screen and that I'll scatter random wait with messages commands > throughout my code :-) > > Pete From walter.h.brown at gmail.com Mon Oct 8 20:36:48 2012 From: walter.h.brown at gmail.com (Walt Brown) Date: Mon, 8 Oct 2012 20:36:48 -0400 Subject: Congrats to Colin In-Reply-To: <005701cda595$91b01a80$b5104f80$@net> References: <50730F18.5030500@fourthworld.com> <004e01cda589$4fa490a0$eeedb1e0$@net> <005701cda595$91b01a80$b5104f80$@net> Message-ID: 1) More congrats to Colin. 2) Will get the book. 3) Ralph, I'm game to get together anywhere in north New Jersey. - I'm on the I-80 corridor just inside PA. Walt On Mon, Oct 8, 2012 at 4:43 PM, Ralph DiMola wrote: > Skip, > > I'm in upstate NY(50 miles north of Albany), but have an office 10 miles > east of NYC and was thinking that I would time those trips with a LC User > group meeting in the NYC tri-state area. Just a thought. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Magicgate > Software - Skip Kimpel > Sent: Monday, October 08, 2012 3:59 PM > To: How to use LiveCode > Subject: Re: Congrats to Colin > > I am in South Florida.. How about you, Ralph? > > SKIP > > On Mon, Oct 8, 2012 at 3:15 PM, Ralph DiMola > wrote: > > Congrats Colin!!!! > > > > > > By the Way....Are there any east coast US LC User Groups? If not, > > anyone interested in starting one? > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdimola at evergreeninfo.net > > > > -----Original Message----- > > From: use-livecode-bounces at lists.runrev.com > > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richard > > Gaskin > > Sent: Monday, October 08, 2012 1:36 PM > > To: How to use LiveCode > > Subject: Congrats to Colin > > > > At our last LiveCode User Group meeting two of our members had Colin's > > book on their devices, which were passed around giving us all an > > opportunity to see the scope of the book and the quality of both the > > writing and the code examples. > > > > Well done, Colin. > > > > -- > > 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mikekann at yahoo.com Mon Oct 8 22:59:42 2012 From: mikekann at yahoo.com (Michael Kann) Date: Mon, 8 Oct 2012 19:59:42 -0700 (PDT) Subject: Put URL and garbage in result from PHP In-Reply-To: Message-ID: <1349751582.63673.YahooMailClassic@web120504.mail.ne1.yahoo.com> Mark, The filler "1f41" is the hex number for 8001 decimal, which is the number of bytes of real data that is coming next. It looks like it is telling you how many bytes you are going to get (in hex), then giving you the bytes you want. The "1e7d" at the end might be the number of data bytes left over that don't fill out the last chunk of 8001. Why it does that I don't know. Mike --- On Mon, 10/8/12, Mark Schonewille wrote: From: Mark Schonewille Subject: Put URL and garbage in result from PHP To: "How to use LiveCode" Date: Monday, October 8, 2012, 9:58 AM Hi, I'm downloading a list of words of 9 characters from a MySQL database using a PHP script and a put URL command in a LiveCode script. Altogether, there are approximately 10000 lines in my list, with one word on each line. Both the PHP script and the LiveCode script run on Mac OS X. I use a put URL command in my LiveCode script, such as put url "http://localhost/~user/list.php" The relevant part of the PHP script is: $q="SELECT xword FROM ydatabase"; $r=mysql_query($q); if (!$r) { ??? echo 'An error occurred: '.mysql_error(); } else { ??? while ($row = mysql_fetch_array($r)) { ??? ??? echo "$row[0]\n"; ??? } } Exactly every 8001 bytes (or 889 words, which are all different), I get some garbage: 1f41 AAAAAAAAA AAAAAAAAB [889 times] AAAAAAAAC 1f41 AAAAAAAAP AAAAAAAAQ [889 times] AAAAAAAAR etc etc etc BBBBBBBBX 1e7d The garbage is often the same but not always and it appears before the first line and after the last line. I have tried several combinations of the content-type and content-transfer-encoding headers in PHP. I have also tried changing the encoding of the PHP script itself. If I call the same URL from CURL and pipe the output to a text file or if I open the URL in a browser, I don't see any garbage: AAAAAAAAA AAAAAAAAB [889 times] AAAAAAAAC AAAAAAAAP AAAAAAAAQ [889 times] AAAAAAAAR etc etc etc BBBBBBBBX Does anyone have an idea what causes LiveCode to add garbage to my list? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mikekann at yahoo.com Mon Oct 8 23:30:43 2012 From: mikekann at yahoo.com (Michael Kann) Date: Mon, 8 Oct 2012 20:30:43 -0700 (PDT) Subject: Put URL and garbage in result from PHP In-Reply-To: Message-ID: <1349753443.66382.YahooMailClassic@web120505.mail.ne1.yahoo.com> Mark, A little more on the "junk" found in your output. The hex number 1e7d is 7805 in decimal, which is not divisible by 9. If all your words have 9 characters then 1e7d cannot represent the number of bytes left over after groups of 8001 bytes have been outputted. What the final 1e7d represents, if anything, is a mystery (at least to me). Mike --- On Mon, 10/8/12, Mark Schonewille wrote: From: Mark Schonewille Subject: Put URL and garbage in result from PHP To: "How to use LiveCode" Date: Monday, October 8, 2012, 9:58 AM Hi, I'm downloading a list of words of 9 characters from a MySQL database using a PHP script and a put URL command in a LiveCode script. Altogether, there are approximately 10000 lines in my list, with one word on each line. Both the PHP script and the LiveCode script run on Mac OS X. I use a put URL command in my LiveCode script, such as put url "http://localhost/~user/list.php" The relevant part of the PHP script is: $q="SELECT xword FROM ydatabase"; $r=mysql_query($q); if (!$r) { ??? echo 'An error occurred: '.mysql_error(); } else { ??? while ($row = mysql_fetch_array($r)) { ??? ??? echo "$row[0]\n"; ??? } } Exactly every 8001 bytes (or 889 words, which are all different), I get some garbage: 1f41 AAAAAAAAA AAAAAAAAB [889 times] AAAAAAAAC 1f41 AAAAAAAAP AAAAAAAAQ [889 times] AAAAAAAAR etc etc etc BBBBBBBBX 1e7d The garbage is often the same but not always and it appears before the first line and after the last line. I have tried several combinations of the content-type and content-transfer-encoding headers in PHP. I have also tried changing the encoding of the PHP script itself. If I call the same URL from CURL and pipe the output to a text file or if I open the URL in a browser, I don't see any garbage: AAAAAAAAA AAAAAAAAB [889 times] AAAAAAAAC AAAAAAAAP AAAAAAAAQ [889 times] AAAAAAAAR etc etc etc BBBBBBBBX Does anyone have an idea what causes LiveCode to add garbage to my list? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Oct 8 23:34:09 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 8 Oct 2012 23:34:09 -0400 Subject: Congrats to Colin In-Reply-To: References: <50730F18.5030500@fourthworld.com> <004e01cda589$4fa490a0$eeedb1e0$@net> <005701cda595$91b01a80$b5104f80$@net> Message-ID: <006f01cda5ce$f1b74be0$d525e3a0$@net> Great Walt! If anyone else wants to get together, chime in. I was thinking of someplace near Mass transport so maybe some NYC folks might want to get involved. I'm originally from North Jersey so I could make some location suggestions based on the distribution of the interested parties. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Walt Brown Sent: Monday, October 08, 2012 8:37 PM To: How to use LiveCode Subject: Re: Congrats to Colin 1) More congrats to Colin. 2) Will get the book. 3) Ralph, I'm game to get together anywhere in north New Jersey. - I'm on the I-80 corridor just inside PA. Walt On Mon, Oct 8, 2012 at 4:43 PM, Ralph DiMola wrote: > Skip, > > I'm in upstate NY(50 miles north of Albany), but have an office 10 > miles east of NYC and was thinking that I would time those trips with > a LC User group meeting in the NYC tri-state area. Just a thought. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Magicgate > Software - Skip Kimpel > Sent: Monday, October 08, 2012 3:59 PM > To: How to use LiveCode > Subject: Re: Congrats to Colin > > I am in South Florida.. How about you, Ralph? > > SKIP > > On Mon, Oct 8, 2012 at 3:15 PM, Ralph DiMola > > wrote: > > Congrats Colin!!!! > > > > > > By the Way....Are there any east coast US LC User Groups? If not, > > anyone interested in starting one? > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdimola at evergreeninfo.net > > > > -----Original Message----- > > From: use-livecode-bounces at lists.runrev.com > > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richard > > Gaskin > > Sent: Monday, October 08, 2012 1:36 PM > > To: How to use LiveCode > > Subject: Congrats to Colin > > > > At our last LiveCode User Group meeting two of our members had > > Colin's book on their devices, which were passed around giving us > > all an opportunity to see the scope of the book and the quality of > > both the writing and the code examples. > > > > Well done, Colin. > > > > -- > > 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From Hakan at Exformedia.se Tue Oct 9 01:16:21 2012 From: Hakan at Exformedia.se (Hakan at Exformedia.se) Date: Tue, 9 Oct 2012 07:16:21 +0200 Subject: Put URL and garbage in result from PHP In-Reply-To: References: Message-ID: <5492BB16-6E57-400F-90A0-06C251DAD98A@Exformedia.se> If you access your data via command line. Is it OK then? Then I hope you instead of "SELECT xword FROM ydatabase" really wants "SELECT xword FROM YTABLE"? What does your HTTP-headers look like? maybe it's an encoding issue that somehow garbles LiveCode? I've never seen this issue in LiveCode myself. :-H?kan 8 okt 2012 kl. 16:58 skrev Mark Schonewille: > Hi, > > I'm downloading a list of words of 9 characters from a MySQL database using a PHP script and a put URL command in a LiveCode script. Altogether, there are approximately 10000 lines in my list, with one word on each line. > > Both the PHP script and the LiveCode script run on Mac OS X. I use a put URL command in my LiveCode script, such as > > put url "http://localhost/~user/list.php" > > The relevant part of the PHP script is: > > $q="SELECT xword FROM ydatabase"; > $r=mysql_query($q); > if (!$r) { > echo 'An error occurred: '.mysql_error(); > } > else { > while ($row = mysql_fetch_array($r)) { > echo "$row[0]\n"; > } > } > > Exactly every 8001 bytes (or 889 words, which are all different), I get some garbage: > > 1f41 > AAAAAAAAA > AAAAAAAAB > [889 times] > AAAAAAAAC > 1f41 > AAAAAAAAP > AAAAAAAAQ > [889 times] > AAAAAAAAR > etc etc etc > BBBBBBBBX > 1e7d > > The garbage is often the same but not always and it appears before the first line and after the last line. I have tried several combinations of the content-type and content-transfer-encoding headers in PHP. I have also tried changing the encoding of the PHP script itself. > > If I call the same URL from CURL and pipe the output to a text file or if I open the URL in a browser, I don't see any garbage: > > AAAAAAAAA > AAAAAAAAB > [889 times] > AAAAAAAAC > AAAAAAAAP > AAAAAAAAQ > [889 times] > AAAAAAAAR > etc etc etc > BBBBBBBBX > > Does anyone have an idea what causes LiveCode to add garbage to my list? > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Oct 9 03:05:32 2012 From: john at splash21.com (John Craig) Date: Tue, 09 Oct 2012 08:05:32 +0100 Subject: Put URL and garbage in result from PHP In-Reply-To: References: Message-ID: <5073CCBC.7000605@splash21.com> Have you tried just outputting the data with no headers? JC On 08/10/2012 15:58, Mark Schonewille wrote: > Hi, > > I'm downloading a list of words of 9 characters from a MySQL database using a PHP script and a put URL command in a LiveCode script. Altogether, there are approximately 10000 lines in my list, with one word on each line. > > Both the PHP script and the LiveCode script run on Mac OS X. I use a put URL command in my LiveCode script, such as > > put url "http://localhost/~user/list.php" > > The relevant part of the PHP script is: > > $q="SELECT xword FROM ydatabase"; > $r=mysql_query($q); > if (!$r) { > echo 'An error occurred: '.mysql_error(); > } > else { > while ($row = mysql_fetch_array($r)) { > echo "$row[0]\n"; > } > } > > Exactly every 8001 bytes (or 889 words, which are all different), I get some garbage: > > 1f41 > AAAAAAAAA > AAAAAAAAB > [889 times] > AAAAAAAAC > 1f41 > AAAAAAAAP > AAAAAAAAQ > [889 times] > AAAAAAAAR > etc etc etc > BBBBBBBBX > 1e7d > > The garbage is often the same but not always and it appears before the first line and after the last line. I have tried several combinations of the content-type and content-transfer-encoding headers in PHP. I have also tried changing the encoding of the PHP script itself. > > If I call the same URL from CURL and pipe the output to a text file or if I open the URL in a browser, I don't see any garbage: > > AAAAAAAAA > AAAAAAAAB > [889 times] > AAAAAAAAC > AAAAAAAAP > AAAAAAAAQ > [889 times] > AAAAAAAAR > etc etc etc > BBBBBBBBX > > Does anyone have an idea what causes LiveCode to add garbage to my list? > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dave.cragg at lacscentre.co.uk Tue Oct 9 04:37:09 2012 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 9 Oct 2012 09:37:09 +0100 Subject: Put URL and garbage in result from PHP In-Reply-To: References: Message-ID: On 8 Oct 2012, at 15:58, Mark Schonewille wrote: > Exactly every 8001 bytes (or 889 words, which are all different), I get some garbage: > > 1f41 > AAAAAAAAA > AAAAAAAAB > [889 times] > AAAAAAAAC > 1f41 > AAAAAAAAP > AAAAAAAAQ > [889 times] > AAAAAAAAR > etc etc etc > BBBBBBBBX > 1e7d > > The garbage is often the same but not always and it appears before the first line and after the last line. I have tried several combinations of the content-type and content-transfer-encoding headers in PHP. I have also tried changing the encoding of the PHP script itself. > Mark (Answer based on behavior of libUrl from a couple of years ago) It looks like the format of a 'chunked' Transfer-Encoding. LibUrl should deal with this. Can you check if the response headers contain a line like this: Transfer-Encoding: chunked If so, there shouldn't also be a Content-Length header. If there is, libUrl will just read raw data for the length of the Content-Length header. If there is neither, libUrl will read data until the socket is closed. I think 'chunked' is normal for php scripts of the style you showed (echo in a loop). So it looks like something odd is happening in this case. Dave From m.schonewille at economy-x-talk.com Tue Oct 9 04:44:19 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 9 Oct 2012 10:44:19 +0200 Subject: Put URL and garbage in result from PHP In-Reply-To: <5492BB16-6E57-400F-90A0-06C251DAD98A@Exformedia.se> References: <5492BB16-6E57-400F-90A0-06C251DAD98A@Exformedia.se> Message-ID: <3245F11E-16E5-4C11-839E-9B3F40B61EC1@economy-x-talk.com> Yes, Hakan, it is a table and not a database. Thanks. -- 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 On 9 okt 2012, at 07:16, Hakan at Exformedia.se wrote: > If you access your data via command line. Is it OK then? Then I hope you instead of "SELECT xword FROM ydatabase" really wants "SELECT xword FROM YTABLE"? What does your HTTP-headers look like? maybe it's an encoding issue that somehow garbles LiveCode? I've never seen this issue in LiveCode myself. > > :-H?kan From m.schonewille at economy-x-talk.com Tue Oct 9 04:45:00 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 9 Oct 2012 10:45:00 +0200 Subject: Put URL and garbage in result from PHP In-Reply-To: <5073CCBC.7000605@splash21.com> References: <5073CCBC.7000605@splash21.com> Message-ID: Craig, First, I tried it without headers and I added them to see if it would solve the problem. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com On 9 okt 2012, at 09:05, John Craig wrote: > Have you tried just outputting the data with no headers? > > JC > From benr_mc at cogapp.com Tue Oct 9 04:48:00 2012 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 09 Oct 2012 09:48:00 +0100 Subject: Strict Compile Mode In-Reply-To: References: Message-ID: <5073E4C0.9090307@cogapp.com> On 08/10/2012 21:15, Peter Haworth wrote: > I was surprised to find that not all variables have to be defined in this > mode. It seems that using a variable in a repeat command such as "repeat > with x=1 to 10" does not require x to be defined as a local variable, nor > is an error flagged when x is used later in the handler, either within the > loop or after it. I can't decide if I like that or not. http://quality.runrev.com/show_bug.cgi?id=6143 > It also seems that sometimes LC constants have to beenclosed in quotes. > For example "Set the backgroundcolor of field "xyz" to empty" works fine > but "set the backgroundcolor of field "xyz" to black" fails and I have to > put quotes around black, even though black is colored in the script as if > it is a known LC constant. Not a big deal, just wondering why that is. We thought those things were constants (as empty is); it turns out that they were really literals (although the dictionary describes them as keywords). I think the script editor colouring is the same as for any other quoted string. > Also, not really related to the rest of this, what does the Preference > setting "Variable Preservation" do? Can't find any reference to it in the > User Guide. It's effectively nullified by what I think is a bug http://quality.runrev.com/show_bug.cgi?id=3406 It should be what you set so that you're always in 'explicit vars' mode by default. However, since the menu item "Variable checking" is sticky between launches, it is now as far as I know meaningless. What would be really useful (as requested in above RQCC report) is to make the setting sticky per script (with the preference then affecting new scripts). This would enable one to be 'virtuous' by default, but not unduly inconvenienced when working with old or contributed code. The problem I find is that if I have to fix eg a bug in a library, that's not 'explicit vars clean', I need to switch off the setting. I may then forget, and lose the protection when I'm working on more modern scripts. Sadly you can no longer vote for reports in RQCC... Ben From m.schonewille at economy-x-talk.com Tue Oct 9 04:53:48 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 9 Oct 2012 10:53:48 +0200 Subject: Put URL and garbage in result from PHP In-Reply-To: References: Message-ID: Hi Dave, If I don't set any headers in the PHP script, then the libUrlLastHTTPHeaders are: GET /~user/list.php HTTP/1.1 Host: localhost User-Agent: Revolution (MacOS) There is no transfer-encoding header and no content-length header. If I move the echo command from the repeat loop to the end of the PHP script, then I get only one piece of garbage at the beginning of the data, which is 1e550. -- 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 On 9 okt 2012, at 10:37, Dave Cragg wrote: > > Mark > > (Answer based on behavior of libUrl from a couple of years ago) > > It looks like the format of a 'chunked' Transfer-Encoding. LibUrl should deal with this. Can you check if the response headers contain a line like this: > > Transfer-Encoding: chunked > > If so, there shouldn't also be a Content-Length header. If there is, libUrl will just read raw data for the length of the Content-Length header. > > If there is neither, libUrl will read data until the socket is closed. > > I think 'chunked' is normal for php scripts of the style you showed (echo in a loop). So it looks like something odd is happening in this case. > > Dave From monte at sweattechnologies.com Tue Oct 9 05:00:11 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 9 Oct 2012 20:00:11 +1100 Subject: Put URL and garbage in result from PHP In-Reply-To: References: Message-ID: Don't you want libURLLastRHHeaders? On 09/10/2012, at 7:53 PM, Mark Schonewille wrote: > If I don't set any headers in the PHP script, then the libUrlLastHTTPHeaders are: -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From m.schonewille at economy-x-talk.com Tue Oct 9 05:02:40 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 9 Oct 2012 11:02:40 +0200 Subject: Put URL and garbage in result from PHP In-Reply-To: <1349751582.63673.YahooMailClassic@web120504.mail.ne1.yahoo.com> References: <1349751582.63673.YahooMailClassic@web120504.mail.ne1.yahoo.com> Message-ID: <1BE07FD2-C075-4963-8A05-BD1BC0C3570C@economy-x-talk.com> Thanks Mike, You're right, the garbage indicates the amount of data. If I use only one echo command at the end of the PHP script, then I get 1e550, which equals the the total amount of data. Oddly, I get an additional 2 at the end of the data, followed by 3 linefeeds and a 0 and 2 more linefeeds. -- 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 On 9 okt 2012, at 04:59, Michael Kann wrote: > Mark, > > The filler "1f41" is the hex number for 8001 decimal, which is the number of bytes of real data that is coming next. It looks like it is telling you how many bytes you are going to get (in hex), then giving you the bytes you want. The "1e7d" at the end might be the number of data bytes left over that don't fill out the last chunk of 8001. > > Why it does that I don't know. > > Mike > From m.schonewille at economy-x-talk.com Tue Oct 9 05:12:27 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 9 Oct 2012 11:12:27 +0200 Subject: Put URL and garbage in result from PHP In-Reply-To: References: Message-ID: Hi Monte, I think you're right. The libURLLastRHHeaders return: HTTP/1.1 200 OK Date: Tue, 09 Oct 2012 08:52:49 GMT Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r DAV/2 PHP/5.3.8 mod_fastcgi/2.4.2 X-Powered-By: PHP/5.3.8 Content-Transfer-Encoding: text Transfer-Encoding: chunked Content-Type: text/utf8 Now I see "chunked", even if I use only one echo command. If I add a content-length header, the problem seems to be solved, but this forced me to store all data in a variable in PHP before echoing it, which I was trying to avoid because the data can grow to several MB's. Strange, that I didn't see this happen before. -- 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 On 9 okt 2012, at 11:00, Monte Goulding wrote: > Don't you want libURLLastRHHeaders? From dave.cragg at lacscentre.co.uk Tue Oct 9 07:33:15 2012 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 9 Oct 2012 12:33:15 +0100 Subject: Put URL and garbage in result from PHP In-Reply-To: References: Message-ID: <2C49B388-FB45-47F2-B7B8-89F48C98DD63@lacscentre.co.uk> On 9 Oct 2012, at 10:12, Mark Schonewille wrote: > Hi Monte, > > I think you're right. The libURLLastRHHeaders return: > > HTTP/1.1 200 OK > Date: Tue, 09 Oct 2012 08:52:49 GMT > Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r DAV/2 PHP/5.3.8 mod_fastcgi/2.4.2 > X-Powered-By: PHP/5.3.8 > Content-Transfer-Encoding: text > Transfer-Encoding: chunked > Content-Type: text/utf8 I think the Content-Transfer-Encoding header may be causing the problem. (More accurately, a libUrl bug is causing the problem). A quick check in older libUrl code shows that lineOffset("Transfer-Encoding:",) is used to find the Transfer-Encoding header. That will pick up the Content-Transfer-Encoding header instead. That would explain what you're seeing. Although it seems like a bug in libUrl, the "Content-Transfer-Encoding: text" header seems unusual. "text" isn't specified as a possible value here. (Typical is base64, binary, etc.) Are you doing anything that might cause that to get set? As a possible workaround, what happens if you specifically set the "Transfer-Encoding: chunked" header early in the php script. If it causes it to come before the "Content-Transfer-Encoding" header, I'd guess it would work. Cheers Dave From dave.cragg at lacscentre.co.uk Tue Oct 9 07:44:57 2012 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 9 Oct 2012 12:44:57 +0100 Subject: Put URL and garbage in result from PHP In-Reply-To: <2C49B388-FB45-47F2-B7B8-89F48C98DD63@lacscentre.co.uk> References: <2C49B388-FB45-47F2-B7B8-89F48C98DD63@lacscentre.co.uk> Message-ID: Just a follow-up on this. Apparently "Content-Transfer-Encoding" is not a valid http header. (It may appear in parts of a multipart form). So I should withdraw the claim that this is a bug in libUrl. from rfc 2068: ----------------------------------------------------------- 19.4.4 No Content-Transfer-Encoding HTTP does not use the Content-Transfer-Encoding (CTE) field of MIME. ------------------------------------------------------------- Dave On 9 Oct 2012, at 12:33, Dave Cragg wrote: > > On 9 Oct 2012, at 10:12, Mark Schonewille wrote: > >> Hi Monte, >> >> I think you're right. The libURLLastRHHeaders return: >> >> HTTP/1.1 200 OK >> Date: Tue, 09 Oct 2012 08:52:49 GMT >> Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r DAV/2 PHP/5.3.8 mod_fastcgi/2.4.2 >> X-Powered-By: PHP/5.3.8 >> Content-Transfer-Encoding: text >> Transfer-Encoding: chunked >> Content-Type: text/utf8 > > I think the Content-Transfer-Encoding header may be causing the problem. (More accurately, a libUrl bug is causing the problem). A quick check in older libUrl code shows that lineOffset("Transfer-Encoding:",) is used to find the Transfer-Encoding header. That will pick up the Content-Transfer-Encoding header instead. That would explain what you're seeing. > > Although it seems like a bug in libUrl, the "Content-Transfer-Encoding: text" header seems unusual. "text" isn't specified as a possible value here. (Typical is base64, binary, etc.) Are you doing anything that might cause that to get set? > > As a possible workaround, what happens if you specifically set the "Transfer-Encoding: chunked" header early in the php script. If it causes it to come before the "Content-Transfer-Encoding" header, I'd guess it would work. > > Cheers > Dave > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Tue Oct 9 07:53:54 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 9 Oct 2012 07:53:54 -0400 Subject: Strict Compile Mode In-Reply-To: References: Message-ID: <6B4B832C-2FEF-4814-955F-4E521621E3EF@gmail.com> That's fine if you never use visual effects, since everything unlocks when the current handlers are done and the engine issues an idle message. But if you need visual transitions, scattering around lock screen commands is a nightmare -- I can't tell you how much time I've spend trying to chase down an obscure extra lock screen that breaks my visual effects. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Oct 8, 2012, at 6:30 PM, Peter Haworth wrote: > I've pretty much decided that every handler should start with lock messages > and lock screen... From sschvarstein at gmail.com Tue Oct 9 07:57:12 2012 From: sschvarstein at gmail.com (Sergio Schvarstein) Date: Tue, 9 Oct 2012 13:57:12 +0200 Subject: Cannot build a standalone application Message-ID: <1A90AE25-364F-425E-A27C-EC7DE91F7153@gmail.com> Hi, I am trying to create a standalone application and I get the message: There was an error while saving the standalone application. Performing iOS device builds requires the iOS 5.0 SDK platform to be installed. I've just made the whole Apple upgrades (iOS 6, last Mountain Lion, last Xcode, last LiveCode, etc.) and I've been browsing all the post about these troubles in the list. I could solution the simulator trouble downloading from Xcode the 5.1 simulator and I've also verified I have the right test platform, certificate and app ID. Any suggestion ? I am completely stopped with my work because of this issue, so any quick help would be appreciated. Thanks and Regards. ______________________________ Sergio Schvarstein ______________________________ From larsbrehmer at me.com Tue Oct 9 08:02:34 2012 From: larsbrehmer at me.com (Lars Brehmer) Date: Tue, 09 Oct 2012 15:02:34 +0300 Subject: iOS simulator won't (still) work Message-ID: <7BE338CF-49BB-4918-9F5D-DBF0F86F0F2A@me.com> Thanks again for the reply Colin! > Something that may help narrow down the issue, what happens if you give the app a custom icon? Does it then show that icon and fail to open, or is it still a white icon? > > Which version of LiveCode are you using, and which iOS version? I quickly made a test icon (72 X 72 saved as .png 24) and in the iOS standalone settings clicked on pre-rendered. In the simulator the icon showed up properly but the result was the same - it just slides up and left, returns but nothing else happens. And when I double-click the home button, the icon shows up in the running apps. liveCode 5.5.2 build 1492 OSX Mountain Lion 10.8.2 Xcode 4.5.1 I still think I am overlooking something obvious but have no idea what that could be. The full standalone application settings: Build for iOS iPad 3.1.3 or later universal myTestApp version 1.0.0 com.warrenbrehmer.myTestApp Profile myProfile (which is what I oh so cleverly named my profile;-) no externals prerendered icon no splash screen portrait no custom URL scheme no requirements and restrictions status bar visible - default Cheers, Lars From guglielmo at braguglia.ch Tue Oct 9 08:06:30 2012 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Tue, 09 Oct 2012 14:06:30 +0200 Subject: Cannot build a standalone application In-Reply-To: <1A90AE25-364F-425E-A27C-EC7DE91F7153@gmail.com> References: <1A90AE25-364F-425E-A27C-EC7DE91F7153@gmail.com> Message-ID: <50741346.6080503@braguglia.ch> Hi Sergio, .../I've just made the whole Apple upgrades (iOS 6, last Mountain Lion, last Xcode, last LiveCode, etc.)/ ... this is your problem ... :-) The current official LiveCode release (5.5.2) is NOT compatible with Xcode 4.5 ... see this discussion on the forum : http://forums.runrev.com/viewtopic.php?f=49&t=12949 Guglielmo On 09.10.2012 13:57, Sergio Schvarstein wrote: > Hi, > > I am trying to create a standalone application and I get the message: > There was an error while saving the standalone application. Performing iOS device builds requires the iOS 5.0 SDK platform to be installed. > > I've just made the whole Apple upgrades (iOS 6, last Mountain Lion, last Xcode, last LiveCode, etc.) and I've been browsing all the post about these troubles in the list. > I could solution the simulator trouble downloading from Xcode the 5.1 simulator and I've also verified I have the right test platform, certificate and app ID. > > Any suggestion ? > > I am completely stopped with my work because of this issue, so any quick help would be appreciated. > > Thanks and Regards. > > ______________________________ > Sergio Schvarstein > > ______________________________ > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Oct 9 08:11:22 2012 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Tue, 09 Oct 2012 14:11:22 +0200 Subject: iOS simulator won't (still) work In-Reply-To: <7BE338CF-49BB-4918-9F5D-DBF0F86F0F2A@me.com> References: <7BE338CF-49BB-4918-9F5D-DBF0F86F0F2A@me.com> Message-ID: <5074146A.8050208@braguglia.ch> Do you know that this configuration is *NOT* officially supported by RunRev ? This is what RunRev OFFICIALLY say (/... on the developers list/) : with LiveCode 5.5.2 you have to use xCode 4.4.1 with LiveCode 5.5.3 (/when will be officially released/) can use xCode 4.5 so ... I think is normal to have problems ... :-( Guglielmo On 09.10.2012 14:02, Lars Brehmer wrote: > Thanks again for the reply Colin! > >> Something that may help narrow down the issue, what happens if you give the app a custom icon? Does it then show that icon and fail to open, or is it still a white icon? >> >> Which version of LiveCode are you using, and which iOS version? > > I quickly made a test icon (72 X 72 saved as .png 24) and in the iOS standalone settings clicked on pre-rendered. > > In the simulator the icon showed up properly but the result was the same - it just slides up and left, returns but nothing else happens. And when I double-click the home button, the icon shows up in the running apps. > > liveCode 5.5.2 build 1492 > > OSX Mountain Lion 10.8.2 > > Xcode 4.5.1 > > I still think I am overlooking something obvious but have no idea what that could be. > > The full standalone application settings: > > Build for iOS iPad 3.1.3 or later universal > > myTestApp version 1.0.0 > > com.warrenbrehmer.myTestApp > > Profile myProfile (which is what I oh so cleverly named my profile;-) > > no externals > > prerendered icon > > no splash screen > > portrait > > no custom URL scheme > > no requirements and restrictions > > status bar visible - default > > Cheers, > > Lars From m.schonewille at economy-x-talk.com Tue Oct 9 08:48:35 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 9 Oct 2012 14:48:35 +0200 Subject: Cannot build a standalone application In-Reply-To: <50741346.6080503@braguglia.ch> References: <1A90AE25-364F-425E-A27C-EC7DE91F7153@gmail.com> <50741346.6080503@braguglia.ch> Message-ID: <86299FD5-FE98-4E8B-B53F-E022387C391A@economy-x-talk.com> Hi, This worries me. I have a feeling that LiveCode never works with state-of-the-art technology but that I'm always be using tools that are obsolete already. When 5.6 or 6.0 appears, we'll have a new version of XCode already as well as a new version of Android and again we'll be using old technology. It is one of the reasons why I'm very reluctant buying upgrades. -- 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 On 9 okt 2012, at 14:06, Guglielmo Braguglia wrote: > Hi Sergio, > .../I've just made the whole Apple upgrades (iOS 6, last Mountain Lion, last Xcode, last LiveCode, etc.)/ ... this is your problem ... :-) > > The current official LiveCode release (5.5.2) is NOT compatible with Xcode 4.5 ... see this discussion on the forum : http://forums.runrev.com/viewtopic.php?f=49&t=12949 > > Guglielmo From guglielmo at braguglia.ch Tue Oct 9 09:26:07 2012 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Tue, 09 Oct 2012 15:26:07 +0200 Subject: Cannot build a standalone application In-Reply-To: <86299FD5-FE98-4E8B-B53F-E022387C391A@economy-x-talk.com> References: <1A90AE25-364F-425E-A27C-EC7DE91F7153@gmail.com> <50741346.6080503@braguglia.ch> <86299FD5-FE98-4E8B-B53F-E022387C391A@economy-x-talk.com> Message-ID: <507425EF.7010603@braguglia.ch> Hi Mark, developers have the 5.5.3 "release candidate" already from two weeks ... RunRev is working hard to implement the new official release ... ;-) Guglielmo On 09.10.2012 14:48, Mark Schonewille wrote: > Hi, > > This worries me. I have a feeling that LiveCode never works with state-of-the-art technology but that I'm always be using tools that are obsolete already. When 5.6 or 6.0 appears, we'll have a new version of XCode already as well as a new version of Android and again we'll be using old technology. It is one of the reasons why I'm very reluctant buying upgrades. > > -- > 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 > > > > On 9 okt 2012, at 14:06, Guglielmo Braguglia wrote: > >> Hi Sergio, >> .../I've just made the whole Apple upgrades (iOS 6, last Mountain Lion, last Xcode, last LiveCode, etc.)/ ... this is your problem ... :-) >> >> The current official LiveCode release (5.5.2) is NOT compatible with Xcode 4.5 ... see this discussion on the forum : http://forums.runrev.com/viewtopic.php?f=49&t=12949 >> >> Guglielmo From ambassador at fourthworld.com Tue Oct 9 10:38:40 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 09 Oct 2012 07:38:40 -0700 Subject: Cannot build a standalone application In-Reply-To: <86299FD5-FE98-4E8B-B53F-E022387C391A@economy-x-talk.com> References: <86299FD5-FE98-4E8B-B53F-E022387C391A@economy-x-talk.com> Message-ID: <507436F0.1040508@fourthworld.com> Mark Schonewille wrote: > This worries me. I have a feeling that LiveCode never works with > state-of-the-art technology but that I'm always be using tools > that are obsolete already. When 5.6 or 6.0 appears, we'll have a > new version of XCode already as well as a new version of Android > and again we'll be using old technology. It is one of the reasons > why I'm very reluctant buying upgrades. I think this is just inherent in the nature of RAD tools like LiveCode, or any sufficiently complex system dependent on another. We've seen this with all OSes since the engine was first born in '92: the RunRev team works with betas of any new OS, the OS gets released, RunRev is then able to finish their updates, and we get the update for the new OS after the OS release. The alternative is to code in Objective C. Each has its advantages and disadvantages. Choose your poison. ;) If you're Roxio, it makes sense to code in C. If you're like most LiveCoders, you're making so much more money with your desktop apps that you can afford to wait to update your mobile apps. -- 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 Tue Oct 9 10:46:28 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 9 Oct 2012 16:46:28 +0200 Subject: Cannot build a standalone application In-Reply-To: <507436F0.1040508@fourthworld.com> References: <86299FD5-FE98-4E8B-B53F-E022387C391A@economy-x-talk.com> <507436F0.1040508@fourthworld.com> Message-ID: <216FE008-B526-46BD-8339-C6A4799BD8E6@economy-x-talk.com> Richard, Apple provides developers with preview releases of Mac OS X and XCode. That's sufficient to make sure that RAD tools like LiveCode are up-to-date the day that the next OSX or XCode is released. Anyway, the point is not to discuss with you whether something is possible or not. The point is that I am worried and I'd like RunRev (not you) to take my worries away, if they want me to upgrade more frequently. -- 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 On 9 okt 2012, at 16:38, Richard Gaskin wrote: > Mark Schonewille wrote: > > > This worries me. I have a feeling that LiveCode never works with > > state-of-the-art technology but that I'm always be using tools > > that are obsolete already. When 5.6 or 6.0 appears, we'll have a > > new version of XCode already as well as a new version of Android > > and again we'll be using old technology. It is one of the reasons > > why I'm very reluctant buying upgrades. > > I think this is just inherent in the nature of RAD tools like LiveCode, or any sufficiently complex system dependent on another. We've seen this with all OSes since the engine was first born in '92: the RunRev team works with betas of any new OS, the OS gets released, RunRev is then able to finish their updates, and we get the update for the new OS after the OS release. > > The alternative is to code in Objective C. > > Each has its advantages and disadvantages. Choose your poison. ;) > > If you're Roxio, it makes sense to code in C. If you're like most LiveCoders, you're making so much more money with your desktop apps that you can afford to wait to update your mobile apps. From andrew at ctech.me Tue Oct 9 10:50:38 2012 From: andrew at ctech.me (Andrew Kluthe) Date: Tue, 9 Oct 2012 09:50:38 -0500 Subject: Multiple Stack Instances In-Reply-To: References: Message-ID: This is kind of what I do already, Mark. I really want to allow them to have several open forms that they can minimize and pull back up as needed. There will probably only be about 4-5 maximum instances of this at a time. But I want to code 1 stack and have many instantiate copies of the stack. I can handle the data stores and all of that but how do I actually turn 1 stack into 4-5 stacks with script? Do I just 'copy stack "form" ' and if that is the ticket, how do I manage calls to that stack if they all use the same stack name? I''ve never constructed cards or stacks with scripts before. Thank you for the response, Andrew Kluthe On Mon, Oct 8, 2012 at 1:04 PM, Mark Schonewille wrote: > Hi Andrew, > > I would use only one stack with one form and keep the data in a custom property. Put the data into the fields in a preOpenCard handler. > > Another option is to use multiple cards in one stack and display different cards as required. > > -- > 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 > > > > On 8 okt 2012, at 19:27, Andrew Kluthe wrote: > >> Hey there, >> >> I have come across a scenario when I need to be able to have multiple >> copies of the same stack with different form data in the field. So >> that the user can have multiple instances of this form available to >> switch between. Typically, I just allow them to edit 1 record at a >> time and launch that form as a modal or a single palette that fills >> and saves the form as it is edited or another one is selected, but >> that isn't going to work here. >> >> This seems like rookie stuff, but I am not sure how to go about it. >> >> What kind of process do some of you use to handle this? >> >> -- >> 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 -- Regards, Andrew Kluthe andrew at ctech.me From klaus at major.on-rev.com Tue Oct 9 11:01:24 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 9 Oct 2012 17:01:24 +0200 Subject: Multiple Stack Instances In-Reply-To: References: Message-ID: <260B9904-F6C5-4437-9C4A-35A10830CC6C@major.on-rev.com> Hi Andrew, Am 09.10.2012 um 16:50 schrieb Andrew Kluthe : > This is kind of what I do already, Mark. I really want to allow them > to have several open forms that they can minimize and pull back up as > needed. There will probably only be about 4-5 maximum instances of > this at a time. But I want to code 1 stack and have many instantiate > copies of the stack. I can handle the data stores and all of that but > how do I actually turn 1 stack into 4-5 stacks with script? Do I just > 'copy stack "form" ' and if that is the ticket, how do I manage calls > to that stack if they all use the same stack name? I''ve never > constructed cards or stacks with scripts before. here is what I did in the past: 1. Create your "form" stack as a mainstack will all elements and scripts 2. Save it to disk 3. Read it into a custom property: ... set the cFormStack of this stack to url("binfile:" & pathtoyourmaistack) ... 4. open it and rename it immediately to avoid name conflicts like this: ... put the cFormStack of this stack into tStack go stack tStack set the short name of stack "your_template_form" to ("form" & the seconds) ## or whatever the name of the original stack was ... This way you can have some kind of template stack (not templatestack! ;-) create gazillions of instances from it and don't need to mess around with "clone" or whatever. Sounds strange, but works like a charm :-D > Thank you for the response, > > Andrew Kluthe Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From bonnmike at gmail.com Tue Oct 9 11:08:04 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 9 Oct 2012 09:08:04 -0600 Subject: Multiple Stack Instances In-Reply-To: <260B9904-F6C5-4437-9C4A-35A10830CC6C@major.on-rev.com> References: <260B9904-F6C5-4437-9C4A-35A10830CC6C@major.on-rev.com> Message-ID: If the stack is a substack or a mainstack with no subs you can also skip the step of having a middleman file. copy stack "stackname" set the mysavedstack of this stack to the clipboarddata["objects"] To restore the stack.. set the clipboarddata["objects"] to the mysavedstack of this stack paste If the stack exists in memory already it'll show up as "copy of.." and you can do as andrew said, just rename it. After the paste "it" will contain the name of the just pasted stack making it easy to name it whatever you want. On Tue, Oct 9, 2012 at 9:01 AM, Klaus on-rev wrote: > Hi Andrew, > > Am 09.10.2012 um 16:50 schrieb Andrew Kluthe : > > > This is kind of what I do already, Mark. I really want to allow them > > to have several open forms that they can minimize and pull back up as > > needed. There will probably only be about 4-5 maximum instances of > > this at a time. But I want to code 1 stack and have many instantiate > > copies of the stack. I can handle the data stores and all of that but > > how do I actually turn 1 stack into 4-5 stacks with script? Do I just > > 'copy stack "form" ' and if that is the ticket, how do I manage calls > > to that stack if they all use the same stack name? I''ve never > > constructed cards or stacks with scripts before. > > here is what I did in the past: > 1. Create your "form" stack as a mainstack will all elements and scripts > 2. Save it to disk > 3. Read it into a custom property: > ... > set the cFormStack of this stack to url("binfile:" & pathtoyourmaistack) > ... > 4. open it and rename it immediately to avoid name conflicts like this: > ... > put the cFormStack of this stack into tStack > go stack tStack > set the short name of stack "your_template_form" to ("form" & the seconds) > ## or whatever the name of the original stack was > ... > > This way you can have some kind of template stack (not templatestack! ;-) > create gazillions of instances from it and don't need to mess around with > "clone" or whatever. > > Sounds strange, but works like a charm :-D > > > Thank you for the response, > > > > Andrew Kluthe > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From andrew at ctech.me Tue Oct 9 11:10:12 2012 From: andrew at ctech.me (Andrew Kluthe) Date: Tue, 9 Oct 2012 10:10:12 -0500 Subject: Multiple Stack Instances In-Reply-To: References: <260B9904-F6C5-4437-9C4A-35A10830CC6C@major.on-rev.com> Message-ID: Very helpful responses all around. Thank you. :) On Tue, Oct 9, 2012 at 10:08 AM, Mike Bonner wrote: > If the stack is a substack or a mainstack with no subs you can also skip > the step of having a middleman file. > > copy stack "stackname" > set the mysavedstack of this stack to the clipboarddata["objects"] > > To restore the stack.. > set the clipboarddata["objects"] to the mysavedstack of this stack > paste > > If the stack exists in memory already it'll show up as "copy of.." and you > can do as andrew said, just rename it. After the paste "it" will contain > the name of the just pasted stack making it easy to name it whatever you > want. > > On Tue, Oct 9, 2012 at 9:01 AM, Klaus on-rev wrote: > >> Hi Andrew, >> >> Am 09.10.2012 um 16:50 schrieb Andrew Kluthe : >> >> > This is kind of what I do already, Mark. I really want to allow them >> > to have several open forms that they can minimize and pull back up as >> > needed. There will probably only be about 4-5 maximum instances of >> > this at a time. But I want to code 1 stack and have many instantiate >> > copies of the stack. I can handle the data stores and all of that but >> > how do I actually turn 1 stack into 4-5 stacks with script? Do I just >> > 'copy stack "form" ' and if that is the ticket, how do I manage calls >> > to that stack if they all use the same stack name? I''ve never >> > constructed cards or stacks with scripts before. >> >> here is what I did in the past: >> 1. Create your "form" stack as a mainstack will all elements and scripts >> 2. Save it to disk >> 3. Read it into a custom property: >> ... >> set the cFormStack of this stack to url("binfile:" & pathtoyourmaistack) >> ... >> 4. open it and rename it immediately to avoid name conflicts like this: >> ... >> put the cFormStack of this stack into tStack >> go stack tStack >> set the short name of stack "your_template_form" to ("form" & the seconds) >> ## or whatever the name of the original stack was >> ... >> >> This way you can have some kind of template stack (not templatestack! ;-) >> create gazillions of instances from it and don't need to mess around with >> "clone" or whatever. >> >> Sounds strange, but works like a charm :-D >> >> > Thank you for the response, >> > >> > Andrew Kluthe >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> http://www.major-k.de >> klaus at major.on-rev.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode 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 bobs at twft.com Tue Oct 9 11:37:56 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 9 Oct 2012 08:37:56 -0700 Subject: Strict Compile Mode In-Reply-To: <6B4B832C-2FEF-4814-955F-4E521621E3EF@gmail.com> References: <6B4B832C-2FEF-4814-955F-4E521621E3EF@gmail.com> Message-ID: <95A1CAC7-9E38-496C-80BA-A2BAEEF36EE2@twft.com> I think he was joking. On Oct 9, 2012, at 4:53 AM, Peter M. Brigham wrote: > That's fine if you never use visual effects, since everything unlocks when the current handlers are done and the engine issues an idle message. But if you need visual transitions, scattering around lock screen commands is a nightmare -- I can't tell you how much time I've spend trying to chase down an obscure extra lock screen that breaks my visual effects. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > On Oct 8, 2012, at 6:30 PM, Peter Haworth wrote: > >> I've pretty much decided that every handler should start with lock messages >> and lock screen... > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Oct 9 11:38:06 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 09 Oct 2012 08:38:06 -0700 Subject: Cannot build a standalone application In-Reply-To: <216FE008-B526-46BD-8339-C6A4799BD8E6@economy-x-talk.com> References: <216FE008-B526-46BD-8339-C6A4799BD8E6@economy-x-talk.com> Message-ID: <507444DE.7030702@fourthworld.com> Mark Schonewille wrote: > Richard, > > Apple provides developers with preview releases of Mac OS X > and XCode. That's sufficient to make sure that RAD tools like > LiveCode are up-to-date the day that the next OSX or XCode is > released. I'm not in a position to know the details of the scope of work RunRev needs to perform for any given OS update. Without such knowledge, I can't claim to know how much time is required to accommodate Apple's apparent disregard for backward compatibility. It may be that the preview period Apple gives developers is indeed sufficient, and the folks at RunRev are just lying around on a Spanish beach drinking Mai Tais. Or it may not (though FWIW recent correspondence from Kevin suggests that at least once person is currently in their offices). I don't have enough detailed information about the scope of the task to know, and I don't believe anyone else here on this list does either. > Anyway, the point is not to discuss with you whether something > is possible or not. The point is that I am worried and I'd > like RunRev (not you) to take my worries away, if they want me > to upgrade more frequently. My apologies for replying to your post to this user-to-user support list. If you had meant to send your request to RunRev you may want to use support runrev.com. -- 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 Tue Oct 9 11:44:40 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 09 Oct 2012 08:44:40 -0700 Subject: Multiple Stack Instances In-Reply-To: References: Message-ID: <50744668.8040804@fourthworld.com> Andrew Kluthe wrote: > I have come across a scenario when I need to be able to have multiple > copies of the same stack with different form data in the field. So > that the user can have multiple instances of this form available to > switch between. Typically, I just allow them to edit 1 record at a > time and launch that form as a modal or a single palette that fills > and saves the form as it is edited or another one is selected, but > that isn't going to work here. > > This seems like rookie stuff, but I am not sure how to go about it. > > What kind of process do some of you use to handle this? If I understand this correctly, this is similar to document-centric apps, in which we'll want any number of documents windows to be open, each having the same layout as the others. For that sort of thing I use the clone command on a substack of my app that I use as a sort of template: clone stack "MyDocumentTMPL" This will give me a stack named "Copy of MyDocumentTMPL", which I can then rename to anything else, and even set its filename property if I need to save it to disk. -- 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 Tue Oct 9 11:47:27 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 9 Oct 2012 17:47:27 +0200 Subject: Cannot build a standalone application In-Reply-To: <507444DE.7030702@fourthworld.com> References: <216FE008-B526-46BD-8339-C6A4799BD8E6@economy-x-talk.com> <507444DE.7030702@fourthworld.com> Message-ID: Richard, If RunRev chooses not to hire extra people to make Apple's preview period sufficient, so be it. It just means that I continue to be very cautious when considering to buy an upgrade or not. Any reasons *you* may come up with to explain why RunRev never seems to be ready when a new version of OSX or XCode is released, is irrelevant to me. I didn't mean to contact support. I meant to express my worries publicly and no more than 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 On 9 okt 2012, at 17:38, Richard Gaskin wrote: > Mark Schonewille wrote: > > > Richard, > > > > Apple provides developers with preview releases of Mac OS X > > and XCode. That's sufficient to make sure that RAD tools like > > LiveCode are up-to-date the day that the next OSX or XCode is > > released. > > I'm not in a position to know the details of the scope of work RunRev needs to perform for any given OS update. Without such knowledge, I can't claim to know how much time is required to accommodate Apple's apparent disregard for backward compatibility. > > It may be that the preview period Apple gives developers is indeed sufficient, and the folks at RunRev are just lying around on a Spanish beach drinking Mai Tais. > > Or it may not (though FWIW recent correspondence from Kevin suggests that at least once person is currently in their offices). > > I don't have enough detailed information about the scope of the task to know, and I don't believe anyone else here on this list does either. > > > > Anyway, the point is not to discuss with you whether something > > is possible or not. The point is that I am worried and I'd > > like RunRev (not you) to take my worries away, if they want me > > to upgrade more frequently. > > My apologies for replying to your post to this user-to-user support list. If you had meant to send your request to RunRev you may want to use support runrev.com. > > -- > 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 andrew at ctech.me Tue Oct 9 11:55:01 2012 From: andrew at ctech.me (Andrew Kluthe) Date: Tue, 9 Oct 2012 10:55:01 -0500 Subject: Multiple Stack Instances In-Reply-To: <50744668.8040804@fourthworld.com> References: <50744668.8040804@fourthworld.com> Message-ID: Correct. It seems there are plenty of fine ways to do this, I just had always managed to not have to do it. These techniques will help me a great deal. Thank you. On Tue, Oct 9, 2012 at 10:44 AM, Richard Gaskin wrote: > Andrew Kluthe wrote: >> I have come across a scenario when I need to be able to have multiple >> copies of the same stack with different form data in the field. So >> that the user can have multiple instances of this form available to >> switch between. Typically, I just allow them to edit 1 record at a >> time and launch that form as a modal or a single palette that fills >> and saves the form as it is edited or another one is selected, but >> that isn't going to work here. >> >> This seems like rookie stuff, but I am not sure how to go about it. >> >> What kind of process do some of you use to handle this? > > If I understand this correctly, this is similar to document-centric apps, in > which we'll want any number of documents windows to be open, each having the > same layout as the others. > > For that sort of thing I use the clone command on a substack of my app that > I use as a sort of template: > > clone stack "MyDocumentTMPL" > > This will give me a stack named "Copy of MyDocumentTMPL", which I can then > rename to anything else, and even set its filename property if I need to > save it to disk. > > -- > 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 -- Regards, Andrew Kluthe andrew at ctech.me From effendi at wanadoo.fr Tue Oct 9 11:57:31 2012 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Tue, 9 Oct 2012 17:57:31 +0200 Subject: Calling a pdf display through LiveCode, on a PC. Message-ID: <6A8E174F-CF56-4D6C-A905-91A8616AC355@wanadoo.fr> Hi from you-know-where, Bob Sneidar wrote : > I believe LC has a command called launch ?.. Bob, I have just fallen foul of the old saying : "Can't see the wood for the trees", or even : "Why use a simple solution when a complicated one will also do the job !". I got so used to building Applescript calls to Skim (Especially to pass "Scale", Page No., etc.), that I never even considered a simple route ?. :>( Thanks for bringing me back to earth with a bump ! Sigh !! - Progress is just a series of monumental f**k-ups ! Best Regards -Francis From bobs at twft.com Tue Oct 9 12:15:01 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 9 Oct 2012 09:15:01 -0700 Subject: UPDATE: Office Clipboard Bug Message-ID: <64298773-8157-4743-BC8C-D76A763A4D73@twft.com> I just got a response from the RQCC saying they were investigating the Office Clipboard bug I had posted a while back. I retested and found that the clipboard seems to be translating now! I am running Office 2008 and the latest release of LC. If anyone else is experiencing this bug, and can reproduce it, get ahold of me so I can present it. Now that we have their attention, we need to jump on it, otherwise we have no grounds to complain about slow response in the future, and frankly I'd like to reserve the right to complain whenever possible. Bob From bobs at twft.com Tue Oct 9 12:17:43 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 9 Oct 2012 09:17:43 -0700 Subject: Calling a pdf display through LiveCode, on a PC. In-Reply-To: <6A8E174F-CF56-4D6C-A905-91A8616AC355@wanadoo.fr> References: <6A8E174F-CF56-4D6C-A905-91A8616AC355@wanadoo.fr> Message-ID: <66A405C2-BA33-459C-B80E-918874B4BEED@twft.com> Hey, if the retro thrusters fired on re-entry, then everyone's happy! :-) Bob On Oct 9, 2012, at 8:57 AM, Francis Nugent Dixon wrote: > I got so used to building Applescript calls to Skim > (Especially to pass "Scale", Page No., etc.), that I > never even considered a simple route ?. :>( > > Thanks for bringing me back to earth with a bump ! From sschvarstein at gmail.com Tue Oct 9 12:24:45 2012 From: sschvarstein at gmail.com (Sergio Schvarstein) Date: Tue, 9 Oct 2012 18:24:45 +0200 Subject: Cannot build a standalone application Message-ID: <3D834D1E-7DFB-4AC9-BAE8-0ACB1739C67F@gmail.com> Thanks for all your answers ! So, it seems that going back to Xcode 4.4 is the best way (? downloading it now) and then wait for the next LC release. From the situation description in the LiveCode Forum discussion, there is one step I don't know how to make: - Copy over the 5.0 SDK file from xCode 4.4 into xCode 4.5 How this can be done ? Sorry for my ignorance. Thanks in advance. :-) ______________________________ Sergio Schvarstein ______________________________ From pete at lcsql.com Tue Oct 9 12:28:58 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 9 Oct 2012 09:28:58 -0700 Subject: Strict Compile Mode In-Reply-To: <5073E4C0.9090307@cogapp.com> References: <5073E4C0.9090307@cogapp.com> Message-ID: On Tue, Oct 9, 2012 at 1:48 AM, Ben Rubinstein wrote: > It's effectively nullified by what I think is a bug > http://quality.runrev.com/**show_bug.cgi?id=3406 > > It should be what you set so that you're always in 'explicit vars' mode by > default. However, since the menu item "Variable checking" is sticky > between launches, it is now as far as I know meaningless. > OK, I now see there's another variable in play - the "Variable checking" item on the script Edit menu. How does that interact with the "Strict Compile Mode" Preference setting, if at all? Still don't understand what "Variable Preservation" was supposed to do though. It sounds like a different thing than "explicit variables" or "variable checking". > > What would be really useful (as requested in above RQCC report) is to make > the setting sticky per script (with the preference then affecting new > scripts). This would enable one to be 'virtuous' by default, but not unduly > inconvenienced when working with old or contributed code. The problem I > find is that if I have to fix eg a bug in a library, that's not 'explicit > vars clean', I need to switch off the setting. I may then forget, and lose > the protection when I'm working on more modern scripts. > I had the same thought yesterday when I was ploughing through several thousand lines of code adding local statements! It's pretty much an all or nothing situation unless you choose to temporarily switch off strict compile mode trusting that you'll remember to switch it back on again at the appropriate point. Of course, if I'd used strict compile mode from the beginning, I wouldn't be complaining! Couple of other questions on variable conventions. Seems like starting handler local variable names with "t" is pretty common, although not sure what the "t" represents. Is there a common convention for naming script local variables? I also noticed that some folks declare all their variables in one local statement at the top of a handler while others declare them in the body of the code right before they are used for the first time. I'm guessing this is just a matter of personal style and preference but any advantages to either convention? > > From pete at lcsql.com Tue Oct 9 12:36:51 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 9 Oct 2012 09:36:51 -0700 Subject: Strict Compile Mode In-Reply-To: <95A1CAC7-9E38-496C-80BA-A2BAEEF36EE2@twft.com> References: <6B4B832C-2FEF-4814-955F-4E521621E3EF@gmail.com> <95A1CAC7-9E38-496C-80BA-A2BAEEF36EE2@twft.com> Message-ID: Indeed! Although recent frustrations have made me thing seriously about using lock messages/wait a lot more even when there's no apparent reason for doing so. For example, with help from a kindly customer, I discovered that the following line of code in a script: "set the visible of stack tstackname to true" ... caused the rest of the script to not execute. The fix was either to move that line to the end of the script so there were no more lines to execute after it or surround it with lock/unlock messages. I've no doubt there's a good explanation for that behavior but what it could possibly be escapes me. Pete lcSQL Software On Tue, Oct 9, 2012 at 8:37 AM, Bob Sneidar wrote: > I think he was joking. > > On Oct 9, 2012, at 4:53 AM, Peter M. Brigham wrote: > > > That's fine if you never use visual effects, since everything unlocks > when the current handlers are done and the engine issues an idle message. > But if you need visual transitions, scattering around lock screen commands > is a nightmare -- I can't tell you how much time I've spend trying to chase > down an obscure extra lock screen that breaks my visual effects. > > > > -- Peter > > > > Peter M. Brigham > > pmbrig at gmail.com > > http://home.comcast.net/~pmbrig > > > > On Oct 8, 2012, at 6:30 PM, Peter Haworth wrote: > > > >> I've pretty much decided that every handler should start with lock > messages > >> and lock screen... > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Oct 9 12:40:37 2012 From: sschvarstein at gmail.com (Sergio Schvarstein) Date: Tue, 9 Oct 2012 18:40:37 +0200 Subject: Cannot build a standalone application Message-ID: <4D83094D-E159-4A82-BC59-BA5492F0ACBC@gmail.com> I could find the answer to my last question here: http://forums.runrev.com/viewtopic.php?f=49&t=12949#p62166 And it works ! My last question: From the situation description in the LiveCode Forum discussion, there is one step I don't know how to make: - Copy over the 5.0 SDK file from xCode 4.4 into xCode 4.5 How this can be done ? Sorry for my ignorance. ______________________________ Sergio Schvarstein ______________________________ From ambassador at fourthworld.com Tue Oct 9 12:44:20 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 09 Oct 2012 09:44:20 -0700 Subject: Strict Compile Mode In-Reply-To: References: Message-ID: <50745464.4060809@fourthworld.com> Peter Haworth wrote: > Still don't understand what "Variable Preservation" was supposed to do > though. It sounds like a different thing than "explicit variables" or > "variable checking". Script-local variables (those declared as local outside of a handler) are the only ones affected by that setting. By default, the engine will clear the values of script-local variables during compilation, but LiveCode being "live code", sometimes it can be helpful to preserve those values even while you're editing. The Variable Preservation option gives you control over whether than happens. -- 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 bobs at twft.com Tue Oct 9 12:49:59 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 9 Oct 2012 09:49:59 -0700 Subject: Strict Compile Mode In-Reply-To: References: <6B4B832C-2FEF-4814-955F-4E521621E3EF@gmail.com> <95A1CAC7-9E38-496C-80BA-A2BAEEF36EE2@twft.com> Message-ID: <01AD057C-D791-4A09-BB8A-4BD4E86B40BE@twft.com> Pete, out of curiosity, did you try "show stack tStackName"? It should be the identical command, but what the hey? Worth a shot. I do not know of any messages that get generated by simply making a stack visible, so it's doubtful that some message is generating a silent error and exiting to top. Bob On Oct 9, 2012, at 9:36 AM, Peter Haworth wrote: > Indeed! Although recent frustrations have made me thing seriously about > using lock messages/wait a lot more even when there's no apparent reason > for doing so. > > For example, with help from a kindly customer, I discovered that the > following line of code in a script: > > "set the visible of stack tstackname to true" > > ... caused the rest of the script to not execute. The fix was either to > move that line to the end of the script so there were no more lines to > execute after it or surround it with lock/unlock messages. I've no doubt > there's a good explanation for that behavior but what it could possibly be > escapes me. > > Pete From bobs at twft.com Tue Oct 9 12:51:17 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 9 Oct 2012 09:51:17 -0700 Subject: Strict Compile Mode In-Reply-To: <50745464.4060809@fourthworld.com> References: <50745464.4060809@fourthworld.com> Message-ID: <7F296723-9DC5-4453-813E-AACF67ED8554@twft.com> On Oct 9, 2012, at 9:44 AM, Richard Gaskin wrote: > Peter Haworth wrote: > > Still don't understand what "Variable Preservation" was supposed to do > > though. It sounds like a different thing than "explicit variables" or > > "variable checking". > > Script-local variables (those declared as local outside of a handler) are the only ones affected by that setting. > > By default, the engine will clear the values of script-local variables during compilation, but LiveCode being "live code", sometimes it can be helpful to preserve those values even while you're editing. > > The Variable Preservation option gives you control over whether than happens. > > -- > Richard Gaskin OH! Kind of like a local global? Bob From jacque at hyperactivesw.com Tue Oct 9 12:51:02 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 09 Oct 2012 11:51:02 -0500 Subject: Cannot build a standalone application In-Reply-To: <216FE008-B526-46BD-8339-C6A4799BD8E6@economy-x-talk.com> References: <86299FD5-FE98-4E8B-B53F-E022387C391A@economy-x-talk.com> <507436F0.1040508@fourthworld.com> <216FE008-B526-46BD-8339-C6A4799BD8E6@economy-x-talk.com> Message-ID: <507455F6.6090203@hyperactivesw.com> On 10/9/12 9:46 AM, Mark Schonewille wrote: > Apple provides developers with preview releases of Mac OS X and > XCode. That's sufficient to make sure that RAD tools like LiveCode > are up-to-date the day that the next OSX or XCode is released. Naturally RR has been working on the next update as each of the preview releases came out. Changes to Apple's final OS release caused a delay. From what I gather, the problem seems to be related more to XCode 4.5 than iOS; LiveCode has been able to build for iOS 6 for a very long time. I'm sure you don't believe that they have done nothing for the last year, and are only now starting to revise the engine. > > Anyway, the point is not to discuss with you whether something is > possible or not. The point is that I am worried and I'd like RunRev > (not you) to take my worries away, if they want me to upgrade more > frequently. Those in the developer program do get that information and we aren't worried. It would be to your advantage to update to at least the latest released version of LiveCode though, which does work with iOS 6 (I believe you are using a much older version right now.) My iOS 6 upgrade to Casey's Solitaire was accepted and released into the App Store yesterday without any issues, compiled with the same tools we have available today. I've also seen numerous reports from other LiveCode developers who have done the same thing. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jiml at netrin.com Tue Oct 9 13:21:01 2012 From: jiml at netrin.com (Jim Lambert) Date: Tue, 9 Oct 2012 10:21:01 -0700 Subject: Congrats to Colin In-Reply-To: References: Message-ID: <3871BAE0-F850-4A9A-B361-66BE26D3BAB7@netrin.com> MarkW wrote: > ...but seriously, anyone doing mobile development in LiveCode needs Colin's book. > > http://www.amazon.com/gp/product/B008Q7H84A/ I second that. Colin's book is a terrific introduction not only to mobile development with LiveCode, but to LiveCode itself. Very clear instructions throughout and sprinkled with just the right touch of humor here and there. Well done! Jim Lambert From benr_mc at cogapp.com Tue Oct 9 13:14:02 2012 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 09 Oct 2012 18:14:02 +0100 Subject: Strict Compile Mode In-Reply-To: References: <5073E4C0.9090307@cogapp.com> Message-ID: <50745B5A.5010401@cogapp.com> On 09/10/2012 17:28, Peter Haworth wrote: > On Tue, Oct 9, 2012 at 1:48 AM, Ben Rubinstein wrote: > >> It's effectively nullified by what I think is a bug >> http://quality.runrev.com/**show_bug.cgi?id=3406 >> >> It should be what you set so that you're always in 'explicit vars' mode by >> default. However, since the menu item "Variable checking" is sticky >> between launches, it is now as far as I know meaningless. >> > > OK, I now see there's another variable in play - the "Variable checking" > item on the script Edit menu. How does that interact with the "Strict > Compile Mode" Preference setting, if at all? > > Still don't understand what "Variable Preservation" was supposed to do > though. It sounds like a different thing than "explicit variables" or > "variable checking". Sorry, I got confused - the preference "Strict Compilation" is affecting the same property (explicitVars) as the menu item "Variable checking", and made meaningless by that menu item being sticky between launches. The preference "Variable Preservation" is something else altogether. Tooltips might be useful in that Preferences dialog - does anyone know what "Interactive Find" does? >> What would be really useful (as requested in above RQCC report) is to make >> the setting sticky per script (with the preference then affecting new >> scripts). This would enable one to be 'virtuous' by default, but not unduly >> inconvenienced when working with old or contributed code. The problem I >> find is that if I have to fix eg a bug in a library, that's not 'explicit >> vars clean', I need to switch off the setting. I may then forget, and lose >> the protection when I'm working on more modern scripts. >> > > I had the same thought yesterday when I was ploughing through several > thousand lines of code adding local statements! It's pretty much an all or > nothing situation unless you choose to temporarily switch off strict > compile mode trusting that you'll remember to switch it back on again at > the appropriate point. Of course, if I'd used strict compile mode from the > beginning, I wouldn't be complaining! Yes you would, because other people (including, cough, RunRev in the IDE) didn't. If you need to edit their code, you'll want this. And I think of my younger self as "other people" anyway. I'm really annoyed by the mess that guy left behind. > Couple of other questions on variable conventions. > > Seems like starting handler local variable names with "t" is pretty common, > although not sure what the "t" represents. Is there a common convention > for naming script local variables? Several! I use t as prefix for variables containing text, which in the nature of LiveCode is most of them, but allows me to distinguish i for integers, b for booleans, a for arrays. I use s as prefix for script locals, g for globals, and k for constants. Hence "sbKiosk" is a script-local variable whose value should be a boolean; "gaObject2Nationality" is a global variable whose value should be an array (and an array in which key is something that I'll understand by 'Object', the value as something which I'll recognise as Nationality); "tTerms" is a local variable with a string value. Some people use "p" as a prefix for parameters in a function/handler - I think I probably should, but somehow I'm too old to change my ways now - if I did, I'd use it in addition to the type letter, eg now I know that "tTerms" is a local string variable, but can't tell if I declared it in the function body or if it was a parameter - "ptTerms" would be more explicit in that regard, and perhaps if I was really good I'd use "rtTerms" to indicate that it was a parameter passed by reference, which is arguably a more useful distinction to be aware of. > I also noticed that some folks declare all their variables in one local > statement at the top of a handler while others declare them in the body of > the code right before they are used for the first time. I'm guessing this > is just a matter of personal style and preference but any advantages to > either convention? There probably isn't if you keep your handler definitions short, like you should; if like me you sometimes fail at this, then keeping your variables definitions close (and your enemies closer) at least helps to clarify that the some of them are only relevant in the latter part of the handler. (Often where I do have declarations in the body of the code, it's when I've gone back over the work of my detested younger self with explicitVars on... Ben From jacque at hyperactivesw.com Tue Oct 9 13:22:44 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 09 Oct 2012 12:22:44 -0500 Subject: Strict Compile Mode In-Reply-To: References: <5073E4C0.9090307@cogapp.com> Message-ID: <50745D64.1000904@hyperactivesw.com> On 10/9/12 11:28 AM, Peter Haworth wrote: > Still don't understand what "Variable Preservation" was supposed to do > though. It sounds like a different thing than "explicit variables" or > "variable checking". It's largely historical now. In the olden days, editing and recompiling a script would wipe the values of script local variables and set them to empty. That meant you had to add lines of code to re-initialize them so they'd still work after every edit. It not only made us crazy, it made the RR team crazy too, so one of the first things they did after RR obtained the engine was to change that. The option to go back to the old behavior is still there but I'd be surprised if anyone actually prefers to use it. > > Seems like starting handler local variable names with "t" is pretty common, > although not sure what the "t" represents. Is there a common convention > for naming script local variables? Generally "l" or "s", I prefer "s" myself. But it's entirely optional. > > I also noticed that some folks declare all their variables in one local > statement at the top of a handler while others declare them in the body of > the code right before they are used for the first time. I'm guessing this > is just a matter of personal style and preference but any advantages to > either convention? The engine doesn't care, it's just personal style. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Tue Oct 9 13:41:18 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 9 Oct 2012 10:41:18 -0700 Subject: Strict Compile Mode In-Reply-To: <50745D64.1000904@hyperactivesw.com> References: <5073E4C0.9090307@cogapp.com> <50745D64.1000904@hyperactivesw.com> Message-ID: <668D7B79-B18B-4FE0-8449-8321149E19C1@twft.com> Ah! Once again, crystal clear explanations from Jacque. Thanks that makes sense now. On Oct 9, 2012, at 10:22 AM, J. Landman Gay wrote: > On 10/9/12 11:28 AM, Peter Haworth wrote: > >> Still don't understand what "Variable Preservation" was supposed to do >> though. It sounds like a different thing than "explicit variables" or >> "variable checking". > > It's largely historical now. In the olden days, editing and recompiling a script would wipe the values of script local variables and set them to empty. That meant you had to add lines of code to re-initialize them so they'd still work after every edit. It not only made us crazy, it made the RR team crazy too, so one of the first things they did after RR obtained the engine was to change that. The option to go back to the old behavior is still there but I'd be surprised if anyone actually prefers to use it. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com From jacque at hyperactivesw.com Tue Oct 9 13:37:14 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 09 Oct 2012 12:37:14 -0500 Subject: Cannot build a standalone application In-Reply-To: References: <216FE008-B526-46BD-8339-C6A4799BD8E6@economy-x-talk.com> <507444DE.7030702@fourthworld.com> Message-ID: <507460CA.8040604@hyperactivesw.com> On 10/9/12 10:47 AM, Mark Schonewille wrote: > I didn't mean to contact support. I meant to express my worries > publicly and no more than that. It's well known the RR team doesn't read this list regularly. I can't think of a reason to post concerns here that only they can answer. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Tue Oct 9 13:54:52 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 9 Oct 2012 10:54:52 -0700 Subject: Strict Compile Mode In-Reply-To: References: <6B4B832C-2FEF-4814-955F-4E521621E3EF@gmail.com> <95A1CAC7-9E38-496C-80BA-A2BAEEF36EE2@twft.com> Message-ID: <10159847562.20121009105452@ahsoftware.net> Pete- Tuesday, October 9, 2012, 9:36:51 AM, you wrote: > For example, with help from a kindly customer, I discovered that the > following line of code in a script: > "set the visible of stack tstackname to true" > ... caused the rest of the script to not execute. I end up bracketing code like that with a try/catch construct to figure out what's causing the problem: try set the visible of stack tstackname to true catch e answer param(0) && e end try -- -Mark Wieder mwieder at ahsoftware.net From pete at lcsql.com Tue Oct 9 14:05:05 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 9 Oct 2012 11:05:05 -0700 Subject: Strict Compile Mode In-Reply-To: <50745D64.1000904@hyperactivesw.com> References: <5073E4C0.9090307@cogapp.com> <50745D64.1000904@hyperactivesw.com> Message-ID: Richard and Jacque, Thanks for the explanation, I had guessed it was something like that. However, I do sometimes still experience script local variables being wiped out when I edit/Apply changes to the script they are defined in. It doesn't happen all the time and I haven't been able to tie it down to any specific circumstances other than it seems to happen when I have made "a lot of edits". Pete lcSQL Software On Tue, Oct 9, 2012 at 10:22 AM, J. Landman Gay wrote: > It's largely historical now. In the olden days, editing and recompiling a > script would wipe the values of script local variables and set them to > empty. That meant you had to add lines of code to re-initialize them so > they'd still work after every edit. It not only made us crazy, it made the > RR team crazy too, so one of the first things they did after RR obtained > the engine was to change that. The option to go back to the old behavior is > still there but I'd be surprised if anyone actually prefers to use it. From m.schonewille at economy-x-talk.com Tue Oct 9 14:05:49 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 9 Oct 2012 20:05:49 +0200 Subject: Cannot build a standalone application In-Reply-To: <507460CA.8040604@hyperactivesw.com> References: <216FE008-B526-46BD-8339-C6A4799BD8E6@economy-x-talk.com> <507444DE.7030702@fourthworld.com> <507460CA.8040604@hyperactivesw.com> Message-ID: <244DC8B0-5858-43B5-B1FC-CE28E4E76EEC@economy-x-talk.com> Hi Jacque, As I wrote before, I wanted to express my worries and perhaps share them with others (not you), who might be interested in knowing what I think. I didn't expect an answer from RunRev. If you don't like how I express my thoughts, then don't respond. -- 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 On 9 okt 2012, at 19:37, J. Landman Gay wrote: > On 10/9/12 10:47 AM, Mark Schonewille wrote: > >> I didn't mean to contact support. I meant to express my worries >> publicly and no more than that. > > It's well known the RR team doesn't read this list regularly. I can't think of a reason to post concerns here that only they can answer. From pete at lcsql.com Tue Oct 9 14:07:19 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 9 Oct 2012 11:07:19 -0700 Subject: Strict Compile Mode In-Reply-To: <50745B5A.5010401@cogapp.com> References: <5073E4C0.9090307@cogapp.com> <50745B5A.5010401@cogapp.com> Message-ID: Thanks Ben, those are interesting conventions. I hadn't come across the extra prefix to denote the data type of the variable, although I have seen a convention where the letter "a" is appended to array variables. Pete lcSQL Software On Tue, Oct 9, 2012 at 10:14 AM, Ben Rubinstein wrote: > I use t as prefix for variables containing text, which in the nature of > LiveCode is most of them, but allows me to distinguish i for integers, b > for booleans, a for arrays. > > I use s as prefix for script locals, g for globals, and k for constants. > > Hence "sbKiosk" is a script-local variable whose value should be a > boolean; "gaObject2Nationality" is a global variable whose value should be > an array (and an array in which key is something that I'll understand by > 'Object', the value as something which I'll recognise as Nationality); > "tTerms" is a local variable with a string value. > > Some people use "p" as a prefix for parameters in a function/handler - I > think I probably should, but somehow I'm too old to change my ways now - if > I did, I'd use it in addition to the type letter, eg now I know that > "tTerms" is a local string variable, but can't tell if I declared it in the > function body or if it was a parameter - "ptTerms" would be more explicit > in that regard, and perhaps if I was really good I'd use "rtTerms" to > indicate that it was a parameter passed by reference, which is arguably a > more useful distinction to be aware of > From pete at lcsql.com Tue Oct 9 14:11:41 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 9 Oct 2012 11:11:41 -0700 Subject: Strict Compile Mode In-Reply-To: <10159847562.20121009105452@ahsoftware.net> References: <6B4B832C-2FEF-4814-955F-4E521621E3EF@gmail.com> <95A1CAC7-9E38-496C-80BA-A2BAEEF36EE2@twft.com> <10159847562.20121009105452@ahsoftware.net> Message-ID: I think I tried that Mark and in this case, got nothing back. It's as if the engine starts to execute the set command and never returns to the script so the catch construct is never reached. I can't remember if I tried setting the global you mentioned that causes debug to step through the IDE code but I did try it in another circumstance that had the same symptoms and simply setting that global made the problem go away! Pete lcSQL Software On Tue, Oct 9, 2012 at 10:54 AM, Mark Wieder wrote: > Pete- > > Tuesday, October 9, 2012, 9:36:51 AM, you wrote: > > > For example, with help from a kindly customer, I discovered that the > > following line of code in a script: > > > "set the visible of stack tstackname to true" > > > ... caused the rest of the script to not execute. > > I end up bracketing code like that with a try/catch construct to > figure out what's causing the problem: > > try > set the visible of stack tstackname to true > catch e > answer param(0) && e > end try > > -- > -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 Tue Oct 9 14:12:39 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 9 Oct 2012 11:12:39 -0700 Subject: Strict Compile Mode In-Reply-To: <01AD057C-D791-4A09-BB8A-4BD4E86B40BE@twft.com> References: <6B4B832C-2FEF-4814-955F-4E521621E3EF@gmail.com> <95A1CAC7-9E38-496C-80BA-A2BAEEF36EE2@twft.com> <01AD057C-D791-4A09-BB8A-4BD4E86B40BE@twft.com> Message-ID: I didn't try that Bob but will give it a whirl. Pete lcSQL Software On Tue, Oct 9, 2012 at 9:49 AM, Bob Sneidar wrote: > Pete, out of curiosity, did you try "show stack tStackName"? It should be > the identical command, but what the hey? Worth a shot. I do not know of any > messages that get generated by simply making a stack visible, so it's > doubtful that some message is generating a silent error and exiting to top. > > Bob > > > On Oct 9, 2012, at 9:36 AM, Peter Haworth wrote: > > > Indeed! Although recent frustrations have made me thing seriously about > > using lock messages/wait a lot more even when there's no apparent reason > > for doing so. > > > > For example, with help from a kindly customer, I discovered that the > > following line of code in a script: > > > > "set the visible of stack tstackname to true" > > > > ... caused the rest of the script to not execute. The fix was either to > > move that line to the end of the script so there were no more lines to > > execute after it or surround it with lock/unlock messages. I've no doubt > > there's a good explanation for that behavior but what it could possibly > be > > escapes me. > > > > Pete > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Tue Oct 9 14:18:18 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 9 Oct 2012 11:18:18 -0700 Subject: Strict Compile Mode In-Reply-To: <10159847562.20121009105452@ahsoftware.net> References: <6B4B832C-2FEF-4814-955F-4E521621E3EF@gmail.com> <95A1CAC7-9E38-496C-80BA-A2BAEEF36EE2@twft.com> <10159847562.20121009105452@ahsoftware.net> Message-ID: Just to add to my consternation, the problem I described happened on a customer's machine and try as I might, I could not reproduce it on my computer using the same versions of LC and OSX. I'm convinced that there weren't any other plugins or front scripts on the customer's computer that might have been getting in the way. Pete lcSQL Software On Tue, Oct 9, 2012 at 10:54 AM, Mark Wieder wrote: > Pete- > > Tuesday, October 9, 2012, 9:36:51 AM, you wrote: > > > For example, with help from a kindly customer, I discovered that the > > following line of code in a script: > > > "set the visible of stack tstackname to true" > > > ... caused the rest of the script to not execute. > > I end up bracketing code like that with a try/catch construct to > figure out what's causing the problem: > > try > set the visible of stack tstackname to true > catch e > answer param(0) && e > end try > > -- > -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 bobs at twft.com Tue Oct 9 14:23:59 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 9 Oct 2012 11:23:59 -0700 Subject: SQL reconnect procedures Message-ID: <761552A6-630D-4FB2-81DD-7CB96AC7A460@twft.com> I've been pondering what the ramifications to sql session disconnects are. I have seen in other "professionally developed" applications, like our accounting software used here, that if the user gets disconnected for anything longer than a few seconds, the software completely bails out through a series of errors that I have to abort to get the app to quit. Not very graceful. I want to make my software more robust. So I am wondering what happens when there is a transaction in effect, and there is an unexpected disconnect. Will reconnecting restore the transaction state or is it flushed after the sql timeout? If I can reconnect and the transaction is still in effect, well and good, but if I proceed as though the transaction is still in effect and it is not, bad things could conceivably happen. Is completely bailing out the best approach after all? Bob From m.schonewille at economy-x-talk.com Tue Oct 9 14:24:03 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 9 Oct 2012 20:24:03 +0200 Subject: Cannot build a standalone application In-Reply-To: <507455F6.6090203@hyperactivesw.com> References: <86299FD5-FE98-4E8B-B53F-E022387C391A@economy-x-talk.com> <507436F0.1040508@fourthworld.com> <216FE008-B526-46BD-8339-C6A4799BD8E6@economy-x-talk.com> <507455F6.6090203@hyperactivesw.com> Message-ID: <64D3D02D-299A-4793-B7BB-A54F31C4E666@economy-x-talk.com> Jacque, I don't understand why you say you're sure that I don't believe.. etc... as I indeed never suggested anything like that. It is the same as saying that you're sure that I don't think that stone bricks float in water. -- 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 On 9 okt 2012, at 18:51, J. Landman Gay wrote: > On 10/9/12 9:46 AM, Mark Schonewille wrote: > >> Apple provides developers with preview releases of Mac OS X and >> XCode. That's sufficient to make sure that RAD tools like LiveCode >> are up-to-date the day that the next OSX or XCode is released. > > Naturally RR has been working on the next update as each of the preview releases came out. Changes to Apple's final OS release caused a delay. From what I gather, the problem seems to be related more to XCode 4.5 than iOS; LiveCode has been able to build for iOS 6 for a very long time. > > I'm sure you don't believe that they have done nothing for the last year, and are only now starting to revise the engine. > >> >> Anyway, the point is not to discuss with you whether something is >> possible or not. The point is that I am worried and I'd like RunRev >> (not you) to take my worries away, if they want me to upgrade more >> frequently. > > Those in the developer program do get that information and we aren't worried. > > It would be to your advantage to update to at least the latest released version of LiveCode though, which does work with iOS 6 (I believe you are using a much older version right now.) My iOS 6 upgrade to Casey's Solitaire was accepted and released into the App Store yesterday without any issues, compiled with the same tools we have available today. I've also seen numerous reports from other LiveCode developers who have done the same thing. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gandalf at doctorTimothyMiller.com Tue Oct 9 14:56:53 2012 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Tue, 9 Oct 2012 11:56:53 -0700 Subject: Text field over photo Message-ID: Hello, I want to display a line of text -- in a field, over a photo. The loc of the field will scroll down. I want the text to be as legible as possible, but the photo will vary. I'm wondering about the best way to make the text legible. What do you suggest? --A black font with a white outline? Or white font with a black outline? Can someone recommend such a font? --Maybe a field with a semi-transparent white background? If this is recommended, I can't quite figure out how to set the background of a field to a semi-transparent color. A fuzzy edge around such a background would be even better. Suggestions? Thanks in advance, Tim From martyknappster at gmail.com Tue Oct 9 15:02:50 2012 From: martyknappster at gmail.com (Marty Knapp) Date: Tue, 09 Oct 2012 12:02:50 -0700 Subject: Text field over photo In-Reply-To: References: Message-ID: <507474DA.6060503@gmail.com> Hey Tim, I would make a soft-edged, white box and save it as a transparent PNG, then import that into LC and use then use the graphic settings to make it semi-opaque. Then place your transparent text field over the top and position those over your photo. Marty Knapp --------------------------- > Hello, > > I want to display a line of text -- in a field, over a photo. The loc of the field will scroll down. I want the text to be as legible as possible, but the photo will vary. I'm wondering about the best way to make the text legible. > > What do you suggest? > > --A black font with a white outline? Or white font with a black outline? Can someone recommend such a font? > > --Maybe a field with a semi-transparent white background? If this is recommended, I can't quite figure out how to set the background of a field to a semi-transparent color. A fuzzy edge around such a background would be even better. Suggestions? > From gandalf at doctorTimothyMiller.com Tue Oct 9 15:16:19 2012 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Tue, 9 Oct 2012 12:16:19 -0700 Subject: Text field over photo In-Reply-To: <507474DA.6060503@gmail.com> References: <507474DA.6060503@gmail.com> Message-ID: Got it. Thanks Marty. Is there a way to import the image into the background of the field, so I only have to scroll the loc of one object, instead of two? Tim On Oct 9, 2012, at 12:02 PM, Marty Knapp wrote: > Hey Tim, > I would make a soft-edged, white box and save it as a transparent PNG, then import that into LC and use then use the graphic settings to make it semi-opaque. Then place your transparent text field over the top and position those over your photo. > > Marty Knapp > --------------------------- > > > >> Hello, >> >> I want to display a line of text -- in a field, over a photo. The loc of the field will scroll down. I want the text to be as legible as possible, but the photo will vary. I'm wondering about the best way to make the text legible. >> >> What do you suggest? >> >> --A black font with a white outline? Or white font with a black outline? Can someone recommend such a font? >> >> --Maybe a field with a semi-transparent white background? If this is recommended, I can't quite figure out how to set the background of a field to a semi-transparent color. A fuzzy edge around such a background would be even better. Suggestions? >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Tue Oct 9 15:21:57 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 9 Oct 2012 12:21:57 -0700 Subject: Another Debug weirdness Message-ID: I have a front script that traps nameChanged messages and dispatches a message to a handler in my stack that contains all the code necessary to deal with the name change. I want to step through the name changed handler in debug. No matter where I set a red dot breakpoint or a breakpoint command, I see the line hilited briefly then the rest of the code continues to execute to completion without stopping in debug mode. Debug is enabled and I can use it just fine in handlers that aren't reached via a front script. IS there something about front script execution that prevents debug from working? Pete lcSQL Software From m.schonewille at economy-x-talk.com Tue Oct 9 15:40:28 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 9 Oct 2012 21:40:28 +0200 Subject: Text field over photo In-Reply-To: References: <507474DA.6060503@gmail.com> Message-ID: Hi Tim, For such tasks, I use a transparent field with white text and an outerglow with the following settings: opacity 255 blendmode normal size 6 range 255 filter box3pass color 0,0,0 spread 0 -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com On 9 okt 2012, at 21:16, Timothy Miller wrote: > Got it. Thanks Marty. > > Is there a way to import the image into the background of the field, so I only have to scroll the loc of one object, instead of two? > > Tim > From stephenREVOLUTION2 at barncard.com Tue Oct 9 15:44:17 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 9 Oct 2012 12:44:17 -0700 Subject: SQL reconnect procedures In-Reply-To: <761552A6-630D-4FB2-81DD-7CB96AC7A460@twft.com> References: <761552A6-630D-4FB2-81DD-7CB96AC7A460@twft.com> Message-ID: well "COMMIT/ROLLBACK" should handle the possibility of data loss. As far as "connections" I've found that there is little time difference between being 'always connected' and making a connection open and close per transaction, unless one is hitting it repeatedly for a single result (as I had to to for a certain database system a few years ago). A greater time lag is introduced when getting the returned data than the time required to connect. This is assuming that the DNS is cached; the first fetch will take longer. On Tue, Oct 9, 2012 at 11:23 AM, Bob Sneidar wrote: > I've been pondering what the ramifications to sql session disconnects are. > I have seen in other "professionally developed" applications, like our > accounting software used here, that if the user gets disconnected for > anything longer than a few seconds, the software completely bails out > through a series of errors that I have to abort to get the app to quit. Not > very graceful. I want to make my software more robust. > > So I am wondering what happens when there is a transaction in effect, and > there is an unexpected disconnect. Will reconnecting restore the > transaction state or is it flushed after the sql timeout? If I can > reconnect and the transaction is still in effect, well and good, but if I > proceed as though the transaction is still in effect and it is not, bad > things could conceivably happen. > > Is completely bailing out the best approach after all? > > Bob > _______________________________________________ > use-livecode mailing list > use-livecode 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 cszasz at me.com Tue Oct 9 16:14:05 2012 From: cszasz at me.com (Charles Szasz) Date: Tue, 09 Oct 2012 16:14:05 -0400 Subject: Jan Schenkel - Please contact me privately! Message-ID: <3617EAF4-43F9-41F4-94FD-216FC88BEFB9@me.com> Jan, I sent several emails to you but have not received a reply. Please contact me off of the list. I have a Quartam Reports Pro problem. Thanks! Charles Szasz cszasz at mac.com From bobs at twft.com Tue Oct 9 17:43:34 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 9 Oct 2012 14:43:34 -0700 Subject: Text field over photo In-Reply-To: References: Message-ID: <83D83372-E3FF-452F-AD8F-9D9A6E3E5752@twft.com> It depends on the image. If the image has a lot of detailed and mixed contrast, Marty's approach may be the best. However, if there is a dark area or light area, you want your type to be a decent contrast of that. A drop shadow on the text should work fine. I'm pretty sure you can apply a drop shadow to a field in such a way that the text itself has a drop shadow. Bob On Oct 9, 2012, at 11:56 AM, Timothy Miller wrote: > Hello, > > I want to display a line of text -- in a field, over a photo. The loc of the field will scroll down. I want the text to be as legible as possible, but the photo will vary. I'm wondering about the best way to make the text legible. > > What do you suggest? > > --A black font with a white outline? Or white font with a black outline? Can someone recommend such a font? > > --Maybe a field with a semi-transparent white background? If this is recommended, I can't quite figure out how to set the background of a field to a semi-transparent color. A fuzzy edge around such a background would be even better. Suggestions? > > Thanks in advance, > > Tim From bobs at twft.com Tue Oct 9 17:50:56 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 9 Oct 2012 14:50:56 -0700 Subject: SQL reconnect procedures In-Reply-To: References: <761552A6-630D-4FB2-81DD-7CB96AC7A460@twft.com> Message-ID: I was getting disconnected from On-Rev within an hour of inactivity, and all my database calls failed when the connection was closed by the host. Also, certain network outages or problems can cause managed switches to reset, notably excessive broadcasts, and when this happens, the SQL connection is reset. Same result. I have experienced this first hand in our accounting application when someone had installed some mesh wireless in bridge mode, and we found out later that this cause a low level packet storm that was wreaking havoc with our managed switches. I'm not sure how you could rollback a transaction if the connection had been reset and the server did it automatically. I guess what I am asking is how do SQL servers deal with connection failures in the middle of a transaction. Does it rollback or commit? If commit, that would be bad if the transaction were not complete. If rollback, than attempting to restore the connection and continue with the transaction could be equally bad. Bob On Oct 9, 2012, at 12:44 PM, stephen barncard wrote: > well "COMMIT/ROLLBACK" should handle the possibility of data loss. > > As far as "connections" I've found that there is little time difference > between being 'always connected' and making a connection open and close per > transaction, unless one is hitting it repeatedly for a single result (as I > had to to for a certain database system a few years ago). A greater time > lag is introduced when getting the returned data than the time required to > connect. This is assuming that the DNS is cached; the first fetch will take > longer. > > On Tue, Oct 9, 2012 at 11:23 AM, Bob Sneidar wrote: > >> I've been pondering what the ramifications to sql session disconnects are. >> I have seen in other "professionally developed" applications, like our >> accounting software used here, that if the user gets disconnected for >> anything longer than a few seconds, the software completely bails out >> through a series of errors that I have to abort to get the app to quit. Not >> very graceful. I want to make my software more robust. >> >> So I am wondering what happens when there is a transaction in effect, and >> there is an unexpected disconnect. Will reconnecting restore the >> transaction state or is it flushed after the sql timeout? If I can >> reconnect and the transaction is still in effect, well and good, but if I >> proceed as though the transaction is still in effect and it is not, bad >> things could conceivably happen. >> >> Is completely bailing out the best approach after all? >> >> Bob >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 pete at lcsql.com Tue Oct 9 18:28:04 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 9 Oct 2012 15:28:04 -0700 Subject: SQL reconnect procedures In-Reply-To: References: <761552A6-630D-4FB2-81DD-7CB96AC7A460@twft.com> Message-ID: I'm assuming this is mySQL? There is a server setting that determines the inactivity timeout period. It's either wait_timeout for a non-interactive client or interactive_timeout for an interactive client. I assume that LC opens mySQL dbs as an interactive client. According to the mySQL documentation, if you get an error on an SQL command because the connection has timed out, all you have to do is re-issue the command and the connection will be re-established. However, I'm not sure how that plays with LC since it will likely flag an error on the database ID that you pass to it and, as I recall, that's a runtime error in the script, not an error code (don;t understand why that is the case but that's another issue). If you can find out what the error is, you could wrap all your db calls in try/catch, check for the error and proceed accordingly. Alternatively, I guess you could keep track of the interval since the last SQL command you issue and the one you are about to send and if it's more than the timeout, re-establish the connection yourself. On the issue of a network error, I'm not sure what would happen. If mySQL is in the middle of a transaction, I'd like to think it would not execute the COMMIT if the connection to the client had gone away, but that would depend on when it becomes aware of the problem. I think you can be pretty certain that you would not end up with parts of the transaction being reflected in the database and others not. Either the COMMIT executes in which case the complete transaction will be in the database, or it doesn't and none of the transaction will be in the database. There's also the question of how LC detects that the connection died in the middle of a transaction and if/how it communicates that back to your script. Interesting topic! Pete lcSQL Software On Tue, Oct 9, 2012 at 2:50 PM, Bob Sneidar wrote: > I was getting disconnected from On-Rev within an hour of inactivity, and > all my database calls failed when the connection was closed by the host. > Also, certain network outages or problems can cause managed switches to > reset, notably excessive broadcasts, and when this happens, the SQL > connection is reset. Same result. I have experienced this first hand in our > accounting application when someone had installed some mesh wireless in > bridge mode, and we found out later that this cause a low level packet > storm that was wreaking havoc with our managed switches. > > I'm not sure how you could rollback a transaction if the connection had > been reset and the server did it automatically. I guess what I am asking is > how do SQL servers deal with connection failures in the middle of a > transaction. Does it rollback or commit? If commit, that would be bad if > the transaction were not complete. If rollback, than attempting to restore > the connection and continue with the transaction could be equally bad. > > Bob > > > On Oct 9, 2012, at 12:44 PM, stephen barncard wrote: > > > well "COMMIT/ROLLBACK" should handle the possibility of data loss. > > > > As far as "connections" I've found that there is little time difference > > between being 'always connected' and making a connection open and close > per > > transaction, unless one is hitting it repeatedly for a single result (as > I > > had to to for a certain database system a few years ago). A greater time > > lag is introduced when getting the returned data than the time required > to > > connect. This is assuming that the DNS is cached; the first fetch will > take > > longer. > > > > On Tue, Oct 9, 2012 at 11:23 AM, Bob Sneidar wrote: > > > >> I've been pondering what the ramifications to sql session disconnects > are. > >> I have seen in other "professionally developed" applications, like our > >> accounting software used here, that if the user gets disconnected for > >> anything longer than a few seconds, the software completely bails out > >> through a series of errors that I have to abort to get the app to quit. > Not > >> very graceful. I want to make my software more robust. > >> > >> So I am wondering what happens when there is a transaction in effect, > and > >> there is an unexpected disconnect. Will reconnecting restore the > >> transaction state or is it flushed after the sql timeout? If I can > >> reconnect and the transaction is still in effect, well and good, but if > I > >> proceed as though the transaction is still in effect and it is not, bad > >> things could conceivably happen. > >> > >> Is completely bailing out the best approach after all? > >> > >> Bob > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode 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 bobs at twft.com Tue Oct 9 19:02:54 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 9 Oct 2012 16:02:54 -0700 Subject: SQL reconnect procedures In-Reply-To: References: <761552A6-630D-4FB2-81DD-7CB96AC7A460@twft.com> Message-ID: <9564D869-16C1-41B7-835C-726171D1595E@twft.com> Thanks Pete. What I do now is I have my own library of calls for opening a connection (which is really my own internal system of checking to make sure the parameters are in order and setting a global if successful) then for reconnecting, which is really making a connection in the LC sense, then idling, which is really disconnecting. I have a database connection card for all my apps where a user can enter information like the database server url, the user name and password, and type of database etc. When opening a database enabled app, I go to that card with the screen locked, which attempts the connection and sets a global to true and another global with the database id. All "reconnect" calls in the future check for the connected global, then open a connection and attempt a basic query. If all is well, the function returns true and away we go. I don't leave connections open during user interaction. Old habit I learned when attempting to resolve some deadlocks in Foxpro due to bad programming habits. I basically get to the point where I have all the info from the user I need, then I open the connection, do my business and then close it. This has resulted in a very stable methodology for me. Others may think it overkill. Still, if something can go wrong... you know the old adage. I will have to poke around a bit to see what the manual may have to say on premature disconnects during transactions. Bob On Oct 9, 2012, at 3:28 PM, Peter Haworth wrote: > I'm assuming this is mySQL? > > There is a server setting that determines the inactivity timeout period. > It's either wait_timeout for a non-interactive client or > interactive_timeout for an interactive client. I assume that LC opens > mySQL dbs as an interactive client. According to the mySQL documentation, > if you get an error on an SQL command because the connection has timed out, > all you have to do is re-issue the command and the connection will be > re-established. > > However, I'm not sure how that plays with LC since it will likely flag an > error on the database ID that you pass to it and, as I recall, that's a > runtime error in the script, not an error code (don;t understand why that > is the case but that's another issue). If you can find out what the error > is, you could wrap all your db calls in try/catch, check for the error and > proceed accordingly. Alternatively, I guess you could keep track of the > interval since the last SQL command you issue and the one you are about to > send and if it's more than the timeout, re-establish the connection > yourself. > > On the issue of a network error, I'm not sure what would happen. If mySQL > is in the middle of a transaction, I'd like to think it would not execute > the COMMIT if the connection to the client had gone away, but that would > depend on when it becomes aware of the problem. I think you can be pretty > certain that you would not end up with parts of the transaction being > reflected in the database and others not. Either the COMMIT executes in > which case the complete transaction will be in the database, or it doesn't > and none of the transaction will be in the database. There's also the > question of how LC detects that the connection died in the middle of a > transaction and if/how it communicates that back to your script. > > Interesting topic! > > Pete > lcSQL Software > > > > On Tue, Oct 9, 2012 at 2:50 PM, Bob Sneidar wrote: > >> I was getting disconnected from On-Rev within an hour of inactivity, and >> all my database calls failed when the connection was closed by the host. >> Also, certain network outages or problems can cause managed switches to >> reset, notably excessive broadcasts, and when this happens, the SQL >> connection is reset. Same result. I have experienced this first hand in our >> accounting application when someone had installed some mesh wireless in >> bridge mode, and we found out later that this cause a low level packet >> storm that was wreaking havoc with our managed switches. >> >> I'm not sure how you could rollback a transaction if the connection had >> been reset and the server did it automatically. I guess what I am asking is >> how do SQL servers deal with connection failures in the middle of a >> transaction. Does it rollback or commit? If commit, that would be bad if >> the transaction were not complete. If rollback, than attempting to restore >> the connection and continue with the transaction could be equally bad. >> >> Bob >> >> >> On Oct 9, 2012, at 12:44 PM, stephen barncard wrote: >> >>> well "COMMIT/ROLLBACK" should handle the possibility of data loss. >>> >>> As far as "connections" I've found that there is little time difference >>> between being 'always connected' and making a connection open and close >> per >>> transaction, unless one is hitting it repeatedly for a single result (as >> I >>> had to to for a certain database system a few years ago). A greater time >>> lag is introduced when getting the returned data than the time required >> to >>> connect. This is assuming that the DNS is cached; the first fetch will >> take >>> longer. >>> >>> On Tue, Oct 9, 2012 at 11:23 AM, Bob Sneidar wrote: >>> >>>> I've been pondering what the ramifications to sql session disconnects >> are. >>>> I have seen in other "professionally developed" applications, like our >>>> accounting software used here, that if the user gets disconnected for >>>> anything longer than a few seconds, the software completely bails out >>>> through a series of errors that I have to abort to get the app to quit. >> Not >>>> very graceful. I want to make my software more robust. >>>> >>>> So I am wondering what happens when there is a transaction in effect, >> and >>>> there is an unexpected disconnect. Will reconnecting restore the >>>> transaction state or is it flushed after the sql timeout? If I can >>>> reconnect and the transaction is still in effect, well and good, but if >> I >>>> proceed as though the transaction is still in effect and it is not, bad >>>> things could conceivably happen. >>>> >>>> Is completely bailing out the best approach after all? >>>> >>>> Bob >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> >>> -- >>> >>> >>> >>> Stephen Barncard >>> San Francisco Ca. USA >>> >>> more about sqb >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gandalf at doctorTimothyMiller.com Tue Oct 9 19:40:23 2012 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Tue, 9 Oct 2012 16:40:23 -0700 Subject: Text field over photo In-Reply-To: References: <507474DA.6060503@gmail.com> Message-ID: <82DDC18E-7C14-4253-986F-5D28AD983554@doctorTimothyMiller.com> On Oct 9, 2012, at 12:40 PM, Mark Schonewille wrote: > Hi Tim, > > For such tasks, I use a transparent field with white text and an outerglow with the following settings: > > opacity 255 > blendmode normal > size 6 > range 255 > filter box3pass > color 0,0,0 > spread 0 Thanks Mark, I'm sorry to admit I don't know how to do that. I can figure it out, very likely, but I need one or two tiny hints. Inks and blends have always been mysterious to me. Bob, I appreciate your suggestion, too. Can I have a little hint about how to apply a drop shadow to text in a field? Cheers, Tim Miller From gandalf at doctorTimothyMiller.com Tue Oct 9 20:08:02 2012 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Tue, 9 Oct 2012 17:08:02 -0700 Subject: dysfunctional scroll the loc script Message-ID: <5F5051D5-EA7C-4936-AC5B-EA0B0D8D63CE@doctorTimothyMiller.com> Hello, I thought this would be easy. It isn't working right. Don't know what to do. The script: on mouseUp put "537,1" into locVar repeat with i = 1 to 650 set the loc of field "foo" to locvar add 1 to item 2 of locVar wait 1 millisecs end repeat end mouseUp It works, but it takes a whole lot longer than 650 milliseconds for the loc of the field to scroll to the bottom -- more like ten seconds, and it does not scroll smoothly. I tried this instead: on mouseUp put "537,1" into locVar repeat with i = 1 to 216 set the loc of field "foo" to locvar add 3 to item 2 of locVar wait 3 millisecs end repeat end mouseUp It's a little faster, but it still takes 3.3 seconds. A little smoother, but not much. If I increment the loc in units of ten and set the wait to ten millisecs, it scrolls in a little less than a second, but it looks jerky and the scroll still stutters. I tried various adjustments to the field properties and various ways of writing the script. For example, I tried eliminating locVar and incrementing item 2 of the loc itself. Nothing seemed very helpful. If I remove the "wait x millisecs" the loc scrolls to the bottom instantly. Can't even see it move. Apparently "wait 1 millisec" waits a lot longer than 1 millisec and the length of the wait is inconsistent. I thought it might be a graphics rendering problem. The text scrolls in front of a photo. Hiding the photo doesn't help at all. This is on a MacBook with 2.4 GHZ Core 2 Duo and tons of physical RAM and OS 10.7.4. Should be fast enough. Activity Monitor shows that CPU usage gets up to about 40% while the script is running. Any thoughts our suggestions? Thanks in advance. Tim From mwieder at ahsoftware.net Tue Oct 9 20:59:01 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 9 Oct 2012 17:59:01 -0700 Subject: Another Debug weirdness In-Reply-To: References: Message-ID: <14085295890.20121009175901@ahsoftware.net> Pete- Tuesday, October 9, 2012, 12:21:57 PM, you wrote: > Debug is enabled and I can use it just fine in handlers that aren't reached > via a front script. IS there something about front script execution that > prevents debug from working? Depends. If the frontscript is a script from a plugin then it's a system stack and the debugger will normally ignore breakpoints and errors in it. -- -Mark Wieder mwieder at ahsoftware.net From pete at lcsql.com Tue Oct 9 21:31:46 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 9 Oct 2012 18:31:46 -0700 Subject: Another Debug weirdness In-Reply-To: <14085295890.20121009175901@ahsoftware.net> References: <14085295890.20121009175901@ahsoftware.net> Message-ID: It is a script from a plugin so that explains it. I'll give that global you mentioned for debugging rev scripts a try. Pete lcSQL Software On Tue, Oct 9, 2012 at 5:59 PM, Mark Wieder wrote: > Depends. If the frontscript is a script from a plugin then it's a > system stack and the debugger will normally ignore breakpoints and > errors in it. > From dochawk at gmail.com Tue Oct 9 22:10:18 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 9 Oct 2012 19:10:18 -0700 Subject: Strict Compile Mode In-Reply-To: <7F296723-9DC5-4453-813E-AACF67ED8554@twft.com> References: <50745464.4060809@fourthworld.com> <7F296723-9DC5-4453-813E-AACF67ED8554@twft.com> Message-ID: On Tue, Oct 9, 2012 at 9:51 AM, Bob Sneidar wrote: > OH! Kind of like a local global? I've used so many languages over the years that they all run together, but isn't it C that scopes things so that if I have a routine defined within another, it has access to the parent's variables/names, unless it defines a conflicting one itself? I would *really* like a semi-global scope that applies only to other routines in the same script, and not to other scripts . . . Of course, there's days I contemplate implementing my program in an object Cobol with a good GUI kit . . . (or is it "realize that the correct tool is . . ." ?) -- Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Tue Oct 9 22:18:59 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 9 Oct 2012 19:18:59 -0700 Subject: Cannot build a standalone application In-Reply-To: <216FE008-B526-46BD-8339-C6A4799BD8E6@economy-x-talk.com> References: <86299FD5-FE98-4E8B-B53F-E022387C391A@economy-x-talk.com> <507436F0.1040508@fourthworld.com> <216FE008-B526-46BD-8339-C6A4799BD8E6@economy-x-talk.com> Message-ID: On Tue, Oct 9, 2012 at 7:46 AM, Mark Schonewille wrote: > Apple provides developers with preview releases of Mac OS X and >XCode. That's sufficient to make sure that RAD tools like LiveCode are >up-to-date the day that the next OSX or XCode is released. And speaking from experience: the *alpha* release of system 7 was far more stable than things coming out of Redmond in the following decades . . . It had enough goodies that I usually used it for my law office instead of 6.0.7 . . . (OK, I've dated myself. I'm done). -- Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Tue Oct 9 22:23:49 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 9 Oct 2012 19:23:49 -0700 Subject: Calling a pdf display through LiveCode, on a PC. In-Reply-To: <50714F4A.6060405@gmail.com> References: <87836753-32D3-4B64-BBC8-20975E78EC8A@wanadoo.fr> <98C26999-D7EA-4537-83C4-61CBE95ED98D@major.on-rev.com> <1B9F0759-FC4F-451E-AFA8-B0C1946F7D7B@major.on-rev.com> <5071258F.3000105@gmail.com> <5071263F.6060600@gmail.com> <9DFC259F-C664-4BD0-8C1B-FEB1C0609CC5@major.on-rev.com> <50714F4A.6060405@gmail.com> Message-ID: On Sun, Oct 7, 2012 at 2:45 AM, Richmond wrote: > Possibly there is an open-source 'something' for PDF around and about that > can be > leveraged with Livecode: ghostscript and ps2pdf are a possibility. Unfortunately, on mac, you seem to need to install macports first, which makes this a non-starter for a commercial application -- Richard E. Hawkins, Esq. (702) 508-8462 From coiin at verizon.net Tue Oct 9 22:31:05 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 9 Oct 2012 22:31:05 -0400 Subject: Cannot build a standalone application In-Reply-To: References: <86299FD5-FE98-4E8B-B53F-E022387C391A@economy-x-talk.com> <507436F0.1040508@fourthworld.com> <216FE008-B526-46BD-8339-C6A4799BD8E6@economy-x-talk.com> Message-ID: <886F03A5-E95B-4F55-84AF-4277BA498AD5@verizon.net> A small claim to fame of mine, I was the first person anywhere to be running System 7 full time. I was using it all the time from around Alpha 9. The System 7 team themselves were using it full time from about Alpha 11. I think it was around 18 months from the times I was using it until it was actually released. On Oct 9, 2012, at 10:18 PM, "Dr. Hawkins" wrote: > >And speaking from experience: the *alpha* release of system 7 was far > more stable than things coming out of Redmond in the following decades > . . . From jacque at hyperactivesw.com Tue Oct 9 23:09:11 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 09 Oct 2012 22:09:11 -0500 Subject: Strict Compile Mode In-Reply-To: References: <50745464.4060809@fourthworld.com> <7F296723-9DC5-4453-813E-AACF67ED8554@twft.com> Message-ID: <5074E6D7.4070908@hyperactivesw.com> On 10/9/12 9:10 PM, Dr. Hawkins wrote: > I would *really* like a semi-global scope that applies only to other > routines in the same script, and not to other scripts . . . That's what script local variables are. Declare them at the top of the script (or before any other handler uses them) and all handlers in that script (and that script only) have access to it: local sCounter on openCard put 0 into sCounter end openCard on whatever add 1 to sCounter end whatever on somethingElse subtract 5 from sCounter end somethingElse As long as all these handlers are in the same script, they can all access sCounter. Other scripts don't know about it. See "local" in the dictionary. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Oct 9 23:15:39 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 09 Oct 2012 22:15:39 -0500 Subject: dysfunctional scroll the loc script In-Reply-To: <5F5051D5-EA7C-4936-AC5B-EA0B0D8D63CE@doctorTimothyMiller.com> References: <5F5051D5-EA7C-4936-AC5B-EA0B0D8D63CE@doctorTimothyMiller.com> Message-ID: <5074E85B.9000102@hyperactivesw.com> On 10/9/12 7:08 PM, Timothy Miller wrote: > > on mouseUp > put "537,1" into locVar > repeat with i = 1 to 650 > set the loc of field "foo" to locvar > add 1 to item 2 of locVar > wait 1 millisecs > end repeat > end mouseUp > > It works, but it takes a whole lot longer than 650 milliseconds for > the loc of the field to scroll to the bottom -- more like ten seconds, > and it does not scroll smoothly. Besides the one millisecond wait, there is also the time it takes to redraw the field and its contents every time through the loop. That adds overhead. The "move" command is optimized animation, and is only one line: move field "foo" from 537,1 to 537,650 in one second There's other variations you can use, take a look at "move" in the dictionary. You can move things using exact positions, or relative positions, in a certain amount of time, or at a certain speed. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Tue Oct 9 23:26:04 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 10 Oct 2012 14:26:04 +1100 Subject: [ANN] Background task execution external for iOS Message-ID: <73A42BD1-1FEB-42E1-ABCD-4AD7130B8AB5@sweattechnologies.com> Hi LiveCoders This morning Guglielmo emailed me asking if the background task execution external that I had discussed on the developer list a while back was available. RunRev don't officially support apps that don't quit on suspend at the moment so I hadn't released it. After Guglielmo's request I decided to release with a note that it should be considered experimental. It's now available for purchase and download from mergExt for $29 (or as part of the suite). There's still a few weeks left to lock in the current pricing and I plan to release at least one new external every week in that time. Here's a youtube video of the external in action including how to delete the exits on suspend key from the plist which may be useful to some even without the external: http://youtu.be/8qrnVGJ7lFA Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From dochawk at gmail.com Wed Oct 10 00:54:12 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 9 Oct 2012 21:54:12 -0700 Subject: Strict Compile Mode In-Reply-To: <5074E6D7.4070908@hyperactivesw.com> References: <50745464.4060809@fourthworld.com> <7F296723-9DC5-4453-813E-AACF67ED8554@twft.com> <5074E6D7.4070908@hyperactivesw.com> Message-ID: On Tue, Oct 9, 2012 at 8:09 PM, J. Landman Gay wrote: > > That's what script local variables are. Declare them at the top of the > script (or before any other handler uses them) and all handlers in that > script (and that script only) have access to it: > > local sCounter *blink* Now that you put it that way, it's obvious. [*off to bang head against wall*] thank you -- Richard E. Hawkins, Esq. (702) 508-8462 From curry at pair.com Wed Oct 10 01:15:58 2012 From: curry at pair.com (Curry Kenworthy) Date: Wed, 10 Oct 2012 00:15:58 -0500 Subject: FT: FieldTrip News In-Reply-To: References: Message-ID: <5075048E.6090900@pair.com> Howdy Folks, Several of you have inquired lately about the status of FieldTrip and I'm pleased to report that we're almost ready for the first beta release! (It's been a while and I apologize for the delay. My health took a big dive just when I was busiest, and I also was waiting for an item from another team that will play an important role in this project.) The tab bar isn't finished yet, but otherwise the FieldTrip toolbar is ready to rock your field text. For anyone new to the topic, FieldTrip provides a handy cross-platform toolbar for LiveCode 5.5's advanced text features. In short, it's like an MS Word styling toolbar for your LC fields, from bold and italic to borders and images. Coloring or styling is a snap. In the last few weeks I've developed a skin for the toolbar buttons so that the product can be used attractively on the myriad desktop and mobile platforms. The skin is flexible on coloring options and designed to be CPU-friendly for snappy results on any hardware. Later I'll probably make the skin available to use independently of FieldTrip. Maarten is putting a subset of the toolbar to the test in his product now, and I will be skinning the remaining controls and sewing everything up for the beta, then I'll get it in your hands. Considerably more will be added before the 1.0 release. We actually had a FieldTrip preview planned to visually present an overview of features at the LiveCode Conference earlier this year, but due to the hotel internet issues the presenter was not able to receive the stack by email in time for the presentation! That was a nifty demo, so I'm bringing it back to serve as the hands-on test stack for the beta. As promised, FieldTrip will be available to the preorder folks firstly, and there will be other special bonuses coming as a way of saying thanks for your confidence and support in making this library possible! I'll be using an off-list method to make this beta available privately. First look, first killer app. :) I still haven't updated my PayPal button, so it's still possible to preorder at the old price for a time and get full rights to the private beta and any bonuses that will be reserved for those who preorder. But the clock is ticking on that; I'll update the button as soon as I get caught up on the beta work. (There are also higher levels of support available in a drop-down with the PayPal button, for those who want me to spend some time exclusively on their most desired features.) For anyone who misses the preorder, after the private beta release I'll be posting either a video and/or a limited version of the demo stack to see an overview of the features. I'll post separately about news of my other addons! Thanks to all who have written off-list to ask questions and provide encouragement and feedback/requests/bug reports on these projects, and I look forward to providing a big ole bunch of releases and updates for you mighty soon. I've had to lurk a bit to get caught up with work, so I'm glad to be posting here again! Regards to all. Best wishes, Curry Kenworthy -- WordLib: Import MS Word and OpenOffice documents http://curryk.com/wordlib.html WordReport: Template-driven MS Word and OpenOffice reports, from invoices and worksheets to catalogs and mail merge http://curryk.com/wordreport.html Need custom software development or RunRev help? http://curryk.com/consulting/ From richmondmathewson at gmail.com Wed Oct 10 02:44:24 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 10 Oct 2012 09:44:24 +0300 Subject: Text field over photo In-Reply-To: References: Message-ID: <50751948.90901@gmail.com> On 10/09/2012 09:56 PM, Timothy Miller wrote: > Hello, > > I want to display a line of text -- in a field, over a photo. The loc of the field will scroll down. I want the text to be as legible as possible, but the photo will vary. I'm wondering about the best way to make the text legible. > > What do you suggest? > > --A black font with a white outline? Or white font with a black outline? Can someone recommend such a font? > > --Maybe a field with a semi-transparent white background? If this is recommended, I can't quite figure out how to set the background of a field to a semi-transparent color. A fuzzy edge around such a background would be even better. Suggestions? > > Thanks in advance, > > Tim > _______________________________________________ > I would go for a transparent field containing white, bolded text with a BLACK outer glow. From m.schonewille at economy-x-talk.com Wed Oct 10 04:24:09 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 10 Oct 2012 10:24:09 +0200 Subject: Text field over photo In-Reply-To: <82DDC18E-7C14-4253-986F-5D28AD983554@doctorTimothyMiller.com> References: <507474DA.6060503@gmail.com> <82DDC18E-7C14-4253-986F-5D28AD983554@doctorTimothyMiller.com> Message-ID: <6B562335-CF52-4A97-9E2B-F03825AA63EB@economy-x-talk.com> Tim, Select the transparent field, go to Colors & Patterns to make the text white and go to Graphic Effects to add the outer glow and adjust the remaining properties as you require. -- 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 On 10 okt 2012, at 01:40, Timothy Miller wrote: > > Thanks Mark, > > I'm sorry to admit I don't know how to do that. I can figure it out, very likely, but I need one or two tiny hints. Inks and blends have always been mysterious to me. > > Bob, I appreciate your suggestion, too. Can I have a little hint about how to apply a drop shadow to text in a field? > > Cheers, > > Tim Miller From janschenkel at yahoo.com Wed Oct 10 04:41:18 2012 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 10 Oct 2012 01:41:18 -0700 (PDT) Subject: Jan Schenkel - Please contact me privately! In-Reply-To: <3617EAF4-43F9-41F4-94FD-216FC88BEFB9@me.com> References: <3617EAF4-43F9-41F4-94FD-216FC88BEFB9@me.com> Message-ID: <1349858478.63681.YahooMailNeo@web141101.mail.bf1.yahoo.com> Hi Charles, I had signed off early yesterday, and didn't see your emails until this morning. Looking into it now... 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: Charles Szasz To: use-livecode at lists.runrev.com Cc: Sent: Tuesday, October 9, 2012 10:14 PM Subject: Jan Schenkel - Please contact me privately! Jan, I sent several emails to you but have not received a reply. Please contact me off of the list. I have a Quartam Reports Pro problem. ? Thanks! Charles Szasz cszasz at mac.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From henshaw at me.com Wed Oct 10 07:26:31 2012 From: henshaw at me.com (Andrew Henshaw) Date: Wed, 10 Oct 2012 12:26:31 +0100 Subject: [ANN] Background task execution external for iOS In-Reply-To: <73A42BD1-1FEB-42E1-ABCD-4AD7130B8AB5@sweattechnologies.com> References: <73A42BD1-1FEB-42E1-ABCD-4AD7130B8AB5@sweattechnologies.com> Message-ID: Looks good, and right on time for me!!! Just finishing an app that uses the dropbox external and the biggest pain was the app shutting down on the users request and not completing the dropbox backup. This looks like the external for the job! Andy On 10 Oct 2012, at 04:26, Monte Goulding wrote: > Hi LiveCoders > > This morning Guglielmo emailed me asking if the background task execution external that I had discussed on the developer list a while back was available. RunRev don't officially support apps that don't quit on suspend at the moment so I hadn't released it. After Guglielmo's request I decided to release with a note that it should be considered experimental. It's now available for purchase and download from mergExt for $29 (or as part of the suite). There's still a few weeks left to lock in the current pricing and I plan to release at least one new external every week in that time. > > Here's a youtube video of the external in action including how to delete the exits on suspend key from the plist which may be useful to some even without the external: http://youtu.be/8qrnVGJ7lFA > > Cheers > > Monte > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From th.douez at gmail.com Wed Oct 10 07:51:16 2012 From: th.douez at gmail.com (Thierry Douez) Date: Wed, 10 Oct 2012 13:51:16 +0200 Subject: my livecode IDE is sick Message-ID: Hi all, Any ideas what I could to make my livecode IDE works better ? Running 4.5.3 on Macosx 10.7.5 Please, spare me to update :) I have few weird behaviors: - can't execute any commands in the message box - when I right click on any object to edit the script, first time, I have the watch forever, I do a second time the right click, then the script editor starts but fills all the screen :( When the script editor is already open, it works fine. Using Peter's plugin "lcStackBrowser" , I don't have these problems! - The arrowKey messages are not send most of the time ! I've put in trash my livecode app, reload it form runrev and re-install it. I've deleted the livecode stack in the runrev preference folder I've suppressed all plugins. I have a global variable called: each Do you have it too ? Maybe I've the first Livecode virus send by the anonymous anti-cheese eaters ? Thanks for any ideas, Thierry From toolbook at kestner.de Wed Oct 10 07:59:25 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 10 Oct 2012 13:59:25 +0200 Subject: Creating iPhone App on windows? Message-ID: <004501cda6de$b23487b0$169d9710$@de> Hi, reading the compatibility issues of LC, XCode and iOS I am asking myself, if you can create iPhone apps on windows at all? Without xCode? I haven't read about this yet. And which development platform is required for android apps? Thanks Tiemo From matthias_livecode_150811 at m-r-d.de Wed Oct 10 08:26:14 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 10 Oct 2012 14:26:14 +0200 Subject: Creating iPhone App on windows? In-Reply-To: <004501cda6de$b23487b0$169d9710$@de> References: <004501cda6de$b23487b0$169d9710$@de> Message-ID: <62DA7434-6CB4-412A-B8E4-78DF611032A2@m-r-d.de> Timo, you can use now Windows, Mac and Linux to develop Android Apps with LC. You need also the Android SDK from Google for that. There is a lesson at http://lessons.runrev.com/s/lessons/m/4069/l/27389-how-do-i-become-an-android-developer-on-a-mac which describes how to "Become a Android Developer." The lesson describes it for Mac, but the steps for windows are the same. For iOS you have to use LC on a Mac with Xcode. Regards, Matthias -- Matthias Rebbe matthias (at) rebbe.tk Tel +49.5741.310000 Tel +49.160.5504462 -- "Life is too short for boring code" Am 10.10.2012 um 13:59 schrieb Tiemo Hollmann TB : > Hi, > > reading the compatibility issues of LC, XCode and iOS I am asking myself, if > you can create iPhone apps on windows at all? Without xCode? I haven't read > about this yet. And which development platform is required for android apps? > > 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 Wed Oct 10 08:34:56 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 10 Oct 2012 14:34:56 +0200 Subject: AW: Creating iPhone App on windows? In-Reply-To: <62DA7434-6CB4-412A-B8E4-78DF611032A2@m-r-d.de> References: <004501cda6de$b23487b0$169d9710$@de> <62DA7434-6CB4-412A-B8E4-78DF611032A2@m-r-d.de> Message-ID: <005501cda6e3$a8593ce0$f90bb6a0$@de> Hi Matthias, thanks for the link! I must have overlooked it. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Matthias Rebbe > Gesendet: Mittwoch, 10. Oktober 2012 14:26 > An: How to use LiveCode > Betreff: Re: Creating iPhone App on windows? > > Timo, > > you can use now Windows, Mac and Linux to develop Android Apps with LC. > You need also the Android SDK from Google for that. > > There is a lesson at > > http://lessons.runrev.com/s/lessons/m/4069/l/27389-how-do-i-become-an- > android-developer-on-a-mac > > which describes how to "Become a Android Developer." The lesson describes > it for Mac, but the steps for windows are the same. > > > For iOS you have to use LC on a Mac with Xcode. > > Regards, > > Matthias > > > -- > Matthias Rebbe > matthias (at) rebbe.tk > Tel +49.5741.310000 > Tel +49.160.5504462 > -- > "Life is too short for boring code" > > > > > > > > > Am 10.10.2012 um 13:59 schrieb Tiemo Hollmann TB : > > > Hi, > > > > reading the compatibility issues of LC, XCode and iOS I am asking > > myself, if you can create iPhone apps on windows at all? Without > > xCode? I haven't read about this yet. And which development platform is > required for android apps? > > > > 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 guglielmo at braguglia.ch Wed Oct 10 08:33:59 2012 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Wed, 10 Oct 2012 14:33:59 +0200 Subject: Creating iPhone App on windows? In-Reply-To: <004501cda6de$b23487b0$169d9710$@de> References: <004501cda6de$b23487b0$169d9710$@de> Message-ID: <50756B37.8080900@braguglia.ch> Hi Tiemo, unfortunately, on Windows you can just design the iOS interface and writing the scripts, but NO debug, NO simulation, NO stand-alone production. Possible solutions are ... ... a real Mac ... an unsupported, unofficial, illegal virtual machine running OSX on top of Windows ... an on-line mac : http://www.macincloud.com/ ... this I don't tried but you can start a Trial ... For android ... no problems, you can work on Win, Mac and Linux. Guglielmo On 10.10.2012 13:59, Tiemo Hollmann TB wrote: > Hi, > > reading the compatibility issues of LC, XCode and iOS I am asking myself, if > you can create iPhone apps on windows at all? Without xCode? I haven't read > about this yet. And which development platform is required for android apps? > > 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 ambassador at fourthworld.com Wed Oct 10 08:52:06 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 10 Oct 2012 05:52:06 -0700 Subject: Creating iPhone App on windows? In-Reply-To: <004501cda6de$b23487b0$169d9710$@de> References: <004501cda6de$b23487b0$169d9710$@de> Message-ID: <50756F76.7020901@fourthworld.com> Tiemo Hollmann wrote: > reading the compatibility issues of LC, XCode and iOS I am asking myself, if > you can create iPhone apps on windows at all? Without xCode? I haven't read > about this yet. And which development platform is required for android apps? You can now deploy to Android from Mac, Windows, and with LiveCode v5.5.2 even Linux. For iOS, Apple is aware that 87% of the world uses Windows but provides no tools for that platform. Since their EULA prohibits using OS X on anything other than "Apple branded hardware", it would seem Apple prefers that most of the world devote their time to developing exclusively for Android. ;) I suspect this will eventually change, but in the meantime the only legal way to deploy to iOS is to buy another computer from Apple. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From ambassador at fourthworld.com Wed Oct 10 08:58:26 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 10 Oct 2012 05:58:26 -0700 Subject: Cannot build a standalone application In-Reply-To: References: Message-ID: <507570F2.9070907@fourthworld.com> Dr. Hawkins wrote: > And speaking from experience: the *alpha* release of system 7 was far > more stable than things coming out of Redmond in the following decades I think you hit on a key point there. While Apple does provide some lead time for developers working with preview editions, in terms of complexity and scope it isn't reasonable to compare LiveCode to most relatively simple consumer apps. Being effectively a VM, LC has arguably much more in common with an OS than a consumer app. Given this, the relatively short delays we see between OS releases and updates to LiveCode to accommodate any lack of backward compatibility the OS vendor may have introduced is pretty good. It's also worth noting that most cases involving backward compatibility issues are unique to Apple systems. Windows and even the Linux community do a much better job of supporting legacy code even as they move their respective platforms forward. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From roger.e.eller at sealedair.com Wed Oct 10 09:49:40 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 10 Oct 2012 09:49:40 -0400 Subject: Creating iPhone App on windows? In-Reply-To: <50756F76.7020901@fourthworld.com> References: <004501cda6de$b23487b0$169d9710$@de> <50756F76.7020901@fourthworld.com> Message-ID: On Wed, Oct 10, 2012 at 8:52 AM, Richard Gaskin wrote: > > You can now deploy to Android from Mac, Windows, and with LiveCode v5.5.2 > even Linux. > > For iOS, Apple is aware that 87% of the world uses Windows but provides no > tools for that platform. Since their EULA prohibits using OS X on anything > other than "Apple branded hardware", it would seem Apple prefers that most > of the world devote their time to developing exclusively for Android. ;) > > I suspect this will eventually change, but in the meantime the only legal > way to deploy to iOS is to buy another computer from Apple. > > -- > Richard Gaskin > "it would seem Apple prefers that most of the world devote their time to developing exclusively for Android. ;)" Well said! iLOL'd ~Roger From williamdesmet at gmail.com Wed Oct 10 10:46:34 2012 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 10 Oct 2012 16:46:34 +0200 Subject: Delete folder with files on iOS Message-ID: Hi there, On iOS I made a folder with files. I use button to delete a selected file from the folder. So far so good! Now I would like to delete the whole folder with files at once. The Dictionary says I have to use 'revDeleteFolder' which is not supported on iOS. Is there a way to do it or not? Thanks! greetings, William From klaus at major.on-rev.com Wed Oct 10 10:53:48 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 10 Oct 2012 16:53:48 +0200 Subject: Delete folder with files on iOS In-Reply-To: References: Message-ID: <5DB5F303-CBE9-42A9-8362-72E871AA1909@major.on-rev.com> Hi William, Am 10.10.2012 um 16:46 schrieb William de Smet : > Hi there, > > On iOS I made a folder with files. > I use button to delete a selected file from the folder. > So far so good! > Now I would like to delete the whole folder with files at once. > The Dictionary says I have to use 'revDeleteFolder' which is not supported > on iOS. > > Is there a way to do it or not? well, like in the good ol' times: delete all files in that folder first, then you can delete the empty folder :-) > Thanks! > > greetings, > > William Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From jiml at netrin.com Wed Oct 10 10:54:17 2012 From: jiml at netrin.com (Jim Lambert) Date: Wed, 10 Oct 2012 07:54:17 -0700 Subject: Text field over photo In-Reply-To: References: Message-ID: <8459162C-79D2-445D-98CF-097B54091006@netrin.com> TimothyM wrote: > > Is there a way to import the image into the background of the field, so I only have to scroll the loc of one object, instead of two? You can set the background of a field to an image. Import the image you want to use into the stack Select the Field Property Inspector choose Colors & Patterns click lefthand box next to FILL Select 'This stack" from the Image Library popup Select your image Be aware the image will tile if it is smaller than the field and it will scroll with the field contents. Jim Lambert From marty at ucls.uchicago.edu Wed Oct 10 11:04:02 2012 From: marty at ucls.uchicago.edu (Marty Billingsley) Date: Wed, 10 Oct 2012 10:04:02 -0500 Subject: Help! PlayCommand Agent X Message-ID: <109548DC-4823-4632-A234-97D2FBDCB7BC@ucls.uchicago.edu> Hi all -- I've been using Shakobox and PlayCommand Agent X with my programming classes for many years. They love making an electronic keyboard. This year we upgraded to Mac Mountain Lion and can't run Power PC apps any more. Is there an updated version of PlayCommand Agent X that I can use? Or is the source code available, so I can try to hack together my own version? I hate to give up one of the projects that my students really enjoy. Thanks for any pointers you can give me. - marty -- Marty Billingsley Department of Computer Science The University of Chicago Laboratory Schools From rene.micout at numericable.com Wed Oct 10 11:13:28 2012 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Wed, 10 Oct 2012 17:13:28 +0200 Subject: Help! PlayCommand Agent X In-Reply-To: <109548DC-4823-4632-A234-97D2FBDCB7BC@ucls.uchicago.edu> References: <109548DC-4823-4632-A234-97D2FBDCB7BC@ucls.uchicago.edu> Message-ID: <61582A65-B50B-4D9F-8F04-84001893DB5D@numericable.com> Hello Marty, Play command agent X don't work with Mountain Lion !!! I replaced it with sunnYmidi by Thierry Douez (present on this list, sometimes...) see > http://sunny-tdz.com Le 10 oct. 2012 ? 17:04, Marty Billingsley a ?crit : > Hi all -- > > I've been using Shakobox and PlayCommand Agent X with my programming classes for many years. They love making an electronic keyboard. This year we upgraded to Mac Mountain Lion and can't run Power PC apps any more. Is there an updated version of PlayCommand Agent X that I can use? Or is the source code available, so I can try to hack together my own version? > > I hate to give up one of the projects that my students really enjoy. > > Thanks for any pointers you can give me. > - marty > > -- > Marty Billingsley > Department of Computer Science > The University of Chicago Laboratory Schools > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Wed Oct 10 11:44:55 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 10 Oct 2012 17:44:55 +0200 Subject: AW: Creating iPhone App on windows? In-Reply-To: <50756F76.7020901@fourthworld.com> References: <004501cda6de$b23487b0$169d9710$@de> <50756F76.7020901@fourthworld.com> Message-ID: <007a01cda6fe$326694e0$9733bea0$@de> Thanks Richard and Guglielmo, we just HAVE TO love the apple world :) I wonder how long they still can keep their restricted policy, while the market goes on. But up to now their success doesn't need any changes. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Richard Gaskin > Gesendet: Mittwoch, 10. Oktober 2012 14:52 > An: use-livecode at lists.runrev.com > Betreff: Re: Creating iPhone App on windows? > > Tiemo Hollmann wrote: > > reading the compatibility issues of LC, XCode and iOS I am asking > > myself, if you can create iPhone apps on windows at all? Without > > xCode? I haven't read about this yet. And which development platform is > required for android apps? > > You can now deploy to Android from Mac, Windows, and with LiveCode > v5.5.2 even Linux. > > For iOS, Apple is aware that 87% of the world uses Windows but provides no > tools for that platform. Since their EULA prohibits using OS X on > anything other than "Apple branded hardware", it would seem Apple prefers > that most of the world devote their time to developing exclusively for > Android. ;) > > I suspect this will eventually change, but in the meantime the only legal > way to deploy to iOS is to buy another computer from Apple. > > -- > 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 bobs at twft.com Wed Oct 10 11:56:06 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 10 Oct 2012 08:56:06 -0700 Subject: Cannot build a standalone application In-Reply-To: <507570F2.9070907@fourthworld.com> References: <507570F2.9070907@fourthworld.com> Message-ID: On Oct 10, 2012, at 5:58 AM, Richard Gaskin wrote: > Dr. Hawkins wrote: >> And speaking from experience: the *alpha* release of system 7 was far >> more stable than things coming out of Redmond in the following decades > > I think you hit on a key point there. While Apple does provide some lead time for developers working with preview editions, in terms of complexity and scope it isn't reasonable to compare LiveCode to most relatively simple consumer apps. Being effectively a VM, LC has arguably much more in common with an OS than a consumer app. > > Given this, the relatively short delays we see between OS releases and updates to LiveCode to accommodate any lack of backward compatibility the OS vendor may have introduced is pretty good. > > It's also worth noting that most cases involving backward compatibility issues are unique to Apple systems. Windows and even the Linux community do a much better job of supporting legacy code even as they move their respective platforms forward. > > -- > Richard Gaskin Agreed, and this was actually a ball and chain on the ankle of Microsoft for so many years, as old DOS users had conniptions every time MS announced they were discontinuing support for DOS in the next major OS release. Backward compatibility is a double edged sword. There is, as always, a balance to be had in there somewhere. Bob From toolbook at kestner.de Wed Oct 10 11:57:49 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 10 Oct 2012 17:57:49 +0200 Subject: Quicktime problems on windows Message-ID: <007b01cda6ff$ffa4bcb0$feee3610$@de> Hi, from time to time I have customers who have problems with playing my QT videos in my LC program on windows machines. The video window just stays black, or gets half transparent or other of these kind of weird phenomena's. In almost all cases I could solve the problems by uninstalling and reinstalling quicktime. Sometimes it had to be done up to three times (yes, with admin users, newest driver of the graphic adapter, etc.) until quicktime was ready to work on a windows machine. In some cases even the hardware acceleration of the graphic adapter had to be switched off. Now I had a customer with a 3 month brand new computer W7,64Bit, where everything failed until the customer found out by incident to start my LC 4.6 program in XP compatibility mode, which was the only way to get quicktime with LC to life. Do you have other hints and tricks, what to look for with QT problems on windows and do you have any idea what could cause QT to run, when LC runs in XP mode? Thanks for sharing your experiences Tiemo From bobs at twft.com Wed Oct 10 11:59:37 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 10 Oct 2012 08:59:37 -0700 Subject: Text field over photo In-Reply-To: <82DDC18E-7C14-4253-986F-5D28AD983554@doctorTimothyMiller.com> References: <507474DA.6060503@gmail.com> <82DDC18E-7C14-4253-986F-5D28AD983554@doctorTimothyMiller.com> Message-ID: I will send you an image of the properties palette for a field I have a drop shadow set for. Bob On Oct 9, 2012, at 4:40 PM, Timothy Miller wrote: > On Oct 9, 2012, at 12:40 PM, Mark Schonewille wrote: > >> Hi Tim, >> >> For such tasks, I use a transparent field with white text and an outerglow with the following settings: >> >> opacity 255 >> blendmode normal >> size 6 >> range 255 >> filter box3pass >> color 0,0,0 >> spread 0 > > > Thanks Mark, > > I'm sorry to admit I don't know how to do that. I can figure it out, very likely, but I need one or two tiny hints. Inks and blends have always been mysterious to me. > > Bob, I appreciate your suggestion, too. Can I have a little hint about how to apply a drop shadow to text in a field? > > Cheers, > > Tim Miller > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From marty at ucls.uchicago.edu Wed Oct 10 12:02:30 2012 From: marty at ucls.uchicago.edu (Marty Billingsley) Date: Wed, 10 Oct 2012 11:02:30 -0500 Subject: Help! PlayCommand Agent X In-Reply-To: References: Message-ID: <3EE6EBCD-CA5C-4DC2-95A1-E3786EF91837@ucls.uchicago.edu> Thanks, Ren?. The sunnYmidie interface looks a LOT more complicated than the interface of shakobox (which uses PlayCommand Agent X). I'm basically looking for something that will mimic the old Hypercard "play" command, which wanted an instrument, a tempo, and a note or list of notes. Unless I'm misreading the tutorial, sunnYmidi is way too complicated for my students. If somebody would rewrite shakobox to use sunnYmidi, so that we could still use the sbPlay command, my students could still use it. Or if anyone knows where the source code for PlayCommand Agent X is, I could try to rewrite it. I found the windows source online, but not the Mac source. Thanks again for any suggestions! - marty -- Marty Billingsley Department of Computer Science The University of Chicago Laboratory Schools Ren? Micoum wrote: > Hello Marty, > Play command agent X don't work with Mountain Lion !!! > I replaced it with sunnYmidi by Thierry Douez (present on this list, sometimes...) > see > http://sunny-tdz.com > > > Le 10 oct. 2012 ? 17:04, Marty Billingsley a ?crit : > >> Hi all -- >> >> I've been using Shakobox and PlayCommand Agent X with my programming classes for many years. They love making an electronic keyboard. This year we upgraded to Mac Mountain Lion and can't run Power PC apps any more. Is there an updated version of PlayCommand Agent X that I can use? Or is the source code available, so I can try to hack together my own version? >> >> I hate to give up one of the projects that my students really enjoy. >> >> Thanks for any pointers you can give me. >> - marty >> >> -- >> Marty Billingsley >> Department of Computer Science >> The University of Chicago Laboratory Schools >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > From bobs at twft.com Wed Oct 10 12:10:30 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 10 Oct 2012 09:10:30 -0700 Subject: AW: Creating iPhone App on windows? In-Reply-To: <007a01cda6fe$326694e0$9733bea0$@de> References: <004501cda6de$b23487b0$169d9710$@de> <50756F76.7020901@fourthworld.com> <007a01cda6fe$326694e0$9733bea0$@de> Message-ID: <381F6697-FBC8-40B7-95D5-D1EAC517AF61@twft.com> It begs the question, what if the Android had come out in some usable form (the first ones were pigs) well before Apple had released the iPhone? Who would be the market dominator then? People often back the product they bought to the hilt, simply and for no other reason than, it was the product they bought. Often times the first vendor whose product gets deployed in large numbers is the winner. Look at DOS and subsequent Windows iterations over the years. No one could really argue that Windows 1.0 was the best OS in terms of usability, or even that DOS was the better OS over the basic Mac os back then, and yet Windows dominated the business market. Why? Because MS was in the business market well before Apple, because they had already purchased the MS product, and they were not about to allow anyone to even imply that it was not the best decision that could be made. People are funny creatures. :-) Bob On Oct 10, 2012, at 8:44 AM, Tiemo Hollmann TB wrote: > Thanks Richard and Guglielmo, > we just HAVE TO love the apple world :) > I wonder how long they still can keep their restricted policy, while the > market goes on. But up to now their success doesn't need any changes. > Tiemo From klaus at major.on-rev.com Wed Oct 10 12:15:01 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 10 Oct 2012 18:15:01 +0200 Subject: Quicktime problems on windows In-Reply-To: <007b01cda6ff$ffa4bcb0$feee3610$@de> References: <007b01cda6ff$ffa4bcb0$feee3610$@de> Message-ID: Hi Tiemo, Am 10.10.2012 um 17:57 schrieb "Tiemo Hollmann TB" : > Hi, > > from time to time I have customers who have problems with playing my QT > videos in my LC program on windows machines. The video window just stays > black, or gets half transparent or other of these kind of weird phenomena's. > In almost all cases I could solve the problems by uninstalling and > reinstalling quicktime. Sometimes it had to be done up to three times (yes, > with admin users, newest driver of the graphic adapter, etc.) until > quicktime was ready to work on a windows machine. In some cases even the > hardware acceleration of the graphic adapter had to be switched off. > > Now I had a customer with a 3 month brand new computer W7,64Bit, where > everything failed until the customer found out by incident to start my LC > 4.6 program in XP compatibility mode, which was the only way to get > quicktime with LC to life. > > Do you have other hints and tricks, what to look for with QT problems on > windows and do you have any idea what could cause QT to run, when LC runs in > XP mode? > > Thanks for sharing your experiences I'm afraid you cannot do much about this! :-/ Problem 1: There is no 64bit Quicktime for Windows! Problem 2: The days of Quicktime for Windows are definitively counted***, so I doubt there will ever be a 64bit version! ***As I already wrote a couple of times here, I read in the "Read Me" of the latest iTunes for Windows: ... Hint: iTunes does not install nor need Quicktime anymore! ... Ouch! So it is more than time for RunRev to find/develop/implement another multimedia playback engine for crossplatform compatibility in the near future! > Tiemo Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From th.douez at gmail.com Wed Oct 10 12:18:32 2012 From: th.douez at gmail.com (Thierry Douez) Date: Wed, 10 Oct 2012 18:18:32 +0200 Subject: Help! PlayCommand Agent X In-Reply-To: <3EE6EBCD-CA5C-4DC2-95A1-E3786EF91837@ucls.uchicago.edu> References: <3EE6EBCD-CA5C-4DC2-95A1-E3786EF91837@ucls.uchicago.edu> Message-ID: Hi Marty, 2012/10/10 Marty Billingsley : > Thanks, Ren?. The sunnYmidi interface looks a LOT more complicated than the interface of shakobox (which uses PlayCommand Agent X). I'm basically looking for something that will mimic the old Hypercard "play" command, which wanted an instrument, a tempo, and a note or list of notes. Unless I'm misreading the tutorial, sunnYmidi is way too complicated for my students. Please, just read this: http://sunny-tdz.com/art-1000#Playing whcih tells you how to play a note: sunnYmidi.Play channel, Duration, Velocity, Note That's it. if you want to change of instrument, go http://sunny-tdz.com/art-1000#Instrument sunnYmidi.Set channel, "instrument", instrument_ID and that's all you need to know for basic stuff. I suggest you to download the sunnYmidi demo Live tutorial which in few minutes, shows you how it is so simple and still powerfull: go http://sunny-tdz.com/dwn and download "sunnYmidi demo v2.0" Kind regards, Thierry > - marty > > -- > Marty Billingsley > Department of Computer Science > The University of Chicago Laboratory Schools > > Ren? Micoum wrote: > >> Hello Marty, >> Play command agent X don't work with Mountain Lion !!! >> I replaced it with sunnYmidi by Thierry Douez (present on this list, sometimes...) >> see > http://sunny-tdz.com >> >> >> Le 10 oct. 2012 ? 17:04, Marty Billingsley a ?crit : >> >>> Hi all -- >>> >>> I've been using Shakobox and PlayCommand Agent X with my programming classes for many years. They love making an electronic keyboard. This year we upgraded to Mac Mountain Lion and can't run Power PC apps any more. Is there an updated version of PlayCommand Agent X that I can use? Or is the source code available, so I can try to hack together my own version? >>> >>> I hate to give up one of the projects that my students really enjoy. >>> >>> Thanks for any pointers you can give me. >>> - marty >>> >>> -- >>> Marty Billingsley >>> Department of Computer Science >>> The University of Chicago Laboratory Schools >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Oct 10 12:19:28 2012 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Wed, 10 Oct 2012 18:19:28 +0200 Subject: Help! PlayCommand Agent X In-Reply-To: <3EE6EBCD-CA5C-4DC2-95A1-E3786EF91837@ucls.uchicago.edu> References: <3EE6EBCD-CA5C-4DC2-95A1-E3786EF91837@ucls.uchicago.edu> Message-ID: Have you see that ? http://sunny-tdz.com/art-1010 Le 10 oct. 2012 ? 18:02, Marty Billingsley a ?crit : > Thanks, Ren?. The sunnYmidie interface looks a LOT more complicated than the interface of shakobox (which uses PlayCommand Agent X). I'm basically looking for something that will mimic the old Hypercard "play" command, which wanted an instrument, a tempo, and a note or list of notes. Unless I'm misreading the tutorial, sunnYmidi is way too complicated for my students. From stephenREVOLUTION2 at barncard.com Wed Oct 10 12:26:15 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 10 Oct 2012 09:26:15 -0700 Subject: AW: Creating iPhone App on windows? In-Reply-To: <381F6697-FBC8-40B7-95D5-D1EAC517AF61@twft.com> References: <004501cda6de$b23487b0$169d9710$@de> <50756F76.7020901@fourthworld.com> <007a01cda6fe$326694e0$9733bea0$@de> <381F6697-FBC8-40B7-95D5-D1EAC517AF61@twft.com> Message-ID: Android is the market dominator now. On Wed, Oct 10, 2012 at 9:10 AM, Bob Sneidar wrote: > It begs the question, what if the Android had come out in some usable form > (the first ones were pigs) well before Apple had released the iPhone? Who > would be the market dominator then? People often back the product they > bought to the hilt, simply and for no other reason than, it was the product > they bought. Often times the first vendor whose product gets deployed in > large numbers is the winner. > > Look at DOS and subsequent Windows iterations over the years. No one could > really argue that Windows 1.0 was the best OS in terms of usability, or > even that DOS was the better OS over the basic Mac os back then, and yet > Windows dominated the business market. Why? Because MS was in the business > market well before Apple, because they had already purchased the MS > product, and they were not about to allow anyone to even imply that it was > not the best decision that could be made. People are funny creatures. :-) > > Bob > > > On Oct 10, 2012, at 8:44 AM, Tiemo Hollmann TB wrote: > > > Thanks Richard and Guglielmo, > > we just HAVE TO love the apple world :) > > I wonder how long they still can keep their restricted policy, while the > > market goes on. But up to now their success doesn't need any changes. > > 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From bobs at twft.com Wed Oct 10 12:41:43 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 10 Oct 2012 09:41:43 -0700 Subject: AW: Creating iPhone App on windows? In-Reply-To: References: <004501cda6de$b23487b0$169d9710$@de> <50756F76.7020901@fourthworld.com> <007a01cda6fe$326694e0$9733bea0$@de> <381F6697-FBC8-40B7-95D5-D1EAC517AF61@twft.com> Message-ID: Just in current sales, or in market share? Or both? I haven't looked at the numbers overall. Bob On Oct 10, 2012, at 9:26 AM, stephen barncard wrote: > Android is the market dominator now. From toolbook at kestner.de Wed Oct 10 12:42:59 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 10 Oct 2012 18:42:59 +0200 Subject: AW: Quicktime problems on windows In-Reply-To: References: <007b01cda6ff$ffa4bcb0$feee3610$@de> Message-ID: <008001cda706$4ee4eb00$ecaec100$@de> Hi Klaus, ok there is no 64Bit version of QT, but a 32Bit version should - and it does in most cases - run on 64Bit systems, but just not always :( Don't make me afraid with the days of QT are counted! I don't like to think about changing the video standard. :( Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Klaus on-rev > Gesendet: Mittwoch, 10. Oktober 2012 18:15 > An: How to use LiveCode > Betreff: Re: Quicktime problems on windows > > Hi Tiemo, > > Am 10.10.2012 um 17:57 schrieb "Tiemo Hollmann TB" : > > > Hi, > > > > from time to time I have customers who have problems with playing my > > QT videos in my LC program on windows machines. The video window just > > stays black, or gets half transparent or other of these kind of weird > phenomena's. > > In almost all cases I could solve the problems by uninstalling and > > reinstalling quicktime. Sometimes it had to be done up to three times > > (yes, with admin users, newest driver of the graphic adapter, etc.) > > until quicktime was ready to work on a windows machine. In some cases > > even the hardware acceleration of the graphic adapter had to be switched > off. > > > > Now I had a customer with a 3 month brand new computer W7,64Bit, where > > everything failed until the customer found out by incident to start my > > LC > > 4.6 program in XP compatibility mode, which was the only way to get > > quicktime with LC to life. > > > > Do you have other hints and tricks, what to look for with QT problems > > on windows and do you have any idea what could cause QT to run, when > > LC runs in XP mode? > > > > Thanks for sharing your experiences > > I'm afraid you cannot do much about this! :-/ > > Problem 1: There is no 64bit Quicktime for Windows! > Problem 2: The days of Quicktime for Windows are definitively counted***, > so I doubt there will ever be a 64bit version! > > ***As I already wrote a couple of times here, I read in the "Read Me" of > the latest iTunes for Windows: > ... > Hint: iTunes does not install nor need Quicktime anymore! > ... > Ouch! > > So it is more than time for RunRev to find/develop/implement another > multimedia playback engine for crossplatform compatibility in the near > future! > > > Tiemo > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Wed Oct 10 12:46:05 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 10 Oct 2012 09:46:05 -0700 Subject: AW: Creating iPhone App on windows? In-Reply-To: References: <004501cda6de$b23487b0$169d9710$@de> <50756F76.7020901@fourthworld.com> <007a01cda6fe$326694e0$9733bea0$@de> <381F6697-FBC8-40B7-95D5-D1EAC517AF61@twft.com> Message-ID: <58181B16-320C-466B-B0FA-F9C025E082D7@twft.com> Just found this on Forbes. Not saying I agree, just food for thought and very relevant to mobile app developers like us. http://www.forbes.com/sites/darcytravlos/2012/08/22/five-reasons-why-google-android-versus-apple-ios-market-share-numbers-dont-matter/ Bob On Oct 10, 2012, at 9:26 AM, stephen barncard wrote: > Android is the market dominator now. > > On Wed, Oct 10, 2012 at 9:10 AM, Bob Sneidar wrote: > >> It begs the question, what if the Android had come out in some usable form >> (the first ones were pigs) well before Apple had released the iPhone? Who >> would be the market dominator then? People often back the product they >> bought to the hilt, simply and for no other reason than, it was the product >> they bought. Often times the first vendor whose product gets deployed in >> large numbers is the winner. >> >> Look at DOS and subsequent Windows iterations over the years. No one could >> really argue that Windows 1.0 was the best OS in terms of usability, or >> even that DOS was the better OS over the basic Mac os back then, and yet >> Windows dominated the business market. Why? Because MS was in the business >> market well before Apple, because they had already purchased the MS >> product, and they were not about to allow anyone to even imply that it was >> not the best decision that could be made. People are funny creatures. :-) >> >> Bob >> >> >> On Oct 10, 2012, at 8:44 AM, Tiemo Hollmann TB wrote: >> >>> Thanks Richard and Guglielmo, >>> we just HAVE TO love the apple world :) >>> I wonder how long they still can keep their restricted policy, while the >>> market goes on. But up to now their success doesn't need any changes. >>> 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 >> > > > > -- > > > > 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 klaus at major.on-rev.com Wed Oct 10 12:50:51 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 10 Oct 2012 18:50:51 +0200 Subject: Quicktime problems on windows In-Reply-To: <008001cda706$4ee4eb00$ecaec100$@de> References: <007b01cda6ff$ffa4bcb0$feee3610$@de> <008001cda706$4ee4eb00$ecaec100$@de> Message-ID: <164EE183-2B70-4A7D-B892-EB7932C805DB@major.on-rev.com> Hi Tiemo, Am 10.10.2012 um 18:42 schrieb "Tiemo Hollmann TB" : > Hi Klaus, > > ok there is no 64Bit version of QT, but a 32Bit version should - and it does > in most cases - run on 64Bit systems, but just not always :( yes, should! :-/ > Don't make me afraid with the days of QT are counted! Don't shoot the messenger! > I don't like to think about changing the video standard. :( What do you mean with "video standard"? The format of your videos? Whatever format, they should be playable with any new multimedia engine in Livecode. But looking at last couple of releases, I'm afraid this wil take a while, since it is not a "mobile" thing... > Tiemo Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From gandalf at doctorTimothyMiller.com Wed Oct 10 12:51:17 2012 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Wed, 10 Oct 2012 09:51:17 -0700 Subject: dysfunctional scroll the loc script In-Reply-To: <5074E85B.9000102@hyperactivesw.com> References: <5F5051D5-EA7C-4936-AC5B-EA0B0D8D63CE@doctorTimothyMiller.com> <5074E85B.9000102@hyperactivesw.com> Message-ID: <506B7CFD-CFBD-45E5-A015-DD6A61FE0535@doctorTimothyMiller.com> On Oct 9, 2012, at 8:15 PM, J. Landman Gay wrote: > The "move" command is optimized animation, and is only one line: > > move field "foo" from 537,1 to 537,650 in one second > > There's other variations you can use, take a look at "move" in the dictionary. You can move things using exact positions, or relative positions, in a certain amount of time, or at a certain speed. Much better! Thanks a bunch. From pete at lcsql.com Wed Oct 10 12:59:53 2012 From: pete at lcsql.com (Peter Haworth) Date: Wed, 10 Oct 2012 09:59:53 -0700 Subject: Another Debug weirdness In-Reply-To: <14085295890.20121009175901@ahsoftware.net> References: <14085295890.20121009175901@ahsoftware.net> Message-ID: Hi Mark, As mentioned previously, I was experiencing this in a plugin stack. However I just ran the stack as a normal stack and experienced the same problem. It's definitely related to the use of a front script since if I send the same message to my stack from the message box, debug works fine. So I guess I have to ask the question again - is this behavior by design when using front scripts, is it a bug, or is it a result of something I am doing (or not doing) in my scripts? Pete lcSQL Software On Tue, Oct 9, 2012 at 5:59 PM, Mark Wieder wrote: > Pete- > > Tuesday, October 9, 2012, 12:21:57 PM, you wrote: > > > Debug is enabled and I can use it just fine in handlers that aren't > reached > > via a front script. IS there something about front script execution that > > prevents debug from working? > > Depends. If the frontscript is a script from a plugin then it's a > system stack and the debugger will normally ignore breakpoints and > errors in 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 > From bobs at twft.com Wed Oct 10 13:02:08 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 10 Oct 2012 10:02:08 -0700 Subject: [OT] Where ill conceived copyright laws can lead Message-ID: <384E791B-4491-45DA-99DE-734CD1611908@twft.com> I came across this article, and thought to myself that the whole notion about "licensing to use" vs. "buying to own" can go completely sideways if we don't apply some real common sense to the issue. http://dustinstockton.com/2012/10/is-selling-your-stuff-on-ebay-craigslist-and-at-yard-sales-about-to-become-illegal/#more-2577 From bobs at twft.com Wed Oct 10 13:03:41 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 10 Oct 2012 10:03:41 -0700 Subject: AW: Quicktime problems on windows In-Reply-To: <008001cda706$4ee4eb00$ecaec100$@de> References: <007b01cda6ff$ffa4bcb0$feee3610$@de> <008001cda706$4ee4eb00$ecaec100$@de> Message-ID: <0256410D-6BEF-4939-B803-F2361868E093@twft.com> If Apple abandons Quicktime on Windows, the glory days of Apple will truly be over. I might just go live on the street after that, carrying around a sign saying the world is coming to an end. Bob On Oct 10, 2012, at 9:42 AM, Tiemo Hollmann TB wrote: > Hi Klaus, > > ok there is no 64Bit version of QT, but a 32Bit version should - and it does > in most cases - run on 64Bit systems, but just not always :( > Don't make me afraid with the days of QT are counted! I don't like to think > about changing the video standard. :( > Tiemo From richmondmathewson at gmail.com Wed Oct 10 13:12:19 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 10 Oct 2012 20:12:19 +0300 Subject: [OT] Flash and Linux Message-ID: <5075AC73.2000101@gmail.com> I quote: "Adobe Flash Player 11.2 will be the last version to target Linux as a supported platform. Adobe will continue to provide security backports to Flash Player 11.2 for Linux." How much that will impinge on anybody on this list I just don't know. Richmond. From richmondmathewson at gmail.com Wed Oct 10 13:15:43 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 10 Oct 2012 20:15:43 +0300 Subject: AW: Quicktime problems on windows In-Reply-To: <0256410D-6BEF-4939-B803-F2361868E093@twft.com> References: <007b01cda6ff$ffa4bcb0$feee3610$@de> <008001cda706$4ee4eb00$ecaec100$@de> <0256410D-6BEF-4939-B803-F2361868E093@twft.com> Message-ID: <5075AD3F.6060606@gmail.com> On 10/10/2012 08:03 PM, Bob Sneidar wrote: > If Apple abandons Quicktime on Windows, the glory days of Apple will truly be over. I might just go live on the street after that, carrying around a sign saying the world is coming to an end. > > Bob Ooh, that sounds like fun! Of course, at that point Runtime Revolution might eventually wake up to the lack of wisdom of crawling into bed with proprietary software (Quicktime) over which they have no control, and start considering some sort of internal media player (that's truly cross-platform) that is part of Livecode itself. [Award yourself a pat on the back if you have been reading this Use-lIst long enough to realise that this is one of Richmond's pet peeves.} > > > On Oct 10, 2012, at 9:42 AM, Tiemo Hollmann TB wrote: > >> Hi Klaus, >> >> ok there is no 64Bit version of QT, but a 32Bit version should - and it does >> in most cases - run on 64Bit systems, but just not always :( >> Don't make me afraid with the days of QT are counted! I don't like to think >> about changing the video standard. :( >> 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 coiin at verizon.net Wed Oct 10 13:25:49 2012 From: coiin at verizon.net (Colin Holgate) Date: Wed, 10 Oct 2012 13:25:49 -0400 Subject: [OT] Flash and Linux In-Reply-To: <5075AC73.2000101@gmail.com> References: <5075AC73.2000101@gmail.com> Message-ID: That isn't recent news (player 11.5 is in beta now), and I think that part of the story is that the Linux providers are in a position to update the Flash player if they want. To that end there is this "Pepper" thing that Google are doing. Don't understand about it, but here's a news item from February: http://www.osnews.com/story/25639 On Oct 10, 2012, at 1:12 PM, Richmond wrote: > >"Adobe Flash Player 11.2 will be the last version to target Linux as a supported platform. Adobe will continue to provide security backports to Flash Player 11.2 for Linux." > > How much that will impinge on anybody on this list I just don't know. From jacque at hyperactivesw.com Wed Oct 10 13:21:55 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 10 Oct 2012 12:21:55 -0500 Subject: Help! PlayCommand Agent X In-Reply-To: <109548DC-4823-4632-A234-97D2FBDCB7BC@ucls.uchicago.edu> References: <109548DC-4823-4632-A234-97D2FBDCB7BC@ucls.uchicago.edu> Message-ID: <5075AEB3.1020506@hyperactivesw.com> On 10/10/12 10:04 AM, Marty Billingsley wrote: > Hi all -- > > I've been using Shakobox and PlayCommand Agent X with my programming > classes for many years. They love making an electronic keyboard. > This year we upgraded to Mac Mountain Lion and can't run Power PC > apps any more. Is there an updated version of PlayCommand Agent X > that I can use? Or is the source code available, so I can try to hack > together my own version? It was open-sourced in 2008, you can download the files here: This includes source code, Windows, and PPC agent. It was written in Real Basic. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lfredricks at proactive-intl.com Wed Oct 10 13:26:57 2012 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed, 10 Oct 2012 10:26:57 -0700 Subject: [OT] Where ill conceived copyright laws can lead In-Reply-To: <384E791B-4491-45DA-99DE-734CD1611908@twft.com> References: <384E791B-4491-45DA-99DE-734CD1611908@twft.com> Message-ID: > I came across this article, and thought to myself that the > whole notion about "licensing to use" vs. "buying to own" can > go completely sideways if we don't apply some real common > sense to the issue. > > http://dustinstockton.com/2012/10/is-selling-your-stuff-on-eba > y-craigslist-and-at-yard-sales-about-to-become-illegal/#more-2577 I wouldn't panic yet. This is a far more complex case than it appears and you have plenty of seasoned lawyers scratching their heads over what exactly could be decided. Not that it ever happens on the internet (!) but everyone and their brother is attaching lurid headlines and nutso claims to something that could end up being nothing. A Thai student was gray marketing books printed in Thailand back into the USA for the purposes of selling said books as a business (labelled specifically not for export and printed to different quality standards than you find here). A court found that in one case, First Sale Doctrine may not be applicable to some foreign made goods. THAT original case is worthy of lurid headlines, but its been blown out of proportion. It is anyone's guess what might happen next, but at the crux of this case as I understand it is if something that is manufactured and licensed specifically under the terms of non-export in another country, those said goods can be blocked from resale in the USA without the approval of the copyright holder. The supremes could come back with something broad and draconian, which in turn could up-end almost every aspect of trade in the USA. Or nothing could happen. Or whatever. In other words, another day in SCOTUSville. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From williamdesmet at gmail.com Wed Oct 10 13:42:06 2012 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 10 Oct 2012 19:42:06 +0200 Subject: Delete folder with files on iOS In-Reply-To: <5DB5F303-CBE9-42A9-8362-72E871AA1909@major.on-rev.com> References: <5DB5F303-CBE9-42A9-8362-72E871AA1909@major.on-rev.com> Message-ID: <8B299F9F-9A8B-4B2D-B304-78A93807AB9A@gmail.com> Of course. Stupid me :-) Thanks Klaus! Verstuurd vanaf mijn iPhone Op 10 okt. 2012 om 16:53 heeft Klaus on-rev het volgende geschreven: > Hi William, > > Am 10.10.2012 um 16:46 schrieb William de Smet : > >> Hi there, >> >> On iOS I made a folder with files. >> I use button to delete a selected file from the folder. >> So far so good! >> Now I would like to delete the whole folder with files at once. >> The Dictionary says I have to use 'revDeleteFolder' which is not supported >> on iOS. >> >> Is there a way to do it or not? > > well, like in the good ol' times: > delete all files in that folder first, then you can delete the empty folder :-) > >> Thanks! >> >> greetings, >> >> William > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From charles at buchwald.ca Wed Oct 10 15:44:41 2012 From: charles at buchwald.ca (Charles E Buchwald) Date: Wed, 10 Oct 2012 14:44:41 -0500 Subject: [OT] Hey, Skip Message-ID: Hey, Skip Kimpell: please contact me off list re: our LC project. -- Charles E. Buchwald http://buchwald.ca Vancouver / Mexico City / NYC Member of the 02 Global Network for Sustainable Design ? Connect on LinkedIn ? Follow me on Twitter From pmbrig at gmail.com Wed Oct 10 08:38:56 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Wed, 10 Oct 2012 08:38:56 -0400 Subject: Strict Compile Mode In-Reply-To: <95A1CAC7-9E38-496C-80BA-A2BAEEF36EE2@twft.com> References: <6B4B832C-2FEF-4814-955F-4E521621E3EF@gmail.com> <95A1CAC7-9E38-496C-80BA-A2BAEEF36EE2@twft.com> Message-ID: <8E58E950-D32C-4B74-A483-F9B8BE5E7122@gmail.com> Sometimes my sense of humor just takes a vacation?. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Oct 9, 2012, at 11:37 AM, Bob Sneidar wrote: > I think he was joking. > > On Oct 9, 2012, at 4:53 AM, Peter M. Brigham wrote: > >> That's fine if you never use visual effects, since everything unlocks when the current handlers are done and the engine issues an idle message. But if you need visual transitions, scattering around lock screen commands is a nightmare -- I can't tell you how much time I've spend trying to chase down an obscure extra lock screen that breaks my visual effects. >> >> -- Peter >> >> Peter M. Brigham >> pmbrig at gmail.com >> http://home.comcast.net/~pmbrig >> >> On Oct 8, 2012, at 6:30 PM, Peter Haworth wrote: >> >>> I've pretty much decided that every handler should start with lock messages >>> and lock screen... >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 me.com Wed Oct 10 17:39:57 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Wed, 10 Oct 2012 15:39:57 -0600 Subject: iOS: Internet connection available? Message-ID: <13304789-9BBF-41E2-B79E-3DD8509024BF@me.com> Does anyone have a good way in an iOS app to determine if an Internet connection is available? I'm not finding anything very useful in the LC Dictionary. Bonus points if there's also a way to determine the type of connection available (WiFi vs. cell service (3G/4G)). Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From coiin at verizon.net Wed Oct 10 17:49:14 2012 From: coiin at verizon.net (Colin Holgate) Date: Wed, 10 Oct 2012 17:49:14 -0400 Subject: iOS: Internet connection available? In-Reply-To: <13304789-9BBF-41E2-B79E-3DD8509024BF@me.com> References: <13304789-9BBF-41E2-B79E-3DD8509024BF@me.com> Message-ID: I read a similar question on a Flash related list today. Someone made the point that the various ways of checking for the Internet are not certain to work, and that maybe you should just try to do what it is you need to do, and if it fails, the Internet isn't there. If it is there, you could time how long it took to tell, and make decisions based on that. Just knowing that it's wi-fi or LTE, for example, won't let you know what the experience is then going to be like. My LTE gives up to 20 mbps, which is faster than the high speed Internet we have at the office. On Oct 10, 2012, at 5:39 PM, Chris Sheffield wrote: > >Does anyone have a good way in an iOS app to determine if an Internet connection is available? I'm not finding anything very useful in the LC Dictionary. Bonus points if there's also a way to determine the type of connection available (WiFi vs. cell service (3G/4G)). From guglielmo at braguglia.ch Wed Oct 10 17:51:16 2012 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Wed, 10 Oct 2012 23:51:16 +0200 Subject: iOS: Internet connection available? In-Reply-To: <13304789-9BBF-41E2-B79E-3DD8509024BF@me.com> References: <13304789-9BBF-41E2-B79E-3DD8509024BF@me.com> Message-ID: <5075EDD4.4010902@braguglia.ch> Hi Chris, read the "iOS Release Notes", paragraph : "Network reachability checking" ... :) Guglielmo On 10.10.2012 23:39, Chris Sheffield wrote: > Does anyone have a good way in an iOS app to determine if an Internet connection is available? I'm not finding anything very useful in the LC Dictionary. Bonus points if there's also a way to determine the type of connection available (WiFi vs. cell service (3G/4G)). > > 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 jacque at hyperactivesw.com Wed Oct 10 17:54:10 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 10 Oct 2012 16:54:10 -0500 Subject: iOS: Internet connection available? In-Reply-To: <13304789-9BBF-41E2-B79E-3DD8509024BF@me.com> References: <13304789-9BBF-41E2-B79E-3DD8509024BF@me.com> Message-ID: <5075EE82.6040208@hyperactivesw.com> On 10/10/12 4:39 PM, Chris Sheffield wrote: > Does anyone have a good way in an iOS app to determine if an Internet > connection is available? I'm not finding anything very useful in the > LC Dictionary. Bonus points if there's also a way to determine the > type of connection available (WiFi vs. cell service (3G/4G)). Look at "Network reachability" in the iOS release notes. It's marked experimental but it does what you want. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From cmsheffield at me.com Wed Oct 10 17:59:10 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Wed, 10 Oct 2012 15:59:10 -0600 Subject: iOS: Internet connection available? In-Reply-To: <5075EDD4.4010902@braguglia.ch> References: <13304789-9BBF-41E2-B79E-3DD8509024BF@me.com> <5075EDD4.4010902@braguglia.ch> Message-ID: <2A7D5849-8E94-4BF4-9235-C45D6316B694@me.com> I did just read through that. Unfortunately, it doesn't seem to be working properly. Or maybe I'm not using it in the right way. When I tried testing it just now, I always got an empty value back in the reachability info, even when I had WiFi turned on. It looks like it's designated as "experimental", so maybe it's just not polished up yet. I did find another working solution, but whether or not it's reliable remains to be seen. There's a networkInterfaces property. This appears to return simply "127.0.0.1" when no Internet connection is available. If there is a connection available, it returns a list of all IP addresses, one for each available network interface. I'll be testing this out some more, but so far it looks promising. Thanks for the suggestion about network reachability. That would probably be the better way to go if it were working... Chris On Oct 10, 2012, at 3:51 PM, Guglielmo Braguglia wrote: > Hi Chris, > read the "iOS Release Notes", paragraph : "Network reachability checking" ... :) > > Guglielmo > > > On 10.10.2012 23:39, Chris Sheffield wrote: >> Does anyone have a good way in an iOS app to determine if an Internet connection is available? I'm not finding anything very useful in the LC Dictionary. Bonus points if there's also a way to determine the type of connection available (WiFi vs. cell service (3G/4G)). >> >> Thanks, >> Chris >> >> >> -- >> Chris Sheffield >> Read Naturally, Inc. >> www.readnaturally.com >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From warren at warrensweb.us Wed Oct 10 18:06:03 2012 From: warren at warrensweb.us (Warren Samples) Date: Wed, 10 Oct 2012 17:06:03 -0500 Subject: AW: Quicktime problems on windows In-Reply-To: <5075AD3F.6060606@gmail.com> References: <007b01cda6ff$ffa4bcb0$feee3610$@de> <008001cda706$4ee4eb00$ecaec100$@de> <0256410D-6BEF-4939-B803-F2361868E093@twft.com> <5075AD3F.6060606@gmail.com> Message-ID: <5075F14B.7050000@warrensweb.us> On 10/10/2012 12:15 PM, Richmond wrote: > start considering some sort of internal media player (that's truly > cross-platform) that is > part of Livecode itself. This was mentioned as part of the road map, along with a cross-platform (including Linux) browser and "unicode just works" a few moons ago. Warren From scott at tactilemedia.com Wed Oct 10 18:15:38 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 10 Oct 2012 15:15:38 -0700 Subject: iOS: Internet connection available? In-Reply-To: <2A7D5849-8E94-4BF4-9235-C45D6316B694@me.com> Message-ID: As a follow up to Colin's comment, if you decide to check Internet availability using the default behavior of your app and you have a server or host that you're relying on, use that server for the test. Folks will often suggest using google.com as a network test because it's almost 100% guaranteed to be available, but that won't help your app if your own server isn't available. Regards, Scott Rossi Creative Director Tactile Media, UX Design On 10/10/12 2:59 PM, "Chris Sheffield" wrote: >I did just read through that. > >Unfortunately, it doesn't seem to be working properly. Or maybe I'm not >using it in the right way. When I tried testing it just now, I always got >an empty value back in the reachability info, even when I had WiFi turned >on. It looks like it's designated as "experimental", so maybe it's just >not polished up yet. > >I did find another working solution, but whether or not it's reliable >remains to be seen. There's a networkInterfaces property. This appears to >return simply "127.0.0.1" when no Internet connection is available. If >there is a connection available, it returns a list of all IP addresses, >one for each available network interface. I'll be testing this out some >more, but so far it looks promising. > >Thanks for the suggestion about network reachability. That would probably >be the better way to go if it were working... > >Chris > > >On Oct 10, 2012, at 3:51 PM, Guglielmo Braguglia >wrote: > >> Hi Chris, >> read the "iOS Release Notes", paragraph : "Network reachability >>checking" ... :) >> >> Guglielmo >> >> >> On 10.10.2012 23:39, Chris Sheffield wrote: >>> Does anyone have a good way in an iOS app to determine if an Internet >>>connection is available? I'm not finding anything very useful in the LC >>>Dictionary. Bonus points if there's also a way to determine the type of >>>connection available (WiFi vs. cell service (3G/4G)). >>> >>> Thanks, >>> Chris >>> >>> >>> -- >>> Chris Sheffield >>> Read Naturally, Inc. >>> www.readnaturally.com >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>>subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Wed Oct 10 20:56:56 2012 From: pete at lcsql.com (Peter Haworth) Date: Wed, 10 Oct 2012 17:56:56 -0700 Subject: iOS: Internet connection available? In-Reply-To: <13304789-9BBF-41E2-B79E-3DD8509024BF@me.com> References: <13304789-9BBF-41E2-B79E-3DD8509024BF@me.com> Message-ID: I have no idea if the code below can be any use for iOS. It was posted by Phil Davis a few months back and I use it in my desktop apps. Obviously the switch commands for the desktop platforms are not relevant but perhaps the methodology could still work. *function* appIsConnected purl *local* tShellOutput,tResult *switch* (the platform) *case* "MacOS" *put* shell("ping -c 1 -t 5" && purl) into tShellOutput *put* the result into tResult *break* *case* "Win32" *-- PD 20100411* *set* the hideConsoleWindows to true *put* shell("ping -n 1 -w 5000" && purl) into tShellOutput *put* the result into tResult *break* *case* "Linux" *put* shell("ping -c 1 -w 5") && purl into tShellOutput *put* the result into tResult *break* *default* *-- all other OSes* *put* param(0) & colon && the platform && "platform not supported" into tResult *break* *end* *switch* *-- check for connection failure* *if* tResult <> empty *then* *return* false *-- failed* *else* *-- connected, but how well?* *set* the itemDel to comma *switch* the platform *case* "Win32" *get* tShellOutput *filter* it with "*(0% loss)*" *break* *case* "MacOS" *repeat* for each item tFilter in "* 0% packet loss*,* 0.0% packet loss*" *-- for different OS versons* *get* tShellOutput *filter* it with tFilter *if* it <> empty *then* *exit* *repeat* *end* *repeat* *break* *end* *switch* *return* (it <> empty) *end* *if* *end* appIsConnected Pete lcSQL Software On Wed, Oct 10, 2012 at 2:39 PM, Chris Sheffield wrote: > Does anyone have a good way in an iOS app to determine if an Internet > connection is available? I'm not finding anything very useful in the LC > Dictionary. Bonus points if there's also a way to determine the type of > connection available (WiFi vs. cell service (3G/4G)). > > 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 stephenREVOLUTION2 at barncard.com Wed Oct 10 21:23:46 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 10 Oct 2012 18:23:46 -0700 Subject: AW: Quicktime problems on windows In-Reply-To: <5075F14B.7050000@warrensweb.us> References: <007b01cda6ff$ffa4bcb0$feee3610$@de> <008001cda706$4ee4eb00$ecaec100$@de> <0256410D-6BEF-4939-B803-F2361868E093@twft.com> <5075AD3F.6060606@gmail.com> <5075F14B.7050000@warrensweb.us> Message-ID: NDA alert On Wed, Oct 10, 2012 at 3:06 PM, Warren Samples wrote: > On 10/10/2012 12:15 PM, Richmond wrote: > >> start considering some sort of internal media player (that's truly >> cross-platform) that is >> part of Livecode itself. >> > > > This was mentioned as part of the road map, along with a cross-platform > (including Linux) browser and "unicode just works" a few moons ago. > > 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From warren at warrensweb.us Wed Oct 10 21:26:35 2012 From: warren at warrensweb.us (Warren Samples) Date: Wed, 10 Oct 2012 20:26:35 -0500 Subject: AW: Quicktime problems on windows In-Reply-To: References: <007b01cda6ff$ffa4bcb0$feee3610$@de> <008001cda706$4ee4eb00$ecaec100$@de> <0256410D-6BEF-4939-B803-F2361868E093@twft.com> <5075AD3F.6060606@gmail.com> <5075F14B.7050000@warrensweb.us> Message-ID: <5076204B.7070103@warrensweb.us> On 10/10/2012 08:23 PM, stephen barncard wrote: > NDA alert > > On Wed, Oct 10, 2012 at 3:06 PM, Warren Samples wrote: > >> On 10/10/2012 12:15 PM, Richmond wrote: >> >>> start considering some sort of internal media player (that's truly >>> cross-platform) that is >>> part of Livecode itself. >>> >> >> >> This was mentioned as part of the road map, along with a cross-platform >> (including Linux) browser and "unicode just works" a few moons ago. >> >> Warren >> I know, I'm full of Nyquil and didn't realize which list this was until too late. *hangs head in shame* From alex at harryscollar.com Wed Oct 10 23:21:57 2012 From: alex at harryscollar.com (Alex Shaw) Date: Thu, 11 Oct 2012 13:21:57 +1000 Subject: AW: Quicktime problems on windows In-Reply-To: <5075AD3F.6060606@gmail.com> References: <007b01cda6ff$ffa4bcb0$feee3610$@de> <008001cda706$4ee4eb00$ecaec100$@de> <0256410D-6BEF-4939-B803-F2361868E093@twft.com> <5075AD3F.6060606@gmail.com> Message-ID: <50763B55.6070906@harryscollar.com> Hi Don't think it's practical for Runrev to waste resources developing their own codec & tools. Unfortunately I don't think there are many public video codec options that aren't encumbered by licensing issues, the main exceptions being WebM (http://www.webmproject.org) or Theora (http://www.theora.org/benefits). Another option would be for Runrev to license something like the Blink video codec (http://www.radgametools.com/bnkmain.htm). Also, LC needs to improve is it's audio support. I would be good to see LC natively support Ogg Opus (http://www.opus-codec.org). *cough* Enhancement Bug 10460 *cough* :) Would love the ability to simply pan sound! To be honest, multimedia support has not really improved since the Metacard days :( regards alex On 11/10/12 3:15 AM, Richmond wrote: > Of course, at that point Runtime Revolution might eventually wake up to > the lack of wisdom > of crawling into bed with proprietary software (Quicktime) over which > they have no control, > and start considering some sort of internal media player (that's truly > cross-platform) that is > part of Livecode itself. From lan.kc.macmail at gmail.com Thu Oct 11 00:38:55 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 11 Oct 2012 12:38:55 +0800 Subject: [OT] Where ill conceived copyright laws can lead In-Reply-To: <384E791B-4491-45DA-99DE-734CD1611908@twft.com> References: <384E791B-4491-45DA-99DE-734CD1611908@twft.com> Message-ID: On Thu, Oct 11, 2012 at 1:02 AM, Bob Sneidar wrote: > I came across this article, and thought to myself that the whole notion > about "licensing to use" vs. "buying to own" can go completely sideways if > we don't apply some real common sense to the issue. > > Sideways? I'm actually surprised that there isn't more of an uproar over the simple fact that Steve Jobs has virtually made media ownership disappear all together. When my grandpa died my brother inherited his Edison Phonograph and a box full of recordings (wax cylinders, which pre-dated the more modern shellac discs, which eventually became the ultra-modern vinyl record). When my father died I inherited a bunch of vinyl records; Glen Miller, Benny Goodman, Muddy Waters, Sonny Terry & Brownie McGhee. I have most everything the Beatles recorded on vinyl, and everything they recorded (plus a lot that was 'found' well after their split) on CD. When I die I know a certain son will be very keen to take possession of those. But, what of my current 2TB of iTunes purchases; music, movies, TV shows, apps? Sure I could leave my ID and password in my will but that's only going to work for so long.You can't combine or split accounts. But it's even worse than that, I can't even move countries without loosing the lot! Transferring accounts is not possible. https://discussions.apple.com/thread/2443094?start=45&tstart=0 My prediction is that this will all come to a head when some big company goes bankrupt and a canny accountant realises their claimed assets of a $100K of software is actually worthless because it can't actually be sold at a fire sale! Thus accounting practices will have to change so that regardless of price and the number of employees, all company software purchased for Macs/iPhones/iPads will have to be recorded as assets worth $0. Finding musical gems at a garage sale is headed for extinction; interesting considering Steve was known for frequenting rummage sales in search of rare Bob Dylan recordings. From mazzapaoloitaly at gmail.com Thu Oct 11 06:43:04 2012 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Thu, 11 Oct 2012 12:43:04 +0200 Subject: 2 errors uploading to MACOS Store Message-ID: Hi all, I developed an app using LiveCode 5.5.2 and SnowLeopard with Xcode 4.3.2 . Trying to upload an application to the MACOS store, I got 2 error messages: ERROR MESSAGE 1 : "The application bundle does not contain an icon in ICNS format, containing both 512x512 and a 512x512 at 2x image " I have an icon in ICNS format with a 512x512 icon. But then, what is a 512x512 at 2x image ? ERROR MESSAGE 2: "INVALID SIGNATURE : the nested app bundle at path [... revbrowser.bundle] is not signed." This application contains the revBrowser external.But, how can I sign it ? Thanks a lot Paolo Mazza From klaus at major.on-rev.com Thu Oct 11 06:48:49 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 11 Oct 2012 12:48:49 +0200 Subject: 2 errors uploading to MACOS Store In-Reply-To: References: Message-ID: Buongiorno Paolo, Am 11.10.2012 um 12:43 schrieb paolo mazza : > Hi all, > I developed an app using LiveCode 5.5.2 and SnowLeopard with Xcode 4.3.2 . > Trying to upload an application to the MACOS store, I got 2 error messages: > > ERROR MESSAGE 1 : > "The application bundle does not contain an icon in ICNS format, > containing both 512x512 and a 512x512 at 2x image " > > I have an icon in ICNS format with a 512x512 icon. But then, what is a > 512x512 at 2x image ? Well, this is actually the 1024*1024 pixel icon, that you also need to supply nowadays! I would call this VERY BAD naming ;-) > ERROR MESSAGE 2: > > "INVALID SIGNATURE : the nested app bundle at path [... > revbrowser.bundle] is not signed." > > This application contains the revBrowser external.But, how can I sign it ? Sorry, no idea. > Thanks a lot > > Paolo Mazza Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From coiin at verizon.net Thu Oct 11 07:05:05 2012 From: coiin at verizon.net (Colin Holgate) Date: Thu, 11 Oct 2012 07:05:05 -0400 Subject: 2 errors uploading to MACOS Store In-Reply-To: References: Message-ID: <5984BA63-E2BF-420B-818C-3EE5928EB459@verizon.net> It's done that way so that Retina screens automatically use the double res version if it's there. On Oct 11, 2012, at 6:48 AM, Klaus on-rev wrote: > > >Well, this is actually the 1024*1024 pixel icon, that you also need to supply nowadays! > I would call this VERY BAD naming ;-) From klaus at major.on-rev.com Thu Oct 11 07:11:23 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 11 Oct 2012 13:11:23 +0200 Subject: 2 errors uploading to MACOS Store In-Reply-To: <5984BA63-E2BF-420B-818C-3EE5928EB459@verizon.net> References: <5984BA63-E2BF-420B-818C-3EE5928EB459@verizon.net> Message-ID: Hi Colin, Am 11.10.2012 um 13:05 schrieb Colin Holgate : > It's done that way so that Retina screens automatically use the double res version if it's there. yes, exactly! And very bad naming :-D > On Oct 11, 2012, at 6:48 AM, Klaus on-rev wrote: >>> Well, this is actually the 1024*1024 pixel icon, that you also need to supply nowadays! >> I would call this VERY BAD naming ;-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From henshaw at me.com Thu Oct 11 07:19:16 2012 From: henshaw at me.com (Andrew Henshaw) Date: Thu, 11 Oct 2012 12:19:16 +0100 Subject: 2 errors uploading to MACOS Store In-Reply-To: References: Message-ID: <6870D301-8A5B-4A03-A1E7-0606B63F9C94@me.com> There is an app called appwrapper which has a 30 day trial, this will automatically do all the signing for the store and bundle in the 1024 icon for you. Its a good little app and can save a lot of time. As for revbrowser, you need to sign it as you did the main package. I keep a folder now of all the signed externals so I can simply pop them into any apps I write without having to re-sign them every time. Right click on your package and locate the file, then drag i out to somewhere so you can sign it, then drag it back into your app. You sign it with the same sig as your main app. Andy On 11 Oct 2012, at 11:43, paolo mazza wrote: > Hi all, > I developed an app using LiveCode 5.5.2 and SnowLeopard with Xcode 4.3.2 . > > Trying to upload an application to the MACOS store, I got 2 error messages: > > > ERROR MESSAGE 1 : > > "The application bundle does not contain an icon in ICNS format, > containing both 512x512 and a 512x512 at 2x image " > > I have an icon in ICNS format with a 512x512 icon. But then, what is a > 512x512 at 2x image ? > > > ERROR MESSAGE 2: > > "INVALID SIGNATURE : the nested app bundle at path [... > revbrowser.bundle] is not signed." > > This application contains the revBrowser external.But, how can I sign it ? > > > Thanks a lot > > Paolo Mazza > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From guglielmo at braguglia.ch Thu Oct 11 07:21:45 2012 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Thu, 11 Oct 2012 13:21:45 +0200 Subject: 2 errors uploading to MACOS Store In-Reply-To: References: Message-ID: <5076ABC9.4010604@braguglia.ch> Ciao Paolo, la cosa pi? semplice, fino a quando RunRev non fornir? un tool adatto ? utilizzare "RB Package Maker Studio" che ti risolve i problemi di firma, di sandboxing, di packaging, ecc. ecc. Guarda qui : http://www.bluecolin.com/rbpms/index.html the easiest thing, until RunRev not provide a suitable tool, is to use "RB Package Maker Studio" that will solve the problems of signing, sandboxing, packaging, etc.. etc.. Look here: http://www.bluecolin.com/rbpms/index.html Regards, Guglielmo On 11.10.2012 12:43, paolo mazza wrote: > Hi all, > I developed an app using LiveCode 5.5.2 and SnowLeopard with Xcode 4.3.2 . > > Trying to upload an application to the MACOS store, I got 2 error messages: > ....... > > *ERROR MESSAGE 2:* > > "INVALID SIGNATURE : the nested app bundle at path [... > revbrowser.bundle] is not signed." > > This application contains the revBrowser external.But, how can I sign it ? > From larsbrehmer at me.com Thu Oct 11 08:30:49 2012 From: larsbrehmer at me.com (Lars Brehmer) Date: Thu, 11 Oct 2012 15:30:49 +0300 Subject: iOS simulator won't work Message-ID: <99A1FE8C-66AB-4B0F-97B4-DD9B4739BD44@me.com> Thanks a million to Colin (again) and Guglielmo! I knew I was overlooking something simple, and sure enough the simulator now works thanks to replacing Xcode 4.5 with xCode 4.4.1 So it works, but it is of slightly limited use to me (unless I am overlooking something obvious again.) I guess that only native controls are resized for the different resolutions, and since I make all of my own buttons, icons, graphics, nothing gets resized. I am making this for retina display, so in the regular simulator only the upper left portion of the app can be seen, and the retina simulator seems unable to be taller than the screen height, so I can't move it up to see the bottom part of the app. I guess the real testing will only start when I prepare it for use on my iPad. Apologies in advance if I don't that that to work without calling for help again ;-) Cheers, Lars From guglielmo at braguglia.ch Thu Oct 11 08:44:57 2012 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Thu, 11 Oct 2012 14:44:57 +0200 Subject: iOS simulator won't work In-Reply-To: <99A1FE8C-66AB-4B0F-97B4-DD9B4739BD44@me.com> References: <99A1FE8C-66AB-4B0F-97B4-DD9B4739BD44@me.com> Message-ID: <5076BF49.604@braguglia.ch> Hi Lars, unfortunately NOT ... *nothing is automatically resized* ... you have to "do everything by hand" (... adjusting the stack size, the control size, changing the images, etc, etc) ... :) Guglielmo On 11.10.2012 14:30, Lars Brehmer wrote: > Thanks a million to Colin (again) and Guglielmo! > > I knew I was overlooking something simple, and sure enough the simulator now works thanks to replacing Xcode 4.5 with xCode 4.4.1 > > So it works, but it is of slightly limited use to me (unless I am overlooking something obvious again.) > > I guess that only native controls are resized for the different resolutions, and since I make all of my own buttons, icons, graphics, nothing gets resized. > > I am making this for retina display, so in the regular simulator only the upper left portion of the app can be seen, and the retina simulator seems unable to be taller than the screen height, so I can't move it up to see the bottom part of the app. > > I guess the real testing will only start when I prepare it for use on my iPad. > > Apologies in advance if I don't that that to work without calling for help again ;-) > > Cheers, > > Lars > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From cmsheffield at me.com Thu Oct 11 10:30:39 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Thu, 11 Oct 2012 08:30:39 -0600 Subject: iOS: Internet connection available? In-Reply-To: References: Message-ID: <63E8F15E-67D5-401B-82FD-A162B586E3FE@me.com> Good advice. Thanks, Scott. On Oct 10, 2012, at 4:15 PM, Scott Rossi wrote: > As a follow up to Colin's comment, if you decide to check Internet > availability using the default behavior of your app and you have a server > or host that you're relying on, use that server for the test. Folks will > often suggest using google.com as a network test because it's almost 100% > guaranteed to be available, but that won't help your app if your own > server isn't available. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > > On 10/10/12 2:59 PM, "Chris Sheffield" wrote: > >> I did just read through that. >> >> Unfortunately, it doesn't seem to be working properly. Or maybe I'm not >> using it in the right way. When I tried testing it just now, I always got >> an empty value back in the reachability info, even when I had WiFi turned >> on. It looks like it's designated as "experimental", so maybe it's just >> not polished up yet. >> >> I did find another working solution, but whether or not it's reliable >> remains to be seen. There's a networkInterfaces property. This appears to >> return simply "127.0.0.1" when no Internet connection is available. If >> there is a connection available, it returns a list of all IP addresses, >> one for each available network interface. I'll be testing this out some >> more, but so far it looks promising. >> >> Thanks for the suggestion about network reachability. That would probably >> be the better way to go if it were working... >> >> Chris >> >> >> On Oct 10, 2012, at 3:51 PM, Guglielmo Braguglia >> wrote: >> >>> Hi Chris, >>> read the "iOS Release Notes", paragraph : "Network reachability >>> checking" ... :) >>> >>> Guglielmo >>> >>> >>> On 10.10.2012 23:39, Chris Sheffield wrote: >>>> Does anyone have a good way in an iOS app to determine if an Internet >>>> connection is available? I'm not finding anything very useful in the LC >>>> Dictionary. Bonus points if there's also a way to determine the type of >>>> connection available (WiFi vs. cell service (3G/4G)). >>>> >>>> Thanks, >>>> Chris >>>> >>>> >>>> -- >>>> Chris Sheffield >>>> Read Naturally, Inc. >>>> www.readnaturally.com >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 me.com Thu Oct 11 10:31:35 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Thu, 11 Oct 2012 08:31:35 -0600 Subject: iOS: Internet connection available? In-Reply-To: <2A7D5849-8E94-4BF4-9235-C45D6316B694@me.com> References: <13304789-9BBF-41E2-B79E-3DD8509024BF@me.com> <5075EDD4.4010902@braguglia.ch> <2A7D5849-8E94-4BF4-9235-C45D6316B694@me.com> Message-ID: <12582D72-9908-4BBD-AA2C-11211510ECB8@me.com> Unfortunately I realized this solution won't work. The device could be connected to a wireless network but not necessarily have Internet access. So back to the drawing board... On Oct 10, 2012, at 3:59 PM, Chris Sheffield wrote: > I did just read through that. > > Unfortunately, it doesn't seem to be working properly. Or maybe I'm not using it in the right way. When I tried testing it just now, I always got an empty value back in the reachability info, even when I had WiFi turned on. It looks like it's designated as "experimental", so maybe it's just not polished up yet. > > I did find another working solution, but whether or not it's reliable remains to be seen. There's a networkInterfaces property. This appears to return simply "127.0.0.1" when no Internet connection is available. If there is a connection available, it returns a list of all IP addresses, one for each available network interface. I'll be testing this out some more, but so far it looks promising. > > Thanks for the suggestion about network reachability. That would probably be the better way to go if it were working... > > Chris > > > On Oct 10, 2012, at 3:51 PM, Guglielmo Braguglia wrote: > >> Hi Chris, >> read the "iOS Release Notes", paragraph : "Network reachability checking" ... :) >> >> Guglielmo >> >> >> On 10.10.2012 23:39, Chris Sheffield wrote: >>> Does anyone have a good way in an iOS app to determine if an Internet connection is available? I'm not finding anything very useful in the LC Dictionary. Bonus points if there's also a way to determine the type of connection available (WiFi vs. cell service (3G/4G)). >>> >>> Thanks, >>> Chris >>> >>> >>> -- >>> Chris Sheffield >>> Read Naturally, Inc. >>> www.readnaturally.com >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 11 10:54:00 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 11 Oct 2012 16:54:00 +0200 Subject: Speed of visual effect under iOS Message-ID: <0B6E9703-6FE7-4849-94DB-6835DFAE9314@m-r-d.de> Hi, i am using visual effects when going from one card to an other. e.g. lock screen for visual effects go card "settings" unlock screen with visual effect push up very fast Without using visual effects the performance is good. But with using visual effects there is a delay of 1 to 2 seconds before the visual effed takes place. So the user first thinks nothing would happen. Any idea if i can speed up this. Or should i show a busy indicator until the "move" to the next card is completed. Regards, Matthias -- Matthias Rebbe matthias (at) rebbe.tk Tel +49.5741.310000 Tel +49.160.5504462 -- "Life is too short for boring code" From mazzapaoloitaly at gmail.com Thu Oct 11 10:56:16 2012 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Thu, 11 Oct 2012 16:56:16 +0200 Subject: 2 errors uploading to MACOS Store In-Reply-To: <5076ABC9.4010604@braguglia.ch> References: <5076ABC9.4010604@braguglia.ch> Message-ID: THANK YOU ALL !!! At the end, replacing the ics file and the rev browser.bundle I was able to upload my app. I had a look at the "RB Package Maker Studio" and it realized it is a very interesting product. Thank you for your advice. All the best Paolo Ciao Guglielmo, dopo aver frequentato per molti anni questa mailing list ? la prima volta che ricevo una risposta in Italiano..E' stata un'emozione! tT ringrazio per la cortesia, spero di aver l'occasione di ricambiare, buona giornata. Paolo From cmsheffield at me.com Thu Oct 11 11:09:22 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Thu, 11 Oct 2012 09:09:22 -0600 Subject: Speed of visual effect under iOS In-Reply-To: <0B6E9703-6FE7-4849-94DB-6835DFAE9314@m-r-d.de> References: <0B6E9703-6FE7-4849-94DB-6835DFAE9314@m-r-d.de> Message-ID: Matthias, Are you running on an iPad 3 by chance? I'm not sure there's really much you can do. I've run into this same problem. If it's iPad 3, the LC engine has to work extra hard to update the screen, and that's what's causing the delay. It's my understanding that LiveCode does not yet take advantage of the new graphics processor in the iPad 3, and that's why visual effects like this appear to be slower. Hopefully sometime soon we'll see an update that takes advantage of the new hardware. Until then, one thing you could try would be to keep your code in preOpenCard as minimal as possible. Move everything you possibly can to openCard instead. This has actually helped me in some cases. Good luck! Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Oct 11, 2012, at 8:54 AM, Matthias Rebbe wrote: > Hi, > > i am using visual effects when going from one card to an other. > > e.g. > lock screen for visual effects > go card "settings" > unlock screen with visual effect push up very fast > > Without using visual effects the performance is good. But with using visual effects there is a delay of 1 to 2 seconds before > the visual effed takes place. So the user first thinks nothing would happen. > > Any idea if i can speed up this. Or should i show a busy indicator until the "move" to the next card is completed. > > Regards, > > Matthias > > > > -- > Matthias Rebbe > matthias (at) rebbe.tk > Tel +49.5741.310000 > Tel +49.160.5504462 > -- > "Life is too short for boring code" > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From adams at switchintime.com Thu Oct 11 11:15:39 2012 From: adams at switchintime.com (Jonathan Adams) Date: Thu, 11 Oct 2012 11:15:39 -0400 Subject: Help! PlayCommand Agent X In-Reply-To: References: Message-ID: > The sunnYmidie interface looks a LOT more complicated than the interface of shakobox (which uses PlayCommand Agent X). I'm basically looking for something that will mimic the old Hypercard "play" command, which wanted an instrument, a tempo, and a note or list of notes. Unless I'm misreading the tutorial, sunnYmidi is way too complicated for my students. Hi Marty, I am finding sunnYmidi extremely easy to use. Of course, because it has so many options it is easy to miss it but: 1) On startup, turn it on with: SunnYmidi.Start user, key --user and key are provided when you purchase. 2) when quiting, you should turn it off with: SunnYmidi.Stop 3) To play notes it is: SunnYmidi.Play channel, duration, volume, note --put 1 into channel unless you need multiple channels, duration is milliseconds, volume 1-128 and pitch (60 is middle C) 4) Finally, you can change the instrument assigned to any channel with SunnYmidi.Set channel, "instrument", id --id being standard GM voices (1 is piano, 74 is flute, etc.) Lots of other commands that you could use if you want but probably aren't necessary for what you want to do. You might however want to look at the command that emulates the hypercard player: sunnYmidi.HCplay channel, volume, "c3w d3h e3q f3e" --although I haven't actually tried this command. Hope that helps, Jon From henshaw at me.com Thu Oct 11 11:23:01 2012 From: henshaw at me.com (Andrew Henshaw) Date: Thu, 11 Oct 2012 16:23:01 +0100 Subject: 2 errors uploading to MACOS Store In-Reply-To: References: <5076ABC9.4010604@braguglia.ch> Message-ID: Too late now, but one more thought! Dont forget to take all the languages you dont support out of the resources folder in the app package. If you don't, the app store will say your app is available in all sorts of languages and it doesnt take long before you start getting emails from users who want it in finnish etc! Andy On 11 Oct 2012, at 15:56, paolo mazza wrote: > THANK YOU ALL !!! > At the end, replacing the ics file and the rev browser.bundle I was > able to upload my app. > I had a look at the "RB Package Maker Studio" and it realized it is a > very interesting product. > Thank you for your advice. > All the best > Paolo > > Ciao Guglielmo, > dopo aver frequentato per molti anni questa mailing list ? la prima > volta che ricevo una risposta in Italiano..E' stata un'emozione! tT > ringrazio per la cortesia, spero di aver l'occasione di ricambiare, > buona giornata. > Paolo > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From john at splash21.com Thu Oct 11 11:46:59 2012 From: john at splash21.com (John Craig) Date: Thu, 11 Oct 2012 16:46:59 +0100 Subject: [ANN] MobGUI update Message-ID: <5076E9F3.1020000@splash21.com> With recent additions and improvements to LC, custom controls to support all resolutions is looking promising. I've also been looking at content scaling and dynamic image resolution. Anyone who's purchased MobGUI can download the morph library in it's current state at http://mobgui.com/morph.php The library stack script is commented as is the test stack's card script. I've used the library to successfully run the game demo at http://youtu.be/a_716ei8WOo on an iPhone and an android table (800x480) - it was designed for iPad 1024x768. The biggest issue at the moment is the time taken to resize assets - I'm looking at ways to speed it up. Regards, John. From MikeKerner at roadrunner.com Thu Oct 11 12:33:17 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 11 Oct 2012 12:33:17 -0400 Subject: [ANN] MobGUI update In-Reply-To: <5076E9F3.1020000@splash21.com> References: <5076E9F3.1020000@splash21.com> Message-ID: Thanks, John! -- 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 rene.micout at numericable.com Thu Oct 11 12:51:49 2012 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Thu, 11 Oct 2012 18:51:49 +0200 Subject: Help! PlayCommand Agent X In-Reply-To: References: Message-ID: <8CDC853E-3559-4C05-858E-A7AF082F9275@numericable.com> Le 11 oct. 2012 ? 17:15, Jonathan Adams a ?crit : >> The sunnYmidie interface looks a LOT more complicated than the interface of shakobox (which uses PlayCommand Agent X). I'm basically looking for something that will mimic the old Hypercard "play" command, which wanted an instrument, a tempo, and a note or list of notes. Unless I'm misreading the tutorial, sunnYmidi is way too complicated for my students. > > Hi Marty, > > I am finding sunnYmidi extremely easy to use. Of course, because it has so many options it is easy to miss it but: Yes, I agree :-) Very easy... in fact as easy as PlayCommand X or HyperCard... ... but also much more powerful : you can play with reverb, panoramic, dynamic, vibrato, sustain, chords, arpeggio... and 226 different sounds... ... and with very small latency, so you can play "live" without problems... From bobs at twft.com Thu Oct 11 12:59:36 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 11 Oct 2012 09:59:36 -0700 Subject: [OT] Where ill conceived copyright laws can lead In-Reply-To: References: <384E791B-4491-45DA-99DE-734CD1611908@twft.com> Message-ID: <98CB7571-A351-4928-9E0C-E59ACF08B381@twft.com> I have to say, it's better than it was. I used to buy LP's 2 and 3 times because I would wear them out, and then there was a limit on how many I could have because they took up space. The quality of tape, LP's and CD's (yes CD's they scratch and do not have an indefinite shelf life) is limited by time. If I faithfully back up my digital copies of music, I will have them my entire life. What's more, I can re-have music I loved when I was young. No one was ever going to reprint the media once it went out of print. Now almost everything in the past has been reproduced in a digital format because the investment is so cheap and you only have to do it once. And movies! Don't get me started on movies! There are old movies no one was ever going to see again, unless some cable channel played it some early morning around 2:00! Now you can buy it online and download it. You can buy entire sets of them! Everybody wins! I think what Steve Jobs did for the media industry is a HUGE plus, and is one of those rare situations where the bulk of the consumers AND the producers agree! Bob On Oct 10, 2012, at 9:38 PM, Kay C Lan wrote: > But, what of my current 2TB of iTunes purchases; music, movies, TV shows, > apps? Sure I could leave my ID and password in my will but that's only > going to work for so long.You can't combine or split accounts. > > But it's even worse than that, I can't even move countries without loosing > the lot! Transferring accounts is not possible. From pete at lcsql.com Thu Oct 11 13:18:25 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 11 Oct 2012 10:18:25 -0700 Subject: Strict Compile Mode Message-ID: Finished converting all the scripts in a stack to include local variable definitions and got clean compiles of everything a couple of days ago. Today, I made some changes to a handler that did not involve any new variables. When I compiled, I got the error message "local: name shadows another variable or constant" pointing to a line in the same script but a completely different handler which previously compiled OK. I checked all my the local commands in the script and they are all within handlers except for one and it does not refer to the variable named in the error message. There are no global definitions in the script. Are there any other reasons for this error? I'm at a loss to understand why this script compiled with no problems originally and now is flagging errors on my local definitions. Pete lcSQL Software From pete at lcsql.com Thu Oct 11 13:21:02 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 11 Oct 2012 10:21:02 -0700 Subject: Mountain Lion File Versioning Message-ID: I'm not 100% clear on how the Mountain Lion file versioning of files works but does it have any effect on saving a stack by script? Pete lcSQL Software From klaus at major.on-rev.com Thu Oct 11 13:25:54 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 11 Oct 2012 19:25:54 +0200 Subject: Mountain Lion File Versioning In-Reply-To: References: Message-ID: <5261C0B6-506C-43C4-8688-5839FAC2DE97@major.on-rev.com> Hi Pete, Am 11.10.2012 um 19:21 schrieb Peter Haworth : > I'm not 100% clear on how the Mountain Lion file versioning of files works noone really is! :-D > but does it have any effect on saving a stack by script? No, Livecode does not support this "feature". > Pete > lcSQL Software Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From mwieder at ahsoftware.net Thu Oct 11 13:28:44 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 11 Oct 2012 10:28:44 -0700 Subject: Strict Compile Mode In-Reply-To: References: Message-ID: <89231079187.20121011102844@ahsoftware.net> Pete- Thursday, October 11, 2012, 10:18:25 AM, you wrote: > I checked all my the local commands in the script and they are all within > handlers except for one and it does not refer to the variable named in the > error message. There are no global definitions in the script. Check to see if there's a global by that name. Doesn't have to be in the same script, globals declared by a different script as still, well, global. I've had the "shadows another variable or constant" error message come up when converting globals to script-local vars. -- -Mark Wieder mwieder at ahsoftware.net From bobs at twft.com Thu Oct 11 14:17:51 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 11 Oct 2012 11:17:51 -0700 Subject: Mountain Lion File Versioning In-Reply-To: <5261C0B6-506C-43C4-8688-5839FAC2DE97@major.on-rev.com> References: <5261C0B6-506C-43C4-8688-5839FAC2DE97@major.on-rev.com> Message-ID: On Oct 11, 2012, at 10:25 AM, Klaus on-rev wrote: > Hi Pete, > > Am 11.10.2012 um 19:21 schrieb Peter Haworth : > >> I'm not 100% clear on how the Mountain Lion file versioning of files works > > noone really is! :-D > >> but does it have any effect on saving a stack by script? > > No, Livecode does not support this "feature". So may it ever be! > >> Pete > > Best > > Klaus From guglielmo at braguglia.ch Thu Oct 11 14:35:01 2012 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Thu, 11 Oct 2012 20:35:01 +0200 Subject: Strict Compile Mode In-Reply-To: References: Message-ID: <50771155.8060201@braguglia.ch> Hi Pete, this happen very often also to me ... ... I don't know, but ... if you are debugging your code stepping-by-stepping and you stop the execution, some time LiveCode create this problem. The only solution is to save the stack, close LiveCode (/is not sufficient to close the stack/) and restart ... your stack is ok, your code also and if you compile ... NO ERRORS! Don't ask why ... :-( Guglielmo On 11.10.2012 19:18, Peter Haworth wrote: > Finished converting all the scripts in a stack to include local variable > definitions and got clean compiles of everything a couple of days ago. > Today, I made some changes to a handler that did not involve any new > variables. When I compiled, I got the error message "local: name shadows > another variable or constant" pointing to a line in the same script but a > completely different handler which previously compiled OK. > > I checked all my the local commands in the script and they are all within > handlers except for one and it does not refer to the variable named in the > error message. There are no global definitions in the script. > > Are there any other reasons for this error? I'm at a loss to understand > why this script compiled with no problems originally and now is flagging > errors on my local definitions. > > 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 matthias_livecode_150811 at m-r-d.de Thu Oct 11 14:38:24 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 11 Oct 2012 20:38:24 +0200 Subject: [ANN] MobGUI update In-Reply-To: <5076E9F3.1020000@splash21.com> References: <5076E9F3.1020000@splash21.com> Message-ID: <1D475387-D0EE-42F7-9A20-0F7EACC6437C@m-r-d.de> Hi, was anyone successful in downloading the library? I always get the message that my key was not recognized. Regards, Matthias -- Matthias Rebbe matthias (at) rebbe.tk Tel +49.5741.310000 Tel +49.160.5504462 -- "Life is too short for boring code" Am 11.10.2012 um 17:46 schrieb John Craig : > With recent additions and improvements to LC, custom controls to support all resolutions is looking promising. > I've also been looking at content scaling and dynamic image resolution. Anyone who's purchased MobGUI can download the morph library in it's > current state at http://mobgui.com/morph.php > > The library stack script is commented as is the test stack's card script. I've used the library to successfully run the game demo at http://youtu.be/a_716ei8WOo > on an iPhone and an android table (800x480) - it was designed for iPad 1024x768. The biggest issue at the moment is the time taken to resize assets - I'm > looking at ways to speed it up. > > Regards, > > John. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From guglielmo at braguglia.ch Thu Oct 11 14:46:50 2012 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Thu, 11 Oct 2012 20:46:50 +0200 Subject: Mountain Lion File Versioning In-Reply-To: References: Message-ID: <5077141A.5070509@braguglia.ch> I have the problem ... I'm using one Peter plugin, lcStackBrowser, which currentlysaves something inside itself ... Today, trying on a MacBook running Mountain Lion 10.8.2, I have had this strange behavior ... ... I opened LiveCode on this machine, on which I had used it a few days ago, and ... a LiveCode message informs me of a conflict for a duplicate stack name between two similar stacks ! One was "lcStackBrowser", another was "lcStackBrowser (Guglielmo's MacBook)" :o Obviously I NEVER created the second one so ... the only thing that I can imagine is the behavior of Mountain Lion on saving files ... Has anyone had a similar experience ? Guglielmo On 11.10.2012 19:21, Peter Haworth wrote: > I'm not 100% clear on how the Mountain Lion file versioning of files works > but does it have any effect on saving a stack by script? > 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 guglielmo at braguglia.ch Thu Oct 11 14:50:26 2012 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Thu, 11 Oct 2012 20:50:26 +0200 Subject: [ANN] MobGUI update In-Reply-To: <1D475387-D0EE-42F7-9A20-0F7EACC6437C@m-r-d.de> References: <5076E9F3.1020000@splash21.com> <1D475387-D0EE-42F7-9A20-0F7EACC6437C@m-r-d.de> Message-ID: <507714F2.70703@braguglia.ch> Worked for me ! Be sure to don't include trailing blanks or CR ... Guglielmo On 11.10.2012 20:38, Matthias Rebbe wrote: > Hi, > > was anyone successful in downloading the library? > > I always get the message that my key was not recognized. > > Regards, > > Matthias > > -- > Matthias Rebbe > matthias (at) rebbe.tk > Tel +49.5741.310000 > Tel +49.160.5504462 > -- > "Life is too short for boring code" > > > > > > > > > Am 11.10.2012 um 17:46 schrieb John Craig : > >> With recent additions and improvements to LC, custom controls to support all resolutions is looking promising. >> I've also been looking at content scaling and dynamic image resolution. Anyone who's purchased MobGUI can download the morph library in it's >> current state at http://mobgui.com/morph.php >> >> The library stack script is commented as is the test stack's card script. I've used the library to successfully run the game demo at http://youtu.be/a_716ei8WOo >> on an iPhone and an android table (800x480) - it was designed for iPad 1024x768. The biggest issue at the moment is the time taken to resize assets - I'm >> looking at ways to speed it up. >> >> Regards, >> >> John. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 11 14:53:06 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 11 Oct 2012 11:53:06 -0700 Subject: Mountain Lion File Versioning In-Reply-To: <5077141A.5070509@braguglia.ch> Message-ID: Maybe this is one of those situations where the OS is re-launching whatever files you had previously open. Regards, Scott Rossi Creative Director Tactile Media, UX Design On 10/11/12 11:46 AM, "Guglielmo Braguglia" wrote: >I have the problem ... > >I'm using one Peter plugin, lcStackBrowser, which currentlysaves >something inside itself ... > >Today, trying on a MacBook running Mountain Lion 10.8.2, I have had this >strange behavior ... > >... I opened LiveCode on this machine, on which I had used it a few days >ago, and ... a LiveCode message informs me of a conflict for a duplicate >stack name between two similar stacks ! > >One was "lcStackBrowser", another was "lcStackBrowser (Guglielmo's >MacBook)" :o >Obviously I NEVER created the second one so ... the only thing that I >can imagine is the behavior of Mountain Lion on saving files ... > >Has anyone had a similar experience ? > >Guglielmo > > >On 11.10.2012 19:21, Peter Haworth wrote: >> I'm not 100% clear on how the Mountain Lion file versioning of files >>works >> but does it have any effect on saving a stack by script? >> 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 MikeKerner at roadrunner.com Thu Oct 11 14:58:42 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 11 Oct 2012 14:58:42 -0400 Subject: [ANN] MobGUI update In-Reply-To: <507714F2.70703@braguglia.ch> References: <5076E9F3.1020000@splash21.com> <1D475387-D0EE-42F7-9A20-0F7EACC6437C@m-r-d.de> <507714F2.70703@braguglia.ch> Message-ID: Worked for me, too. -- 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 guglielmo at braguglia.ch Thu Oct 11 15:02:50 2012 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Thu, 11 Oct 2012 21:02:50 +0200 Subject: Mountain Lion File Versioning In-Reply-To: References: Message-ID: <507717DA.5060806@braguglia.ch> Ciao Scott, yes, is the same thing I thought. Because Peter save some information inside the plugin, maybe Mountain Lion see this file changed and try to do some kind of versioning or reopening the last version ... I don't know ... Guglielmo On 11.10.2012 20:53, Scott Rossi wrote: > Maybe this is one of those situations where the OS is re-launching > whatever files you had previously open. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > On 10/11/12 11:46 AM, "Guglielmo Braguglia" wrote: > >> I have the problem ... >> >> I'm using one Peter plugin, lcStackBrowser, which currentlysaves >> something inside itself ... >> >> Today, trying on a MacBook running Mountain Lion 10.8.2, I have had this >> strange behavior ...................................... >> From matthias_livecode_150811 at m-r-d.de Thu Oct 11 15:05:48 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 11 Oct 2012 21:05:48 +0200 Subject: [ANN] MobGUI update In-Reply-To: References: <5076E9F3.1020000@splash21.com> <1D475387-D0EE-42F7-9A20-0F7EACC6437C@m-r-d.de> <507714F2.70703@braguglia.ch> Message-ID: <1845523E-20C8-4113-946A-50C1D06CD251@m-r-d.de> Hi, thanks for your replies. just received an email from John. I was one of the first people to buy MobGUI, and my payment went through PayPal. Orders via RunRev get stored in another database table, so my key was not found. He fixed it already and the download works now. Regards, Matthias -- Matthias Rebbe matthias (at) rebbe.tk Tel +49.5741.310000 Tel +49.160.5504462 -- "Life is too short for boring code" Am 11.10.2012 um 20:58 schrieb Mike Kerner : > Worked for me, too. > > -- > 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 rdimola at evergreeninfo.net Thu Oct 11 15:28:15 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 11 Oct 2012 15:28:15 -0400 Subject: [OT] Where ill conceived copyright laws can lead In-Reply-To: <98CB7571-A351-4928-9E0C-E59ACF08B381@twft.com> References: <384E791B-4491-45DA-99DE-734CD1611908@twft.com> <98CB7571-A351-4928-9E0C-E59ACF08B381@twft.com> Message-ID: <005f01cda7e6$8fc54800$af4fd800$@net> First of all let me say that the LAW-IS-THE-LAW and I don't try to steal intellectual property. I tell my friends "just because it's easy, doesn't make it legal". That being said, I don't feel sorry for the record companies or artists at all. The cigar smoking old school record company execs and the lazy one hit wonder musicians missed the digital bus by trying to hold on to the gravy train of the past. The gravy train explained: I bought the song Revolution by the Beatles on a 45 rpm record and pay the royalties(1) I then buy the vinyl album and pay royalties again(2) Get it on 8 track(3) Get it on cassette(4) CD(5) DVD anthology(6) As I see it I paid the royalties 6 times. I should have paid it only the first time and just paid the media costs going forward. I would even have turned in the old copies. Just because you have 1 great album you shouldn't be able to live off all the media changing royalties for the rest of you and your kids life. Now that's stealing from the public. To put this into perspective.....We write SW. When new technology comes out we can't expect the user to re-pay us just because they get a new PC/Mac. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bob Sneidar Sent: Thursday, October 11, 2012 1:00 PM To: How to use LiveCode Subject: Re: [OT] Where ill conceived copyright laws can lead I have to say, it's better than it was. I used to buy LP's 2 and 3 times because I would wear them out, and then there was a limit on how many I could have because they took up space. The quality of tape, LP's and CD's (yes CD's they scratch and do not have an indefinite shelf life) is limited by time. If I faithfully back up my digital copies of music, I will have them my entire life. What's more, I can re-have music I loved when I was young. No one was ever going to reprint the media once it went out of print. Now almost everything in the past has been reproduced in a digital format because the investment is so cheap and you only have to do it once. And movies! Don't get me started on movies! There are old movies no one was ever going to see again, unless some cable channel played it some early morning around 2:00! Now you can buy it online and download it. You can buy entire sets of them! Everybody wins! I think what Steve Jobs did for the media industry is a HUGE plus, and is one of those rare situations where the bulk of the consumers AND the producers agree! Bob On Oct 10, 2012, at 9:38 PM, Kay C Lan wrote: > But, what of my current 2TB of iTunes purchases; music, movies, TV > shows, apps? Sure I could leave my ID and password in my will but > that's only going to work for so long.You can't combine or split accounts. > > But it's even worse than that, I can't even move countries without > loosing the lot! Transferring accounts is not possible. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Oct 11 15:39:31 2012 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 11 Oct 2012 22:39:31 +0300 Subject: [OT] Where ill conceived copyright laws can lead In-Reply-To: <005f01cda7e6$8fc54800$af4fd800$@net> References: <384E791B-4491-45DA-99DE-734CD1611908@twft.com> <98CB7571-A351-4928-9E0C-E59ACF08B381@twft.com> <005f01cda7e6$8fc54800$af4fd800$@net> Message-ID: <50772073.4090509@gmail.com> On 10/11/2012 10:28 PM, Ralph DiMola wrote: > First of all let me say that the LAW-IS-THE-LAW and I don't try to steal > intellectual property. I tell my friends "just because it's easy, doesn't > make it legal". > No, and neither do I . . . BUT . . . there are some interesting questions that pop up about the fuzzy borders round intellectual property: 1. Once upon-a-time somebody thought up the idea of a computer program called a "word processor"; How come all those producers of Word Processing programs (MSW, Apache OOO, LibreOffice, Calligra, et al) aren't paying royalties to that person. 2. Adobe Photoshop is a super program all wrapped up in copyright, yet GIMP, and KRITA (among others) have filters that produce drop-shadows, bevel edges, and so forth, that, as far as I am aware, first saw light in Photoshop; nobody, however, is paying Adobe royalties for those things. 3. Let's suppose, for the sake of argument, I am a brilliant computer program (that will be my only joke in this posting, I promise) and I make a complete clone of RunRev Livecode from scratch: virtually looks the same, functions the same, opens Livecode files and runs them, and so forth, but is NOT Livecode one wonders how near to the wind I would actually be sailing. --------------------- Or, put it another way, if Shakespeare were alive could he sue the pants off the producers of 'Westside Story' because they ripped-off 'Romeo and Juliet'? From th.douez at gmail.com Thu Oct 11 16:08:08 2012 From: th.douez at gmail.com (Thierry Douez) Date: Thu, 11 Oct 2012 22:08:08 +0200 Subject: 3 minutes to emulate PlayCommand agent X on (Mountain) Lion Message-ID: 3 minutes to emulate PlayCommand agent X on (Mountain) Lion ! Today I got the documentation of Shakobox which works with PlayCommand Agent X. The API is quite short: SBplay instrument,tempo,notestring -- Plays a string of notes, formatted like the play command in HyperTalk. -- Instrument can be a name or a number. SBstartNote instrument,pitch,velocity -- Starts playing a note. Instrument is a name or number. Pitch ranges from 0 to 127 -- with 60 being middle C. Velocity ranges from 0 to 127. A velocity of 0 will stop the -- note (see below). SBstopNote instrument,pitch -- Stops a note being played by SBstartNote. Same as specifying 0 for the velocity -- in the above command. In the documentation of sunnYmidi on http://sunny-tdz.com, you can find: sunnymidi.HCplay channel, tempo, notestring -- Plays a string of notes A la Hypercard sunnYmidi.Play, channel, -1, velocity, pitch -- Plays a note forever sunnYmidi.Play, channel, 0, 0, pitch -- Stops the note Obviously, those 2 sets of commands are quite similar! But with shakobox, the commands are associated with an instrument, while with sunnYmidi they are associated with a channel. So, another command from my documentation: sunnYmidi.Set channel, "instrument", instrumentID With this in mind, I write the 3 shakobox handlers like this: on SBplay instrument, _tempo, notestring sunnYmidi.Set 1, "instrument", instrumentID( instrument) sunnymidi.HCplay 1, _tempo, notestring end SBplay on SBstartNote instrument, pitch, velocity sunnYmidi.Set 1, "instrument", instrumentID( instrument) sunnYmidi.Play, 1, -1, velocity, pitch end SBstartNote on SBstopNote instrument,pitch sunnYmidi.Set 1, "instrument", instrumentID( instrument) sunnYmidi.Play, 1, 0, 0, pitch end SBstopNote And to finish, I have to code this function: private function instrumentID instrument -- assuming the ID is correct if instrument is a number then return instrument -- custom prop containing on each line: IDinstrument,InstrumentName get the GM_Instruments of this stack filter IT with "*," & instrument if IT is empty then return 1 -- piano return item 1 of IT -- the ID end instrumentID I put all the scripts mentioned above in a new stack script and set the externals property of this stack. Then, I create a button and copy-paste the following script from the Shakobox documentation: on mouseup -- "Nic's Russian Tune (Katyushka)" from "Knit Your Own Yoghurt" put "e4q. f#4e g4q. e4e gq f#e ee f#q b3q f#q. ge aq. f#e aq ge f#e eq rq " & \ "b4q e5q d5q e5e d5e c5q b4e a4e b4q e4q c5q. a4e b4q. g4e a4q g4e f#4e e4h " & \ "g4q. a4e b4q. g4e b4q a4e g4e f#4q a4q a4q. b4e c5q. b4e c5q b4e a4e g4q rq " & \ "e5q g5q b4q b4e d5e e5q d5e c5e e5q b4q e5q. c5e e4q. b4e d#5q e5e f#5e e5h"? \ into theSong sbplay 24,125,theSong end mouseup I save my stack, close and open it, click the button and .... It works ! And all that in only 3 minutes ! It shows that Livecode is a powerful tool to code fast which is also true for sunnYmidi ! This stack will be available on my site in a couple of days. Happy coding, Thierry From bobs at twft.com Thu Oct 11 16:36:32 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 11 Oct 2012 13:36:32 -0700 Subject: [OT] Where ill conceived copyright laws can lead In-Reply-To: <005f01cda7e6$8fc54800$af4fd800$@net> References: <384E791B-4491-45DA-99DE-734CD1611908@twft.com> <98CB7571-A351-4928-9E0C-E59ACF08B381@twft.com> <005f01cda7e6$8fc54800$af4fd800$@net> Message-ID: In one sense I can see your point, however the analogy breaks down in a couple ways. First, you could never have played the 45 on an 8 track or Cassette box. With software, purchasing a new PC does not necessarily mean you cannot run the software you purchased for the last one, and if it runs no one is asking you to buy the software again. I ran office 98 for years after it was waaay out of support. Now if you originally purchased Office for PC, then later buy a Mac, well you are going to have to pay full pop, unless you can work something else out with MS. Also, taking your example out to the ridiculous, how about a PC made in 2050? Should you expect that software today will run on it tomorrow? Where do you draw the line? How many upgrades are you entitled to? For your software to work in tomorrowland, more work is going to have to be done to it. Someone is going to have to pay for that work. As far as the royalties thing goes, it's an imperfect way to make sure the artists get paid based upon sales. Think of it from the other direction. The distributor decides to charge x for an lp. Oh but wait, the contract with the artists says that x/y of all sales goes to the artist! Hmmm... okay, distributor only gets x - (x/y), It's not an agreement with the consumer that is in play here. It is an agreement between the artist and the distributor based on actual sales, NOT based on consumer ownership. You are not paying the royalties per se, the distributor is. Bob . On Oct 11, 2012, at 12:28 PM, Ralph DiMola wrote: > To put this into perspective.....We write SW. When new technology comes out > we can't expect the user to re-pay us just because they get a new PC/Mac. > > Ralph DiMola From bobs at twft.com Thu Oct 11 16:40:05 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 11 Oct 2012 13:40:05 -0700 Subject: [OT] Where ill conceived copyright laws can lead In-Reply-To: <50772073.4090509@gmail.com> References: <384E791B-4491-45DA-99DE-734CD1611908@twft.com> <98CB7571-A351-4928-9E0C-E59ACF08B381@twft.com> <005f01cda7e6$8fc54800$af4fd800$@net> <50772073.4090509@gmail.com> Message-ID: <5E3738B0-17B7-451A-B06C-4180037C512D@twft.com> On Oct 11, 2012, at 12:39 PM, Richmond wrote: > 3. Let's suppose, for the sake of argument, I am a brilliant computer program (that will be my only > joke in this posting, I promise) and I make a complete clone of RunRev Livecode from scratch: > > virtually looks the same, functions the same, opens Livecode files and runs them, and so forth, > but is NOT Livecode > > one wonders how near to the wind I would actually be sailing. > > --------------------- > > Or, put it another way, if Shakespeare were alive could he sue the pants off the producers of 'Westside Story' because they ripped-off 'Romeo and Juliet'? Or put it yet another way. Since Solomon coined the phrase, "There's nothing new under the sun", shouldn't we all be paying his descendants royalties on every idea we have? Bob From pete at lcsql.com Thu Oct 11 17:09:18 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 11 Oct 2012 14:09:18 -0700 Subject: [OT] Baseball Message-ID: With apologies to our non-USA and those who live outside the SF Bay Area but.... GOOO GIANTS!!!! Pete lcSQL Software From pete at lcsql.com Thu Oct 11 17:16:46 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 11 Oct 2012 14:16:46 -0700 Subject: Mountain Lion File Versioning In-Reply-To: References: <5077141A.5070509@braguglia.ch> Message-ID: Folks, I'm really interested in figuring out what happened here so if anyone can figure it out, please post! lcStackBrowser saved a couple of things in custom props between runs but I'm already in the process of changing it to save the same info in a file to avoid whatever is causing this problem but sure would be nice to know what happened. Pete lcSQL Software On Thu, Oct 11, 2012 at 11:53 AM, Scott Rossi wrote: > Maybe this is one of those situations where the OS is re-launching > whatever files you had previously open. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > > On 10/11/12 11:46 AM, "Guglielmo Braguglia" > wrote: > > >I have the problem ... > > > >I'm using one Peter plugin, lcStackBrowser, which currentlysaves > >something inside itself ... > > > >Today, trying on a MacBook running Mountain Lion 10.8.2, I have had this > >strange behavior ... > > > >... I opened LiveCode on this machine, on which I had used it a few days > >ago, and ... a LiveCode message informs me of a conflict for a duplicate > >stack name between two similar stacks ! > > > >One was "lcStackBrowser", another was "lcStackBrowser (Guglielmo's > >MacBook)" :o > >Obviously I NEVER created the second one so ... the only thing that I > >can imagine is the behavior of Mountain Lion on saving files ... > > > >Has anyone had a similar experience ? > > > >Guglielmo > > > > > >On 11.10.2012 19:21, Peter Haworth wrote: > >> I'm not 100% clear on how the Mountain Lion file versioning of files > >>works > >> but does it have any effect on saving a stack by script? > >> 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 kee at kagi.com Thu Oct 11 17:19:51 2012 From: kee at kagi.com (kee nethery) Date: Thu, 11 Oct 2012 14:19:51 -0700 Subject: [OT] Baseball In-Reply-To: References: Message-ID: <223EC75E-C25E-4D92-A2AE-816F2CF3779A@kagi.com> On Oct 11, 2012, at 2:09 PM, Peter Haworth wrote: > With apologies to our non-USA and those who live outside the SF Bay Area > but.... GOOO GIANTS!!!! Would you turn them into gooo with a blender or would you use some kind of chemical to dissolve them? Kee From pete at lcsql.com Thu Oct 11 17:21:48 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 11 Oct 2012 14:21:48 -0700 Subject: Strict Compile Mode In-Reply-To: <50771155.8060201@braguglia.ch> References: <50771155.8060201@braguglia.ch> Message-ID: Hi Guglielmo, Thanks for the idea - it worked for me too! Don;t worry, I won;t ask why - I've given up trying to figure out why LC does some things :-) Pete lcSQL Software On Thu, Oct 11, 2012 at 11:35 AM, Guglielmo Braguglia < guglielmo at braguglia.ch> wrote: > Hi Pete, > this happen very often also to me ... > > ... I don't know, but ... if you are debugging your code > stepping-by-stepping and you stop the execution, some time LiveCode create > this problem. > > The only solution is to save the stack, close LiveCode (/is not sufficient > to close the stack/) and restart ... your stack is ok, your code also and > if you compile ... NO ERRORS! > > Don't ask why ... :-( > > Guglielmo > > > > On 11.10.2012 19:18, Peter Haworth wrote: > >> Finished converting all the scripts in a stack to include local variable >> definitions and got clean compiles of everything a couple of days ago. >> Today, I made some changes to a handler that did not involve any new >> variables. When I compiled, I got the error message "local: name shadows >> another variable or constant" pointing to a line in the same script but a >> completely different handler which previously compiled OK. >> >> I checked all my the local commands in the script and they are all within >> handlers except for one and it does not refer to the variable named in the >> error message. There are no global definitions in the script. >> >> Are there any other reasons for this error? I'm at a loss to understand >> why this script compiled with no problems originally and now is flagging >> errors on my local definitions. >> >> 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 Thu Oct 11 17:26:36 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 11 Oct 2012 14:26:36 -0700 Subject: Strict Compile Mode In-Reply-To: <89231079187.20121011102844@ahsoftware.net> References: <89231079187.20121011102844@ahsoftware.net> Message-ID: Hi Mark, Checked my global definitions and there were none for the variable in question, but Guglielmo's suggestion worked for me. However, this puts another little gotcha into the whole area of global definitions. Before starting to use strict compile mode, I've been bitten by referring to a global var in a script and forgetting to define it as a global so it was treated as a local. But you seem to be suggesting that LC is aware of the existence of a global var even if it's not defined in a script? If that's the case, then I wonder why it's necessary to define them in any script that uses them instead of just once? Pete lcSQL Software On Thu, Oct 11, 2012 at 10:28 AM, Mark Wieder wrote: > Pete- > > Thursday, October 11, 2012, 10:18:25 AM, you wrote: > > > I checked all my the local commands in the script and they are all within > > handlers except for one and it does not refer to the variable named in > the > > error message. There are no global definitions in the script. > > Check to see if there's a global by that name. Doesn't have to be in > the same script, globals declared by a different script as still, > well, global. I've had the "shadows another variable or constant" > error message come up when converting globals to script-local vars. > > -- > -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 Thu Oct 11 17:27:42 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 11 Oct 2012 14:27:42 -0700 Subject: [OT] Baseball In-Reply-To: <223EC75E-C25E-4D92-A2AE-816F2CF3779A@kagi.com> References: <223EC75E-C25E-4D92-A2AE-816F2CF3779A@kagi.com> Message-ID: Cincinnatti couldn't do either :-) Pete lcSQL Software On Thu, Oct 11, 2012 at 2:19 PM, kee nethery wrote: > > On Oct 11, 2012, at 2:09 PM, Peter Haworth wrote: > > > With apologies to our non-USA and those who live outside the SF Bay Area > > but.... GOOO GIANTS!!!! > > Would you turn them into gooo with a blender or would you use some kind of > chemical to dissolve them? > Kee > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Thu Oct 11 17:43:55 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 11 Oct 2012 14:43:55 -0700 Subject: Mountain Lion File Versioning In-Reply-To: <507717DA.5060806@braguglia.ch> References: <507717DA.5060806@braguglia.ch> Message-ID: Folks, Been checking around the web and I don't think versioning is causing what Guglielmo experienced. It seems that versions of files are stored in a special, hidden folder named .DocumentRevisions-V100 at the root level of your drive, not in the same folder as the original file. Certainly something strange happened but seems like it wasn't ML's versioning that caused it. Pete lcSQL Software On Thu, Oct 11, 2012 at 12:02 PM, Guglielmo Braguglia < guglielmo at braguglia.ch> wrote: > Ciao Scott, > yes, is the same thing I thought. > > Because Peter save some information inside the plugin, maybe Mountain Lion > see this file changed and try to do some kind of versioning or reopening > the last version ... I don't know ... > > Guglielmo > > > > On 11.10.2012 20:53, Scott Rossi wrote: > >> Maybe this is one of those situations where the OS is re-launching >> whatever files you had previously open. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >> >> On 10/11/12 11:46 AM, "Guglielmo Braguglia" >> wrote: >> >> I have the problem ... >>> >>> I'm using one Peter plugin, lcStackBrowser, which currentlysaves >>> something inside itself ... >>> >>> Today, trying on a MacBook running Mountain Lion 10.8.2, I have had this >>> strange behavior ..............................**........ >>> >>> > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From pete at lcsql.com Thu Oct 11 17:59:30 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 11 Oct 2012 14:59:30 -0700 Subject: Scrolling List Field Line Highlighting Message-ID: I've noticed that the highlighting of selected lines in a scrolling list field looks a lot different on Windows than on Mac. The hilite color is the same but on a Mac, the text in the line stays black at it's defined color (black for me) whereas on Windows, the text is colored white and pretty much unreadable. I don't think I'm doing anything to cause that behavior but has anyone found a way to have the text color stay the same on Windows as it does on a Mac? Pete lcSQL Software From bobs at twft.com Thu Oct 11 18:03:51 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 11 Oct 2012 15:03:51 -0700 Subject: Strict Compile Mode In-Reply-To: References: <89231079187.20121011102844@ahsoftware.net> Message-ID: I don't think that is true Pete. I think you DO have to define a global, either in the script or in the handler in order for it to be treated as such. What is causing the shadow variable glitch I don't know. I personally don't like using strict compile, but I understand it's really a personal preference, and may become more useful the bigger a project gets. But my solution for mistyping a variable is the same as the doctor who is told by his patient that his shoulder hurts when he moves it "like this." The doctor replies, "Well don't do that!" HTH, Bob On Oct 11, 2012, at 2:26 PM, Peter Haworth wrote: > Hi Mark, > Checked my global definitions and there were none for the variable in > question, but Guglielmo's suggestion worked for me. > > However, this puts another little gotcha into the whole area of global > definitions. Before starting to use strict compile mode, I've been bitten > by referring to a global var in a script and forgetting to define it as a > global so it was treated as a local. But you seem to be suggesting that LC > is aware of the existence of a global var even if it's not defined in a > script? If that's the case, then I wonder why it's necessary to define > them in any script that uses them instead of just once? > > Pete From bobs at twft.com Thu Oct 11 18:05:02 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 11 Oct 2012 15:05:02 -0700 Subject: [OT] Baseball In-Reply-To: References: Message-ID: <9CCB8D30-A269-4A43-B557-4C82EAE7952C@twft.com> Wait! I think sports should be added to the list of volatile subjects, along with religion and cheese! j/k On Oct 11, 2012, at 2:09 PM, Peter Haworth wrote: > With apologies to our non-USA and those who live outside the SF Bay Area > but.... GOOO GIANTS!!!! > Pete From bobs at twft.com Thu Oct 11 18:15:05 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 11 Oct 2012 15:15:05 -0700 Subject: Scrolling List Field Line Highlighting In-Reply-To: References: Message-ID: <59C60B0A-9F89-4274-B8A4-F2A4CB95049B@twft.com> I think that is controlled by the OS. The end user may have to diddle with his appearance manager. Bob On Oct 11, 2012, at 2:59 PM, Peter Haworth wrote: > I've noticed that the highlighting of selected lines in a scrolling list > field looks a lot different on Windows than on Mac. The hilite color is > the same but on a Mac, the text in the line stays black at it's defined > color (black for me) whereas on Windows, the text is colored white and > pretty much unreadable. > > I don't think I'm doing anything to cause that behavior but has anyone > found a way to have the text color stay the same on Windows as it does on a > Mac? > > 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 dochawk at gmail.com Thu Oct 11 18:22:33 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 11 Oct 2012 15:22:33 -0700 Subject: Strict Compile Mode In-Reply-To: References: <89231079187.20121011102844@ahsoftware.net> Message-ID: On Thu, Oct 11, 2012 at 3:03 PM, Bob Sneidar wrote: > the doctor who is told by his patient that his shoulder hurts when he moves it "like this." The doctor replies, "Well don't do that!" That was Groucho Marx And decades later, I got the same physician when my sinus was reacting to white wines (so, no, not the sulfate thing)--"We've seen that before--just don't drink those wines." -- Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Thu Oct 11 18:22:29 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 11 Oct 2012 15:22:29 -0700 Subject: [OT] Baseball In-Reply-To: <9CCB8D30-A269-4A43-B557-4C82EAE7952C@twft.com> References: <9CCB8D30-A269-4A43-B557-4C82EAE7952C@twft.com> Message-ID: I did apologise in advance :-) Pete lcSQL Software On Thu, Oct 11, 2012 at 3:05 PM, Bob Sneidar wrote: > Wait! I think sports should be added to the list of volatile subjects, > along with religion and cheese! > > j/k > > On Oct 11, 2012, at 2:09 PM, Peter Haworth wrote: > > > With apologies to our non-USA and those who live outside the SF Bay Area > > but.... GOOO GIANTS!!!! > > Pete > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Thu Oct 11 18:26:07 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 11 Oct 2012 15:26:07 -0700 Subject: Strict Compile Mode In-Reply-To: References: <89231079187.20121011102844@ahsoftware.net> Message-ID: It's definitly true if you want to refer to it as a global when the script runs, I agree. But I got the impression from Mark's post that perhaps the compile process (or I guess more correctly the Apply process) recognises globals that have been defined in other scripts and not in the current one, that's really what my question is about. Pete lcSQL Software On Thu, Oct 11, 2012 at 3:03 PM, Bob Sneidar wrote: > I don't think that is true Pete. I think you DO have to define a global, > either in the script or in the handler in order for it to be treated as > such. What is causing the shadow variable glitch I don't know. > From dochawk at gmail.com Thu Oct 11 19:21:31 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 11 Oct 2012 16:21:31 -0700 Subject: [OT] Where ill conceived copyright laws can lead In-Reply-To: References: <384E791B-4491-45DA-99DE-734CD1611908@twft.com> Message-ID: On Wed, Oct 10, 2012 at 10:26 AM, Lynn Fredricks wrote: > The supremes could come back with something broad and > draconian, which in turn could up-end almost every aspect of trade in the > USA. Or nothing could happen. Or whatever. In other words, another day in > SCOTUSville. As an attorney . . . I expect a *very* narrow ruling on this. It's a crummy fact pattern for any broad ruling, and has nothing to do with the alarmist articles. . . . and . . . On Thu, Oct 11, 2012 at 12:39 PM, Richmond wrote: > > 1. Once upon-a-time somebody thought up the idea of a computer program > called a "word processor"; > > How come all those producers of Word Processing programs (MSW, Apache OOO, > LibreOffice, > Calligra, et al) aren't paying royalties to that person. > The term predates computer programs for that purpose. There was a machine called a "word processor" at the bank my mother worked at in the '50s. It was basically a Selectric with a paper tape reader. It would type away, until it hit a field, at which point it would wait for someone to type that in, and then type until the next one. I believe that the paper was in a loop. Also, given that technology, there should have been machines with either a second tape reader (for names), or a punch card reader (again, for the data). No technological reason not to do so . . . >Or, put it another way, if Shakespeare were alive could he sue the pants off the producers of 'Westside Story' >because they ripped-off 'Romeo and Juliet'? Probably because the only original plot he ever wrote was the Tempest, his final play; the rest were all retellings of existing stories . . . On Thu, Oct 11, 2012 at 1:40 PM, Bob Sneidar wrote: > Or put it yet another way. Since Solomon coined the phrase, "There's nothing new under the sun", shouldn't we all be >paying his descendants royalties on every idea we have? Well, there are conspiracy theorists who basically claim we do . . . In a lighter vein, you've seen the list of reasons God was denied tenure at the university, haven't you? From memory . . . 1) OK, he created the world, but what has he done recently? 2) He is accused of destroying the evidence when an experiment went poorly. 3) He only has one publication. 4) it was in an obscure language. 5) some folks question whether he wrote it himself. -- Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Thu Oct 11 19:27:00 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 11 Oct 2012 16:27:00 -0700 Subject: Cannot build a standalone application In-Reply-To: <886F03A5-E95B-4F55-84AF-4277BA498AD5@verizon.net> References: <86299FD5-FE98-4E8B-B53F-E022387C391A@economy-x-talk.com> <507436F0.1040508@fourthworld.com> <216FE008-B526-46BD-8339-C6A4799BD8E6@economy-x-talk.com> <886F03A5-E95B-4F55-84AF-4277BA498AD5@verizon.net> Message-ID: On Tue, Oct 9, 2012 at 7:31 PM, Colin Holgate wrote: > A small claim to fame of mine, I was the first person anywhere to be running System 7 full time. I was using it all the >time from around Alpha 9. The System 7 team themselves were using it full time from about Alpha 11. I think it was >around 18 months from the times I was using it until it was actually released. I don't remember version numbering. I switched over almost entirely at the first developer CD (or was it still diskette? Things get fuzzy . . . I bought my CD drive when they started shipping on CD instead of disk . . .) that had 7.0a on it. I'd reboot into 6.0 for a couple of things that had it, but there were thing like keyboard selection that had me on 7.0 from the first shipment. -- Richard E. Hawkins, Esq. (702) 508-8462 From bobs at twft.com Thu Oct 11 19:44:51 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 11 Oct 2012 16:44:51 -0700 Subject: [OT] Where ill conceived copyright laws can lead In-Reply-To: References: <384E791B-4491-45DA-99DE-734CD1611908@twft.com> Message-ID: On Oct 11, 2012, at 4:21 PM, Dr. Hawkins wrote: >> Or put it yet another way. Since Solomon coined the phrase, "There's nothing new under the sun", shouldn't we all be >> paying his descendants royalties on every idea we have? > > Well, there are conspiracy theorists who basically claim we do . . . > > In a lighter vein, you've seen the list of reasons God was denied > tenure at the university, haven't you? From memory . . . > > 1) OK, he created the world, but what has he done recently? > 2) He is accused of destroying the evidence when an experiment went poorly. > 3) He only has one publication. > 4) it was in an obscure language. > 5) some folks question whether he wrote it himself. > > -- > Richard E. Hawkins, Esq. Interesting argument for paying tithes. Maybe it's just royalties to God. ;-) Bob From mwieder at ahsoftware.net Thu Oct 11 19:55:00 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 11 Oct 2012 23:55:00 +0000 (UTC) Subject: Strict Compile Mode References: <89231079187.20121011102844@ahsoftware.net> Message-ID: Peter Haworth writes: > It's definitly true if you want to refer to it as a global when the script > runs, I agree. But I got the impression from Mark's post that perhaps the > compile process (or I guess more correctly the Apply process) recognises > globals that have been defined in other scripts and not in the current one, > that's really what my question is about. Once a script declares a global, it's in memory. Other scripts/stacks can use it or not, but if you try to declare a local variable with the same name you'll get a conflict because the global is still hanging around. Normally I think of this as a nuisance, but Chipp Walters once showed me a very clever way to take advantage of this "feature". -- Mark Wieder mwieder at ahsoftware.net From pete at lcsql.com Thu Oct 11 20:23:18 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 11 Oct 2012 17:23:18 -0700 Subject: Strict Compile Mode In-Reply-To: References: <89231079187.20121011102844@ahsoftware.net> Message-ID: On Thu, Oct 11, 2012 at 4:55 PM, Mark Wieder wrote: > Normally I think of this > as a nuisance, but Chipp Walters once showed me a very clever way to take > advantage of this "feature". > ????!!!!! From calhorner at xtra.co.nz Thu Oct 11 20:39:08 2012 From: calhorner at xtra.co.nz (Cal Horner) Date: Fri, 12 Oct 2012 13:39:08 +1300 (New Zealand Daylight Time) Subject: Program not responding Message-ID: <507766A5.000003.07136@CALS_BIG_PC> I upgraded to LC 5.5.2 and Win 7 to pull myself into the 21st century. Since then I have had the message "Programname not responding" while in the IDE and also in some of my LC executables. Then the whole system goes to sleep for a while, finally shakes itself off and comes back to the real world. All this after increasing my level of frustration. Am I the only one having this kind of problem? Is there some work-around I can use? From bvlahos at mac.com Thu Oct 11 20:54:04 2012 From: bvlahos at mac.com (William Vlahos) Date: Thu, 11 Oct 2012 17:54:04 -0700 Subject: Mountain Lion File Versioning In-Reply-To: <5261C0B6-506C-43C4-8688-5839FAC2DE97@major.on-rev.com> References: <5261C0B6-506C-43C4-8688-5839FAC2DE97@major.on-rev.com> Message-ID: It would be good if there was an example of how to use versioning in our own apps. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. lcTaskList: (http://www.infowallet.com/lctasklist/index.htm) RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61) On Oct 11, 2012, at 10:25 AM, Klaus on-rev wrote: > Hi Pete, > > Am 11.10.2012 um 19:21 schrieb Peter Haworth : > >> I'm not 100% clear on how the Mountain Lion file versioning of files works > > noone really is! :-D > >> but does it have any effect on saving a stack by script? > > No, Livecode does not support this "feature". > >> Pete >> lcSQL Software > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Thu Oct 11 21:26:58 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 11 Oct 2012 18:26:58 -0700 Subject: Strict Compile Mode In-Reply-To: References: <89231079187.20121011102844@ahsoftware.net> Message-ID: <13259772953.20121011182658@ahsoftware.net> Pete- Thursday, October 11, 2012, 5:23:18 PM, you wrote: > ????!!!!! Sorry I don't remember the exact details, maybe Chipp will chime in and set the record straight, but it was something like wanting to perform an operation of several stacks. He loads up a global variable from one stack into memory and then can load other stacks into memory and fiddle with their details based on the contents of the global var. It's somewhere in the depths of the list archives from years ago. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Oct 11 21:31:12 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 11 Oct 2012 18:31:12 -0700 Subject: [OT] Where ill conceived copyright laws can lead In-Reply-To: <50772073.4090509@gmail.com> References: <384E791B-4491-45DA-99DE-734CD1611908@twft.com> <98CB7571-A351-4928-9E0C-E59ACF08B381@twft.com> <005f01cda7e6$8fc54800$af4fd800$@net> <50772073.4090509@gmail.com> Message-ID: <70260026953.20121011183112@ahsoftware.net> Richmond- Thursday, October 11, 2012, 12:39:31 PM, you wrote: > Or, put it another way, if Shakespeare were alive could he sue the pants > off the producers of 'Westside Story' because they ripped-off 'Romeo and > Juliet'? I think that's covered under fair use as derivative art. -- -Mark Wieder mwieder at ahsoftware.net From lan.kc.macmail at gmail.com Thu Oct 11 22:43:48 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 12 Oct 2012 10:43:48 +0800 Subject: [OT] Where ill conceived copyright laws can lead In-Reply-To: <70260026953.20121011183112@ahsoftware.net> References: <384E791B-4491-45DA-99DE-734CD1611908@twft.com> <98CB7571-A351-4928-9E0C-E59ACF08B381@twft.com> <005f01cda7e6$8fc54800$af4fd800$@net> <50772073.4090509@gmail.com> <70260026953.20121011183112@ahsoftware.net> Message-ID: On Fri, Oct 12, 2012 at 9:31 AM, Mark Wieder wrote: > > I think that's covered under fair use as derivative art. > > Which of course is one of the central tenets of copyright. Most people confuse copyright and think it's a means of preventing material from being copied, when in fact it is the basis by which everyone has the right to copy. Just ask any librarian - OK, just ask a good knowledgeable librarian in a large educational institution. From jacque at hyperactivesw.com Fri Oct 12 00:00:14 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 11 Oct 2012 23:00:14 -0500 Subject: Mountain Lion File Versioning In-Reply-To: References: <5077141A.5070509@braguglia.ch> Message-ID: <507795CE.4060402@hyperactivesw.com> That could happen if the location of the plugin changed, and the stack does not have its destroystack property set to true. Without destroystack, the stack will stay resident in RAM after closing. If it re-opens from a different file path, the engine would think it's a duplicate. If LiveCode was relaunched in between then that wouldn't be the reason. On 10/11/12 4:16 PM, Peter Haworth wrote: > Folks, > I'm really interested in figuring out what happened here so if anyone can > figure it out, please post! > > lcStackBrowser saved a couple of things in custom props between runs but > I'm already in the process of changing it to save the same info in a file > to avoid whatever is causing this problem but sure would be nice to know > what happened. > > Pete > lcSQL Software > > > > On Thu, Oct 11, 2012 at 11:53 AM, Scott Rossi wrote: > >> Maybe this is one of those situations where the OS is re-launching >> whatever files you had previously open. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >> >> >> >> On 10/11/12 11:46 AM, "Guglielmo Braguglia" >> wrote: >> >>> I have the problem ... >>> >>> I'm using one Peter plugin, lcStackBrowser, which currentlysaves >>> something inside itself ... >>> >>> Today, trying on a MacBook running Mountain Lion 10.8.2, I have had this >>> strange behavior ... >>> >>> ... I opened LiveCode on this machine, on which I had used it a few days >>> ago, and ... a LiveCode message informs me of a conflict for a duplicate >>> stack name between two similar stacks ! >>> >>> One was "lcStackBrowser", another was "lcStackBrowser (Guglielmo's >>> MacBook)" :o >>> Obviously I NEVER created the second one so ... the only thing that I >>> can imagine is the behavior of Mountain Lion on saving files ... >>> >>> Has anyone had a similar experience ? >>> >>> Guglielmo >>> >>> >>> On 11.10.2012 19:21, Peter Haworth wrote: >>>> I'm not 100% clear on how the Mountain Lion file versioning of files >>>> works >>>> but does it have any effect on saving a stack by script? >>>> 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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Thu Oct 11 23:50:27 2012 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 12 Oct 2012 06:50:27 +0300 Subject: [OT] Where ill conceived copyright laws can lead In-Reply-To: <5E3738B0-17B7-451A-B06C-4180037C512D@twft.com> References: <384E791B-4491-45DA-99DE-734CD1611908@twft.com> <98CB7571-A351-4928-9E0C-E59ACF08B381@twft.com> <005f01cda7e6$8fc54800$af4fd800$@net> <50772073.4090509@gmail.com> <5E3738B0-17B7-451A-B06C-4180037C512D@twft.com> Message-ID: <50779383.2040904@gmail.com> On 11/10/12 23:40, Bob Sneidar wrote: > On Oct 11, 2012, at 12:39 PM, Richmond wrote: > >> 3. Let's suppose, for the sake of argument, I am a brilliant computer program (that will be my only >> joke in this posting, I promise) and I make a complete clone of RunRev Livecode from scratch: >> >> virtually looks the same, functions the same, opens Livecode files and runs them, and so forth, >> but is NOT Livecode >> >> one wonders how near to the wind I would actually be sailing. >> >> --------------------- >> >> Or, put it another way, if Shakespeare were alive could he sue the pants off the producers of 'Westside Story' because they ripped-off 'Romeo and Juliet'? > > Or put it yet another way. Since Solomon coined the phrase, "There's nothing new under the sun", shouldn't we all be paying his descendants royalties on every idea we have? It's funny really, when he supposedly have hundreds of wives, how hard it is to track down anybody who can actually, honestly say they are descended from him . . . LOL. > > Bob > > A little philosophical exercise called 'reductio ad absurdam' (correct my Latin someone) (pushing a thing to its limits) is useful sometimes to help us understand how far something can go, and how fuzzy the boundaries tend to be as to what is 'in' and what is 'out'. I feel there should be more precisely defined copyright rules, a statute of how far one can stretch copyright, and areas that should ruled off-limits as belonging to the collective knowledge and/or cultural property of a society. The recent spat over whether one of the major mobile devices has nicked parts of their GUI from another is an example of how copyright is not used to protect but to bully. Richmond. From richmondmathewson at gmail.com Thu Oct 11 23:51:22 2012 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 12 Oct 2012 06:51:22 +0300 Subject: [OT] Baseball In-Reply-To: <223EC75E-C25E-4D92-A2AE-816F2CF3779A@kagi.com> References: <223EC75E-C25E-4D92-A2AE-816F2CF3779A@kagi.com> Message-ID: <507793BA.6010405@gmail.com> >> With apologies to our non-USA and those who live outside the SF Bay Area >> but.... GOOO GIANTS!!!! > Hmm . . . Rounders. From pete at lcsql.com Fri Oct 12 01:50:13 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 11 Oct 2012 22:50:13 -0700 Subject: [OT] Where ill conceived copyright laws can lead In-Reply-To: <50779383.2040904@gmail.com> References: <384E791B-4491-45DA-99DE-734CD1611908@twft.com> <98CB7571-A351-4928-9E0C-E59ACF08B381@twft.com> <005f01cda7e6$8fc54800$af4fd800$@net> <50772073.4090509@gmail.com> <5E3738B0-17B7-451A-B06C-4180037C512D@twft.com> <50779383.2040904@gmail.com> Message-ID: That's not copyright, that's patent, different thing although just as weird! One problem with copyright laws is that, as with a lot of laws, they are different in every country. Pete lcSQL Software On Thu, Oct 11, 2012 at 8:50 PM, Richmond wrote: > The recent spat over whether one of the major mobile devices has nicked > parts of their GUI from > another is an example of how copyright is not used to protect but to bully. > From guglielmo at braguglia.ch Fri Oct 12 02:37:09 2012 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Fri, 12 Oct 2012 08:37:09 +0200 Subject: Strict Compile Mode In-Reply-To: References: <89231079187.20121011102844@ahsoftware.net> Message-ID: <5077BA95.6020000@braguglia.ch> Hi Pete, if you declare a variable "global",the variable IS GLOBAL FOR ANY STACK and is "*persistent*". This means that the variable and its value exist regardless of the stack that created. If you liketo see do just a simple test ... ... create a stack and from this stack create a "global" variable and put something inside. Close and destroy the stack. Open a new stack andopen the Editor window (e.g. start writing a script). On the bottom select the TAB "Variables" and ... your old global is there with its value :-) And YES, this can create problem if you don't close LiveCode between the developmentof two different projects because some "globals" of one project can collide with some variable of another project (e.g. a local with the same name). "local" variables have a different behavior depending on where you declare them... ... if you declare "inside" an handler they live long the handler lives, but if you declare at the beginning of your script, before the handlers, they become like "locals global" ... exist and retain their value (ONLY inside the script where they are declared) until the program exist. If you close and destroy the main stack ... they are removed. If you like to see do another simple test ... ... create a stack and create different scripts (e.g. some scriptfor some buttons). On the different scripts define "local" variable on the TOP of the script, before handlers. Assigns them a value. Now, if you insert some breakpoints (on the different scripts) you will see, still looking into the "Variables" TAB, that, when the script stop because reach the breakpoint (so the script is the current script), you will find the local variable of the script with the correct value. Please note that, also if this rules remain valid, the behavior of LiveCode is different if your "Strict Compile Mode" is ON or OFF !!! ... and this creates more confusion !!! With "Strict Compile Mode" ON ... you are obliged to declare the variable and LiveCode verify the "collisions" and give you error if one local have the same name of a global, BUT, if "Strict Compile Mode" is OFF, LiveCode don't verify the "collisions" and the same variable can be a local or a global depending on whether you declare it "global" or not :o ... and this is really ridiculous !!! Hope this clarify the situation ... :-) Guglielmo On 12.10.2012 00:26, Peter Haworth wrote: > It's definitly true if you want to refer to it as a global when the script > runs, I agree. But I got the impression from Mark's post that perhaps the > compile process (or I guess more correctly the Apply process) recognises > globals that have been defined in other scripts and not in the current one, > that's really what my question is about. > Pete > lcSQL Software > > > > On Thu, Oct 11, 2012 at 3:03 PM, Bob Sneidar wrote: > >> I don't think that is true Pete. I think you DO have to define a global, >> either in the script or in the handler in order for it to be treated as >> such. What is causing the shadow variable glitch I don't know. >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pmbrig at gmail.com Fri Oct 12 09:06:24 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 12 Oct 2012 09:06:24 -0400 Subject: defaultcursor problem Message-ID: <21F92D23-B982-432D-B688-654864B4915D@gmail.com> Anyone have an idea why this doesn't work? Put the following into the script of an unlocked field: on mousemove put the commandkey is down into cmK if cmK then set the defaultcursor to hand else set the defaultcursor to empty end if end mousemove I want the cursor to become "hand" with the commandkey down, but it simply remains a bar over an unlocked field. I swear this used to work, but for some reason it no longer does. 2008 MacBook, OSX 10.7.4 (Lion), Rev Studio 4.5.3, build 1210 -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From marty at ucls.uchicago.edu Fri Oct 12 09:06:24 2012 From: marty at ucls.uchicago.edu (Marty Billingsley) Date: Fri, 12 Oct 2012 08:06:24 -0500 Subject: Help! PlayCommand Agent X Message-ID: <54D234CC-3EC7-4EEC-BE6B-7D921F088960@ucls.uchicago.edu> Thanks Jon, I had looked at the tutorial. I personally find the interface easy enough to use, but not suited to my curriculum, which is aimed at 13-year-old beginning programmers. The curriculum progression that we go through really wants some of the shakobox functionality, such as setting the instrument at the same time as playing the note. It also depends on the fact that shakobox puts in default note durations and octaves, so we can start very simply and add the complexity as students move through the project. Students can start with a command that has only one "mystery number" -- "sbPlay 'harpsichord', 100, c' -- and go from there. Too many mystery numbers in SunnYmidi.Play. sunnYmidi is great (and really flexible), but not useful in the teaching environment I need it for. Thanks for all the replies. Jacque pointed me to the source code -- thanks, Jacque -- so perhaps I can update PlayCommand Agent X. If so, I'll let y'all know. cheers, - marty -- Marty Billingsley Department of Computer Science The University of Chicago Laboratory Schools Jonathan Adams wrote: > > >> The sunnYmidie interface looks a LOT more complicated than the interface of shakobox (which uses PlayCommand Agent X). I'm basically looking for something that will mimic the old Hypercard "play" command, which wanted an instrument, a tempo, and a note or list of notes. Unless I'm misreading the tutorial, sunnYmidi is way too complicated for my students. > > Hi Marty, > > I am finding sunnYmidi extremely easy to use. Of course, because it has so many options it is easy to miss it but: > > 1) On startup, turn it on with: SunnYmidi.Start user, key --user and key are provided when you purchase. > 2) when quiting, you should turn it off with: SunnYmidi.Stop > > 3) To play notes it is: SunnYmidi.Play channel, duration, volume, note --put 1 into channel unless you need multiple channels, duration is milliseconds, volume 1-128 and pitch (60 is middle C) > > 4) Finally, you can change the instrument assigned to any channel with SunnYmidi.Set channel, "instrument", id --id being standard GM voices (1 is piano, 74 is flute, etc.) > > Lots of other commands that you could use if you want but probably aren't necessary for what you want to do. You might however want to look at the command that emulates the hypercard player: sunnYmidi.HCplay channel, volume, "c3w d3h e3q f3e" --although I haven't actually tried this command. > > Hope that helps, > > Jon > > From pmbrig at gmail.com Fri Oct 12 09:22:08 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 12 Oct 2012 09:22:08 -0400 Subject: Help! PlayCommand Agent X In-Reply-To: <54D234CC-3EC7-4EEC-BE6B-7D921F088960@ucls.uchicago.edu> References: <54D234CC-3EC7-4EEC-BE6B-7D921F088960@ucls.uchicago.edu> Message-ID: <43BC56EC-1466-4C48-9682-D9B6533B22F3@gmail.com> Instead of delving into PlayCommand Agent X (whatever that is, and my ignorance may make this comment useless), could you not just write your own simpler custom play command in LC, to mirror what you get from shakobox, something along the lines of: local tChannel, tVolume, tNote, tInstrument, tID, tTempo on mbPlay tInstrument, tTempo, tNotes -- handle default assignments here -- get duration from the tTempo variable repeat for each item tNote in tNotes SunnYmidi.Play tChannel, tDuration, tVolume, tNote end repeat end mbPlay Probably too crude, but you get the idea. Am I out in left field thinking I'm playing soccer? I usually look for an LC-native way of doing things. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Oct 12, 2012, at 9:06 AM, Marty Billingsley wrote: > Thanks Jon, I had looked at the tutorial. I personally find the interface easy enough to use, but not suited to my curriculum, which is aimed at 13-year-old beginning programmers. The curriculum progression that we go through really wants some of the shakobox functionality, such as setting the instrument at the same time as playing the note. It also depends on the fact that shakobox puts in default note durations and octaves, so we can start very simply and add the complexity as students move through the project. Students can start with a command that has only one "mystery number" -- "sbPlay 'harpsichord', 100, c' -- and go from there. Too many mystery numbers in SunnYmidi.Play. > > sunnYmidi is great (and really flexible), but not useful in the teaching environment I need it for. > > Thanks for all the replies. Jacque pointed me to the source code -- thanks, Jacque -- so perhaps I can update PlayCommand Agent X. If so, I'll let y'all know. > > cheers, > - marty > > -- > Marty Billingsley > Department of Computer Science > The University of Chicago Laboratory Schools > > Jonathan Adams wrote: > >> >> >>> The sunnYmidie interface looks a LOT more complicated than the interface of shakobox (which uses PlayCommand Agent X). I'm basically looking for something that will mimic the old Hypercard "play" command, which wanted an instrument, a tempo, and a note or list of notes. Unless I'm misreading the tutorial, sunnYmidi is way too complicated for my students. >> >> Hi Marty, >> >> I am finding sunnYmidi extremely easy to use. Of course, because it has so many options it is easy to miss it but: >> >> 1) On startup, turn it on with: SunnYmidi.Start user, key --user and key are provided when you purchase. >> 2) when quiting, you should turn it off with: SunnYmidi.Stop >> >> 3) To play notes it is: SunnYmidi.Play channel, duration, volume, note --put 1 into channel unless you need multiple channels, duration is milliseconds, volume 1-128 and pitch (60 is middle C) >> >> 4) Finally, you can change the instrument assigned to any channel with SunnYmidi.Set channel, "instrument", id --id being standard GM voices (1 is piano, 74 is flute, etc.) >> >> Lots of other commands that you could use if you want but probably aren't necessary for what you want to do. You might however want to look at the command that emulates the hypercard player: sunnYmidi.HCplay channel, volume, "c3w d3h e3q f3e" --although I haven't actually tried this command. >> >> Hope that helps, >> >> Jon >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Fri Oct 12 09:36:30 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 12 Oct 2012 09:36:30 -0400 (EDT) Subject: defaultcursor problem In-Reply-To: <21F92D23-B982-432D-B688-654864B4915D@gmail.com> References: <21F92D23-B982-432D-B688-654864B4915D@gmail.com> Message-ID: <8CF7695B8CD61AF-1CD0-37DC4@webmail-d037.sysops.aol.com> Hi. Try this with "the cursor" instead of "the defaultCursor". Craig Newman -----Original Message----- From: Peter M. Brigham To: How to use LiveCode Sent: Fri, Oct 12, 2012 9:07 am Subject: defaultcursor problem Anyone have an idea why this doesn't work? Put the following into the script of an unlocked field: on mousemove put the commandkey is down into cmK if cmK then set the defaultcursor to hand else set the defaultcursor to empty end if end mousemove I want the cursor to become "hand" with the commandkey down, but it simply remains a bar over an unlocked field. I swear this used to work, but for some reason it no longer does. 2008 MacBook, OSX 10.7.4 (Lion), Rev Studio 4.5.3, build 1210 -- 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 admin at FlexibleLearning.com Fri Oct 12 10:09:20 2012 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Fri, 12 Oct 2012 15:09:20 +0100 Subject: Another reason I so dislike the LC IDE In-Reply-To: Message-ID: When I close a stack, the LC IDE insists on asking if I want to save it even when unnecessary (auto-save is built in). I have tried these to no avail... on closeStack lock messages on suspendStack lock messages on closeStackRequest lock messages Anything else? The culprit looks like an IDE backscript, but darned if I can find it and I cannot trace into it. Any pointers to how to stop this damn dialog would be most welcome! (As an asside, the MC IDE simply closes. No fuss, no intrusion.) Hugh Senior FLCo From pmbrig at gmail.com Fri Oct 12 10:17:00 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 12 Oct 2012 10:17:00 -0400 Subject: defaultcursor problem In-Reply-To: <8CF7695B8CD61AF-1CD0-37DC4@webmail-d037.sysops.aol.com> References: <21F92D23-B982-432D-B688-654864B4915D@gmail.com> <8CF7695B8CD61AF-1CD0-37DC4@webmail-d037.sysops.aol.com> Message-ID: That never works. Setting "the cursor" will only be very fleeting, as the cursor will revert to the defaultcursor at the next idle message, and it happens so fast you never even see a flicker You can set "the cursor" then lock the cursor, then unlock it in a mouseleave handler, and that will work, but I learned a long time ago that this leads to persistent locked cursors, since LC seems at times not to send "mouseleave" messages, eg when a modal dialog is invoked, and randomly otherwise too. I can set the defaultcursor successfully in other circumstances, eg, in a mousemove handler over a button, to change it to "hand" to indicate to the user that what's called for is a click on the button. I want to do the same thing over an unlocked field when the commandkey is down, to indicate to the user that a click is called for. I used to be able to do this, but now it doesn't work any more. ???? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Oct 12, 2012, at 9:36 AM, dunbarx at aol.com wrote: > Hi. > > > Try this with "the cursor" instead of "the defaultCursor". > > > Craig Newman > > > > -----Original Message----- > From: Peter M. Brigham > To: How to use LiveCode > Sent: Fri, Oct 12, 2012 9:07 am > Subject: defaultcursor problem > > > Anyone have an idea why this doesn't work? Put the following into the script of > an unlocked field: > > on mousemove > put the commandkey is down into cmK > if cmK then > set the defaultcursor to hand > else > set the defaultcursor to empty > end if > end mousemove > > I want the cursor to become "hand" with the commandkey down, but it simply > remains a bar over an unlocked field. I swear this used to work, but for some > reason it no longer does. 2008 MacBook, OSX 10.7.4 (Lion), Rev Studio 4.5.3, > build 1210 > > -- 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 andre.bisseret at wanadoo.fr Fri Oct 12 10:58:07 2012 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Fri, 12 Oct 2012 16:58:07 +0200 Subject: defaultcursor problem In-Reply-To: References: <21F92D23-B982-432D-B688-654864B4915D@gmail.com> <8CF7695B8CD61AF-1CD0-37DC4@webmail-d037.sysops.aol.com> Message-ID: Bonjour Peter, Below is the handlers that I am using in my stacks (thanks to ?ric Chatonet) I just added the case 2 (corresponding to your need) Here (MacBook Pro 10.0.8 ; Rev 5.0.2) case 2 seems to work, as you are expecting. Best regards from Grenoble Andr? --------From ?ric Chatonet on mouseMove switch case "button" is in the target ShowHandCursor # break ---==== case "field" is in the target and the lockText of the target is true\ and the listBehavior of the target is true ShowHandCursor break case "field" is in the target and the lockText of the target is false if the commandKey is down then ShowHandCursor end if break case the mouseText is "#" and the imageSource of the mouseText is not empty ShowHandCursor break ---==== case the mouseText = empty --important! unlock cursor break case "link" is in the textStyle of the mouseChunk ShowHandCursor # break default ResetCursor # end switch end mouseMove ------------------------------ on mouseLeave ResetCursor # end mouseLeave ------------------------------ on ShowHandCursor set the cursor to hand lock cursor end ShowHandCursor ------------------------------ on ResetCursor unlock cursor end ResetCursor ----------------------------------------------------------------- Le 12 oct. 2012 ? 16:17, Peter M. Brigham a ?crit : > That never works. Setting "the cursor" will only be very fleeting, as the cursor will revert to the defaultcursor at the next idle message, and it happens so fast you never even see a flicker You can set "the cursor" then lock the cursor, then unlock it in a mouseleave handler, and that will work, but I learned a long time ago that this leads to persistent locked cursors, since LC seems at times not to send "mouseleave" messages, eg when a modal dialog is invoked, and randomly otherwise too. > > I can set the defaultcursor successfully in other circumstances, eg, in a mousemove handler over a button, to change it to "hand" to indicate to the user that what's called for is a click on the button. I want to do the same thing over an unlocked field when the commandkey is down, to indicate to the user that a click is called for. I used to be able to do this, but now it doesn't work any more. ???? > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > On Oct 12, 2012, at 9:36 AM, dunbarx at aol.com wrote: > >> Hi. >> >> >> Try this with "the cursor" instead of "the defaultCursor". >> >> >> Craig Newman >> >> >> >> -----Original Message----- >> From: Peter M. Brigham >> To: How to use LiveCode >> Sent: Fri, Oct 12, 2012 9:07 am >> Subject: defaultcursor problem >> >> >> Anyone have an idea why this doesn't work? Put the following into the script of >> an unlocked field: >> >> on mousemove >> put the commandkey is down into cmK >> if cmK then >> set the defaultcursor to hand >> else >> set the defaultcursor to empty >> end if >> end mousemove >> >> I want the cursor to become "hand" with the commandkey down, but it simply >> remains a bar over an unlocked field. I swear this used to work, but for some >> reason it no longer does. 2008 MacBook, OSX 10.7.4 (Lion), Rev Studio 4.5.3, >> build 1210 >> >> -- 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 th.douez at gmail.com Fri Oct 12 11:35:51 2012 From: th.douez at gmail.com (Thierry Douez) Date: Fri, 12 Oct 2012 17:35:51 +0200 Subject: Help! PlayCommand Agent X In-Reply-To: <54D234CC-3EC7-4EEC-BE6B-7D921F088960@ucls.uchicago.edu> References: <54D234CC-3EC7-4EEC-BE6B-7D921F088960@ucls.uchicago.edu> Message-ID: Hi Marty, 2012/10/12 Marty Billingsley : > Thanks Jon, I had looked at the tutorial. I personally find the interface easy enough to use, but not suited to my curriculum, which is aimed at 13-year-old beginning programmers. The curriculum progression that we go through really wants some of the shakobox functionality, such as setting the instrument at the same time as playing the note. It also depends on the fact that shakobox puts in default note durations and octaves, so we can start very simply and add the complexity as students move through the project. Write a LC handler which hides this to your student, > Students can start with a command that has only one "mystery number" -- "sbPlay 'harpsichord', 100, c' -- and go from there. Have you read my last email (yesterday) ? 3 minutes to emulate PlayCommand agent X on (Mountain) Lion You could see that few lines of LC code do that: sbPlay, 'harpishord', 100, c I did copy from Shakobox doc a full tune, paste it in LC and play it! If you don't like the Midi notation, simply transform your pitch name in a LC handler. LiveCode is for that. > Too many mystery numbers in SunnYmidi.Play. Mistery ? channel, velocity, note ? Again, as a Livecode user you certainly know that you can write any command/fucntion you like, set default values to whatever variable ? If you want I can write a handler so your students can just type: myHarpishord 'high', 'C' which is even less myterious than the sbPlay ... above. > sunnYmidi is great (and really flexible), > but not useful in the teaching environment I need it for. Actually, 80% of sunnYmidi users are musician teachers and as far as I know, they enjoy it and the kids too. > > Thanks for all the replies. Jacque pointed me to the source code > -- thanks, Jacque -- so perhaps I can update PlayCommand Agent X. If so, I'll let y'all know. I had this code 2 years ago before developping sunnYmidi. (Jacque sent it to me) I choose to put it aside and to start from scratch. I will be very interested to know how much time you spend on this road, instead of writing your own wrapper in LC on the top of an existing external. Anyway, good luck with your project. Regards, Thierry > Jonathan Adams wrote: > >> Hi Marty, >> >> I am finding sunnYmidi extremely easy to use. Of course, because it has so many options it is easy to miss it but: >> >> 1) On startup, turn it on with: SunnYmidi.Start user, key --user and key are provided when you purchase. >> 2) when quiting, you should turn it off with: SunnYmidi.Stop >> >> 3) To play notes it is: SunnYmidi.Play channel, duration, volume, note --put 1 into channel unless you need multiple channels, duration is milliseconds, volume 1-128 and pitch (60 is middle C) >> >> 4) Finally, you can change the instrument assigned to any channel with SunnYmidi.Set channel, "instrument", id --id being standard GM voices (1 is piano, 74 is flute, etc.) >> >> Lots of other commands that you could use if you want but probably aren't necessary for what you want to do. You might however want to look at the command that emulates the hypercard player: sunnYmidi.HCplay channel, volume, "c3w d3h e3q f3e" --although I haven't actually tried this command. >> >> Hope that helps, >> >> Jon From th.douez at gmail.com Fri Oct 12 11:41:40 2012 From: th.douez at gmail.com (Thierry Douez) Date: Fri, 12 Oct 2012 17:41:40 +0200 Subject: Help! PlayCommand Agent X In-Reply-To: <43BC56EC-1466-4C48-9682-D9B6533B22F3@gmail.com> References: <54D234CC-3EC7-4EEC-BE6B-7D921F088960@ucls.uchicago.edu> <43BC56EC-1466-4C48-9682-D9B6533B22F3@gmail.com> Message-ID: 2012/10/12 Peter M. Brigham : > Instead of delving into PlayCommand Agent X (whatever that is, and my ignorance may make this comment useless), could you not just write your own simpler custom play command in LC, to mirror what you get from shakobox, something along the lines of: > > local tChannel, tVolume, tNote, tInstrument, tID, tTempo > > on mbPlay tInstrument, tTempo, tNotes > -- handle default assignments here > -- get duration from the tTempo variable > repeat for each item tNote in tNotes > SunnYmidi.Play tChannel, tDuration, tVolume, tNote > end repeat > end mbPlay > > Probably too crude, but you get the idea. Am I out in left field thinking I'm playing soccer? > I usually look for an LC-native way of doing things. Yes Peter, you are right. Here is the code I posted yesterday on my 3 minutes to emulate Agent X, which just do what you are saying: on SBplay instrument, _tempo, notestring sunnYmidi.Set 1, "instrument", instrumentID( instrument) sunnymidi.HCplay 1, _tempo, notestring end SBplay on SBstartNote instrument, pitch, velocity sunnYmidi.Set 1, "instrument", instrumentID( instrument) sunnYmidi.Play, 1, -1, velocity, pitch end SBstartNote on SBstopNote instrument,pitch sunnYmidi.Set 1, "instrument", instrumentID( instrument) sunnYmidi.Play, 1, 0, 0, pitch end SBstopNote private function instrumentID instrument -- assuming the ID is correct if instrument is a number then return instrument -- custom prop containing on each line: IDinstrument,InstrumentName get the GM_Instruments of this stack filter IT with "*," & instrument if IT is empty then return 1 -- piano return item 1 of IT -- the ID end instrumentID With the proof: ( copy-paste this script from Shakobox documentation) on mouseup -- "Nic's Russian Tune (Katyushka)" from "Knit Your Own Yoghurt" put "e4q. f#4e g4q. e4e gq f#e ee f#q b3q f#q. ge aq. f#e aq ge f#eeq rq " & \ "b4q e5q d5q e5e d5e c5q b4e a4e b4q e4q c5q. a4e b4q. g4e a4q g4ef# 4e e4h " & \ "g4q. a4e b4q. g4e b4q a4e g4e f#4q a4q a4q. b4e c5q. b4e c5q b4e a4e g4q rq " & \ "e5q g5q b4q b4e d5e e5q d5e c5e e5q b4q e5q. c5e e4q. b4e d#5q e5e f#5e e5h" \ into theSong sbplay 24,125,theSong end mouseup Thierry From bobs at twft.com Fri Oct 12 12:00:17 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 12 Oct 2012 09:00:17 -0700 Subject: [OT] Where ill conceived copyright laws can lead In-Reply-To: <50779383.2040904@gmail.com> References: <384E791B-4491-45DA-99DE-734CD1611908@twft.com> <98CB7571-A351-4928-9E0C-E59ACF08B381@twft.com> <005f01cda7e6$8fc54800$af4fd800$@net> <50772073.4090509@gmail.com> <5E3738B0-17B7-451A-B06C-4180037C512D@twft.com> <50779383.2040904@gmail.com> Message-ID: Don't forget the thousand concubines. I can only say he was warned not to do that. But it was I think mostly a way to secure peace with the surrounding tribes and peoples. Back then marrying another potentates daughter was a kind of peace treaty. And by the way, they kept really, really good records on that sort of thing, him being king and all. Bob On Oct 11, 2012, at 8:50 PM, Richmond wrote: > It's funny really, when he supposedly have hundreds of wives, how hard it is to track down anybody > who can actually, honestly say they are descended from him . . . LOL. From bobs at twft.com Fri Oct 12 12:09:31 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 12 Oct 2012 09:09:31 -0700 Subject: [OT] Where ill conceived copyright laws can lead In-Reply-To: References: <384E791B-4491-45DA-99DE-734CD1611908@twft.com> <98CB7571-A351-4928-9E0C-E59ACF08B381@twft.com> <005f01cda7e6$8fc54800$af4fd800$@net> <50772073.4090509@gmail.com> <5E3738B0-17B7-451A-B06C-4180037C512D@twft.com> <50779383.2040904@gmail.com> Message-ID: It's my understanding that the foundation of copyright is that the moment you author or create something, assuming you are the first one, your rights are in effect. Everything else is to quantify and execute that protection. It has been said that there are only 15 or so unique story lines. Apparently it's not the story lines that are protected, but rather the way in which the story is told. I suppose you could say the same thing about software. Word Processing is not copyrighted, but the method of delivering it is. Simply changing the names of everything in a story is not sufficient to distinguish it from the original. The new story must be uniquely different. So also with software. Changing all the variables and references to them is not enough to establish a new work. What they look for is methodology in coding. That this is somewhat of a grey area is not due to flaws in the principle of Copyrights, but rather the seemingly inexhaustible means by which men are capable of covering their tracks. Also, a copyright does not last in perpetuity. There is a time limit beyond which if it is not renewed, it will become nullified. So although the thread has been entertaining, it's rather baseless. Bob On Oct 11, 2012, at 10:50 PM, Peter Haworth wrote: > That's not copyright, that's patent, different thing although just as weird! > > One problem with copyright laws is that, as with a lot of laws, they are > different in every country. > > Pete > lcSQL Software > > > > On Thu, Oct 11, 2012 at 8:50 PM, Richmond wrote: > >> The recent spat over whether one of the major mobile devices has nicked >> parts of their GUI from >> another is an example of how copyright is not used to protect but to bully. >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Fri Oct 12 12:15:14 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 12 Oct 2012 09:15:14 -0700 Subject: Strict Compile Mode In-Reply-To: <5077BA95.6020000@braguglia.ch> References: <89231079187.20121011102844@ahsoftware.net> <5077BA95.6020000@braguglia.ch> Message-ID: <1E688922-EAC9-4710-AD3F-A3B9072434B8@twft.com> Right. I have said before, I think there should be a stack or application global so that an application and it's substacks have access to it, but not foreign stacks. This is where things can go catawonkers if you are running two database enabled apps. It is recommended by RunRev to store your database id in a global. If I am in the habit of using the same variable name in all my database enabled stacks (which indeed I am), I will get into trouble, at least running them in the IDE. (Of course, because I use the method of opening the connection when I need it and closing it when I am done or idling, I don't have a problem.) The solution at present is to store the database ID in a stack property. Sure, I guess that will work. But it deviates from the recommended methodology is all I am saying. Bob On Oct 11, 2012, at 11:37 PM, Guglielmo Braguglia wrote: > Hi Pete, > > if you declare a variable "global",the variable IS GLOBAL FOR ANY STACK and is "*persistent*". This means that the variable and its value exist regardless of the stack that created. If you liketo see do just a simple test ... From bobs at twft.com Fri Oct 12 12:29:21 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 12 Oct 2012 09:29:21 -0700 Subject: Another reason I so dislike the LC IDE In-Reply-To: References: Message-ID: <791BB8AA-AD06-4F7C-9953-128C4C58E521@twft.com> Try on closeStack;save this stack;pass closeStack;end closeStack maybe try closeStackRequest Bob On Oct 12, 2012, at 7:09 AM, FlexibleLearning.com wrote: > When I close a stack, the LC IDE insists on asking if I want to save it even > when unnecessary (auto-save is built in). > > I have tried these to no avail... > > on closeStack > lock messages > > on suspendStack > lock messages > > on closeStackRequest > lock messages > > Anything else? The culprit looks like an IDE backscript, but darned if I can > find it and I cannot trace into it. > > Any pointers to how to stop this damn dialog would be most welcome! > > (As an asside, the MC IDE simply closes. No fuss, no intrusion.) > > Hugh Senior > FLCo > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Fri Oct 12 12:29:16 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 12 Oct 2012 09:29:16 -0700 Subject: Strict Compile Mode In-Reply-To: <5077BA95.6020000@braguglia.ch> References: <89231079187.20121011102844@ahsoftware.net> <5077BA95.6020000@braguglia.ch> Message-ID: On Thu, Oct 11, 2012 at 11:37 PM, Guglielmo Braguglia < guglielmo at braguglia.ch> wrote: > Hi Pete, > > if you declare a variable "global",the variable IS GLOBAL FOR ANY STACK > and is "*persistent*". This means that the variable and its value exist > regardless of the stack that created. If you liketo see do just a simple > test ... > Wow, so a global declared in one stack can be accessed by a completely different stack, even if the declaring stack is not in memory. That seems like a recipe for potential disaster, especially if you are writing plugins that are used by customers to access their own stacks. > ... create a stack and create different scripts (e.g. some scriptfor some > buttons). On the different scripts define "local" variable on the TOP of > the script, before handlers. Assigns them a value. Now, if you insert some > breakpoints (on the different scripts) you will see, still looking into the > "Variables" TAB, that, when the script stop because reach the breakpoint > (so the script is the current script), you will find the local variable of > the script with the correct value. > I use script local variables a lot and often instead of global variables. A script local variable plus a set of handlers to read and write from it seems a lot easier to deal with than global definitions in every script that needs them, especially now I know about the cross-stack global availability issue mentioned above. I've also taken to using script local variables/access handlers instead of using custom properties in locked stacks so users can't change the values of critical information by simply bringing up the Inspector window. I still find it odd that password protecting a stack prevents access to its scripts but not its custom properties; there at least ought to be an option to apply password protection to custom properties. > > Please note that, also if this rules remain valid, the behavior of > LiveCode is different if your "Strict Compile Mode" is ON or OFF !!! ... > and this creates more confusion !!! > > With "Strict Compile Mode" ON ... you are obliged to declare the variable > and LiveCode verify the "collisions" and give you error if one local have > the same name of a global, BUT, if "Strict Compile Mode" is OFF, LiveCode > don't verify the "collisions" and the same variable can be a local or a > global depending on whether you declare it "global" or not :o ... and this > is really ridiculous !!! > That's the crux of the question I posted in response to Mark's post. The whole implementation of globals in LC is really strange. Especially since it appears that LC "knows" about a global as soon as it is declared - why then force people to re-declare them in every script that addresses them. I rarely use globals now but "rarely use" will change to "never" pretty quickly! > > Hope this clarify the situation ... :-) > Yes, thanks Guglielmo. > > Guglielmo > From bobs at twft.com Fri Oct 12 12:31:55 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 12 Oct 2012 09:31:55 -0700 Subject: defaultcursor problem In-Reply-To: <21F92D23-B982-432D-B688-654864B4915D@gmail.com> References: <21F92D23-B982-432D-B688-654864B4915D@gmail.com> Message-ID: Lock the cursor first. If you don't, it will revert the first idle it gets. As someone mentioned use the cursor. Locking it will prevent the reversion you are seeing. (It actually is changing but so fast you can't see it.) Bob On Oct 12, 2012, at 6:06 AM, Peter M. Brigham wrote: > Anyone have an idea why this doesn't work? Put the following into the script of an unlocked field: > > on mousemove > put the commandkey is down into cmK > if cmK then > set the defaultcursor to hand > else > set the defaultcursor to empty > end if > end mousemove > > I want the cursor to become "hand" with the commandkey down, but it simply remains a bar over an unlocked field. I swear this used to work, but for some reason it no longer does. 2008 MacBook, OSX 10.7.4 (Lion), Rev Studio 4.5.3, build 1210 > > -- 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 bobs at twft.com Fri Oct 12 12:35:25 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 12 Oct 2012 09:35:25 -0700 Subject: Strict Compile Mode In-Reply-To: References: <89231079187.20121011102844@ahsoftware.net> <5077BA95.6020000@braguglia.ch> Message-ID: <518AA848-8C7F-4473-93A5-0E57C0D17351@twft.com> Read my other post on this. If you want it to be visible only to your stack, store it in a property, then write a function called getGlobal() (or something like) and pass it a local variable name as a reference. Have the function retrieve the global in the referenced variable. You will also have to have a setGlobal() function (or something like). Bob On Oct 12, 2012, at 9:29 AM, Peter Haworth wrote: >> Hi Pete, >> >> if you declare a variable "global",the variable IS GLOBAL FOR ANY STACK >> and is "*persistent*". This means that the variable and its value exist >> regardless of the stack that created. If you liketo see do just a simple >> test ... >> > > Wow, so a global declared in one stack can be accessed by a completely > different stack, even if the declaring stack is not in memory. That seems > like a recipe for potential disaster, especially if you are writing plugins > that are used by customers to access their own stacks. From rene.micout at numericable.com Fri Oct 12 12:39:44 2012 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Fri, 12 Oct 2012 18:39:44 +0200 Subject: Help! PlayCommand Agent X In-Reply-To: References: <54D234CC-3EC7-4EEC-BE6B-7D921F088960@ucls.uchicago.edu> <43BC56EC-1466-4C48-9682-D9B6533B22F3@gmail.com> Message-ID: <85947EB4-8B4E-4108-9830-A2F347C371BE@numericable.com> Thierry, J'ai lu tous les derniers mails sur le sujet... Que de courage ! ;-) Ren? Le 12 oct. 2012 ? 17:41, Thierry Douez a ?crit : > 2012/10/12 Peter M. Brigham : >> Instead of delving into PlayCommand Agent X (whatever that is, and my ignorance may make this comment useless), could you not just write your own simpler custom play command in LC, to mirror what you get from shakobox, something along the lines of: >> >> local tChannel, tVolume, tNote, tInstrument, tID, tTempo >> >> on mbPlay tInstrument, tTempo, tNotes >> -- handle default assignments here >> -- get duration from the tTempo variable >> repeat for each item tNote in tNotes >> SunnYmidi.Play tChannel, tDuration, tVolume, tNote >> end repeat >> end mbPlay >> >> Probably too crude, but you get the idea. Am I out in left field thinking I'm playing soccer? >> I usually look for an LC-native way of doing things. > > Yes Peter, you are right. > > Here is the code I posted yesterday on my 3 minutes to emulate Agent X, > which just do what you are saying: > > on SBplay instrument, _tempo, notestring > sunnYmidi.Set 1, "instrument", instrumentID( instrument) > sunnymidi.HCplay 1, _tempo, notestring > end SBplay > > on SBstartNote instrument, pitch, velocity > sunnYmidi.Set 1, "instrument", instrumentID( instrument) > sunnYmidi.Play, 1, -1, velocity, pitch > end SBstartNote > > on SBstopNote instrument,pitch > sunnYmidi.Set 1, "instrument", instrumentID( instrument) > sunnYmidi.Play, 1, 0, 0, pitch > end SBstopNote > > private function instrumentID instrument > -- assuming the ID is correct > if instrument is a number then return instrument > -- custom prop containing on each line: IDinstrument,InstrumentName > get the GM_Instruments of this stack > filter IT with "*," & instrument > if IT is empty then return 1 -- piano > return item 1 of IT -- the ID > end instrumentID > > With the proof: ( copy-paste this script from Shakobox documentation) > > on mouseup > -- "Nic's Russian Tune (Katyushka)" from "Knit Your Own Yoghurt" > put "e4q. f#4e g4q. e4e gq f#e ee f#q b3q f#q. ge aq. f#e aq ge f#eeq rq " & \ > "b4q e5q d5q e5e d5e c5q b4e a4e b4q e4q c5q. a4e b4q. g4e a4q > g4ef# 4e e4h " & \ > "g4q. a4e b4q. g4e b4q a4e g4e f#4q a4q a4q. b4e c5q. b4e c5q b4e > a4e g4q rq " & \ > "e5q g5q b4q b4e d5e e5q d5e c5e e5q b4q e5q. c5e e4q. b4e d#5q > e5e f#5e e5h" \ > into theSong > sbplay 24,125,theSong > end mouseup > > > Thierry > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From benr_mc at cogapp.com Fri Oct 12 13:15:12 2012 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 12 Oct 2012 18:15:12 +0100 Subject: Strict Compile Mode In-Reply-To: References: <50771155.8060201@braguglia.ch> Message-ID: <50785020.2070201@cogapp.com> On 11/10/2012 22:21, Peter Haworth wrote: > Thanks for the idea - it worked for me too! Don;t worry, I won;t ask why - > I've given up trying to figure out why LC does some things :-) > > On Thu, Oct 11, 2012 at 11:35 AM, Guglielmo Braguglia wrote: >> this happen very often also to me ... >> >> ... I don't know, but ... if you are debugging your code >> stepping-by-stepping and you stop the execution, some time LiveCode create >> this problem. >> >> The only solution is to save the stack, close LiveCode (/is not sufficient >> to close the stack/) and restart ... your stack is ok, your code also and >> if you compile ... NO ERRORS! With all the people pointing out that this issue could arise legitimately by use of globals, I was hesitant to stick my head up - but I also think that there is an actual bug that can arise, almost certainly linked to use of debugger, where LC gets it into its head that there are two uses of a declared local though there aren't - a problem that can only be fixed, as Guglielmo and Pete confirm, by quitting and restarting LiveCode. Unfortunately by it's nature I don't think there can be a recipe bug - so how can we report this in the RQCC? Ben From mwieder at ahsoftware.net Fri Oct 12 13:32:51 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 12 Oct 2012 17:32:51 +0000 (UTC) Subject: Strict Compile Mode References: <89231079187.20121011102844@ahsoftware.net> <5077BA95.6020000@braguglia.ch> Message-ID: Peter Haworth writes: > That seems like a recipe for potential disaster, Global variables are always recipes for potential disasters. I almost never find a need to use a global variable, although as I mentioned, Chipp managed to look at the pile of horse turds and find a pony. -- Mark Wieder mwieder at ahsoftware.net From sarawakdave at rogers.com Fri Oct 12 13:55:31 2012 From: sarawakdave at rogers.com (Dave McKee) Date: Fri, 12 Oct 2012 13:55:31 -0400 Subject: iOS Simulator Message-ID: <7C8D4C5B-CFCE-4D6E-B073-1D27EF58A9AB@rogers.com> running mac osx lion 10.8.2 using LC v5.5.3 RC2 have selected target as being; iPhone simulator 5.1 have app that was working ok in simulator but as of moving from 5.5.2 to 5.5.3 rc2, have run into a strange bug (?). test build the app, app opens in iOS simulator, when I quit app and then hold down icon, to delete it, jiggle icon appears with (X) but if I; 1. hit home, then ok 2. hit (X), then app is not deleted and hitting home button is unresponsive a. quit IOS simulator b. restart iOS simulator, the test app is still there Also; I see exactly the same symptoms 1 to 2b if I launch Xcode and then iOS Simulator what form of Apple hell have I fallen into ? is there anyone who knows how to clear out the test app in the iOS Simulator now that it has a death grip on it ? From bobs at twft.com Fri Oct 12 14:07:10 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 12 Oct 2012 11:07:10 -0700 Subject: Strict Compile Mode In-Reply-To: References: <89231079187.20121011102844@ahsoftware.net> <5077BA95.6020000@braguglia.ch> Message-ID: <74E23926-1E29-4E28-BA66-8A155156086C@twft.com> I think globals make sense in a standalone. It seems to be the IDE that people have problems with them. Bob On Oct 12, 2012, at 10:32 AM, Mark Wieder wrote: > Peter Haworth writes: > >> That seems like a recipe for potential disaster, > > Global variables are always recipes for potential disasters. > I almost never find a need to use a global variable, although as I mentioned, > Chipp managed to look at the pile of horse turds and find a pony. > > -- > Mark Wieder From richmondmathewson at gmail.com Fri Oct 12 14:12:11 2012 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 12 Oct 2012 21:12:11 +0300 Subject: Another reason I so dislike the LC IDE In-Reply-To: References: Message-ID: <50785D7B.4040900@gmail.com> On 10/12/2012 05:09 PM, FlexibleLearning.com wrote: > When I close a stack, the LC IDE insists on asking if I want to save it even > when unnecessary (auto-save is built in). I'm not sure about that; Livecode is NOT Hypercard (lest we forget). > > I have tried these to no avail... > > on closeStack > lock messages > > on suspendStack > lock messages > > on closeStackRequest > lock messages > > Anything else? The culprit looks like an IDE backscript, but darned if I can > find it and I cannot trace into it. > > Any pointers to how to stop this damn dialog would be most welcome! > > (As an asside, the MC IDE simply closes. No fuss, no intrusion.) > > Hugh Senior > FLCo > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Fri Oct 12 14:15:01 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 12 Oct 2012 18:15:01 +0000 (UTC) Subject: Strict Compile Mode References: <89231079187.20121011102844@ahsoftware.net> <5077BA95.6020000@braguglia.ch> <74E23926-1E29-4E28-BA66-8A155156086C@twft.com> Message-ID: Bob Sneidar writes: > I think globals make sense in a standalone. OK - that could make sense, but you'd still have to develop them in the IDE. > It seems to be the IDE that people have problems with them. Er... I don't think it's "people" that have problems with global vars. -- Mark Wieder mwieder at ahsoftware.net From stephenREVOLUTION2 at barncard.com Fri Oct 12 14:27:22 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 12 Oct 2012 11:27:22 -0700 Subject: Strict Compile Mode In-Reply-To: References: <89231079187.20121011102844@ahsoftware.net> <5077BA95.6020000@braguglia.ch> <74E23926-1E29-4E28-BA66-8A155156086C@twft.com> Message-ID: this problem could be solved by using a single global ARRAY with the key being the stack name. On Fri, Oct 12, 2012 at 11:15 AM, Mark Wieder wrote: > Bob Sneidar writes: > > > I think globals make sense in a standalone. > > OK - that could make sense, but you'd still have to develop them in the > IDE. > > > It seems to be the IDE that people have problems with them. > > Er... I don't think it's "people" that have problems with global vars. > > -- > Mark Wieder > mwieder at ahsoftware.net > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From pete at lcsql.com Fri Oct 12 14:30:39 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 12 Oct 2012 11:30:39 -0700 Subject: Strict Compile Mode In-Reply-To: References: <89231079187.20121011102844@ahsoftware.net> <5077BA95.6020000@braguglia.ch> Message-ID: I've just removed the one global variable I had in lcStackBrowser and I'm sure the visual nature of your analogy will remind me never to use them again :-) Pete lcSQL Software On Fri, Oct 12, 2012 at 10:32 AM, Mark Wieder wrote: > Global variables are always recipes for potential disasters. > I almost never find a need to use a global variable, although as I > mentioned, > Chipp managed to look at the pile of horse turds and find a pony. > From jacque at hyperactivesw.com Fri Oct 12 14:34:34 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 12 Oct 2012 13:34:34 -0500 Subject: Another reason I so dislike the LC IDE In-Reply-To: References: Message-ID: <507862BA.7080100@hyperactivesw.com> On 10/12/12 9:09 AM, FlexibleLearning.com wrote: > When I close a stack, the LC IDE insists on asking if I want to save it even > when unnecessary (auto-save is built in). > > I have tried these to no avail... > > on closeStack > lock messages > > on suspendStack > lock messages > > on closeStackRequest > lock messages > > Anything else? The culprit looks like an IDE backscript, but darned if I can > find it and I cannot trace into it. That's the one thing that bugs me the most too. Here's the fix: put "" into gREVStackStatus[the short name of this stack] The problem is that it will get reset quite a lot, and you can't trap it on closestack because the IDE gets the closestack message first. I don't try to fix it very often because you have to manage it everywhere, but I have a couple of stacks where LiveCode's dirty flag only occurs on closefield, and so I insert it into a closefield handler to clear things out. Since I do open stacks in both LC and MC, I wrote this handler: on clearRevGlobal if there is no stack "mctools" then global gREVStackStatus put "" into gREVStackStatus[the short name of this stack] end if end clearRevGlobal Then I just call that repeatedly as needed. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From admin at FlexibleLearning.com Fri Oct 12 15:08:22 2012 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Fri, 12 Oct 2012 20:08:22 +0100 Subject: [UPDATE] Free 'Clearview' desktop clock v1.5 In-Reply-To: Message-ID: If your copy of the DigitalClock is not being restored to the state you left it between sessions, you can get the new one that does... Download v1.5 at www.FlexibleLearning.com/freeclock Available for Windows, Macs and Linuxes - 100% free - 100% recycled electrons. Hugh Senior FLCo The home of: - ChartMaker www.FlexibleLearning.com/chartmaker - DatePicker www.FlexibleLearning.com/datepicker - The Scripter's Scrapbook www.FlexibleLearning.com/ssbk From cszasz at me.com Fri Oct 12 15:20:34 2012 From: cszasz at me.com (Charles Szasz) Date: Fri, 12 Oct 2012 15:20:34 -0400 Subject: Repeat script does not work Message-ID: <6E8768E8-E36F-4CF3-B612-7612BD60B701@me.com> The following script works for finding a checkbox that is checked and putting its custom property (uMyLabel) into the field "recommendations" on the marked card that it is on. However, it fails to put the uMyLabel of another checked checkbox that is on another marked card into the field "recommendations". What am I missing here! on mouseUp repeat with y = 1 to the number of cards if the mark of card y = true then put the number of buttons of card y into nbr end if end repeat repeat with n = 1 to nbr if the style of button n is "checkbox" and the hilite of button n is true then put the uMyLabel of button n into tName put tName & cr after theList end if end repeat delete char -1 of theList put theList into field "recommendations" end mouseUp Charles Szasz cszasz at mac.com From pete at lcsql.com Fri Oct 12 15:46:51 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 12 Oct 2012 12:46:51 -0700 Subject: Repeat script does not work In-Reply-To: <6E8768E8-E36F-4CF3-B612-7612BD60B701@me.com> References: <6E8768E8-E36F-4CF3-B612-7612BD60B701@me.com> Message-ID: I think you need to include the second repeat within the first repeat and also fully qualify the references to button n, maybe something like this: on mouseUp repeat with y = 1 to the number of cards of stack "xyz" if the mark of card y of stack "xyz"= true then put the number of buttons of card y of stack "xyz"into nbr repeat with n = 1 to nbr if the style of button n of card y of stack "xyz" is "checkbox" and the hilite of button n of card y of stack "xyz" is true then put the uMyLabel of button n of card y of stack "xyz" into tName put tName & cr after theList end if end repeat end if end repeat delete char -1 of theList put theList into field "recommendations" end mouseUp Pete lcSQL Software On Fri, Oct 12, 2012 at 12:20 PM, Charles Szasz wrote: > The following script works for finding a checkbox that is checked and > putting its custom property (uMyLabel) into the field "recommendations" on > the marked card that it is on. However, it fails to put the uMyLabel of > another checked checkbox that is on another marked card into the field > "recommendations". What am I missing here! > > on mouseUp > repeat with y = 1 to the number of cards > if the mark of card y = true then > put the number of buttons of card y into nbr > end if > end repeat > > repeat with n = 1 to nbr > if the style of button n is "checkbox" and the hilite of button n is > true then > put the uMyLabel of button n into tName > put tName & cr after theList > end if > end repeat > delete char -1 of theList > put theList into field "recommendations" > end mouseUp > > Charles Szasz > cszasz at mac.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mikekann at yahoo.com Fri Oct 12 15:53:00 2012 From: mikekann at yahoo.com (Michael Kann) Date: Fri, 12 Oct 2012 12:53:00 -0700 (PDT) Subject: Repeat script does not work In-Reply-To: <6E8768E8-E36F-4CF3-B612-7612BD60B701@me.com> Message-ID: <1350071580.53265.YahooMailClassic@web120502.mail.ne1.yahoo.com> Charles, Could it be this: on mouseUp repeat with y = 1 to the num of cards if the mark of card y = false then next repeat end if put the num of btns of card y into nbr repeat with n = 1 to nbr if the style of btn n is "checkbox" and the hilite of btn n is true then ???????? put the uMyLabel of btn n into tName ???????? put tName & cr after theList end if end repeat delete char -1 of theList end repeat put theList into fld "recommendations" end mouseUp Mike --- On Fri, 10/12/12, Charles Szasz wrote: From: Charles Szasz Subject: Repeat script does not work To: use-livecode at lists.runrev.com Date: Friday, October 12, 2012, 2:20 PM The following script works for finding a checkbox that is checked and putting its custom property (uMyLabel) into the field "recommendations" on the marked card that it is on. However, it fails to put the uMyLabel of another checked checkbox that is on another marked card into the field "recommendations".? What am I missing here! on mouseUp? ???repeat with y = 1 to the number of cards ? ? ? if the mark of card y = true then ? ? ? ???put the number of buttons of card y into nbr ? ? ? end if ???end repeat ??? ???repeat with n = 1 to nbr ? ? ? if the style of button n is "checkbox" and the hilite of button n is true then ? ? ? ???put the uMyLabel of button n into tName ? ? ? ???put tName & cr after theList ? ? ? end if ???end repeat ???delete char -1 of theList ???put theList into field "recommendations" end mouseUp Charles Szasz cszasz at mac.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From cszasz at me.com Fri Oct 12 16:00:16 2012 From: cszasz at me.com (Charles Szasz) Date: Fri, 12 Oct 2012 16:00:16 -0400 Subject: Repeat script does not work Message-ID: <376A1DB4-8914-4E62-8164-F0000E970DC1@me.com> Pete, I have thought of doing a repeat within a repeat but thought it would be simpler to keep them separate to avoid errors. But your script does work! As you indicated, the references to button n must be the problem. I am working on this script to use with a lot of marked cards. So, if it works for two marked cards in my sample stack, it should work for my other marked cards. Thanks very much! Charles Szasz cszasz at mac.com From cszasz at me.com Fri Oct 12 16:11:21 2012 From: cszasz at me.com (Charles Szasz) Date: Fri, 12 Oct 2012 16:11:21 -0400 Subject: Repeat script does not work Message-ID: Hi Mike, Thanks for your suggestion! I was trying out your script but I could not get it to work. I think the end repeat is misplaced. Charles Szasz cszasz at mac.com From mikekann at yahoo.com Fri Oct 12 16:22:05 2012 From: mikekann at yahoo.com (Michael Kann) Date: Fri, 12 Oct 2012 13:22:05 -0700 (PDT) Subject: Repeat script does not work In-Reply-To: <1350071580.53265.YahooMailClassic@web120502.mail.ne1.yahoo.com> Message-ID: <1350073325.65261.YahooMailClassic@web120502.mail.ne1.yahoo.com> Charles, You're right. The correct order of the last lines should probably be the following: I was being called to dinner and didn't check carefully enough. end repeat end repeat delete char -1 of theList put theList into fld "recommendations" end mouseUp --- On Fri, 10/12/12, Michael Kann wrote: From: Michael Kann Subject: Re: Repeat script does not work To: "How to use LiveCode" Date: Friday, October 12, 2012, 2:53 PM Charles, Could it be this: on mouseUp repeat with y = 1 to the num of cards if the mark of card y = false then next repeat end if put the num of btns of card y into nbr repeat with n = 1 to nbr if the style of btn n is "checkbox" and the hilite of btn n is true then ???????? put the uMyLabel of btn n into tName ???????? put tName & cr after theList end if end repeat delete char -1 of theList end repeat put theList into fld "recommendations" end mouseUp Mike --- On Fri, 10/12/12, Charles Szasz wrote: From: Charles Szasz Subject: Repeat script does not work To: use-livecode at lists.runrev.com Date: Friday, October 12, 2012, 2:20 PM The following script works for finding a checkbox that is checked and putting its custom property (uMyLabel) into the field "recommendations" on the marked card that it is on. However, it fails to put the uMyLabel of another checked checkbox that is on another marked card into the field "recommendations".? What am I missing here! on mouseUp? ???repeat with y = 1 to the number of cards ? ? ? if the mark of card y = true then ? ? ? ???put the number of buttons of card y into nbr ? ? ? end if ???end repeat ??? ???repeat with n = 1 to nbr ? ? ? if the style of button n is "checkbox" and the hilite of button n is true then ? ? ? ???put the uMyLabel of button n into tName ? ? ? ???put tName & cr after theList ? ? ? end if ???end repeat ???delete char -1 of theList ???put theList into field "recommendations" end mouseUp Charles Szasz cszasz at mac.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Fri Oct 12 16:49:33 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 12 Oct 2012 13:49:33 -0700 Subject: Strict Compile Mode In-Reply-To: References: <89231079187.20121011102844@ahsoftware.net> <5077BA95.6020000@braguglia.ch> <74E23926-1E29-4E28-BA66-8A155156086C@twft.com> Message-ID: <9F38EE9F-524F-4FA8-ADCD-E777F3253496@twft.com> On Oct 12, 2012, at 11:15 AM, Mark Wieder wrote: > Bob Sneidar writes: > >> I think globals make sense in a standalone. > > OK - that could make sense, but you'd still have to develop them in the IDE. > >> It seems to be the IDE that people have problems with them. > > Er... I don't think it's "people" that have problems with global vars. Bloodlusting zombies then?? From bobs at twft.com Fri Oct 12 16:50:15 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 12 Oct 2012 13:50:15 -0700 Subject: Strict Compile Mode In-Reply-To: References: <89231079187.20121011102844@ahsoftware.net> <5077BA95.6020000@braguglia.ch> <74E23926-1E29-4E28-BA66-8A155156086C@twft.com> Message-ID: <5E1976EA-9086-4992-939B-9AFBAC15CB04@twft.com> That's a great solution too! On Oct 12, 2012, at 11:27 AM, stephen barncard wrote: > this problem could be solved by using a single global ARRAY with the key > being the stack name. > > On Fri, Oct 12, 2012 at 11:15 AM, Mark Wieder wrote: > >> Bob Sneidar writes: >> >>> I think globals make sense in a standalone. >> >> OK - that could make sense, but you'd still have to develop them in the >> IDE. >> >>> It seems to be the IDE that people have problems with them. >> >> Er... I don't think it's "people" that have problems with global vars. >> >> -- >> Mark Wieder >> mwieder at ahsoftware.net >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From cszasz at me.com Fri Oct 12 16:50:27 2012 From: cszasz at me.com (Charles Szasz) Date: Fri, 12 Oct 2012 16:50:27 -0400 Subject: Repeat script does not work Message-ID: Michael, Thanks again for your help! Charles Szasz cszasz at mac.com From livfoss at mac.com Fri Oct 12 16:50:30 2012 From: livfoss at mac.com (Graham Samuel) Date: Fri, 12 Oct 2012 22:50:30 +0200 Subject: Unpopularity of global variables - why? Message-ID: <62336F82-D476-433E-9508-2FC7D4CB937F@mac.com> The discussion about Strict Compile Mode brought in a lot of stuff about globals, and I sense that many people think they're a bad thing - I am not talking about trick ways of using them, just regular globals that allow one to refer quantities (numbers, strings, anything really) across scripts which are housed in different objects in the same program (set of stacks). The thing is, I can't see the objection. Clearly any technique can become sufficiently messy and obscure as to negate its own usefulness, but what's wrong with the idea itself? If I want to maintain for example a status across a whole program, if I don't use a global, I am going to have to use a custom prop or a function to transmit that status across object boundaries, and that means more typing with no more security, so why do it? What's wrong with if gMy_Status is "open"... compared to if fMy_Status() is "open"? or get the cpMy_Status of stack "myStack" if it is "open"? Again, since the 'constant' command doesn't have global status, what's wrong with using globals to store program-wide constants? Is any other way cleaner? Obviously I'm missing the point - I know I am. It's probably my age. But I'd like to see a more reasoned attack on globals before I give them up. Graham From bobs at twft.com Fri Oct 12 16:54:37 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 12 Oct 2012 13:54:37 -0700 Subject: [UPDATE] Free 'Clearview' desktop clock v1.5 In-Reply-To: References: Message-ID: Isn't this how Jacque's Time Travel stack started? Didn't she distribute some kind of time stack freely to everyone, until they reached critical mass and became sentient? Heck, maybe this is what started (is starting/is going to start) everything! Time travel paradoxes are so confusing! Bob On Oct 12, 2012, at 12:08 PM, FlexibleLearning.com wrote: > If your copy of the DigitalClock is not being restored to the state you left > it between sessions, you can get the new one that does... > > > Download v1.5 at www.FlexibleLearning.com/freeclock > > > Available for Windows, Macs and Linuxes - 100% free - 100% recycled > electrons. > > > Hugh Senior From mwieder at ahsoftware.net Fri Oct 12 17:01:51 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 12 Oct 2012 14:01:51 -0700 Subject: Unpopularity of global variables - why? In-Reply-To: <62336F82-D476-433E-9508-2FC7D4CB937F@mac.com> References: <62336F82-D476-433E-9508-2FC7D4CB937F@mac.com> Message-ID: <139330266265.20121012140151@ahsoftware.net> Graham- Friday, October 12, 2012, 1:50:30 PM, you wrote: > Obviously I'm missing the point - I know I am. It's probably my > age. :-P > But I'd like to see a more reasoned attack on globals before I > give them up. Generally speaking (there are exceptions) the main reason global variables are a bad idea is that they have no protection. Any script in any stack can change the value of a global variable behind your back, and then it's a real pain trying to figure out what's going on. If you declare and use a global variable "myGlobal" in one stack, then close that stack and create a new one, that variable is still in memory. If you create a new script and say "global myGlobal" you've automatically inherited the existing value without having put anything into it. The situation gets worse if you have both stacks in memory at the same time and then they're fighting over the value of myGlobal. And worse yet if you accidentally declare a global variable that's already in use by one of the system stacks or plugins. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Oct 12 17:05:08 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 12 Oct 2012 14:05:08 -0700 Subject: Strict Compile Mode In-Reply-To: References: <89231079187.20121011102844@ahsoftware.net> <5077BA95.6020000@braguglia.ch> <74E23926-1E29-4E28-BA66-8A155156086C@twft.com> Message-ID: <32330463484.20121012140508@ahsoftware.net> stephen- Friday, October 12, 2012, 11:27:22 AM, you wrote: > this problem could be solved by using a single global ARRAY with the key > being the stack name. That solution would work even better if stack *names* were unique. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Oct 12 17:09:37 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 12 Oct 2012 14:09:37 -0700 Subject: Strict Compile Mode In-Reply-To: <9F38EE9F-524F-4FA8-ADCD-E777F3253496@twft.com> References: <89231079187.20121011102844@ahsoftware.net> <5077BA95.6020000@braguglia.ch> <74E23926-1E29-4E28-BA66-8A155156086C@twft.com> <9F38EE9F-524F-4FA8-ADCD-E777F3253496@twft.com> Message-ID: <138330732531.20121012140937@ahsoftware.net> Bob- Friday, October 12, 2012, 1:49:33 PM, you wrote: > Bloodlusting zombies then?? Well, I had in mind that it's stacks that have the problem, but point taken. Bloodlusting zombies lead a relatively simple life, and little things like global vars can really confuse them. So be kind to your neighborhood bloodlusting zombies and avoid the use of global variables. -- -Mark Wieder mwieder at ahsoftware.net From sarawakdave at rogers.com Fri Oct 12 17:20:42 2012 From: sarawakdave at rogers.com (Dave McKee) Date: Fri, 12 Oct 2012 17:20:42 -0400 Subject: iOS Simulator In-Reply-To: <7C8D4C5B-CFCE-4D6E-B073-1D27EF58A9AB@rogers.com> References: <7C8D4C5B-CFCE-4D6E-B073-1D27EF58A9AB@rogers.com> Message-ID: <3AD6D0E4-13A3-4231-8F88-F10437C3477C@rogers.com> Fixed by upgrading to latest XCode Sent from my iPhone On 2012-10-12, at 1:55 PM, Dave McKee wrote: > running mac osx lion 10.8.2 > using LC v5.5.3 RC2 > > have selected target as being; iPhone simulator 5.1 > > have app that was working ok in simulator but as of moving from 5.5.2 to 5.5.3 rc2, have run into a strange bug (?). > > test build the app, app opens in iOS simulator, when I quit app and then hold down icon, to delete it, jiggle icon appears with (X) but if I; > 1. hit home, then ok > 2. hit (X), then app is not deleted and hitting home button is unresponsive > a. quit IOS simulator > b. restart iOS simulator, the test app is still there > > Also; > I see exactly the same symptoms 1 to 2b if I launch Xcode and then iOS Simulator > > > > what form of Apple hell have I fallen into ? > is there anyone who knows how to clear out the test app in the iOS Simulator now that it has a death grip on it ? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Fri Oct 12 17:24:33 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 12 Oct 2012 14:24:33 -0700 Subject: Unpopularity of global variables - why? In-Reply-To: <62336F82-D476-433E-9508-2FC7D4CB937F@mac.com> References: <62336F82-D476-433E-9508-2FC7D4CB937F@mac.com> Message-ID: What Mark said. Plus I've spent many a happy hour debugging code that was supposed to refer to a global variable except that I forgot to declare it as such in my script so it was treated as a local variable (in the days before realising that Strict Compile Mode is a good thing to do). That's my own stupidity of course but any time I find a way to protect myself from my own mistakes, I'll take it! Pete lcSQL Software On Fri, Oct 12, 2012 at 1:50 PM, Graham Samuel wrote: > The discussion about Strict Compile Mode brought in a lot of stuff about > globals, and I sense that many people think they're a bad thing - I am not > talking about trick ways of using them, just regular globals that allow one > to refer quantities (numbers, strings, anything really) across scripts > which are housed in different objects in the same program (set of stacks). > > The thing is, I can't see the objection. Clearly any technique can become > sufficiently messy and obscure as to negate its own usefulness, but what's > wrong with the idea itself? If I want to maintain for example a status > across a whole program, if I don't use a global, I am going to have to use > a custom prop or a function to transmit that status across object > boundaries, and that means more typing with no more security, so why do it? > What's wrong with > > if gMy_Status is "open"... > > compared to > > if fMy_Status() is "open"? > > or > > get the cpMy_Status of stack "myStack" > if it is "open"? > > Again, since the 'constant' command doesn't have global status, what's > wrong with using globals to store program-wide constants? Is any other way > cleaner? > > Obviously I'm missing the point - I know I am. It's probably my age. But > I'd like to see a more reasoned attack on globals before I give them up. > > 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 bobs at twft.com Fri Oct 12 17:25:48 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 12 Oct 2012 14:25:48 -0700 Subject: Unpopularity of global variables - why? In-Reply-To: <62336F82-D476-433E-9508-2FC7D4CB937F@mac.com> References: <62336F82-D476-433E-9508-2FC7D4CB937F@mac.com> Message-ID: <4A94C0D9-5ABC-4A9B-A493-67709B7ED563@twft.com> On Oct 12, 2012, at 1:50 PM, Graham Samuel wrote: > The discussion about Strict Compile Mode brought in a lot of stuff about globals, and I sense that many people think they're a bad thing - I am not talking about trick ways of using them, just regular globals that allow one to refer quantities (numbers, strings, anything really) across scripts which are housed in different objects in the same program (set of stacks). Across ALL stacks in the IDE. That is the rub. If you only work on one application at a time, well and good. But what about library stacks? What about plug-ins? Use as a global something a plugin also uses as a global, and you could really begin to screw things up royally. I don't think that globals are a bad thing, but I do think they should only apply to the stack they are defined in, or else have another class of globals called stack or application globals (or how about both!). That would solve the vast majority of cross globalization. (Hey I think I coined a new term! Bob From bobs at twft.com Fri Oct 12 17:29:04 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 12 Oct 2012 14:29:04 -0700 Subject: Unpopularity of global variables - why? In-Reply-To: <139330266265.20121012140151@ahsoftware.net> References: <62336F82-D476-433E-9508-2FC7D4CB937F@mac.com> <139330266265.20121012140151@ahsoftware.net> Message-ID: <00059E5D-7C89-4DA0-89FA-B3F93440F531@twft.com> On Oct 12, 2012, at 2:01 PM, Mark Wieder wrote: > Graham- > > Friday, October 12, 2012, 1:50:30 PM, you wrote: > >> Obviously I'm missing the point - I know I am. It's probably my >> age. > > :-P > >> But I'd like to see a more reasoned attack on globals before I >> give them up. > > Generally speaking (there are exceptions) the main reason global > variables are a bad idea is that they have no protection. Any script > in any stack can change the value of a global variable behind your > back, and then it's a real pain trying to figure out what's going on. And may I add, if RunRev would get off their butts about the variable breakpoint CTD bug, it would be really simple to find out where a thing is going wrong! Set a breakpoint on a global, and when it changes unexpectedly, there you go! Honestly, for a feature that would prove so incredibly helpful, shouldn't they fix this first before releasing any more features?? (Or did they already? Am I like that old lady in SNL? "Oh, well then... NEVER MIND!") Bob From larsbrehmer at me.com Fri Oct 12 17:31:21 2012 From: larsbrehmer at me.com (Lars Brehmer) Date: Sat, 13 Oct 2012 00:31:21 +0300 Subject: Seeking advice for iPad apps Message-ID: <458E1550-E00F-4BC8-A4EF-A2122843B84B@me.com> I have a fairly general question and a fairly specific question that I need advice on. I am starting to make iPad versions of some of my apps and loving the process. However, I am not capable of using native controls and I design all graphics, icons, etc. myself. These are of course not scalable by iOS, so the general question is this; I am starting with retina display, but there are of course a hell of a lot of on non-retina iPads out there. It seems that I have 2 choices to accommodate this. I could make 2 separate apps, on for retina and one for non-retina or I can construct the app in such a way that it essentially contains both, and the stacks that are saved into the documents folder on first launch are determined by the iPad resolution. Since there are a lot of graphics items, and they are already big on non-retina and positively huge on retina, the resulting app would have a very large file size and might be slow to launch. Or again, two separate apps. The problem with this is that a user who has the non-retina app and later buys a retina iPad cannot just re-download it for free because it isn't the same app (I am assuming this). This is obviously very bad. Has anyone faced this dilema and if so, what choice did you make and what was your reasoning behind the decision? There more specific question deals with pop-up,pull-down, option buttons with sub-menus in iOS. At least in the simulator, pop-up and pull-downs don't work and an option menu button displays the options the way I am used to see it on my iPad, but the submenus of the choices don't seem to work. To clarify, I am talking about those option menu buttons where the options appear in a sort of frame. Touch an option in that frame and the submenu slides into place and a button pointing back to the option you chose appears on the top left of said frame. Very typical in iOS. Is this somehow possible to achieve in liveCode without using native controls? I have been thinking of ways to do this with code and non-native controls, and I am convinced that it isn't that hard to do, but it would be nice to avoid this if possible. Any tips are as alway very welcome! Cheers, Lars From jacque at hyperactivesw.com Fri Oct 12 17:36:08 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 12 Oct 2012 16:36:08 -0500 Subject: [UPDATE] Free 'Clearview' desktop clock v1.5 In-Reply-To: References: Message-ID: <50788D48.8020000@hyperactivesw.com> On 10/12/12 3:54 PM, Bob Sneidar wrote: > Isn't this how Jacque's Time Travel stack started? Didn't she > distribute some kind of time stack freely to everyone, until they > reached critical mass and became sentient? Heck, maybe this is what > started (is starting/is going to start) everything! Time travel > paradoxes are so confusing! I don't know how it started because it hasn't started yet. I did see it briefly yesterday when I was checking on next week, but it had already been started by then. All that aside, I do question how many of us are sentient. But that's a different research project. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From guglielmo at braguglia.ch Fri Oct 12 17:50:23 2012 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Fri, 12 Oct 2012 23:50:23 +0200 Subject: Unpopularity of global variables - why? In-Reply-To: <4A94C0D9-5ABC-4A9B-A493-67709B7ED563@twft.com> References: <62336F82-D476-433E-9508-2FC7D4CB937F@mac.com> <4A94C0D9-5ABC-4A9B-A493-67709B7ED563@twft.com> Message-ID: <5078909F.1020905@braguglia.ch> *Holy words Bob !!!* This would be the most sensible thing ... ... the "global" declared for one MainStack should be valid only in his context and not for any mainStack opened ! But unfortunately is not like that so ... use with caution ! ;-) Guglielmo On 12.10.2012 23:25, Bob Sneidar wrote: > I don't think that globals are a bad thing, but I do think they should > only apply to the stack they are defined in, or else have another > class of globals called stack or application globals (or how about > both!). That would solve the vast majority of cross globalization. > (Hey I think I coined a new term! From dunbarx at aol.com Fri Oct 12 18:01:21 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 12 Oct 2012 18:01:21 -0400 (EDT) Subject: defaultcursor problem In-Reply-To: References: <21F92D23-B982-432D-B688-654864B4915D@gmail.com> <8CF7695B8CD61AF-1CD0-37DC4@webmail-d037.sysops.aol.com> Message-ID: <8CF76DC3F48DC6F-1CD0-3B65D@webmail-d037.sysops.aol.com> Peter. In my test, I also locked the cursor. Should have mentioned that. Craig -----Original Message----- From: Peter M. Brigham To: How to use LiveCode Sent: Fri, Oct 12, 2012 10:17 am Subject: Re: defaultcursor problem That never works. Setting "the cursor" will only be very fleeting, as the cursor will revert to the defaultcursor at the next idle message, and it happens so fast you never even see a flicker You can set "the cursor" then lock the cursor, then unlock it in a mouseleave handler, and that will work, but I learned a long time ago that this leads to persistent locked cursors, since LC seems at times not to send "mouseleave" messages, eg when a modal dialog is invoked, and randomly otherwise too. I can set the defaultcursor successfully in other circumstances, eg, in a mousemove handler over a button, to change it to "hand" to indicate to the user that what's called for is a click on the button. I want to do the same thing over an unlocked field when the commandkey is down, to indicate to the user that a click is called for. I used to be able to do this, but now it doesn't work any more. ???? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Oct 12, 2012, at 9:36 AM, dunbarx at aol.com wrote: > Hi. > > > Try this with "the cursor" instead of "the defaultCursor". > > > Craig Newman > > > > -----Original Message----- > From: Peter M. Brigham > To: How to use LiveCode > Sent: Fri, Oct 12, 2012 9:07 am > Subject: defaultcursor problem > > > Anyone have an idea why this doesn't work? Put the following into the script of > an unlocked field: > > on mousemove > put the commandkey is down into cmK > if cmK then > set the defaultcursor to hand > else > set the defaultcursor to empty > end if > end mousemove > > I want the cursor to become "hand" with the commandkey down, but it simply > remains a bar over an unlocked field. I swear this used to work, but for some > reason it no longer does. 2008 MacBook, OSX 10.7.4 (Lion), Rev Studio 4.5.3, > build 1210 > > -- 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 Fri Oct 12 18:02:06 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 12 Oct 2012 18:02:06 -0400 (EDT) Subject: Another reason I so dislike the LC IDE In-Reply-To: <50785D7B.4040900@gmail.com> References: <50785D7B.4040900@gmail.com> Message-ID: <8CF76DC5A3D8E8F-1CD0-3B672@webmail-d037.sysops.aol.com> Hmmm. I LOVE the IDE. Craig -----Original Message----- From: Richmond To: How to use LiveCode Sent: Fri, Oct 12, 2012 2:12 pm Subject: Re: Another reason I so dislike the LC IDE On 10/12/2012 05:09 PM, FlexibleLearning.com wrote: > When I close a stack, the LC IDE insists on asking if I want to save it even > when unnecessary (auto-save is built in). I'm not sure about that; Livecode is NOT Hypercard (lest we forget). > > I have tried these to no avail... > > on closeStack > lock messages > > on suspendStack > lock messages > > on closeStackRequest > lock messages > > Anything else? The culprit looks like an IDE backscript, but darned if I can > find it and I cannot trace into it. > > Any pointers to how to stop this damn dialog would be most welcome! > > (As an asside, the MC IDE simply closes. No fuss, no intrusion.) > > Hugh Senior > FLCo > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Fri Oct 12 18:16:14 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 12 Oct 2012 18:16:14 -0400 (EDT) Subject: Unpopularity of global variables - why? In-Reply-To: <5078909F.1020905@braguglia.ch> References: <62336F82-D476-433E-9508-2FC7D4CB937F@mac.com> <4A94C0D9-5ABC-4A9B-A493-67709B7ED563@twft.com> <5078909F.1020905@braguglia.ch> Message-ID: <8CF76DE53ADC4CF-1CD0-3B936@webmail-d037.sysops.aol.com> So you see there is nothing wrong with them, just be careful. They are both powerful and dangerous, like a firearm, but similarly, very useful in the appropriate situation. I have an ancient personal distaste that derives from the fact that in HC, they persist in the variable watcher and cause clutter. But in LC, this can be addressed. Craig Newman -----Original Message----- From: Guglielmo Braguglia To: How to use LiveCode Sent: Fri, Oct 12, 2012 5:56 pm Subject: Re: Unpopularity of global variables - why? *Holy words Bob !!!* This would be the most sensible thing ... ... the "global" declared for one MainStack should be valid only in his context and not for any mainStack opened ! But unfortunately is not like that so ... use with caution ! ;-) Guglielmo On 12.10.2012 23:25, Bob Sneidar wrote: > I don't think that globals are a bad thing, but I do think they should > only apply to the stack they are defined in, or else have another > class of globals called stack or application globals (or how about > both!). That would solve the vast majority of cross globalization. > (Hey I think I coined a new term! _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Fri Oct 12 18:23:32 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 13 Oct 2012 09:23:32 +1100 Subject: Unpopularity of global variables - why? In-Reply-To: <5078909F.1020905@braguglia.ch> References: <62336F82-D476-433E-9508-2FC7D4CB937F@mac.com> <4A94C0D9-5ABC-4A9B-A493-67709B7ED563@twft.com> <5078909F.1020905@braguglia.ch> Message-ID: <8C04974B-660B-4762-AAB2-B11C5380242D@sweattechnologies.com> Hmm... It's much better practice to use script locals and getters and setters. Or custom properties. I can't remember the last time I used a global. -- M E R Goulding Software development services mergExt - There's an external for that! On 13/10/2012, at 8:50 AM, Guglielmo Braguglia wrote: > *Holy words Bob !!!* > > This would be the most sensible thing ... > ... the "global" declared for one MainStack should be valid only in his context and not for any mainStack opened ! > > But unfortunately is not like that so ... use with caution ! ;-) > > Guglielmo > > On 12.10.2012 23:25, Bob Sneidar wrote: >> I don't think that globals are a bad thing, but I do think they should only apply to the stack they are defined in, or else have another class of globals called stack or application globals (or how about both!). That would solve the vast majority of cross globalization. (Hey I think I coined a new term! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Fri Oct 12 18:51:04 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 12 Oct 2012 15:51:04 -0700 Subject: Another reason I so dislike the LC IDE In-Reply-To: <8CF76DC5A3D8E8F-1CD0-3B672@webmail-d037.sysops.aol.com> References: <50785D7B.4040900@gmail.com> <8CF76DC5A3D8E8F-1CD0-3B672@webmail-d037.sysops.aol.com> Message-ID: I know! Without the IDE we would be forced to only use the example stacks that come with LC, and what good would that be?? Bob On Oct 12, 2012, at 3:02 PM, dunbarx at aol.com wrote: > Hmmm. > > > I LOVE the IDE. > > > > Craig > > > -----Original Message----- > From: Richmond > To: How to use LiveCode > Sent: Fri, Oct 12, 2012 2:12 pm > Subject: Re: Another reason I so dislike the LC IDE > > > On 10/12/2012 05:09 PM, FlexibleLearning.com wrote: >> When I close a stack, the LC IDE insists on asking if I want to save it even >> when unnecessary (auto-save is built in). > > I'm not sure about that; Livecode is NOT Hypercard (lest we forget). > >> >> I have tried these to no avail... >> >> on closeStack >> lock messages >> >> on suspendStack >> lock messages >> >> on closeStackRequest >> lock messages >> >> Anything else? The culprit looks like an IDE backscript, but darned if I can >> find it and I cannot trace into it. >> >> Any pointers to how to stop this damn dialog would be most welcome! >> >> (As an asside, the MC IDE simply closes. No fuss, no intrusion.) >> >> Hugh Senior >> FLCo >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Fri Oct 12 19:15:50 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 12 Oct 2012 16:15:50 -0700 Subject: Unpopularity of global variables - why? In-Reply-To: <00059E5D-7C89-4DA0-89FA-B3F93440F531@twft.com> References: <62336F82-D476-433E-9508-2FC7D4CB937F@mac.com> <139330266265.20121012140151@ahsoftware.net> <00059E5D-7C89-4DA0-89FA-B3F93440F531@twft.com> Message-ID: <33338305328.20121012161550@ahsoftware.net> Bob- Friday, October 12, 2012, 2:29:04 PM, you wrote: > And may I add, if RunRev would get off their butts about the > variable breakpoint CTD bug, it would be really simple to find out > where a thing is going wrong! Set a breakpoint on a global, and when > it changes unexpectedly, there you go! Honestly, for a feature that > would prove so incredibly helpful, shouldn't they fix this first > before releasing any more features?? (Or did they already? Am I like > that old lady in SNL? "Oh, well then... NEVER MIND!") According to my notes, that's bug #6506 and was fixed in build 4.5-dp2 (6 Feb 2010). -- -Mark Wieder mwieder at ahsoftware.net From pete at lcsql.com Fri Oct 12 19:21:19 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 12 Oct 2012 16:21:19 -0700 Subject: [ANN] lcStackBrowser V1.0.5 Message-ID: The above version of lcStackBrowser, a plugin alternative to the IDE Application Browser, is now available at www.lcsql.com. This release is free to existing customers. Bugs fixed in this release include: - New main stacks created from within lcStackBrowser and existing stacks opened from within lcStackBrowserwere not shown in the display. - New stacks created in lcStackBrowser did not observe the Livecode Preference for setting their destroyStack property. As part of this fix, the size of stacks created within lcStackBrowser will be the same as those created in the IDE. - Sorting cards by number used an alpha sort instead of numeric. - Renaming a group resulted in an incorrect display of its members. - Made several internal changes to make things work more reliably. In addition, there are two enhancements in this release: - When you select a control in the IDE, it will be highlighted in the lcStackBrowser display and vice versa. - lcStackBrowser now provides a way for you to request a update of its display. This can be useful if your scripts trigger a change for which the IDE does not have an equivalent message. To communicate with lcStackBrowser, send the message "lcsb_updateDisplay" to the lcStackBrowser stack. The message has one required parameter which is the action to be taken by lcStackBrowser; other parameters may be necessary depending on the action. Currently, only one action is available - "resetLockedStatus". This action has one optional parameter, a list of stack names, one per line. This action causes lcStackBrowser to re-evaluate the locked status of the specified stacks and adjust its display accordingly. If the list of stack names is not provided, all stacks in the display will be re-evaluated. Pete lcSQL Software From matthias_livecode_150811 at m-r-d.de Fri Oct 12 19:41:08 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 13 Oct 2012 01:41:08 +0200 Subject: Speed of visual effect under iOS In-Reply-To: References: <0B6E9703-6FE7-4849-94DB-6835DFAE9314@m-r-d.de> Message-ID: <0B9C9286-B1C6-41EF-98F4-31B4BD785D7B@m-r-d.de> Hi Chris, thanks for your suggestions. I noticed this delay on an iphone 4 and iphone 3, not an ipad 3. I will check my preopencard handler. Maybe i can move something to the opencard handler. Regards, Matthias -- Matthias Rebbe matthias (at) rebbe.tk Tel +49.5741.310000 Tel +49.160.5504462 -- "Life is too short for boring code" Am 11.10.2012 um 17:09 schrieb Chris Sheffield : > Matthias, > > Are you running on an iPad 3 by chance? > > I'm not sure there's really much you can do. I've run into this same problem. If it's iPad 3, the LC engine has to work extra hard to update the screen, and that's what's causing the delay. It's my understanding that LiveCode does not yet take advantage of the new graphics processor in the iPad 3, and that's why visual effects like this appear to be slower. Hopefully sometime soon we'll see an update that takes advantage of the new hardware. Until then, one thing you could try would be to keep your code in preOpenCard as minimal as possible. Move everything you possibly can to openCard instead. This has actually helped me in some cases. > > Good luck! > > Chris > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > > > On Oct 11, 2012, at 8:54 AM, Matthias Rebbe wrote: > >> Hi, >> >> i am using visual effects when going from one card to an other. >> >> e.g. >> lock screen for visual effects >> go card "settings" >> unlock screen with visual effect push up very fast >> >> Without using visual effects the performance is good. But with using visual effects there is a delay of 1 to 2 seconds before >> the visual effed takes place. So the user first thinks nothing would happen. >> >> Any idea if i can speed up this. Or should i show a busy indicator until the "move" to the next card is completed. >> >> Regards, >> >> Matthias >> >> >> >> -- >> Matthias Rebbe >> matthias (at) rebbe.tk >> Tel +49.5741.310000 >> Tel +49.160.5504462 >> -- >> "Life is too short for boring code" >> >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Fri Oct 12 19:45:00 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 13 Oct 2012 01:45:00 +0200 Subject: [ANN] lcStackBrowser V1.0.5 In-Reply-To: References: Message-ID: Peter, lcStackBrowser is telling me here that 1.0.4 is available. But trying to download is not successful. After selecting the target folder nothing happens. Any idea? Regards, Matthias -- Matthias Rebbe matthias (at) rebbe.tk Tel +49.5741.310000 Tel +49.160.5504462 -- "Life is too short for boring code" Am 13.10.2012 um 01:21 schrieb Peter Haworth : > The above version of lcStackBrowser, a plugin alternative to the IDE > Application Browser, is now available at www.lcsql.com. This release is > free to existing customers. > > Bugs fixed in this release include: > > - New main stacks created from within lcStackBrowser and existing stacks > opened from within lcStackBrowserwere not shown in the display. > - New stacks created in lcStackBrowser did not observe the Livecode > Preference for setting their destroyStack property. As part of this fix, > the size of stacks created within lcStackBrowser will be the same as those > created in the IDE. > - Sorting cards by number used an alpha sort instead of numeric. > - Renaming a group resulted in an incorrect display of its members. > - Made several internal changes to make things work more reliably. > > In addition, there are two enhancements in this release: > > - When you select a control in the IDE, it will be highlighted in the > lcStackBrowser display and vice versa. > > > - lcStackBrowser now provides a way for you to request a update of its > display. This can be useful if your scripts trigger a change for which the > IDE does not have an equivalent message. > > To communicate with lcStackBrowser, send the message "lcsb_updateDisplay" > to the lcStackBrowser stack. The message has one required parameter which > is the action to be taken by lcStackBrowser; other parameters may be > necessary depending on the action. > > > > Currently, only one action is available - "resetLockedStatus". This action > has one optional parameter, a list of stack names, one per line. This > action causes lcStackBrowser to re-evaluate the locked status of the > specified stacks and adjust its display accordingly. If the list of stack > names is not provided, all stacks in the display will be re-evaluated. > > > 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 gandalf at doctorTimothyMiller.com Fri Oct 12 19:50:11 2012 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Fri, 12 Oct 2012 16:50:11 -0700 Subject: Unpopularity of global variables - why? In-Reply-To: <4A94C0D9-5ABC-4A9B-A493-67709B7ED563@twft.com> References: <62336F82-D476-433E-9508-2FC7D4CB937F@mac.com> <4A94C0D9-5ABC-4A9B-A493-67709B7ED563@twft.com> Message-ID: <7847F325-E5CE-4A0C-B2B1-013A538CF5B5@doctorTimothyMiller.com> On Oct 12, 2012, at 2:25 PM, Bob Sneidar wrote: > > Across ALL stacks in the IDE. That is the rub. If you only work on one application at a time, well and good. But what about library stacks? What about plug-ins? Use as a global something a plugin also uses as a global, and you could really begin to screw things up royally. That's all true. On the other hand, I use a complex set of stacks, but I don't use library stacks, plug-ins, etc. Also, the stacks are only for my own use. If something goes haywire, it's my job to fix it. Sometimes I'm using a dozen or more globals at once. I consistently put empty into all unused globals when a script starts. In my scripts, globals are presumed un-used unless proven otherwise. At the end of scripts, I consistently put empty into all globals when I don't need them any more. If I'm using several globals, I write a handler just for the purpose of clearing all un-needed globals. When perfecting a script or stack, I look at the variable watcher to make sure I don't forget to clear un-used globals. I keep a list of all my globals (in the global-clearing handler), and avoid using local variables with the same name, even if, in theory, I can get away with it. Works for me. Never had a problem. (I've learned to use custom properties. That works too, and there are other alternatives to globals.) The simplicity of a global concords with my simple skills and simple brain. Maybe Graham works the way I do. If so, it's not so easy to see why globals are frowned upon. Cheeers, Tim From terry.judd at unimelb.edu.au Fri Oct 12 19:54:49 2012 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Fri, 12 Oct 2012 23:54:49 +0000 Subject: Unpopularity of global variables - why? In-Reply-To: References: <62336F82-D476-433E-9508-2FC7D4CB937F@mac.com>, Message-ID: <6AFD6095-CF48-443E-9ED5-E53E09C4C2EE@unimelb.edu.au> Well, I often use a single global multidimensional array to store all my settings and data and It very rarely causes problems. You declare the variable in every script and you're away. Easy enough to supplement with script locals or custom properties when required and it has the advantage of allowing you to save all your data out/in in one fell swoop using arrayEncode/decode. Terry... On 13/10/2012, at 8:25 AM, "Peter Haworth" wrote: > What Mark said. Plus I've spent many a happy hour debugging code that was > supposed to refer to a global variable except that I forgot to declare it > as such in my script so it was treated as a local variable (in the days > before realising that Strict Compile Mode is a good thing to do). That's > my own stupidity of course but any time I find a way to protect myself from > my own mistakes, I'll take it! > > Pete > lcSQL Software > > > > On Fri, Oct 12, 2012 at 1:50 PM, Graham Samuel wrote: > >> The discussion about Strict Compile Mode brought in a lot of stuff about >> globals, and I sense that many people think they're a bad thing - I am not >> talking about trick ways of using them, just regular globals that allow one >> to refer quantities (numbers, strings, anything really) across scripts >> which are housed in different objects in the same program (set of stacks). >> >> The thing is, I can't see the objection. Clearly any technique can become >> sufficiently messy and obscure as to negate its own usefulness, but what's >> wrong with the idea itself? If I want to maintain for example a status >> across a whole program, if I don't use a global, I am going to have to use >> a custom prop or a function to transmit that status across object >> boundaries, and that means more typing with no more security, so why do it? >> What's wrong with >> >> if gMy_Status is "open"... >> >> compared to >> >> if fMy_Status() is "open"? >> >> or >> >> get the cpMy_Status of stack "myStack" >> if it is "open"? >> >> Again, since the 'constant' command doesn't have global status, what's >> wrong with using globals to store program-wide constants? Is any other way >> cleaner? >> >> Obviously I'm missing the point - I know I am. It's probably my age. But >> I'd like to see a more reasoned attack on globals before I give them up. >> >> Graham >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Fri Oct 12 20:14:30 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 12 Oct 2012 17:14:30 -0700 Subject: [ANN] lcStackBrowser V1.0.5 In-Reply-To: References: Message-ID: Hi Matthias, Sorry forgot to update the file on my web server with the latest version in it. Please try now and let me know if works OK. Pete lcSQL Software On Fri, Oct 12, 2012 at 4:45 PM, Matthias Rebbe < matthias_livecode_150811 at m-r-d.de> wrote: > Peter, > > lcStackBrowser is telling me here that 1.0.4 is available. > But trying to download is not successful. After selecting the target > folder nothing happens. > > Any idea? > > Regards, > > Matthias > -- > Matthias Rebbe > matthias (at) rebbe.tk > Tel +49.5741.310000 > Tel +49.160.5504462 > -- > "Life is too short for boring code" > > > > > > > > Am 13.10.2012 um 01:21 schrieb Peter Haworth : > > > The above version of lcStackBrowser, a plugin alternative to the IDE > > Application Browser, is now available at www.lcsql.com. This release is > > free to existing customers. > > > > Bugs fixed in this release include: > > > > - New main stacks created from within lcStackBrowser and existing > stacks > > opened from within lcStackBrowserwere not shown in the display. > > - New stacks created in lcStackBrowser did not observe the Livecode > > Preference for setting their destroyStack property. As part of this > fix, > > the size of stacks created within lcStackBrowser will be the same as > those > > created in the IDE. > > - Sorting cards by number used an alpha sort instead of numeric. > > - Renaming a group resulted in an incorrect display of its members. > > - Made several internal changes to make things work more reliably. > > > > In addition, there are two enhancements in this release: > > > > - When you select a control in the IDE, it will be highlighted in the > > lcStackBrowser display and vice versa. > > > > > > - lcStackBrowser now provides a way for you to request a update of its > > display. This can be useful if your scripts trigger a change for > which the > > IDE does not have an equivalent message. > > > > To communicate with lcStackBrowser, send the message "lcsb_updateDisplay" > > to the lcStackBrowser stack. The message has one required parameter > which > > is the action to be taken by lcStackBrowser; other parameters may be > > necessary depending on the action. > > > > > > > > Currently, only one action is available - "resetLockedStatus". This > action > > has one optional parameter, a list of stack names, one per line. This > > action causes lcStackBrowser to re-evaluate the locked status of the > > specified stacks and adjust its display accordingly. If the list of > stack > > names is not provided, all stacks in the display will be re-evaluated. > > > > > > 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 matthias_livecode_150811 at m-r-d.de Fri Oct 12 20:18:45 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 13 Oct 2012 02:18:45 +0200 Subject: [ANN] lcStackBrowser V1.0.5 In-Reply-To: References: Message-ID: <19F5DD3F-DF4F-4835-9AF9-E3676D29AB55@m-r-d.de> Worked. Thanks. :) Matthias -- Matthias Rebbe matthias (at) rebbe.tk Tel +49.5741.310000 Tel +49.160.5504462 -- "Life is too short for boring code" Am 13.10.2012 um 02:14 schrieb Peter Haworth : > Hi Matthias, > Sorry forgot to update the file on my web server with the latest version in > it. Please try now and let me know if works OK. > Pete > lcSQL Software > > > > On Fri, Oct 12, 2012 at 4:45 PM, Matthias Rebbe < > matthias_livecode_150811 at m-r-d.de> wrote: > >> Peter, >> >> lcStackBrowser is telling me here that 1.0.4 is available. >> But trying to download is not successful. After selecting the target >> folder nothing happens. >> >> Any idea? >> >> Regards, >> >> Matthias >> -- >> Matthias Rebbe >> matthias (at) rebbe.tk >> Tel +49.5741.310000 >> Tel +49.160.5504462 >> -- >> "Life is too short for boring code" >> >> >> >> >> >> >> >> Am 13.10.2012 um 01:21 schrieb Peter Haworth : >> >>> The above version of lcStackBrowser, a plugin alternative to the IDE >>> Application Browser, is now available at www.lcsql.com. This release is >>> free to existing customers. >>> >>> Bugs fixed in this release include: >>> >>> - New main stacks created from within lcStackBrowser and existing >> stacks >>> opened from within lcStackBrowserwere not shown in the display. >>> - New stacks created in lcStackBrowser did not observe the Livecode >>> Preference for setting their destroyStack property. As part of this >> fix, >>> the size of stacks created within lcStackBrowser will be the same as >> those >>> created in the IDE. >>> - Sorting cards by number used an alpha sort instead of numeric. >>> - Renaming a group resulted in an incorrect display of its members. >>> - Made several internal changes to make things work more reliably. >>> >>> In addition, there are two enhancements in this release: >>> >>> - When you select a control in the IDE, it will be highlighted in the >>> lcStackBrowser display and vice versa. >>> >>> >>> - lcStackBrowser now provides a way for you to request a update of its >>> display. This can be useful if your scripts trigger a change for >> which the >>> IDE does not have an equivalent message. >>> >>> To communicate with lcStackBrowser, send the message "lcsb_updateDisplay" >>> to the lcStackBrowser stack. The message has one required parameter >> which >>> is the action to be taken by lcStackBrowser; other parameters may be >>> necessary depending on the action. >>> >>> >>> >>> Currently, only one action is available - "resetLockedStatus". This >> action >>> has one optional parameter, a list of stack names, one per line. This >>> action causes lcStackBrowser to re-evaluate the locked status of the >>> specified stacks and adjust its display accordingly. If the list of >> stack >>> names is not provided, all stacks in the display will be re-evaluated. >>> >>> >>> 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 gandalf at doctorTimothyMiller.com Fri Oct 12 20:19:42 2012 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Fri, 12 Oct 2012 17:19:42 -0700 Subject: [OT] Where ill conceived copyright laws can lead In-Reply-To: References: <384E791B-4491-45DA-99DE-734CD1611908@twft.com> <98CB7571-A351-4928-9E0C-E59ACF08B381@twft.com> <005f01cda7e6$8fc54800$af4fd800$@net> <50772073.4090509@gmail.com> <5E3738B0-17B7-451A-B06C-4180037C512D@twft.com> <50779383.2040904@gmail.com> Message-ID: <224F63DC-7BB8-4BF0-BA56-E12504BDAE28@doctorTimothyMiller.com> Evolution optimized the human brain to cope effectively with ownership of a physical object bigger than a pea and no larger than a barn. Ancestral humans did not own land, for instance. Until recently, people didn't own many abstractions. Maybe a stock certificate or the deed to a house. Our evolved moral intuitions do not clearly address ownership of an abstraction. Now, most people own abstractions. To own an ebook, an Mp3 or a software license is to own an abstraction. The human brain is not prepared to deal with that. The human brain was promoted to its level of incompetence when agriculture was invented and people started living in cities. In the 21st century, all possible answers to complex questions of intellectual property will be unsatisfactory and contentious. I need to get used to that. Others may suit themselves. Just my opinion. Cheers, Tim On Oct 11, 2012, at 10:50 PM, Peter Haworth wrote: > That's not copyright, that's patent, different thing although just as weird! > > One problem with copyright laws is that, as with a lot of laws, they are > different in every country. From mwieder at ahsoftware.net Fri Oct 12 20:22:57 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 12 Oct 2012 17:22:57 -0700 Subject: Unpopularity of global variables - why? In-Reply-To: <7847F325-E5CE-4A0C-B2B1-013A538CF5B5@doctorTimothyMiller.com> References: <62336F82-D476-433E-9508-2FC7D4CB937F@mac.com> <4A94C0D9-5ABC-4A9B-A493-67709B7ED563@twft.com> <7847F325-E5CE-4A0C-B2B1-013A538CF5B5@doctorTimothyMiller.com> Message-ID: <163342331968.20121012172257@ahsoftware.net> Tim- Friday, October 12, 2012, 4:50:11 PM, you wrote: > Sometimes I'm using a dozen or more globals at once. I > consistently put empty into all unused globals when a script starts. ... That seems like a lot of work, but it also seems like a safe way to handle global variables. Sounds like you've got it covered. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Fri Oct 12 22:13:22 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 12 Oct 2012 21:13:22 -0500 Subject: Unpopularity of global variables - why? In-Reply-To: <7847F325-E5CE-4A0C-B2B1-013A538CF5B5@doctorTimothyMiller.com> References: <62336F82-D476-433E-9508-2FC7D4CB937F@mac.com> <4A94C0D9-5ABC-4A9B-A493-67709B7ED563@twft.com> <7847F325-E5CE-4A0C-B2B1-013A538CF5B5@doctorTimothyMiller.com> Message-ID: <5078CE42.1010500@hyperactivesw.com> On 10/12/12 6:50 PM, Timothy Miller wrote: > > I consistently put empty into all unused globals when a script starts. Unlike HyperCard, in LiveCode you can actually delete them entirely: delete global gMyGlobal I don't have a particular hatred for globals either, you just have to know how to be careful with them. On the other hand, I don't think I've needed one now for years but if I did, I wouldn't hesitate to use it. They are faster and more convenient than a property or a handler, but their main advantage is that they aren't tied to any particular stack. That's a big advantage, even if you don't need it very often. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From davidocoker at gmail.com Fri Oct 12 22:24:44 2012 From: davidocoker at gmail.com (David C.) Date: Fri, 12 Oct 2012 21:24:44 -0500 Subject: [OT] Where ill conceived copyright laws can lead In-Reply-To: <98CB7571-A351-4928-9E0C-E59ACF08B381@twft.com> References: <384E791B-4491-45DA-99DE-734CD1611908@twft.com> <98CB7571-A351-4928-9E0C-E59ACF08B381@twft.com> Message-ID: Mr. Bob said: "I think what Steve Jobs did for the media industry is a HUGE plus, and is one of those rare situations where the bulk of the consumers AND the producers agree!" ...or not! (Sorry, pet peeve topic) I do think that we can all agree that the convenience of using digital media (all forms) is an awesome thing. However, as Kay pointed out, the question of ownership and/or the ability to fully transfer our licensed digital material -> somehow<- needs to be addressed in a manner that is fair to the person whom has paid the fees. I have a very tiny media collection primarily because of those very kinds of issues and have no desire or intent to add much more than what I have now. It was my thoughts way prior to his death that Mr. Jobs and Apple could all kiss my backside for thinking they could "rent" rather than sell me media without some form of rights as a legitimate customer.... they that are left running the show still can. < whew, I somehow feel a little better now > Best regards, David C. From gandalf at doctorTimothyMiller.com Fri Oct 12 22:56:20 2012 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Fri, 12 Oct 2012 19:56:20 -0700 Subject: Unpopularity of global variables - why? In-Reply-To: <5078CE42.1010500@hyperactivesw.com> References: <62336F82-D476-433E-9508-2FC7D4CB937F@mac.com> <4A94C0D9-5ABC-4A9B-A493-67709B7ED563@twft.com> <7847F325-E5CE-4A0C-B2B1-013A538CF5B5@doctorTimothyMiller.com> <5078CE42.1010500@hyperactivesw.com> Message-ID: On Oct 12, 2012, at 7:13 PM, J. Landman Gay wrote: > On 10/12/12 6:50 PM, Timothy Miller wrote: >> >> I consistently put empty into all unused globals when a script starts. > > Unlike HyperCard, in LiveCode you can actually delete them entirely: > > delete global gMyGlobal Busted! HyperCard retread, obviously. I could hunt down all those "put empty into..." scripts and fix them, but probably more trouble than it's worth. It would just free up a little bit of RAM. Tim From jacque at hyperactivesw.com Fri Oct 12 23:04:17 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 12 Oct 2012 22:04:17 -0500 Subject: Seeking advice for iPad apps In-Reply-To: <458E1550-E00F-4BC8-A4EF-A2122843B84B@me.com> References: <458E1550-E00F-4BC8-A4EF-A2122843B84B@me.com> Message-ID: <5078DA31.3010108@hyperactivesw.com> On 10/12/12 4:31 PM, Lars Brehmer wrote: > I am starting with retina display, but there are of course a hell of > a lot of on non-retina iPads out there. It seems that I have 2 > choices to accommodate this. I could make 2 separate apps, on for > retina and one for non-retina or I can construct the app in such a > way that it essentially contains both, and the stacks that are saved > into the documents folder on first launch are determined by the iPad > resolution. Since there are a lot of graphics items, and they are > already big on non-retina and positively huge on retina, the > resulting app would have a very large file size and might be slow to > launch. I use a third way. I create a single set of images at high resolution. When the app launches I determine the correct size and scale them if necessary in resizeStack handlers. High-res images look fine at 50% on iOS devices and scale well for most Android devices too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From th.douez at gmail.com Sat Oct 13 02:21:02 2012 From: th.douez at gmail.com (Thierry Douez) Date: Sat, 13 Oct 2012 08:21:02 +0200 Subject: [ANN] lcStackBrowser V1.0.5 In-Reply-To: References: Message-ID: 2012/10/13 Peter Haworth : > > - lcStackBrowser now provides a way for you to request a update of its > display. This can be useful if your scripts trigger a change for which the > IDE does not have an equivalent message. Kudos Peter :) I've implemented it in my PassWords manager plug-in and it works like a charm ! Thanks for that. Regards, Thierry From lan.kc.macmail at gmail.com Sat Oct 13 02:32:40 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 13 Oct 2012 14:32:40 +0800 Subject: Another reason I so dislike the LC IDE In-Reply-To: References: Message-ID: On Fri, Oct 12, 2012 at 10:09 PM, FlexibleLearning.com < admin at flexiblelearning.com> wrote: > Any pointers to how to stop this damn dialog would be most welcome! > I eventually learnt to out smart the dialog by a preemptive cmd-s. It's doing what LC wants you to do without being told. Probably not the pointer you wanted ;-( From richmondmathewson at gmail.com Sat Oct 13 02:56:03 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 13 Oct 2012 09:56:03 +0300 Subject: [UPDATE] Free 'Clearview' desktop clock v1.5 In-Reply-To: References: Message-ID: <50791083.6050700@gmail.com> On 10/12/2012 10:08 PM, FlexibleLearning.com wrote: > If your copy of the DigitalClock is not being restored to the state you left > it between sessions, you can get the new one that does... > > > Download v1.5 at www.FlexibleLearning.com/freeclock > > > Available for Windows, Macs and Linuxes - 100% free - 100% recycled > electrons. I wonder if the plural of Linux shouldn't be 'Linuses' ? Congratulations on having a fully (well, not Haiku) cross-platform program! > > Hugh Senior > FLCo > The home of: > - ChartMaker www.FlexibleLearning.com/chartmaker > - DatePicker www.FlexibleLearning.com/datepicker > - The Scripter's Scrapbook www.FlexibleLearning.com/ssbk > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Oct 13 03:00:23 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 13 Oct 2012 10:00:23 +0300 Subject: [OT] Where ill conceived copyright laws can lead In-Reply-To: References: <384E791B-4491-45DA-99DE-734CD1611908@twft.com> <98CB7571-A351-4928-9E0C-E59ACF08B381@twft.com> Message-ID: <50791187.9070306@gmail.com> On 10/13/2012 05:24 AM, David C. wrote: > Mr. Bob said: > "I think what Steve Jobs did for the media industry is a HUGE plus, > and is one of those rare situations where the bulk of the consumers > AND the producers agree!" > > ...or not! > (Sorry, pet peeve topic) > > I do think that we can all agree that the convenience of using digital > media (all forms) is an awesome thing. > > However, as Kay pointed out, the question of ownership and/or the > ability to fully transfer our licensed digital material -> somehow<- > needs to be addressed in a manner that is fair to the person whom has > paid the fees. > > I have a very tiny media collection primarily because of those very > kinds of issues and have no desire or intent to add much more than > what I have now. It was my thoughts way prior to his death that Mr. > Jobs and Apple could all kiss my backside for thinking they could > "rent" rather than sell me media without some form of rights as a > legitimate customer.... they that are left running the show still can. Well said. This should also be the way of thinking about EULAs. If I sell you a copy of my "Devawriter Pro" you are free to do what you want with it, apart from push multiple copies all over the place - and that is what copyright is for - not to stop you using the thing in someway I haven't thought of. > > < whew, I somehow feel a little better now > > > Best regards, > David C. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Oct 13 04:03:17 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 13 Oct 2012 11:03:17 +0300 Subject: WINE 1.5.15 Message-ID: <50792045.3000402@gmail.com> For those of you who like a "walk on the wild side", I just downloaded WINE 1.5.15 onto one of my Linux boxes. Knowing that WINE isn't good with PNG images and layering in general I tried the Windows version of RR/LC 4.5 and . . . Lo and behold, all the graphics of the IDE are now fully visible, rather than those ugly black patches one could see previously. "The Wine development release 1.5.15 is now available. What's new in this release: * Full support for layered windows. * New version of the Gecko engine based on Firefox 16. * Support for broadcast sockets used by networked games. * Downloaded add-ons installers are now cached. * Support for persistent Internet cookies. * String optimizations in JavaScript. * Various bug fixes. " Whether this is a result of bullet point #1, #2 or a combination of the 2, I don't know. This means that anybody who wants a "quick-n-dirty" idea as to whether their Windows standalone authored on Linux or INTEL Mac has a chance of running on Windows can find that out before they rush out and spend buckets on a full Windows rig to do proper testing. Richmond. From matthias_livecode_150811 at m-r-d.de Fri Oct 12 20:18:45 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 13 Oct 2012 02:18:45 +0200 Subject: [ANN] lcStackBrowser V1.0.5 In-Reply-To: References: Message-ID: <19F5DD3F-DF4F-4835-9AF9-E3676D29AB55@m-r-d.de> Worked. Thanks. :) Matthias -- Matthias Rebbe matthias (at) rebbe.tk Tel +49.5741.310000 Tel +49.160.5504462 -- "Life is too short for boring code" Am 13.10.2012 um 02:14 schrieb Peter Haworth : > Hi Matthias, > Sorry forgot to update the file on my web server with the latest version in > it. Please try now and let me know if works OK. > Pete > lcSQL Software > > > > On Fri, Oct 12, 2012 at 4:45 PM, Matthias Rebbe < > matthias_livecode_150811 at m-r-d.de> wrote: > >> Peter, >> >> lcStackBrowser is telling me here that 1.0.4 is available. >> But trying to download is not successful. After selecting the target >> folder nothing happens. >> >> Any idea? >> >> Regards, >> >> Matthias >> -- >> Matthias Rebbe >> matthias (at) rebbe.tk >> Tel +49.5741.310000 >> Tel +49.160.5504462 >> -- >> "Life is too short for boring code" >> >> >> >> >> >> >> >> Am 13.10.2012 um 01:21 schrieb Peter Haworth : >> >>> The above version of lcStackBrowser, a plugin alternative to the IDE >>> Application Browser, is now available at www.lcsql.com. This release is >>> free to existing customers. >>> >>> Bugs fixed in this release include: >>> >>> - New main stacks created from within lcStackBrowser and existing >> stacks >>> opened from within lcStackBrowserwere not shown in the display. >>> - New stacks created in lcStackBrowser did not observe the Livecode >>> Preference for setting their destroyStack property. As part of this >> fix, >>> the size of stacks created within lcStackBrowser will be the same as >> those >>> created in the IDE. >>> - Sorting cards by number used an alpha sort instead of numeric. >>> - Renaming a group resulted in an incorrect display of its members. >>> - Made several internal changes to make things work more reliably. >>> >>> In addition, there are two enhancements in this release: >>> >>> - When you select a control in the IDE, it will be highlighted in the >>> lcStackBrowser display and vice versa. >>> >>> >>> - lcStackBrowser now provides a way for you to request a update of its >>> display. This can be useful if your scripts trigger a change for >> which the >>> IDE does not have an equivalent message. >>> >>> To communicate with lcStackBrowser, send the message "lcsb_updateDisplay" >>> to the lcStackBrowser stack. The message has one required parameter >> which >>> is the action to be taken by lcStackBrowser; other parameters may be >>> necessary depending on the action. >>> >>> >>> >>> Currently, only one action is available - "resetLockedStatus". This >> action >>> has one optional parameter, a list of stack names, one per line. This >>> action causes lcStackBrowser to re-evaluate the locked status of the >>> specified stacks and adjust its display accordingly. If the list of >> stack >>> names is not provided, all stacks in the display will be re-evaluated. >>> >>> >>> 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 bdrunrev at gmail.com Sat Oct 13 04:32:40 2012 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sat, 13 Oct 2012 09:32:40 +0100 Subject: WINE 1.5.15 In-Reply-To: <50792045.3000402@gmail.com> References: <50792045.3000402@gmail.com> Message-ID: Thanks. I tried to run LC under Wine before, and gave up testing further when I saw the images were rendered as black squares. Bernard On Sat, Oct 13, 2012 at 9:03 AM, Richmond wrote: > For those of you who like a "walk on the wild side", > I just downloaded WINE 1.5.15 onto one of my Linux boxes. > > Knowing that WINE isn't good with PNG images and layering in general > I tried the Windows version of RR/LC 4.5 and . . . > > Lo and behold, all the graphics of the IDE are now fully visible, rather > than those ugly black patches one could see previously. > From klaus at major.on-rev.com Sat Oct 13 07:11:41 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sat, 13 Oct 2012 13:11:41 +0200 Subject: display error bug for long lines in fields? Message-ID: <05F4B8B4-DAC4-4441-930E-E85C47CE1BB5@major.on-rev.com> Hi friends, someone already experienced this? I have some long, but not too long, TAB delimited lines in a list field. Now some lines look like the very last item is on top of the first item, like this one: And ALL of the lines do only hile a couple of pixels at the beginning, only part of the first character. I checked the length of these lines, but they are lower than the official limits: Max characters per line in a field = 16 bit = 64 kb LENGTH() of the lines is actually shorter than this limit < 6000. I already have a workaround, but wanted to know if this is a bug, before I report this. Any hints much appreciated, thanks! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From paul at researchware.com Sat Oct 13 09:12:33 2012 From: paul at researchware.com (Paul Dupuis) Date: Sat, 13 Oct 2012 09:12:33 -0400 Subject: display error bug for long lines in fields? In-Reply-To: <05F4B8B4-DAC4-4441-930E-E85C47CE1BB5@major.on-rev.com> References: <05F4B8B4-DAC4-4441-930E-E85C47CE1BB5@major.on-rev.com> Message-ID: <507968C1.6060904@researchware.com> It is not the same symptoms as you report, but we ran into a "long line" rendering bug a while back (now resolved) in http://quality.runrev.com/show_bug.cgi?id=10325 It may be related. On 10/13/2012 7:11 AM, Klaus on-rev wrote: > Hi friends, > > someone already experienced this? > > I have some long, but not too long, TAB delimited lines in a list field. > > Now some lines look like the very last item is on top of the first item, like this one: > > > And ALL of the lines do only hile a couple of pixels at the beginning, only part of the first character. > > I checked the length of these lines, but they are lower than the official limits: > Max characters per line in a field = 16 bit = 64 kb > LENGTH() of the lines is actually shorter than this limit < 6000. > > I already have a workaround, but wanted to know if this is a bug, before I report this. > > Any hints much appreciated, thanks! > > > Best > > Klaus > > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Paul Dupuis Cofounder Researchware, Inc. http://www.researchware.com/ http://www.twitter.com/researchware http://www.facebook.com/researchware http://www.linkedin.com/company/researchware-inc From klaus at major.on-rev.com Sat Oct 13 09:21:56 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sat, 13 Oct 2012 15:21:56 +0200 Subject: display error bug for long lines in fields? In-Reply-To: <507968C1.6060904@researchware.com> References: <05F4B8B4-DAC4-4441-930E-E85C47CE1BB5@major.on-rev.com> <507968C1.6060904@researchware.com> Message-ID: Hi Paul, Am 13.10.2012 um 15:12 schrieb Paul Dupuis : > It is not the same symptoms as you report, but we ran into a "long line" > rendering bug a while back (now resolved) in > http://quality.runrev.com/show_bug.cgi?id=10325 > It may be related. hmm, obviously this has NOT been resolve in 5.5.2! :-/ > On 10/13/2012 7:11 AM, Klaus on-rev wrote: >> Hi friends, >> >> someone already experienced this? >> >> I have some long, but not too long, TAB delimited lines in a list field. >> >> Now some lines look like the very last item is on top of the first item, like this one: >> >> >> And ALL of the lines do only hile a couple of pixels at the beginning, only part of the first character. >> >> I checked the length of these lines, but they are lower than the official limits: >> Max characters per line in a field = 16 bit = 64 kb >> LENGTH() of the lines is actually shorter than this limit < 6000. >> >> I already have a workaround, but wanted to know if this is a bug, before I report this. >> >> Any hints much appreciated, thanks! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From klaus at major.on-rev.com Sat Oct 13 10:14:29 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sat, 13 Oct 2012 16:14:29 +0200 Subject: display error bug for long lines in fields? In-Reply-To: References: <05F4B8B4-DAC4-4441-930E-E85C47CE1BB5@major.on-rev.com> <507968C1.6060904@researchware.com> Message-ID: <8BA40541-F226-4E6F-A92F-87FE0DBFE1C6@major.on-rev.com> Hi Paul, Am 13.10.2012 um 15:21 schrieb Klaus on-rev : > Hi Paul, > Am 13.10.2012 um 15:12 schrieb Paul Dupuis : >> It is not the same symptoms as you report, but we ran into a "long line" >> rendering bug a while back (now resolved) in >> http://quality.runrev.com/show_bug.cgi?id=10325 >> It may be related. > hmm, obviously this has NOT been resolve in 5.5.2! :-/ oops, sorry, that one is NOT related to my problem! Did not read the bug report carefully enough! >> On 10/13/2012 7:11 AM, Klaus on-rev wrote: >>> Hi friends, >>> >>> someone already experienced this? >>> >>> I have some long, but not too long, TAB delimited lines in a list field. >>> >>> Now some lines look like the very last item is on top of the first item, like this one: >>> >>> >>> And ALL of the lines do only hile a couple of pixels at the beginning, only part of the first character. >>> >>> I checked the length of these lines, but they are lower than the official limits: >>> Max characters per line in a field = 16 bit = 64 kb >>> LENGTH() of the lines is actually shorter than this limit < 6000. >>> >>> I already have a workaround, but wanted to know if this is a bug, before I report this. >>> >>> Any hints much appreciated, thanks! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From paul at researchware.com Sat Oct 13 11:45:52 2012 From: paul at researchware.com (Paul Dupuis) Date: Sat, 13 Oct 2012 11:45:52 -0400 Subject: display error bug for long lines in fields? In-Reply-To: <8BA40541-F226-4E6F-A92F-87FE0DBFE1C6@major.on-rev.com> References: <05F4B8B4-DAC4-4441-930E-E85C47CE1BB5@major.on-rev.com> <507968C1.6060904@researchware.com> <8BA40541-F226-4E6F-A92F-87FE0DBFE1C6@major.on-rev.com> Message-ID: <50798CB0.4040201@researchware.com> Klaus, Completely different symptoms. All the two bugs had in common was that the seemed to be related to very long lines. As I said, it *may* be related, but probably not. On 10/13/2012 10:14 AM, Klaus on-rev wrote: > Hi Paul, > > Am 13.10.2012 um 15:21 schrieb Klaus on-rev : > >> Hi Paul, >> Am 13.10.2012 um 15:12 schrieb Paul Dupuis : >>> It is not the same symptoms as you report, but we ran into a "long line" >>> rendering bug a while back (now resolved) in >>> http://quality.runrev.com/show_bug.cgi?id=10325 >>> It may be related. >> hmm, obviously this has NOT been resolve in 5.5.2! :-/ > oops, sorry, that one is NOT related to my problem! > Did not read the bug report carefully enough! > >>> On 10/13/2012 7:11 AM, Klaus on-rev wrote: >>>> Hi friends, >>>> >>>> someone already experienced this? >>>> >>>> I have some long, but not too long, TAB delimited lines in a list field. >>>> >>>> Now some lines look like the very last item is on top of the first item, like this one: >>>> >>>> >>>> And ALL of the lines do only hile a couple of pixels at the beginning, only part of the first character. >>>> >>>> I checked the length of these lines, but they are lower than the official limits: >>>> Max characters per line in a field = 16 bit = 64 kb >>>> LENGTH() of the lines is actually shorter than this limit < 6000. >>>> >>>> I already have a workaround, but wanted to know if this is a bug, before I report this. >>>> >>>> Any hints much appreciated, thanks! > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Paul Dupuis Cofounder Researchware, Inc. http://www.researchware.com/ http://www.twitter.com/researchware http://www.facebook.com/researchware http://www.linkedin.com/company/researchware-inc From richmondmathewson at gmail.com Sat Oct 13 11:54:33 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 13 Oct 2012 18:54:33 +0300 Subject: WINE 1.5.15 In-Reply-To: References: <50792045.3000402@gmail.com> Message-ID: <50798EB9.6040902@gmail.com> This is rather fun: put the systemVersion accurately reflects the Windows version WINE is set up to imitate. For "XP" it yields NT 5.1 as per documentation. and for "8" it yields NT 6.2, but as the documentation for RR/LC 4.5 doesn't stretch that far (and, one would suppose, it has been updated since then) I don't know how accurate that it. Richmond. From klaus at major.on-rev.com Sat Oct 13 12:04:51 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sat, 13 Oct 2012 18:04:51 +0200 Subject: display error bug for long lines in fields? In-Reply-To: <50798CB0.4040201@researchware.com> References: <05F4B8B4-DAC4-4441-930E-E85C47CE1BB5@major.on-rev.com> <507968C1.6060904@researchware.com> <8BA40541-F226-4E6F-A92F-87FE0DBFE1C6@major.on-rev.com> <50798CB0.4040201@researchware.com> Message-ID: <2669C5EF-7B1F-4326-B25A-6B109AF03FA6@major.on-rev.com> Hi Paul. Am 13.10.2012 um 17:45 schrieb Paul Dupuis : > Klaus, > > Completely different symptoms. All the two bugs had in common was that > the seemed to be related to very long lines. As I said, it *may* be > related, but probably not. they are a little related ;-) When I download the example stack, set the field to DONTWRAP and LIST behavior, the (incomplete) hilite looks exactly the same. I think this is a but and will report it... THEY are ciurrently EXTERMELY busy sqashing out bugs, so I will take the chance ;-) > On 10/13/2012 10:14 AM, Klaus on-rev wrote: >> Hi Paul, >> >> Am 13.10.2012 um 15:21 schrieb Klaus on-rev : >> >>> Hi Paul, >>> Am 13.10.2012 um 15:12 schrieb Paul Dupuis : >>>> It is not the same symptoms as you report, but we ran into a "long line" >>>> rendering bug a while back (now resolved) in >>>> http://quality.runrev.com/show_bug.cgi?id=10325 >>>> It may be related. >>> hmm, obviously this has NOT been resolve in 5.5.2! :-/ >> oops, sorry, that one is NOT related to my problem! >> Did not read the bug report carefully enough! >> >>>> On 10/13/2012 7:11 AM, Klaus on-rev wrote: >>>>> Hi friends, >>>>> >>>>> someone already experienced this? >>>>> >>>>> I have some long, but not too long, TAB delimited lines in a list field. >>>>> >>>>> Now some lines look like the very last item is on top of the first item, like this one: >>>>> >>>>> >>>>> And ALL of the lines do only hile a couple of pixels at the beginning, only part of the first character. >>>>> >>>>> I checked the length of these lines, but they are lower than the official limits: >>>>> Max characters per line in a field = 16 bit = 64 kb >>>>> LENGTH() of the lines is actually shorter than this limit < 6000. >>>>> >>>>> I already have a workaround, but wanted to know if this is a bug, before I report this. >>>>> >>>>> Any hints much appreciated, thanks! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From pete at lcsql.com Sat Oct 13 12:07:13 2012 From: pete at lcsql.com (Peter Haworth) Date: Sat, 13 Oct 2012 09:07:13 -0700 Subject: [ANN] lcStackBrowser V1.0.5 In-Reply-To: References: Message-ID: No problem Thierry, glad it works for you. Pete lcSQL Software On Fri, Oct 12, 2012 at 11:21 PM, Thierry Douez wrote: > 2012/10/13 Peter Haworth : > > > > - lcStackBrowser now provides a way for you to request a update of its > > display. This can be useful if your scripts trigger a change for > which the > > IDE does not have an equivalent message. > > > Kudos Peter :) > > I've implemented it in my PassWords manager plug-in and > it works like a charm ! > > Thanks for that. > > Regards, > > Thierry > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major.on-rev.com Sat Oct 13 12:32:51 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sat, 13 Oct 2012 18:32:51 +0200 Subject: display error bug for long lines in fields? In-Reply-To: <2669C5EF-7B1F-4326-B25A-6B109AF03FA6@major.on-rev.com> References: <05F4B8B4-DAC4-4441-930E-E85C47CE1BB5@major.on-rev.com> <507968C1.6060904@researchware.com> <8BA40541-F226-4E6F-A92F-87FE0DBFE1C6@major.on-rev.com> <50798CB0.4040201@researchware.com> <2669C5EF-7B1F-4326-B25A-6B109AF03FA6@major.on-rev.com> Message-ID: <63C31579-2023-489B-96FC-7737C86F6A3B@major.on-rev.com> Hi friends, > ... > I think this is a bug and will report it... > THEY are ciurrently EXTREMELY busy sqashing out bugs, so I will take the chance ;-) Done: Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From irog at mac.com Sat Oct 13 13:13:43 2012 From: irog at mac.com (Roger Guay) Date: Sat, 13 Oct 2012 10:13:43 -0700 Subject: Missing Digests Message-ID: <3D521922-64BA-46B6-AF24-696ECFD3B284@mac.com> Hi All, I recently noticed that I quite often do not receive the list digest. For example, I did not receive issues 25, 28, and 30. Is anyone else experiencing this? Thanks, Roger From dochawk at gmail.com Sat Oct 13 15:24:02 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 13 Oct 2012 12:24:02 -0700 Subject: getting ridiculous on skipped breakpoints Message-ID: Never mind little red dots; it's skipping multiple breakpoints now My button has the ever-so-complicated script of openDebtor "local" That script begins with on openDebtor host answer "in opendebtor" breakpoint breakpoint answer "still in opendebtor" put 7 breakpoint It skips past all of these breakpoints, enters the alternative of an IF, and proceeds to an "answer file" Usually, putting an answer before a breakpoint beats the IDE, but not this time . . . -- Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sat Oct 13 15:32:39 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 13 Oct 2012 12:32:39 -0700 Subject: display error bug for long lines in fields? In-Reply-To: <63C31579-2023-489B-96FC-7737C86F6A3B@major.on-rev.com> References: <05F4B8B4-DAC4-4441-930E-E85C47CE1BB5@major.on-rev.com> <507968C1.6060904@researchware.com> <8BA40541-F226-4E6F-A92F-87FE0DBFE1C6@major.on-rev.com> <50798CB0.4040201@researchware.com> <2669C5EF-7B1F-4326-B25A-6B109AF03FA6@major.on-rev.com> <63C31579-2023-489B-96FC-7737C86F6A3B@major.on-rev.com> Message-ID: On Sat, Oct 13, 2012 at 9:32 AM, Klaus on-rev wrote: > > Done: > Hmm, my developer login doesn't extend to that site, and it seems to have no registration option . . . -- Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Sat Oct 13 15:34:43 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 13 Oct 2012 22:34:43 +0300 Subject: [OT] Worrying quote of the month. Message-ID: <5079C253.6080907@gmail.com> Shuttleworth: 'Don't trust us? Erm, we have root. You do trust us with your data already.' http://distrowatch.com/weekly.php?issue=20121008#feature From dochawk at gmail.com Sat Oct 13 15:34:51 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 13 Oct 2012 12:34:51 -0700 Subject: getting ridiculous on skipped breakpoints In-Reply-To: References: Message-ID: On Sat, Oct 13, 2012 at 12:24 PM, Dr. Hawkins wrote: > Never mind little red dots; it's skipping multiple breakpoints now > D'oh! Never mind. Seems I had breakpoints turned off from the demo last weekend. That trip has let my mind in molasses all week . . . -- Richard E. Hawkins, Esq. (702) 508-8462 From bonnmike at gmail.com Sat Oct 13 15:35:04 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 13 Oct 2012 13:35:04 -0600 Subject: display error bug for long lines in fields? In-Reply-To: References: <05F4B8B4-DAC4-4441-930E-E85C47CE1BB5@major.on-rev.com> <507968C1.6060904@researchware.com> <8BA40541-F226-4E6F-A92F-87FE0DBFE1C6@major.on-rev.com> <50798CB0.4040201@researchware.com> <2669C5EF-7B1F-4326-B25A-6B109AF03FA6@major.on-rev.com> <63C31579-2023-489B-96FC-7737C86F6A3B@major.on-rev.com> Message-ID: Send an email to support requesting an account on the qcc site. On Sat, Oct 13, 2012 at 1:32 PM, Dr. Hawkins wrote: > On Sat, Oct 13, 2012 at 9:32 AM, Klaus on-rev >wrote: > > > > > Done: > > > > > Hmm, my developer login doesn't extend to that site, and it seems to have > no registration option . . . > > -- > Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sat Oct 13 15:39:29 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 13 Oct 2012 22:39:29 +0300 Subject: [OT] Worrying quote of the month. In-Reply-To: <5079C253.6080907@gmail.com> References: <5079C253.6080907@gmail.com> Message-ID: <5079C371.3000403@gmail.com> On 10/13/2012 10:34 PM, Richmond wrote: > Shuttleworth: 'Don't trust us? Erm, we have root. You do trust us with > your data already.' > > http://distrowatch.com/weekly.php?issue=20121008#feature http://www.infoworld.com/d/data-center/ubuntu-has-bigger-problem-its-amazon-blunder-203467 From andre.rombauts at gmail.com Sat Oct 13 16:39:18 2012 From: andre.rombauts at gmail.com (=?iso-8859-1?Q?Andr=E9_Rombauts?=) Date: Sat, 13 Oct 2012 22:39:18 +0200 Subject: Loading a stack in a running standalone Message-ID: <4DF3C9D8-52F4-4275-9242-868593ED1611@gmail.com> Hello there, My application loads a stack from a folder on the net and I'm trying to trap an error if the file cannot be loaded. go to stack url "http://mysite.tdl/lc/Ext.livecode" in a new window if the result is empty then put "OK" into the field "info" of stack"stkMain" else put the result into the field "info" of stack "stkMain" end if I'm getting a strange message... If the stack file is not present in the folder, the following message is displayed by the 'result' function: "stack was produced by a newer version" I thought I had to get "file not found" or something similar... Andr? From mwieder at ahsoftware.net Sat Oct 13 16:56:05 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 13 Oct 2012 13:56:05 -0700 Subject: Missing Digests In-Reply-To: <3D521922-64BA-46B6-AF24-696ECFD3B284@mac.com> References: <3D521922-64BA-46B6-AF24-696ECFD3B284@mac.com> Message-ID: <196416320281.20121013135605@ahsoftware.net> Roger- Saturday, October 13, 2012, 10:13:43 AM, you wrote: > I recently noticed that I quite often do not receive the list > digest. For example, I did not receive issues 25, 28, and 30. Is > anyone else experiencing this? I went off digest mode some years ago for much this same reason. I think if the mail server can't connect initially it doesn't retry. -- -Mark Wieder mwieder at ahsoftware.net From revlist at azurevision.co.uk Sat Oct 13 17:48:53 2012 From: revlist at azurevision.co.uk (Ian Wood) Date: Sat, 13 Oct 2012 22:48:53 +0100 Subject: Odin MySQL server and email server problems Message-ID: <86693D2C-A11F-4D74-9704-538FB4F3C426@azurevision.co.uk> I know the list isn't the place for On-Rev support problems but there's been no response via the emergency support form after more than two hours... Is anyone else on Odin having MySQL problems? cPanel is claiming that the MySQL server is offline and all my Drupal sites are non-responsive with 'Unable to connect to database server', while my On-Rev hosted email accounts haven't accepted any incoming messages for several hours. Is it just me? :-( Ian From ambassador at fourthworld.com Sat Oct 13 18:37:27 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 13 Oct 2012 15:37:27 -0700 Subject: strace Message-ID: <5079ED27.5090201@fourthworld.com> At my local Linux User Group meeting this last Thursday the main presentation was on strace, which I had previously known nothing about but now find it fascinating. strace lets you log calls between a given application and the kernel, with a variety of flags to govern the formatting of the output. I can imagine times when this may be useful in submitting bug reports on the Linux LiveCode engine. Have any of you Linux fans found strace useful in tracking down engine bugs? If so, please feel free to post the BZ# here or in an email to me offlist, along with any details you want to provide, and I may put together a brief tutorial on using strace for the LiveCode Journal site. TIA - -- 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 Sat Oct 13 19:14:52 2012 From: pete at lcsql.com (Peter Haworth) Date: Sat, 13 Oct 2012 16:14:52 -0700 Subject: Strict Compile Mode In-Reply-To: References: Message-ID: I just came across another instance of this situation. The variable you name in the catch part of try/catch does not have to be predefined in Strict Compile Mode. Pete lcSQL Software On Mon, Oct 8, 2012 at 1:15 PM, Peter Haworth wrote: > I was surprised to find that not all variables have to be defined in this > mode. It seems that using a variable in a repeat command such as "repeatwith x=1 to 10" does not require x to be defined as a local variable, nor > is an error flagged when x is used later in the handler, either within the > loop or after it. I can't decide if I like that or not. > From ambassador at fourthworld.com Sat Oct 13 19:25:56 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 13 Oct 2012 16:25:56 -0700 Subject: [OT] Worrying quote of the month. In-Reply-To: <5079C253.6080907@gmail.com> References: <5079C253.6080907@gmail.com> Message-ID: <5079F884.7080609@fourthworld.com> Richmond wrote: > Shuttleworth: 'Don't trust us? Erm, we have root. You do trust us with > your data already.' > > http://distrowatch.com/weekly.php?issue=20121008#feature Mark's just keeping it real, as we say in the States. If the fact that every OS vendor effectively has root on your system is troubling, it's time to leave computing. I went to the Ubuntu Developer Summit this last May, since it was finally held in California for the first time in many years. UDS happens twice every year right after a release, a week-long series of work sessions to plan the scope and sequence for the next release six months later. While I paid my own travel and lodging, most of the attendees are either employees of Canonical or steady contributors to the project, so most were fully sponsored by Canonical. In addition to covering travel and lodging, Canonical also provides two meals each day, with outside sponsors covering dinner most nights (Google uses a customized Ubuntu across a wide range of ops, and to show their support they not only catered dinner one night but threw one helluva party along with it). And all those UDS expenses are just two of the 52 weeks that make up what it takes to deliver Ubuntu twice each year. All year long Canonical has hundreds of employees to pay salaries to, in addition to making upstream contributions to the kernel, Gnome, Libre Office, and others, along with the other overhead that comes with running an organization of that scope. While Canonical does have revenue in the tens of millions annually it's not yet profitable, so the difference is coming out of Mark Shuttleworth's pocket. Personally, I have no problem with someone who's been giving away literally tens of millions of dollars (well, technically that would be "pounds") every year to build up a great OS using opportunities to try to make it profitable. There's more to open source than just "gimme gimme gimme". In fact, Ubuntu.com now has an optional donation page where you can not only contribute to the project, but decide how much of your donation goes to each of about a dozen categories, from hardware compatibility to UI design and more. If my shopping at Amazon can kick a few cents toward Ubuntu, I'm happy to do so. Anyone concerned about the built-in Amazon search can simply turn it off in Settings. -- 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 matthias_livecode_150811 at m-r-d.de Sat Oct 13 20:59:47 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 14 Oct 2012 02:59:47 +0200 Subject: Odin MySQL server and email server problems In-Reply-To: References: <86693D2C-A11F-4D74-9704-538FB4F3C426@azurevision.co.uk> Message-ID: <831DFFAC-80A1-49B6-B303-C67E9C83CF06@m-r-d.de> Hi Ian, i hope your support request was answered already. If not, did you use the e-mail you used for the purchase and did you use the word URGENT in the subject. I sent such an urgent email some time ago and wondered why i did not get a fast response like i did for previous support requests in the past. Heather told me, that i did not use my email address which i used when purchasing the on-rev package. Emergency emails are bound to that e-mail address and are only detected when using this email address which was used for purchase of that package. Regards, Matthias -- Matthias Rebbe matthias (at) rebbe.tk Tel +49.5741.310000 Tel +49.160.5504462 -- "Life is too short for boring code" Am 14.10.2012 um 02:58 schrieb Matthias Rebbe : > Hi Ian, > > i hope your support request was answered already. > If not, did you use the e-mail you used for the purchase and did you use the word URGENT in the subject. > I sent such an urgent email some time ago and wondered why i did not get a fast response like i did for previous support requests in the past. > > Heather told me, that i did not use my email address which i used when purchasing the on-rev package. Emergency emails are bound to that e-mail address and are only detected when using > this email address which was used for purchase of that package. > > Regards, > > Matthias > > > -- > Matthias Rebbe > matthias (at) rebbe.tk > Tel +49.5741.310000 > Tel +49.160.5504462 > -- > > > > > > > > > > > Am 13.10.2012 um 23:48 schrieb Ian Wood : > >> I know the list isn't the place for On-Rev support problems but there's been no response via the emergency support form after more than two hours... >> >> Is anyone else on Odin having MySQL problems? cPanel is claiming that the MySQL server is offline and all my Drupal sites are non-responsive with 'Unable to connect to database server', while my On-Rev hosted email accounts haven't accepted any incoming messages for several hours. >> >> Is it just me? :-( >> >> Ian >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Sat Oct 13 21:03:59 2012 From: pete at lcsql.com (Peter Haworth) Date: Sat, 13 Oct 2012 18:03:59 -0700 Subject: Audio clips Message-ID: Is there a way to pause an audio clip? Play and stop seem to work but I don't see a pause command and "play pause" doesn't work for audio clips. Pete lcSQL Software From pete at lcsql.com Sat Oct 13 21:20:34 2012 From: pete at lcsql.com (Peter Haworth) Date: Sat, 13 Oct 2012 18:20:34 -0700 Subject: Answer file filters Message-ID: It's probably just me but I'm having a hard time figuring out how to use the answer file filters by reading the description in the dictionary. I would like to limit the files displayed to those with an extension of .wav, .mp3, .aif (plus a couple of others) no matter which program created them. Will one single filter work on all platforms or do I have to code each one differently depending on platform? Pete lcSQL Software From ambassador at fourthworld.com Sat Oct 13 22:09:13 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 13 Oct 2012 19:09:13 -0700 Subject: Answer file filters In-Reply-To: References: Message-ID: <507A1EC9.20803@fourthworld.com> Peter Haworth wrote: > It's probably just me but I'm having a hard time figuring out how > to use the answer file filters by reading the description in the > dictionary. > > I would like to limit the files displayed to those with an extension > of .wav, .mp3, .aif (plus a couple of others) no matter which > program created them. Will one single filter work on all platforms > or do I have to code each one differently depending on platform? Be sure to check out the Dictionary entry for "answer file with type", as it has the more modern options. This example from that entry may help: answer files "Select the images you wish to view:" with type "JPEG Images|jpg|JPEG" -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From Mark_Smith at cpe.umanitoba.ca Sat Oct 13 22:22:53 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Sat, 13 Oct 2012 19:22:53 -0700 (PDT) Subject: iOS questions Message-ID: <1350181373627-4656338.post@n4.nabble.com> Two, hopefully very simple, questions: 1. can we detect the on/off button (upper right, towards the rear) on an iPad? 2. is there a tutorial around on how to add an application icon for an iPad program? Thanks -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/iOS-questions-tp4656338.html Sent from the Revolution - User mailing list archive at Nabble.com. From irog at mac.com Sat Oct 13 22:47:25 2012 From: irog at mac.com (Roger Guay) Date: Sat, 13 Oct 2012 19:47:25 -0700 Subject: Missing Digests Message-ID: Thanks, Mark. Guess I'll have to do the same. > I went off digest mode some years ago for much this same reason. I > think if the mail server can't connect initially it doesn't retry. > > -- > -Mark Wieder > > From monte at sweattechnologies.com Sun Oct 14 00:25:51 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 14 Oct 2012 15:25:51 +1100 Subject: iOS questions In-Reply-To: <1350181373627-4656338.post@n4.nabble.com> References: <1350181373627-4656338.post@n4.nabble.com> Message-ID: <153F24F4-C979-4473-BF90-C6A738E84F78@sweattechnologies.com> I don't think you can trap this event. Also I don't think there's a separate notification for this button as opposed to the system just going to sleep. But if you just want to know if the device is put to sleep eiher way with your app running then that's what mergNotify was invented for. You want UIApplicationWillResignActiveNotification and UIApplicationDidBecomeActiveNotification and these are in the demo. Cheers Monte -- M E R Goulding Software development services mergExt - There's an external for that! On 14/10/2012, at 1:22 PM, Mark Smith wrote: > 1. can we detect the on/off button (upper right, towards the rear) on an > iPad? From pete at lcsql.com Sun Oct 14 01:22:27 2012 From: pete at lcsql.com (Peter Haworth) Date: Sat, 13 Oct 2012 22:22:27 -0700 Subject: Answer file filters In-Reply-To: <507A1EC9.20803@fourthworld.com> References: <507A1EC9.20803@fourthworld.com> Message-ID: Thanks Richard, that helps a lot. I think I'll put a note on the ask files entry referring to the info in the ask file with type entry. Pete lcSQL Software On Sat, Oct 13, 2012 at 7:09 PM, Richard Gaskin wrote: > Peter Haworth wrote: > > > It's probably just me but I'm having a hard time figuring out how > > to use the answer file filters by reading the description in the > > dictionary. > > > > I would like to limit the files displayed to those with an extension > > of .wav, .mp3, .aif (plus a couple of others) no matter which > > program created them. Will one single filter work on all platforms > > or do I have to code each one differently depending on platform? > > Be sure to check out the Dictionary entry for "answer file with type", as > it has the more modern options. This example from that entry may help: > > answer files "Select the images you wish to view:" with type "JPEG > Images|jpg|JPEG" > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for Desktop, Mobile, and Web > ______________________________**______________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Sun Oct 14 01:24:33 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 14 Oct 2012 00:24:33 -0500 Subject: iOS questions In-Reply-To: <1350181373627-4656338.post@n4.nabble.com> References: <1350181373627-4656338.post@n4.nabble.com> Message-ID: <507A4C91.8030201@hyperactivesw.com> On 10/13/12 9:22 PM, Mark Smith wrote: > 2. is there a tutorial around on how to add an application icon for an iPad > program? It's a field in the iOS pane in standalone settings. Just choose a PNG from your hard drive. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revlist at azurevision.co.uk Sun Oct 14 04:03:40 2012 From: revlist at azurevision.co.uk (Ian Wood) Date: Sun, 14 Oct 2012 09:03:40 +0100 Subject: Odin MySQL server and email server problems In-Reply-To: <831DFFAC-80A1-49B6-B303-C67E9C83CF06@m-r-d.de> References: <86693D2C-A11F-4D74-9704-538FB4F3C426@azurevision.co.uk> <831DFFAC-80A1-49B6-B303-C67E9C83CF06@m-r-d.de> Message-ID: <96BE9A14-939D-44F7-8E91-E6DD331843CA@azurevision.co.uk> To follow up, it's now been sorted out. Yes, I used my registered email address after the emergency response form wasn't being answered. Ian On 14 Oct 2012, at 01:59, Matthias Rebbe wrote: > > Am 14.10.2012 um 02:58 schrieb Matthias Rebbe : > >> Hi Ian, >> >> i hope your support request was answered already. >> If not, did you use the e-mail you used for the purchase and did you use the word URGENT in the subject. >> I sent such an urgent email some time ago and wondered why i did not get a fast response like i did for previous support requests in the past. >> >> Heather told me, that i did not use my email address which i used when purchasing the on-rev package. Emergency emails are bound to that e-mail address and are only detected when using >> this email address which was used for purchase of that package. >> >> Regards, >> >> Matthias >> >> >> -- >> Matthias Rebbe >> matthias (at) rebbe.tk >> Tel +49.5741.310000 >> Tel +49.160.5504462 >> -- >> >> >> >> >> >> >> >> >> >> >> Am 13.10.2012 um 23:48 schrieb Ian Wood : >> >>> I know the list isn't the place for On-Rev support problems but there's been no response via the emergency support form after more than two hours... >>> >>> Is anyone else on Odin having MySQL problems? cPanel is claiming that the MySQL server is offline and all my Drupal sites are non-responsive with 'Unable to connect to database server', while my On-Rev hosted email accounts haven't accepted any incoming messages for several hours. >>> >>> Is it just me? :-( >>> >>> Ian >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Sun Oct 14 05:10:22 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 14 Oct 2012 11:10:22 +0200 Subject: getting ridiculous on skipped breakpoints In-Reply-To: References: Message-ID: Richard, Nevertheless, once breakpoints stop working, they won't start working again if you add another breakpoint. Putting breakpoint commands on multiple lines doesn't make much sense, but doesn't hurt either. -- 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 On 13 okt 2012, at 21:34, Dr. Hawkins wrote: > > D'oh! > > Never mind. Seems I had breakpoints turned off from the demo last > weekend. That trip has let my mind in molasses all week . . . From claudi.c at fiberworld.nl Sun Oct 14 05:21:00 2012 From: claudi.c at fiberworld.nl (Claudi Cornaz) Date: Sun, 14 Oct 2012 11:21:00 +0200 Subject: display error bug for long lines in fields? In-Reply-To: <05F4B8B4-DAC4-4441-930E-E85C47CE1BB5@major.on-rev.com> References: <05F4B8B4-DAC4-4441-930E-E85C47CE1BB5@major.on-rev.com> Message-ID: Hi Klaus, I have come acros this aswell. I found it has to do with the tabsstops. If you have many tabs in the line and the tabstops set to a 'big' number, I guess the last part of the line somehow exceeds a "graphic" limit. I managed to solve it by making the tabstops a bit smaller, so that the pixels occupied by the line became less. Hope this helps All the best, Claudi On 13 okt 2012, at 13:11, Klaus on-rev wrote: > Hi friends, > > someone already experienced this? > > I have some long, but not too long, TAB delimited lines in a list field. > > Now some lines look like the very last item is on top of the first item, like this one: > > > And ALL of the lines do only hile a couple of pixels at the beginning, only part of the first character. > > I checked the length of these lines, but they are lower than the official limits: > Max characters per line in a field = 16 bit = 64 kb > LENGTH() of the lines is actually shorter than this limit < 6000. > > I already have a workaround, but wanted to know if this is a bug, before I report this. > > Any hints much appreciated, thanks! > > > Best > > Klaus > > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major.on-rev.com Sun Oct 14 05:31:29 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sun, 14 Oct 2012 11:31:29 +0200 Subject: display error bug for long lines in fields? In-Reply-To: References: <05F4B8B4-DAC4-4441-930E-E85C47CE1BB5@major.on-rev.com> Message-ID: Hi Claudi, Am 14.10.2012 um 11:21 schrieb Claudi Cornaz : > Hi Klaus, > > I have come acros this aswell. I found it has to do > with the tabsstops. If you have many tabs in the line and the tabstops > set to a 'big' number, I guess the last part of the line somehow exceeds > a "graphic" limit. I managed to solve it by making the tabstops a bit smaller, > so that the pixels occupied by the line became less. ah, OK, that explains something, but doesn't solve my problem :-) > Hope this helps Not really, but thanks anyway, I bugreported it, now its up to the mothership ;-) > All the best, > Claudi Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From richmondmathewson at gmail.com Sun Oct 14 07:28:42 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 14 Oct 2012 14:28:42 +0300 Subject: [OT] Pray for Andre Message-ID: <507AA1EA.5080502@gmail.com> Another "quiet night in Rio" I see: http://www.bbc.co.uk/news/world-latin-america-19940440 From klaus at major.on-rev.com Sun Oct 14 09:12:49 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sun, 14 Oct 2012 15:12:49 +0200 Subject: Audio clips In-Reply-To: References: Message-ID: Hi Pete, Am 14.10.2012 um 03:03 schrieb Peter Haworth : > Is there a way to pause an audio clip? Play and stop seem to work but I > don't see a pause command and "play pause" doesn't work for audio clips. no "pause" with (imported) audioclips, just start and stop. > Pete Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From pmbrig at gmail.com Sun Oct 14 09:42:23 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sun, 14 Oct 2012 09:42:23 -0400 Subject: defaultcursor problem In-Reply-To: References: <21F92D23-B982-432D-B688-654864B4915D@gmail.com> Message-ID: <3FEEFFF1-AD5D-44D3-8EB5-158033E4A4B0@gmail.com> Actually, the whole point of the "defaultcursor" is that it is *not* reset at idle even without it being locked, whereas "the cursor" is reset at idle and must be locked to be persistent. Setting the defaultcursor used to work over an unlocked, editable field, but it doesn't any more. Checking the dictionary for "defaultcursor": "The defaultCursor is the shape used automatically when the mouse pointer is in a stack window, but not in an editable field." so apparently the behavior was changed for an editable field in some version <= 4.5 and I only noticed it now. Bummer. Before I discovered the defaultcursor I did what Andr? Bisseret suggested and had a mousemove handler for locking and setting "the cursor" but I always ran into problems with the cursor staying locked at random points. I always assumed that the engine had missed firing off a mouseleave message -- I had put my "unlock cursor" command in an "on mouseleave" handler. Then I'd be left with a locked cursor and would have to unlock it via the messagebox. I could never pin down a recipe for this. Andr?'s/Eric's solution is similar to what I used before. I'll try it out again and see if over time I still get stray locked cursors. BTW, the handlers as you posted them, Andr?, have a problem: once you hold down the commandkey while moving over a word and the cursor changes to hand, it won't change back when you lift the commandkey, until you move out of the field. I revised Eric's mousemove handler accordingly (and note the addition of a pass mousemove command at the end, in case individual fields have individual mousemove behaviors): on mouseMove switch case "button" is in the target ShowHandCursor # break ---==== case "field" is in the target switch case the commandkey is up ResetCursor break case the lockText of the target is false if the mousetext = empty then ResetCursor else if "link" is in the textStyle of the mouseChunk then ShowHandCursor end if break end switch break default ResetCursor # end switch pass mousemove end mouseMove ------------------------------ on mouseLeave ResetCursor # end mouseLeave ------------------------------ on ShowHandCursor set the cursor to hand lock cursor end ShowHandCursor ------------------------------ on ResetCursor unlock cursor end ResetCursor On Oct 12, 2012, at 12:31 PM, Bob Sneidar wrote: > Lock the cursor first. If you don't, it will revert the first idle it gets. As someone mentioned use the cursor. Locking it will prevent the reversion you are seeing. (It actually is changing but so fast you can't see it.) > > Bob > > > On Oct 12, 2012, at 6:06 AM, Peter M. Brigham wrote: > >> Anyone have an idea why this doesn't work? Put the following into the script of an unlocked field: >> >> on mousemove >> put the commandkey is down into cmK >> if cmK then >> set the defaultcursor to hand >> else >> set the defaultcursor to empty >> end if >> end mousemove >> >> I want the cursor to become "hand" with the commandkey down, but it simply remains a bar over an unlocked field. I swear this used to work, but for some reason it no longer does. 2008 MacBook, OSX 10.7.4 (Lion), Rev Studio 4.5.3, build 1210 >> >> -- 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 Sun Oct 14 10:07:42 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sun, 14 Oct 2012 10:07:42 -0400 Subject: [UPDATE] Free 'Clearview' desktop clock v1.5 In-Reply-To: <50788D48.8020000@hyperactivesw.com> References: <50788D48.8020000@hyperactivesw.com> Message-ID: <88B4A4FC-B38C-4032-B0B5-553519B8415C@gmail.com> OK, Jacque, it's finally time for you to pull together the ultimate LC time travel tool, the one where the user can pull a fully debugged version of his\her beta software back from the future and distribute it now -- or even distribute it last year, before all the competitors got off the ground and dominated the market. What are you waiting for? OK, now I'm off to the past to start a thread on this list having to do with time travel, I'm going to beat you to it. But I can already see that that didn't work, I must have tried posting it before I joined the list and the message got bounced. This is all so tricky?. On Oct 12, 2012, at 5:36 PM, J. Landman Gay wrote: > On 10/12/12 3:54 PM, Bob Sneidar wrote: >> Isn't this how Jacque's Time Travel stack started? Didn't she >> distribute some kind of time stack freely to everyone, until they >> reached critical mass and became sentient? Heck, maybe this is what >> started (is starting/is going to start) everything! Time travel >> paradoxes are so confusing! > > I don't know how it started because it hasn't started yet. I did see it briefly yesterday when I was checking on next week, but it had already been started by then. > > All that aside, I do question how many of us are sentient. But that's a different research project. > > -- > 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 mikekann at yahoo.com Sun Oct 14 11:06:49 2012 From: mikekann at yahoo.com (Michael Kann) Date: Sun, 14 Oct 2012 08:06:49 -0700 (PDT) Subject: Audio clips In-Reply-To: Message-ID: <1350227209.59996.YahooMailClassic@web120504.mail.ne1.yahoo.com> Peter, You can make a poor man's pause btn using the following idea: -------------------------------------------- --- stop btn --- stop audio and save point audio is stopped -------------------------------------------- on mouseUp ?? stop player? 1 ?? put the currentTime of player 1 into fld "store_cur_time" end mouseUp -------------------------------------------- --- resume from stopped point -------------------------------------------- on mouseUp ? put fld "store_cur_time" into cur_time ? set the currentTime of player 1 to cur_time ? play player 1 end mouseUp ------------------------------------------- Mike --- On Sat, 10/13/12, Peter Haworth wrote: From: Peter Haworth Subject: Audio clips To: "How to use LiveCode" Date: Saturday, October 13, 2012, 8:03 PM Is there a way to pause an audio clip?? Play and stop seem to work but I don't see a pause command and "play pause" doesn't work for audio clips. 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 Sun Oct 14 11:29:15 2012 From: pete at lcsql.com (Peter Haworth) Date: Sun, 14 Oct 2012 08:29:15 -0700 Subject: Audio clips In-Reply-To: <1350227209.59996.YahooMailClassic@web120504.mail.ne1.yahoo.com> References: <1350227209.59996.YahooMailClassic@web120504.mail.ne1.yahoo.com> Message-ID: Thanks Michael, looks like that should work. Pete lcSQL Software On Sun, Oct 14, 2012 at 8:06 AM, Michael Kann wrote: > Peter, > > You can make a poor man's pause btn using the following idea: > -------------------------------------------- > --- stop btn > > --- stop audio and save point audio is stopped > > -------------------------------------------- > on mouseUp > stop player 1 > put the currentTime of player 1 into fld "store_cur_time" > end mouseUp > -------------------------------------------- > --- resume from stopped point > > -------------------------------------------- > on mouseUp > put fld "store_cur_time" into cur_time > set the currentTime of player 1 to cur_time > play player 1 > end mouseUp > ------------------------------------------- > > Mike > > > --- On Sat, 10/13/12, Peter Haworth wrote: > > From: Peter Haworth > Subject: Audio clips > To: "How to use LiveCode" > Date: Saturday, October 13, 2012, 8:03 PM > > Is there a way to pause an audio clip? Play and stop seem to work but I > don't see a pause command and "play pause" doesn't work for audio clips. > 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 jiml at netrin.com Sun Oct 14 11:40:52 2012 From: jiml at netrin.com (Jim Lambert) Date: Sun, 14 Oct 2012 08:40:52 -0700 Subject: Missing Digests In-Reply-To: References: Message-ID: <2425C08A-5722-45F1-BC6D-3C5A4006F4A9@netrin.com> Roger wrote: > > I recently noticed that I quite often do not receive the list digest. For example, I did not receive issues 25, 28, and 30. Is anyone else experiencing this? Not me. All those digests arrived properly as they usually do. Jim Lambert From irog at mac.com Sun Oct 14 11:45:53 2012 From: irog at mac.com (Roger Guay) Date: Sun, 14 Oct 2012 08:45:53 -0700 Subject: Missing Digests In-Reply-To: <2425C08A-5722-45F1-BC6D-3C5A4006F4A9@netrin.com> References: <2425C08A-5722-45F1-BC6D-3C5A4006F4A9@netrin.com> Message-ID: Thanks, Jim. On Oct 14, 2012, at 8:40 AM, Jim Lambert wrote: > Roger wrote: >> >> I recently noticed that I quite often do not receive the list digest. For example, I did not receive issues 25, 28, and 30. Is anyone else experiencing this? > > Not me. All those digests arrived properly as they usually do. > > Jim Lambert From klaus at major.on-rev.com Sun Oct 14 11:49:15 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sun, 14 Oct 2012 17:49:15 +0200 Subject: Audio clips In-Reply-To: References: <1350227209.59996.YahooMailClassic@web120504.mail.ne1.yahoo.com> Message-ID: <236539B9-F9EF-4F0D-B777-5C0474870AC8@major.on-rev.com> Hi Pete, Am 14.10.2012 um 17:29 schrieb Peter Haworth : > Thanks Michael, looks like that should work. hmm, sure this will work with a PLAYER object, even without storing the currenttime***, but you were asking for a possibility with the "PLAY" command 8-) "play" is for use with imported audio- and videoclips, the "official" syntax for player objects is "start player XYZ", although "play player XYZ" obviously also works. But THAT syntax really hurts me :-D ***Unless you set the currenttime of a player back to 0, any "start player XYZ" will continue at the exact time where you told it to "stop player XYZ". > Pete > lcSQL Software Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From mikekann at yahoo.com Sun Oct 14 11:50:37 2012 From: mikekann at yahoo.com (Michael Kann) Date: Sun, 14 Oct 2012 08:50:37 -0700 (PDT) Subject: Two hours until the highest jump In-Reply-To: Message-ID: <1350229837.48563.YahooMailClassic@web120502.mail.ne1.yahoo.com> http://www.washingtonpost.com/blogs/innovations/post/felix-baumgartner-tries-record-breaking-jump-again-live-blog/2012/10/14/b7ddfc18-159d-11e2-be82-c3411b7680a9_blog.html?hpid=z2 If anyone is interested in the highest skydive, it is being webcast live. Very much down to earth, Mike From mikekann at yahoo.com Sun Oct 14 11:58:58 2012 From: mikekann at yahoo.com (Michael Kann) Date: Sun, 14 Oct 2012 08:58:58 -0700 (PDT) Subject: Audio clips In-Reply-To: <236539B9-F9EF-4F0D-B777-5C0474870AC8@major.on-rev.com> Message-ID: <1350230338.11501.YahooMailClassic@web120501.mail.ne1.yahoo.com> Klaus, Thanks for the clarification. You're posts are always very educational. Mike --- On Sun, 10/14/12, Klaus on-rev wrote: From: Klaus on-rev Subject: Re: Audio clips To: "How to use LiveCode" Date: Sunday, October 14, 2012, 10:49 AM Hi Pete, Am 14.10.2012 um 17:29 schrieb Peter Haworth : > Thanks Michael, looks like that should work. hmm, sure this will work with a PLAYER object, even without storing the currenttime***, but you were asking for a possibility with the "PLAY" command 8-) "play" is for use with imported audio- and videoclips, the "official" syntax for player objects is "start player XYZ", although "play player XYZ" obviously also works. But THAT syntax really hurts me :-D ***Unless you set the currenttime of a player back to 0, any "start player XYZ" will continue at the exact time where you told it to "stop player XYZ". > Pete > lcSQL Software Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mikekann at yahoo.com Sun Oct 14 12:04:17 2012 From: mikekann at yahoo.com (Michael Kann) Date: Sun, 14 Oct 2012 09:04:17 -0700 (PDT) Subject: Audio clips In-Reply-To: <1350230338.11501.YahooMailClassic@web120501.mail.ne1.yahoo.com> Message-ID: <1350230657.15921.YahooMailClassic@web120501.mail.ne1.yahoo.com> Klaus, Don't depend on me for learning English. It should be: Your posts are always very educational. (Which is very true.) Mike --- On Sun, 10/14/12, Michael Kann wrote: From: Michael Kann Subject: Re: Audio clips To: "How to use LiveCode" Date: Sunday, October 14, 2012, 10:58 AM Klaus, Thanks for the clarification. You're posts are always very educational. Mike --- On Sun, 10/14/12, Klaus on-rev wrote: From: Klaus on-rev Subject: Re: Audio clips To: "How to use LiveCode" Date: Sunday, October 14, 2012, 10:49 AM Hi Pete, Am 14.10.2012 um 17:29 schrieb Peter Haworth : > Thanks Michael, looks like that should work. hmm, sure this will work with a PLAYER object, even without storing the currenttime***, but you were asking for a possibility with the "PLAY" command 8-) "play" is for use with imported audio- and videoclips, the "official" syntax for player objects is "start player XYZ", although "play player XYZ" obviously also works. But THAT syntax really hurts me :-D ***Unless you set the currenttime of a player back to 0, any "start player XYZ" will continue at the exact time where you told it to "stop player XYZ". > Pete > lcSQL Software Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major.on-rev.com Sun Oct 14 12:11:00 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sun, 14 Oct 2012 18:11:00 +0200 Subject: Audio clips In-Reply-To: <1350230657.15921.YahooMailClassic@web120501.mail.ne1.yahoo.com> References: <1350230657.15921.YahooMailClassic@web120501.mail.ne1.yahoo.com> Message-ID: Hi Michael, Am 14.10.2012 um 18:04 schrieb Michael Kann : > Klaus, > > Don't depend on me for learning English. I'd NEVER do that! :-D > It should be: > Your posts are always very educational. (Which is very true.) Thank you! > Mike Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From stephenREVOLUTION2 at barncard.com Sun Oct 14 15:44:56 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 14 Oct 2012 12:44:56 -0700 Subject: Audio clips In-Reply-To: References: <1350230657.15921.YahooMailClassic@web120501.mail.ne1.yahoo.com> Message-ID: If you can locate the late Eric Chatonet's lesson stack about 'how to make a music player', you will find everything you need to make a 'perfect' player that you can 'skin'. It has fast-forward, a progress bar that's grabbable, a common play-pause button and all the artwork for the 12 or so button states. The code is tight and works perfectly with the player. It was offered free on his site with his other lessons. Eric was a master. contact me off-list if you can't find it. It should be public but is not accessible. So Smart software domain is active, but shows an Apache startup screen at the moment. Hopefully someone has decided to resurrect the site.... On Sun, Oct 14, 2012 at 9:11 AM, Klaus on-rev wrote: > Hi Michael, > > Am 14.10.2012 um 18:04 schrieb Michael Kann : > > > Klaus, > > > > Don't depend on me for learning English. > > I'd NEVER do that! :-D > > > It should be: > > Your posts are always very educational. (Which is very true.) > > Thank you! > > > Mike > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From livfoss at mac.com Sun Oct 14 15:58:59 2012 From: livfoss at mac.com (Graham Samuel) Date: Sun, 14 Oct 2012 21:58:59 +0200 Subject: Missing Digests In-Reply-To: References: Message-ID: Ironically I missed Roger's original post because I didn't get Digest 32, which it was in - presumably! Recently FWIW I have missed several digests: 22, 25, 30 and 32 to name recent ones. I guess I should write to Heather about it. Graham On un, 14 Oct 2012 08:40:52 -07000, Jim Lambert wrote: > Roger wrote: >> >> I recently noticed that I quite often do not receive the list digest. For example, I did not receive issues 25, 28, and 30. Is anyone else experiencing this? > > Not me. All those digests arrived properly as they usually do. > > Jim Lambert From irog at mac.com Sun Oct 14 16:04:27 2012 From: irog at mac.com (Roger Guay) Date: Sun, 14 Oct 2012 13:04:27 -0700 Subject: Missing Digests In-Reply-To: References: Message-ID: <4C947883-1452-4ACD-A6F3-8F6F48D548AF@mac.com> I tried Heather before posting to the list, but I got no answer! Roger On Oct 14, 2012, at 12:58 PM, Graham Samuel wrote: > Ironically I missed Roger's original post because I didn't get Digest 32, which it was in - presumably! > > Recently FWIW I have missed several digests: 22, 25, 30 and 32 to name recent ones. I guess I should write to Heather about it. > > Graham > > On un, 14 Oct 2012 08:40:52 -07000, Jim Lambert wrote: >> Roger wrote: >>> >>> I recently noticed that I quite often do not receive the list digest. For example, I did not receive issues 25, 28, and 30. Is anyone else experiencing this? >> >> Not me. All those digests arrived properly as they usually do. >> >> Jim Lambert > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Oct 14 16:04:41 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 14 Oct 2012 15:04:41 -0500 Subject: [UPDATE] Free 'Clearview' desktop clock v1.5 In-Reply-To: <88B4A4FC-B38C-4032-B0B5-553519B8415C@gmail.com> References: <50788D48.8020000@hyperactivesw.com> <88B4A4FC-B38C-4032-B0B5-553519B8415C@gmail.com> Message-ID: <507B1AD9.7070308@hyperactivesw.com> On 10/14/12 9:07 AM, Peter M. Brigham wrote: > OK, Jacque, it's finally time for you to pull together the ultimate > LC time travel tool, the one where the user can pull a fully debugged > version of his\her beta software back from the future and distribute > it now -- or even distribute it last year, before all the competitors > got off the ground and dominated the market. What are you waiting > for? Mostly I'm waiting until I've started. > > OK, now I'm off to the past to start a thread on this list having to > do with time travel, I'm going to beat you to it. But I can already > see that that didn't work, I must have tried posting it before I > joined the list and the message got bounced. This is all so tricky?. I think you may have set one of the dials wrong, causing us both to hijack this thread instead. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rjearp at hotmail.com Sun Oct 14 16:52:30 2012 From: rjearp at hotmail.com (Bob Earp) Date: Sun, 14 Oct 2012 13:52:30 -0700 Subject: Missing Digests Message-ID: Roger, I am amazed how some folks on this list manage to keep up with Digests, never mind individual posts. I seem to blink and three more digests appear in my InBox. The obviously don't sleep, have no lives, and have found the way to bend time ;-) Anyway, I have a love - hate relationship with the LC lists, which are the only ones I subscribe to these days. I absolutely love them from the plethora of information they provide and the incredible support from the subscribees (is that a word ?). I hate them for taking so much time to read, and doubly hate them when twits post totally useless drivel. I was going to say the latter know who they are, but suspect that is not the case, and maybe I am a culprit with this post !! Anyway, one thing I have always wished for is a decent reader that would let me read the posts as I want to, which is likely different to everybody else. The least I'd like to do is click on an index item and jump to the message, but I'm sure being able to selectively display threads would be of benefit too. I know there have been various readers built in the past, and of course there is also the archive and search capabilities on-line, but so far they've all fell a slice or two short of a picnic. Maybe it is time for you and I to build a new one or better still start an openSource one ;-) best, Bob... Bob Earp White Rock, British Columbia. From irog at mac.com Sun Oct 14 17:10:43 2012 From: irog at mac.com (Roger Guay) Date: Sun, 14 Oct 2012 14:10:43 -0700 Subject: Missing Digests In-Reply-To: References: Message-ID: I hear ya, Bob! I find that going to the archive by date is very convenient for monitoring the list, but of course you can't just point and click to reply from there. Honestly, I wouldn't know where to start to build such an interface. Cheers, Roger On Oct 14, 2012, at 1:52 PM, Bob Earp wrote: > Roger, > I am amazed how some folks on this list manage to keep up with Digests, never mind individual posts. I seem to blink and three more digests appear in my InBox. The obviously don't sleep, have no lives, and have found the way to bend time ;-) > > Anyway, I have a love - hate relationship with the LC lists, which are the only ones I subscribe to these days. I absolutely love them from the plethora of information they provide and the incredible support from the subscribees (is that a word ?). I hate them for taking so much time to read, and doubly hate them when twits post totally useless drivel. I was going to say the latter know who they are, but suspect that is not the case, and maybe I am a culprit with this post !! > > Anyway, one thing I have always wished for is a decent reader that would let me read the posts as I want to, which is likely different to everybody else. The least I'd like to do is click on an index item and jump to the message, but I'm sure being able to selectively display threads would be of benefit too. I know there have been various readers built in the past, and of course there is also the archive and search capabilities on-line, but so far they've all fell a slice or two short of a picnic. > > Maybe it is time for you and I to build a new one or better still start an openSource one ;-) > > best, Bob... > > Bob Earp > White Rock, British Columbia. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Sun Oct 14 17:10:53 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 14 Oct 2012 14:10:53 -0700 Subject: Missing Digests In-Reply-To: References: Message-ID: Jerry Daniels made a list reader about 6 years ago. He'd make a weekly video and talk about Revolution topics from the list. It looked pretty basic, and an example of 'screen scraping', methinks. On Sun, Oct 14, 2012 at 1:52 PM, Bob Earp wrote: > Roger, > I am amazed how some folks on this list manage to keep up with Digests, > never mind individual posts. I seem to blink and three more digests appear > in my InBox. The obviously don't sleep, have no lives, and have found the > way to bend time ;-) > > Anyway, I have a love - hate relationship with the LC lists, which are the > only ones I subscribe to these days. I absolutely love them from the > plethora of information they provide and the incredible support from the > subscribees (is that a word ?). I hate them for taking so much time to > read, and doubly hate them when twits post totally useless drivel. I was > going to say the latter know who they are, but suspect that is not the > case, and maybe I am a culprit with this post !! > > Anyway, one thing I have always wished for is a decent reader that would > let me read the posts as I want to, which is likely different to everybody > else. The least I'd like to do is click on an index item and jump to the > message, but I'm sure being able to selectively display threads would be of > benefit too. I know there have been various readers built in the past, > and of course there is also the archive and search capabilities on-line, > but so far they've all fell a slice or two short of a picnic. > > Maybe it is time for you and I to build a new one or better still start an > openSource one ;-) > > best, Bob... > > Bob Earp > White Rock, British Columbia. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From jacque at hyperactivesw.com Sun Oct 14 17:29:05 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 14 Oct 2012 16:29:05 -0500 Subject: Missing Digests In-Reply-To: References: Message-ID: <507B2EA1.2070308@hyperactivesw.com> On 10/14/12 4:10 PM, Roger Guay wrote: > I find that going to the archive by date is very convenient for > monitoring the list, but of course you can't just point and click to > reply from there. You know about this? : -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Oct 14 17:35:28 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 14 Oct 2012 16:35:28 -0500 Subject: Missing Digests In-Reply-To: References: Message-ID: <507B3020.9050002@hyperactivesw.com> On 10/14/12 3:52 PM, Bob Earp wrote: > I hate them for taking so much time to read, and doubly hate them > when twits post totally useless drivel. I think I'm guilty of some of that. If you get the list as individual emails it's (maybe too) easy to post a quick reply, which encourages tangents. Some of it can be amusing though, I don't mind those. I filter all email from lists.runrev.com into their own email folder. The subject of the post is also the subject of the email, so you know immediately what it's about and don't need to open the ones of no interest. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From irog at mac.com Sun Oct 14 18:09:29 2012 From: irog at mac.com (RogGuay) Date: Sun, 14 Oct 2012 15:09:29 -0700 (PDT) Subject: Missing Digests In-Reply-To: <507B2EA1.2070308@hyperactivesw.com> References: <3D521922-64BA-46B6-AF24-696ECFD3B284@mac.com> <507B2EA1.2070308@hyperactivesw.com> Message-ID: <1350252569910-4656369.post@n4.nabble.com> Thanks, Jacqueline. Looks like this just might be the thing! I wonder how many other gems out there that I'm not aware of?? Roger > You know about this? : > http://runtime-revolution.278305.n4.nabble.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Missing-Digests-tp4656321p4656369.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Sun Oct 14 18:21:42 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 14 Oct 2012 17:21:42 -0500 Subject: Missing Digests In-Reply-To: <1350252569910-4656369.post@n4.nabble.com> References: <3D521922-64BA-46B6-AF24-696ECFD3B284@mac.com> <507B2EA1.2070308@hyperactivesw.com> <1350252569910-4656369.post@n4.nabble.com> Message-ID: <507B3AF6.1020200@hyperactivesw.com> On 10/14/12 5:09 PM, RogGuay wrote: > Thanks, Jacqueline. Looks like this just might be the thing! I wonder how > many other gems out there that I'm not aware of?? The one at gmane, maybe: But I use Nabble more. > > Roger > > > > >> You know about this? : > >> http://runtime-revolution.278305.n4.nabble.com > > > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Missing-Digests-tp4656321p4656369.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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From Mark_Smith at cpe.umanitoba.ca Sun Oct 14 18:52:05 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Sun, 14 Oct 2012 15:52:05 -0700 (PDT) Subject: iOS questions In-Reply-To: <153F24F4-C979-4473-BF90-C6A738E84F78@sweattechnologies.com> References: <1350181373627-4656338.post@n4.nabble.com> <153F24F4-C979-4473-BF90-C6A738E84F78@sweattechnologies.com> Message-ID: <1350255125074-4656371.post@n4.nabble.com> Jacque, thanks for the pointer re: the icon. Monte, what I want to do is encrypt the file (mergeAES) before the system shuts down or hibernates. Essentially trap it and send a shutdown/close stack request to myself so I can terminate in an orderly fashion. Doable? Thanks -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/iOS-questions-tp4656338p4656371.html Sent from the Revolution - User mailing list archive at Nabble.com. From monte at sweattechnologies.com Sun Oct 14 19:01:54 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 15 Oct 2012 10:01:54 +1100 Subject: iOS questions In-Reply-To: <1350255125074-4656371.post@n4.nabble.com> References: <1350181373627-4656338.post@n4.nabble.com> <153F24F4-C979-4473-BF90-C6A738E84F78@sweattechnologies.com> <1350255125074-4656371.post@n4.nabble.com> Message-ID: > Monte, what I want to do is encrypt the file (mergeAES) before the system > shuts down or hibernates. Essentially trap it and send a shutdown/close > stack request to myself so I can terminate in an orderly fashion. Doable? mergNotify "UIApplicationWillResignActiveNotification" on UIApplicationWillResignActiveNotification -- do your encryption here end UIApplicationWillResignActiveNotification Cheers Monte -- 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 Oct 14 19:42:52 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Sun, 14 Oct 2012 16:42:52 -0700 (PDT) Subject: iOS questions In-Reply-To: References: <1350181373627-4656338.post@n4.nabble.com> <153F24F4-C979-4473-BF90-C6A738E84F78@sweattechnologies.com> <1350255125074-4656371.post@n4.nabble.com> Message-ID: <1350258172454-4656373.post@n4.nabble.com> Monte Goulding wrote > on UIApplicationWillResignActiveNotification > -- do your encryption here > end UIApplicationWillResignActiveNotification Thanks -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/iOS-questions-tp4656338p4656373.html Sent from the Revolution - User mailing list archive at Nabble.com. From Mark_Smith at cpe.umanitoba.ca Sun Oct 14 23:10:13 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Sun, 14 Oct 2012 20:10:13 -0700 (PDT) Subject: iOS questions In-Reply-To: References: <1350181373627-4656338.post@n4.nabble.com> <153F24F4-C979-4473-BF90-C6A738E84F78@sweattechnologies.com> <1350255125074-4656371.post@n4.nabble.com> Message-ID: <1350270613724-4656374.post@n4.nabble.com> Monte Goulding wrote > on UIApplicationWillResignActiveNotification > -- do your encryption here > end UIApplicationWillResignActiveNotification I'm going to try: on UIApplicationWillResignActiveNotification close this stack end UIApplicationWillResignActiveNotification and see if we can get an orderly shutdown with encryption and all (all the code to handle it is in the closestack handler) which is also sent when you press the "home" button. Interestingly I just checked the docs on the home button and its not mentioned except in reference to the screen orientation. But clearly when you press home it sends a "closestack" message and shuts down the application. Strange how this would not be documented (unless I missed it)? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/iOS-questions-tp4656338p4656374.html Sent from the Revolution - User mailing list archive at Nabble.com. From monte at sweattechnologies.com Sun Oct 14 23:28:43 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 15 Oct 2012 14:28:43 +1100 Subject: iOS questions In-Reply-To: <1350270613724-4656374.post@n4.nabble.com> References: <1350181373627-4656338.post@n4.nabble.com> <153F24F4-C979-4473-BF90-C6A738E84F78@sweattechnologies.com> <1350255125074-4656371.post@n4.nabble.com> <1350270613724-4656374.post@n4.nabble.com> Message-ID: <512BB48E-818B-4D03-9DD4-DA2B4317D161@sweattechnologies.com> On 15/10/2012, at 2:10 PM, Mark Smith wrote: > Monte Goulding wrote >> on UIApplicationWillResignActiveNotification >> -- do your encryption here >> end UIApplicationWillResignActiveNotification > > I'm going to try: > > > on UIApplicationWillResignActiveNotification > close this stack > end UIApplicationWillResignActiveNotification Hmm... I'm not positive that's the best plan as you will probably find your stack is closed when the user awakens their phone. I would suggest something like this: on closeStack encryptItAll end encryptItAll on UIApplicationWillResignActiveNotification encryptItAll end UIApplicationWillResignActiveNotification on encryptItAll -- do your encryption and save end encryptItAll If you really want to force quit at sleep then try: on UIApplicationWillResignActiveNotification quit end UIApplicationWillResignActiveNotification Not sure if apple will be happy about that though.... Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From mwieder at ahsoftware.net Mon Oct 15 00:10:58 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 14 Oct 2012 21:10:58 -0700 Subject: Missing Digests In-Reply-To: <507B2EA1.2070308@hyperactivesw.com> References: <507B2EA1.2070308@hyperactivesw.com> Message-ID: <110528814531.20121014211058@ahsoftware.net> Jacque- Sunday, October 14, 2012, 2:29:05 PM, you wrote: > You know about this? : > Ugh. Nabble seems to have a better thread view than gmane, but gmane looks a lot better on the screen. Is there any way to strip out all the webby cruft? -- -Mark Wieder mwieder at ahsoftware.net From klaus at major.on-rev.com Mon Oct 15 05:52:03 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 15 Oct 2012 11:52:03 +0200 Subject: PSD file with iPhone 5 GUI elements Message-ID: <26506B52-C454-4ADD-912A-3ACF0F07ACDD@major.on-rev.com> Hi friends, in case you need to create an iPhone 5 GUI, these guys supply a free PSD file with all the UI elements like they did before for iPhone 3 and 4: Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From simon at asato-media.com Mon Oct 15 09:51:39 2012 From: simon at asato-media.com (As_Simon) Date: Mon, 15 Oct 2012 06:51:39 -0700 (PDT) Subject: Answer file filters In-Reply-To: References: Message-ID: <1350309099623-4656378.post@n4.nabble.com> I just got bitten by this. Need glasses to see it but it's *.mp3 *.wav... **** Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Answer-file-filters-tp4656336p4656378.html Sent from the Revolution - User mailing list archive at Nabble.com. From toolbook at kestner.de Mon Oct 15 10:16:13 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 15 Oct 2012 16:16:13 +0200 Subject: problems with loading externals Message-ID: <007301cdaadf$a289a110$e79ce330$@de> Hi, LC 4.6.2 on Wf. Where can I check, if and which externals are loaded successfully? In one of my old stacks the "revxml" externals seems not to be loaded anymore in the standalone and only sometimes after several restarts in the IDE. Asking for the externalPackages of stack "myMainStack" shows empty. When working in the IDE I can ask for the external Packages in stack "home", but in the standalone? Creating a blank new stack the revxml is loaded successfully and works fine, but not in my old stack. Is there a chance to force load it or something more I can check? Thanks for any advice Tiemo From livfoss at mac.com Mon Oct 15 10:29:58 2012 From: livfoss at mac.com (Graham Samuel) Date: Mon, 15 Oct 2012 16:29:58 +0200 Subject: Dumb question about deployment to iPad3 Message-ID: <74FDE7AD-C717-41F4-9579-E4D4A6CE3CFC@mac.com> I have an iPad app in development which worked pretty well in earlier versions of LC and XCode and which I can run in the iOS 6 simulator as iPad only, Arm7 only. But I don't see how to simulate the Retina Display (double the number of pixels) of the iPad 3. It appears that what I am simulating is an iPad 2 - certainly the simulator is using my original splash screen designed for the old iPad resolution and not the new one I prepared. This has got to be obvious, but what do I do to see the Retina Display simulated? I don't have a real hi-res iPad to test on. TIA Graham From cmsheffield at me.com Mon Oct 15 11:35:02 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Mon, 15 Oct 2012 09:35:02 -0600 Subject: Dumb question about deployment to iPad3 In-Reply-To: <74FDE7AD-C717-41F4-9579-E4D4A6CE3CFC@mac.com> References: <74FDE7AD-C717-41F4-9579-E4D4A6CE3CFC@mac.com> Message-ID: Graham, Make sure the simulator is running, then go to Hardware -> Device menu and select iPad (Retina). :-) Chris On Oct 15, 2012, at 8:29 AM, Graham Samuel wrote: > I have an iPad app in development which worked pretty well in earlier versions of LC and XCode and which I can run in the iOS 6 simulator as iPad only, Arm7 only. But I don't see how to simulate the Retina Display (double the number of pixels) of the iPad 3. It appears that what I am simulating is an iPad 2 - certainly the simulator is using my original splash screen designed for the old iPad resolution and not the new one I prepared. > > This has got to be obvious, but what do I do to see the Retina Display simulated? I don't have a real hi-res iPad to test on. > > 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 andre at andregarzia.com Mon Oct 15 11:43:11 2012 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 15 Oct 2012 12:43:11 -0300 Subject: [OT] Pray for Andre In-Reply-To: <507AA1EA.5080502@gmail.com> References: <507AA1EA.5080502@gmail.com> Message-ID: Thanks Richmond, I am doing well here. I actually live in Niter?i which is the city on the other side of the bay everyone sees on the postcard. I've been living with those kinds of raid since forever so its no as impressive for us as it is for foreigners. I live reasonably close to two slums which surround the prime real estate area of my city. After 32 years of this sh*t, you learn how to manage it. I think this was one of the reasons I was so amazed when I went to Edinburgh and saw people late at night with cameras and laptops walking on the meadows. In Rio you would not dare to do that. At least it never gets dull or boring. For those wanting to see a "faithful" representation of Rio thru movies, I recommend "City Of God" which is an action movie set on the slum called City Of God. It is a fantastic movie. I also recommend both "Elite Troop" and "Elite Troop 2" which are action movies about Rio de Janeiro Special Ops Troop. That police force is called BOPE (Special Police Operations Battalion), all their gear is black and their symbol is a skull crossed with knifes and this is the police. Actually I saw one of them last week, I counted four pistols and a machine gun on a single guy. The movie is great because its not your typical movie about crazy police force against bad crime lords. It shows how corruption works on Rio all the way from the mayor office to the slums and inside the police force. US and European watchers who never saw anything about south american exciting life style as told by ourselves will have a great and enlightening experience with those movies. :-) :-) On Sun, Oct 14, 2012 at 8:28 AM, Richmond wrote: > Another "quiet night in Rio" I see: > > http://www.bbc.co.uk/news/**world-latin-america-19940440 > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From pete at lcsql.com Mon Oct 15 12:13:54 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 15 Oct 2012 09:13:54 -0700 Subject: Audio clips In-Reply-To: <236539B9-F9EF-4F0D-B777-5C0474870AC8@major.on-rev.com> References: <1350227209.59996.YahooMailClassic@web120504.mail.ne1.yahoo.com> <236539B9-F9EF-4F0D-B777-5C0474870AC8@major.on-rev.com> Message-ID: Hi Klaus, So the proposed solution only works with a player control, not with imported audio clips? I'm kinda puzzled by this since, if the dictionary is to be believed, it is possible to pause and resume imported video clips, but not audio clips. Pete lcSQL Software On Sun, Oct 14, 2012 at 8:49 AM, Klaus on-rev wrote: > hmm, sure this will work with a PLAYER object, even without storing the > currenttime***, > but you were asking for a possibility with the "PLAY" command 8-) > From klaus at major.on-rev.com Mon Oct 15 12:28:03 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 15 Oct 2012 18:28:03 +0200 Subject: Audio clips In-Reply-To: References: <1350227209.59996.YahooMailClassic@web120504.mail.ne1.yahoo.com> <236539B9-F9EF-4F0D-B777-5C0474870AC8@major.on-rev.com> Message-ID: Hi Pete, Am 15.10.2012 um 18:13 schrieb Peter Haworth : > Hi Klaus, > So the proposed solution only works with a player control, not with > imported audio clips? Exactly. > I'm kinda puzzled by this since, if the dictionary is to be believed, it is > possible to pause and resume imported video clips, but not audio clips. Yes, sad but true! Keep in mind that the "play" command was developed in the last century and never modified/enhanced until today ;-) That's why so few file formats are supported with "play". > Pete > lcSQL Software Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From bobs at twft.com Mon Oct 15 12:30:28 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Oct 2012 09:30:28 -0700 Subject: Unpopularity of global variables - why? In-Reply-To: <33338305328.20121012161550@ahsoftware.net> References: <62336F82-D476-433E-9508-2FC7D4CB937F@mac.com> <139330266265.20121012140151@ahsoftware.net> <00059E5D-7C89-4DA0-89FA-B3F93440F531@twft.com> <33338305328.20121012161550@ahsoftware.net> Message-ID: <21DE2A48-30F5-4C13-85CE-203C905B4A38@twft.com> I'll check it out but as I recall with 5.0 it still crashed. On Oct 12, 2012, at 4:15 PM, Mark Wieder wrote: > Bob- > > Friday, October 12, 2012, 2:29:04 PM, you wrote: > >> And may I add, if RunRev would get off their butts about the >> variable breakpoint CTD bug, it would be really simple to find out >> where a thing is going wrong! Set a breakpoint on a global, and when >> it changes unexpectedly, there you go! Honestly, for a feature that >> would prove so incredibly helpful, shouldn't they fix this first >> before releasing any more features?? (Or did they already? Am I like >> that old lady in SNL? "Oh, well then... NEVER MIND!") > > According to my notes, that's bug #6506 and was fixed in build > 4.5-dp2 (6 Feb 2010). > > -- > -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 bobs at twft.com Mon Oct 15 12:36:35 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Oct 2012 09:36:35 -0700 Subject: Strict Compile Mode In-Reply-To: References: Message-ID: <23A7AC34-53BA-4D6A-99E7-33097BA750AA@twft.com> I'm willing to bet that none of the variables supplied as an argument to a command or function do. Eg. on mouseup pButtonNum On Oct 13, 2012, at 4:14 PM, Peter Haworth wrote: > I just came across another instance of this situation. The variable you > name in the catch part of try/catch does not have to be predefined in > Strict Compile Mode. > Pete > lcSQL Software > > > > On Mon, Oct 8, 2012 at 1:15 PM, Peter Haworth wrote: > >> I was surprised to find that not all variables have to be defined in this >> mode. It seems that using a variable in a repeat command such as "repeatwith x=1 to 10" does not require x to be defined as a local variable, nor >> is an error flagged when x is used later in the handler, either within the >> loop or after it. I can't decide if I like that or not. >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Oct 15 12:40:40 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 15 Oct 2012 11:40:40 -0500 Subject: [OT] Pray for Andre In-Reply-To: References: <507AA1EA.5080502@gmail.com> Message-ID: <507C3C88.6070603@hyperactivesw.com> On 10/15/12 10:43 AM, Andre Garzia wrote: > I think this was one of the reasons I was so amazed when I went to > Edinburgh and saw people late at night with cameras and laptops walking on > the meadows. In Rio you would not dare to do that. That's exactly what impressed me most about Edinburgh too. You couldn't do that in America either, at least, not in most big cities. I was amazed at how casual people were in the streets at 2 AM. I wish Richmond had titled this thread differently, when I saw the subject I almost had a heart attack. I thought something had happened to you. Glad you wrote. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Mon Oct 15 12:47:23 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Oct 2012 09:47:23 -0700 Subject: [UPDATE] Free 'Clearview' desktop clock v1.5 In-Reply-To: <507B1AD9.7070308@hyperactivesw.com> References: <50788D48.8020000@hyperactivesw.com> <88B4A4FC-B38C-4032-B0B5-553519B8415C@gmail.com> <507B1AD9.7070308@hyperactivesw.com> Message-ID: On Oct 14, 2012, at 1:04 PM, J. Landman Gay wrote: > On 10/14/12 9:07 AM, Peter M. Brigham wrote: >> OK, Jacque, it's finally time for you to pull together the ultimate >> LC time travel tool, the one where the user can pull a fully debugged >> version of his\her beta software back from the future and distribute >> it now -- or even distribute it last year, before all the competitors >> got off the ground and dominated the market. What are you waiting >> for? > > Mostly I'm waiting until I've started. I'm just waiting to get my sock back. Bob From roger.e.eller at sealedair.com Mon Oct 15 12:52:13 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 15 Oct 2012 12:52:13 -0400 Subject: [UPDATE] Free 'Clearview' desktop clock v1.5 In-Reply-To: References: <50788D48.8020000@hyperactivesw.com> <88B4A4FC-B38C-4032-B0B5-553519B8415C@gmail.com> <507B1AD9.7070308@hyperactivesw.com> Message-ID: On Mon, Oct 15, 2012 at 12:47 PM, Bob Sneidar wrote: > > On Oct 14, 2012, at 1:04 PM, J. Landman Gay wrote: > > > On 10/14/12 9:07 AM, Peter M. Brigham wrote: > >> OK, Jacque, it's finally time for you to pull together the ultimate > >> LC time travel tool, the one where the user can pull a fully debugged > >> version of his\her beta software back from the future and distribute > >> it now -- or even distribute it last year, before all the competitors > >> got off the ground and dominated the market. What are you waiting > >> for? > > > > Mostly I'm waiting until I've started. > > > I'm just waiting to get my sock back. > > Bob Socks are not available on mobile. ;-p ~Roger From bobs at twft.com Mon Oct 15 12:52:21 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Oct 2012 09:52:21 -0700 Subject: Missing Digests In-Reply-To: <507B3020.9050002@hyperactivesw.com> References: <507B3020.9050002@hyperactivesw.com> Message-ID: When I encounter useless drivel, or what I consider to be, I just delete it. That is why it's a great habit to develop, to use descriptive subjects. I'm not sure I would call anyone on the list a twit though. I get the distinct impression they are all much smarter than me... unless you were specifically referring to me. Bob On Oct 14, 2012, at 2:35 PM, J. Landman Gay wrote: > On 10/14/12 3:52 PM, Bob Earp wrote: >> I hate them for taking so much time to read, and doubly hate them >> when twits post totally useless drivel. > > I think I'm guilty of some of that. If you get the list as individual emails it's (maybe too) easy to post a quick reply, which encourages tangents. Some of it can be amusing though, I don't mind those. > > I filter all email from lists.runrev.com into their own email folder. The subject of the post is also the subject of the email, so you know immediately what it's about and don't need to open the ones of no interest. > > -- > Jacqueline Landman Gay From roger.e.eller at sealedair.com Mon Oct 15 12:53:54 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 15 Oct 2012 12:53:54 -0400 Subject: [UPDATE] Free 'Clearview' desktop clock v1.5 In-Reply-To: References: <50788D48.8020000@hyperactivesw.com> <88B4A4FC-B38C-4032-B0B5-553519B8415C@gmail.com> <507B1AD9.7070308@hyperactivesw.com> Message-ID: On Mon, Oct 15, 2012 at 12:52 PM, Roger Eller wrote: > On Mon, Oct 15, 2012 at 12:47 PM, Bob Sneidar wrote: > > >> On Oct 14, 2012, at 1:04 PM, J. Landman Gay wrote: >> >> > On 10/14/12 9:07 AM, Peter M. Brigham wrote: >> >> OK, Jacque, it's finally time for you to pull together the ultimate >> >> LC time travel tool, the one where the user can pull a fully debugged >> >> version of his\her beta software back from the future and distribute >> >> it now -- or even distribute it last year, before all the competitors >> >> got off the ground and dominated the market. What are you waiting >> >> for? >> > >> > Mostly I'm waiting until I've started. >> >> >> I'm just waiting to get my sock back. >> >> Bob > > > Socks are not available on mobile. ;-p > > ~Roger > > Erm, I mean sockets. (shorter socks). ;-o ~Roger From mpetrides at earthlink.net Mon Oct 15 13:00:33 2012 From: mpetrides at earthlink.net (Petrides, M.D. Marian) Date: Mon, 15 Oct 2012 13:00:33 -0400 Subject: [OT] Pray for Andre In-Reply-To: References: <507AA1EA.5080502@gmail.com> Message-ID: Thanks for the movie recommendations, Andre. I will definitely try to find a copy of City of God to rent--sounds like I could learn a lot from it. On Oct 15, 2012, at 11:43 AM, Andre Garzia wrote: > Thanks Richmond, > > I am doing well here. I actually live in Niter?i which is the city on the > other side of the bay everyone sees on the postcard. I've been living with > those kinds of raid since forever so its no as impressive for us as it is > for foreigners. I live reasonably close to two slums which surround the > prime real estate area of my city. After 32 years of this sh*t, you learn > how to manage it. > > I think this was one of the reasons I was so amazed when I went to > Edinburgh and saw people late at night with cameras and laptops walking on > the meadows. In Rio you would not dare to do that. At least it never gets > dull or boring. For those wanting to see a "faithful" representation of Rio > thru movies, I recommend "City Of God" which is an action movie set on the > slum called City Of God. It is a fantastic movie. I also recommend both > "Elite Troop" and "Elite Troop 2" which are action movies about Rio de > Janeiro Special Ops Troop. That police force is called BOPE (Special Police > Operations Battalion), all their gear is black and their symbol is a skull > crossed with knifes and this is the police. Actually I saw one of them last > week, I counted four pistols and a machine gun on a single guy. The movie > is great because its not your typical movie about crazy police force > against bad crime lords. It shows how corruption works on Rio all the way > from the mayor office to the slums and inside the police force. US and > European watchers who never saw anything about south american exciting life > style as told by ourselves will have a great and enlightening experience > with those movies. > > :-) > > :-) > > On Sun, Oct 14, 2012 at 8:28 AM, Richmond wrote: > >> Another "quiet night in Rio" I see: >> >> http://www.bbc.co.uk/news/**world-latin-america-19940440 >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Oct 15 13:00:55 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Oct 2012 10:00:55 -0700 Subject: [OT] Pray for Andre In-Reply-To: References: <507AA1EA.5080502@gmail.com> Message-ID: I wish they would make a documentary in the US detailing the horrors the drug market in the "civilized" world actually causes in other countries, and then show it in all the public schools. I think a lot, although not all, kids just getting into smoking pot or thinking about other drugs would not, if they knew that their demand for these things caused this much harm to others. I can remember the first time I because aware of it, and thought back on my early days when I was a pot head. The thing that took me back was that I had never given any thought to it. I had never connected the dots. We need to connect the dots for our children when they are young. Bob On Oct 15, 2012, at 8:43 AM, Andre Garzia wrote: > Thanks Richmond, > > I am doing well here. I actually live in Niter?i which is the city on the > other side of the bay everyone sees on the postcard. I've been living with > those kinds of raid since forever so its no as impressive for us as it is > for foreigners. I live reasonably close to two slums which surround the > prime real estate area of my city. After 32 years of this sh*t, you learn > how to manage it. > > I think this was one of the reasons I was so amazed when I went to > Edinburgh and saw people late at night with cameras and laptops walking on > the meadows. In Rio you would not dare to do that. At least it never gets > dull or boring. For those wanting to see a "faithful" representation of Rio > thru movies, I recommend "City Of God" which is an action movie set on the > slum called City Of God. It is a fantastic movie. I also recommend both > "Elite Troop" and "Elite Troop 2" which are action movies about Rio de > Janeiro Special Ops Troop. That police force is called BOPE (Special Police > Operations Battalion), all their gear is black and their symbol is a skull > crossed with knifes and this is the police. Actually I saw one of them last > week, I counted four pistols and a machine gun on a single guy. The movie > is great because its not your typical movie about crazy police force > against bad crime lords. It shows how corruption works on Rio all the way > from the mayor office to the slums and inside the police force. US and > European watchers who never saw anything about south american exciting life > style as told by ourselves will have a great and enlightening experience > with those movies. > > :-) > > :-) > > On Sun, Oct 14, 2012 at 8:28 AM, Richmond wrote: > >> Another "quiet night in Rio" I see: >> >> http://www.bbc.co.uk/news/**world-latin-america-19940440 >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Mon Oct 15 13:03:08 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 15 Oct 2012 10:03:08 -0700 Subject: Audio clips In-Reply-To: References: <1350227209.59996.YahooMailClassic@web120504.mail.ne1.yahoo.com> <236539B9-F9EF-4F0D-B777-5C0474870AC8@major.on-rev.com> Message-ID: I wondered about the lack of formats! Just ran into another issue with this, although videoclips this time. I imported a .avi videoclip into a stack. When I try to play it, I get the spinning beachball forever and have to force quit the IDE. This is OS X 10.7.4, LC 5.5.0. Pete lcSQL Software On Mon, Oct 15, 2012 at 9:28 AM, Klaus on-rev wrote: > Yes, sad but true! > > Keep in mind that the "play" command was developed in the last century > and never modified/enhanced until today ;-) > > That's why so few file formats are supported with "play". > From jacque at hyperactivesw.com Mon Oct 15 12:58:55 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 15 Oct 2012 11:58:55 -0500 Subject: [UPDATE] Free 'Clearview' desktop clock v1.5 In-Reply-To: References: <50788D48.8020000@hyperactivesw.com> <88B4A4FC-B38C-4032-B0B5-553519B8415C@gmail.com> <507B1AD9.7070308@hyperactivesw.com> Message-ID: <507C40CF.8050301@hyperactivesw.com> On 10/15/12 11:52 AM, Roger Eller wrote: > On Mon, Oct 15, 2012 at 12:47 PM, Bob Sneidar wrote: > >> >> On Oct 14, 2012, at 1:04 PM, J. Landman Gay wrote: >> >>> On 10/14/12 9:07 AM, Peter M. Brigham wrote: >>>> OK, Jacque, it's finally time for you to pull together the ultimate >>>> LC time travel tool, the one where the user can pull a fully debugged >>>> version of his\her beta software back from the future and distribute >>>> it now -- or even distribute it last year, before all the competitors >>>> got off the ground and dominated the market. What are you waiting >>>> for? >>> >>> Mostly I'm waiting until I've started. >> >> >> I'm just waiting to get my sock back. >> >> Bob > > > Socks are not available on mobile. ;-p Ewww.... LOL! -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major.on-rev.com Mon Oct 15 13:16:22 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 15 Oct 2012 19:16:22 +0200 Subject: Audio clips In-Reply-To: References: <1350227209.59996.YahooMailClassic@web120504.mail.ne1.yahoo.com> <236539B9-F9EF-4F0D-B777-5C0474870AC8@major.on-rev.com> Message-ID: Hi Pete, Am 15.10.2012 um 19:03 schrieb Peter Haworth : > I wondered about the lack of formats! > > Just ran into another issue with this, although videoclips this time. I > imported a .avi videoclip into a stack. When I try to play it, I get the > spinning beachball forever and have to force quit the IDE. This is OS X > 10.7.4, LC 5.5.0. Yep, AVI is one of the "newer" file formats not comaptible with the "play" command :-) What works are FLC*** videos (I already forgot what that is a loooong time ago) and the MPG video format. ***This has definitively NOTHING to do with Flash! Check this: My good advice, forget PLAY except for playing a short sound clip (like a mouse click sound) in AU or UNCOMPRESSED AIF or WAV format, but only ONE at a time ;-) > Pete > lcSQL Software Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From ambassador at fourthworld.com Mon Oct 15 13:17:49 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 15 Oct 2012 10:17:49 -0700 Subject: [OT] Pray for Andre In-Reply-To: References: Message-ID: <507C453D.5040201@fourthworld.com> Bob Sneidar wrote: > I wish they would make a documentary in the US detailing the horrors > the drug market in the "civilized" world actually causes in other > countries, and then show it in all the public schools. I think a lot, > although not all, kids just getting into smoking pot or thinking > about other drugs would not, if they knew that their demand for these > things caused this much harm to others. I can remember the first time > I because aware of it, and thought back on my early days when I was a > pot head. The thing that took me back was that I had never given any > thought to it. I had never connected the dots. We need to connect the > dots for our children when they are young. The true gateway drug is booze, and booze has a big lobby. We will never have a reason-based discussion of substance abuse in our culture as long as our media is owned by a small number of companies, some of whom make booze and all of whom earn big bucks from booze advertising. -- 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 klaus at major.on-rev.com Mon Oct 15 13:28:54 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 15 Oct 2012 19:28:54 +0200 Subject: [OT] Pray for Andre In-Reply-To: <507C453D.5040201@fourthworld.com> References: <507C453D.5040201@fourthworld.com> Message-ID: <2831E9F5-04DA-43FC-A9B0-828716A57FC2@major.on-rev.com> Hi Richard, Am 15.10.2012 um 19:17 schrieb Richard Gaskin : > Bob Sneidar wrote: > > I wish they would make a documentary in the US detailing the horrors > > the drug market in the "civilized" world actually causes in other > > countries, and then show it in all the public schools. I think a lot, > > although not all, kids just getting into smoking pot or thinking > > about other drugs would not, if they knew that their demand for these > > things caused this much harm to others. I can remember the first time > > I because aware of it, and thought back on my early days when I was a > > pot head. The thing that took me back was that I had never given any > > thought to it. I had never connected the dots. We need to connect the > > dots for our children when they are young. > > The true gateway drug is booze, and booze has a big lobby. Yep, and you may twist and turn it, the other true gateway drug is TOBACCO! Which doesn't even give you an intoxication***, so tobacco addiction is in fact a weird waste of money ;-) *** Is this the correct term? > We will never have a reason-based discussion of substance abuse in our culture as long as our media is owned by a small number of companies, some of whom make booze and all of whom earn big bucks from booze advertising. > > -- > 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 Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From bobs at twft.com Mon Oct 15 13:34:05 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Oct 2012 10:34:05 -0700 Subject: [OT] Pray for Andre In-Reply-To: <507C453D.5040201@fourthworld.com> References: <507C453D.5040201@fourthworld.com> Message-ID: <91DC1326-B2B9-46E2-9385-A4D657665B59@twft.com> Just poking around in Google, I didn't find any references to any alcohol companies or breweries owning any of the major media outlets like ABC, NBC, CBS, MSNBC, CNN of Fox. Do you have any references I could look at? This interests me. Bob On Oct 15, 2012, at 10:17 AM, Richard Gaskin wrote: > We will never have a reason-based discussion of substance abuse in our culture as long as our media is owned by a small number of companies, some of whom make booze and all of whom earn big bucks from booze advertising. > > -- > Richard Gaskin From rene.micout at numericable.com Mon Oct 15 13:43:37 2012 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Mon, 15 Oct 2012 19:43:37 +0200 Subject: Set the layer Message-ID: <1C158932-4163-4146-9224-985BBA8344FC@numericable.com> Hello every body, I have a stack with several groups, in one group I have a button named "btnStepper". There is 126 controls. My "btnStepper" have layer 124. When I type in the Message box : set the layer of btn "btnStepper" to 123 I have this message error : "Script compile error: Error description: request: error in message expression" I don't understand... Have somebody an explanation ? Thank you Ren? From pete at lcsql.com Mon Oct 15 13:47:59 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 15 Oct 2012 10:47:59 -0700 Subject: Audio clips In-Reply-To: References: <1350227209.59996.YahooMailClassic@web120504.mail.ne1.yahoo.com> <236539B9-F9EF-4F0D-B777-5C0474870AC8@major.on-rev.com> Message-ID: Thanks Klaus, I'm beginning to think I shouldn't be messing with playing audio/videoclips. Only reason I'm doing it is because a user of my lcStackbrowser plugin requested support for them. I guess I can still provide support to import them and show them in the display but leave playing of them to the user to deal with. However, I should mention that the dictionary says of video clips: "Video clips can be in QuickTime, AVI, or MPEG format." Only reason I mention this is because I plan to enter a QCC bug report if AVI really is a supported format. Pete lcSQL Software On Mon, Oct 15, 2012 at 10:16 AM, Klaus on-rev wrote: > Yep, AVI is one of the "newer" file formats not comaptible with the "play" > command :-) > What works are FLC*** videos (I already forgot what that is a loooong time > ago) and > the MPG video format. > > ***This has definitively NOTHING to do with Flash! > > Check this: > > > My good advice, forget PLAY except for playing a short sound clip (like a > mouse click sound) > in AU or UNCOMPRESSED AIF or WAV format, but only ONE at a time ;-) > From ambassador at fourthworld.com Mon Oct 15 13:53:56 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 15 Oct 2012 10:53:56 -0700 Subject: [OT] Pray for Andre In-Reply-To: <91DC1326-B2B9-46E2-9385-A4D657665B59@twft.com> References: <91DC1326-B2B9-46E2-9385-A4D657665B59@twft.com> Message-ID: <507C4DB4.6040105@fourthworld.com> Bob Sneidar wrote: > On Oct 15, 2012, at 10:17 AM, Richard Gaskin wrote: > >> We will never have a reason-based discussion of substance abuse >> in our culture as long as our media is owned by a small number >> of companies, some of whom make booze and all of whom earn big >> bucks from booze advertising. > > Just poking around in Google, I didn't find any references to > any alcohol companies or breweries owning any of the major media > outlets like ABC, NBC, CBS, MSNBC, CNN of Fox. Do you have any > references I could look at? This interests me. Seagram's media holdings include Universal Studios, MCA, PolyGram, and Deutsche Grammophon. Seagram also gained control of a number of Universal theme parks. That and other info on the ever-shrinking number of media ownership companies in this colorful chart: -- 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 Mon Oct 15 13:51:22 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 15 Oct 2012 12:51:22 -0500 Subject: [OT] Pray for Andre In-Reply-To: <2831E9F5-04DA-43FC-A9B0-828716A57FC2@major.on-rev.com> References: <507C453D.5040201@fourthworld.com> <2831E9F5-04DA-43FC-A9B0-828716A57FC2@major.on-rev.com> Message-ID: <507C4D1A.2010304@hyperactivesw.com> On 10/15/12 12:28 PM, Klaus on-rev wrote: > Yep, and you may twist and turn it, the other true gateway drug is TOBACCO! > Which doesn't even give you an intoxication***, so tobacco addiction is in fact a weird waste of money ;-) > > *** Is this the correct term? Yes, that term works. Actually nicotine does have a sort of intoxication, there's a buzz, especially if you go without for a few hours. The next cigarette makes you feel a little stoned. If you keep your nicotine level constant then there's no buzz. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Mon Oct 15 14:01:24 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 15 Oct 2012 11:01:24 -0700 Subject: Set the layer In-Reply-To: <1C158932-4163-4146-9224-985BBA8344FC@numericable.com> References: <1C158932-4163-4146-9224-985BBA8344FC@numericable.com> Message-ID: <507C4F74.6090702@fourthworld.com> Ren? Micout wrote: > I have a stack with several groups, in one group I have a button named "btnStepper". There is 126 controls. > My "btnStepper" have layer 124. When I type in the Message box : > > set the layer of btn "btnStepper" to 123 > > I have this message error : > "Script compile error: > Error description: request: error in message expression" > > I don't understand... Have somebody an explanation ? This is just a hunch, and I don't know why this would cause a compile error rather than an execution error, but if those objects are within groups you may need (with great caution) to set the relayerGroupedControls property to true before performing the relayering of its members. -- 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 klaus at major.on-rev.com Mon Oct 15 14:06:15 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 15 Oct 2012 20:06:15 +0200 Subject: Audio clips In-Reply-To: References: <1350227209.59996.YahooMailClassic@web120504.mail.ne1.yahoo.com> <236539B9-F9EF-4F0D-B777-5C0474870AC8@major.on-rev.com> Message-ID: Hi Pete, Am 15.10.2012 um 19:47 schrieb Peter Haworth : > Thanks Klaus, I'm beginning to think I shouldn't be messing with playing > audio/videoclips. Only reason I'm doing it is because a user of my > lcStackbrowser plugin requested support for them. I guess I can still > provide support to import them and show them in the display but leave > playing of them to the user to deal with. A strange idea might be to try to play audio and video in a BROWSER object! Chances are good that this might actually work :-) > However, I should mention that the dictionary says of video clips: > "Video clips can be in QuickTime, AVI, or MPEG format." No comment! > Only reason I mention this is because I plan to enter a QCC bug report if > AVI really is a supported format. Don't, thats a waste of time, since it is HIGHLY unlikely that RunRev will ever "pimp" the PLAY command. On the other hand, AVI is just a container for different file video codecs, just like QuickTime. > Pete > lcSQL Software Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From klaus at major.on-rev.com Mon Oct 15 14:08:24 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 15 Oct 2012 20:08:24 +0200 Subject: [OT] Pray for Andre In-Reply-To: <507C4D1A.2010304@hyperactivesw.com> References: <507C453D.5040201@fourthworld.com> <2831E9F5-04DA-43FC-A9B0-828716A57FC2@major.on-rev.com> <507C4D1A.2010304@hyperactivesw.com> Message-ID: Hi Jaqueline, Am 15.10.2012 um 19:51 schrieb "J. Landman Gay" : > On 10/15/12 12:28 PM, Klaus on-rev wrote: > >> Yep, and you may twist and turn it, the other true gateway drug is TOBACCO! >> Which doesn't even give you an intoxication***, so tobacco addiction is in fact a weird waste of money ;-) >> >> *** Is this the correct term? > > Yes, that term works. Actually nicotine does have a sort of intoxication, there's a buzz, especially if you go without for a few hours. The next cigarette makes you feel a little stoned. If you keep your nicotine level constant then there's no buzz. AHA! Thanks for the info. I obviously did not smoke enough cigarettes in the past to experience this :-) > -- > 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.on-rev.com From rene.micout at numericable.com Mon Oct 15 14:16:32 2012 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Mon, 15 Oct 2012 20:16:32 +0200 Subject: Set the layer In-Reply-To: <507C4F74.6090702@fourthworld.com> References: <1C158932-4163-4146-9224-985BBA8344FC@numericable.com> <507C4F74.6090702@fourthworld.com> Message-ID: <4E73B9AC-EA19-4597-A8DF-357D4D80F686@numericable.com> Thank you Richard, but I have skirted my problem... with hide and show some controls rather than change their layers... Ren? Le 15 oct. 2012 ? 20:01, Richard Gaskin a ?crit : > Ren? Micout wrote: > >> I have a stack with several groups, in one group I have a button named "btnStepper". There is 126 controls. >> My "btnStepper" have layer 124. When I type in the Message box : >> >> set the layer of btn "btnStepper" to 123 >> >> I have this message error : >> "Script compile error: >> Error description: request: error in message expression" >> >> I don't understand... Have somebody an explanation ? > > This is just a hunch, and I don't know why this would cause a compile error rather than an execution error, but if those objects are within groups you may need (with great caution) to set the relayerGroupedControls property to true before performing the relayering of its members. > > -- > 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 th.douez at gmail.com Mon Oct 15 14:23:53 2012 From: th.douez at gmail.com (Thierry Douez) Date: Mon, 15 Oct 2012 20:23:53 +0200 Subject: [OT] Pray for Andre In-Reply-To: References: <507C453D.5040201@fourthworld.com> <2831E9F5-04DA-43FC-A9B0-828716A57FC2@major.on-rev.com> <507C4D1A.2010304@hyperactivesw.com> Message-ID: 2012/10/15 Klaus on-rev : > Hi Jaqueline, >> >> Yes, that term works. Actually nicotine does have a sort of intoxication, there's a buzz, especially if you go without for a few hours. The next cigarette makes you feel a little stoned. If you keep your nicotine level constant then there's no buzz. > > AHA! Thanks for the info. > I obviously did not smoke enough cigarettes in the past to experience this :-) > Funny, that's exactly what happened to me when I stop Livecoding for a while :) Couldn't resist :) Thierry > Best > Klaus > From kray at sonsothunder.com Mon Oct 15 15:09:01 2012 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 15 Oct 2012 14:09:01 -0500 Subject: Unpopularity of global variables - why? In-Reply-To: <5078CE42.1010500@hyperactivesw.com> References: <62336F82-D476-433E-9508-2FC7D4CB937F@mac.com> <4A94C0D9-5ABC-4A9B-A493-67709B7ED563@twft.com> <7847F325-E5CE-4A0C-B2B1-013A538CF5B5@doctorTimothyMiller.com> <5078CE42.1010500@hyperactivesw.com> Message-ID: <0A882877-3BC9-413D-83F7-DE2304E58686@sonsothunder.com> On Oct 12, 2012, at 9:13 PM, J. Landman Gay wrote: > On 10/12/12 6:50 PM, Timothy Miller wrote: >> >> I consistently put empty into all unused globals when a script starts. > > Unlike HyperCard, in LiveCode you can actually delete them entirely: > > delete global gMyGlobal > > I don't have a particular hatred for globals either, you just have to know how to be careful with them. On the other hand, I don't think I've needed one now for years but if I did, I wouldn't hesitate to use it. They are faster and more convenient than a property or a handler, but their main advantage is that they aren't tied to any particular stack. That's a big advantage, even if you don't need it very often. Agreed - I use globals, but give them unique names to avoid kaboshing anyone else's globals (like "gSTS_FillInTheBlank"). To *me* the main downside with them is that you have to declare them in any script that wants to use them? so they're not *truly* global until you set up a connection to them. Personally I'd find globals more useful if once declared and set that they didn't need to be declared again to be used, but if that were to happen, I'd probably want to see Bob's suggestion (applicaton globals vs. stack globals) or the equivalent put into place to apply a scope to them. But all the options have their pros and cons: Globals: Pros: Easy to use, available everywhere, resides only in memory (so they're disposed of as soon as the engine quits); can be multidimensional arrays (which can cut down on the number of actual globals you use, BTW) Cons: Easy to kabosh if not careful, you need to declare them in every script that uses them Functions: Pros: Only need to be created once at design time and can be called from everywhere that has access; more flexibility (it can take parameters to adjust the returned value so you could simulate multiple dimensions by using parameters) Cons: The function needs to be in the available message path, which means that you'd need to use a frontscript/backscript/library to make it available to more than a single mainstack (and if you *do* that, you need to be careful of naming conventions because someone else might kabosh your function name); the actual data that is returned has to be stored somewhere if it's not just a calculation (although you can use a script local in the script that has the function so that it isn't permanently stored anywhere) Custom Props: Pros: Is "stuck" to an object (like a stack), so you know the value is specific to that object (e.g. the uVersion of vs. gMyStackVersion); only needs to be created once at design time; can be reached from anywhere so long as the object it's attached to is available Cons: *Much* easier to accidentally store permanently what should be a temporary change to a value (for stacks that need to call "save" for any reason); more difficult to use (gMyGlobal vs. "the uWidgetType of btn 3 of card 123 of stack 'WhoTheHellCares'") I'm sure there's more, but those are what popped into my head. :D Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From ambassador at fourthworld.com Mon Oct 15 15:21:00 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 15 Oct 2012 12:21:00 -0700 Subject: Unpopularity of global variables - why? In-Reply-To: <0A882877-3BC9-413D-83F7-DE2304E58686@sonsothunder.com> References: <0A882877-3BC9-413D-83F7-DE2304E58686@sonsothunder.com> Message-ID: <507C621C.4010600@fourthworld.com> Ken Ray wrote: ... > Custom Props: ... > Cons: *Much* easier to accidentally store permanently what > should be a temporary change to a value (for stacks that need to call > "save" for any reason); more difficult to use (gMyGlobal vs. "the > uWidgetType of btn 3 of card 123 of stack 'WhoTheHellCares'") > > I'm sure there's more, but those are what popped into my head. :D Here's one more for custom props: They may be best used very sparingly because they can potentially be unreliable. If any script attempts to get or set a custom property while the lockMessages is true, any getProp or setProp messages won't be triggered. If such handlers are necessary for execution unexpected behaviors will occur, and given the nature of such scripts tracking down the cause of the errant behavior can be tricky and time-consuming. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From richmondmathewson at gmail.com Mon Oct 15 15:25:42 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 15 Oct 2012 22:25:42 +0300 Subject: [OT] Pray for Andre In-Reply-To: <507C4D1A.2010304@hyperactivesw.com> References: <507C453D.5040201@fourthworld.com> <2831E9F5-04DA-43FC-A9B0-828716A57FC2@major.on-rev.com> <507C4D1A.2010304@hyperactivesw.com> Message-ID: <507C6336.60902@gmail.com> On 10/15/2012 08:51 PM, J. Landman Gay wrote: > On 10/15/12 12:28 PM, Klaus on-rev wrote: > >> Yep, and you may twist and turn it, the other true gateway drug is >> TOBACCO! >> Which doesn't even give you an intoxication***, so tobacco addiction >> is in fact a weird waste of money ;-) >> >> *** Is this the correct term? > > Yes, that term works. Actually nicotine does have a sort of > intoxication, there's a buzz, especially if you go without for a few > hours. The next cigarette makes you feel a little stoned. If you keep > your nicotine level constant then there's no buzz. > I smoke a narghile, and only about once every 4 or 5 weeks; the effect is just about the same as 3-4 glasses of strong red-wine without the headache later on. Medical research has shown that owing to the water filtration of the tobacco smoke it has the same negative health effects if smoked for 3 hours non-stop as 1 normal cigarette. From monte at sweattechnologies.com Mon Oct 15 15:29:31 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 16 Oct 2012 06:29:31 +1100 Subject: Unpopularity of global variables - why? In-Reply-To: <507C621C.4010600@fourthworld.com> References: <0A882877-3BC9-413D-83F7-DE2304E58686@sonsothunder.com> <507C621C.4010600@fourthworld.com> Message-ID: <06B7350C-935D-4330-A2FB-88BE081D55B6@sweattechnologies.com> Do you consider this a bug in lockMessages? Perhaps set and getProps should be able to be marked in some way that they are required. I guess changing the behavior of lockMessages could cause issues. -- M E R Goulding Software development services mergExt - There's an external for that! On 16/10/2012, at 6:21 AM, Richard Gaskin wrote: > If any script attempts to get or set a custom property while the lockMessages is true, any getProp or setProp messages won't be triggered. > > If such handlers are necessary for execution unexpected behaviors will occur, and given the nature of such scripts tracking down the cause of the errant behavior can be tricky and time-consuming. From ambassador at fourthworld.com Mon Oct 15 15:40:07 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 15 Oct 2012 12:40:07 -0700 Subject: Unpopularity of global variables - why? In-Reply-To: <06B7350C-935D-4330-A2FB-88BE081D55B6@sweattechnologies.com> References: <06B7350C-935D-4330-A2FB-88BE081D55B6@sweattechnologies.com> Message-ID: <507C6697.1070603@fourthworld.com> Monte Goulding wrote: > On 16/10/2012, at 6:21 AM, Richard Gaskin wrote: > >> If any script attempts to get or set a custom property while >> the lockMessages is true, any getProp or setProp messages won't >> be triggered. >> >> If such handlers are necessary for execution unexpected behaviors >> will occur, and given the nature of such scripts tracking down >> the cause of the errant behavior can be tricky and time-consuming. > > > Do you consider this a bug in lockMessages? Perhaps set and getProps > should be able to be marked in some way that they are required. I > guess changing the behavior of lockMessages could cause issues. Agreed. But I like the idea of having a way to change that. Since the issue is specific to getProp and setProp, maybe there might be a way to declare those as "required", e.g.: required getProp MyProp This would keep such a change optional, and limit its scope to only those getProp and setProp handlers that are essential, since sometimes it may be useful to have them suppressed by lockMessages. -- 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 Mon Oct 15 16:04:56 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 15 Oct 2012 15:04:56 -0500 Subject: [OT] Pray for Andre In-Reply-To: References: <507C453D.5040201@fourthworld.com> <2831E9F5-04DA-43FC-A9B0-828716A57FC2@major.on-rev.com> <507C4D1A.2010304@hyperactivesw.com> Message-ID: <507C6C68.8000600@hyperactivesw.com> On 10/15/12 1:08 PM, Klaus on-rev wrote: > Hi Jaqueline, > > Am 15.10.2012 um 19:51 schrieb "J. Landman Gay" : > >> On 10/15/12 12:28 PM, Klaus on-rev wrote: >> >>> Yep, and you may twist and turn it, the other true gateway drug is TOBACCO! >>> Which doesn't even give you an intoxication***, so tobacco addiction is in fact a weird waste of money ;-) >>> >>> *** Is this the correct term? >> >> Yes, that term works. Actually nicotine does have a sort of intoxication, there's a buzz, especially if you go without for a few hours. The next cigarette makes you feel a little stoned. If you keep your nicotine level constant then there's no buzz. > > AHA! Thanks for the info. > I obviously did not smoke enough cigarettes in the past to experience this :-) I experienced it every one of the dozens of times I quit. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gandalf at doctorTimothyMiller.com Mon Oct 15 16:15:48 2012 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Mon, 15 Oct 2012 13:15:48 -0700 Subject: Unpopularity of global variables - why? In-Reply-To: <507C621C.4010600@fourthworld.com> References: <0A882877-3BC9-413D-83F7-DE2304E58686@sonsothunder.com> <507C621C.4010600@fourthworld.com> Message-ID: <453DBB82-3315-402D-84A4-7221D46571ED@doctorTimothyMiller.com> On Oct 15, 2012, at 12:21 PM, Richard Gaskin wrote: > Ken Ray wrote: > ... > > Custom Props: > ... > > Cons: *Much* easier to accidentally store permanently what > > should be a temporary change to a value (for stacks that need to call > > "save" for any reason); more difficult to use (gMyGlobal vs. "the > > uWidgetType of btn 3 of card 123 of stack 'WhoTheHellCares'") What's the difference between customKey and customProperty? Having read the dictionary, I now know less about it than I did before. Could it be that a customProperty is an array, whereas a customKey is a value, or list of values? Tim From monte at sweattechnologies.com Mon Oct 15 16:17:40 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 16 Oct 2012 07:17:40 +1100 Subject: Unpopularity of global variables - why? In-Reply-To: <507C6697.1070603@fourthworld.com> References: <06B7350C-935D-4330-A2FB-88BE081D55B6@sweattechnologies.com> <507C6697.1070603@fourthworld.com> Message-ID: <272AA097-D6DF-4CBC-BB7C-EBFCA297FA72@sweattechnologies.com> That's exactly where I was going. Some way to let the engine know that it is the intention of the author that the code be executed even while lockMessages is true. -- M E R Goulding Software development services mergExt - There's an external for that! On 16/10/2012, at 6:40 AM, Richard Gaskin wrote: > required getProp MyProp From rjearp at hotmail.com Mon Oct 15 16:31:06 2012 From: rjearp at hotmail.com (Bob Earp) Date: Mon, 15 Oct 2012 13:31:06 -0700 Subject: Missing Digests Message-ID: Thanks Jacqui and you were one of the last people I would accuse of such, honestly. Maybe you suffer from dribble after a few martinis, but never drivel ;-) best, Bob... Bob Earp White Rock, British Columbia. > Date: Sun, 14 Oct 2012 16:35:28 -0500 > From: "J. Landman Gay" > To: How to use LiveCode > Subject: Re: Missing Digests > Message-ID: <507B3020.9050002 at hyperactivesw.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 10/14/12 3:52 PM, Bob Earp wrote: >> I hate them for taking so much time to read, and doubly hate them >> when twits post totally useless drivel. > > I think I'm guilty of some of that. If you get the list as individual > emails it's (maybe too) easy to post a quick reply, which encourages > tangents. Some of it can be amusing though, I don't mind those. > > I filter all email from lists.runrev.com into their own email folder. > The subject of the post is also the subject of the email, so you know > immediately what it's about and don't need to open the ones of no interest. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > You know about this? : > > From bobs at twft.com Mon Oct 15 16:47:54 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Oct 2012 13:47:54 -0700 Subject: Unpopularity of global variables - why? In-Reply-To: <453DBB82-3315-402D-84A4-7221D46571ED@doctorTimothyMiller.com> References: <0A882877-3BC9-413D-83F7-DE2304E58686@sonsothunder.com> <507C621C.4010600@fourthworld.com> <453DBB82-3315-402D-84A4-7221D46571ED@doctorTimothyMiller.com> Message-ID: No it's my understanding that customKeys are the names of all your custom properties of a particular object. customProperties is an array with the name of the custom property as the key. So if you wanted to get the values of all your custom properties but you script is blind as to what exactly they are, you would first get the customKeys, then the customProperties, then loop through the lines of that and get each property by key name eg. put the customKeys of this card into theKeys put the customProperties of this card into aProps repeat for each line theKey in theKeys put aProps[theKey] into theCurrentKeyValue -- do stuff with it. end repeat Bob On Oct 15, 2012, at 1:15 PM, Timothy Miller wrote: > On Oct 15, 2012, at 12:21 PM, Richard Gaskin wrote: > >> Ken Ray wrote: >> ... >>> Custom Props: >> ... >>> Cons: *Much* easier to accidentally store permanently what >>> should be a temporary change to a value (for stacks that need to call >>> "save" for any reason); more difficult to use (gMyGlobal vs. "the >>> uWidgetType of btn 3 of card 123 of stack 'WhoTheHellCares'") > > What's the difference between customKey and customProperty? > > Having read the dictionary, I now know less about it than I did before. Could it be that a customProperty is an array, whereas a customKey is a value, or list of values? > > Tim > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Mon Oct 15 17:44:23 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 15 Oct 2012 14:44:23 -0700 Subject: Unpopularity of global variables - why? In-Reply-To: <507C6697.1070603@fourthworld.com> Message-ID: Richard: I understand the intention of your suggestion, but aside from using setProp/getProp, what object properties *cannot* be set during locked messages? Has a reason ever been put forward from RunRev for why custom props cannot be set/read while messages are locked? It seems to me that the current behavior has only been a behavior for some technical limitation in the engine, not because of a scripting need. But this is totally a perception on my part. Otherwise, I'm all for *some* (ANY) method for enabling custom prop setting/reading during locked messages. Best Regards, Scott Rossi Creative Director Tactile Media, UX Design On 10/15/12 12:40 PM, "Richard Gaskin" wrote: >Monte Goulding wrote: > > > On 16/10/2012, at 6:21 AM, Richard Gaskin wrote: > > > >> If any script attempts to get or set a custom property while > >> the lockMessages is true, any getProp or setProp messages won't > >> be triggered. > >> > >> If such handlers are necessary for execution unexpected behaviors > >> will occur, and given the nature of such scripts tracking down > >> the cause of the errant behavior can be tricky and time-consuming. > > > > > > Do you consider this a bug in lockMessages? Perhaps set and getProps > > should be able to be marked in some way that they are required. I > > guess changing the behavior of lockMessages could cause issues. > >Agreed. But I like the idea of having a way to change that. > >Since the issue is specific to getProp and setProp, maybe there might be >a way to declare those as "required", e.g.: > >required getProp MyProp > >This would keep such a change optional, and limit its scope to only >those getProp and setProp handlers that are essential, since sometimes >it may be useful to have them suppressed by lockMessages. > >-- > 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 jiml at netrin.com Mon Oct 15 17:59:13 2012 From: jiml at netrin.com (Jim Lambert) Date: Mon, 15 Oct 2012 14:59:13 -0700 Subject: [OT] Pray for Andre In-Reply-To: References: Message-ID: <5C9D363A-7F47-49DE-9DA4-AC971F9F7F53@netrin.com> HyperCard was my gateway drug. Jim Lambert From bobs at twft.com Mon Oct 15 18:06:07 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Oct 2012 15:06:07 -0700 Subject: [OT] Pray for Andre In-Reply-To: <5C9D363A-7F47-49DE-9DA4-AC971F9F7F53@netrin.com> References: <5C9D363A-7F47-49DE-9DA4-AC971F9F7F53@netrin.com> Message-ID: <3A7CA051-50B1-4DDF-AF3C-CB899969DF28@twft.com> They promised me easy applications, and all I had to do was repeat all the commands over and over. "on mouseUp. on Opencard. On closeStack." Over and over. One day I woke up in a teepee in Northern California smelling like smoke, with a big headache, a woman with armpit hair, two marmots and no idea how I got there. It's bad, bad stuff man! I'm never going back again! Bob On Oct 15, 2012, at 2:59 PM, Jim Lambert wrote: > HyperCard was my gateway drug. > > Jim Lambert From ambassador at fourthworld.com Mon Oct 15 18:09:27 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 15 Oct 2012 15:09:27 -0700 Subject: Unpopularity of global variables - why? In-Reply-To: References: Message-ID: <507C8997.7070104@fourthworld.com> Scott Rossi wrote: > I understand the intention of your suggestion, but aside from using > setProp/getProp, what object properties *cannot* be set during locked > messages? Has a reason ever been put forward from RunRev for why custom > props cannot be set/read while messages are locked? > > It seems to me that the current behavior has only been a behavior for some > technical limitation in the engine, not because of a scripting need. But > this is totally a perception on my part. Otherwise, I'm all for *some* > (ANY) method for enabling custom prop setting/reading during locked > messages. I don't know why the current situation is as it is, so my suggestion for allowing a flag to make getProp/setProp immune to message locking was aimed primarily at backward compatibility. I guess the logical question for the community is: How many of use have scripts that rely on the suppression of getProp or setProp via lockMessages? -- 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 Mon Oct 15 18:34:25 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 15 Oct 2012 15:34:25 -0700 Subject: Unpopularity of global variables - why? In-Reply-To: <507C8997.7070104@fourthworld.com> References: <507C8997.7070104@fourthworld.com> Message-ID: I don't have any scripts that rely on it, but I have situations where I have had to avoid the use of get/setProp because of the lock messages issue so I would vote ofr such an enhancement (assuming I still could!). Pete lcSQL Software On Mon, Oct 15, 2012 at 3:09 PM, Richard Gaskin wrote: > How many of use have scripts that rely on the suppression of getProp or > setProp via lockMessages? From bobs at twft.com Mon Oct 15 18:38:53 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Oct 2012 15:38:53 -0700 Subject: Unpopularity of global variables - why? In-Reply-To: <507C8997.7070104@fourthworld.com> References: <507C8997.7070104@fourthworld.com> Message-ID: I haven't used custom props much yet, but I do think that locking messages is something that should be used sparsely. There are times when it seems it's the only way around a prickly problem, but I suspect some of those situations could have been also solved by a design change. Once painted into a corner, locking messages may be the quickest way out. Normally it shouldn't be necessary. I try to design my interface so that I let the engine do what it was designed to do. I'd be curious if people can summarize all the times that locking messages became a necessity, and then see if some of us can figure out "another way of going about it". Bob On Oct 15, 2012, at 3:09 PM, Richard Gaskin wrote: > Scott Rossi wrote: >> I understand the intention of your suggestion, but aside from using >> setProp/getProp, what object properties *cannot* be set during locked >> messages? Has a reason ever been put forward from RunRev for why custom >> props cannot be set/read while messages are locked? >> >> It seems to me that the current behavior has only been a behavior for some >> technical limitation in the engine, not because of a scripting need. But >> this is totally a perception on my part. Otherwise, I'm all for *some* >> (ANY) method for enabling custom prop setting/reading during locked >> messages. > > I don't know why the current situation is as it is, so my suggestion for allowing a flag to make getProp/setProp immune to message locking was aimed primarily at backward compatibility. > > I guess the logical question for the community is: > > How many of use have scripts that rely on the suppression of getProp or setProp via lockMessages? > > -- > 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 scott at tactilemedia.com Mon Oct 15 18:53:49 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 15 Oct 2012 15:53:49 -0700 Subject: Unpopularity of global variables - why? In-Reply-To: Message-ID: One situation in particular is when you make changes to numerous objects via a single script, such as grouping, changing location, scaling, etc. These cases will almost always execute faster when lock messages is true because the IDE (and/or scripts that track objects and their properties) won't update until messages are unlocked. Locking the screen helps, but locking messages helps more. Regards, Scott Rossi Creative Director Tactile Media, UX Design On 10/15/12 3:38 PM, "Bob Sneidar" wrote: >I'd be curious if people can summarize all the times that locking >messages became a necessity, and then see if some of us can figure out >"another way of going about it". From bobs at twft.com Mon Oct 15 19:08:39 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Oct 2012 16:08:39 -0700 Subject: Unpopularity of global variables - why? In-Reply-To: References: Message-ID: <8746C4BC-A462-400D-AB85-8D60417EB7E0@twft.com> Do you still need custom props in this scenario? Also, complex groups got me thinking, LC does not include Datagrids when using edit group or select group. That is curious. They are obviously doing something different. Is it something the IDE just "knows" or is there some kind of property, or custom props set up in the datagrid library that allows them to work like that? If the latter, I wonder if that will work for other groups as well? I know you make great use of groups in a lot of your work. Bob On Oct 15, 2012, at 3:53 PM, Scott Rossi wrote: > One situation in particular is when you make changes to numerous objects > via a single script, such as grouping, changing location, scaling, etc. > These cases will almost always execute faster when lock messages is true > because the IDE (and/or scripts that track objects and their properties) > won't update until messages are unlocked. Locking the screen helps, but > locking messages helps more. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > > On 10/15/12 3:38 PM, "Bob Sneidar" wrote: > >> I'd be curious if people can summarize all the times that locking >> messages became a necessity, and then see if some of us can figure out >> "another way of going about it". > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Mon Oct 15 19:39:07 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 15 Oct 2012 16:39:07 -0700 Subject: Unpopularity of global variables - why? In-Reply-To: <8746C4BC-A462-400D-AB85-8D60417EB7E0@twft.com> Message-ID: Bob, I always need access to setting of properties, custom or otherwise, when making changes to objects. Don't you? I don't think it should matter whether messages are locked and/or the screen is locked. Regarding data grids, I'm not sure what you mean. You can get into a data grid group the same way you do any other group -- with the data grid selected, press the Edit Group button or script "start editing grp "datagrid 1". And in case you haven't come across this before, data grids are subject to the same limitations as any other control when it comes to custom properties and locked messages -- see the 3rd item on this page: What Sorts of Things Should I Not Do In Order To Avoid Needless Suffering? http://tinyurl.com/8n97xw6 In my custom control products, I've taken to supplementing every settable/readable property with a custom property set so folks can access control values even when messages are locked, due to the locked messages limitation. Life would be better/easier if I didn't have to do this. Regards, Scott Rossi Creative Director Tactile Media, UX Design On 10/15/12 4:08 PM, "Bob Sneidar" wrote: >Do you still need custom props in this scenario? Also, complex groups got >me thinking, LC does not include Datagrids when using edit group or >select group. That is curious. They are obviously doing something >different. Is it something the IDE just "knows" or is there some kind of >property, or custom props set up in the datagrid library that allows them >to work like that? If the latter, I wonder if that will work for other >groups as well? I know you make great use of groups in a lot of your >work. > >Bob > > >On Oct 15, 2012, at 3:53 PM, Scott Rossi wrote: > >> One situation in particular is when you make changes to numerous objects >> via a single script, such as grouping, changing location, scaling, etc. >> These cases will almost always execute faster when lock messages is true >> because the IDE (and/or scripts that track objects and their properties) >> won't update until messages are unlocked. Locking the screen helps, but >> locking messages helps more. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >> >> >> >> On 10/15/12 3:38 PM, "Bob Sneidar" wrote: >> >>> I'd be curious if people can summarize all the times that locking >>> messages became a necessity, and then see if some of us can figure out >>> "another way of going about it". >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Mon Oct 15 19:39:18 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 15 Oct 2012 16:39:18 -0700 Subject: Unpopularity of global variables - why? In-Reply-To: <8746C4BC-A462-400D-AB85-8D60417EB7E0@twft.com> References: <8746C4BC-A462-400D-AB85-8D60417EB7E0@twft.com> Message-ID: The dgProps["control type"] for a datagrid returns "data grid" and I've seen various places in the IDE code that uses that to detect a datagrid (like trying to ungroup one). I guess you could create a property like that in other groups if you wanted them to be treated the same as datagrids but it feels like that would be pretty dangerous. Pete lcSQL Software On Mon, Oct 15, 2012 at 4:08 PM, Bob Sneidar wrote: > Do you still need custom props in this scenario? Also, complex groups got > me thinking, LC does not include Datagrids when using edit group or select > group. That is curious. They are obviously doing something different. Is it > something the IDE just "knows" or is there some kind of property, or custom > props set up in the datagrid library that allows them to work like that? If > the latter, I wonder if that will work for other groups as well? I know you > make great use of groups in a lot of your work. > > Bob > > > On Oct 15, 2012, at 3:53 PM, Scott Rossi wrote: > > > One situation in particular is when you make changes to numerous objects > > via a single script, such as grouping, changing location, scaling, etc. > > These cases will almost always execute faster when lock messages is true > > because the IDE (and/or scripts that track objects and their properties) > > won't update until messages are unlocked. Locking the screen helps, but > > locking messages helps more. > > > > Regards, > > > > Scott Rossi > > Creative Director > > Tactile Media, UX Design > > > > > > > > > > On 10/15/12 3:38 PM, "Bob Sneidar" wrote: > > > >> I'd be curious if people can summarize all the times that locking > >> messages became a necessity, and then see if some of us can figure out > >> "another way of going about it". > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Mon Oct 15 19:41:12 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 15 Oct 2012 16:41:12 -0700 Subject: Unpopularity of global variables - why? In-Reply-To: References: <507C8997.7070104@fourthworld.com> Message-ID: If you want to set the menuhistory of an option menu button without triggering a menuPIck event, lock messages achieves that. Pete lcSQL Software On Mon, Oct 15, 2012 at 3:38 PM, Bob Sneidar wrote: > I'd be curious if people can summarize all the times that locking messages > became a necessity, and then see if some of us can figure out "another way > of going about it". From bvlahos at mac.com Mon Oct 15 21:00:16 2012 From: bvlahos at mac.com (William Vlahos) Date: Mon, 15 Oct 2012 18:00:16 -0700 Subject: Unpopularity of global variables - why? In-Reply-To: <139330266265.20121012140151@ahsoftware.net> References: <62336F82-D476-433E-9508-2FC7D4CB937F@mac.com> <139330266265.20121012140151@ahsoftware.net> Message-ID: <329AF60C-6D9A-4412-95EF-E4804DD2254F@mac.com> There can be other benefits of using globals if you want to make information available to other stacks on purpose. In my lcTaskList plugin there is a global variable "gLcTaskListBookmarks" which contains the active words the plugin uses for building the indexed list. Mark Wieder was able to use that information in GLX2 to make it easy to put a bookmark word from a list of them into a script using the GLX2 editor. The global variable name I chose should be unique enough to the task list plugin so that it would be very unlikely to be used by any other program. By using a global variable, Mark was able to leverage user provided information contained in lcTaskList and apply it to software you are writing. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. lcTaskList: (http://www.infowallet.com/lctasklist/index.htm) RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61) On Oct 12, 2012, at 2:01 PM, Mark Wieder wrote: > Generally speaking (there are exceptions) the main reason global > variables are a bad idea is that they have no protection. Any script > in any stack can change the value of a global variable behind your > back, and then it's a real pain trying to figure out what's going on. From dochawk at gmail.com Mon Oct 15 22:00:59 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 15 Oct 2012 19:00:59 -0700 Subject: [OT] Pray for Andre In-Reply-To: <507C6C68.8000600@hyperactivesw.com> References: <507C453D.5040201@fourthworld.com> <2831E9F5-04DA-43FC-A9B0-828716A57FC2@major.on-rev.com> <507C4D1A.2010304@hyperactivesw.com> <507C6C68.8000600@hyperactivesw.com> Message-ID: On Mon, Oct 15, 2012 at 1:04 PM, J. Landman Gay wrote: > I experienced it every one of the dozens of times I quit. :) A Mark Twain put it, "Quitting smoking is easy--I've done it thousands of times." -- Richard E. Hawkins, Esq. (702) 508-8462 From toolbook at kestner.de Tue Oct 16 06:35:11 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 16 Oct 2012 12:35:11 +0200 Subject: Problems with revxml external Message-ID: <002b01cdab89$ec4c6030$c4e52090$@de> Hi, I have problems with the revxml external in an old LC 4.6.2 program on W7. Everything worked with my xml functions for a long time without problems. Since I worked on an update and made several other changes the revxml seems not to work anymore in a standalone. In IDE everything still works fine. I checked the standalone options, selected the XML library manually and also by search for the required inclusions. The revxml external seems to be loaded correct, it shows up in the externalpackages in stack "home" in the IDE and in stack "revExternalLibrary" in my standalone. But calling xml functions, like "revcreateXMLTree()" or "revcreateXMLTreeFromFile()" I just get an "error in function handler" as the result. Copying the same piece of code into a fresh new stack and testing the standalone in the same folder (with the revxml.dll in the externals subfolder), everything works correct. So there must be any kind of conflict in my old stack. But I have no idea, where to look for or how to go on testing and debugging. Have you ever encountered such behavior with externals? Could there be a conflict with other externals? Any ideas where and what to look for highly appreciated. Tiemo From m.schonewille at economy-x-talk.com Tue Oct 16 09:08:34 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 16 Oct 2012 15:08:34 +0200 Subject: Problems with revxml external In-Reply-To: <002b01cdab89$ec4c6030$c4e52090$@de> References: <002b01cdab89$ec4c6030$c4e52090$@de> Message-ID: <8C97432A-E399-460D-A5A8-28C4725E9EC7@economy-x-talk.com> Dear Tiemo, Did you attach the external to the stack that is actually used to build a standalone? Is it possible that one mainstack is loading the external while another mainstack is calling it? Perhaps you can solve this by making one stack a substack of the other or by using a separate stack that loads all externals and "start using" that stack. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com On 16 okt 2012, at 12:35, Tiemo Hollmann TB wrote: > Hi, > > I have problems with the revxml external in an old LC 4.6.2 program on W7. > > Everything worked with my xml functions for a long time without problems. > Since I worked on an update and made several other changes the revxml seems > not to work anymore in a standalone. In IDE everything still works fine. > > I checked the standalone options, selected the XML library manually and also > by search for the required inclusions. The revxml external seems to be > loaded correct, it shows up in the externalpackages in stack "home" in the > IDE and in stack "revExternalLibrary" in my standalone. But calling xml > functions, like "revcreateXMLTree()" or "revcreateXMLTreeFromFile()" I just > get an "error in function handler" as the result. > > Copying the same piece of code into a fresh new stack and testing the > standalone in the same folder (with the revxml.dll in the externals > subfolder), everything works correct. So there must be any kind of conflict > in my old stack. But I have no idea, where to look for or how to go on > testing and debugging. Have you ever encountered such behavior with > externals? Could there be a conflict with other externals? > > Any ideas where and what to look for highly appreciated. > > Tiemo > From toolbook at kestner.de Tue Oct 16 10:10:58 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 16 Oct 2012 16:10:58 +0200 Subject: AW: Problems with revxml external In-Reply-To: <8C97432A-E399-460D-A5A8-28C4725E9EC7@economy-x-talk.com> References: <002b01cdab89$ec4c6030$c4e52090$@de> <8C97432A-E399-460D-A5A8-28C4725E9EC7@economy-x-talk.com> Message-ID: <004701cdaba8$10ddf710$3299e530$@de> Hello Mark, thanks for jumping in. you are right, actually my application is a splash stack, which creates the standalone and calls my main program in a second stackfile, where I am using the xml functions (while the splash stack keeps in memory, just hidden) - which worked fine in the past. First I tried your suggestion with "start using ..." my splash stack in my "second stack". It results in the same error. I couldn't test to make my "second stack" to a substack of my splash stack, because itself is a main stack with several substacks. I copied the relevant xml statements from my second stack to my splash stack in a test button, just for testing and I get the same error already in my splash stack, where I am sure it is the standalone. So it seems to be something is going wrong in my splash stack. Another issue appeared now when closing the standalone after the revxml functions failed. When closing the application I get from time to time a windows error "mystandalone for windows doesn't work anymore" (translated from German). This seems to indicate - for my small knowledge - any kind of memory issue. Could there be a memory conflict with a custom external or something like this? (I just can't deactivate the custom external for testing) Thanks, Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag von Mark Schonewille > Gesendet: Dienstag, 16. Oktober 2012 15:09 > An: How to use LiveCode > Betreff: Re: Problems with revxml external > > Dear Tiemo, > > Did you attach the external to the stack that is actually used to build a > standalone? Is it possible that one mainstack is loading the external > while another mainstack is calling it? Perhaps you can solve this by > making one stack a substack of the other or by using a separate stack that > loads all externals and "start using" that stack. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour > spaces. http://www.color-converter.com > > > > On 16 okt 2012, at 12:35, Tiemo Hollmann TB wrote: > > > Hi, > > > > I have problems with the revxml external in an old LC 4.6.2 program on > W7. > > > > Everything worked with my xml functions for a long time without > problems. > > Since I worked on an update and made several other changes the revxml > > seems not to work anymore in a standalone. In IDE everything still works > fine. > > > > I checked the standalone options, selected the XML library manually > > and also by search for the required inclusions. The revxml external > > seems to be loaded correct, it shows up in the externalpackages in > > stack "home" in the IDE and in stack "revExternalLibrary" in my > > standalone. But calling xml functions, like "revcreateXMLTree()" or > > "revcreateXMLTreeFromFile()" I just get an "error in function handler" > as the result. > > > > Copying the same piece of code into a fresh new stack and testing the > > standalone in the same folder (with the revxml.dll in the externals > > subfolder), everything works correct. So there must be any kind of > > conflict in my old stack. But I have no idea, where to look for or how > > to go on testing and debugging. Have you ever encountered such > > behavior with externals? Could there be a conflict with other externals? > > > > Any ideas where and what to look for highly appreciated. > > > > 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 effendi at wanadoo.fr Tue Oct 16 10:27:34 2012 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Tue, 16 Oct 2012 16:27:34 +0200 Subject: [OT] Pray for Andre Message-ID: <682E4D94-1BCE-4110-8427-7187522A6A44@wanadoo.fr> Hi from Beautiful Brittany, Andre wrote : > I think this was one of the reasons I was so amazed when I went to > Edinburgh and saw people late at night with cameras and laptops walking on > the meadows. In Rio you would not dare to do that. ?? and Scotland may even be going for independance soon ! I've been to more than 50 countries, and Scotland is certainly the most beautiful country I ever saw. OK, so they do eat haggis, but then again, nobody is perfect ! -Francis From klaus at major.on-rev.com Tue Oct 16 11:05:04 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 16 Oct 2012 17:05:04 +0200 Subject: force "dimmed hilite" of datagrids? Message-ID: <05645141-0059-4821-8A9F-403F9E8DBE9B@major.on-rev.com> Hi friends, I have a couple of datagrids (TABLE) in my stack, same template, different names and set the "dimmed hilite color" prop correctly. I use them as a replacement for "list fields" since they change the hilited text color, which "list fields" in Livecode still don't... But only the first datagrid correctly DIMS the hilite, the others stays in the set HILITE color. Any hints on how to force this behaviour? I tried: dispatch "focusout" to grp "the other datagrid 1" with no success. Even clicking a button with its "traversalon" prop set to true does not help. I already experienced this in the past with other (and partly more complex) datagrids and suspect this is a bug :-/ Any hints heavily appreciated! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From bobs at twft.com Tue Oct 16 11:35:40 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 16 Oct 2012 08:35:40 -0700 Subject: Unpopularity of global variables - why? In-Reply-To: References: Message-ID: <6E38F103-1170-4F98-85C2-A9E45FD6156D@twft.com> Oh I didn't know that. I probably just assumed that because I cannot get to the individual elements of a datagrid with Select Grouped on, that it worked the same way with Edit Group. Bob On Oct 15, 2012, at 4:39 PM, Scott Rossi wrote: > Regarding data grids, I'm not sure what you mean. You can get into a data > grid group the same way you do any other group -- with the data grid > selected, press the Edit Group button or script "start editing grp > "datagrid 1". From bobs at twft.com Tue Oct 16 11:39:10 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 16 Oct 2012 08:39:10 -0700 Subject: Unpopularity of global variables - why? In-Reply-To: References: <507C8997.7070104@fourthworld.com> Message-ID: <1A9071E6-003F-4784-9A28-CECA74CD9358@twft.com> So I am gathering that used at the right times and in the right ways, globals and lockMessages both have their place. What we are lacking is a kind of global that is not IDE wide, and the ability to lock messages and still have our custom properties work. Seems like that is doable. If there is an enhancement request up I will vote for it. Bob On Oct 15, 2012, at 4:41 PM, Peter Haworth wrote: > If you want to set the menuhistory of an option menu button without > triggering a menuPIck event, lock messages achieves that. > Pete > lcSQL Software > > > > On Mon, Oct 15, 2012 at 3:38 PM, Bob Sneidar wrote: > >> I'd be curious if people can summarize all the times that locking messages >> became a necessity, and then see if some of us can figure out "another way >> of going about it". > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Tue Oct 16 11:40:56 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 16 Oct 2012 08:40:56 -0700 Subject: [OT] Pray for Andre In-Reply-To: <682E4D94-1BCE-4110-8427-7187522A6A44@wanadoo.fr> References: <682E4D94-1BCE-4110-8427-7187522A6A44@wanadoo.fr> Message-ID: I've wanted to visit Scotland all my life, but I fear I might starve to death for apprehension about what I might be eating. ;-) Bob On Oct 16, 2012, at 7:27 AM, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > Andre wrote : > >> I think this was one of the reasons I was so amazed when I went to >> Edinburgh and saw people late at night with cameras and laptops walking on >> the meadows. In Rio you would not dare to do that. > > ?? and Scotland may even be going for independance soon ! > > I've been to more than 50 countries, and Scotland is certainly > the most beautiful country I ever saw. OK, so they do eat haggis, > but then again, nobody is perfect ! > > -Francis From klaus at major.on-rev.com Tue Oct 16 11:46:37 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 16 Oct 2012 17:46:37 +0200 Subject: force "dimmed hilite" of datagrids? In-Reply-To: <05645141-0059-4821-8A9F-403F9E8DBE9B@major.on-rev.com> References: <05645141-0059-4821-8A9F-403F9E8DBE9B@major.on-rev.com> Message-ID: Hi all, Am 16.10.2012 um 17:05 schrieb Klaus on-rev : > Hi friends, > > I have a couple of datagrids (TABLE) in my stack, same template, different names > and set the "dimmed hilite color" prop correctly. > > I use them as a replacement for "list fields" since they change the hilited text color, > which "list fields" in Livecode still don't... > > But only the first datagrid correctly DIMS the hilite, the others stays in the set HILITE color. > Any hints on how to force this behaviour? > > I tried: > dispatch "focusout" to grp "the other datagrid 1" > with no success. > > Even clicking a button with its "traversalon" prop set to true does not help. > > I already experienced this in the past with other (and partly more complex) datagrids and > suspect this is a bug :-/ > > Any hints heavily appreciated! OK, after qutting and restarting Livecode it seems to work correctly, this really frustrating nevertheless. Thanks for all hints so far! ;-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From jeff at siphonophore.com Tue Oct 16 13:38:04 2012 From: jeff at siphonophore.com (Jeff Reynolds) Date: Tue, 16 Oct 2012 13:38:04 -0400 Subject: [OT] Pray for Andre In-Reply-To: References: Message-ID: On Oct 16, 2012, at 1:00 PM, Bob Sneidar wrote: > They promised me easy applications, and all I had to do was repeat all the commands over and over. "on mouseUp. on Opencard. On closeStack." Over and over. One day I woke up in a teepee in Northern California smelling like smoke, with a big headache, a woman with armpit hair, two marmots and no idea how I got there. It's bad, bad stuff man! I'm never going back again! > > Bob LOL, LOL, LOL, thank bob you made my morning! the marmots i can explain (i grew up in northern california), but the rest is your bad trip... jeff On Oct 16, 2012, at 1:00 PM, Francis Nugent Dixon wrote: > I've been to more than 50 countries, and Scotland is certainly > the most beautiful country I ever saw. OK, so they do eat haggis, > but then again, nobody is perfect ! > > -Francis I agree, we toured scotland earlier this year for a couple of weeks and it was pretty much like a coffee table book! very pleasant folks and very fun and easy to get around. food was great as well. modern haggis is quite tasty, they do it all sorts of ways now, even contests with it that the queen judges! hey but i eat hot dogs, spam and scrapple... jeff From andrew at ctech.me Tue Oct 16 13:39:32 2012 From: andrew at ctech.me (Andrew Kluthe) Date: Tue, 16 Oct 2012 12:39:32 -0500 Subject: Minimize to System Tray Win7 Message-ID: Hey Ya'll, I have a little server program that I need to tuck away in the system tray when it is minimized. Basically, when minimized I want it to close to an icon on the system tray and when double clicked from the system tray I want to make show the stack again. How have some of you handled this before? Are there some simple tricks I can use to make this happen? I am trying to do this on windows 7. -- Kindest regards, Andrew Kluthe andrew at ctech.me From klaus at major.on-rev.com Tue Oct 16 13:45:21 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 16 Oct 2012 19:45:21 +0200 Subject: Minimize to System Tray Win7 In-Reply-To: References: Message-ID: <2BBEC738-E184-4345-B5A5-37D1A61650F7@major.on-rev.com> Hi Andrew, Am 16.10.2012 um 19:39 schrieb Andrew Kluthe : > Hey Ya'll, > > I have a little server program that I need to tuck away in the system > tray when it is minimized. Basically, when minimized I want it to > close to an icon on the system tray and when double clicked from the > system tray I want to make show the stack again. > How have some of you handled this before? Are there some simple tricks > I can use to make this happen? > I am trying to do this on windows 7. Livecode does not support this right "out of the box", but check this one: > -- > Kindest regards, > > Andrew Kluthe > andrew at ctech.me Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From bobs at twft.com Tue Oct 16 13:52:04 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 16 Oct 2012 10:52:04 -0700 Subject: Minimize to System Tray Win7 In-Reply-To: <2BBEC738-E184-4345-B5A5-37D1A61650F7@major.on-rev.com> References: <2BBEC738-E184-4345-B5A5-37D1A61650F7@major.on-rev.com> Message-ID: Hey, that IS cool! Bob On Oct 16, 2012, at 10:45 AM, Klaus on-rev wrote: > Hi Andrew, > > Am 16.10.2012 um 19:39 schrieb Andrew Kluthe : > >> Hey Ya'll, >> >> I have a little server program that I need to tuck away in the system >> tray when it is minimized. Basically, when minimized I want it to >> close to an icon on the system tray and when double clicked from the >> system tray I want to make show the stack again. >> How have some of you handled this before? Are there some simple tricks >> I can use to make this happen? >> I am trying to do this on windows 7. > > Livecode does not support this right "out of the box", but check this one: > > >> -- >> Kindest regards, >> >> Andrew Kluthe >> andrew at ctech.me > > Best > > Klaus From skip at magicgate.com Tue Oct 16 14:32:32 2012 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Tue, 16 Oct 2012 14:32:32 -0400 Subject: Minimize to System Tray Win7 In-Reply-To: References: <2BBEC738-E184-4345-B5A5-37D1A61650F7@major.on-rev.com> Message-ID: I have tried to download that before but when you enter your name and email you get a server error.... SKIP On Tue, Oct 16, 2012 at 1:52 PM, Bob Sneidar wrote: > Hey, that IS cool! > > Bob > > > On Oct 16, 2012, at 10:45 AM, Klaus on-rev wrote: > >> Hi Andrew, >> >> Am 16.10.2012 um 19:39 schrieb Andrew Kluthe : >> >>> Hey Ya'll, >>> >>> I have a little server program that I need to tuck away in the system >>> tray when it is minimized. Basically, when minimized I want it to >>> close to an icon on the system tray and when double clicked from the >>> system tray I want to make show the stack again. >>> How have some of you handled this before? Are there some simple tricks >>> I can use to make this happen? >>> I am trying to do this on windows 7. >> >> Livecode does not support this right "out of the box", but check this one: >> >> >>> -- >>> Kindest regards, >>> >>> Andrew Kluthe >>> andrew at ctech.me >> >> Best >> >> Klaus > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Tue Oct 16 14:56:30 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 16 Oct 2012 11:56:30 -0700 Subject: Shell command problem on Windows 7 Message-ID: I have a variable tCommand whose contents are: "C:\Program Files (x86)\GnuWin32\bin\diff.exe" .... To clarify, the quote chars are in tCommand If I execute it with put shell(tCommand) into temp ... temp contains "'C:\Program' is not recognized as an internal or external command" If I copy and paste the contents of tCommand into a Windows Command Prompt window, it works fine. It seems like LC is somehow swallowing the quote characters around the program file name, causing the space after "Program" to be the end of the program file name. I'm probably missing something obvious but can't figure out what! Pete lcSQL Software From rdimola at evergreeninfo.net Tue Oct 16 15:01:49 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 16 Oct 2012 15:01:49 -0400 Subject: Shell command problem on Windows 7 In-Reply-To: References: Message-ID: <009801cdabd0$b3262060$19726120$@net> Peter, Lose the quotes around the program name and you should be OK Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Peter Haworth Sent: Tuesday, October 16, 2012 2:57 PM To: How to use LiveCode Subject: Shell command problem on Windows 7 I have a variable tCommand whose contents are: "C:\Program Files (x86)\GnuWin32\bin\diff.exe" .... To clarify, the quote chars are in tCommand If I execute it with put shell(tCommand) into temp ... temp contains "'C:\Program' is not recognized as an internal or external command" If I copy and paste the contents of tCommand into a Windows Command Prompt window, it works fine. It seems like LC is somehow swallowing the quote characters around the program file name, causing the space after "Program" to be the end of the program file name. I'm probably missing something obvious but can't figure out what! 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 bobs at twft.com Tue Oct 16 16:57:27 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 16 Oct 2012 13:57:27 -0700 Subject: Shell command problem on Windows 7 In-Reply-To: References: Message-ID: <491CE0E4-FD7B-43FD-B201-FFC76670A547@twft.com> I tried this: on mouseUp pMouseBtnNo put quote & "C:\Program Files\Adobe\Reader 9.0\Reader\AcroRD32.exe" & quote into tCommand put shell(tCommand) into tResult answer tResult end mouseUp I saved a windows standalone and copied it to my XP VM. I don't use Vista or 7. It launches Acrobat. Unless there is something specific with the windows 7 shell, I think you must be mistaken about the string containing the quotes. Bob On Oct 16, 2012, at 11:56 AM, Peter Haworth wrote: > I have a variable tCommand whose contents are: > > "C:\Program Files (x86)\GnuWin32\bin\diff.exe" .... > > To clarify, the quote chars are in tCommand > > If I execute it with > > put shell(tCommand) into temp > > ... temp contains "'C:\Program' is not recognized as an internal or > external command" > > If I copy and paste the contents of tCommand into a Windows Command Prompt > window, it works fine. > > It seems like LC is somehow swallowing the quote characters around the > program file name, causing the space after "Program" to be the end of the > program file name. > > I'm probably missing something obvious but can't figure out what! > > > 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 bobs at twft.com Tue Oct 16 17:00:16 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 16 Oct 2012 14:00:16 -0700 Subject: Shell command problem on Windows 7 In-Reply-To: <009801cdabd0$b3262060$19726120$@net> References: <009801cdabd0$b3262060$19726120$@net> Message-ID: I tried that Ralph and it wouldn't work. I got the same result Peter did when I excluded the quotes. Another way to do it is shell(quote & tCommand & quote) That way you can be sure there are quotes when the command is shelled out. This would work only if you don't have arguments that must be outside a quoted string. It's my understanding that the command should work in the command prompt without quotes, but there must be something about the shell() function itself that messes with the command. Bob On Oct 16, 2012, at 12:01 PM, Ralph DiMola wrote: > Peter, > > Lose the quotes around the program name and you should be OK > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net From pete at lcsql.com Tue Oct 16 17:16:52 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 16 Oct 2012 14:16:52 -0700 Subject: Shell command problem on Windows 7 In-Reply-To: References: Message-ID: I have an update on this problem. The "other stuff" mentioned as part of the command line in my original message includes a file path. Initially, I did not have quotes around the file path but if the file path contained a space, I got an error. I then put quotes around the file path parameter and that's when the "C:\Program" error started occurring. I'l mention again that if I copy and paste the exact same command out of the LC variable into a Windows command prompt, it works with no error so I'm pretty convinced this is a Livecode problem, not Windows. Has anyone seen this before? Pete lcSQL Software PS Ralph - I did try it with no quotes around the program file path but got the same "C:\Program" error On Tue, Oct 16, 2012 at 11:56 AM, Peter Haworth wrote: > I have a variable tCommand whose contents are: > > "C:\Program Files (x86)\GnuWin32\bin\diff.exe" .... > > To clarify, the quote chars are in tCommand > > If I execute it with > > put shell(tCommand) into temp > > ... temp contains "'C:\Program' is not recognized as an internal or > external command" > > If I copy and paste the contents of tCommand into a Windows Command Prompt > window, it works fine. > > It seems like LC is somehow swallowing the quote characters around the > program file name, causing the space after "Program" to be the end of the > program file name. > > I'm probably missing something obvious but can't figure out what! > > > Pete > lcSQL Software > > From pete at lcsql.com Tue Oct 16 17:27:39 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 16 Oct 2012 14:27:39 -0700 Subject: Shell command problem on Windows 7 In-Reply-To: References: <009801cdabd0$b3262060$19726120$@net> Message-ID: Bob, My latest post explains more about this - it's not the program name itself that causes the problem - it's the fact that I'm passing parameters into the program on the command line enclosed in quotes - that's what causes the error despite the fact that exactly the same command works at a Windows command prompt. Pete lcSQL Software On Tue, Oct 16, 2012 at 2:00 PM, Bob Sneidar wrote: > I tried that Ralph and it wouldn't work. I got the same result Peter did > when I excluded the quotes. Another way to do it is shell(quote & tCommand > & quote) > > That way you can be sure there are quotes when the command is shelled out. > This would work only if you don't have arguments that must be outside a > quoted string. > > It's my understanding that the command should work in the command prompt > without quotes, but there must be something about the shell() function > itself that messes with the command. > > Bob > > > On Oct 16, 2012, at 12:01 PM, Ralph DiMola wrote: > > > Peter, > > > > Lose the quotes around the program name and you should be OK > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobs at twft.com Tue Oct 16 17:37:32 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 16 Oct 2012 14:37:32 -0700 Subject: Shell command problem on Windows 7 In-Reply-To: References: <009801cdabd0$b3262060$19726120$@net> Message-ID: I'm at a loss then without the app that you are testing. I'd have to see the whole command with arguments and have the app installed to make any determinations. Years of troubleshooting has taught me to reproduce the user's issue before proceeding, and I can't do that here. Sorry. Bob On Oct 16, 2012, at 2:27 PM, Peter Haworth wrote: > Bob, > My latest post explains more about this - it's not the program > name itself that causes the problem - it's the fact that > I'm passing parameters into the program on the command line enclosed in > quotes - that's what causes the error despite the fact that exactly the > same command works at a Windows command prompt. > Pete > lcSQL Software > > > > On Tue, Oct 16, 2012 at 2:00 PM, Bob Sneidar wrote: > >> I tried that Ralph and it wouldn't work. I got the same result Peter did >> when I excluded the quotes. Another way to do it is shell(quote & tCommand >> & quote) >> >> That way you can be sure there are quotes when the command is shelled out. >> This would work only if you don't have arguments that must be outside a >> quoted string. >> >> It's my understanding that the command should work in the command prompt >> without quotes, but there must be something about the shell() function >> itself that messes with the command. >> >> Bob >> >> >> On Oct 16, 2012, at 12:01 PM, Ralph DiMola wrote: >> >>> Peter, >>> >>> Lose the quotes around the program name and you should be OK >>> >>> Ralph DiMola >>> IT Director >>> Evergreen Information Services >>> rdimola at evergreeninfo.net >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Tue Oct 16 17:55:46 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 16 Oct 2012 14:55:46 -0700 Subject: Shell command problem on Windows 7 In-Reply-To: References: <009801cdabd0$b3262060$19726120$@net> Message-ID: This is not an app problem Bob, the program never runs. In any case, I've found a workaround for the problem, which is to issue two commands in one call to the shell. So tCommand now contains: cd "C:\Program Files (x86)\GnuWin32\bin" & diff.exe -i-E -b -B "" "" That works. Pretty clear LC is messing with the command before it hands it off to the shell. Pete lcSQL Software On Tue, Oct 16, 2012 at 2:37 PM, Bob Sneidar wrote: > I'm at a loss then without the app that you are testing. I'd have to see > the whole command with arguments and have the app installed to make any > determinations. Years of troubleshooting has taught me to reproduce the > user's issue before proceeding, and I can't do that here. Sorry. > > Bob > > > On Oct 16, 2012, at 2:27 PM, Peter Haworth wrote: > > > Bob, > > My latest post explains more about this - it's not the program > > name itself that causes the problem - it's the fact that > > I'm passing parameters into the program on the command line enclosed in > > quotes - that's what causes the error despite the fact that exactly the > > same command works at a Windows command prompt. > > Pete > > lcSQL Software > > > > > > > > On Tue, Oct 16, 2012 at 2:00 PM, Bob Sneidar wrote: > > > >> I tried that Ralph and it wouldn't work. I got the same result Peter did > >> when I excluded the quotes. Another way to do it is shell(quote & > tCommand > >> & quote) > >> > >> That way you can be sure there are quotes when the command is shelled > out. > >> This would work only if you don't have arguments that must be outside a > >> quoted string. > >> > >> It's my understanding that the command should work in the command prompt > >> without quotes, but there must be something about the shell() function > >> itself that messes with the command. > >> > >> Bob > >> > >> > >> On Oct 16, 2012, at 12:01 PM, Ralph DiMola wrote: > >> > >>> Peter, > >>> > >>> Lose the quotes around the program name and you should be OK > >>> > >>> Ralph DiMola > >>> IT Director > >>> Evergreen Information Services > >>> rdimola at evergreeninfo.net > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobs at twft.com Tue Oct 16 18:29:03 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 16 Oct 2012 15:29:03 -0700 Subject: Shell command problem on Windows 7 In-Reply-To: References: <009801cdabd0$b3262060$19726120$@net> Message-ID: I mean diff.exe. I would need that to try the exact arguments you are using. But glad you got it working. Bob On Oct 16, 2012, at 2:55 PM, Peter Haworth wrote: > This is not an app problem Bob, the program never runs. > > In any case, I've found a workaround for the problem, which is to issue two > commands in one call to the shell. So tCommand now contains: > > cd "C:\Program Files (x86)\GnuWin32\bin" & diff.exe -i-E -b -B " filename1>" "" > > That works. > > Pretty clear LC is messing with the command before it hands it off to the > shell. > > Pete > lcSQL Software > > > > On Tue, Oct 16, 2012 at 2:37 PM, Bob Sneidar wrote: > >> I'm at a loss then without the app that you are testing. I'd have to see >> the whole command with arguments and have the app installed to make any >> determinations. Years of troubleshooting has taught me to reproduce the >> user's issue before proceeding, and I can't do that here. Sorry. >> >> Bob >> >> >> On Oct 16, 2012, at 2:27 PM, Peter Haworth wrote: >> >>> Bob, >>> My latest post explains more about this - it's not the program >>> name itself that causes the problem - it's the fact that >>> I'm passing parameters into the program on the command line enclosed in >>> quotes - that's what causes the error despite the fact that exactly the >>> same command works at a Windows command prompt. >>> Pete >>> lcSQL Software >>> >>> >>> >>> On Tue, Oct 16, 2012 at 2:00 PM, Bob Sneidar wrote: >>> >>>> I tried that Ralph and it wouldn't work. I got the same result Peter did >>>> when I excluded the quotes. Another way to do it is shell(quote & >> tCommand >>>> & quote) >>>> >>>> That way you can be sure there are quotes when the command is shelled >> out. >>>> This would work only if you don't have arguments that must be outside a >>>> quoted string. >>>> >>>> It's my understanding that the command should work in the command prompt >>>> without quotes, but there must be something about the shell() function >>>> itself that messes with the command. >>>> >>>> Bob >>>> >>>> >>>> On Oct 16, 2012, at 12:01 PM, Ralph DiMola wrote: >>>> >>>>> Peter, >>>>> >>>>> Lose the quotes around the program name and you should be OK >>>>> >>>>> Ralph DiMola >>>>> IT Director >>>>> Evergreen Information Services >>>>> rdimola at evergreeninfo.net >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 16 20:54:51 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 16 Oct 2012 18:54:51 -0600 Subject: Shell command problem on Windows 7 In-Reply-To: References: <009801cdabd0$b3262060$19726120$@net> Message-ID: When you put the contents into your tCommand variable you can do this put shortfilepath("the file path with spaces") && "the paramers and switches to pass" into tCommand At this point no quotes are needed around the filepath because there will be no spaces. (it will be in 8.3 format) On Tue, Oct 16, 2012 at 4:29 PM, Bob Sneidar wrote: > I mean diff.exe. I would need that to try the exact arguments you are > using. But glad you got it working. > > Bob > > > On Oct 16, 2012, at 2:55 PM, Peter Haworth wrote: > > > This is not an app problem Bob, the program never runs. > > > > In any case, I've found a workaround for the problem, which is to issue > two > > commands in one call to the shell. So tCommand now contains: > > > > cd "C:\Program Files (x86)\GnuWin32\bin" & diff.exe -i-E -b -B " > filename1>" "" > > > > That works. > > > > Pretty clear LC is messing with the command before it hands it off to the > > shell. > > > > Pete > > lcSQL Software > > > > > > > > On Tue, Oct 16, 2012 at 2:37 PM, Bob Sneidar wrote: > > > >> I'm at a loss then without the app that you are testing. I'd have to see > >> the whole command with arguments and have the app installed to make any > >> determinations. Years of troubleshooting has taught me to reproduce the > >> user's issue before proceeding, and I can't do that here. Sorry. > >> > >> Bob > >> > >> > >> On Oct 16, 2012, at 2:27 PM, Peter Haworth wrote: > >> > >>> Bob, > >>> My latest post explains more about this - it's not the program > >>> name itself that causes the problem - it's the fact that > >>> I'm passing parameters into the program on the command line enclosed in > >>> quotes - that's what causes the error despite the fact that exactly the > >>> same command works at a Windows command prompt. > >>> Pete > >>> lcSQL Software > >>> > >>> > >>> > >>> On Tue, Oct 16, 2012 at 2:00 PM, Bob Sneidar wrote: > >>> > >>>> I tried that Ralph and it wouldn't work. I got the same result Peter > did > >>>> when I excluded the quotes. Another way to do it is shell(quote & > >> tCommand > >>>> & quote) > >>>> > >>>> That way you can be sure there are quotes when the command is shelled > >> out. > >>>> This would work only if you don't have arguments that must be outside > a > >>>> quoted string. > >>>> > >>>> It's my understanding that the command should work in the command > prompt > >>>> without quotes, but there must be something about the shell() function > >>>> itself that messes with the command. > >>>> > >>>> Bob > >>>> > >>>> > >>>> On Oct 16, 2012, at 12:01 PM, Ralph DiMola wrote: > >>>> > >>>>> Peter, > >>>>> > >>>>> Lose the quotes around the program name and you should be OK > >>>>> > >>>>> Ralph DiMola > >>>>> IT Director > >>>>> Evergreen Information Services > >>>>> rdimola at evergreeninfo.net > >>>> > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>>> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 16 22:16:33 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 17 Oct 2012 13:16:33 +1100 Subject: [ANN] Network interfaces external added to mergExt Message-ID: <6542DA7B-33E0-4008-95F8-34DF8FEAAD82@sweattechnologies.com> Hi LiveCoders mergNIC is a new external for iOS to help you find out everything you ever wanted to know about the device's network interfaces. The exterenal is available individually for $19 and as part of the mergExt suite of iOS externals which is currently $149 per year of access to updates or $39 for the first month and $10 a month ongoing for a subscription. At the end of the month the price for the suite is doubling so don't miss the chance to lock in the current prices. Find out more at: http://mergext.com/home/mergnic Regards Monte -- 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 Tue Oct 16 23:44:19 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Tue, 16 Oct 2012 20:44:19 -0700 (PDT) Subject: iOS questions In-Reply-To: <507A4C91.8030201@hyperactivesw.com> References: <1350181373627-4656338.post@n4.nabble.com> <507A4C91.8030201@hyperactivesw.com> Message-ID: <1350445459578-4656458.post@n4.nabble.com> J. Landman Gay wrote > It's a field in the iOS pane in standalone settings. Just choose a PNG > from your hard drive. Got that working, very cool! Do you know if there is an option to remove the "shine" (settings, newsstand, contacts, calendar, game centre for example don't have shine, messages, youtube, iTunes, appstore do have shine). For my icon image, it would be best without. Thanks -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/iOS-questions-tp4656338p4656458.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Wed Oct 17 00:37:16 2012 From: coiin at verizon.net (Colin Holgate) Date: Wed, 17 Oct 2012 00:37:16 -0400 Subject: iOS questions In-Reply-To: <1350445459578-4656458.post@n4.nabble.com> References: <1350181373627-4656338.post@n4.nabble.com> <507A4C91.8030201@hyperactivesw.com> <1350445459578-4656458.post@n4.nabble.com> Message-ID: At the top of the icons section is a checkbox marked Prerendered Icon. Checking that will make it use your non-shine version. From richmondmathewson at gmail.com Wed Oct 17 03:37:49 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 17 Oct 2012 10:37:49 +0300 Subject: Linux interference Message-ID: <507E604D.9050803@gmail.com> Recently, doing a spot of Beta-testing for someone, I ran across something odd with Linux, which I have subsequently confirmed myself. 'Evolution' Personal Information Client and Livecode standalones don't really like one another. Personally I think Evolution stinks, and had only installed the thing to test something out for somebody else. However it does seem to be installed as default with most GNOME-interface based Linux distros. When a Livecode standalone is running (confirmed for LC 4.5 - 5.5) if one tries to launch Evolution the computer freezes and/or crashes. If one uses a dock such as Avant Window Navigator the standalone comes up as an instance of Evolution rather than itself. ------------------ I could sit down and write out a whole 'thing' about this, complete with pretty pictures and so forth for RunRev, but am reluctant to before other Linux users have "had a go". ------------------ From a purely selfish point of view, this worries me as I am working towards a Linux release of my 'Devawriter Pro' (which, despite RunRev's "cross-platform" stuff, does need a bit of twiddling of the Windows/Mac codebase), and do not want to find curses raining down on my head because people are getting mucked about if they want to check their e-mail and/or write to Granny while my standalone is running. ------------------ I know this is a slight "pain in the bum", but I would be grateful if willing Linux users could install Evolution if it is not installed by default, and run off a simple, blank card standalone, run the standalone and while it is running try to start Evolution. This should not 'hose' your system, just require a hard reboot. Richmond. From toolbook at kestner.de Wed Oct 17 04:40:16 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 17 Oct 2012 10:40:16 +0200 Subject: AW: Problems with revxml external - solved In-Reply-To: <004701cdaba8$10ddf710$3299e530$@de> References: <002b01cdab89$ec4c6030$c4e52090$@de> <8C97432A-E399-460D-A5A8-28C4725E9EC7@economy-x-talk.com> <004701cdaba8$10ddf710$3299e530$@de> Message-ID: <003e01cdac43$0892d800$19b88800$@de> Just FYI, after searching, testing and debugging for 2 days I created another standalone this morning without changing anything and everything runs smooth as ever. Sometimes it seems to me that LC on windows makes strange things. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag von Tiemo Hollmann TB > Gesendet: Dienstag, 16. Oktober 2012 16:11 > An: 'How to use LiveCode' > Betreff: AW: Problems with revxml external > > Hello Mark, > thanks for jumping in. > you are right, actually my application is a splash stack, which creates > the standalone and calls my main program in a second stackfile, where I am > using the xml functions (while the splash stack keeps in memory, just > hidden) - which worked fine in the past. > First I tried your suggestion with "start using ..." my splash stack in my > "second stack". It results in the same error. > I couldn't test to make my "second stack" to a substack of my splash > stack, because itself is a main stack with several substacks. > I copied the relevant xml statements from my second stack to my splash > stack in a test button, just for testing and I get the same error already > in my splash stack, where I am sure it is the standalone. > So it seems to be something is going wrong in my splash stack. > Another issue appeared now when closing the standalone after the revxml > functions failed. When closing the application I get from time to time a > windows error "mystandalone for windows doesn't work anymore" (translated > from German). This seems to indicate - for my small knowledge - any kind > of memory issue. Could there be a memory conflict with a custom external > or something like this? (I just can't deactivate the custom external for > testing) > Thanks, Tiemo > > > -----Urspr?ngliche Nachricht----- > > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > > Auftrag von Mark Schonewille > > Gesendet: Dienstag, 16. Oktober 2012 15:09 > > An: How to use LiveCode > > Betreff: Re: Problems with revxml external > > > > Dear Tiemo, > > > > Did you attach the external to the stack that is actually used to > > build a standalone? Is it possible that one mainstack is loading the > > external while another mainstack is calling it? Perhaps you can solve > > this by making one stack a substack of the other or by using a > > separate stack that loads all externals and "start using" that stack. > > > > -- > > Best regards, > > > > Mark Schonewille > > > > Economy-x-Talk Consulting and Software Engineering > > Homepage: http://economy-x-talk.com > > Twitter: http://twitter.com/xtalkprogrammer > > KvK: 50277553 > > > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other > > colour spaces. http://www.color-converter.com > > > > > > > > On 16 okt 2012, at 12:35, Tiemo Hollmann TB wrote: > > > > > Hi, > > > > > > I have problems with the revxml external in an old LC 4.6.2 program > > > on > > W7. > > > > > > Everything worked with my xml functions for a long time without > > problems. > > > Since I worked on an update and made several other changes the > > > revxml seems not to work anymore in a standalone. In IDE everything > > > still works > > fine. > > > > > > I checked the standalone options, selected the XML library manually > > > and also by search for the required inclusions. The revxml external > > > seems to be loaded correct, it shows up in the externalpackages in > > > stack "home" in the IDE and in stack "revExternalLibrary" in my > > > standalone. But calling xml functions, like "revcreateXMLTree()" or > > > "revcreateXMLTreeFromFile()" I just get an "error in function handler" > > as the result. > > > > > > Copying the same piece of code into a fresh new stack and testing > > > the standalone in the same folder (with the revxml.dll in the > > > externals subfolder), everything works correct. So there must be any > > > kind of conflict in my old stack. But I have no idea, where to look > > > for or how to go on testing and debugging. Have you ever encountered > > > such behavior with externals? Could there be a conflict with other > externals? > > > > > > Any ideas where and what to look for highly appreciated. > > > > > > 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 effendi at wanadoo.fr Wed Oct 17 06:59:43 2012 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Wed, 17 Oct 2012 12:59:43 +0200 Subject: [OT] Pray for Andre Message-ID: Hi from You Know Where, Bob Sneidar wrote : > I've wanted to visit Scotland all my life, but I fear I might > starve to death for apprehension about what I might be eating. ;-) Bob, Take a shot glass full of whisky, drop it gently into a pint of beer (Robert the Bruce Scottish Ale will do the job) then drink ! ??? Contains all required nutrients ! Who needs to eat ? > -Francis From klaus at major.on-rev.com Wed Oct 17 07:09:33 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 17 Oct 2012 13:09:33 +0200 Subject: Minimize to System Tray Win7 In-Reply-To: References: <2BBEC738-E184-4345-B5A5-37D1A61650F7@major.on-rev.com> Message-ID: <28B0A3EE-C1AF-4A24-B341-40E9902BBC72@major.on-rev.com> Hi Skip, Am 16.10.2012 um 20:32 schrieb Magicgate Software - Skip Kimpel : > I have tried to download that before but when you enter your name and > email you get a server error.... did you ever think of contacting STS software about this? Sound like a good idea to me 8-) > SKIP >>>> ... >>>> I have a little server program that I need to tuck away in the system >>>> tray when it is minimized. Basically, when minimized I want it to >>>> close to an icon on the system tray and when double clicked from the >>>> system tray I want to make show the stack again. >>>> How have some of you handled this before? Are there some simple tricks >>>> I can use to make this happen? >>>> I am trying to do this on windows 7. >>> Livecode does not support this right "out of the box", but check this one: >>> Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From henshaw at me.com Wed Oct 17 08:50:20 2012 From: henshaw at me.com (Andrew Henshaw) Date: Wed, 17 Oct 2012 13:50:20 +0100 Subject: [ANN] Network interfaces external added to mergExt In-Reply-To: <6542DA7B-33E0-4008-95F8-34DF8FEAAD82@sweattechnologies.com> References: <6542DA7B-33E0-4008-95F8-34DF8FEAAD82@sweattechnologies.com> Message-ID: How does the monthly subscription for MergExt work Monte if you already have an annual subscription, will it start from the end of the current subscription period or do we need to wait until then and activate it then? Andy On 17 Oct 2012, at 03:16, Monte Goulding wrote: > Hi LiveCoders > > mergNIC is a new external for iOS to help you find out everything you ever wanted to know about the device's network interfaces. The exterenal is available individually for $19 and as part of the mergExt suite of iOS externals which is currently $149 per year of access to updates or $39 for the first month and $10 a month ongoing for a subscription. At the end of the month the price for the suite is doubling so don't miss the chance to lock in the current prices. > > Find out more at: http://mergext.com/home/mergnic > > Regards > > Monte > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major.on-rev.com Wed Oct 17 08:51:59 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 17 Oct 2012 14:51:59 +0200 Subject: Poll/Ann: Desktop Video Externals Message-ID: <6E81385C-74D0-4C2F-B7E0-83AB8982599F@major.on-rev.com> Hello friends, for a some of our projects we developed a couple of externals and we were wondering if you would eventually be interested, before we put them into the RunRev marketplace or somewhere else for sale. Important hint: I am "only" the programmer of the projects, but NOT for the externals not am I the decisisonmaker, so do only ask me technical (concerning Livecode, NOT the C code of the externals) questions :-) OK, here some details... 1. XMediaPlayer (WMP) Windows, 116 KB This is a "bridge" to DirectX on Windows and lets you play any videoformats supported by WMP. In case you didn't know there are some free codec collections for Windows which will let you play more videoformats like MP4, FLV etc. with WMP: 2. XMediaPlayer (VLC) Windows, 105 KB, but requires a folder "plugins" = 40 MB! For a newer project we needed support for more file formats, so we had this newer DLL developed. This one uses the VLC libraries and lets you play any VLC supported video files. We currently only have a Windows version ready of this, but if there is BIG interest we might develop a Mac version, too. 3. XVideoJoiner Mac and Windows, 17 MB This one does this: a. Get movie info: Duration in seconds and width/height of a video file b. Extract one or more movie frames to a JPEG file in any given size. You can supply one or more times in the video to extract the JPGs from that time. c. Create a new video file (MP4!) from one (so you could use it as a video-converter!) or more videofiles in three different qualtities including the option to add a MP3 as background sound and mixing the mp3 <-> video sound . This is multithreaded, so the export will work in background and with a callback you can supply a nice progressbar. If you are intested, please send a mail to: with "video external" as the subject and the external you are intested in in the body. All mails are of course NOT binding to a later purchase! Thank you for listening :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From klaus at major.on-rev.com Wed Oct 17 09:08:12 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 17 Oct 2012 15:08:12 +0200 Subject: Poll/Ann: Desktop Video Externals In-Reply-To: <6E81385C-74D0-4C2F-B7E0-83AB8982599F@major.on-rev.com> References: <6E81385C-74D0-4C2F-B7E0-83AB8982599F@major.on-rev.com> Message-ID: <5B12F29B-29DB-4684-9A7C-3BA727E2A668@major.on-rev.com> Friends, please, please. please read this (and/or my complete posting) before you send a mail: > If you are intested, please send a > mail to: with > "video external" in the SUBJECT > and the external you are intested in in the BODY I need to do a quick pre-selection, all other mails will get deleted, I hope you understand! Thank you! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From toolbook at kestner.de Wed Oct 17 09:40:25 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 17 Oct 2012 15:40:25 +0200 Subject: AW: Problems with revxml external - solved In-Reply-To: <003e01cdac43$0892d800$19b88800$@de> References: <002b01cdab89$ec4c6030$c4e52090$@de> <8C97432A-E399-460D-A5A8-28C4725E9EC7@economy-x-talk.com> <004701cdaba8$10ddf710$3299e530$@de> <003e01cdac43$0892d800$19b88800$@de> Message-ID: <004e01cdac6c$f72efe70$e58cfb50$@de> Addendum FYI for whoever runs into such stupid issues, no strange windows things, it was strange me. I had two different standalone test folders with two different versions of revxml.dll ... Thanks Mark again for your advices Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag von Tiemo Hollmann TB > Gesendet: Mittwoch, 17. Oktober 2012 10:40 > An: 'How to use LiveCode' > Betreff: AW: Problems with revxml external - solved > > Just FYI, > after searching, testing and debugging for 2 days I created another > standalone this morning without changing anything and everything runs > smooth as ever. > Sometimes it seems to me that LC on windows makes strange things. > Tiemo > > > -----Urspr?ngliche Nachricht----- > > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > > Auftrag von Tiemo Hollmann TB > > Gesendet: Dienstag, 16. Oktober 2012 16:11 > > An: 'How to use LiveCode' > > Betreff: AW: Problems with revxml external > > > > Hello Mark, > > thanks for jumping in. > > you are right, actually my application is a splash stack, which > > creates the standalone and calls my main program in a second > > stackfile, where I am using the xml functions (while the splash stack > > keeps in memory, just > > hidden) - which worked fine in the past. > > First I tried your suggestion with "start using ..." my splash stack > > in my "second stack". It results in the same error. > > I couldn't test to make my "second stack" to a substack of my splash > > stack, because itself is a main stack with several substacks. > > I copied the relevant xml statements from my second stack to my splash > > stack in a test button, just for testing and I get the same error > > already in my splash stack, where I am sure it is the standalone. > > So it seems to be something is going wrong in my splash stack. > > Another issue appeared now when closing the standalone after the > > revxml functions failed. When closing the application I get from time > > to time a windows error "mystandalone for windows doesn't work > > anymore" (translated from German). This seems to indicate - for my > > small knowledge - any kind of memory issue. Could there be a memory > > conflict with a custom external or something like this? (I just can't > > deactivate the custom external for > > testing) > > Thanks, Tiemo > > > > > -----Urspr?ngliche Nachricht----- > > > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > > > Auftrag von Mark Schonewille > > > Gesendet: Dienstag, 16. Oktober 2012 15:09 > > > An: How to use LiveCode > > > Betreff: Re: Problems with revxml external > > > > > > Dear Tiemo, > > > > > > Did you attach the external to the stack that is actually used to > > > build a standalone? Is it possible that one mainstack is loading the > > > external while another mainstack is calling it? Perhaps you can > > > solve this by making one stack a substack of the other or by using a > > > separate stack that loads all externals and "start using" that stack. > > > > > > -- > > > Best regards, > > > > > > Mark Schonewille > > > > > > Economy-x-Talk Consulting and Software Engineering > > > Homepage: http://economy-x-talk.com > > > Twitter: http://twitter.com/xtalkprogrammer > > > KvK: 50277553 > > > > > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other > > > colour spaces. http://www.color-converter.com > > > > > > > > > > > > On 16 okt 2012, at 12:35, Tiemo Hollmann TB wrote: > > > > > > > Hi, > > > > > > > > I have problems with the revxml external in an old LC 4.6.2 > > > > program on > > > W7. > > > > > > > > Everything worked with my xml functions for a long time without > > > problems. > > > > Since I worked on an update and made several other changes the > > > > revxml seems not to work anymore in a standalone. In IDE > > > > everything still works > > > fine. > > > > > > > > I checked the standalone options, selected the XML library > > > > manually and also by search for the required inclusions. The > > > > revxml external seems to be loaded correct, it shows up in the > > > > externalpackages in stack "home" in the IDE and in stack > > > > "revExternalLibrary" in my standalone. But calling xml functions, > > > > like "revcreateXMLTree()" or "revcreateXMLTreeFromFile()" I just get > an "error in function handler" > > > as the result. > > > > > > > > Copying the same piece of code into a fresh new stack and testing > > > > the standalone in the same folder (with the revxml.dll in the > > > > externals subfolder), everything works correct. So there must be > > > > any kind of conflict in my old stack. But I have no idea, where to > > > > look for or how to go on testing and debugging. Have you ever > > > > encountered such behavior with externals? Could there be a > > > > conflict with other > > externals? > > > > > > > > Any ideas where and what to look for highly appreciated. > > > > > > > > Tiemo > > > > > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Oct 17 10:53:15 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 17 Oct 2012 17:53:15 +0300 Subject: [OT] Pray for Andre In-Reply-To: References: Message-ID: <507EC65B.4010303@gmail.com> On 10/17/2012 01:59 PM, Francis Nugent Dixon wrote: > Hi from You Know Where, > > Bob Sneidar wrote : > >> I've wanted to visit Scotland all my life, but I fear I might >> starve to death for apprehension about what I might be eating. ;-) > Bob, Take a shot glass full of whisky, drop it gently into a > pint of beer (Robert the Bruce Scottish Ale will do the job) > then drink ! ??? Contains all required nutrients ! What a coincidence! last night I did exactly that, twice. Admittedly, as a "good Scot" it was with Jim Beam and Bulgarian dark beer. Richly nutritious; in fact so nutritious it is probably best to do this at most about once every six months, as is my tendency. Mainly because I would neither spoil a Scots whisky nor a Scots beer. > > Who needs to eat ? >> > -Francis > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major.on-rev.com Wed Oct 17 11:23:09 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 17 Oct 2012 17:23:09 +0200 Subject: Modify the LOOK of the field editor in a datagrid? Message-ID: Hello friends, I am currently struggling with custom behavior of the editor field in a datagrid and making good progress :-) But I have one big problem: My datagrid background is dark grey with white text color, actually this has been set for the STACK, and not for the datagrid, but the editor field opens with a WHITE background and WHITE text, big fun 8-) So my questions: 1. why does the editor field not heir the stacks colors? 2. More important, how can I fix this? Did not find anything in the datagrid docs (PDF). Thanks a lot in advance! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From pete at lcsql.com Wed Oct 17 11:42:05 2012 From: pete at lcsql.com (Peter Haworth) Date: Wed, 17 Oct 2012 08:42:05 -0700 Subject: Shell command problem on Windows 7 In-Reply-To: References: <009801cdabd0$b3262060$19726120$@net> Message-ID: Thanks Mike, didn't know about the LC shortfilepath function. Pete lcSQL Software On Tue, Oct 16, 2012 at 5:54 PM, Mike Bonner wrote: > When you put the contents into your tCommand variable you can do this > > put shortfilepath("the file path with spaces") && "the paramers and > switches to pass" into tCommand > > At this point no quotes are needed around the filepath because there will > be no spaces. (it will be in 8.3 format) > > On Tue, Oct 16, 2012 at 4:29 PM, Bob Sneidar wrote: > > > I mean diff.exe. I would need that to try the exact arguments you are > > using. But glad you got it working. > > > > Bob > > > > > > On Oct 16, 2012, at 2:55 PM, Peter Haworth wrote: > > > > > This is not an app problem Bob, the program never runs. > > > > > > In any case, I've found a workaround for the problem, which is to issue > > two > > > commands in one call to the shell. So tCommand now contains: > > > > > > cd "C:\Program Files (x86)\GnuWin32\bin" & diff.exe -i-E -b -B " to > > > filename1>" "" > > > > > > That works. > > > > > > Pretty clear LC is messing with the command before it hands it off to > the > > > shell. > > > > > > Pete > > > lcSQL Software > > > > > > > > > > > > On Tue, Oct 16, 2012 at 2:37 PM, Bob Sneidar wrote: > > > > > >> I'm at a loss then without the app that you are testing. I'd have to > see > > >> the whole command with arguments and have the app installed to make > any > > >> determinations. Years of troubleshooting has taught me to reproduce > the > > >> user's issue before proceeding, and I can't do that here. Sorry. > > >> > > >> Bob > > >> > > >> > > >> On Oct 16, 2012, at 2:27 PM, Peter Haworth wrote: > > >> > > >>> Bob, > > >>> My latest post explains more about this - it's not the program > > >>> name itself that causes the problem - it's the fact that > > >>> I'm passing parameters into the program on the command line enclosed > in > > >>> quotes - that's what causes the error despite the fact that exactly > the > > >>> same command works at a Windows command prompt. > > >>> Pete > > >>> lcSQL Software > > >>> > > >>> > > >>> > > >>> On Tue, Oct 16, 2012 at 2:00 PM, Bob Sneidar wrote: > > >>> > > >>>> I tried that Ralph and it wouldn't work. I got the same result Peter > > did > > >>>> when I excluded the quotes. Another way to do it is shell(quote & > > >> tCommand > > >>>> & quote) > > >>>> > > >>>> That way you can be sure there are quotes when the command is > shelled > > >> out. > > >>>> This would work only if you don't have arguments that must be > outside > > a > > >>>> quoted string. > > >>>> > > >>>> It's my understanding that the command should work in the command > > prompt > > >>>> without quotes, but there must be something about the shell() > function > > >>>> itself that messes with the command. > > >>>> > > >>>> Bob > > >>>> > > >>>> > > >>>> On Oct 16, 2012, at 12:01 PM, Ralph DiMola wrote: > > >>>> > > >>>>> Peter, > > >>>>> > > >>>>> Lose the quotes around the program name and you should be OK > > >>>>> > > >>>>> Ralph DiMola > > >>>>> IT Director > > >>>>> Evergreen Information Services > > >>>>> rdimola at evergreeninfo.net > > >>>> > > >>>> > > >>>> _______________________________________________ > > >>>> use-livecode mailing list > > >>>> use-livecode at lists.runrev.com > > >>>> Please visit this url to subscribe, unsubscribe and manage your > > >>>> subscription preferences: > > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >>>> > > >>> _______________________________________________ > > >>> use-livecode mailing list > > >>> use-livecode at lists.runrev.com > > >>> Please visit this url to subscribe, unsubscribe and manage your > > >> subscription preferences: > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > >> > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > > >> subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Wed Oct 17 12:01:41 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 17 Oct 2012 09:01:41 -0700 Subject: Linux interference In-Reply-To: <507E604D.9050803@gmail.com> References: <507E604D.9050803@gmail.com> Message-ID: <507ED665.6040802@fourthworld.com> I've never used Evolution myself so I can't help, but you may want to review the DBus logs in /var/logs to see if you find any clues. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From richmondmathewson at gmail.com Wed Oct 17 12:13:21 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 17 Oct 2012 19:13:21 +0300 Subject: Linux interference In-Reply-To: <507ED665.6040802@fourthworld.com> References: <507E604D.9050803@gmail.com> <507ED665.6040802@fourthworld.com> Message-ID: <507ED921.7030900@gmail.com> On 10/17/2012 07:01 PM, Richard Gaskin wrote: > I've never used Evolution myself so I can't help, but you may want to > review the DBus logs in /var/logs to see if you find any clues. > That may be so; but my install of UbuntuStudio 12.04 has no /var/logs folder. It does have a /var/log folder that contains NO DB.us logs From ambassador at fourthworld.com Wed Oct 17 12:26:33 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 17 Oct 2012 09:26:33 -0700 Subject: Linux interference In-Reply-To: <507ED921.7030900@gmail.com> References: <507ED921.7030900@gmail.com> Message-ID: <507EDC39.1070101@fourthworld.com> Richmond wrote: > On 10/17/2012 07:01 PM, Richard Gaskin wrote: >> I've never used Evolution myself so I can't help, but you may want to >> review the DBus logs in /var/logs to see if you find any clues. > > That may be so; but my install of UbuntuStudio 12.04 has no /var/logs > folder. > > It does have a /var/log folder that contains NO DB.us logs My bad; yes, it's "log", not "logs". IIRC DBus logs to messages.log there. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From richmondmathewson at gmail.com Wed Oct 17 13:38:42 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 17 Oct 2012 20:38:42 +0300 Subject: Linux interference In-Reply-To: <507EDC39.1070101@fourthworld.com> References: <507ED921.7030900@gmail.com> <507EDC39.1070101@fourthworld.com> Message-ID: <507EED22.9030401@gmail.com> On 10/17/2012 07:26 PM, Richard Gaskin wrote: > Richmond wrote: >> On 10/17/2012 07:01 PM, Richard Gaskin wrote: >>> I've never used Evolution myself so I can't help, but you may want to >>> review the DBus logs in /var/logs to see if you find any clues. >> >> That may be so; but my install of UbuntuStudio 12.04 has no /var/logs >> folder. >> >> It does have a /var/log folder that contains NO DB.us logs > > My bad; yes, it's "log", not "logs". > > IIRC DBus logs to messages.log there. > But, between mail.log and pm-powersave.log there is nothing. Would I be missing something? From bobs at twft.com Wed Oct 17 13:42:50 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 17 Oct 2012 10:42:50 -0700 Subject: [OT] Pray for Andre In-Reply-To: References: Message-ID: <2A11394E-1065-4822-A6AA-BDC64D7F9C3D@twft.com> On Oct 17, 2012, at 3:59 AM, Francis Nugent Dixon wrote: > Hi from You Know Where, > > Bob Sneidar wrote : > >> I've wanted to visit Scotland all my life, but I fear I might >> starve to death for apprehension about what I might be eating. ;-) > > Bob, Take a shot glass full of whisky, drop it gently into a > pint of beer (Robert the Bruce Scottish Ale will do the job) > then drink ! ??? Contains all required nutrients ! > > -Francis And after that kicks in I won't care much about what I eat? Sounds like a great plan! Bob From bobs at twft.com Wed Oct 17 13:45:00 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 17 Oct 2012 10:45:00 -0700 Subject: Shell command problem on Windows 7 In-Reply-To: References: <009801cdabd0$b3262060$19726120$@net> Message-ID: Hey that's a great tip Mike! Bob On Oct 16, 2012, at 5:54 PM, Mike Bonner wrote: > When you put the contents into your tCommand variable you can do this > > put shortfilepath("the file path with spaces") && "the paramers and > switches to pass" into tCommand > > At this point no quotes are needed around the filepath because there will > be no spaces. (it will be in 8.3 format) > > On Tue, Oct 16, 2012 at 4:29 PM, Bob Sneidar wrote: > >> I mean diff.exe. I would need that to try the exact arguments you are >> using. But glad you got it working. >> >> Bob >> >> >> On Oct 16, 2012, at 2:55 PM, Peter Haworth wrote: >> >>> This is not an app problem Bob, the program never runs. >>> >>> In any case, I've found a workaround for the problem, which is to issue >> two >>> commands in one call to the shell. So tCommand now contains: >>> >>> cd "C:\Program Files (x86)\GnuWin32\bin" & diff.exe -i-E -b -B ">> filename1>" "" >>> >>> That works. >>> >>> Pretty clear LC is messing with the command before it hands it off to the >>> shell. >>> >>> Pete >>> lcSQL Software >>> >>> >>> >>> On Tue, Oct 16, 2012 at 2:37 PM, Bob Sneidar wrote: >>> >>>> I'm at a loss then without the app that you are testing. I'd have to see >>>> the whole command with arguments and have the app installed to make any >>>> determinations. Years of troubleshooting has taught me to reproduce the >>>> user's issue before proceeding, and I can't do that here. Sorry. >>>> >>>> Bob >>>> >>>> >>>> On Oct 16, 2012, at 2:27 PM, Peter Haworth wrote: >>>> >>>>> Bob, >>>>> My latest post explains more about this - it's not the program >>>>> name itself that causes the problem - it's the fact that >>>>> I'm passing parameters into the program on the command line enclosed in >>>>> quotes - that's what causes the error despite the fact that exactly the >>>>> same command works at a Windows command prompt. >>>>> Pete >>>>> lcSQL Software >>>>> >>>>> >>>>> >>>>> On Tue, Oct 16, 2012 at 2:00 PM, Bob Sneidar wrote: >>>>> >>>>>> I tried that Ralph and it wouldn't work. I got the same result Peter >> did >>>>>> when I excluded the quotes. Another way to do it is shell(quote & >>>> tCommand >>>>>> & quote) >>>>>> >>>>>> That way you can be sure there are quotes when the command is shelled >>>> out. >>>>>> This would work only if you don't have arguments that must be outside >> a >>>>>> quoted string. >>>>>> >>>>>> It's my understanding that the command should work in the command >> prompt >>>>>> without quotes, but there must be something about the shell() function >>>>>> itself that messes with the command. >>>>>> >>>>>> Bob >>>>>> >>>>>> >>>>>> On Oct 16, 2012, at 12:01 PM, Ralph DiMola wrote: >>>>>> >>>>>>> Peter, >>>>>>> >>>>>>> Lose the quotes around the program name and you should be OK >>>>>>> >>>>>>> Ralph DiMola >>>>>>> IT Director >>>>>>> Evergreen Information Services >>>>>>> rdimola at evergreeninfo.net >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 17 15:30:52 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 18 Oct 2012 06:30:52 +1100 Subject: [ANN] Network interfaces external added to mergExt In-Reply-To: References: <6542DA7B-33E0-4008-95F8-34DF8FEAAD82@sweattechnologies.com> Message-ID: <42D3C686-185B-4FC0-AC35-BE26926067E4@sweattechnologies.com> Hi Andy If you still have time left then you can purchase the subscription for $10 for the first month instead of $39. Unfortunately it will start at the time you purchase. If you have a significant amount of time left then contact me off list before purchasing and we can discuss options. Cheers Monte -- M E R Goulding Software development services mergExt - There's an external for that! On 17/10/2012, at 11:50 PM, Andrew Henshaw wrote: > How does the monthly subscription for MergExt work Monte if you already have an annual subscription, will it start from the end of the current subscription period or do we need to wait until then and activate it then? > > Andy > > On 17 Oct 2012, at 03:16, Monte Goulding wrote: > >> Hi LiveCoders >> >> mergNIC is a new external for iOS to help you find out everything you ever wanted to know about the device's network interfaces. The exterenal is available individually for $19 and as part of the mergExt suite of iOS externals which is currently $149 per year of access to updates or $39 for the first month and $10 a month ongoing for a subscription. At the end of the month the price for the suite is doubling so don't miss the chance to lock in the current prices. >> >> Find out more at: http://mergext.com/home/mergnic >> >> Regards >> >> Monte >> >> -- >> M E R Goulding >> Software development services >> Bespoke application development for vertical markets >> >> mergExt - There's an external for that! >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Oct 17 21:50:06 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 17 Oct 2012 18:50:06 -0700 Subject: Linux interference In-Reply-To: <507EED22.9030401@gmail.com> References: <507EED22.9030401@gmail.com> Message-ID: <507F604E.7070701@fourthworld.com> Finally got back to my Linux box - turns out the log in question is: /var/log/dmesg It may be a red herring, but as the DBus log it would seem a reasonable place to start looking for interapp conflicts. If you don't see anything there that seems useful, you may want to try strace or some other tool to log interactions between the apps and the kernel. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From Mark_Smith at cpe.umanitoba.ca Wed Oct 17 21:53:16 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Wed, 17 Oct 2012 18:53:16 -0700 (PDT) Subject: iOS questions In-Reply-To: <512BB48E-818B-4D03-9DD4-DA2B4317D161@sweattechnologies.com> References: <1350181373627-4656338.post@n4.nabble.com> <153F24F4-C979-4473-BF90-C6A738E84F78@sweattechnologies.com> <1350255125074-4656371.post@n4.nabble.com> <1350270613724-4656374.post@n4.nabble.com> <512BB48E-818B-4D03-9DD4-DA2B4317D161@sweattechnologies.com> Message-ID: <1350525196325-4656479.post@n4.nabble.com> Hi Monte, just so I am sure I understand.... /command mergNotify pNotification This command registers for a notification to be sent to the calling control (me) whenever it occurs. The same notification may be registered by multiple controls in your app. If a single control registers for the same notification multiple times it will receive it multiple times./ Does that mean the calling control could be a stack? And if your stack is made up of multiple stacks do you have to set notifications for each stack in order to be able to respond to UIApplicationWillResignActiveNotification? Or can you set it once for the whole application? Thanks -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/iOS-questions-tp4656338p4656479.html Sent from the Revolution - User mailing list archive at Nabble.com. From monte at sweattechnologies.com Wed Oct 17 22:06:37 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 18 Oct 2012 13:06:37 +1100 Subject: iOS questions In-Reply-To: <1350525196325-4656479.post@n4.nabble.com> References: <1350181373627-4656338.post@n4.nabble.com> <153F24F4-C979-4473-BF90-C6A738E84F78@sweattechnologies.com> <1350255125074-4656371.post@n4.nabble.com> <1350270613724-4656374.post@n4.nabble.com> <512BB48E-818B-4D03-9DD4-DA2B4317D161@sweattechnologies.com> <1350525196325-4656479.post@n4.nabble.com> Message-ID: <1B72F1A3-3FF1-4661-8FD8-0D62D8D284B7@sweattechnologies.com> Hi Mark Yes the calling control can be a stack. Anything that you can refer to as 'me' in your code. Wherever you handle startup/shutdown etc you can handle UIApplicationWillResignActiveNotification for your whole app. Most likely in the mainstack script but could be in a library script or backscript. Cheers Monte On 18/10/2012, at 12:53 PM, Mark Smith wrote: > Hi Monte, just so I am sure I understand.... > > > /command mergNotify pNotification > > This command registers for a notification to be sent to the calling control > (me) whenever it occurs. The same notification may be registered by multiple > controls in your app. If a single control registers for the same > notification multiple times it will receive it multiple times./ > > Does that mean the calling control could be a stack? And if your stack is > made up of multiple stacks do you have to set notifications for each stack > in order to be able to respond to UIApplicationWillResignActiveNotification? > > Or can you set it once for the whole application? > > Thanks > > -- Mark > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/iOS-questions-tp4656338p4656479.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 -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From jmyepes at mac.com Thu Oct 18 02:09:49 2012 From: jmyepes at mac.com (JosepM) Date: Wed, 17 Oct 2012 23:09:49 -0700 (PDT) Subject: Drag & drop controls inside a scroller Message-ID: <1350540589556-4656481.post@n4.nabble.com> Hi, I need help to drag and drop controls inside a scroller. Someone have any experience about? Grab me don't work nor the classic drag and drop operations. I found a great sample from Scoot Rossi showing the misteries of drag and drop http://www.tactilemedia.com/site_files/downloads/drag_sampler.rev That run fine on iOS, but using the same inside the scroller no. local allowDrag on mouseDown put (the mouseH - left of me),(the mouseV - top of me) into allowDrag end mouseDown on mouseMove x,y if allowDrag = "" then exit mouseMove set topLeft of me to \ (x - item 1 of allowDrag) & "," & (y - item 2 of allowDrag) # if within(grc box1,loc of me) then put "You hit box 1" into fld status # if within(grc box2,loc of me) then put "You hit box 2" into fld status put "" into fld status if intersect(me,grc box1) then put "You hit box 1" into fld status if intersect(me,grc box2) then put "You hit box 2" into fld status end mouseMove on mouseUp put empty into fld status put "" into allowDrag end mouseUp on mouseRelease mouseUp end mouseRelease This is the code inside of the button that I want drag. The control move only a few pixels and stop... Any idea? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Drag-drop-controls-inside-a-scroller-tp4656481.html Sent from the Revolution - User mailing list archive at Nabble.com. From matthias_livecode_150811 at m-r-d.de Thu Oct 18 10:27:03 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 18 Oct 2012 16:27:03 +0200 Subject: Android: how to detect the link, before it is opened in the browser object? Message-ID: Hi, maybe a dumb question, but is there a way to trap the url of a clicked/tapped link in an browser control under android, before the link is loaded? browserloadrequest is ios only. Any idea? Regards, -- Matthias Rebbe matthias (at) rebbe.tk Tel +49.5741.310000 Tel +49.160.5504462 -- "Life is too short for boring code" From lvhdgc7 at gmail.com Thu Oct 18 10:36:14 2012 From: lvhdgc7 at gmail.com (tbodine) Date: Thu, 18 Oct 2012 07:36:14 -0700 (PDT) Subject: Poll/Ann: Desktop Video Externals In-Reply-To: <5B12F29B-29DB-4684-9A7C-3BA727E2A668@major.on-rev.com> References: <6E81385C-74D0-4C2F-B7E0-83AB8982599F@major.on-rev.com> <5B12F29B-29DB-4684-9A7C-3BA727E2A668@major.on-rev.com> Message-ID: <1350570974634-4656483.post@n4.nabble.com> Hi, I get a "Missing domain" error when I use your form to send the email response. -- Tom -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Poll-Ann-Desktop-Video-Externals-tp4656465p4656483.html Sent from the Revolution - User mailing list archive at Nabble.com. From klaus at major.on-rev.com Thu Oct 18 10:39:39 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 18 Oct 2012 16:39:39 +0200 Subject: Poll/Ann: Desktop Video Externals In-Reply-To: <1350570974634-4656483.post@n4.nabble.com> References: <6E81385C-74D0-4C2F-B7E0-83AB8982599F@major.on-rev.com> <5B12F29B-29DB-4684-9A7C-3BA727E2A668@major.on-rev.com> <1350570974634-4656483.post@n4.nabble.com> Message-ID: <4A080F32-4698-4222-9605-C295DCA30F92@major.on-rev.com> Hi Tom, Am 18.10.2012 um 16:36 schrieb tbodine : > Hi, > I get a "Missing domain" error when I use your form to send the email > response. what FORM? > -- Tom Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From lvhdgc7 at gmail.com Thu Oct 18 11:04:04 2012 From: lvhdgc7 at gmail.com (tbodine) Date: Thu, 18 Oct 2012 08:04:04 -0700 (PDT) Subject: Poll/Ann: Desktop Video Externals In-Reply-To: <4A080F32-4698-4222-9605-C295DCA30F92@major.on-rev.com> References: <6E81385C-74D0-4C2F-B7E0-83AB8982599F@major.on-rev.com> <5B12F29B-29DB-4684-9A7C-3BA727E2A668@major.on-rev.com> <1350570974634-4656483.post@n4.nabble.com> <4A080F32-4698-4222-9605-C295DCA30F92@major.on-rev.com> Message-ID: <1350572644074-4656485.post@n4.nabble.com> When I click on address in your message, it takes me to a form page. Completing the form and clicking send generates the error. -- Tom -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Poll-Ann-Desktop-Video-Externals-tp4656465p4656485.html Sent from the Revolution - User mailing list archive at Nabble.com. From klaus at major.on-rev.com Thu Oct 18 11:08:01 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 18 Oct 2012 17:08:01 +0200 Subject: Poll/Ann: Desktop Video Externals In-Reply-To: <1350572644074-4656485.post@n4.nabble.com> References: <6E81385C-74D0-4C2F-B7E0-83AB8982599F@major.on-rev.com> <5B12F29B-29DB-4684-9A7C-3BA727E2A668@major.on-rev.com> <1350570974634-4656483.post@n4.nabble.com> <4A080F32-4698-4222-9605-C295DCA30F92@major.on-rev.com> <1350572644074-4656485.post@n4.nabble.com> Message-ID: Hi Tom, Am 18.10.2012 um 17:04 schrieb tbodine : > When I click on address in your message, it takes me to a form > page. Completing the form and clicking send generates the error. -- Tom AHA! :-) Well, this is not MY form but rather NABBLE's form, so I cannot help you there. Will send you the mail address to your gmail account above now. Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From cmsheffield at me.com Thu Oct 18 11:35:39 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Thu, 18 Oct 2012 09:35:39 -0600 Subject: Help with ampersand in xml Message-ID: For all you xml experts out there. Hoping someone has the answer for this... I need to use an ampersand character (&) in xml. It's in a company name like Levi Strauss & Co. Everything I can find on the topic says to use the entity reference "&", but this doesn't seem to be working. I just end up with a blank space. Does anyone know how to make this work? I'm beginning to think I've run into a bug in the LiveCode xml parser. I'm currently using the revXMLNodeContents() function. Should I be using some other function? Thanks, Chris From janschenkel at yahoo.com Thu Oct 18 11:53:23 2012 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 18 Oct 2012 08:53:23 -0700 (PDT) Subject: [ANN] Quartam PDF Library 1.1.4 Available Message-ID: <1350575603.35800.YahooMailNeo@web141103.mail.bf1.yahoo.com> This maintenance update to Quartam PDF Library fixes a bug with text line height in tables, and extends the supported text alignments with 'leftJustify', 'centerJustify' and 'rightJustify' for textflows that are more pleasing to the eye. The cross-platform .zip archive can be downloaded at: A web page with LiveCode Server / On-Rev demos is available at: Quartam PDF Library for LiveCode - version 1.1 introduced support for transformations, transparency and blendmodes, gradients, clipping, text box fitting, inserting pages, compression, experimental support for including EPS files, as well as support for LiveCode Server and On-Rev. It is released as open source under a dual license (GNU Affero General Public License / Commercial License). 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) From richmondmathewson at gmail.com Thu Oct 18 12:29:56 2012 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 18 Oct 2012 19:29:56 +0300 Subject: Linux interference In-Reply-To: <507F604E.7070701@fourthworld.com> References: <507EED22.9030401@gmail.com> <507F604E.7070701@fourthworld.com> Message-ID: <50802E84.6010104@gmail.com> On 10/18/2012 04:50 AM, Richard Gaskin wrote: > Finally got back to my Linux box - turns out the log in question is: > > /var/log/dmesg > > It may be a red herring, but as the DBus log it would seem a > reasonable place to start looking for interapp conflicts. > > If you don't see anything there that seems useful, you may want to try > strace or some other tool to log interactions between the apps and the > kernel. > I trawled through both dmesg and dmesg.0 and found no references to 'Evolution', "RunRev' or 'Livecode'. I should like to reiterate my intitail posting, which was a request for other people to try to reduplicate what I found on 2 machines running UbuntuStudio (12.04 and 12.10 Beta): Recently, doing a spot of Beta-testing for someone, I ran across something odd with Linux, which I have subsequently confirmed myself. 'Evolution' Personal Information Client and Livecode standalones don't really like one another. Personally I think Evolution stinks, and had only installed the thing to test something out for somebody else. However it does seem to be installed as default with most GNOME-interface based Linux distros. When a Livecode standalone is running (confirmed for LC 4.5 - 5.5) if one tries to launch Evolution the computer freezes and/or crashes. If one uses a dock such as Avant Window Navigator the standalone comes up as an instance of Evolution rather than itself. Richmond. From lc at pbh.on-rev.com Thu Oct 18 12:30:45 2012 From: lc at pbh.on-rev.com (Paul Hibbert) Date: Thu, 18 Oct 2012 09:30:45 -0700 Subject: Drag & drop controls inside a scroller In-Reply-To: <1350540589556-4656481.post@n4.nabble.com> References: <1350540589556-4656481.post@n4.nabble.com> Message-ID: Hi Josep, Your code stops at line 11 where the word status has wrapped to a new line and so has dropped out of the comment, also at line 13. It gives this error in the 'Errors" pane of the Script Editor: button "Button": execution error at line 11 (Handler: can't find handler) near "status", char 1 This is because LC now thinks "status" is a handler, but that handler isn't defined. Move the word "status" back to the commented line, do the same with line 13 and the code works fine. Note, you should also enclose the field name in quotes. Paul New code: local allowDrag on mouseDown put (the mouseH - left of me),(the mouseV - top of me) into allowDrag end mouseDown on mouseMove x,y if allowDrag = "" then exit mouseMove set topLeft of me to \ (x - item 1 of allowDrag) & "," & (y - item 2 of allowDrag) # if within(grc box1,loc of me) then put "You hit box 1" into fld "status" # if within(grc box2,loc of me) then put "You hit box 2" into fld "status" put "" into fld "status" if intersect(me,grc box1) then put "You hit box 1" into fld "status" if intersect(me,grc box2) then put "You hit box 2" into fld "status" end mouseMove on mouseUp put empty into fld "status" put "" into allowDrag end mouseUp on mouseRelease mouseUp end mouseRelease On 2012-10-17, at 11:09 PM, JosepM wrote: > Hi, > > I need help to drag and drop controls inside a scroller. > Someone have any experience about? Grab me don't work nor the classic drag > and drop operations. > > I found a great sample from Scoot Rossi showing the misteries of drag and > drop > > http://www.tactilemedia.com/site_files/downloads/drag_sampler.rev > > That run fine on iOS, but using the same inside the scroller no. > > > local allowDrag > on mouseDown > put (the mouseH - left of me),(the mouseV - top of me) into allowDrag > end mouseDown > > on mouseMove x,y > if allowDrag = "" then exit mouseMove > set topLeft of me to \ > (x - item 1 of allowDrag) & "," & (y - item 2 of allowDrag) > # if within(grc box1,loc of me) then put "You hit box 1" into fld > status > # if within(grc box2,loc of me) then put "You hit box 2" into fld > status > put "" into fld status > if intersect(me,grc box1) then put "You hit box 1" into fld status > if intersect(me,grc box2) then put "You hit box 2" into fld status > end mouseMove > > on mouseUp > put empty into fld status > put "" into allowDrag > end mouseUp > > on mouseRelease > mouseUp > end mouseRelease > > > > This is the code inside of the button that I want drag. The control move > only a few pixels and stop... > > Any idea? > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Drag-drop-controls-inside-a-scroller-tp4656481.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Thu Oct 18 13:20:19 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 18 Oct 2012 10:20:19 -0700 Subject: Explicit Variables again Message-ID: Still working on converting my stacks to use explicit variables and am realising the significance of the fact that the explicit variables setting is global to the ID not local to a stack. Until I get all my stacks converted, I'd like to pick and choose which ones use explicit variables and which don't, and remembering to switch that option on and off via the Preferences dialog is a pain. I'm wondering if anyone knows where the LC Preference settings are stored? What I have in mind is to have a custom property of each of my stacks that defines whether explicit variables should be on or off and in preOpenCard or similar, I'll set the Livecode Preference accordingly, then set it back to it's initial value on closeStack. Pete lcSQL Software From cmsheffield at me.com Thu Oct 18 13:28:57 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Thu, 18 Oct 2012 11:28:57 -0600 Subject: Explicit Variables again In-Reply-To: References: Message-ID: Pete, It is possible to toggle it via the Edit menu when you have a script window open. Still a hassle, but doesn't take nearly as long as opening the prefs and doing it that way. Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Oct 18, 2012, at 11:20 AM, Peter Haworth wrote: > Still working on converting my stacks to use explicit variables and am > realising the significance of the fact that the explicit variables setting > is global to the ID not local to a stack. Until I get all my stacks > converted, I'd like to pick and choose which ones use explicit variables > and which don't, and remembering to switch that option on and off via the > Preferences dialog is a pain. > > I'm wondering if anyone knows where the LC Preference settings are stored? > What I have in mind is to have a custom property of each of my stacks that > defines whether explicit variables should be on or off and in preOpenCard > or similar, I'll set the Livecode Preference accordingly, then set it back > to it's initial value on closeStack. > > 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 me.com Thu Oct 18 13:31:35 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Thu, 18 Oct 2012 11:31:35 -0600 Subject: Explicit Variables again In-Reply-To: References: Message-ID: <8364348E-F815-4ED2-A3C4-6644DF46D1E3@me.com> Or there's this property that can be set: explicitVariables = true or false :-) On Oct 18, 2012, at 11:28 AM, Chris Sheffield wrote: > Pete, > > It is possible to toggle it via the Edit menu when you have a script window open. Still a hassle, but doesn't take nearly as long as opening the prefs and doing it that way. > > Chris > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > > > On Oct 18, 2012, at 11:20 AM, Peter Haworth wrote: > >> Still working on converting my stacks to use explicit variables and am >> realising the significance of the fact that the explicit variables setting >> is global to the ID not local to a stack. Until I get all my stacks >> converted, I'd like to pick and choose which ones use explicit variables >> and which don't, and remembering to switch that option on and off via the >> Preferences dialog is a pain. >> >> I'm wondering if anyone knows where the LC Preference settings are stored? >> What I have in mind is to have a custom property of each of my stacks that >> defines whether explicit variables should be on or off and in preOpenCard >> or similar, I'll set the Livecode Preference accordingly, then set it back >> to it's initial value on closeStack. >> >> 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 stephenREVOLUTION2 at barncard.com Thu Oct 18 13:51:09 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 18 Oct 2012 10:51:09 -0700 Subject: Help with ampersand in xml In-Reply-To: References: Message-ID: did you try its number ?? & http://www.w3schools.com/html/html_entities.asp On Thu, Oct 18, 2012 at 8:35 AM, Chris Sheffield wrote: > For all you xml experts out there. Hoping someone has the answer for > this... > > I need to use an ampersand character (&) in xml. It's in a company name > like Levi Strauss & Co. Everything I can find on the topic says to use the > entity reference "&", but this doesn't seem to be working. I just end > up with a blank space. Does anyone know how to make this work? > > I'm beginning to think I've run into a bug in the LiveCode xml parser. I'm > currently using the revXMLNodeContents() function. Should I be using some > other function? > > Thanks, > Chris > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 benr_mc at cogapp.com Thu Oct 18 14:11:28 2012 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 18 Oct 2012 19:11:28 +0100 Subject: LiveCode and Redpark kit to interface iOS to external devices Message-ID: <50804650.9000306@cogapp.com> Is anyone using LiveCode and the Redpark kit to interface iOS to external devices? Easy, hard, tips? thanks! Ben From ambassador at fourthworld.com Thu Oct 18 14:45:18 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 18 Oct 2012 11:45:18 -0700 Subject: Explicit Variables again In-Reply-To: References: Message-ID: <50804E3E.2040906@fourthworld.com> I wouldn't worry too much about making your scripts "compliant" with explicitvars. There are probably some users who run with it on, but not many. The IDE itself doesn't really use it except during compilation only, it seems - here's where the dizzyingly long chain of commands that gets invoked when you click "Apply" finally sets the script, handled here in button "Template Editor" of stack "revscripteditor.rev": command scriptCompile pObject lock screen lock messages local tOldPreserveVariables, tOldExplicitVariables put the preserveVariables into tOldPreserveVariables put the explicitVariables into tOldExplicitVariables set the preserveVariables to sePrefGet("preserveVariables") set the explicitVariables to sePrefGet("explicitVariables") local tScript scriptGet pObject put the result into tScript local tResult set the script of button "revCompileObject" of me to tScript put the result into tResult if tResult is empty then put the revAvailableHandlers of button "revCompileObject" of me into sHandlerList end if set the preserveVariables to tOldPreserveVariables set the explicitVariables to tOldExplicitVariables # The script should be unset because it could cause issues with idle handlers set the script of button "revCompileObject" of me to empty unlock messages unlock screen return tResult end scriptCompile IIRC, explicitvars were seen as too cumbersome to work with, since as a truly global property the required that EVERYTHING you're using comply with it, and too many plugins didn't. So rather than require every developer to comply with the requirements of explicitvars just in case, they came up with that clever trick of turning it on only during compilation, and immediately turning it back off again (or to whatever its value was, which is usually off since most folks who turn it "on" do so from Prefs, where it's not really "on" until that moment of compilation. In brief, I'd just blow it off and move on to other tasks.... -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From monte at sweattechnologies.com Thu Oct 18 15:23:50 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 19 Oct 2012 06:23:50 +1100 Subject: LiveCode and Redpark kit to interface iOS to external devices In-Reply-To: <50804650.9000306@cogapp.com> References: <50804650.9000306@cogapp.com> Message-ID: <5F7D196C-29E0-4189-BD1F-22AD2997CBB7@sweattechnologies.com> Tom Mcgrath did some work on this using mergAccessory. He was writing a library for it. I haven't heard much about his project for a while though. Basically if its a Made for iPhone accessory you can use mergAccessory to work with it. You just need docs about the protocol it uses. Cheers Monte -- M E R Goulding Software development services mergExt - There's an external for that! On 19/10/2012, at 5:11 AM, Ben Rubinstein wrote: > Is anyone using LiveCode and the Redpark kit to interface iOS to external devices? > > Easy, hard, tips? > > thanks! > > Ben > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pepetoo at cox.net Thu Oct 18 15:34:16 2012 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Thu, 18 Oct 2012 12:34:16 -0700 Subject: Explicit Variables again In-Reply-To: <50804E3E.2040906@fourthworld.com> References: <50804E3E.2040906@fourthworld.com> Message-ID: Richard, When this recently occurred when I started reworking one of my old projects, I was non-plussed, having actually forgotten how to declare vars explicitly. (smile) With my very poor vision I started looking for instances in which I had done so in the past and could not find any. So I am very pleased that this topic has surfaced on the list. I could not find any explanation that I could read in the Dictionary or the User's Guide. I've been avoiding using VARs so far by referencing containers. Not always very easy and, obviously, much slower. Guidance please? Joe Wilkins On Oct 18, 2012, at 11:45 AM, Richard Gaskin wrote: > I wouldn't worry too much about making your scripts "compliant" with explicitvars. > > There are probably some users who run with it on, but not many. > > The IDE itself doesn't really use it except during compilation only, it seems - here's where the dizzyingly long chain of commands that gets invoked when you click "Apply" finally sets the script, handled here in button "Template Editor" of stack "revscripteditor.rev": > > > command scriptCompile pObject > lock screen > lock messages > > local tOldPreserveVariables, tOldExplicitVariables > put the preserveVariables into tOldPreserveVariables > put the explicitVariables into tOldExplicitVariables > set the preserveVariables to sePrefGet("preserveVariables") > set the explicitVariables to sePrefGet("explicitVariables") > > local tScript > scriptGet pObject > put the result into tScript > > local tResult > set the script of button "revCompileObject" of me to tScript > put the result into tResult > > if tResult is empty then > put the revAvailableHandlers of button "revCompileObject" of me into sHandlerList > end if > > set the preserveVariables to tOldPreserveVariables > set the explicitVariables to tOldExplicitVariables > > # The script should be unset because it could cause issues with idle handlers > set the script of button "revCompileObject" of me to empty > > unlock messages > unlock screen > > return tResult > end scriptCompile > > > IIRC, explicitvars were seen as too cumbersome to work with, since as a truly global property the required that EVERYTHING you're using comply with it, and too many plugins didn't. > > So rather than require every developer to comply with the requirements of explicitvars just in case, they came up with that clever trick of turning it on only during compilation, and immediately turning it back off again (or to whatever its value was, which is usually off since most folks who turn it "on" do so from Prefs, where it's not really "on" until that moment of compilation. > > In brief, I'd just blow it off and move on to other tasks.... > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Thu Oct 18 15:40:24 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 18 Oct 2012 12:40:24 -0700 Subject: Explicit Variables again In-Reply-To: <50804E3E.2040906@fourthworld.com> References: <50804E3E.2040906@fourthworld.com> Message-ID: <173101866765.20121018124024@ahsoftware.net> Richard- Thursday, October 18, 2012, 11:45:18 AM, you wrote: > There are probably some users who run with it on, but not many. ...sad, but possibly true. > IIRC, explicitvars were seen as too cumbersome to work with, since as a > truly global property the required that EVERYTHING you're using comply > with it, and too many plugins didn't. Not at all true. Oh, wait... you're trolling again, right? You're correct in that explicitVars only comes into play when you're compiling a script, but I've always worked with explicitVars enabled. If it caused problems in a generic sense I'd never be able to run the IDE. -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Thu Oct 18 15:54:22 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 18 Oct 2012 12:54:22 -0700 Subject: Explicit Variables again In-Reply-To: <173101866765.20121018124024@ahsoftware.net> References: <173101866765.20121018124024@ahsoftware.net> Message-ID: <50805E6E.6000703@fourthworld.com> Mark Wieder wrote: > Richard- > > Thursday, October 18, 2012, 11:45:18 AM, you wrote: > >> There are probably some users who run with it on, but not many. > > ...sad, but possibly true. > >> IIRC, explicitvars were seen as too cumbersome to work with, since as a >> truly global property the required that EVERYTHING you're using comply >> with it, and too many plugins didn't. > > Not at all true. > > Oh, wait... you're trolling again, right? I don't understand your frequent use of "trolling". I wasn't "trolling" last time you suggested I was, and I'm not "trolling" now. And as far as I know, Jacque wasn't "trolling" each of the times you suggested she was either. Can we please move past that? I'm frequently incorrect, but when I am it isn't intentional. If you need to toss a word around try "mistaken", or even "buffoon", but I'm not "trolling". > You're correct in that explicitVars only comes into play when you're > compiling a script, but I've always worked with explicitVars enabled. > If it caused problems in a generic sense I'd never be able to run the > IDE. If you choose to use explicitVars that's your own choice. But with all due respect, you're not the only one making plugins. Many simply don't use it; I haven't even thought about them in years since RunRev made their implementation in the IDE compile-moment-specific. -- 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 Thu Oct 18 16:20:55 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 18 Oct 2012 13:20:55 -0700 Subject: Explicit Variables again In-Reply-To: <50804E3E.2040906@fourthworld.com> References: <50804E3E.2040906@fourthworld.com> Message-ID: Hi Richard, I think perhaps I didn't explain what I am trying to achieve very well. I certainly don't want to force anyone except me into using explicit vars, or strict compile mode, or whatever the correct term is, but I do want to use them when developing on my computer. The scheme I had in mind would only come into play if the stack was not running as a plugin and it was running on my computer (although I haven't figured out the best way to check the latter). I just want to find a controlled way of switching in and out of strict compile mode, stack by stack and without having to remember which stacks I want to be in that mode. I think this is probably at the point where it would be faster to set the Strict Compile mode preference to true and spend a few hours converting all my stacks. The one thing that would really help in that regard is if there was a way to have the compile/Apply function list all the errors it found instead of stopping at the first one, but I'm sure that can't be done. Pete lcSQL Software On Thu, Oct 18, 2012 at 11:45 AM, Richard Gaskin wrote: > I wouldn't worry too much about making your scripts "compliant" with > explicitvars. > > There are probably some users who run with it on, but not many. > From jacque at hyperactivesw.com Thu Oct 18 16:27:57 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 18 Oct 2012 15:27:57 -0500 Subject: Explicit Variables again In-Reply-To: <50805E6E.6000703@fourthworld.com> References: <173101866765.20121018124024@ahsoftware.net> <50805E6E.6000703@fourthworld.com> Message-ID: <5080664D.8070401@hyperactivesw.com> On 10/18/12 2:54 PM, Richard Gaskin wrote: > And as far > as I know, Jacque wasn't "trolling" each of the times you suggested she > was either. Actually he said I indulged in hyperbole. But I've said a million times I don't do that. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Oct 18 16:46:58 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 18 Oct 2012 15:46:58 -0500 Subject: Explicit Variables again In-Reply-To: References: <50804E3E.2040906@fourthworld.com> Message-ID: <50806AC2.2030806@hyperactivesw.com> On 10/18/12 3:20 PM, Peter Haworth wrote: > I certainly don't want to force anyone except me into using explicit vars, > or strict compile mode, or whatever the correct term is, but I do want to > use them when developing on my computer. I'm still trying to figure out why anyone would want to. Some people insist it's a better way to work, but I've never seen any advantages, only restrictions. The occasional typo isn't worth the trouble to me. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From cmsheffield at me.com Thu Oct 18 17:11:44 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Thu, 18 Oct 2012 15:11:44 -0600 Subject: Help with ampersand in xml In-Reply-To: References: Message-ID: <65F7607F-39C1-4938-92BC-9DEAE2AC06B5@me.com> Well, how about that? I think that worked. I thought I had tried that earlier, but apparently not. Thanks, Chris On Oct 18, 2012, at 11:51 AM, stephen barncard wrote: > did you try its number ?? & > > http://www.w3schools.com/html/html_entities.asp > > > On Thu, Oct 18, 2012 at 8:35 AM, Chris Sheffield wrote: > >> For all you xml experts out there. Hoping someone has the answer for >> this... >> >> I need to use an ampersand character (&) in xml. It's in a company name >> like Levi Strauss & Co. Everything I can find on the topic says to use the >> entity reference "&", but this doesn't seem to be working. I just end >> up with a blank space. Does anyone know how to make this work? >> >> I'm beginning to think I've run into a bug in the LiveCode xml parser. I'm >> currently using the revXMLNodeContents() function. Should I be using some >> other function? >> >> Thanks, >> Chris >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 andre at andregarzia.com Thu Oct 18 17:31:25 2012 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 18 Oct 2012 18:31:25 -0300 Subject: Help with ampersand in xml In-Reply-To: References: Message-ID: Chris, In theory you can't have ampersands in XML because it assumes it is an entity. You can try using & but it shouldn't work because XML is not HTML. I will tell you my dirty trick for dealing with ampersands. Its a very boring trick. TRICK #1: I replace every ampersand with something like: replace "&" with "#AMPERSAND#" in tXML This way, the XML routines work just fine and when presenting some data that may contain an ampersand, I replace the "#AMPERSAND#" back. This is a tedious trick but it works, there is also trick #2... TRICK #2: Add & to your XML entities with a declaration with . Those tricks really depend on the parser. IIRC LiveCode uses libxml2 which is a pretty good and standard parser. It may allow you to replace your & with & Cheers andre On Thu, Oct 18, 2012 at 12:35 PM, Chris Sheffield wrote: > For all you xml experts out there. Hoping someone has the answer for > this... > > I need to use an ampersand character (&) in xml. It's in a company name > like Levi Strauss & Co. Everything I can find on the topic says to use the > entity reference "&", but this doesn't seem to be working. I just end > up with a blank space. Does anyone know how to make this work? > > I'm beginning to think I've run into a bug in the LiveCode xml parser. I'm > currently using the revXMLNodeContents() function. Should I be using some > other function? > > Thanks, > Chris > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From jmyepes at mac.com Thu Oct 18 18:22:58 2012 From: jmyepes at mac.com (Josep M Yepes) Date: Fri, 19 Oct 2012 00:22:58 +0200 Subject: Drag & drop controls inside a scroller In-Reply-To: References: Message-ID: <1A688167-AA71-42F3-A162-14BF94D4835C@mac.com> Hi Paul, I follow your steps but the I can't drag more far away of 5 pixels... :( If you prefer delete the lines that put into fld "status" and you can see that the button can't be dragged and I don't know why... Any idea why? Salut, Josep M El 18/10/2012, a las 19:00, use-livecode-request at lists.runrev.com escribi?: > Subject: Re: Drag & drop controls inside a scroller > Message-ID: > Content-Type: text/plain; charset=us-ascii > > Hi Josep, > > Your code stops at line 11 where the word status has wrapped to a new line and so has dropped out of the comment, also at line 13. > > It gives this error in the 'Errors" pane of the Script Editor: > button "Button": execution error at line 11 (Handler: can't find handler) near "status", char 1 > > This is because LC now thinks "status" is a handler, but that handler isn't defined. > > Move the word "status" back to the commented line, do the same with line 13 and the code works fine. > > Note, you should also enclose the field name in quotes. > > Paul > > New code: > > local allowDrag > on mouseDown > put (the mouseH - left of me),(the mouseV - top of me) into allowDrag > end mouseDown > > on mouseMove x,y > if allowDrag = "" then exit mouseMove > set topLeft of me to \ > (x - item 1 of allowDrag) & "," & (y - item 2 of allowDrag) > # if within(grc box1,loc of me) then put "You hit box 1" into fld "status" > # if within(grc box2,loc of me) then put "You hit box 2" into fld "status" > put "" into fld "status" > if intersect(me,grc box1) then put "You hit box 1" into fld "status" > if intersect(me,grc box2) then put "You hit box 2" into fld "status" > end mouseMove > > on mouseUp > put empty into fld "status" > put "" into allowDrag > end mouseUp > > on mouseRelease > mouseUp > end mouseRelease From mwieder at ahsoftware.net Thu Oct 18 20:52:05 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 18 Oct 2012 17:52:05 -0700 Subject: Explicit Variables again In-Reply-To: <50805E6E.6000703@fourthworld.com> References: <173101866765.20121018124024@ahsoftware.net> <50805E6E.6000703@fourthworld.com> Message-ID: <164120568171.20121018175205@ahsoftware.net> Richard- Thursday, October 18, 2012, 12:54:22 PM, you wrote: >> Oh, wait... you're trolling again, right? > I don't understand your frequent use of "trolling". I wasn't "trolling" My apologies. I assumed a after that statement, but I guess it didn't come across without my making it explicit. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Oct 18 20:54:12 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 18 Oct 2012 17:54:12 -0700 Subject: Help with ampersand in xml In-Reply-To: References: Message-ID: <53120694750.20121018175412@ahsoftware.net> Andre- Thursday, October 18, 2012, 2:31:25 PM, you wrote: > TRICK #1: > I replace every ampersand with something like: > replace "&" with "#AMPERSAND#" in tXML LOL. I use "_AMPERSAND_". I also replace comma with "_COMMA_" because commas aren't allowed. XML doesn't allow numeric keys, either, so I convert those. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Oct 18 20:56:43 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 18 Oct 2012 17:56:43 -0700 Subject: Explicit Variables again In-Reply-To: <50805E6E.6000703@fourthworld.com> References: <173101866765.20121018124024@ahsoftware.net> <50805E6E.6000703@fourthworld.com> Message-ID: <118120845968.20121018175643@ahsoftware.net> Richard- Thursday, October 18, 2012, 12:54:22 PM, you wrote: > If you choose to use explicitVars that's your own choice. But with all > due respect, you're not the only one making plugins. Sure, but as I pointed out, it doesn't affect other plugins. As long as you don't need to compile plugins before using them it doesn't matter whether explicitVars is on or off. -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Thu Oct 18 23:51:46 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 18 Oct 2012 20:51:46 -0700 Subject: Explicit Variables again In-Reply-To: <118120845968.20121018175643@ahsoftware.net> References: <118120845968.20121018175643@ahsoftware.net> Message-ID: <5080CE52.7030005@fourthworld.com> Mark Wieder wrote: > Thursday, October 18, 2012, 12:54:22 PM, you wrote: > >> If you choose to use explicitVars that's your own choice. But with all >> due respect, you're not the only one making plugins. > > Sure, but as I pointed out, it doesn't affect other plugins. As long > as you don't need to compile plugins before using them it doesn't > matter whether explicitVars is on or off. Depends what "on" means. :) Remember that LiveCode is dynamically compiled - the only copy of a script stored with a stack is the source copy, not any tokenized version. So whenever you open a stack, as part of the unpacking its scripts are dynamically compiled - and that's when the compilation error will occur. That is, if explicitVars is truly on. If you're just turning it on via Prefs, in recent versions of LC that merely sets a prefs value that causes explicitVars to be turned on only for the moment a script is set; at all other times explicitVars isn't really on at all (see the previous snippet from their IDE I posted that illustrates that man behind the curtain). But if you turn it on manually via the Message Box ("set the explicitVars to true"), then you can see the behavior that happens when you try to open a stack that has undeclared vars in its scripts - here I get "can't create a variable with that name (explicitVars)". So the good news is that RunRev's clever revamp of the IDE means we never need to think about explicit vars for most projects, so those turning it "on" via Prefs will never actually have it on unless they open your script and try to save changes. But the bad news is that it's just one more difference between how the IDE works and how the engine works. So when I wear my T-shirt which reads: "Know the engine. Trust the engine. Use the engine." ...I need to add for the good folks at RunRev: "If you own the engine and don't like something in the engine, change the engine." :) PS: Sorry about being over-sensitive about the "trolling" thing. I've known you for enough years that I should have been able to expect nothing more than good humor from you. I'd just had a complicated morning; thank you for replying so gracefully. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Fri Oct 19 00:32:56 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 18 Oct 2012 21:32:56 -0700 Subject: Explicit Variables again In-Reply-To: <5080CE52.7030005@fourthworld.com> References: <118120845968.20121018175643@ahsoftware.net> <5080CE52.7030005@fourthworld.com> Message-ID: <160133819359.20121018213256@ahsoftware.net> Richard- Thursday, October 18, 2012, 8:51:46 PM, you wrote: > Remember that LiveCode is dynamically compiled - the only copy of a > script stored with a stack is the source copy, not any tokenized > version. So whenever you open a stack, as part of the unpacking its > scripts are dynamically compiled - and that's when the compilation error > will occur. OK - I see the difference. I've never considered turning explicitVars on from the message box. The message box is a weird enough critter that I wouldn't be surprised by unexpected consequences (OK - I realize that's an oxymoron, but I can live with that). But I've had explicitVars enabled from the preferences menu for years and never had a problem. The IDE stacks are notoriously not explicitVars-safe, so you'd expect there to be issues with them if there were any problems with running in mixed mode. The only "issues" I've had are when trying to compile someone else's stack, plugin or no, that doesn't have declared variables. > PS: Sorry about being over-sensitive about the "trolling" thing. I've > known you for enough years that I should have been able to expect > nothing more than good humor from you. I'd just had a complicated > morning; thank you for replying so gracefully. Not a problem on my end. Sorry about the unintentional slight. And sorry about your morning - mine was weird as well. Sunspots? UFOs? -- -Mark Wieder mwieder at ahsoftware.net From jhj at jhj.com Fri Oct 19 01:00:06 2012 From: jhj at jhj.com (Jerry Jensen) Date: Thu, 18 Oct 2012 22:00:06 -0700 Subject: Explicit Variables again In-Reply-To: <160133819359.20121018213256@ahsoftware.net> References: <118120845968.20121018175643@ahsoftware.net> <5080CE52.7030005@fourthworld.com> <160133819359.20121018213256@ahsoftware.net> Message-ID: On Oct 18, 2012, at 9:32 PM, Mark Wieder wrote: > > But I've had > explicitVars enabled from the preferences menu for years and never had > a problem. I'm writing as a far more pedestrian user of LC than either Mark or Richard. I've had explicit variables enabled from the prefs for a long time as well. I actually find it comforting. It helps me catch typos all the time. My eyesight is not great, and I often miss an m instead of an n, or a ; instead of a :, or the like. Usually when dealing with code I didn't write, its because I'm trying to fix code that doesn't work properly. Often, the original coder would have been helped by explicit vars. One guy's opinion. .Jerry From lc at pbh.on-rev.com Fri Oct 19 01:39:00 2012 From: lc at pbh.on-rev.com (Paul Hibbert) Date: Thu, 18 Oct 2012 22:39:00 -0700 Subject: Drag & drop controls inside a scroller In-Reply-To: <1A688167-AA71-42F3-A162-14BF94D4835C@mac.com> References: <1A688167-AA71-42F3-A162-14BF94D4835C@mac.com> Message-ID: <2940F75D-1110-41B6-9772-86E8FA314D76@pbh.on-rev.com> Hi Josep, I deleted all lines with any reference to "status" and it still works for me, I can send you the sample stack if you wish, which version of LC do you use? Paul On 2012-10-18, at 3:22 PM, Josep M Yepes wrote: > Hi Paul, > > I follow your steps but the I can't drag more far away of 5 pixels... :( > If you prefer delete the lines that put into fld "status" and you can see that the button can't be dragged and I don't know why... > > Any idea why? > > Salut, > Josep M > > El 18/10/2012, a las 19:00, use-livecode-request at lists.runrev.com escribi?: > >> Subject: Re: Drag & drop controls inside a scroller >> Message-ID: >> Content-Type: text/plain; charset=us-ascii >> >> Hi Josep, >> >> Your code stops at line 11 where the word status has wrapped to a new line and so has dropped out of the comment, also at line 13. >> >> It gives this error in the 'Errors" pane of the Script Editor: >> button "Button": execution error at line 11 (Handler: can't find handler) near "status", char 1 >> >> This is because LC now thinks "status" is a handler, but that handler isn't defined. >> >> Move the word "status" back to the commented line, do the same with line 13 and the code works fine. >> >> Note, you should also enclose the field name in quotes. >> >> Paul >> >> New code: >> >> local allowDrag >> on mouseDown >> put (the mouseH - left of me),(the mouseV - top of me) into allowDrag >> end mouseDown >> >> on mouseMove x,y >> if allowDrag = "" then exit mouseMove >> set topLeft of me to \ >> (x - item 1 of allowDrag) & "," & (y - item 2 of allowDrag) >> # if within(grc box1,loc of me) then put "You hit box 1" into fld "status" >> # if within(grc box2,loc of me) then put "You hit box 2" into fld "status" >> put "" into fld "status" >> if intersect(me,grc box1) then put "You hit box 1" into fld "status" >> if intersect(me,grc box2) then put "You hit box 2" into fld "status" >> end mouseMove >> >> on mouseUp >> put empty into fld "status" >> put "" into allowDrag >> end mouseUp >> >> on mouseRelease >> mouseUp >> end mouseRelease > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From th.douez at gmail.com Fri Oct 19 01:45:17 2012 From: th.douez at gmail.com (Thierry Douez) Date: Fri, 19 Oct 2012 07:45:17 +0200 Subject: Explicit Variables again In-Reply-To: References: <118120845968.20121018175643@ahsoftware.net> <5080CE52.7030005@fourthworld.com> <160133819359.20121018213256@ahsoftware.net> Message-ID: 2012/10/19 Jerry Jensen : > On Oct 18, 2012, at 9:32 PM, Mark Wieder wrote: >> >> But I've had >> explicitVars enabled from the preferences menu for years and never had >> a problem. > > I'm writing as a far more pedestrian user of LC than either Mark or Richard. I've had explicit variables enabled from the prefs for a long time as well. I actually find it comforting. It helps me catch typos all the time. My eyesight is not great, and I often miss an m instead of an n, or a ; instead of a :, or the like. Usually when dealing with code I didn't write, its because I'm trying to fix code that doesn't work properly. Often, the original coder would have been helped by explicit vars. > > One guy's opinion. > .Jerry +1 another guy's opinion. Thierry From dave.cragg at lacscentre.co.uk Fri Oct 19 04:47:27 2012 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 19 Oct 2012 09:47:27 +0100 Subject: Help with ampersand in xml In-Reply-To: References: Message-ID: <6A34E707-C1DC-4351-B108-0330778447B5@lacscentre.co.uk> On 18 Oct 2012, at 16:35, Chris Sheffield wrote: > For all you xml experts out there. Hoping someone has the answer for this... > > I need to use an ampersand character (&) in xml. It's in a company name like Levi Strauss & Co. Everything I can find on the topic says to use the entity reference "&", but this doesn't seem to be working. I just end up with a blank space. Does anyone know how to make this work? > > I'm beginning to think I've run into a bug in the LiveCode xml parser. I'm currently using the revXMLNodeContents() function. Should I be using some other function? > > Thanks, > Chris The following works here (LC 4.6) In field 1: Woolworths Marks & Spencer In button script: on mouseUp put revCreateXMLTree(field 1,true,true,false) into tID put revXMLNodeContents(tID, "/data/company[2]/name") into field 2 end mouseUp Produces 'Marks & Spencer' Dave From rene.micout at numericable.com Fri Oct 19 05:59:07 2012 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Fri, 19 Oct 2012 11:59:07 +0200 Subject: LiveCode Mobile Development (Colin Holgate book) Message-ID: <53D56BB1-31C8-4A1D-934A-FEDCA85A41A8@numericable.com> I receveid today the Colin's book (paper version)... I can start my apprenticeship... one regret is that there is no French version ;-) Ren? From andre at andregarzia.com Fri Oct 19 09:48:07 2012 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 19 Oct 2012 10:48:07 -0300 Subject: [Half-OT] Free intro eBook about SQL Message-ID: Hi Folks, I was browsing reddit when I found this little eBook about SQL aimed at new users. http://www.dreamincode.net/forums/blog/48/entry-4251-my-free-ebook-a-primer-on-sql/ It's 42 pages long and it appears to be a good and solid intro to standard SQL. Thought some people here would be interested in such book. Cheers andre -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From mpetrides at earthlink.net Fri Oct 19 09:59:32 2012 From: mpetrides at earthlink.net (Marian Petrides, MD) Date: Fri, 19 Oct 2012 08:59:32 -0500 Subject: [Half-OT] Free intro eBook about SQL In-Reply-To: References: Message-ID: Thanks, Andre! Sent from my iPad On Oct 19, 2012, at 8:48 AM, Andre Garzia wrote: > Hi Folks, > > I was browsing reddit when I found this little eBook about SQL aimed at new > users. > > http://www.dreamincode.net/forums/blog/48/entry-4251-my-free-ebook-a-primer-on-sql/ > > It's 42 pages long and it appears to be a good and solid intro to standard > SQL. > > Thought some people here would be interested in such book. > > Cheers > andre > > -- > http://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Fri Oct 19 10:30:51 2012 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 19 Oct 2012 11:30:51 -0300 Subject: Help with ampersand in xml In-Reply-To: <53120694750.20121018175412@ahsoftware.net> References: <53120694750.20121018175412@ahsoftware.net> Message-ID: On Thu, Oct 18, 2012 at 9:54 PM, Mark Wieder wrote: > Andre- > > Thursday, October 18, 2012, 2:31:25 PM, you wrote: > > > TRICK #1: > > > I replace every ampersand with something like: > > > replace "&" with "#AMPERSAND#" in tXML > > LOL. I use "_AMPERSAND_". > I also replace comma with "_COMMA_" because commas aren't allowed. > XML doesn't allow numeric keys, either, so I convert those. > > LOL!!! :-D Our XML parser is pretty forgiving, it appears that it allows &... who knows what more it may allow :-D > -- > -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 > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From andre at andregarzia.com Fri Oct 19 10:31:35 2012 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 19 Oct 2012 11:31:35 -0300 Subject: Help with ampersand in xml In-Reply-To: <53120694750.20121018175412@ahsoftware.net> References: <53120694750.20121018175412@ahsoftware.net> Message-ID: On Thu, Oct 18, 2012 at 9:54 PM, Mark Wieder wrote: > Andre- > > Thursday, October 18, 2012, 2:31:25 PM, you wrote: > > > TRICK #1: > > > I replace every ampersand with something like: > > > replace "&" with "#AMPERSAND#" in tXML > > LOL. I use "_AMPERSAND_". > I also replace comma with "_COMMA_" because commas aren't allowed. > XML doesn't allow numeric keys, either, so I convert those. > > LOL!!! :-D Our XML parser is pretty forgiving, it appears that it allows &... who knows what more it may allow :-D > -- > -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 > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From ambassador at fourthworld.com Fri Oct 19 10:47:22 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 19 Oct 2012 07:47:22 -0700 Subject: Explicit Variables again In-Reply-To: <160133819359.20121018213256@ahsoftware.net> References: <160133819359.20121018213256@ahsoftware.net> Message-ID: <508167FA.30304@fourthworld.com> Mark Wieder wrote: > Richard- > > Thursday, October 18, 2012, 8:51:46 PM, you wrote: > >> Remember that LiveCode is dynamically compiled - the only copy of a >> script stored with a stack is the source copy, not any tokenized >> version. So whenever you open a stack, as part of the unpacking its >> scripts are dynamically compiled - and that's when the compilation error >> will occur. > > OK - I see the difference. I've never considered turning explicitVars > on from the message box. The message box is a weird enough critter > that I wouldn't be surprised by unexpected consequences (OK - I > realize that's an oxymoron, but I can live with that). My issue with LC's Message Box is that it's always in palette mode. MC's is modeless, and the more I use Terminal the more I've come to enjoy having the MB occasionally sized larger and always layerable with my other windows. So a while back when I had a free Saturday I started work on my own MB replacement, and these days it's much easier to do a graceful implementation because we now have the messageBoxRedirect global property (thanks for that one, Kevin - I'm making good use of it). At the time my main motivation was just to have an MB I could use as an optional plugin in standalones but limited to specific commands in case I chose to make it available for customers, but the more I got to using it the more I found it simpler for day-to-day work in the IDE than LC's mouse-driven MB UI (when you're typing, you're typing). I've since added a bunch of shortcuts I use all the time, like listing globals vars and props, and stack lists, and the message path, and other stuff, and then I started down the road of implementing a few shell calls like "ls" and "cd" - and of course now the challenge is to stop doing that so I can just post it for others to use. I have an update for devolution in the works that'll include it once I get a few client things out of the way. It'll be MIT licensed so folks can tear it apart and make their own if they want. > But I've had explicitVars enabled from the preferences menu for years > and never had a problem. The IDE stacks are notoriously not > explicitVars-safe, so you'd expect there to be issues with them if > there were any problems with running in mixed mode. > > The only "issues" I've had are when trying to compile someone else's > stack, plugin or no, that doesn't have declared variables. That's the great thing about LC's current implementation in their IDE, one of the areas in which I'd say it's a cut above MetaCard: In MC, being close to the engine as it is, explicitVars is truly a global property, and will require that everything you run has been written to accommodate it. In LC we have greater freedom in the sense that we can turn it on for our own scripts while still using stuff from other people that doesn't account for it. Some history trivia for those who might care: The explicitVars global property was added for SuperCard compatibility back in the late '90s. SC was the first xTalk to have implemented this, and I suppose that Raney, with his degree in CS focused on compiler design, found it appealing, so unlike so many other SC- and HC-specific compatibility tokens added as mere non-working stubs, this one was added with full functionality. But how did SC come to have explicitVars? Back in those days the lead engineer for SuperCard was Gary Poppitz, a man well versed in C and 68k Assembler. As far as I know no user had ever requested it, he just felt it would be useful and put it in. After he added that to SC I wondered if perhaps the benefit might be compiler optimization, so I did some benchmarking. But on the contrary, I found that running with it turned on actually made script execution measurably slower than without (not by much though, maybe <5%, and I've seen no difference in speed with LC's implementation, though it's been years since I've benchmarked it). So I asked Gary, "Why was explicitVars added?", and he said, "Because it enforces discipline." I write tons of code, and then I have to also write unit tests and harnesses for it - and I need a new feature that requires even more discipline? :) SC's implementation was like MC's (and ultimately LC's since of course MC and LC are the same engine), in which it's truly global and requires everything in the environment be compliant with it if it's to be used at all. So while I had no personal interest in explicitVars myself, I used to adhere to its requirements because I had no choice if I wanted to share code with others who might have it turned on. Now that RunRev has made this a more optional thing I'll admit I never bother with it at all. I can understand why some do, but I really love the freedom of being able to choose for myself whether I use it or not for a given script. >> PS: Sorry about being over-sensitive about the "trolling" thing. I've >> known you for enough years that I should have been able to expect >> nothing more than good humor from you. I'd just had a complicated >> morning; thank you for replying so gracefully. > > Not a problem on my end. Sorry about the unintentional slight. And > sorry about your morning - mine was weird as well. Sunspots? UFOs? In my case it was UFOs: Uninteresting FUBAR Obstacles. :) My mood has since elevated with news of some nice fixes in the LC engine for Linux (including a particularly difficult one in which Mark Waddingham worked around a GTK limitation to provide a workable windowBoundingRect, at least for single-monitor setups - thanks Mark!), and I very much enjoyed the notice on the Ubuntu.com home page announcing their new 12.10 release with the tag line, "Avoid the pain of Windows 8" (which they've since replaced with a much less interesting tag line, but it made me chuckle while it was up ). Like the Apple "1984", "Lemmings", and "I'm a Mac" ads, and the recent ones from Samsung that turn the tables, sometimes a little controversy isn't a bad thing; when done well it can even be fun (though I suppose Win8 is an easy target given the press it's been getting, not to mention Otellini's leaked memo). -- 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 francois.chaplais at mines-paristech.fr Fri Oct 19 10:54:25 2012 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Fri, 19 Oct 2012 16:54:25 +0200 Subject: [Half-OT] Free intro eBook about SQL In-Reply-To: References: Message-ID: Thanks a lot Andre! That is the kind of complement to the livecode documentation that makes it so much more usable. Very best Fran?ois Le 19 oct. 2012 ? 15:48, Andre Garzia a ?crit : > Hi Folks, > > I was browsing reddit when I found this little eBook about SQL aimed at new > users. > > http://www.dreamincode.net/forums/blog/48/entry-4251-my-free-ebook-a-primer-on-sql/ > > It's 42 pages long and it appears to be a good and solid intro to standard > SQL. > > Thought some people here would be interested in such book. > > Cheers > andre > > -- > http://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. From klaus at major.on-rev.com Fri Oct 19 10:57:07 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Fri, 19 Oct 2012 16:57:07 +0200 Subject: Poll/Ann: Desktop Video Externals In-Reply-To: <6E81385C-74D0-4C2F-B7E0-83AB8982599F@major.on-rev.com> References: <6E81385C-74D0-4C2F-B7E0-83AB8982599F@major.on-rev.com> Message-ID: Hi friends, Am 17.10.2012 um 14:51 schrieb Klaus on-rev : > ... > 1. XMediaPlayer (WMP) Windows, 116 KB > ... > 2. XMediaPlayer (VLC) Windows, 105 KB, but requires a folder "plugins" = 40 MB! > ... > 3. XVideoJoiner Mac and Windows, 17 MB > ... only 4 (FOUR) replies so far... :-/ Come on folks, if there won't be some more replies my boss won't even consider to publish them in any way, which would be a real shame! If it helps: You ARE NOT OBLIGED to buy any of them if you reply! :-) I will try to post the API calls over the weekend, so you can see what this is all about. Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From mwieder at ahsoftware.net Fri Oct 19 11:17:28 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 19 Oct 2012 08:17:28 -0700 Subject: Help with ampersand in xml In-Reply-To: References: <53120694750.20121018175412@ahsoftware.net> Message-ID: <162172491078.20121019081728@ahsoftware.net> Andre- Friday, October 19, 2012, 7:30:51 AM, you wrote: > Our XML parser is pretty forgiving, it appears that it allows &... who > knows what more it may allow :-D Ah, never mind. I thought the issue was with ampersands and commas and other things in xml tags, not in the data elements. Yes, there's a lot more flexibility in xml data than there is in the tags themselves. That's where I have to do the substitutions. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Oct 19 11:27:35 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 19 Oct 2012 08:27:35 -0700 Subject: Explicit Variables again In-Reply-To: <508167FA.30304@fourthworld.com> References: <160133819359.20121018213256@ahsoftware.net> <508167FA.30304@fourthworld.com> Message-ID: <37173097703.20121019082735@ahsoftware.net> Richard- Friday, October 19, 2012, 7:47:22 AM, you wrote: > "Avoid the pain of Windows 8" I run the Win8 Customer Preview in a VM at work, and while LC mostly works as a desktop app, I reported a couple of bugs that the rev team hasn't been able to reproduce. There's also one *really* annoying one having to do (I think) with templates that I haven't been able to narrow down enough to write a bug report yet. Luckily I don't need Win8 for anything and I look forward to avoiding the pain. -- -Mark Wieder mwieder at ahsoftware.net From m.schonewille at economy-x-talk.com Fri Oct 19 11:34:07 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 19 Oct 2012 17:34:07 +0200 Subject: Poll/Ann: Desktop Video Externals In-Reply-To: References: <6E81385C-74D0-4C2F-B7E0-83AB8982599F@major.on-rev.com> Message-ID: <0DA812DF-D37B-4252-AF5E-E6AA8453D382@economy-x-talk.com> Ok, I reply. I would have had a use for them a few years ago. If you make them available, I might pay 50 euro for an external if a similar project ever comes up again. -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com Op 19 okt. 2012 om 16:57 heeft Klaus on-rev het volgende geschreven: > Hi friends, > > Am 17.10.2012 um 14:51 schrieb Klaus on-rev : > >> ... >> 1. XMediaPlayer (WMP) Windows, 116 KB >> ... >> 2. XMediaPlayer (VLC) Windows, 105 KB, but requires a folder "plugins" = 40 MB! >> ... >> 3. XVideoJoiner Mac and Windows, 17 MB >> ... > > only 4 (FOUR) replies so far... :-/ > > Come on folks, if there won't be some more replies my boss won't even consider to publish them in any way, > which would be a real shame! If it helps: You ARE NOT OBLIGED to buy any of them if you reply! :-) > > I will try to post the API calls over the weekend, so you can see what this is all about. > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major.on-rev.com Fri Oct 19 11:43:05 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Fri, 19 Oct 2012 17:43:05 +0200 Subject: Poll/Ann: Desktop Video Externals In-Reply-To: <6E81385C-74D0-4C2F-B7E0-83AB8982599F@major.on-rev.com> References: <6E81385C-74D0-4C2F-B7E0-83AB8982599F@major.on-rev.com> Message-ID: Hi friends, Am 17.10.2012 um 14:51 schrieb Klaus on-rev : > Hello friends, is this a problem for you? > ... > If you are intested, please send a mail to: > with "video external" as the subject > and the external you are intested in in the body. Thanks! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From mwieder at ahsoftware.net Fri Oct 19 11:48:29 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 19 Oct 2012 08:48:29 -0700 Subject: Explicit Variables again In-Reply-To: <508167FA.30304@fourthworld.com> References: <160133819359.20121018213256@ahsoftware.net> <508167FA.30304@fourthworld.com> Message-ID: <37174351890.20121019084829@ahsoftware.net> Richard- Friday, October 19, 2012, 7:47:22 AM, you wrote: > I've since added a bunch of shortcuts I use all the time, like listing > globals vars and props, and stack lists, and the message path, and other > stuff, and then I started down the road of implementing a few shell > calls like "ls" and "cd" - and of course now the challenge is to stop > doing that so I can just post it for others to use. I have an update > for devolution in the works that'll include it once I get a few client > things out of the way. It'll be MIT licensed so folks can tear it apart > and make their own if they want. ! Looking forward to that. > Some history trivia for those who might care: Thanks. I do care. > I write tons of code, and then I have to also write unit tests and > harnesses for it - and I need a new feature that requires even more > discipline? :) Look, as a qa engineer let me state the truism that the earlier in the development process you can find bugs, the cheaper it is to fix them. The idea of enforcing explicit variable declarations is to catch some bugs at compile time rather then waiting for them to appear at runtime and force you to debug what happened. Have you ever typed something like "if theversion > 4.5 then" instead of "if the version > 4.5 then" Easy enough to find if it's in front of you like that, but what if it's buried in several hundred lines of code? With explicitVars enabled the compiler will tell you what line of code failed when you press the Apply button. I believe in letting the compiler help me rather than fighting against it. That's the whole reason I enable explicitVars. I can't count the number of stupid typos I've caught this way in my code, in other people's code, and in the IDE. Stuff that should never have gotten out the door in the first place, and wouldn't if people just let the compiler exercise some "discipline". -- -Mark Wieder mwieder at ahsoftware.net From m.schonewille at economy-x-talk.com Fri Oct 19 11:54:09 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 19 Oct 2012 17:54:09 +0200 Subject: Poll/Ann: Desktop Video Externals In-Reply-To: References: <6E81385C-74D0-4C2F-B7E0-83AB8982599F@major.on-rev.com> Message-ID: <2B6E63CD-D2D0-41DA-B946-B99137AF11C0@economy-x-talk.com> Klaus, do you mean me (quoting would be useful)? I can forward my e-mail when I get home in an hour. -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com Op 19 okt. 2012 om 17:43 heeft Klaus on-rev het volgende geschreven: > Hi friends, > > Am 17.10.2012 um 14:51 schrieb Klaus on-rev : > >> Hello friends, > > is this a problem for you? >> ... >> If you are intested, please send a mail to: >> with "video external" as the subject >> and the external you are intested in in the body. > > Thanks! > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major.on-rev.com Fri Oct 19 12:02:41 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Fri, 19 Oct 2012 18:02:41 +0200 Subject: Poll/Ann: Desktop Video Externals In-Reply-To: <2B6E63CD-D2D0-41DA-B946-B99137AF11C0@economy-x-talk.com> References: <6E81385C-74D0-4C2F-B7E0-83AB8982599F@major.on-rev.com> <2B6E63CD-D2D0-41DA-B946-B99137AF11C0@economy-x-talk.com> Message-ID: Hi Mark, Am 19.10.2012 um 17:54 schrieb Mark Schonewille : > Klaus, do you mean me (quoting would be useful)? You are not alone, so I did not quote anyone! :-) > I can forward my e-mail when I get home in an hour. Yes please, thank you! > -- > Kind regards, > > Mark Schonewille > .... >> >>> Hello friends, >> is this a problem for you? >>> ... >>> If you are intested, please send a mail to: >>> with "video external" as the subject >>> and the external you are intested in in the body. Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From ambassador at fourthworld.com Fri Oct 19 12:41:51 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 19 Oct 2012 09:41:51 -0700 Subject: Explicit Variables again In-Reply-To: <37174351890.20121019084829@ahsoftware.net> References: <37174351890.20121019084829@ahsoftware.net> Message-ID: <508182CF.2080304@fourthworld.com> Mark Wieder wrote: > Look, as a qa engineer let me state the truism that the earlier > in the development process you can find bugs, the cheaper it is to fix > them. The idea of enforcing explicit variable declarations is to catch > some bugs at compile time rather then waiting for them to appear at > runtime and force you to debug what happened. > > Have you ever typed something like > > "if theversion > 4.5 then" > instead of > "if the version > 4.5 then" > > Easy enough to find if it's in front of you like that, but what if > it's buried in several hundred lines of code? With explicitVars > enabled the compiler will tell you what line of code failed when you > press the Apply button. > > I believe in letting the compiler help me rather than fighting against > it. That's the whole reason I enable explicitVars. I can't count the > number of stupid typos I've caught this way in my code, in other > people's code, and in the IDE. Stuff that should never have gotten out > the door in the first place, and wouldn't if people just let the > compiler exercise some "discipline". I agree with everything you wrote, but I still don't do it. :) I think it's just a question of work style. While everyone has typos in their code (though here I don't do "theversion" as much as "teh version" ), in practice I find those are a very slender minority of issues I encounter. Far more frequent are logic errors, mismatched states, or other things far beyond the scope of what explicitVars can help with. One could argue that even if explicitVars helps with only a very slender subset of my issues, it's still better than not using it at all, and I would agree if it were not for this aspect of my workflow: LiveCode is great for both prototyping and final deployment, so in the early stages I often don't know exactly what my code will look like in its final state; I try a few things, flesh them out, revise them, and over time it becomes a finalized handler I can use as an internal API. But that process often involves a lot of iteration, and along the way things that began as params may become local vars, or even script-local vars as I identify ways to leverage other handlers, or even custom props. Taking full advantage of xTalk's inherent looseness, I can let this process flow easily, adjusting things as I go freely with minimal effort. This helps me keep my focus on the logic side of things, which is for myself the greater weakness. Typos are often found in unit testing right away, but logic errors due to state assumptions can be far more difficult to pin down in the early stages, so while it may be a cognitive weakness of mine I need to reserve every brain cell I can for those. If I also take the time to declare every variable (or, as we've seen, most variables, since apparently not all require declaration under explicitVars), that's just extra stuff to revise while I'm also revising code. So I can see how it would be a benefit to some, but for me it just slows me down. I've been tempted after I finalize an API to go back and make it all explicitVars-compliant, but inevitably there are other things on my to-do list that take priority. The cool thing about the way RunRev has revamped its use of explicitVars in the IDE is that it lets both of us use whichever mode we find most productive for our work style. -- 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 klaus at major.on-rev.com Fri Oct 19 12:43:35 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Fri, 19 Oct 2012 18:43:35 +0200 Subject: My poll for externals: the "punchline" Message-ID: Hi friends, looks like noone really gets "the point" of my poll, so please let me try to explain. There are very few externals for the desktop. I really would love to see these externals made available to the Liveocde community. They will NOT be made abvailable if my poll will only result a handful of replies. So in the interest of the community please reply to my poll, EVEN IF YOU DON'T F****** CARE to ever buy or use any of them! Now is this clear enough? 8-) Fine! Now hurry up and send a mail to: Put this into the subject: video external And this into the body: 1, 2 and/or 3 would be enough, or if you can spare a second the name of the external(s) you are intested in (or pretend to be) XMediaPlayer (WMP XMediaplayer (VLC) XVideoJoiner Best klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From pete at lcsql.com Fri Oct 19 12:59:33 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 19 Oct 2012 09:59:33 -0700 Subject: Explicit Variables again In-Reply-To: <37174351890.20121019084829@ahsoftware.net> References: <160133819359.20121018213256@ahsoftware.net> <508167FA.30304@fourthworld.com> <37174351890.20121019084829@ahsoftware.net> Message-ID: Sounds like this is turning into a "There are 2 types of Livecode coders, those who..." situation! Marks' comment below hit the nail on the head for me. All I can say is that when I converted my first stack to use explicit variables, it turned up a couple of nasty bugs lurking in seldom used parts of the code that would have surfaced to surprise me at some point in the future. I can also recall more than one occasion where I spent a not insignificant amount of time debugging a problem cause by a misspelled variable. So, for me, I am more than happy to take the few extra seconds to type a local command, knowing that it will almost certainly save me from myself. But others may, and do, think differently. It's a personal opinion. Maybe those of us who do use explicit variables should have our plugins display a message at startup, something like: WARNING!! THIS CODE CONTAINS VARIABLES OF AN EXPLICIT NATURE. Pete lcSQL Software On Fri, Oct 19, 2012 at 8:48 AM, Mark Wieder wrote: > Look, as a qa engineer let me state the truism that the earlier > in the development process you can find bugs, the cheaper it is to fix > them. The idea of enforcing explicit variable declarations is to catch > some bugs at compile time rather then waiting for them to appear at > runtime and force you to debug what happened. > From pete at lcsql.com Fri Oct 19 13:03:33 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 19 Oct 2012 10:03:33 -0700 Subject: Explicit Variables again In-Reply-To: <508167FA.30304@fourthworld.com> References: <160133819359.20121018213256@ahsoftware.net> <508167FA.30304@fourthworld.com> Message-ID: messageBoxRedirect? I can find no mention of that in the dictionary. What does it do? I look forward to seeing your message box replacement Richard. I have that as a future enhancement to my lcStackBrowser plugin but sounds like you may have saved me the trouble! Pete lcSQL Software On Fri, Oct 19, 2012 at 7:47 AM, Richard Gaskin wrote: > So a while back when I had a free Saturday I started work on my own MB > replacement, and these days it's much easier to do a graceful > implementation because we now have the messageBoxRedirect global property > (thanks for that one, Kevin - I'm making good use of it). From pete at lcsql.com Fri Oct 19 13:06:06 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 19 Oct 2012 10:06:06 -0700 Subject: Explicit Variables again In-Reply-To: <5080CE52.7030005@fourthworld.com> References: <118120845968.20121018175643@ahsoftware.net> <5080CE52.7030005@fourthworld.com> Message-ID: That explains a lot, thanks Richard. I admit I had not been understanding your posts but I think this clarifies it. I assume this is what happened when explicit variables were first implemented but that now the situatio is as you described in your email with the script of the "Apply" process. Pete lcSQL Software On Thu, Oct 18, 2012 at 8:51 PM, Richard Gaskin wrote: > Remember that LiveCode is dynamically compiled - the only copy of a script > stored with a stack is the source copy, not any tokenized version. So > whenever you open a stack, as part of the unpacking its scripts are > dynamically compiled - and that's when the compilation error will occur. From ambassador at fourthworld.com Fri Oct 19 13:25:30 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 19 Oct 2012 10:25:30 -0700 Subject: Explicit Variables again In-Reply-To: References: Message-ID: <50818D0A.7020902@fourthworld.com> Peter Haworth wrote: > messageBoxRedirect? I can find no mention of that in the dictionary. What > does it do? > > I look forward to seeing your message box replacement Richard. I have that > as a future enhancement to my lcStackBrowser plugin but sounds like you may > have saved me the trouble! My bad: it's actually called "revMessageBoxRedirect". And you're right: oddly, it isn't documented, but can potentially be useful for other things than what it was originally implemented for, so I just logged a request for its documentation: The revMessageBoxRedirect global property was originally added at my request to overcome a limitation formerly in the engine which prevented us from replacing the Message Box stack without crashing. I was pursuing a path for migrating portions of the MetaCard IDE for use within the LiveCode IDE, and this was preventing that work from going forward. Their solution for this far exceeded my expectations, and can be useful for all sorts of MB replacements and diagnostic tools. The revMessageBoxRedirect global prop defaults to empty, and when empty any "put" commands have their output sent to the main field in a stack named "Message Box" (and you really should use only LC's provided Message Box stack, because I've found that attempting to replace it with another of the same name on the fly is problematic). But you can set the value of the revMessageBoxRedirect to the long ID of any object, and after having done so that object will then receive a new message, msgChanged, whenever any script triggers an action that would normally put output into the Message Box, e.g.: on msgChanged pMsg put pMsg into fld "Messages" of stack "My Cool Message Box" end msgChanged Certainly a specialized need, which may be why they've never bothered to document it. But serious toolmakers will find it interesting, and it can lend itself to certain types of logging solutions which can be useful and fun to build. -- 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 Oct 19 13:39:46 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 19 Oct 2012 17:39:46 +0000 (UTC) Subject: Explicit Variables again References: <37174351890.20121019084829@ahsoftware.net> <508182CF.2080304@fourthworld.com> Message-ID: Richard Gaskin writes: > I agree with everything you wrote, but I still don't do it. :) LOL. > I think it's just a question of work style. Yep. And far be it from me to get in the way of what makes you productive. For my part, forcing explicitVars true makes me more productive down the road at the small expense of a little extra work at the front end. YMM(and obviously does)V. > But that process often involves a lot of iteration, and along the way > things that began as params may become local vars, or even script-local > vars as I identify ways to leverage other handlers, or even custom props. If you used glx2, you could refactor those from the menu. -- Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Oct 19 13:46:00 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 19 Oct 2012 17:46:00 +0000 (UTC) Subject: Explicit Variables again References: <160133819359.20121018213256@ahsoftware.net> <508167FA.30304@fourthworld.com> <37174351890.20121019084829@ahsoftware.net> Message-ID: Peter Haworth writes: > Sounds like this is turning into a "There are 2 types of Livecode coders, > those who..." situation! It was ever thus. Nothing wrong with that. I understand the arguments about it being too much typing, especially if you never make mistakes. But given half a chance I'll always advocate for a way to help keep coders out of trouble. -- Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Fri Oct 19 14:00:56 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 19 Oct 2012 13:00:56 -0500 Subject: Explicit Variables again In-Reply-To: <508182CF.2080304@fourthworld.com> References: <37174351890.20121019084829@ahsoftware.net> <508182CF.2080304@fourthworld.com> Message-ID: <50819558.20409@hyperactivesw.com> On 10/19/12 11:41 AM, Richard Gaskin wrote: > If I also take the time to declare every variable (or, as we've seen, > most variables, since apparently not all require declaration under > explicitVars), that's just extra stuff to revise while I'm also revising > code. So I can see how it would be a benefit to some, but for me it just > slows me down. That's my style too. And I like short, concise code, and having all that extra stuff at the top of each handler just visually annoys me. Typos are almost never a problem for me. I only type variable names once when I first write them. I have a custom frontscript that includes a whole lot of handy things, one of which is the ability to insert or replace the selection with whatever word I point at. When I need to use an existing variable, I just point at the original and hit a keyboard shortcut and the variable name goes into the script with no typing. If the handler is longer than the script window (very rare for me) then I use copy/paste or the replace dialog. I've been doing this for years and I virtually never have a misspelled variable name. I do misspell other things, but the compiler tells me it can't find the handler, or that the line as written doesn't make sense. The result is tight code that reads like a story without any interruptions in conceptualization. It seems to me that's the whole point of the language -- it eliminates all the extra cruft that other languages require. I suppose that's my HyperCard background coming through, but then again, HC set the bar. I'd be interested in the results if someone sets up a poll to see how many people use explicit variables. I've always thought it was a minority but maybe that's not so. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From benr_mc at cogapp.com Fri Oct 19 14:02:16 2012 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 19 Oct 2012 19:02:16 +0100 Subject: Explicit Variables again In-Reply-To: <50806AC2.2030806@hyperactivesw.com> References: <50804E3E.2040906@fourthworld.com> <50806AC2.2030806@hyperactivesw.com> Message-ID: <508195A8.90305@cogapp.com> On 18/10/2012 21:46, J. Landman Gay wrote: > On 10/18/12 3:20 PM, Peter Haworth wrote: > >> I certainly don't want to force anyone except me into using explicit vars, >> or strict compile mode, or whatever the correct term is, but I do want to >> use them when developing on my computer. > > I'm still trying to figure out why anyone would want to. Some people insist > it's a better way to work, but I've never seen any advantages, only > restrictions. The occasional typo isn't worth the trouble to me. You obviously make fewer typos than me! I am one of these (apparently rare?) people who do try to run with it on - and indeed this only causes me problems, in general, with my own old code. I've found that it's worth it - those typos may be occasional, but the bugs they cause can be subtle and hard to track down. YMMV, of course. Ben From benr_mc at cogapp.com Fri Oct 19 14:06:56 2012 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 19 Oct 2012 19:06:56 +0100 Subject: Explicit Variables again In-Reply-To: <50804E3E.2040906@fourthworld.com> References: <50804E3E.2040906@fourthworld.com> Message-ID: <508196C0.2020804@cogapp.com> On 18/10/2012 19:45, Richard Gaskin wrote: > IIRC, explicitvars were seen as too cumbersome to work with, since as a truly > global property the required that EVERYTHING you're using comply with it, and > too many plugins didn't. I don't think the problem was with plugins, so much as the basic IDE. And as one of those in the let-the-compiler-help-me camp, I spent some time years ago trying to persuade RunRev to invest the effort in making the IDE explicitVars-clean, so that we could then safely switch it on for ourselves. In the end they implemented the cunning hack round the script editor instead, which gave us that ability and indeed something better... but dodged the issue of cleaning up the IDE. I remain convinced that if RR did put the time in to make the IDE ev-clean, they would in the process fix at least a few bugs. But I can't actually pretend that it should be a priority for their overstretched team now (good introductory job for a new hire, perhaps?) Ben From pete at lcsql.com Fri Oct 19 14:18:28 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 19 Oct 2012 11:18:28 -0700 Subject: Explicit Variables again In-Reply-To: <50818D0A.7020902@fourthworld.com> References: <50818D0A.7020902@fourthworld.com> Message-ID: Richard, Thanks for the explanation and QCC request to document it. Hopefully they documentation update will include the msgChanged message too. Pete lcSQL Software On Fri, Oct 19, 2012 at 10:25 AM, Richard Gaskin wrote: > Peter Haworth wrote: > > messageBoxRedirect? I can find no mention of that in the dictionary. >> What >> does it do? >> >> I look forward to seeing your message box replacement Richard. I have >> that >> as a future enhancement to my lcStackBrowser plugin but sounds like you >> may >> have saved me the trouble! >> > > My bad: it's actually called "revMessageBoxRedirect". > > And you're right: oddly, it isn't documented, but can potentially be > useful for other things than what it was originally implemented for, so I > just logged a request for its documentation: > > > > > The revMessageBoxRedirect global property was originally added at my > request to overcome a limitation formerly in the engine which prevented us > from replacing the Message Box stack without crashing. I was pursuing a > path for migrating portions of the MetaCard IDE for use within the LiveCode > IDE, and this was preventing that work from going forward. > > Their solution for this far exceeded my expectations, and can be useful > for all sorts of MB replacements and diagnostic tools. > > The revMessageBoxRedirect global prop defaults to empty, and when empty > any "put" commands have their output sent to the main field in a stack > named "Message Box" (and you really should use only LC's provided Message > Box stack, because I've found that attempting to replace it with another of > the same name on the fly is problematic). > > But you can set the value of the revMessageBoxRedirect to the long ID of > any object, and after having done so that object will then receive a new > message, msgChanged, whenever any script triggers an action that would > normally put output into the Message Box, e.g.: > > on msgChanged pMsg > put pMsg into fld "Messages" of stack "My Cool Message Box" > end msgChanged > > > Certainly a specialized need, which may be why they've never bothered to > document it. > > But serious toolmakers will find it interesting, and it can lend itself to > certain types of logging solutions which can be useful and fun to build. > > -- > 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 rdimola at evergreeninfo.net Fri Oct 19 14:26:23 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 19 Oct 2012 14:26:23 -0400 Subject: Explicit Variables again In-Reply-To: <50819558.20409@hyperactivesw.com> References: <37174351890.20121019084829@ahsoftware.net> <508182CF.2080304@fourthworld.com> <50819558.20409@hyperactivesw.com> Message-ID: <028001cdae27$3e647160$bb2d5420$@net> I have always used explicit variable checking since the first language that had the option. I make spelling errors now and again this has saved me more than a few times. I like that repeat loops vars do not have be declared. This make the top of the code cleaner. I agree that cleaner and leaner the better but I live with the local statements at the top. By the way, Putting local statements anywhere but at the top is crazy. VB6 allows this as well as LC but I never do it. In short I have used strict compile mode since the first time I fired up LC. It was one of the first things I looked for when perusing the pref screens and turned it on. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Friday, October 19, 2012 2:01 PM To: How to use LiveCode Subject: Re: Explicit Variables again On 10/19/12 11:41 AM, Richard Gaskin wrote: > If I also take the time to declare every variable (or, as we've seen, > most variables, since apparently not all require declaration under > explicitVars), that's just extra stuff to revise while I'm also > revising code. So I can see how it would be a benefit to some, but for > me it just slows me down. That's my style too. And I like short, concise code, and having all that extra stuff at the top of each handler just visually annoys me. Typos are almost never a problem for me. I only type variable names once when I first write them. I have a custom frontscript that includes a whole lot of handy things, one of which is the ability to insert or replace the selection with whatever word I point at. When I need to use an existing variable, I just point at the original and hit a keyboard shortcut and the variable name goes into the script with no typing. If the handler is longer than the script window (very rare for me) then I use copy/paste or the replace dialog. I've been doing this for years and I virtually never have a misspelled variable name. I do misspell other things, but the compiler tells me it can't find the handler, or that the line as written doesn't make sense. The result is tight code that reads like a story without any interruptions in conceptualization. It seems to me that's the whole point of the language -- it eliminates all the extra cruft that other languages require. I suppose that's my HyperCard background coming through, but then again, HC set the bar. I'd be interested in the results if someone sets up a poll to see how many people use explicit variables. I've always thought it was a minority but maybe that's not so. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Fri Oct 19 18:41:57 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 19 Oct 2012 18:41:57 -0400 Subject: Explicit Variables again In-Reply-To: <50819558.20409@hyperactivesw.com> References: <37174351890.20121019084829@ahsoftware.net> <508182CF.2080304@fourthworld.com> <50819558.20409@hyperactivesw.com> Message-ID: On Oct 19, 2012, at 2:00 PM, J. Landman Gay wrote: > Typos are almost never a problem for me. I only type variable names once when I first write them. I have a custom frontscript that includes a whole lot of handy things, one of which is the ability to insert or replace the selection with whatever word I point at. When I need to use an existing variable, I just point at the original and hit a keyboard shortcut and the variable name goes into the script with no typing. If the handler is longer than the script window (very rare for me) then I use copy/paste or the replace dialog. I've been using your frontscript handler for several years now and I love it -- it saves me so much time and prevents typos. For those who are interested here is my version (slightly altered from yours, Jacque). They are all control-shift keypresses that work only in the IDE script editor. The one Jacque referred to is the "scriptPaint" handler: control-shift-space inserts the mousetext into the selection. Put this into a frontScript: on controlkeydown whichKey put the long name of the target into tarName put the shiftkey is down into shK switch whichKey case "'" -- ctrl-sh-quote puts quotes around the selection if not shK then pass controlkeydown if "field" is not in tarName then pass controlkeydown if "revNewScriptEditor" is not in tarName then pass controlkeydown get the selection put q(it) into the selection if it = "" then put the selectedChunk into tSel put word 4 of tSel into word 2 of tSel put (word 4 of tSel) - 1 into word 4 of tSel select tSel end if doUndoSpace break case "9" case "0" -- ctrl(-sh)-paren puts parens around the selection if "field" is not in tarName then pass controlkeydown if not shK then pass controlkeydown if "revNewScriptEditor" is not in tarName then pass controlkeydown get the selection put "(" & it & ")" into the selection if it = "" then put the selectedChunk into tSel put word 4 of tSel into word 2 of tSel put (word 4 of tSel) - 1 into word 4 of tSel select tSel end if doUndoSpace break case "[" case "]" -- ctrl-bracket puts brackets around the selection if not shK then pass controlkeydown if "field" is not in tarName then pass controlkeydown if "revNewScriptEditor" is not in tarName then pass controlkeydown get the selection put "[" & it & "]" into the selection if it = "" then put the selectedChunk into tSel put word 4 of tSel into word 2 of tSel put (word 4 of tSel) - 1 into word 4 of tSel select tSel end if doUndoSpace break case "-" case "_" -- ctrl-sh-dash comments out the line(s) if not shK then pass controlkeydown if "field" is not in tarName then pass controlkeydown if "revNewScriptEditor" is not in tarName then pass controlkeydown put the selectedLine into tLineCh put "-" & "-" into cmntChars if " to " is in tLineCh then put word 2 of tLineCh into stLineNbr put word 4 of tLineCh into endLineNbr repeat with n = stLineNbr to endLineNbr put "put cmntChars & space before word 1 of line" && n && "of" && tarName \ into theDo do theDo end repeat -- put scriptLinesText into line stLineNbr to endLineNbr of the target put endLineNbr into selectHere else put word 2 of tLineCh into lineNbr put the long name of the target into tLongName put sr(line lineNbr of the target) into tLineText do "put cmntChars & space before word 1 of" && tLineCh put lineNbr into selectHere end if doUndoSpace send "tabkey" to tarname -- to fix indenting select after line selectHere of the target break case "=" case "+" -- ctr(-sh)-plus uncomments the line -- until Rev fixes the commandkey shortcut if not shK then pass controlkeydown if "field" is not in tarName then pass controlkeydown if "revNewScriptEditor" is not in tarName then pass controlkeydown put the selectedLine into tLineCh if " to " is in tLineCh then put word 2 of tLineCh into stLineNbr put word 4 of tLineCh into endLineNbr put line stLineNbr to endLineNbr of target into scriptLinesText repeat with n = 1 to the number of lines of scriptLinesText put sr(line n of scriptLinesText) into tLineText if char 1 to 2 of tLineText = "-" & "-" then delete char 1 to 2 of tLineText put tLineText into line n of scriptLinesText end repeat put scriptLinesText into line stLineNbr to endLineNbr of the target else put sr(value(tLineCh)) into tLineText if char 1 to 2 of tLineText = "-"&"-" then delete char 1 to 2 of tLineText do "put tLineText into" && tLineCh end if end if doUndoSpace send "tabkey" to tarname break case " " -- scriptPaint: crl-sh-space inserts the mousetext into the selection if not shK then pass controlkeydown if "field" is not in tarName then pass controlkeydown if "revNewScriptEditor" is not in tarName then pass controlkeydown put the mouseText into the selection doUndoSpace break default pass controlkeydown end switch end controlkeydown private command doUndoSpace -- this solves the problem that after the above scripted operations -- the script editor remains unaware that the script has changed, -- so an will close but not save the changed script -- thus we have to *type* at least one character lock screen put the selectedText into selTxt type numToChar(32) -- the important step put word 4 of the selectedChunk into charNbr put selTxt into char charNbr of the target unlock screen end doUndoSpace function q str return quote & str & quote end q From pmbrig at gmail.com Fri Oct 19 18:44:26 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 19 Oct 2012 18:44:26 -0400 Subject: Explicit Variables again In-Reply-To: References: <160133819359.20121018213256@ahsoftware.net> <508167FA.30304@fourthworld.com> <37174351890.20121019084829@ahsoftware.net> Message-ID: <3305A4BC-C592-492C-B9EA-EA01F2363CAA@gmail.com> On Oct 19, 2012, at 12:59 PM, Peter Haworth wrote: > Sounds like this is turning into a "There are 2 types of Livecode coders, > those who..." situation! as in "there are 10 kinds of people, those who understand binary, and those who don't." or how about "there are 3 kinds of people, those who can count and those who can't." -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pete at lcsql.com Fri Oct 19 19:11:16 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 19 Oct 2012 16:11:16 -0700 Subject: Explicit Variables again In-Reply-To: <3305A4BC-C592-492C-B9EA-EA01F2363CAA@gmail.com> References: <160133819359.20121018213256@ahsoftware.net> <508167FA.30304@fourthworld.com> <37174351890.20121019084829@ahsoftware.net> <3305A4BC-C592-492C-B9EA-EA01F2363CAA@gmail.com> Message-ID: Peter, You got it! Thanks for the script also (and Jacque). I have to admit I'm not entirely sure of all the benefits of it but I'm sure they'll come though when I give it a try. Pete lcSQL Software On Fri, Oct 19, 2012 at 3:44 PM, Peter M. Brigham wrote: > On Oct 19, 2012, at 12:59 PM, Peter Haworth wrote: > > > Sounds like this is turning into a "There are 2 types of Livecode coders, > > those who..." situation! > > as in "there are 10 kinds of people, those who understand binary, and > those who don't." > > or how about "there are 3 kinds of people, those who can count and those > who can't." > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Fri Oct 19 20:15:44 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 19 Oct 2012 19:15:44 -0500 Subject: Explicit Variables again In-Reply-To: References: <160133819359.20121018213256@ahsoftware.net> <508167FA.30304@fourthworld.com> <37174351890.20121019084829@ahsoftware.net> <3305A4BC-C592-492C-B9EA-EA01F2363CAA@gmail.com> Message-ID: <5081ED30.8050404@hyperactivesw.com> On 10/19/12 6:11 PM, Peter Haworth wrote: > Peter, > You got it! Thanks for the script also (and Jacque). I have to admit I'm > not entirely sure of all the benefits of it but I'm sure they'll come > though when I give it a try. Mine is much simpler than the one Peter posted, he's added some stuff. I've never had any trouble with commenting using the IDE shortcuts, for example, so I don't have that in there. But I use the quotes and parentheses and scriptpaint parts all the time. For example, you type this and find out it doesn't parse right: put the short name of cd i and cr after tList and realize you need to force evaulation by putting parentheses around "the short name of cd i" -- so you hilite it and type Cmd-Shift-9 (or 0, either one) and it's done. Same for quotes. More than anything I use the scriptpaint feature, which I admit wasn't my own idea but I can't remember now where I got it. Instead of typing a variable name, just point at it in some other part of the script and type Cmd-Shift-space. In it goes. Works for a selection too; it will replace your selection with the word you're pointing to. I have managed to teach my left hand to hit all three keys at once without tearing any tendons. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Oct 19 20:26:22 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 19 Oct 2012 19:26:22 -0500 Subject: Explicit Variables again In-Reply-To: References: <37174351890.20121019084829@ahsoftware.net> <508182CF.2080304@fourthworld.com> <50819558.20409@hyperactivesw.com> Message-ID: <5081EFAE.2060600@hyperactivesw.com> On 10/19/12 5:41 PM, Peter M. Brigham wrote: > For those who > are interested here is my version (slightly altered from yours, > Jacque). They are all control-shift keypresses that work only in the > IDE script editor. Actually, heavily modified. :) Here's mine for comparison. It uses the command key instead of control key, doesn't include any commenting functions, and still doesn't have your (useful) "type space" addition which I've been meaning to add now for a few years. on commandKeyDown whichKey if ("editor field" is not in the name of the target and "script" is not in the name of the target) \ or the shiftkey is not down then pass commandKeyDown switch whichKey case quote case "'" put quote & the selection & quote into the selection break case "v" -- paste only plain text put the clipboardData["text"] into the selection break case "=" case "+" put " -" & "-" & "#"&"#"&"#" into the selection break case "9" case "0" case "(" case ")" put "(" & the selection & ")" into the selection break case "[" case "]" case "{" case "}" get the selection put "[" & it & "]" into the selection if it = "" then put the selectedchunk into tSel put word 4 of tSel into word 2 of tSel put (word 4 of tSel) - 1 into word 4 of tSel select tSel end if break case " " -- scriptPaint put the mousetext into the selection break default pass commandKeyDown end switch end commandKeyDown -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Fri Oct 19 20:41:29 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 19 Oct 2012 17:41:29 -0700 Subject: Explicit Variables again In-Reply-To: <5081ED30.8050404@hyperactivesw.com> References: <160133819359.20121018213256@ahsoftware.net> <508167FA.30304@fourthworld.com> <37174351890.20121019084829@ahsoftware.net> <3305A4BC-C592-492C-B9EA-EA01F2363CAA@gmail.com> <5081ED30.8050404@hyperactivesw.com> Message-ID: Thanks Jacque, I plan to give this a whirl. This seems to have usefulness whether explicit vars are in force or not. By the way, what are the shortcuts for commenting? I haven't come across them. Having stirred up a hornet's nest with this issue, I think I will refrain form starting another storm regarding code commenting :-) Pete lcSQL Software On Fri, Oct 19, 2012 at 5:15 PM, J. Landman Gay wrote: > On 10/19/12 6:11 PM, Peter Haworth wrote: > >> Peter, >> You got it! Thanks for the script also (and Jacque). I have to admit I'm >> not entirely sure of all the benefits of it but I'm sure they'll come >> though when I give it a try. >> > > Mine is much simpler than the one Peter posted, he's added some stuff. > I've never had any trouble with commenting using the IDE shortcuts, for > example, so I don't have that in there. > > But I use the quotes and parentheses and scriptpaint parts all the time. > For example, you type this and find out it doesn't parse right: > > put the short name of cd i and cr after tList > > and realize you need to force evaulation by putting parentheses around > "the short name of cd i" -- so you hilite it and type Cmd-Shift-9 (or 0, > either one) and it's done. Same for quotes. > > More than anything I use the scriptpaint feature, which I admit wasn't my > own idea but I can't remember now where I got it. Instead of typing a > variable name, just point at it in some other part of the script and type > Cmd-Shift-space. In it goes. Works for a selection too; it will replace > your selection with the word you're pointing to. I have managed to teach my > left hand to hit all three keys at once without tearing any tendons. > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Fri Oct 19 20:53:36 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 19 Oct 2012 19:53:36 -0500 Subject: Explicit Variables again In-Reply-To: References: <160133819359.20121018213256@ahsoftware.net> <508167FA.30304@fourthworld.com> <37174351890.20121019084829@ahsoftware.net> <3305A4BC-C592-492C-B9EA-EA01F2363CAA@gmail.com> <5081ED30.8050404@hyperactivesw.com> Message-ID: <5081F610.6070207@hyperactivesw.com> On 10/19/12 7:41 PM, Peter Haworth wrote: > By the way, what are the shortcuts for commenting? I haven't come across > them. Cmd-hyphen to comment, Cmd-Shift-hyphen to uncomment. It affects whatever line the cursor is in; if you select multiple lines they are all affected. It's in the Edit menu when a script is open, but I notice the Shift designator symbol has gone wonky, at least in rc-3. > Having stirred up a hornet's nest with this issue, I think I will refrain > form starting another storm regarding code commenting :-) The rule is: always do it or yoooou'llll beeee sowwwwwyyyy. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major.on-rev.com Sat Oct 20 05:04:46 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sat, 20 Oct 2012 11:04:46 +0200 Subject: My poll for externals: the "punchline" | Apologize In-Reply-To: References: Message-ID: <6D30F851-C00A-4296-AB83-9852DD65816E@major.on-rev.com> Dear listees, after some sleep I realized that my wording of my posting was defintively inappropriate and I want to apologize to everyone who felt insulted and/or abused by my harsh words, that was not my intention! As you might have guessed, my frustration was not only founded in the poll, but in any way it was inexcusable and I am very sorry about this. Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From richmondmathewson at gmail.com Sat Oct 20 10:05:17 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 20 Oct 2012 17:05:17 +0300 Subject: [OT] On upgrading to Ubuntu 12.10 Message-ID: <5082AF9D.40201@gmail.com> If you. like me, have a "thing" about Avant Window Navigator you may be seriously fed-ip un upgrading to 12.10 to find that Mr Slugworth has removed the possibility of installing it, and, even more mephistophelian, made sure it gets removed on system upgrade. After a dark night of the soul, I found this: http://askubuntu.com/questions/203362/how-can-i-install-avant-window-navigator-in-12-10/203575#203575 Richmond. From simon at asato-media.com Sat Oct 20 10:42:20 2012 From: simon at asato-media.com (As_Simon) Date: Sat, 20 Oct 2012 07:42:20 -0700 (PDT) Subject: My poll for externals: the "punchline" | Apologize In-Reply-To: <6D30F851-C00A-4296-AB83-9852DD65816E@major.on-rev.com> References: <6D30F851-C00A-4296-AB83-9852DD65816E@major.on-rev.com> Message-ID: <1350744140094-4656553.post@n4.nabble.com> video external 1 I'm not getting how to email you using the "hidden email" link. Could you put your KLAUS at something something.com address? Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/My-poll-for-externals-the-punchline-tp4656532p4656553.html Sent from the Revolution - User mailing list archive at Nabble.com. From shawnlivecode at gmail.com Sat Oct 20 10:52:00 2012 From: shawnlivecode at gmail.com (Shawn Blc) Date: Sat, 20 Oct 2012 09:52:00 -0500 Subject: My poll for externals: the "punchline" | Apologize In-Reply-To: <1350744140094-4656553.post@n4.nabble.com> References: <6D30F851-C00A-4296-AB83-9852DD65816E@major.on-rev.com> <1350744140094-4656553.post@n4.nabble.com> Message-ID: klaus AT major DOT on-rev DOT com On Sat, Oct 20, 2012 at 9:42 AM, As_Simon wrote: > video external > 1 > > I'm not getting how to email you using the "hidden email" link. > Could you put your KLAUS at something something.com address? > > Simon > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/My-poll-for-externals-the-punchline-tp4656532p4656553.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 shawnlivecode at gmail.com Sat Oct 20 10:53:11 2012 From: shawnlivecode at gmail.com (Shawn Blc) Date: Sat, 20 Oct 2012 09:53:11 -0500 Subject: My poll for externals: the "punchline" | Apologize In-Reply-To: References: <6D30F851-C00A-4296-AB83-9852DD65816E@major.on-rev.com> <1350744140094-4656553.post@n4.nabble.com> Message-ID: Actually in the first post he asked to send to: klaus AT clipshaker DOT net On Sat, Oct 20, 2012 at 9:52 AM, Shawn Blc wrote: > klaus AT major DOT on-rev DOT com > > > > > On Sat, Oct 20, 2012 at 9:42 AM, As_Simon wrote: > >> video external >> 1 >> >> I'm not getting how to email you using the "hidden email" link. >> Could you put your KLAUS at something something.com address? >> >> Simon >> >> >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/My-poll-for-externals-the-punchline-tp4656532p4656553.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 klaus at major.on-rev.com Sat Oct 20 11:08:07 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sat, 20 Oct 2012 17:08:07 +0200 Subject: My poll for externals: the "punchline" | Apologize In-Reply-To: References: <6D30F851-C00A-4296-AB83-9852DD65816E@major.on-rev.com> <1350744140094-4656553.post@n4.nabble.com> Message-ID: <407BAF16-CFB9-470E-9784-F754CE1CC119@major.on-rev.com> Hi Shawn, Am 20.10.2012 um 16:53 schrieb Shawn Blc : > Actually in the first post he asked to send to: > klaus AT clipshaker DOT net yes, thank you! Please use this mail address above, the mails are collected, checked and evaluated automatically there. >> ... >> On Sat, Oct 20, 2012 at 9:42 AM, As_Simon wrote: >> >>> video external >>> 1 >>> >>> I'm not getting how to email you using the "hidden email" link. >>> Could you put your KLAUS at something something.com address? Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From dunbarx at aol.com Sat Oct 20 11:22:04 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 20 Oct 2012 11:22:04 -0400 (EDT) Subject: My poll for externals: the "punchline" | Apologize In-Reply-To: <6D30F851-C00A-4296-AB83-9852DD65816E@major.on-rev.com> References: <6D30F851-C00A-4296-AB83-9852DD65816E@major.on-rev.com> Message-ID: <8CF7CEDCB1D40AD-1C4C-F84C@webmail-m090.sysops.aol.com> Klaus. I am never speaking to you again. I mean, after that last sentence. Well, OK, after that one anyway. Rats. Craig -----Original Message----- From: Klaus on-rev To: LiveCode Developer List ; How to use LiveCode Sent: Sat, Oct 20, 2012 5:05 am Subject: Re: My poll for externals: the "punchline" | Apologize Dear listees, after some sleep I realized that my wording of my posting was defintively inappropriate and I want to apologize to everyone who felt insulted and/or abused by my harsh words, that was not my intention! As you might have guessed, my frustration was not only founded in the poll, but in any way it was inexcusable and I am very sorry about this. Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Sat Oct 20 11:36:21 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 20 Oct 2012 08:36:21 -0700 Subject: My poll for externals: the "punchline" | Apologize In-Reply-To: <407BAF16-CFB9-470E-9784-F754CE1CC119@major.on-rev.com> References: <6D30F851-C00A-4296-AB83-9852DD65816E@major.on-rev.com> <1350744140094-4656553.post@n4.nabble.com> <407BAF16-CFB9-470E-9784-F754CE1CC119@major.on-rev.com> Message-ID: <115260023828.20121020083621@ahsoftware.net> Klaus- Saturday, October 20, 2012, 8:08:07 AM, you wrote: > Please use this mail address above, the mails are collected, > checked and evaluated automatically there. Oooooo... like with one of those adding machine thingies? -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sat Oct 20 11:39:51 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 20 Oct 2012 08:39:51 -0700 Subject: My poll for externals: the "punchline" | Apologize In-Reply-To: <8CF7CEDCB1D40AD-1C4C-F84C@webmail-m090.sysops.aol.com> References: <6D30F851-C00A-4296-AB83-9852DD65816E@major.on-rev.com> <8CF7CEDCB1D40AD-1C4C-F84C@webmail-m090.sysops.aol.com> Message-ID: <82260234531.20121020083951@ahsoftware.net> dunbarx- Saturday, October 20, 2012, 8:22:04 AM, you wrote: > Klaus. > I am never speaking to you again. > I mean, after that last sentence. > Well, OK, after that one anyway. > Rats. And thats my last word on the subject. Well, not that one. Or that one either. Hmmm. -- -Mark Wieder mwieder at ahsoftware.net From klaus at major.on-rev.com Sat Oct 20 11:45:55 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sat, 20 Oct 2012 17:45:55 +0200 Subject: My poll for externals: the "punchline" | Apologize In-Reply-To: <115260023828.20121020083621@ahsoftware.net> References: <6D30F851-C00A-4296-AB83-9852DD65816E@major.on-rev.com> <1350744140094-4656553.post@n4.nabble.com> <407BAF16-CFB9-470E-9784-F754CE1CC119@major.on-rev.com> <115260023828.20121020083621@ahsoftware.net> Message-ID: Mark, Am 20.10.2012 um 17:36 schrieb Mark Wieder : > Klaus- > > Saturday, October 20, 2012, 8:08:07 AM, you wrote: > >> Please use this mail address above, the mails are collected, >> checked and evaluated automatically there. > Oooooo... like with one of those adding machine thingies? sorry, but the involved elaborate and complicated scripts are under a strict NDA! 8-) > -- > -Mark Wieder > mwieder at ahsoftware.net -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From terence at ctec.co.nz Sat Oct 20 17:42:39 2012 From: terence at ctec.co.nz (Terence Blyth) Date: Sun, 21 Oct 2012 10:42:39 +1300 Subject: Android Question Message-ID: <47AFA870-4AD2-4D33-B026-4A9C99F5FF5B@ctec.co.nz> Hi, can you send email using direct smtp from the android version of live code , also does the text to speech work ? Thanks Terence From dochawk at gmail.com Sat Oct 20 21:35:59 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 20 Oct 2012 18:35:59 -0700 Subject: Long pauses, again Message-ID: I'm getting back to this issue of long pauses on open and close of stack again. Locking messages solves them, but this shouldn't be happening, as the open/closestack & similar handles are empty or minimal. Now, I click something that causes a stack to open for th efforts time, On open, there is an mouseup, then about 40 seconds before a cascade of care general. Jon closestack, there is about a five minute slew of cRevGeneral, and then it closes. -- Richard E. Hawkins, Esq. (702) 508-8462 From Mark_Smith at cpe.umanitoba.ca Sun Oct 21 01:47:03 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Sat, 20 Oct 2012 22:47:03 -0700 (PDT) Subject: tock.aiff Message-ID: <1350798423798-4656563.post@n4.nabble.com> Does anyone have a sound file that sounds like the keyboard on the iPad/iPhone. I've had to enhance the keyboard on the iPad with an extra row of keys to handle cdn postal codes (which have the format LNL NLN where L = letter, and N = number... requiring 5 keyboard shifts per postal code) so I took a picture of the numeric keypad and put the number keys above the alpha keyboard with some invisible buttons and it works great but there is no "tock" sound when you press on the "expanded" keys. I've read this might be called tock.aiff and could be in the SDK that apple distributes but a spotlight search on my system turns up nothing... and I'm not even sure I have a /developer root (unless it is another of those invisible folders). Some other msg boards suggest looking in: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/System/Library/Frameworks/UIKit.framework for tock.aiff Any help appreciated. Thanks -- mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/tock-aiff-tp4656563.html Sent from the Revolution - User mailing list archive at Nabble.com. From tuvman at gmail.com Sun Oct 21 02:05:41 2012 From: tuvman at gmail.com (Tuviah Snyder) Date: Sat, 20 Oct 2012 23:05:41 -0700 Subject: My poll for externals: the "punchline" Message-ID: Just FYI.. I worked on one of those externals Klaus is offering, and was not paid in full for my work.. Klaus's boss responded to my last invoice months ago with 'keep your source'. Therefore buyer beware, and hope that you don't require any support. Tuviah From richmondmathewson at gmail.com Sun Oct 21 03:10:42 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 21 Oct 2012 10:10:42 +0300 Subject: tock.aiff In-Reply-To: <1350798423798-4656563.post@n4.nabble.com> References: <1350798423798-4656563.post@n4.nabble.com> Message-ID: <50839FF2.8050502@gmail.com> On 10/21/2012 08:47 AM, Mark Smith wrote: > Does anyone have a sound file that sounds like the keyboard on the > iPad/iPhone. I've had to enhance the keyboard on the iPad with an extra row > of keys to handle cdn postal codes (which have the format LNL NLN where L = > letter, and N = number... requiring 5 keyboard shifts per postal code) so I > took a picture of the numeric keypad and put the number keys above the alpha > keyboard with some invisible buttons and it works great but there is no > "tock" sound when you press on the "expanded" keys. > > I've read this might be called tock.aiff and could be in the SDK that apple > distributes but a spotlight search on my system turns up nothing... and I'm > not even sure I have a /developer root (unless it is another of those > invisible folders). Some other msg boards suggest looking in: > > /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/System/Library/Frameworks/UIKit.framework > for tock.aiff > > Any help appreciated. > > Thanks > > -- mark > > > http://code.google.com/p/magickeyboard/source/browse/?r=5ed0b4b73cc1da0d0bb892109df12b5319d6c932 Love, Richmond. From monte at sweattechnologies.com Sun Oct 21 03:13:35 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 21 Oct 2012 18:13:35 +1100 Subject: My poll for externals: the "punchline" In-Reply-To: References: Message-ID: Hmm... That's not nice. It's ludicrous that someone would even contemplate selling it without owning source and having someone to maintain it. A shame that Klaus will be stuck in the middle here too. -- M E R Goulding Software development services mergExt - There's an external for that! On 21/10/2012, at 5:05 PM, Tuviah Snyder wrote: > Just FYI.. > > I worked on one of those externals Klaus is offering, and was not paid in > full for my work.. > > Klaus's boss responded to my last invoice months ago with 'keep your > source'. > > Therefore buyer beware, and hope that you don't require any support. > > Tuviah > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From palcibiades-first at yahoo.co.uk Sun Oct 21 03:45:13 2012 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sun, 21 Oct 2012 00:45:13 -0700 (PDT) Subject: [OT] On upgrading to Ubuntu 12.10 In-Reply-To: <5082AF9D.40201@gmail.com> References: <5082AF9D.40201@gmail.com> Message-ID: <1350805512971-4656567.post@n4.nabble.com> Two solutions really. If you are set on staying with Ubuntu, install Cinammon. I wouldn't for two reasons, one being the crazed desire to dictate what other people do with their desktops, the other being the crazed six month rlease cycle. But, if staying with Ubuntu, probably Cinammon. I never have understood the cult of Ubuntu. I know lots of people who rave about it, but none of them are using it as their only or main workhorse. Its very striking - you hear someone telling you enthusiastically how wonderful Unity or Gnome 3 is, and it turns out he has played with it a few times and his main workstation is Windows 7. One hears similar enthusiasm about Windows 8 by people who never seem to have seriously tried using that, and only that, for a month. The second and robust long term solution is go to Debian. This is the best and the permanent solution, its completely stable and conservative in its release cycle and what you install is entirely up to you. Upgrades when they happen will be painless. At this point, install 'wheezy', the testing flavor. But even that is not going to be fully up to date - you'll get xfce 4.8, and for desktop thumbnails you need 4.10. For example. Properly tested two to three year release cycle. Complete developer agnosticism about which desktop is right for me. Its a hard combination to beat. Yes, the thing that is coming towards my guys is at some point gnome 3 is going to result from a distribution upgrade. Fine, but its a year or two away, and by then we will either go to xfce and they won't notice, or maybe Gnome will have recovered its senses. Seems as doubtful as Windows 8 recovering its senses. I guess that is the consolation with Linux, when you fire up that appalling mess on the Windows 8 desktop and realize that its the OS developer that is determined to do this to everyone and there is no other desktop available! At least with Linux this sort of insanity is confined to one desktop team, and you can just pick a different one from people who have both oars in the water. Peter Richmond Mathewson-2 wrote > If you. like me, have a "thing" about Avant Window Navigator you may be > seriously fed-ip un upgrading to 12.10 to find that Mr Slugworth has > removed > the possibility of installing it, and, even more mephistophelian, made > sure > it gets removed on system upgrade. > > After a dark night of the soul, I found this: > > http://askubuntu.com/questions/203362/how-can-i-install-avant-window-navigator-in-12-10/203575#203575 > > Richmond. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-On-upgrading-to-Ubuntu-12-10-tp4656552p4656567.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Sun Oct 21 04:14:30 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 21 Oct 2012 11:14:30 +0300 Subject: [OT] On upgrading to Ubuntu 12.10 In-Reply-To: <1350805512971-4656567.post@n4.nabble.com> References: <5082AF9D.40201@gmail.com> <1350805512971-4656567.post@n4.nabble.com> Message-ID: <5083AEE6.4020104@gmail.com> On 10/21/2012 10:45 AM, Peter Alcibiades wrote: > Two solutions really. If you are set on staying with Ubuntu, install > Cinammon. I wouldn't for two reasons, one being the crazed desire to > dictate what other people do with their desktops, the other being the crazed > six month rlease cycle. But, if staying with Ubuntu, probably Cinammon. I found Cinnamon awful. Chacun a son gout, mon vieux. > > I never have understood the cult of Ubuntu. I know lots of people who rave > about it, but none of them are using it as their only or main workhorse. > Its very striking - you hear someone telling you enthusiastically how > wonderful Unity or Gnome 3 is, and it turns out he has played with it a few > times and his main workstation is Windows 7. I don't belong to the cult of Ubuntu, far from it, but I do know that I can install the LXDE or XFCE flavours (Lubuntu and Xubuntu respectively - pretty poor imaginations when it comes to names) on just about anything from a Pentium II upwards and get a computer that runs without having to "fart about" all that much post installation. I do believe that Mark Shuttleworth ("Mr Slugworth") is getting a bit too big for his boots insofar as he and his merry men are making judgement calls about Gnome and Unity (and the recent kaffuffle about some dirty deal with Amazon searches), that seem (and I mean 'seem') to restrict end-user's ability to customise aspects of the OS to their taste. However, seeming is as seeming does, and, unlike Apple and Microsoft, the Ubuntu "product" can be hacked, slashed and generally tarted up as much as anyone wants with a bit of effort (recipes abound on the internet). I do feel that what quite a few people moan about is that when they install vanilla Ubuntu/Xubuntu/Kubuntu/Lubuntu/Uncle-Tom-Cobbley-and-all-buntu, they don't instantly get just what they want. Well that is a bit much if one stops and thinks how rigid the Mac OS and the Windows GUIs are. One hears similar enthusiasm about Windows 8 by people who never seem to have seriously tried using that, and only that, for a month. The second and robust long term solution is go to Debian. Well, my experience with Debian was that I got fried in dependency hell every time I tried to install anything vaguely 'other' than the stuff that came on the install disk. Whatever Ubuntu's short-comings, and there are quite a few, it was rather a relief to go back to it after several fairly painful excursions into Debian. > This is the best > and the permanent solution, its completely stable and conservative in its > release cycle and what you install is entirely up to you. Not really; see my point about dependency hell above. > Upgrades when > they happen will be painless. At this point, install 'wheezy', the testing > flavor. But even that is not going to be fully up to date - you'll get xfce > 4.8, and for desktop thumbnails you need 4.10. For example. Umm, "release cycle", "upgrade cycle": well, nobody made me upgrade my box from 12.04 to 12.10. My school sports 4 machines running on a 2010 version of Ubuntu with no obvious reasons why they should be upgraded. > > Properly tested two to three year release cycle. Complete developer > agnosticism about which desktop is right for me. If one installs Lubuntu as one's base system, one can install pretty well any desktop one wants on top (Fluxbox, anyone?), and not suffer unduly. > Its a hard combination to > beat. Yes, the thing that is coming towards my guys is at some point gnome > 3 is going to result from a distribution upgrade. Fine, but its a year or > two away, and by then we will either go to xfce and they won't notice, or > maybe Gnome will have recovered its senses. > > Seems as doubtful as Windows 8 recovering its senses. I guess that is the > consolation with Linux, when you fire up that appalling mess on the Windows > 8 desktop and realize that its the OS developer that is determined to do > this to everyone and there is no other desktop available! At least with > Linux this sort of insanity is confined to one desktop team, and you can > just pick a different one from people who have both oars in the water. Having recently installed Windows 8 on a computer for a friend, I can honestly say that it didn't strike me as "incredibly awful" as a lot of the Linux crowd would have it; I just don't happen to like the one-size-fits-all approach, and the ever present risk of getting a virus in the works. > > Peter > > > Richmond Mathewson-2 wrote >> If you. like me, have a "thing" about Avant Window Navigator you may be >> seriously fed-ip un upgrading to 12.10 to find that Mr Slugworth has >> removed >> the possibility of installing it, and, even more mephistophelian, made >> sure >> it gets removed on system upgrade. >> >> After a dark night of the soul, I found this: >> >> http://askubuntu.com/questions/203362/how-can-i-install-avant-window-navigator-in-12-10/203575#203575 The point, and the ONLY point of my initial posting, was about Avant Window Navigator, because, coming from a "Mac heritage" I'm into docks in a big way. And "Cairo Dock" and "Docky" are but pale imitations of AWN. However, the AWN chap hasn't done any work on it since 2010 (and why that is a problem I just do not ken), and "Ole Sluggy" and his pals, who are bugged out of their boxes on the endlessly, restlessly upgrading things have decided because of that it has to go. ALSO . . . RunRev Livciode works remarkably well on 'buntu distros! Richmond. From m.schonewille at economy-x-talk.com Sun Oct 21 04:57:08 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 21 Oct 2012 10:57:08 +0200 Subject: tock.aiff In-Reply-To: <1350798423798-4656563.post@n4.nabble.com> References: <1350798423798-4656563.post@n4.nabble.com> Message-ID: Mark Here's a direct link to the file http://qery.us/2m9 -- 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 On 21 okt 2012, at 07:47, Mark Smith wrote: > Does anyone have a sound file that sounds like the keyboard on the > iPad/iPhone. I've had to enhance the keyboard on the iPad with an extra row > of keys to handle cdn postal codes (which have the format LNL NLN where L = > letter, and N = number... requiring 5 keyboard shifts per postal code) so I > took a picture of the numeric keypad and put the number keys above the alpha > keyboard with some invisible buttons and it works great but there is no > "tock" sound when you press on the "expanded" keys. > > I've read this might be called tock.aiff and could be in the SDK that apple > distributes but a spotlight search on my system turns up nothing... and I'm > not even sure I have a /developer root (unless it is another of those > invisible folders). Some other msg boards suggest looking in: > > /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/System/Library/Frameworks/UIKit.framework > for tock.aiff > > Any help appreciated. > > Thanks > > -- mark > From palcibiades-first at yahoo.co.uk Sun Oct 21 05:03:41 2012 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sun, 21 Oct 2012 02:03:41 -0700 (PDT) Subject: [OT] On upgrading to Ubuntu 12.10 In-Reply-To: <5083AEE6.4020104@gmail.com> References: <5082AF9D.40201@gmail.com> <1350805512971-4656567.post@n4.nabble.com> <5083AEE6.4020104@gmail.com> Message-ID: <1350810221490-4656570.post@n4.nabble.com> Actually, just checked, and its not available in the Debian wheezy repositories either. It seems to be available in Sid but its a bit risky to combine packages from Sid with those from testing. It is available in the current squeeze Stable release repos. It seems not to be in the released version of Solus either. Someone says it is still in Debian Unstable, ie Sid, but did not make it into the June cutoff point for wheezy. Doesn't say why. There probably is a real reason why its no longer in the latest repositories for either Debian or Ubuntu. Maybe compile from source? Though that is probably going to be problematic. I'm really surprised by the dependency issues. I have never seen this when installing from repositories. Or maybe way, way back in the days of Sarge, but not since version 4 for sure. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-On-upgrading-to-Ubuntu-12-10-tp4656552p4656570.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Sun Oct 21 05:36:05 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 21 Oct 2012 12:36:05 +0300 Subject: [OT] On upgrading to Ubuntu 12.10 In-Reply-To: <1350810221490-4656570.post@n4.nabble.com> References: <5082AF9D.40201@gmail.com> <1350805512971-4656567.post@n4.nabble.com> <5083AEE6.4020104@gmail.com> <1350810221490-4656570.post@n4.nabble.com> Message-ID: <5083C205.2060806@gmail.com> On 10/21/2012 12:03 PM, Peter Alcibiades wrote: > Actually, just checked, and its not available in the Debian wheezy > repositories either. It seems to be available in Sid but its a bit risky to > combine packages from Sid with those from testing. It is available in the > current squeeze Stable release repos. It seems not to be in the released > version of Solus either. Someone says it is still in Debian Unstable, ie > Sid, but did not make it into the June cutoff point for wheezy. Doesn't say > why. > > There probably is a real reason why its no longer in the latest repositories > for either Debian or Ubuntu. Maybe compile from source? Though that is > probably going to be problematic. > > I'm really surprised by the dependency issues. I have never seen this when > installing from repositories. Or maybe way, way back in the days of Sarge, > but not since version 4 for sure. > > > The funny thing is that one of my boxes went through a "slow upgrade" via all the Beta releases; and Avant Window Navigator "stayed for the ride", while on my main box I went from 12.04 staright into a 12.10 upgrade and AWN vanished. Anyway, this is way OT for Livecode, so, perhaps we had better stop. From klaus at major.on-rev.com Sun Oct 21 06:16:30 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sun, 21 Oct 2012 12:16:30 +0200 Subject: My poll for externals: the "punchline" In-Reply-To: References: Message-ID: Dear listees, Am 21.10.2012 um 08:05 schrieb Tuviah Snyder : > Just FYI.. > > I worked on one of those externals Klaus is offering, and was not paid in > full for my work.. > > Klaus's boss responded to my last invoice months ago with 'keep your > source'. > > Therefore buyer beware, and hope that you don't require any support. oh my god, please believe me that I did not know about this! :-/ This will make the whole affair even more embarrassing for me... Thank you very much for posting this here, Tuviah! I will try to clear this with my boss, if this possible at all! > Tuviah Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From Mark_Smith at cpe.umanitoba.ca Sun Oct 21 06:24:10 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Sun, 21 Oct 2012 03:24:10 -0700 (PDT) Subject: tock.aiff In-Reply-To: <1350798423798-4656563.post@n4.nabble.com> References: <1350798423798-4656563.post@n4.nabble.com> Message-ID: <1350815050530-4656573.post@n4.nabble.com> Thanks everyone (and Andrew too!) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/tock-aiff-tp4656563p4656573.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Sun Oct 21 12:49:45 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 21 Oct 2012 18:49:45 +0200 Subject: Android Question In-Reply-To: <47AFA870-4AD2-4D33-B026-4A9C99F5FF5B@ctec.co.nz> References: <47AFA870-4AD2-4D33-B026-4A9C99F5FF5B@ctec.co.nz> Message-ID: <192807CA-9C13-47A0-888F-2B620B798A20@economy-x-talk.com> Hi Terence, I don't think it is posible to use SMTP to send e-mail from within Livecode, because AFAIK sockets are still unsupported. You could use a put/get URL command and a PHP script to send e-mail. I have been unable to find any info about text-to-speech on Android and I believe it is unsupported. -- 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 On 20 okt 2012, at 23:42, Terence Blyth wrote: > Hi, can you send email using direct smtp from the android version of live code , also does the text to speech work ? > > Thanks > Terence From terence at ctec.co.nz Sun Oct 21 18:19:07 2012 From: terence at ctec.co.nz (Terence Blyth) Date: Mon, 22 Oct 2012 11:19:07 +1300 Subject: Android Question In-Reply-To: <192807CA-9C13-47A0-888F-2B620B798A20@economy-x-talk.com> References: <47AFA870-4AD2-4D33-B026-4A9C99F5FF5B@ctec.co.nz> <192807CA-9C13-47A0-888F-2B620B798A20@economy-x-talk.com> Message-ID: Thanks for you answer, Are RR still working on the android version ? Do they have a road map we can view to see when these features will be available. Any documentation on how to create my own DLL to add these features ? Thanks Terence On 22/10/2012, at 5:49 AM, Mark Schonewille wrote: > Hi Terence, > > I don't think it is posible to use SMTP to send e-mail from within Livecode, because AFAIK sockets are still unsupported. You could use a put/get URL command and a PHP script to send e-mail. I have been unable to find any info about text-to-speech on Android and I believe it is unsupported. > > -- > 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 > > > > On 20 okt 2012, at 23:42, Terence Blyth wrote: > >> Hi, can you send email using direct smtp from the android version of live code , also does the text to speech work ? >> >> Thanks >> Terence > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Sun Oct 21 18:28:44 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 22 Oct 2012 00:28:44 +0200 Subject: Android Question In-Reply-To: References: <47AFA870-4AD2-4D33-B026-4A9C99F5FF5B@ctec.co.nz> <192807CA-9C13-47A0-888F-2B620B798A20@economy-x-talk.com> Message-ID: Terence, Yes, they are working on the Android version. No, there is no public roadmap. You can ask about it if you pay a few 100s of dollars extra for the developers programme (but personally I don't think potential customers should have to pay for information to convince them to buy a license). Currently, it is impossible to buy DLL's for Android. -- 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 On 22 okt 2012, at 00:19, Terence Blyth wrote: > Thanks for you answer, Are RR still working on the android version ? Do they have a road map we can view to see when these features will be available. > Any documentation on how to create my own DLL to add these features ? > > Thanks > Terence > From jacque at hyperactivesw.com Sun Oct 21 20:11:43 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 21 Oct 2012 19:11:43 -0500 Subject: Android Question In-Reply-To: References: <47AFA870-4AD2-4D33-B026-4A9C99F5FF5B@ctec.co.nz> <192807CA-9C13-47A0-888F-2B620B798A20@economy-x-talk.com> Message-ID: <50848F3F.80607@hyperactivesw.com> On 10/21/12 5:19 PM, Terence Blyth wrote: > Are RR still working on the android version ? Yes, quite actively. A good number of features are in the upcoming release. The goal is for the iOS and Android engines to reach parity and they're working toward that fairly quickly. > Do they have a road map we can view to see when these features will > be available. I'm not aware of any software company that publishes their future plans to the general public; that's usually considered pretty secret. But it isn't really true that you need to be on the developer list to get the info; roadmaps are provided during the NDA sessions at the conferences, which are open to any attendee who is willing to sign the non-disclosure release. The developer list does get to see pre-release versions though, which allows early access to new features as well as more direct input to the RR team. > Any documentation on how to create my own DLL to add these features ? You may want to wait a short while to see what will be available next. It may already be there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From terence at ctec.co.nz Sun Oct 21 20:35:41 2012 From: terence at ctec.co.nz (Terence Blyth) Date: Mon, 22 Oct 2012 13:35:41 +1300 Subject: Android Question In-Reply-To: <50848F3F.80607@hyperactivesw.com> References: <47AFA870-4AD2-4D33-B026-4A9C99F5FF5B@ctec.co.nz> <192807CA-9C13-47A0-888F-2B620B798A20@economy-x-talk.com> <50848F3F.80607@hyperactivesw.com> Message-ID: Many thanks for your response , Telerik who we use for a lot of software development have a public road map and invite customers feed back to help shape and keep their products current. I will look forward to the next release, And I must say I enjoy using livecode. Any ida on when the next release date or month will be ? Thanks Terence Blyth On 22/10/2012, at 1:11 PM, "J. Landman Gay" wrote: > On 10/21/12 5:19 PM, Terence Blyth wrote: >> Are RR still working on the android version ? > > Yes, quite actively. A good number of features are in the upcoming release. The goal is for the iOS and Android engines to reach parity and they're working toward that fairly quickly. > >> Do they have a road map we can view to see when these features will >> be available. > > I'm not aware of any software company that publishes their future plans to the general public; that's usually considered pretty secret. But it isn't really true that you need to be on the developer list to get the info; roadmaps are provided during the NDA sessions at the conferences, which are open to any attendee who is willing to sign the non-disclosure release. The developer list does get to see pre-release versions though, which allows early access to new features as well as more direct input to the RR team. > >> Any documentation on how to create my own DLL to add these features ? > > You may want to wait a short while to see what will be available next. It may already be there. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revolution at derbrill.de Mon Oct 22 08:01:32 2012 From: revolution at derbrill.de (Malte Brill) Date: Mon, 22 Oct 2012 14:01:32 +0200 Subject: [ANN] animationEngine maintenance release In-Reply-To: References: Message-ID: <9B60E782-5CD6-47CA-884F-7C232CEDB912@derbrill.de> Hi all, just want to let you know that I have patched animationEngine to work correctly if liveCode embedded has been purchased. There was a glitch in the registration system that reverted animationEngine to a trial version if you purchased embedded liveCode. If you are affected, please download a fresh copy from here: http://www.runrev.com/downloads/marketplace/animation_engine/5_0_0/animationengine5.zip Please excuse the inconvenience. All the best, Malte From ambassador at fourthworld.com Mon Oct 22 09:11:56 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 22 Oct 2012 06:11:56 -0700 Subject: Long pauses, again In-Reply-To: References: Message-ID: <5085461C.9090205@fourthworld.com> Dr. Hawkins wrote: > I'm getting back to this issue of long pauses on open and close of stack > again. Locking messages solves them, but this shouldn't be happening, as > the open/closestack & similar handles are empty or minimal. > > Now, I click something that causes a stack to open for th efforts time, > > On open, there is an mouseup, then about 40 seconds before a cascade of > care general. > Jon closestack, there is about a five minute slew of cRevGeneral, and then > it closes. How did you measure that, and what's happening with those properties? -- 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 Mon Oct 22 09:45:16 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 22 Oct 2012 06:45:16 -0700 Subject: [OT] On upgrading to Ubuntu 12.10 In-Reply-To: <1350805512971-4656567.post@n4.nabble.com> References: <1350805512971-4656567.post@n4.nabble.com> Message-ID: <50854DEC.1040508@fourthworld.com> Peter Alcibiades wrote: > The second and robust long term solution is go to Debian. ... > Properly tested two to three year release cycle. Complete developer > agnosticism about which desktop is right for me. ... > Actually, just checked, and its not available in the Debian wheezy > repositories either. With Ubuntu being derived from Debian, this isn't surprising. For all the attention Ubuntu gets as the tall poppy, it's rare that the folks on the Ubuntu team have the time or interest to go out of their way to remove compatibility with upstream packages. From what I've seen hanging out in the Ubuntu forums for the last few years, in most cases when a Debian package is no longer available it was an upstream decision. Like Debian, Ubuntu offers Long-Term Support versions every two years, with which the user can expect bug fixes and security enhancements for a full five years after initial release while maintaining a consistent look-and-feel and core feature set. I use this version on my servers (except for one which is configured to mirror Dreamhost so it uses Debian), and on the laptop my gal uses because she prefers a system that changes less frequently than I do. Unlike Debian, Ubuntu also has a new version available every six months for those users who prefer more frequent rollouts of new features. I use this version on my workstations so my LiveCode testing reflects the current version, and I generally like exploring the new features. And of course if having twice as many options for release cycles as many other distros offer isn't enough, the beauty of Linux is that we have a hundred distros to choose from. Pick the distro whose development cycle most closely matches your personal preferences, choose the desktop environment you like (I keep three installed with Ubuntu for testing: Unity, Gnome Shell, and XCFE), tweak to your heart's content using any of the many tools available for all of them, and the result is an OS more closely tailored to one's personal preferences than is possible with any proprietary system. Viva le difference! :) -- 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 martyknappster at gmail.com Mon Oct 22 15:37:00 2012 From: martyknappster at gmail.com (Marty Knapp) Date: Mon, 22 Oct 2012 12:37:00 -0700 Subject: Code signing Message-ID: <5085A05C.7090800@gmail.com> I thought I had this code signing thing figured out but now I'm having trouble again. I use Obleo Beck's "Signing Assistant" (from Rev Online) which has worked great in the past but now when I try to sign an app I get this error - "object file format unrecognized, invalid or unsuitable." Anyone have a clue what the problem might be? I did recently upgrade to Mt Lion . . . -- Marty Knapp Knappster Solutions LLC --------------------------- From henshaw at me.com Mon Oct 22 16:37:46 2012 From: henshaw at me.com (Andrew Henshaw) Date: Mon, 22 Oct 2012 21:37:46 +0100 Subject: Code signing In-Reply-To: <5085A05C.7090800@gmail.com> References: <5085A05C.7090800@gmail.com> Message-ID: Id recommend trying Appwrapper, it makes like a lot easier and its free for 15 days so you can fully try it. Its pretty complicated now with with Mac App Store wanting one cert, and Mountain Lion direct downloads needing another, and add in sandboxing and retina icons etc and it gets to be a bit of a headache, and this does make it a bit better. Oh, and I dont work (or have anything to do) with them! http://www.ohanaware.com/appwrapper/ On 22 Oct 2012, at 20:37, Marty Knapp wrote: > I thought I had this code signing thing figured out but now I'm having trouble again. I use Obleo Beck's "Signing Assistant" (from Rev Online) which has worked great in the past but now when I try to sign an app I get this error - "object file format unrecognized, invalid or unsuitable." > > Anyone have a clue what the problem might be? I did recently upgrade to Mt Lion . . . > > -- > Marty Knapp > Knappster Solutions LLC > --------------------------- > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From calhorner at xtra.co.nz Mon Oct 22 17:27:13 2012 From: calhorner at xtra.co.nz (Cal Horner) Date: Tue, 23 Oct 2012 10:27:13 +1300 (New Zealand Daylight Time) Subject: Text Field Observation Message-ID: <5085BA10.000006.04504@CALS_LAPTOP> I've noticed recently that a text field set up to handle text (naturally) has an odd attribute. As long as the user is typing normally, that is words with spaces between each word when the sentence reaches the right boundary of the text field I get text wrap. But when I take it in my dottery ol' head to hold any key down and let the character move along the line to the end of the text field there is no text wrap. The line of characters disappears into the never-never. Check it out. If you put a space in that string of characters you then get text wrap. Now, this seems odd to me. My logic says when you have the text wrap set it should wrap back to the next line and continue, until you left your finger off the key. How wrong am I? Or has the code been left out, by mistake, when so many new features are added? Has anyone else run into this oddity or should I just stop worrying about it and get a day job? Cal From m.schonewille at economy-x-talk.com Mon Oct 22 17:53:20 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 22 Oct 2012 23:53:20 +0200 Subject: Text Field Observation In-Reply-To: <5085BA10.000006.04504@CALS_LAPTOP> References: <5085BA10.000006.04504@CALS_LAPTOP> Message-ID: <43257EDA-0556-44E2-B3B9-CF663D0444B8@economy-x-talk.com> Hi Cal, In LiveCode, text wraps around white space and specific other characters. As soon as yu type a space or tab or even a dash, it will wrap. If the first word of a line is longer than the width of a field, it won't wrap. You can hardwrap a word by checking the formattedWidth of char 1 to x of word y. If the formattedWidth is greater than the width of the field, then you could put a space before char x to force the wrap. -- 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 On 22 okt 2012, at 23:27, Cal Horner wrote: > I've noticed recently that a text field set up to handle text (naturally) > has an odd attribute. > > As long as the user is typing normally, that is words with spaces between > each word when the sentence reaches the right boundary of the text field I > get text wrap. > > But when I take it in my dottery ol' head to hold any key down and let the > character move along the line to the end of the text field there is no text > wrap. The line of characters disappears into the never-never. Check it out. > If you put a space in that string of characters you then get text wrap. > > Now, this seems odd to me. My logic says when you have the text wrap set it > should wrap back to the next line and continue, until you left your finger > off the key. > > How wrong am I? Or has the code been left out, by mistake, when so many new > features are added? > > Has anyone else run into this oddity or should I just stop worrying about it > and get a day job? > > Cal From martyknappster at gmail.com Mon Oct 22 19:22:54 2012 From: martyknappster at gmail.com (Marty Knapp) Date: Mon, 22 Oct 2012 16:22:54 -0700 Subject: Code signing In-Reply-To: References: <5085A05C.7090800@gmail.com> Message-ID: <5085D54E.8020409@gmail.com> Hey Andrew, Just tried the demo and it seems to work fine. I just need to make my apps compatible with Gatekeeper (I don't use the Mac App Store). Thanks for the tip. Marty Knapp Knappster Solutions LLC --------------------------- > Id recommend trying Appwrapper, it makes like a lot easier and its free for 15 days so you can fully try it. > > Its pretty complicated now with with Mac App Store wanting one cert, and Mountain Lion direct downloads needing another, and add in sandboxing and retina icons etc and it gets to be a bit of a headache, and this does make it a bit better. > > Oh, and I dont work (or have anything to do) with them! > > http://www.ohanaware.com/appwrapper/ > > > On 22 Oct 2012, at 20:37, Marty Knapp wrote: > >> I thought I had this code signing thing figured out but now I'm having trouble again. I use Obleo Beck's "Signing Assistant" (from Rev Online) which has worked great in the past but now when I try to sign an app I get this error - "object file format unrecognized, invalid or unsuitable." >> >> Anyone have a clue what the problem might be? I did recently upgrade to Mt Lion . . . >> From dunbarx at aol.com Mon Oct 22 19:54:36 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 22 Oct 2012 19:54:36 -0400 (EDT) Subject: Text Field Observation In-Reply-To: <43257EDA-0556-44E2-B3B9-CF663D0444B8@economy-x-talk.com> References: <5085BA10.000006.04504@CALS_LAPTOP> <43257EDA-0556-44E2-B3B9-CF663D0444B8@economy-x-talk.com> Message-ID: <8CF7EC7B96892A9-1C4C-1D44C@webmail-m090.sysops.aol.com> Cal. You are not nuts, LC is. This is an ongoing bugaboo. The workaround Mark suggested is effective, but the natives are clamoring for more sensible native behavior. Craig Newman -----Original Message----- From: Mark Schonewille To: How to use LiveCode Sent: Mon, Oct 22, 2012 5:54 pm Subject: Re: Text Field Observation Hi Cal, In LiveCode, text wraps around white space and specific other characters. As soon as yu type a space or tab or even a dash, it will wrap. If the first word of a line is longer than the width of a field, it won't wrap. You can hardwrap a word by checking the formattedWidth of char 1 to x of word y. If the formattedWidth is greater than the width of the field, then you could put a space before char x to force the wrap. -- 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 On 22 okt 2012, at 23:27, Cal Horner wrote: > I've noticed recently that a text field set up to handle text (naturally) > has an odd attribute. > > As long as the user is typing normally, that is words with spaces between > each word when the sentence reaches the right boundary of the text field I > get text wrap. > > But when I take it in my dottery ol' head to hold any key down and let the > character move along the line to the end of the text field there is no text > wrap. The line of characters disappears into the never-never. Check it out. > If you put a space in that string of characters you then get text wrap. > > Now, this seems odd to me. My logic says when you have the text wrap set it > should wrap back to the next line and continue, until you left your finger > off the key. > > How wrong am I? Or has the code been left out, by mistake, when so many new > features are added? > > Has anyone else run into this oddity or should I just stop worrying about it > and get a day job? > > Cal _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Tue Oct 23 03:16:21 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 23 Oct 2012 09:16:21 +0200 Subject: AW: Text Field Observation In-Reply-To: <8CF7EC7B96892A9-1C4C-1D44C@webmail-m090.sysops.aol.com> References: <5085BA10.000006.04504@CALS_LAPTOP> <43257EDA-0556-44E2-B3B9-CF663D0444B8@economy-x-talk.com> <8CF7EC7B96892A9-1C4C-1D44C@webmail-m090.sysops.aol.com> Message-ID: <002901cdb0ee$4e1ad9e0$ea508da0$@de> Wouldn't that make a word processor necessary? You can't wrap words just because of the length of a field without respect to the grammar. Do other programming languages have this capability as a native feature? Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag von dunbarx at aol.com > Gesendet: Dienstag, 23. Oktober 2012 01:55 > An: use-livecode at lists.runrev.com > Betreff: Re: Text Field Observation > > Cal. > > > You are not nuts, LC is. This is an ongoing bugaboo. The workaround Mark > suggested is effective, but the natives are clamoring for more sensible > native behavior. > > > Craig Newman > > > > -----Original Message----- > From: Mark Schonewille > To: How to use LiveCode > Sent: Mon, Oct 22, 2012 5:54 pm > Subject: Re: Text Field Observation > > > Hi Cal, > > In LiveCode, text wraps around white space and specific other characters. > As soon as yu type a space or tab or even a dash, it will wrap. If the > first word of a line is longer than the width of a field, it won't wrap. > You can hardwrap a word by checking the formattedWidth of char 1 to x of > word y. If the formattedWidth is greater than the width of the field, then > you could put a space before char x to force the wrap. > > -- > 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 > > > > On 22 okt 2012, at 23:27, Cal Horner wrote: > > > I've noticed recently that a text field set up to handle text > (naturally) > > has an odd attribute. > > > > As long as the user is typing normally, that is words with spaces > between > > each word when the sentence reaches the right boundary of the text field > I > > get text wrap. > > > > But when I take it in my dottery ol' head to hold any key down and let > the > > character move along the line to the end of the text field there is no > text > > wrap. The line of characters disappears into the never-never. Check it > out. > > If you put a space in that string of characters you then get text wrap. > > > > Now, this seems odd to me. My logic says when you have the text wrap set > it > > should wrap back to the next line and continue, until you left your > finger > > off the key. > > > > How wrong am I? Or has the code been left out, by mistake, when so many > new > > features are added? > > > > Has anyone else run into this oddity or should I just stop worrying > about it > > and get a day job? > > > > Cal > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Tue Oct 23 08:32:05 2012 From: paul at researchware.com (Paul Dupuis) Date: Tue, 23 Oct 2012 08:32:05 -0400 Subject: AW: Text Field Observation In-Reply-To: <002901cdb0ee$4e1ad9e0$ea508da0$@de> References: <5085BA10.000006.04504@CALS_LAPTOP> <43257EDA-0556-44E2-B3B9-CF663D0444B8@economy-x-talk.com> <8CF7EC7B96892A9-1C4C-1D44C@webmail-m090.sysops.aol.com> <002901cdb0ee$4e1ad9e0$ea508da0$@de> Message-ID: <50868E45.30509@researchware.com> LC field should wrap text like MS-Word or Open Office Writer or the majority of word processors out there. Namely, a continuous character run gets wrapped at the character that would exceed the field width (or at the margins in the word processors) and white space between a wrapped "word" and the next word places the next word on a new line. Open you favorite word processor and try it out. If you think of the sheer number of people out there who use some brand of word processor (whether Pages, Word, Writer, or whatever), replicating the wrapping behavior of those tools presents the most consistent behavior. On 10/23/2012 3:16 AM, Tiemo Hollmann TB wrote: > Wouldn't that make a word processor necessary? You can't wrap words just > because of the length of a field without respect to the grammar. Do other > programming languages have this capability as a native feature? > Tiemo > >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im >> Auftrag von dunbarx at aol.com >> Gesendet: Dienstag, 23. Oktober 2012 01:55 >> An: use-livecode at lists.runrev.com >> Betreff: Re: Text Field Observation >> >> Cal. >> >> >> You are not nuts, LC is. This is an ongoing bugaboo. The workaround Mark >> suggested is effective, but the natives are clamoring for more sensible >> native behavior. >> >> >> Craig Newman >> >> >> >> -----Original Message----- >> From: Mark Schonewille >> To: How to use LiveCode >> Sent: Mon, Oct 22, 2012 5:54 pm >> Subject: Re: Text Field Observation >> >> >> Hi Cal, >> >> In LiveCode, text wraps around white space and specific other characters. >> As soon as yu type a space or tab or even a dash, it will wrap. If the >> first word of a line is longer than the width of a field, it won't wrap. >> You can hardwrap a word by checking the formattedWidth of char 1 to x of >> word y. If the formattedWidth is greater than the width of the field, then >> you could put a space before char x to force the wrap. >> >> -- >> 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 >> >> >> >> On 22 okt 2012, at 23:27, Cal Horner wrote: >> >>> I've noticed recently that a text field set up to handle text >> (naturally) >>> has an odd attribute. >>> >>> As long as the user is typing normally, that is words with spaces >> between >>> each word when the sentence reaches the right boundary of the text field >> I >>> get text wrap. >>> >>> But when I take it in my dottery ol' head to hold any key down and let >> the >>> character move along the line to the end of the text field there is no >> text >>> wrap. The line of characters disappears into the never-never. Check it >> out. >>> If you put a space in that string of characters you then get text wrap. >>> >>> Now, this seems odd to me. My logic says when you have the text wrap set >> it >>> should wrap back to the next line and continue, until you left your >> finger >>> off the key. >>> >>> How wrong am I? Or has the code been left out, by mistake, when so many >> new >>> features are added? >>> >>> Has anyone else run into this oddity or should I just stop worrying >> about it >>> and get a day job? >>> >>> Cal >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Paul Dupuis Cofounder Researchware, Inc. http://www.researchware.com/ http://www.twitter.com/researchware http://www.facebook.com/researchware http://www.linkedin.com/company/researchware-inc From andrew at ctech.me Tue Oct 23 10:07:22 2012 From: andrew at ctech.me (Andrew Kluthe) Date: Tue, 23 Oct 2012 09:07:22 -0500 Subject: [OT] Free MongoDB Classes for Developers from 10Gen Message-ID: https://education.10gen.com/ You can still enroll. Classes started today. Wonderful little class on MongoDB for Developers. You even get a fancy certificate when its done. Since some of our infrastructure here at my place of employment runs MongoDB, I thought it would be worth it just for the schema design lessons. -- Regards, Andrew Kluthe andrew at ctech.me From dochawk at gmail.com Tue Oct 23 10:56:48 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 23 Oct 2012 07:56:48 -0700 Subject: Long pauses, again In-Reply-To: <5085461C.9090205@fourthworld.com> References: <5085461C.9090205@fourthworld.com> Message-ID: On Monday, October 22, 2012, Richard Gaskin wrote: > Dr. Hawkins wrote: > > On open, there is an mouseup, then about 40 seconds before a cascade of >> care general. >> On closestack, there is about a five minute slew of cRevGeneral, and then >> it closes. >> > > How did you measure that, and what's happening with those properties? > > There is a time to the second (or tenth of second) in the message watche on the mouseup. The slew of messages is a fairly short burst (a second or two at most), with a time 40 seconds later. On the closestack, it's watching the clock on the screen when I start and when the stack window finally goes away. -- Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Tue Oct 23 10:58:30 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 23 Oct 2012 07:58:30 -0700 Subject: Long pauses, again In-Reply-To: References: <5085461C.9090205@fourthworld.com> Message-ID: On Tuesday, October 23, 2012, Dr. Hawkins wrote: > > > On the closestack, it's watching the clock on the screen when I start and > when the stack window finally goes away. > Oh, and that 5 minutes is longer than without the message watcher. Maybe an on closeStack lock messages Send "unlock messages" in 1 ms End closeStack ? -- Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Tue Oct 23 11:06:24 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 23 Oct 2012 08:06:24 -0700 Subject: Long pauses, again In-Reply-To: References: Message-ID: <5086B270.2070404@fourthworld.com> Dr. Hawkins wrote: > On Monday, October 22, 2012, Richard Gaskin wrote: >> How did you measure that, and what's happening with those properties? >> >> There is a time to the second (or tenth of second) in the message watche > on the mouseup. The slew of messages is a fairly short burst (a second or > two at most), with a time 40 seconds later. > > On the closestack, it's watching the clock on the screen when I start and > when the stack window finally goes away. That'll tell you how long it takes, but not what's eating up the time. You might consider trying my 4W Flight Recorder tool in the Stacks section of RevNet - in the IDE choose Development->Plugins-GoRevNet Flight Recorder will log all messages (except those you exclude; the default excludes are usually what you want for this sort of thing, though in your case you may want to remove the "rev" exclusion). Running while it's logging will definitely take more time than without it, but since it also provides a rough estimate of the relative time each handler takes I've found it invaluable for diagnosing bottlenecks. -- 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 benr_mc at cogapp.com Tue Oct 23 11:10:34 2012 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 23 Oct 2012 16:10:34 +0100 Subject: Getting unicode text out of SQL Server Message-ID: <5086B36A.6010608@cogapp.com> LiveCode now has vastly expanded Unicode functionality, huzzah. Meanwhile many of the database-based applications that my clients use have been gradually upgraded to support Unicode also, huzzah. (Apparently, the one we're currently interested in at least is storing the data as UTF-16LE.) However, the LiveCode-based apps which we've written that extract data from those databases over ODBC, get nowt from the new fields when those applications are updated, using our basic eg "SELECT x, y FROM z" query (where y is a text column) . The solution we've got so far is to apply conversion in the query as eg "SELECT x, y as VARCHAR(255) FROM z". This works, but we're only getting back Windows Latin 1 text, which is what we had before. Fine for now because all the data is just migrated from the previous version - but sooner or later, they'll start using the new capability to insert text which can be represented in Windows Latin 1, and then we'll presumably get missing chars out. (How) could we get the data out as UTF or something else that we can work with in LiveCode and which captures the full range of data that might have been stored in SQL Server? Is this just a matter of the correct SQL query, or is there likely a limitation either in ODBC SQL Server driver or in the LiveCode ODBC interface that will prevent us? Any light shed will be gratefully bathed in, Ben From monte at sweattechnologies.com Tue Oct 23 22:44:19 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 24 Oct 2012 13:44:19 +1100 Subject: [ANN] iOS post to Facebook, twitter and sina weibo via standard modal views Message-ID: Hi LiveCoders Today I have released a new external for iOS called mergSocial. This one allows you to present a modal dialog for posting to facebook. twitter and sina weibo using the standard iOS 6 interface. The external allows you to specify some initial text, a list of images and a list of urls to post. With the release of this external mergTwitter will be deprecated as mergSocial on iOS 5 will use the Twitter framework to post to twitter. The external also includes the deprecated mergTwitter syntax or backwards compatibility. All this is nicely wrapped up for you into a single function to check if the service is available and a single command to present the view. Make some Objective-C coders jealous and add this to your app in 2 minutes. Here I'll write the code for you: on touchEnd mergSocial "facebook","Isn't this app cool!",, end touchEnd You will want to use mergSocialIsAvailableForServiceType("facebook") somewhere in your openCard handler to work out if you should enable that button. That's it! mergSocial is available for purchase from http://mergext.com for $29 or as part of the iOS suite of externals. The price for the suite is doubling next week but you still have a chance to lock in the current pricing. More information here: http://mergext.com/home/mergsocial/ Regards Monte -- 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 Wed Oct 24 01:18:09 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 24 Oct 2012 16:18:09 +1100 Subject: [ANN] iOS post to Facebook, twitter and sina weibo via standard modal views Message-ID: <428BE07C-0056-4DCE-87BA-8222BFD79F01@sweattechnologies.com> Hi LiveCoders Today I have released a new external for iOS called mergSocial. This one allows you to present a modal dialog for posting to facebook. twitter and sina weibo using the standard iOS 6 interface. The external allows you to specify some initial text, a list of images and a list of urls to post. With the release of this external mergTwitter will be deprecated as mergSocial on iOS 5 will use the Twitter framework to post to twitter. The external also includes the deprecated mergTwitter syntax or backwards compatibility. All this is nicely wrapped up for you into a single function to check if the service is available and a single command to present the view. Make some Objective-C coders jealous and add this to your app in 2 minutes. Here I'll write the code for you: on touchEnd mergSocial "facebook","Isn't this app cool!",, end touchEnd You will want to use mergSocialIsAvailableForServiceType("facebook") somewhere in your openCard handler to work out if you should enable that button. That's it! mergSocial is available for purchase from http://mergext.com for $29 or as part of the iOS suite of externals. The price for the suite is doubling next week but you still have a chance to lock in the current pricing. More information here: http://mergext.com/home/mergsocial/ There has also been a new release of mergBgTask today. Lastly the free downloads section now includes the useful externals from the SDK (rrehardcopy, rresockets, rrenarrator and rremicrophone) compiled in the same format as the rest of the mergExt externals. This saves you from compiling for all the possible simulators or device options. To access them just register for a free account so you can download. Regards Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From richmondmathewson at gmail.com Wed Oct 24 03:04:18 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 24 Oct 2012 10:04:18 +0300 Subject: [OT] Apple shrinks Message-ID: <508792F2.1050803@gmail.com> http://www.bbc.co.uk/news/technology-20042738 a "mini" iPad . . . this looks like a case of neither one thing or the other; how on earth one will be able to type on the onscreen keyboard escapes me. Oh, Well, W.C.Fields forever. Richmond. From stephenREVOLUTION2 at barncard.com Wed Oct 24 03:11:00 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 24 Oct 2012 00:11:00 -0700 Subject: [OT] Apple shrinks In-Reply-To: <508792F2.1050803@gmail.com> References: <508792F2.1050803@gmail.com> Message-ID: thumbs, like a phone On Wed, Oct 24, 2012 at 12:04 AM, Richmond wrote: > http://www.bbc.co.uk/news/**technology-20042738 > > a "mini" iPad . . . > > this looks like a case of neither one thing or the other; how on earth one > will > be able to type on the onscreen keyboard escapes me. > > Oh, Well, W.C.Fields forever. > > Richmond. > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From toolbook at kestner.de Wed Oct 24 05:45:58 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 24 Oct 2012 11:45:58 +0200 Subject: how to build hierachical menues? Message-ID: <001f01cdb1cc$5f0091d0$1d01b570$@de> Hi, I wonder if there is a build in feature in LC to build hierarchical menus, or which approach would be state of the art. What I want to is something like a option menu button. After having opened it I choose an option from the pull down menu a second submenu opens in a window beside the choosen option. And again perhaps a third level with a third sub-sub-menu window. Is there such a behavior build in or do I have to create it with a couple of palette windows? Just not to reinvent the wheel. Thanks Tiemo From m.schonewille at economy-x-talk.com Wed Oct 24 05:50:47 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 24 Oct 2012 11:50:47 +0200 Subject: how to build hierachical menues? In-Reply-To: <001f01cdb1cc$5f0091d0$1d01b570$@de> References: <001f01cdb1cc$5f0091d0$1d01b570$@de> Message-ID: Hi Tiemo, Just put tabs before the menu items that should be in a submenu. Like this: menu item submenu item submenu item menu item submenu item subsubmenu item subsubmenu item submenu item submenu item You can do this in the property inspector. -- 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 On 24 okt 2012, at 11:45, Tiemo Hollmann TB wrote: > Hi, > > I wonder if there is a build in feature in LC to build hierarchical menus, > or which approach would be state of the art. > > What I want to is something like a option menu button. After having opened > it I choose an option from the pull down menu a second submenu opens in a > window beside the choosen option. And again perhaps a third level with a > third sub-sub-menu window. > > Is there such a behavior build in or do I have to create it with a couple of > palette windows? > > Just not to reinvent the wheel. Thanks > > Tiemo From toolbook at kestner.de Wed Oct 24 06:03:32 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 24 Oct 2012 12:03:32 +0200 Subject: AW: how to build hierachical menues? In-Reply-To: References: <001f01cdb1cc$5f0091d0$1d01b570$@de> Message-ID: <002401cdb1ce$d3812d10$7a838730$@de> Hi Mark, as far as I know this feature, it is "just" an optical structure in one menu. Perhaps I didn't described it good enough. What I was looking for is a dynamical solution where I first see only the first level and after choosing one item of the first level, I get (a second window with) the sub menu items only of the choosen item of the first level. Or did I misunderstood your proposal? Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag von Mark Schonewille > Gesendet: Mittwoch, 24. Oktober 2012 11:51 > An: How to use LiveCode > Betreff: Re: how to build hierachical menues? > > Hi Tiemo, > > Just put tabs before the menu items that should be in a submenu. Like > this: > > menu item > submenu item > submenu item > menu item > submenu item > subsubmenu item > subsubmenu item > submenu item > submenu item > > You can do this in the property inspector. > > -- > 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 > > > > On 24 okt 2012, at 11:45, Tiemo Hollmann TB wrote: > > > Hi, > > > > I wonder if there is a build in feature in LC to build hierarchical > > menus, or which approach would be state of the art. > > > > What I want to is something like a option menu button. After having > > opened it I choose an option from the pull down menu a second submenu > > opens in a window beside the choosen option. And again perhaps a third > > level with a third sub-sub-menu window. > > > > Is there such a behavior build in or do I have to create it with a > > couple of palette windows? > > > > Just not to reinvent the wheel. 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.schonewille at economy-x-talk.com Wed Oct 24 06:21:36 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 24 Oct 2012 12:21:36 +0200 Subject: AW: how to build hierachical menues? In-Reply-To: <002401cdb1ce$d3812d10$7a838730$@de> References: <001f01cdb1cc$5f0091d0$1d01b570$@de> <002401cdb1ce$d3812d10$7a838730$@de> Message-ID: <3C37D57D-E463-44D6-919E-BCBA3C563BBD@economy-x-talk.com> Hi Tiemo, A problem is that a normal option menu button won't display the submenus as expected. In those cases, I often create an option menu button (or a custom-made variant of it) and a popup button. For example, create one button with the following script: on mouseUp create btn put it into myBtn set the style of myBtn to "menu" set the menuMode of myBtn to "popup" set the height of myBtn to 22 set the width of myBtn to 128 set the text of myBtn to "item 1" & cr & tab & \ "sub 1" & cr & tab & "sub 2" & cr & "item 2" hide myBtn end mouseUp and an option menu button without menu items but with this script: on mouseDown popup btn 3 at the bottomleft of me end mouseDown Press the first button once and then press the option menu button. It will display a menu with submenus. -- 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 On 24 okt 2012, at 12:03, Tiemo Hollmann TB wrote: > Hi Mark, > as far as I know this feature, it is "just" an optical structure in one > menu. > Perhaps I didn't described it good enough. What I was looking for is a > dynamical solution where I first see only the first level and after choosing > one item of the first level, I get (a second window with) the sub menu items > only of the choosen item of the first level. > Or did I misunderstood your proposal? > Thanks > Tiemo From bdrunrev at gmail.com Wed Oct 24 06:22:03 2012 From: bdrunrev at gmail.com (Bernard Devlin) Date: Wed, 24 Oct 2012 11:22:03 +0100 Subject: [OT] Apple shrinks In-Reply-To: <508792F2.1050803@gmail.com> References: <508792F2.1050803@gmail.com> Message-ID: When it came to choosing a tablet earlier this year, I could not see myself using something in the original iPad form-factor - it just felt too uncomfortable in my hand. I went for a 7" HTC Android tablet. The 7" form-factor is like going back to the good old days of the Apple Newton. Only the thinness of modern tablets is much to be desired compared to the chunkiness of the Newton! I find it almost impossible to use the on-screen keyboard on my Android phone (I find myself yearning for an old Nokia with a numeric keypad - it would probably be quicker to type with that inappropriate design). But on the 7" form-factor I find the on-screen keyboard is surprisingly usable, with the error rate a tiny fraction of that on the phone. Whether or not the error rate would drop further on a 10" screen I have no desire to find out, as it is low enough on the 7" to be a non-issue. When I was in the market for a tablet, I predicted to my style-conscious, Apple-everything, metrosexual friends that Apple would have to release something in that shape. Shortly after my purchase, Google released a tablet in that form-factor. So Apple is late to the party. Steve Jobs was probably blinded by wanting the iPad not to be anything like the Newton (the Newton being a landmark product when he was not a Apple). Bernard On Wed, Oct 24, 2012 at 8:04 AM, Richmond wrote: > http://www.bbc.co.uk/news/**technology-20042738 > > a "mini" iPad . . . > > this looks like a case of neither one thing or the other; how on earth one > will > be able to type on the onscreen keyboard escapes me. > > Oh, Well, W.C.Fields forever. > > 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 toolbook at kestner.de Wed Oct 24 07:31:41 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 24 Oct 2012 13:31:41 +0200 Subject: AW: AW: how to build hierachical menues? In-Reply-To: <3C37D57D-E463-44D6-919E-BCBA3C563BBD@economy-x-talk.com> References: <001f01cdb1cc$5f0091d0$1d01b570$@de> <002401cdb1ce$d3812d10$7a838730$@de> <3C37D57D-E463-44D6-919E-BCBA3C563BBD@economy-x-talk.com> Message-ID: <003401cdb1db$242c4e50$6c84eaf0$@de> Thanks for the idea! Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag von Mark Schonewille > Gesendet: Mittwoch, 24. Oktober 2012 12:22 > An: How to use LiveCode > Betreff: Re: AW: how to build hierachical menues? > > Hi Tiemo, > > A problem is that a normal option menu button won't display the submenus > as expected. In those cases, I often create an option menu button (or a > custom-made variant of it) and a popup button. For example, create one > button with the following script: > > on mouseUp > create btn > put it into myBtn > set the style of myBtn to "menu" > set the menuMode of myBtn to "popup" > set the height of myBtn to 22 > set the width of myBtn to 128 > set the text of myBtn to "item 1" & cr & tab & \ > "sub 1" & cr & tab & "sub 2" & cr & "item 2" > hide myBtn > end mouseUp > > and an option menu button without menu items but with this script: > > on mouseDown > popup btn 3 at the bottomleft of me end mouseDown > > Press the first button once and then press the option menu button. It will > display a menu with submenus. > > -- > 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 > > > > On 24 okt 2012, at 12:03, Tiemo Hollmann TB wrote: > > > Hi Mark, > > as far as I know this feature, it is "just" an optical structure in > > one menu. > > Perhaps I didn't described it good enough. What I was looking for is a > > dynamical solution where I first see only the first level and after > > choosing one item of the first level, I get (a second window with) the > > sub menu items only of the choosen item of the first level. > > Or did I misunderstood your proposal? > > 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 richmondmathewson at gmail.com Wed Oct 24 08:04:31 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 24 Oct 2012 15:04:31 +0300 Subject: [OT] Apple shrinks In-Reply-To: References: <508792F2.1050803@gmail.com> Message-ID: <5087D94F.8070505@gmail.com> On 10/24/2012 01:22 PM, Bernard Devlin wrote: > When it came to choosing a tablet earlier this year, I could not see myself > using something in the original iPad form-factor - it just felt too > uncomfortable in my hand. I went for a 7" HTC Android tablet. > > The 7" form-factor is like going back to the good old days of the Apple > Newton. Only the thinness of modern tablets is much to be desired compared > to the chunkiness of the Newton! Ahah! So; while the iPad is a tablet computer, I suppose the iPad mini (trying to be cutesy with the lower case M) is a PDA. But . . . "Every inch an iPad" which, if you think about it, is not strictly true: it's a shrunken iPad. And, as such, should be seen as a PDA rather than a tablet computer. The only problem is that PDAs tend to have some sort of physical keyboard you can tap with a stylus or pencil, and the iPad mini will have about 2-3 letters under my fat fingers on its virtual keyboard, and it is unlikely that its screen is going to take nicely to being tapped with a sharp pencil. Sorry to be negative, but the iPad mini looks like something for Paris Hilton and all the other posers, and not much else. > > I find it almost impossible to use the on-screen keyboard on my Android > phone (I find myself yearning for an old Nokia with a numeric keypad - it > would probably be quicker to type with that inappropriate design). But on > the 7" form-factor I find the on-screen keyboard is surprisingly usable, > with the error rate a tiny fraction of that on the phone. Whether or not > the error rate would drop further on a 10" screen I have no desire to find > out, as it is low enough on the 7" to be a non-issue. > > When I was in the market for a tablet, I predicted to my style-conscious, > Apple-everything, metrosexual friends that Apple would have to release > something in that shape. Shortly after my purchase, Google released a > tablet in that form-factor. So Apple is late to the party. Steve Jobs was > probably blinded by wanting the iPad not to be anything like the Newton > (the Newton being a landmark product when he was not a Apple). > > Bernard > > From coiin at verizon.net Wed Oct 24 08:10:16 2012 From: coiin at verizon.net (Colin Holgate) Date: Wed, 24 Oct 2012 08:10:16 -0400 Subject: [OT] Apple shrinks In-Reply-To: <5087D94F.8070505@gmail.com> References: <508792F2.1050803@gmail.com> <5087D94F.8070505@gmail.com> Message-ID: iPads work very nicely with Bluetooth keyboards. Also, close to 100% of the time you're using an iPad you're not needing to enter text. If you need something that is all about text entry, then either use an external keyboard or use a computer. On Oct 24, 2012, at 8:04 AM, Richmond wrote: > >The only problem is that PDAs tend to have some sort of physical keyboard you can tap with a stylus or pencil, and the iPad mini will have about 2-3 letters under my fat fingers on its virtual keyboard, and > it is unlikely that its screen is going to take nicely to being tapped with a sharp pencil. From richmondmathewson at gmail.com Wed Oct 24 08:22:25 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 24 Oct 2012 15:22:25 +0300 Subject: [OT] Apple shrinks In-Reply-To: References: <508792F2.1050803@gmail.com> <5087D94F.8070505@gmail.com> Message-ID: <5087DD81.80700@gmail.com> On 10/24/2012 03:10 PM, Colin Holgate wrote: > iPads work very nicely with Bluetooth keyboards. Also, close to 100% of the time you're using an iPad you're not needing to enter text. If you need something that is all about text entry, then either use an external keyboard or use a computer. Try telling that to loads of people round here; lots of students at the University are attempting to write essays and take lecture notes on iPads and other Tablet computers with the onscreen keyboard. Having spent buckets on an iPad they really don't have anything left for a laptop. I, being a crafty type, have solved this problem; I have a tatty-old, second-hand Pentium IV in every place I am likely to spend any length of time, and have just revived my Macintosh Powerbook 180 for when I get really desperate and cannot control myself until I get to a stationary computer. Needless to say, I am the leading fashionista here in Bulgaria with my 20 year old lump of grey plastic, LOL. > > > On Oct 24, 2012, at 8:04 AM, Richmond wrote: > >>> The only problem is that PDAs tend to have some sort of physical keyboard you can tap with a stylus or pencil, and the iPad mini will have about 2-3 letters under my fat fingers on its virtual keyboard, and >> it is unlikely that its screen is going to take nicely to being tapped with a sharp pencil. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Oct 24 09:29:32 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 24 Oct 2012 15:29:32 +0200 Subject: livecode apps summary? Message-ID: Hi, i am often asked which tool/language i use to create the apps and always i get a shrug of the shoulders if i tell the people about LiveCode. So i am preparing a website where i want to list all apps (iOS,Android and/or Desktop and/or Server), regardless if commercial or private, which were created with LiveCode. So i you have created an app and are interested in getting your app listed on my site, then please send me the following information about your app: - short summary about your app. What is it for and so on - an image - a link to your app in the iTunes store, Google Market or Website. - if it is sold, how much is it? I would love to hear from you. ;) Regards, Matthias -- Matthias Rebbe matthias (at) rebbe.tk Tel +49.5741.310000 Tel +49.160.5504462 -- "Life is too short for boring code" From klaus at major.on-rev.com Wed Oct 24 09:57:12 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 24 Oct 2012 15:57:12 +0200 Subject: Video externals: XMediaPlayer API Message-ID: Hi friends, here the complete API for the XMediaPlayer external, it is the same for the WMP and VLC version of the external. I added analogies to the QuickTime player object of Livecode where possible. I will post the API for the "XVideoJoiner" external tomorrow, there have been some changes recently that I need to write down first. Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com ------------------------------------------------------------------------------------------------------------------ XMediaPlayer API (WMP and VLC!) 1. Commands XMediaPlayer_Open PlayerName,WindowId Open a new instance of mediaplayer PlayerName = any name (one word!) you want, use it to address the mediaplayer later WindowId = window id of stack you want to display the video in Example: ... put the windowID of this stack into tWID XMediaPlayer_Open "Your_Player",tWID ... If a mediaplayer with that name already exists, then the command will be ignored! --------------------------------------------------------------------- XMediaPlayer_Close PlayerName Close instance of mediaplayer with name: PlayerName Example: ... XMediaPlayer_Close "Your_Player" ... If a mediaplayer with that name does not exist, then the command will be ignored! --------------------------------------------------------------------- XMediaPlayer_Pause PlayerName Pause playback of mediaplayer Example: ... XMediaPlayer_Pause "Your_Player" ... If a mediaplayer with that name does not exist, then the command will be ignored! --------------------------------------------------------------------- XMediaPlayer_Play PlayerName Start mediaplayer Example: ... XMediaPlayer_Start "Your_Player" ... If a mediaplayer with that name does not exist, then the command will be ignored! --------------------------------------------------------------------- XMediaPlayer_Stop PlayerName Stop mediaplayer Example: ... XMediaPlayer_Stop "Your_Player" ... If a mediaplayer with that name does not exist, then the command will be ignored! --------------------------------------------------------------------- --------------------------------------------------------------------- 2. Mediaplayer Properties General syntax for setting a property: XMediaPlayer_Set PlayerName, Name_of_Property, Value_of_Property If a mediaplayer with that name does not exist, then the commands will be ignored! URL = filename of video to display Example: ... XMediaPlayer_Set "Your_Player","url","/Users/klaus/Movies/MP4/ToTheOne1.mp4" ## Mac XMediaPlayer_Set "Your_Player","url","C:/Movies/MP4/ToTheOne1.mp4" ## Windows ... ---------------------------------------------------------------------- RECT = position on screen for mediaplayer, rect like in Livecode: left,top,right,bottom Example: ... put the rect of grc "video placeholder" into tRect XMediaPlayer_Set "Your_Player","rect",tRect ... put 0,0,640,360 into tRect XMediaPlayer_Set "Your_Player","rect",tRect ... ---------------------------------------------------------------------- VISIBLE - TRUE or FALSE, Hide or show mediaplayer. Example: ... XMediaPlayer_Set "Your_Player","visible",false ## hide mediaplayer ... XMediaPlayer_Set "Your_Player","visible",true ## show mediaplayer ... ---------------------------------------------------------------------- POSITION - Set a position in video, in seconds, integer/floating point values allowed Analog to "currenttime" for a Livecode QuickTime player object Example: ... XMediaPlayer_Set "Your_Player","position",10 ## Set the TIME in movie to 10 seconds ... ---------------------------------------------------------------------- STOPPOSITION - Set a time in movie where playback should stop in seconds, integer/floating point values allowed Analog to "endtime" for a Livecode QuickTime player object Example: ... XMediaPlayer_Set "Your_Player","stopPosition",15 ## Set the ENDTIME in movie to 15 seconds ... When playback reaches the set "stopposition" the message "XMediaPlayer_Complete" (see below) will be sent! ---------------------------------------------------------------------- VOLUME - Volume of video, 0 to 100 Analog to "playloudness" for a Livecode QuickTime player object Example: ... XMediaPlayer_Set "Your_Player","volume",100 ## Full volume ... ---------------------------------------------------------------------- ---------------------------------------------------------------------- 3. Functions General syntax for getting a property: function XMediaPlayer_Get(PlayerName, Name_of_Property) into tMediaPlayerProperty If a mediaplayer with that name does not exist, then the commands will be ignored! DURATION - Duration of mediaplayer in seconds (floating point) Example: ... put XMediaPlayer_Get("Your_Player","duration") into tMovieLength set the endvalue of sb "my video progressbar" to tMovieLength ... ---------------------------------------------------------------------- RECT - Current position of mediaplayer overlay Example: ... put XMediaPlayer_Get("Your_Player","rect") into the_rect_I_have_set_but_forgotten ... ---------------------------------------------------------------------- VISIBLE - TRUE or FALSE = visibility of mediaplayer overlay Example: ... put XMediaPlayer_Get("Your_Player","visible") into tVideoVisibility ... ---------------------------------------------------------------------- POSITION - Current position in mediaplayer, in seconds (floating point) Example: ... put XMediaPlayer_Get("Your_Player","postion") into tCurrentTime set the thumbpos of sb "my video progressbar" to tCurrentTime ... ---------------------------------------------------------------------- PAUSED - TRUE or FALSE, if playback is currently paused or not Example: ... put XMediaPlayer_Get("Your_Player","paused") into tCurrentPlayingState ... ---------------------------------------------------------------------- FORMATTEDSIZE - Dimensions of video in format: width in pixels COMMA height in pixels => 640,480 Example: ... put XMediaPlayer_Get("Your_Player","formattedsize") into tDimensions put item 1 of tDimensions into tVideoWidth put item 2 of tDimensions into tVideoHeight ... ---------------------------------------------------------------------- VOLUME - Currently set volume 0 - 100 Example: ... put XMediaPlayer_Get("Your_Player","volume") into tCurretnMoviePlayLoudness ... ---------------------------------------------------------------------- STOPPOSITION - Time in video where playback should stop. HINT: Some demuxers always return length of video, therefore you may want to track this internally, but I never experienced this so far. Example: ... put XMediaPlayer_Get("Your_Player","stopposition") into the_time_in_movie_i_have_set_but_forgotten ... ---------------------------------------------------------------------- ---------------------------------------------------------------------- 4. These are two very special functions we needed for our first project. They will return TRUE of FALSE if the queried codec collection (LAVFILTERS rsp. FFDShow) is installed or not. Hint: In case you didn't know there are some free codec collections for Windows which will let you play more videoformats like MP4, FLV, XVID etc. with WMP and thus with the WMP version of the external: Example: ... XMediaPlayer_IsFilterInstalled("ffdshow") into tFFDSHOWinstalled ... XMediaPlayer_IsFilterInstalled("lav") into tLAVFiltersInstalled ... ---------------------------------------------------------------------- ---------------------------------------------------------------------- 5. MediaPlayer messages: XMediaPlayer_Complete PlayerName - Message is sent when the video reaches its end or the STOPTIME you have set before. There is only ONE parameter: the name of the player that has stopped Put this somewhere in message hierarchy. Example: on XMediaPlayer_Complete tPlayerName if tPlayerName = "Your_Player" then answer "End of transmission!" end if end XMediaPlayer_Complete ---------------------------------------------------------------------- XMediaPlayer_LMouseUp XMediaPlayer_RMouseUp XMediaPlayer_MouseMove Messages are sent when the LEFT or RIGHT mousebutton has been clicked or the mouse is being moved inside of the mediaplayers rect . NO parameter is being sent, so you need to check "the mouseloc" in that case! Example: on XMediaPlayer_LMouseUp put the mouseloc into tML if tML is within the rect of grc "video_placeholder" then ## mouse has been clicked in a mediaplayer ## do whatever you want to do in this case end if end XMediaPlayer_LMouseUp From matthias_livecode_150811 at m-r-d.de Wed Oct 24 10:05:01 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 24 Oct 2012 16:05:01 +0200 Subject: livecode apps summary? In-Reply-To: References: Message-ID: <925E6D63-4747-4CAF-83D8-6AB580EDC468@m-r-d.de> What i forgot. Please send me your info off-list to my address you can see below in the signature. Thanks. Matthias -- Matthias Rebbe matthias (at) rebbe.tk Tel +49.5741.310000 Tel +49.160.5504462 -- "Life is too short for boring code" Am 24.10.2012 um 15:29 schrieb Matthias Rebbe : > Hi, > > i am often asked which tool/language i use to create the apps and always i get a shrug of the shoulders if i tell the people about LiveCode. > > So i am preparing a website where i want to list all apps (iOS,Android and/or Desktop and/or Server), regardless if commercial or private, which were created with LiveCode. > So i you have created an app and are interested in getting your app listed on my site, then please send me the following information about your app: > > - short summary about your app. What is it for and so on > - an image > - a link to your app in the iTunes store, Google Market or Website. > - if it is sold, how much is it? > > I would love to hear from you. ;) > > Regards, > > Matthias > > -- > Matthias Rebbe > matthias (at) rebbe.tk > Tel +49.5741.310000 > Tel +49.160.5504462 > -- > "Life is too short for boring code" > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Oct 24 10:16:31 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Oct 2012 07:16:31 -0700 Subject: [OT] Apple shrinks In-Reply-To: <5087DD81.80700@gmail.com> References: <5087DD81.80700@gmail.com> Message-ID: <5087F83F.5090708@fourthworld.com> Richmond wrote: > I, being a crafty type, have solved this problem; I have a tatty-old, > second-hand Pentium IV in every > place I am likely to spend any length of time, and have just revived my > Macintosh Powerbook 180 > for when I get really desperate and cannot control myself until I get to > a stationary computer. You're a trend-setter, Richmond: One of the ironies of the so-called "post-PC era" is that I find myself running into a growing number of people who are rediscovering their desktop computers. Laptop sales overtook desktops in 2003, providing the portability people needed more than raw horsepower. That portability was so important that a majority of customers are willing to pay much more for less horsepower-per-dollar than their desktop counterparts. But these days, most computer users also have smartphones, the one computer we always have with us. Tablets are fun, but they can't fit in a pocket (even the new 7" would require some pretty large cargo pants pockets ), so those lugging a tablet around in whatever carrying case they use still have their smartphone with them as well. Over time this prompts some of us to ask, "Why am I carrying a second Internet device with me when I already have my phone?" With things like the Macbook Air weighing almost the same as a tablet, since either needs a carrying case why not take the one that has more power, more RAM, offers the unmatched precision of a mouse, and runs all your work apps? Some are answering this in an entirely different way: the smartphone is the portable device, and when they need a more powerful computer they can get far more bang for the buck with a desktop machine. I doubt this will be a dominant trend, but I'd be surprised if we didn't see at least a modest uptick in desktop sales by mid-2013. -- 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 lfredricks at proactive-intl.com Wed Oct 24 11:00:37 2012 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed, 24 Oct 2012 08:00:37 -0700 Subject: [OT] Apple shrinks In-Reply-To: <5087F83F.5090708@fourthworld.com> References: <5087DD81.80700@gmail.com> <5087F83F.5090708@fourthworld.com> Message-ID: <8183E5C649264E978F3A1246F4E7072E@GATEWAY> > Over time this prompts some of us to ask, "Why am I carrying > a second Internet device with me when I already have my phone?" Funny thing is that this question was asked back in the Palm Pilot days, and so was born the first smart phone. "Post PC" era is a marketing strategy to sell you on Apple's digital device + services plans. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From dochawk at gmail.com Wed Oct 24 11:09:43 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 24 Oct 2012 08:09:43 -0700 Subject: [OT] Apple shrinks In-Reply-To: <5087D94F.8070505@gmail.com> References: <508792F2.1050803@gmail.com> <5087D94F.8070505@gmail.com> Message-ID: On Wed, Oct 24, 2012 at 5:04 AM, Richmond wrote: > But . . . "Every inch an iPad" > > which, if you think about it, is not strictly true: it's a shrunken iPad. 50% less calories than the regular iPad? On Wed, Oct 24, 2012 at 5:22 AM, Richmond wrote: > , and have just revived my > Macintosh Powerbook 180 > for when I get really desperate and cannot control myself until I get to a > stationary computer. *blink* Really? How in the world did you come up with a hard drive? The failure rate was close to 100%; apple replaced mine twice (the irony was that this was an IBM drive!) . . . And for the Newton lovers, I suppose that we could make an app that randomly garbles text . . . And as for typing, I'm already thumbing the regular keyboard on the regular iPad. -- Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Wed Oct 24 11:09:52 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 24 Oct 2012 08:09:52 -0700 Subject: [OT] Apple shrinks In-Reply-To: <5087DD81.80700@gmail.com> References: <508792F2.1050803@gmail.com> <5087D94F.8070505@gmail.com> <5087DD81.80700@gmail.com> Message-ID: On Wed, Oct 24, 2012 at 5:22 AM, Richmond wrote: > , and have just revived my > Macintosh Powerbook 180 > for when I get really desperate and cannot control myself until I get to a > stationary computer. *blink* Really? How in the world did you come up with a hard drive? The failure rate was close to 100%; apple replaced mine twice (the irony was that this was an IBM drive!) -- Richard E. Hawkins, Esq. (702) 508-8462 From roger.e.eller at sealedair.com Wed Oct 24 11:28:01 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 24 Oct 2012 11:28:01 -0400 Subject: [OT] Apple shrinks In-Reply-To: <5087D94F.8070505@gmail.com> References: <508792F2.1050803@gmail.com> <5087D94F.8070505@gmail.com> Message-ID: On Wed, Oct 24, 2012 at 8:04 AM, Richmond wrote: > On 10/24/2012 01:22 PM, Bernard Devlin wrote: > >> When it came to choosing a tablet earlier this year, I could not see >> myself >> using something in the original iPad form-factor - it just felt too >> uncomfortable in my hand. I went for a 7" HTC Android tablet. >> >> The 7" form-factor is like going back to the good old days of the Apple >> Newton. Only the thinness of modern tablets is much to be desired >> compared >> to the chunkiness of the Newton! >> > > Ahah! > > So; while the iPad is a tablet computer, I suppose the iPad mini (trying > to be cutesy with the > lower case M) is a PDA. > > But . . . "Every inch an iPad" It still amazes me that parents give iPads to their young children. Whatever happened to giving them those fake 'educational' laptops from Toys-R-Us for $30 so they don't break the real computer? I expect now that this Christmas, there will be many (or mini) iPad minis under the tree for the young-uns. I personally would still opt for a less-expensive option like the Android mini: http://www.merimobiles.com/category_s/360.htm ~Roger From cszasz at me.com Wed Oct 24 11:41:44 2012 From: cszasz at me.com (Charles Szasz) Date: Wed, 24 Oct 2012 11:41:44 -0400 Subject: Script problem Message-ID: <9C614080-CC10-4E47-9165-1584DD1F44B9@me.com> I am using the following script to retrieve the labels of checked checkboxes on marked cards and put them in the field "recommendations". The labels are custom properties (uMyLabel). The script works fine but I am getting five blank lines in recommendations field before the first checkbox label is inserted in the field. Any suggestions? on mouseUp repeat with y = 1 to the number of cards of stack "MyStack" if the mark of card y of stack "MyStack"= true then put the number of buttons of card y of stack "MyStack"into nbr repeat with n = 1 to nbr if the style of button n of card y of stack "MyStack" is "checkbox"\ and the hilite of button n of card y of stack "MyStack" is true then put the uMyLabel of button n of card y of stack "MyStack" into tName put tName & cr after theList end if end repeat end if end repeat delete char -1 of theList put theList into field "recommendations" Charles Szasz cszasz at mac.com From MikeKerner at roadrunner.com Wed Oct 24 11:42:51 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 24 Oct 2012 11:42:51 -0400 Subject: [OT] Apple shrinks In-Reply-To: References: <508792F2.1050803@gmail.com> <5087D94F.8070505@gmail.com> Message-ID: The thing that amazes me is that the iPod Touch (5th Gen) is only $30 less than the Mini. -- 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 cszasz at mac.com Wed Oct 24 11:39:44 2012 From: cszasz at mac.com (charles61) Date: Wed, 24 Oct 2012 08:39:44 -0700 (PDT) Subject: Script problem Message-ID: <1351093184234-4656616.post@n4.nabble.com> I am using the following script to retrieve the labels of checked checkboxes on marked cards and put them in the field "recommendations". The labels are custom properties (uMyLabel). The script works fine but I am getting five blank lines in recommendations field before the first checkbox label is inserted in the field. Any suggestions? on mouseUp repeat with y = 1 to the number of cards of stack "MyStack" if the mark of card y of stack "MyStack"= true then put the number of buttons of card y of stack "MyStack"into nbr repeat with n = 1 to nbr if the style of button n of card y of stack "MyStack" is "checkbox"\ and the hilite of button n of card y of stack "MyStack" is true then put the uMyLabel of button n of card y of stack "MyStack" into tName put tName & cr after theList end if end repeat end if end repeat delete char -1 of theList put theList into field "recommendations" -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Script-problem-tp4656616.html Sent from the Revolution - User mailing list archive at Nabble.com. From th.douez at gmail.com Wed Oct 24 12:25:45 2012 From: th.douez at gmail.com (Thierry Douez) Date: Wed, 24 Oct 2012 18:25:45 +0200 Subject: Script problem In-Reply-To: <1351093184234-4656616.post@n4.nabble.com> References: <1351093184234-4656616.post@n4.nabble.com> Message-ID: 2012/10/24 charles61 : > I am using the following script to retrieve the labels of checked checkboxes > on marked cards and put them in the field "recommendations". The labels are > custom properties (uMyLabel). The script works fine but I am getting five > blank lines in recommendations field before the first checkbox label is > inserted in the field. > > Any suggestions? Ok, I try one :) I'm guessing that you have a card which is marked , contains 5 checkbox buttons with no customproperty uMyLabel ! Check this by inserting another line: > on mouseUp > > repeat with y = 1 to the number of cards of stack "MyStack" > if the mark of card y of stack "MyStack"= true then > put the number of buttons of card y of stack "MyStack"into nbr > repeat with n = 1 to nbr > if the style of button n of card y of stack "MyStack" is > "checkbox"\ > and the hilite of button n of card y of stack "MyStack" then ******* if the uMyLabel of button n of card y of stack "MyStack" is empty then put y && n end if > put the uMyLabel of button n of card y of stack "MyStack" iinto tName > put tName & cr after theList > end if > end repeat > end if > end repeat > From richmondmathewson at gmail.com Wed Oct 24 12:34:43 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 24 Oct 2012 19:34:43 +0300 Subject: [OT] Apple shrinks In-Reply-To: References: <508792F2.1050803@gmail.com> <5087D94F.8070505@gmail.com> <5087DD81.80700@gmail.com> Message-ID: <508818A3.7090904@gmail.com> On 10/24/2012 06:09 PM, Dr. Hawkins wrote: > On Wed, Oct 24, 2012 at 5:22 AM, Richmond wrote: >> , and have just revived my >> Macintosh Powerbook 180 >> for when I get really desperate and cannot control myself until I get to a >> stationary computer. > *blink* > > Really? > > How in the world did you come up with a hard drive? The failure rate > was close to 100%; apple replaced mine twice (the irony was that this > was an IBM drive!) > Still going strong: no battery though. From richmondmathewson at gmail.com Wed Oct 24 12:42:34 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 24 Oct 2012 19:42:34 +0300 Subject: [OT] Linux kernel 3.5 and VMWare Message-ID: <50881A7A.5030306@gmail.com> Well, it is useful for those of us running various Operating Systems at the same time :) http://frednotes.wordpress.com/2012/09/01/kernel-3-5-and-vmware/ 'tis a bu**er, me dears! Richmond. From bdrunrev at gmail.com Wed Oct 24 13:11:18 2012 From: bdrunrev at gmail.com (Bernard Devlin) Date: Wed, 24 Oct 2012 18:11:18 +0100 Subject: [OT] Apple shrinks In-Reply-To: References: <508792F2.1050803@gmail.com> <5087D94F.8070505@gmail.com> Message-ID: I have the most appalling handwriting. Longtime companions cannot read it. Even I sometimes cannot read my own handwriting. Yet, once I'd gone through the training process, the Newton can transcribe it to text with considerable accuracy. Perhaps the Newton was the first device to reverse garbage-in, garbage-out .... Bernard On Wed, Oct 24, 2012 at 4:09 PM, Dr. Hawkins wrote: > > And for the Newton lovers, I suppose that we could make an app that > randomly garbles text . . . > From sarawakdave at rogers.com Wed Oct 24 13:52:27 2012 From: sarawakdave at rogers.com (Dave McKee) Date: Wed, 24 Oct 2012 13:52:27 -0400 Subject: [OT] Apple shrinks In-Reply-To: References: <508792F2.1050803@gmail.com> <5087D94F.8070505@gmail.com> Message-ID: <23C2620B-9F91-45A5-A1C4-9CB39891E245@rogers.com> You are suggesting that the Newton is a "Reverse Entropy" device ?? Sent from my iPhone On 2012-10-24, at 1:11 PM, Bernard Devlin wrote: > I have the most appalling handwriting. Longtime companions cannot read it. > Even I sometimes cannot read my own handwriting. Yet, once I'd gone > through the training process, the Newton can transcribe it to text with > considerable accuracy. > > Perhaps the Newton was the first device to reverse garbage-in, garbage-out > .... > > Bernard > > On Wed, Oct 24, 2012 at 4:09 PM, Dr. Hawkins wrote: > >> >> And for the Newton lovers, I suppose that we could make an app that >> randomly garbles 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 richmondmathewson at gmail.com Wed Oct 24 15:20:48 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 24 Oct 2012 22:20:48 +0300 Subject: [semi-OT] iPad emulator for Windows Message-ID: <50883F90.8040108@gmail.com> http://www.winmatrix.com/forums/index.php?/topic/33099-run-ios-apps-on-windows-with-ipad-emulator/ I wonder if one can try running Macintosh standalones on this thing to see whether they will function on real iPads? Depends on Adobe Air. 1. Running OK in VMWare Windows XP; accessed a Rutles video on YouTube (The Rutles are the group the Beatles ripped off). 2. Working fine (surprisingly, perhaps) under WINE 1.5.15, although as haven't bothered to fiddle around with WINE to have internet access (why would one ant it) I really cannot say how effective that is via iPadian on WINE. Hey, fairly recherche, what? running an iPad emualtor via 2 other emulation systems. How one loads an external execuatble eludes me right now, but . . . . LOL. ----------------- Of course an awful lot depends on what is 'under the hood' in iPadian. Why do I have a funny feeling the whole thing may be a bit of a fake? It does seem unlikely that somebody has reverse engineered the whole OS in some sort of clean room and reimplemented it in iPadian. Having looked at various browser-based iPad "emulators", this has to be less crappy than they are, at the very least. Richmond. Richmond. From cszasz at mac.com Wed Oct 24 16:26:47 2012 From: cszasz at mac.com (charles61) Date: Wed, 24 Oct 2012 13:26:47 -0700 (PDT) Subject: Script problem In-Reply-To: References: <1351093184234-4656616.post@n4.nabble.com> Message-ID: <1351110407606-4656625.post@n4.nabble.com> Hi Therry! I tried your script suggestion. It reported card 32 and button 38. When I checked this information, there were no checkbox buttons that have custom properties on this card. I went through my project and checked all of the some 700+ checkboxes and did not find any checkboxes that had the uMyLabel custom property and no custom property label. I did find two fields that have an uMyLabel, which they shouldn't have and removed the custom properties for them. But I am still getting the five blank lines in my recommendation field. I should have mentioned that the recommendation field is a scrolling field. I have tried my code in a smaller sample stack with a scrolling field but did not have the 5 blank fields. I checked and found both scrolling fields have the same settings. Nevertheless, I tried various combinations of property settings, including the new Layer Mode with no success. I also found an old group script on one of my cards and removed it but still no success. I am use the find function in LC but still have not found the problem. Any other suggestions? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Script-problem-tp4656616p4656625.html Sent from the Revolution - User mailing list archive at Nabble.com. From benr_mc at cogapp.com Wed Oct 24 16:58:58 2012 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 24 Oct 2012 21:58:58 +0100 Subject: Script problem In-Reply-To: <1351110407606-4656625.post@n4.nabble.com> References: <1351093184234-4656616.post@n4.nabble.com> <1351110407606-4656625.post@n4.nabble.com> Message-ID: <50885692.9010809@cogapp.com> On 24/10/2012 21:26, charles61 wrote: > I tried your script suggestion. It reported card 32 and button 38. When I > checked this information, there were no checkbox buttons that have custom > properties on this card. > > I went through my project and checked all of the some 700+ checkboxes and > did not find any checkboxes that had the uMyLabel custom property and no > custom property label. Note that LiveCode makes no distinction between an object having a custom property with an empty string, and an object that doesn't have that custom property. If you ask for the uIjustMadeItUp of any object, the value will be the same empty string as it would be if there was a custom property of that name. (There is a way of testing whether the custom property actually exists, but it's convoluted.) So like Thierry I suspect the problem is that you have five checkboxes - which might be on one card or five cards - that have no uMyLabel property or a uMyLabel property with empty value. Thierry's script suggestion had the problem that it will only show you the last found one (because each "put" overwrites the previous). So if you want to find them - ie if you don't think you should have any - then you could make this variation, to just collect the card and button info for checkboxes that either don't have the uMyLabel property, or have it empty: > repeat with y = 1 to the number of cards of stack "MyStack" > if the mark of card y of stack "MyStack"= true then > put the number of buttons of card y of stack "MyStack"into nbr > repeat with n = 1 to nbr > if the style of button n of card y of stack "MyStack" is "checkbox"\ > and the hilite of button n of card y of stack "MyStack" then > if the uMyLabel of button n of card y of stack "MyStack" is empty then put y && n & cr after theList end if -- temporarily suppress normal data collection -- put the uMyLabel of button n of card y of stack "MyStack" iinto tName -- put tName & cr after theList > end if > end repeat > end if > end repeat On the other hand if you don't care about that, then just add another test so that you don't collect the ones where it's empty: > repeat with y = 1 to the number of cards of stack "MyStack" > if the mark of card y of stack "MyStack"= true then > put the number of buttons of card y of stack "MyStack"into nbr > repeat with n = 1 to nbr > if the style of button n of card y of stack "MyStack" is "checkbox"\ > and the hilite of button n of card y of stack "MyStack" then put the uMyLabel of button n of card y of stack "MyStack" into tName if tName <> empty then put tName & cr after theList end if > end if > end repeat > end if > end repeat HTH, Ben From benr_mc at cogapp.com Wed Oct 24 17:24:18 2012 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 24 Oct 2012 22:24:18 +0100 Subject: livecode apps summary? In-Reply-To: References: Message-ID: <50885C82.60403@cogapp.com> On 24/10/2012 14:29, Matthias Rebbe wrote: > i am often asked which tool/language i use to create the apps and always i get a shrug of the shoulders if i tell the people about LiveCode. > > So i am preparing a website where i want to list all apps (iOS,Android and/or Desktop and/or Server), regardless if commercial or private, which were created with LiveCode. > So i you have created an app and are interested in getting your app listed on my site, then please send me the following information about your app: > > - short summary about your app. What is it for and so on > - an image > - a link to your app in the iTunes store, Google Market or Website. > - if it is sold, how much is it? Hi Matthias, I had a similar curiosity - but specifically in relation to mobile apps - for the same reason of looking for evidence to overcome scepticism. So just under a year ago I sent a similar appeal to this and other LC lists (see email on this list 2011-11-30). I used a SurveyMonkey form to collect the results - I've just checked and it's still there: http://www.surveymk.com/s/C93Y6LT You can also still see a summary of the results at: http://bit.ly/vYBUFh I intended to produce a beautiful visualisation of all the apps, and got as far as writing a LiveCode (of course) stack which used the data entered in SurveyMonkey to extract screenshots from the iOS AppStore (IIRC nobody gave me data on apps that were available only on Android - this was in the very early days of LiveCode supporting Android). Unfortunately real life intervened and I never produced the visualisation - though I still have the cache of screenshots! Although this survey was specifically for commercially-released (including free) mobile apps, it would be fascinating to repeat the exercise now - I had over 40 responses then, which I thought was pretty good: I suspect and hope it would be a great deal more than that now. You might want to take a similar approach rather than just inviting free-form email. If you like, I could send you the raw data as an initialisation of your data. FWIW, I doubt if you'll get much in regards to private apps (which are certainly most of my own output) so I think you should accept that won't be very representative. Certainly some people took the trouble to use the survey to tell me that there were apps that they had produced but couldn't tell me about (I think the point they were making was that there might be more Android activity than the survey would reveal). Best of luck - I'll look forward to seeing the results! Ben From dochawk at gmail.com Wed Oct 24 20:23:06 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 24 Oct 2012 17:23:06 -0700 Subject: [OT] Apple shrinks In-Reply-To: <508818A3.7090904@gmail.com> References: <508792F2.1050803@gmail.com> <5087D94F.8070505@gmail.com> <5087DD81.80700@gmail.com> <508818A3.7090904@gmail.com> Message-ID: On Wed, Oct 24, 2012 at 9:34 AM, Richmond wrote: > Still going strong: no battery though. Wow. I'll try to remember next time I stumble across mine in the garage . . . -- Richard E. Hawkins, Esq. (702) 508-8462 From cszasz at me.com Wed Oct 24 23:08:01 2012 From: cszasz at me.com (Charles Szasz) Date: Wed, 24 Oct 2012 23:08:01 -0400 Subject: Script problem Message-ID: <0055B6A1-CE7D-410D-8FD5-05CA7FCB2366@me.com> Ben, Thanks for your generous script suggestions! I did not expect to hear from a LC expert as yourself! I tried both of your script suggestions that were in your previous email.They show the number of the card and the number of the checkbox that supposely had a blank custom property, uMyLabel. However, I went to each card and examine each checkbox for the existence of a custom property, uMyLabel, and found that each checkbox on the card that was reported to have a blank uMyLabel actually did have a string for it. I also again went through each of the more than 800 checkboxes in my project and did not find any missing strings. So, I don't know what is accounting for the five blank lines in my field "recommendations". I also checked for any invisible checkboxes and found none. There is also no group scripts for these checkboxes. If you have more ideas or suggestions, please share them with me. Charles Szasz cszasz at mac.com From cszasz at me.com Wed Oct 24 23:31:41 2012 From: cszasz at me.com (Charles Szasz) Date: Wed, 24 Oct 2012 23:31:41 -0400 Subject: Script problem Message-ID: <4CB28EF0-50F9-47BB-AFD8-F30CEE0F5EDB@me.com> Ben, Thanks for your generous script suggestions! I did not expect to hear from a LC expert as yourself! I tried both of your script suggestions that were in your previous email.They show the number of the card and the number of the checkbox that supposely had a blank custom property, uMyLabel. However, I went to each card and examine each checkbox for the existence of a custom property, uMyLabel, and found that each checkbox on the card that was reported to have a blank uMyLabel actually did have a string for it. I also again went through each of the more than 800 checkboxes in my project and did not find any missing strings. So, I don't know what is accounting for the five blank lines in my field "recommendations". I also checked for any invisible checkboxes and found none. There is also no group scripts for these checkboxes. If you have more ideas or suggestions, please share them with me. Sent from my iPad From rjearp at hotmail.com Thu Oct 25 01:41:25 2012 From: rjearp at hotmail.com (Bob Earp) Date: Wed, 24 Oct 2012 22:41:25 -0700 Subject: revGoURL "mailto" bug ? Message-ID: I'm using revGoURL to send eMails to Apple Mail as follows; put "mailto:?"& lSubjectTxt & "&" & lAddresses & "&" & lBodyTxt into lMailMsg revGoURL lMailMsg It all works OK except that if I use an ampersand "&" or a percentage sign "%" in lBodyTxt then revGoURL will not send lMailMsg to the mail client (Apple Mail). If I stick to plain text everything works fine. There may be other symbols that create the problem, but these are the two I have found to date. Anybody got any ideas ? Thanks, Bob... Bob Earp White Rock, British Columbia. From stephenREVOLUTION2 at barncard.com Thu Oct 25 02:32:00 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 24 Oct 2012 23:32:00 -0700 Subject: revGoURL "mailto" bug ? In-Reply-To: References: Message-ID: yeah, replace the entities for this email stuff.... 'the usual suspects' won't work unless escaped or translated. function fixURL pURL replace ":" with "%3A" in pURL replace "?" with "%3F" in pURL replace "/" with "%2F" in pURL replace "<" with "%3C" in pURL replace ">" with "%3E" in pURL replace "&" with "%26" in pURL return pURL end fixURL On Wed, Oct 24, 2012 at 10:41 PM, Bob Earp wrote: > I'm using revGoURL to send eMails to Apple Mail as follows; > > put "mailto:?"& lSubjectTxt & "&" & lAddresses & "&" & lBodyTxt into > lMailMsg > revGoURL lMailMsg > > It all works OK except that if I use an ampersand "&" or a percentage sign > "%" in lBodyTxt then revGoURL will not send lMailMsg to the mail client > (Apple Mail). If I stick to plain text everything works fine. There may be > other symbols that create the problem, but these are the two I have found > to date. > > Anybody got any ideas ? > > Thanks, Bob... > > > Bob Earp > White Rock, British Columbia. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From stephenREVOLUTION2 at barncard.com Thu Oct 25 02:33:15 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 24 Oct 2012 23:33:15 -0700 Subject: revGoURL "mailto" bug ? In-Reply-To: References: Message-ID: percent % is %25 it's just hex ascii.... On Wed, Oct 24, 2012 at 11:32 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > yeah, replace the entities for this email stuff.... 'the usual suspects' > won't work unless escaped or translated. > > function fixURL pURL > replace ":" with "%3A" in pURL > replace "?" with "%3F" in pURL > replace "/" with "%2F" in pURL > replace "<" with "%3C" in pURL > replace ">" with "%3E" in pURL > replace "&" with "%26" in pURL > return pURL > end fixURL > > > On Wed, Oct 24, 2012 at 10:41 PM, Bob Earp wrote: > >> I'm using revGoURL to send eMails to Apple Mail as follows; >> >> put "mailto:?"& lSubjectTxt & "&" & lAddresses & "&" & lBodyTxt into >> lMailMsg >> revGoURL lMailMsg >> >> It all works OK except that if I use an ampersand "&" or a percentage >> sign "%" in lBodyTxt then revGoURL will not send lMailMsg to the mail >> client (Apple Mail). If I stick to plain text everything works fine. There >> may be other symbols that create the problem, but these are the two I have >> found to date. >> >> Anybody got any ideas ? >> >> Thanks, Bob... >> >> >> Bob Earp >> White Rock, British Columbia. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > > -- Stephen Barncard San Francisco Ca. USA more about sqb From benr_mc at cogapp.com Thu Oct 25 05:03:40 2012 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 25 Oct 2012 10:03:40 +0100 Subject: Script problem In-Reply-To: <0055B6A1-CE7D-410D-8FD5-05CA7FCB2366@me.com> References: <0055B6A1-CE7D-410D-8FD5-05CA7FCB2366@me.com> Message-ID: <5089006C.4050106@cogapp.com> On 25/10/2012 04:08, Charles Szasz wrote: > I also again went through each of the more than 800 checkboxes in my project and did not find any missing strings. So, I don't know what is accounting for the five blank lines in my field "recommendations". > ... > If you have more ideas or suggestions, please share them with me. Perhaps some of the strings contain leading or trailing returns - so you're not collecting empty values, but when you put them all in a list you end up with some blank lines. So yet another variation might collect this information > repeat with y = 1 to the number of cards of stack "MyStack" > if the mark of card y of stack "MyStack"= true then > put the number of buttons of card y of stack "MyStack"into nbr > repeat with n = 1 to nbr > if the style of button n of card y of stack "MyStack" is "checkbox"\ > and the hilite of button n of card y of stack "MyStack" then > put the uMyLabel of button n of card y of stack "MyStack" into tName if tName contains cr then put y && n & cr after theList end if -- temporarily suppress normal data collection -- put the uMyLabel of button n of card y of stack "MyStack" iinto tName -- put tName & cr after theList > end if > end repeat > end if > end repeat ... or if you just want to suppress it from your output, and don't care where it is, replace put tName & cr after theList with put line 1 of tName & cr after theList HTH Ben From th.douez at gmail.com Thu Oct 25 05:55:41 2012 From: th.douez at gmail.com (Thierry Douez) Date: Thu, 25 Oct 2012 11:55:41 +0200 Subject: Script problem In-Reply-To: <5089006C.4050106@cogapp.com> References: <0055B6A1-CE7D-410D-8FD5-05CA7FCB2366@me.com> <5089006C.4050106@cogapp.com> Message-ID: 2012/10/25 Ben Rubinstein : > On 25/10/2012 04:08, Charles Szasz wrote: >> >> I also again went through each of the more than 800 checkboxes in my >> project and did not find any missing strings. So, I don't know what is >> accounting for the five blank lines in my field "recommendations". >> ... >> If you have more ideas or suggestions, please share them with me. Hi, my script was a start to search the culprits... What could happen is to have invisible chars, tab, cr or white spaces. So, I would check for all these chars... HTH Thierry > > Perhaps some of the strings contain leading or trailing returns - so you're > not collecting empty values, but when you put them all in a list you end up > with some blank lines. > > So yet another variation might collect this information > >> repeat with y = 1 to the number of cards of stack "MyStack" >> if the mark of card y of stack "MyStack"= true then >> put the number of buttons of card y of stack "MyStack"into nbr >> repeat with n = 1 to nbr >> if the style of button n of card y of stack "MyStack" is "checkbox"\ >> and the hilite of button n of card y of stack "MyStack" then >> > put the uMyLabel of button n of card y of stack "MyStack" into > tName > if tName contains cr then > put y && n & cr after theList > end if > -- temporarily suppress normal data collection > -- put the uMyLabel of button n of card y of stack "MyStack" iinto > tName > -- put tName & cr after theList >> end if >> end repeat >> end if >> end repeat > > ... or if you just want to suppress it from your output, and don't care > where it is, replace > > put tName & cr after theList > > with > put line 1 of tName & cr after theList > > HTH > > Ben > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From cszasz at mac.com Thu Oct 25 09:55:05 2012 From: cszasz at mac.com (charles61) Date: Thu, 25 Oct 2012 06:55:05 -0700 (PDT) Subject: Script problem In-Reply-To: References: <1351093184234-4656616.post@n4.nabble.com> <0055B6A1-CE7D-410D-8FD5-05CA7FCB2366@me.com> <5089006C.4050106@cogapp.com> Message-ID: Thierry, Thanks for your suggestion! I do have a cr after each string for each uMyLabel so when it is inserted into my scrolling field the checkbox labels are separated by a cr. I would expect this only to affect the subsequent checked checkbox after the initial checked checkbox. This was not a problem in my sample test stack which had about 40-50 checkboxes. I did not encounter any blank lines before any checkbox uMyLabels were inserted in my field, which is intended for printing. As you can see from my script, only checked checkboxes on marked cards are inserted in the scrolling field. If only one checkbox is checked, there are five blank lines before the checkbox label in my actual project. So I am still at a loss on what is going on. I have checked my settings for scrolling field for simple answer but found nothing. You might be wondering why I am using this code. I am trying to set up so that only checked checkboxes are printed in a print out of recommendations list selected by the user. My original version of my project printed all of the checkboxes regardless of whether they were selected by the user. Again, thanks for your ideas and suggestions! Sent from my iPad On Oct 25, 2012, at 5:56 AM, "Thierry Douez [via Runtime Revolution]" wrote: > 2012/10/25 Ben Rubinstein <[hidden email]>: > > On 25/10/2012 04:08, Charles Szasz wrote: > >> > >> I also again went through each of the more than 800 checkboxes in my > >> project and did not find any missing strings. So, I don't know what is > >> accounting for the five blank lines in my field "recommendations". > >> ... > >> If you have more ideas or suggestions, please share them with me. > > Hi, > > my script was a start to search the culprits... > > What could happen is to have invisible chars, tab, cr or white spaces. > So, I would check for all these chars... > > HTH > > Thierry > > > > > Perhaps some of the strings contain leading or trailing returns - so you're > > not collecting empty values, but when you put them all in a list you end up > > with some blank lines. > > > > So yet another variation might collect this information > > > >> repeat with y = 1 to the number of cards of stack "MyStack" > >> if the mark of card y of stack "MyStack"= true then > >> put the number of buttons of card y of stack "MyStack"into nbr > >> repeat with n = 1 to nbr > >> if the style of button n of card y of stack "MyStack" is "checkbox"\ > >> and the hilite of button n of card y of stack "MyStack" then > >> > > put the uMyLabel of button n of card y of stack "MyStack" into > > tName > > if tName contains cr then > > put y && n & cr after theList > > end if > > -- temporarily suppress normal data collection > > -- put the uMyLabel of button n of card y of stack "MyStack" iinto > > tName > > -- put tName & cr after theList > >> end if > >> end repeat > >> end if > >> end repeat > > > > ... or if you just want to suppress it from your output, and don't care > > where it is, replace > > > > put tName & cr after theList > > > > with > > put line 1 of tName & cr after theList > > > > HTH > > > > Ben > > > > _______________________________________________ > > use-livecode mailing list > > [hidden email] > > Please visit this url to subscribe, unsubscribe and manage your subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > [hidden email] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > If you reply to this email, your message will be added to the discussion below: > http://runtime-revolution.278305.n4.nabble.com/Script-problem-tp4656616p4656635.html > To unsubscribe from Script problem, click here. > NAML -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Script-problem-tp4656616p4656636.html Sent from the Revolution - User mailing list archive at Nabble.com. From cszasz at me.com Thu Oct 25 10:02:52 2012 From: cszasz at me.com (Charles Szasz) Date: Thu, 25 Oct 2012 10:02:52 -0400 Subject: Script problem Message-ID: Ben, Many thanks for your suggestions! I greatly appreciate your suggestions and Therry's suggestions. As I indicated, five blank lines appear before my checked checkbox even if only one checkbox is checked. There are no cr or tabs before the uMyLabel strings. There is a cr after each uMyLabel. But that should only affect the next insertion of a checked checkbox and not the initial checked checkbox. Anyway, I will keep working on this problem. Many thanks for taking the time to try to help me! Sent from my iPad From th.douez at gmail.com Thu Oct 25 10:06:07 2012 From: th.douez at gmail.com (Thierry Douez) Date: Thu, 25 Oct 2012 16:06:07 +0200 Subject: Script problem In-Reply-To: References: <1351093184234-4656616.post@n4.nabble.com> <0055B6A1-CE7D-410D-8FD5-05CA7FCB2366@me.com> <5089006C.4050106@cogapp.com> Message-ID: 2012/10/25 charles61 : > Thierry, > > Thanks for your suggestion! I do have a cr after each string for each uMyLabel so when it is inserted into my scrolling field the checkbox labels are separated by a cr. I would expect this only to affect the subsequent checked checkbox after the initial checked checkbox. This was not a problem in my sample test stack which had about 40-50 checkboxes. I did not encounter any blank lines before any checkbox uMyLabels were inserted in my field, which is intended for printing. > > As you can see from my script, only checked checkboxes on marked cards are inserted in the scrolling field. If only one checkbox is checked, there are five blank lines before the checkbox label in my actual project. So I am still at a loss on what is going on. I have checked my settings for scrolling field for simple answer but found nothing. Well, for me I think your script is allright. I still suspect your datas are not, but this is a guess. If you feel so, send me your stack and I can have a quick look. HTH, Thierry > > You might be wondering why I am using this code. I am trying to set up so that only checked checkboxes are printed in a print out of recommendations list selected by the user. My original version of my project printed all of the checkboxes regardless of whether they were selected by the user. > > Again, thanks for your ideas and suggestions! > > Sent from my iPad > > On Oct 25, 2012, at 5:56 AM, "Thierry Douez [via Runtime Revolution]" wrote: > >> 2012/10/25 Ben Rubinstein <[hidden email]>: >> > On 25/10/2012 04:08, Charles Szasz wrote: >> >> >> >> I also again went through each of the more than 800 checkboxes in my >> >> project and did not find any missing strings. So, I don't know what is >> >> accounting for the five blank lines in my field "recommendations". >> >> ... >> >> If you have more ideas or suggestions, please share them with me. >> >> Hi, >> >> my script was a start to search the culprits... >> >> What could happen is to have invisible chars, tab, cr or white spaces. >> So, I would check for all these chars... >> >> HTH >> >> Thierry >> >> > >> > Perhaps some of the strings contain leading or trailing returns - so you're >> > not collecting empty values, but when you put them all in a list you end up >> > with some blank lines. >> > >> > So yet another variation might collect this information >> > >> >> repeat with y = 1 to the number of cards of stack "MyStack" >> >> if the mark of card y of stack "MyStack"= true then >> >> put the number of buttons of card y of stack "MyStack"into nbr >> >> repeat with n = 1 to nbr >> >> if the style of button n of card y of stack "MyStack" is "checkbox"\ >> >> and the hilite of button n of card y of stack "MyStack" then >> >> >> > put the uMyLabel of button n of card y of stack "MyStack" into >> > tName >> > if tName contains cr then >> > put y && n & cr after theList >> > end if >> > -- temporarily suppress normal data collection >> > -- put the uMyLabel of button n of card y of stack "MyStack" iinto >> > tName >> > -- put tName & cr after theList >> >> end if >> >> end repeat >> >> end if >> >> end repeat >> > >> > ... or if you just want to suppress it from your output, and don't care >> > where it is, replace >> > >> > put tName & cr after theList >> > >> > with >> > put line 1 of tName & cr after theList >> > >> > HTH >> > >> > Ben >> > >> > _______________________________________________ >> > use-livecode mailing list >> > [hidden email] >> > Please visit this url to subscribe, unsubscribe and manage your subscription >> > preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> [hidden email] >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> If you reply to this email, your message will be added to the discussion below: >> http://runtime-revolution.278305.n4.nabble.com/Script-problem-tp4656616p4656635.html >> To unsubscribe from Script problem, click here. >> NAML > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Script-problem-tp4656616p4656636.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 gbojsza at gmail.com Thu Oct 25 10:07:24 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 25 Oct 2012 10:07:24 -0400 Subject: Option Button in a Datagrid Message-ID: Hello, I want to add an option button to a column in a datagrid... this is not a problem except when a user tries to use it. The choices are are there and the drop down works but you can read the text in the drop down. If you turn off auto hilite for the datagrid then everything with the option button is fine but then you can't allow the user to visually select a line. Is there another way of having the text in the option button to show as normal and allow for auto hilite of the line in a datagrid? thanks, From klaus at major.on-rev.com Thu Oct 25 12:42:10 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 25 Oct 2012 18:42:10 +0200 Subject: XVideoJoiner API Message-ID: <7630F98C-EF0D-4FE2-AE31-63EA78E072F4@major.on-rev.com> Hi friends, here the promised API for the XVideoJoiner external. I have some days off and will be available again on 11/06/2012, If you have questions. Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com ------------------------------------------------------------------------------------------------------------------------------------------------------ XVideoJoiner API General Movie Info Function: xVideoJoinerGetInfo("path/to/videofile") Returns the video dimensions and length of a videofile in this format: WidthxHeight in pixels,Length in seconds Example: ... try put xVideoJoinerGetInfo(?C:/Videos/myvideo.avi") into tVideoInfo catch errornum answer "Not a compatible video file!" exit to top end try ## Success: -> 320x240,55.0 replace "x" with "," in tVideoInfo put item 1 of tVideoInfo into tVideoWidth put item 2 of tVideoInfo into tVideoHeight put item 3 of tVideoInfo into tVideoDuration ... --------------------------------------------------------------------- Extract frames (snapshots) from a given time in movie to a JPEG file. Works in "batch mode", means you can extract more than 1 frame with this function. Function: xVideoJoinerGetSnapShot(tMoviePath,tWidth,tHeight,"tArrayName",Use_KeyFrame) tMoviePath = absolute path to a valid movie file tWidth = desired width fo resulting JPEG file tHeight = desired height of resulting JPEG file "tArrayName" (QUOTES mandatory!) = a multidimensional array with one or more keys in this format: tArrayName[1][time in movie in seconds*][outpath to jpeg file 1] tArrayName[2][time in movie in seconds*][outpath to jpeg file 2] *Integer or floating allowed. See example below for exact format. Use_KeyFrame = TRUE or FALSE Since I am not a video expert, I will just post the explanation that the programmer gave me. What I DO know: if you pass TRUE then the snapshot will be more accurate in time, but may take longer to process if FALSE, well, the opposite of the avove :-) Here is what the programmer told me: .................................................................................................................. 1. You want the frame corresponding to second 25.0 to be decoded 2. When you open the external for snapshot, the decoder needs to parse the initial header of the file for details and to initialize it 3. Then it has to find the nearest keyframe (I-Frame) behind second 25.0 4. Then it needs to decode all frames from the found keyframe to the time you've requested (25.0) 5. Now imagine that the nearest keyframe behind second 25.0 is located at time 10.0 !? You will need to decode everything from second 10.0 to 25.0!!! 15.0 seconds of movie to get 1 frame! 6. The option 2 I was talking about was referring to decoding only the nearest keyframe behind second 25.0 (in this example, of course). Now imagine if you only decoded the nearest keyframe and you ask for frame at 20.0 seconds: you will have the same keyframe as in second 25.0, since the nearest keyframe behind the requested time is at second 10.0. .................................................................................................................. Example: Extract 5 frames from a movie starting from time 5 (seconds in movie) every 5 seconds -> 5,10,15,20,25 ... put (?C:/Videos/myvideo.avi") into tMoviePath put (?C:/Videos/myvideo_frame_") into tJPEGFile ## Fill array repeat with i = 1 to 5 put i*5 into tCurrentNumber put tJPEGFile & tCurrentNumber & ".jpg" into tArrayName[i]["filename"] put tCurrentNumber into tArrayName[i]["time"] end repeat try get get xVideoJoinerGetSnapShot(tMoviePath,640,360,"tArrayName",false) catch errornum answer errornum exit to top end try ... Known issues: There seem to be some issues with older QuickTime codecs like "S?rensen 3", which may result in poor output image quality, but works fine with more up-to-date codecs! ------------------------------------------------------------ VideoJoiner commands and functions Function: xVideoJoinerGetParams("tArray",tQuality,tSize) Gets output resolution, bitrate and framerate parameters for a given set of input parameters. "tArray" (QUOTES mandatory!) name of the array you are passing, see below. tQuality = the desired quality of the resulting movie, which is not yet rendered to file with this function! Possible values for tQuality: "low", "medium" or "high" -> better = higher bit- and framerate tSize = dimensions of resulting videofile -> "640x360" If you pass "0x0" as the size parameter, the maximum possible extrapolated resolution will be used to generate the output video. Means the external will take the dimenson of the largest video dimension of the passed videofile that will cover all other dimensions. Example: ... put ?C:/Videos/myvideo.avi" into tArray[1]["filename"] put "0" into tArray[1]["starttime"] put "10" into tArray[1]["endtime"] put ?C:/Videos/yourvideo.avi" into tArray[2]["filename"] put "3" into tArray[2]["starttime"] put "13" into tArray[2]["endtime"] ## Let the external compute the best size: put "0x0" into tSize ## Low bit- and framerate put "low" into tQuality put xVideoJoinerGetParams("tArray",tQuality,tSize) into tResult ... Will put soemthing like this into tResult: 1001,1024x768,196608000,320000,25.000 -> JobID, Computed size of video, Bitrate of video in bit/seconds, Bit depth of videosound, Framerate of output videofile Or returns an ERROR if that is the case --------------------------------------------------------------- Function xVideoJoinerStart("tArray",tOutputFile,tQuality,tSize,tMetadata,tMP3,tMixingRatio) Syntax similar to xVideoJoinerGetParams, but this will render the videofile to disc! Hint: Output is always the MP4 format! tArray (QUOTES mandatory!) name of the array you are passing, see below. tOutPutFile = abolute path for the resulting videofile tQuality = the desired quality of the resulting movie, which is not yet rendered to file with this function! Possible values for tQuality: "low", "medium" or "high" -> better = higher bit- and framerate tSize = dimensions of resulting videofile -> "640x360" If you pass "0x0" as the size parameter, the maximum possible extrapolated resolution will be used to generate the output video. Means the external will take the dimenson of the largest video dimension of the passed videofile taht will ocver all other dimensions. tMetaData = you can add text as metadata, that you can query with the xVideoJoinerGetMetadata() function, see below. Maximum 1 KB! tMP3 = absolute path to any MP3 file You can add any MP3 file, to mix this to the sound of the video, or to replace the videosound completely. Leave it empty, if you do not wnat to add an MP3 sound. In taht case you need to pass 0 as tMixingRatio tMixingRatio = 0 to 100, where 0 = NO MP3 sound = videosound only Or any value in between, e.g use 50 to have 50% MP3 sound and 50% videosound Use 100 to only have MP3 sound and no videosound at all. Example: ## Will create a MP4 vieo which consists from the first 10 secxons of first video and 10 seconds (3 to 13) of second video. ... put ?C:/Videos/myvideo.avi" into tArray[1]["filename"] put "0" into tArray[1]["starttime"] put "10" into tArray[1]["endtime"] put ?C:/Videos/yourvideo.avi" into tArray[2]["filename"] put "3" into tArray[2]["starttime"] put "13" into tArray[2]["endtime"] put specialfolderpath("desktop") & "/videojoinerarraytest.mp4" into tOutputFile put "0x0" into tSize put "low" into tQuality put "Hollow world!" into tMetadata put "C:/Sounds/mymp3.mp3" into tMP3 put 50 into tMixingratio put xVideoJoinerStart("tArray",tOutputFile,tQuality,tSize,tMetadata,tMP3,tMixingratio) into tResult put item 1 of tResult into tJobID ... Will put something like this into tResult: 1001,1024x768,196608000,320000,25.000 JobID, Computed size of video, Bitrate of video in bit/seconds, Bit depth of videosound, Framerate of output videofile Or returns an ERROR if that is the case Here the JobID (first item of tResult) is important to query an display the progress of the rendering! HInt: the external is multithreaded, so the video will be rendered in the background and you can start more than 1 renderjob, if you like and you have a fast machine! ----------------------------------------------------------------------------------- Function: xVideoJoinerQuery(tJobID) Use this to query and display the progress tJobID = the first item of the result of the xVideoJoinerStart function = a floating value between 0 and 1, where 1 means job is finished! Example: command QueryProgress tJobID put xVideoJoinerQuery(tJobID) into tProgress if tProgress < 1 then set the thumbpos of sb "renderprogress" to (tProgress * 100) send "QueryProgress tJobID" to me in 1 secs put the result into tExportResult else ## Rendering complete get xVideoJoinerStop(tJobID) cancel tExportResult end if end QueryProgress ------------------------------------------------------------------------------------ Function: xVideoJoinerStop(tJobID) Use this function to cancel any not yet finished renderjob, or to stop a finished job (necessary to avoid memory leaks!) tJobID = the first item of the result of the xVideoJoinerStart function = a floating value between 0 and 1, where 1 means job is finished! Example: ... get xVideoJoinerStop(tJobID) ## Will return something like "1001 stopped" or an ERROR if that is the case ... -------------------------------------------------------------------------------------- Function xVideoJoinerGetMetadata(tVideo) Use this to query the meatadata you have set with the xVideoJoinerStart() function. tVideo = abolute path to the video file you want to get the metadata from. Example: ... put xVideoJoinerGetMetadata("C:/Videos/myvideo.avi") into tMetaData ##it also returns an error if that?s the case ... ------------------------------------------------------------------------------------ From palcibiades-first at yahoo.co.uk Thu Oct 25 13:16:24 2012 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Thu, 25 Oct 2012 10:16:24 -0700 (PDT) Subject: [OT] Apple shrinks In-Reply-To: References: <508792F2.1050803@gmail.com> <5087D94F.8070505@gmail.com> <5087DD81.80700@gmail.com> <508818A3.7090904@gmail.com> Message-ID: <1351185384349-4656642.post@n4.nabble.com> http://lxer.com/module/newswire/ext_link.php?rid=175410 -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Apple-shrinks-tp4656597p4656642.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Thu Oct 25 13:43:10 2012 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 25 Oct 2012 20:43:10 +0300 Subject: [OT] Apple shrinks In-Reply-To: <1351185384349-4656642.post@n4.nabble.com> References: <508792F2.1050803@gmail.com> <5087D94F.8070505@gmail.com> <5087DD81.80700@gmail.com> <508818A3.7090904@gmail.com> <1351185384349-4656642.post@n4.nabble.com> Message-ID: <50897A2E.4090607@gmail.com> On 10/25/2012 08:16 PM, Peter Alcibiades wrote: > http://lxer.com/module/newswire/ext_link.php?rid=175410 > > > I don't know who wrote that article, but their grammar is crap: "Innovation does not occurs alone. There is no "epiphany" and no "Eureka" moment. There is no lone inventor that revolutionize an industry. All this is a myth as was Steve Jobs and Apple mystical innovation aura." 2 basic, basic errors with the Present Simple Tense followed by a missing definite article. This, whatever the content of the article, serves as quite an initial turn off. "Our brain is cabled to like simplistic and logical stories that explains otherwise very complex systems :" Stories that explains . . . A load of such grammatical cack I'm not going to read any further, sorry chaps. Richmond. From scott at tactilemedia.com Thu Oct 25 13:50:45 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 25 Oct 2012 10:50:45 -0700 Subject: [OT] Apple shrinks Message-ID: Teaching in?Bulgaria (?) as you do, one would think you might recognize English as a non-native language. Regards, Scott Rossi Creative Director Tactile Media, UX Design -------- Original message -------- Subject: Re: [OT] Apple shrinks From: Richmond To: How to use LiveCode CC: On 10/25/2012 08:16 PM, Peter Alcibiades wrote: > http://lxer.com/module/newswire/ext_link.php?rid=175410 > > > I don't know who wrote that article, but their grammar is crap: "Innovation does not occurs alone.? There is no "epiphany" and no "Eureka" moment. There is no lone inventor that revolutionize an industry. All this is a myth as was Steve Jobs and Apple mystical innovation aura." 2 basic, basic errors with the Present Simple Tense followed by a missing definite article. This, whatever the content of the article, serves as quite an initial turn off. "Our brain is cabled to like simplistic and logical stories that explains otherwise very complex systems :" Stories that explains . . . A load of such grammatical cack I'm not going to read any further, sorry chaps. 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 palcibiades-first at yahoo.co.uk Thu Oct 25 14:01:18 2012 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Thu, 25 Oct 2012 11:01:18 -0700 (PDT) Subject: [OT] Apple shrinks In-Reply-To: <50897A2E.4090607@gmail.com> References: <508792F2.1050803@gmail.com> <5087D94F.8070505@gmail.com> <5087DD81.80700@gmail.com> <508818A3.7090904@gmail.com> <1351185384349-4656642.post@n4.nabble.com> <50897A2E.4090607@gmail.com> Message-ID: <1351188078197-4656645.post@n4.nabble.com> Richmond, be charitable! The guy's first language is French. The last time I tried to write a serious document in a foreign language - and it was one in which I can read its classical literature with pleasure - my colleagues laughed sympathetically and said it reminded them of the colonial patois variants of their language. The article is worth reading if you are making any development investment in IOS and Android and have limited resources, so to some extent you are facing a choice of where to focus. So it has relevance to people here. I think its quite penetrating. If he is right, he is calling a turning point in the market. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Apple-shrinks-tp4656597p4656645.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Thu Oct 25 14:31:52 2012 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 25 Oct 2012 21:31:52 +0300 Subject: [OT] Apple shrinks In-Reply-To: References: Message-ID: <50898598.4060603@gmail.com> On 10/25/2012 08:50 PM, Scott Rossi wrote: > Teaching in Bulgaria (?) as you do, one would think you might recognize English as a non-native language. Funny you should write that. Yes, of course I do. However, I also know that there are very many non-native speakers of English who can write really very good English indeed. I also know, as a speaker of extremely bad Bulgarian, that to attempt to write anything serious in a foreign language one, first of all, achieve a high level of competence in that language. I would never try to write anything of any real seriousness in any languages other than my native language. Even trying to tell parents that little 'Twinkletoes' has been skiving off on the homework brings tears to their eyes; and whether that is shame at their kid's laziness (unlikely) or suppressed laughter at my crappy Bulgarian (likely) it is hard to tell. That article attempts to say serious things with an incredibly low level of competence in English that quite a lot of the sense of the article is obscured. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > From richmondmathewson at gmail.com Thu Oct 25 14:34:32 2012 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 25 Oct 2012 21:34:32 +0300 Subject: [OT] Apple shrinks In-Reply-To: <1351188078197-4656645.post@n4.nabble.com> References: <508792F2.1050803@gmail.com> <5087D94F.8070505@gmail.com> <5087DD81.80700@gmail.com> <508818A3.7090904@gmail.com> <1351185384349-4656642.post@n4.nabble.com> <50897A2E.4090607@gmail.com> <1351188078197-4656645.post@n4.nabble.com> Message-ID: <50898638.8060300@gmail.com> On 10/25/2012 09:01 PM, Peter Alcibiades wrote: > Richmond, be charitable! The guy's first language is French. The last time > I tried to write a serious document in a foreign language - and it was one > in which I can read its classical literature with pleasure - my colleagues > laughed sympathetically and said it reminded them of the colonial patois > variants of their language. You are an extremely well educated chap if you can read anybody else's classical literature: I have been trying to get through Mably's "Histoire" of various 17th and 18th century republics, on-and-off for the last 10 years. Please read my posting just prior to reading this one. > > The article is worth reading if you are making any development investment in > IOS and Android and have limited resources, so to some extent you are facing > a choice of where to focus. So it has relevance to people here. I think > its quite penetrating. If he is right, he is calling a turning point in the > market. > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Apple-shrinks-tp4656597p4656645.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 dochawk at gmail.com Thu Oct 25 14:36:30 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 25 Oct 2012 11:36:30 -0700 Subject: Long pauses, again In-Reply-To: <5086B270.2070404@fourthworld.com> References: <5086B270.2070404@fourthworld.com> Message-ID: On Tue, Oct 23, 2012 at 8:06 AM, Richard Gaskin wrote: >> On the closestack, it's watching the clock on the screen when I start and >> when the stack window finally goes away. > > > That'll tell you how long it takes, but not what's eating up the time. I've got the cRevGeneral masked out, and can now see that it goes first to closeStack request (and is there instantly. I step through, and there are no more messages, and it sits on the end closeStackRequest for the better part of a minutes, then to the empty closeCard handler (where the orange pointer hangs around positioned halfway between the end and the next line, and then to closeStack (which executes quickly). So my delay is between end CloseStackRequst and on Closecard, with a smaller one after end Closecard. I'm *hoping* not to get involved in a heavy hunt, here--there is nothing that is *supposed* to be happening; I'm just closing a stack without *any* processing (This is a "get out my sight, you're done", not a "hey, finish up!") Hmm, and putting lock messages close stack "output" unlock messages into the closeStackRequest handler makes it lightning fast. -- Richard E. Hawkins, Esq. (702) 508-8462 From palcibiades-first at yahoo.co.uk Thu Oct 25 15:35:44 2012 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Thu, 25 Oct 2012 12:35:44 -0700 (PDT) Subject: [OT] Apple shrinks In-Reply-To: <50898638.8060300@gmail.com> References: <5087D94F.8070505@gmail.com> <5087DD81.80700@gmail.com> <508818A3.7090904@gmail.com> <1351185384349-4656642.post@n4.nabble.com> <50897A2E.4090607@gmail.com> <1351188078197-4656645.post@n4.nabble.com> <50898638.8060300@gmail.com> Message-ID: <1351193744390-4656649.post@n4.nabble.com> Tom Holwerda writes beautifully in English, amazing for a non-native speaker, and this is a very insightful piece about metro, which some will also be writing for. http://www.osnews.com/story/26434/_Paul_s_take_on_Windows_8_ -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Apple-shrinks-tp4656597p4656649.html Sent from the Revolution - User mailing list archive at Nabble.com. From kee at kagi.com Thu Oct 25 17:05:54 2012 From: kee at kagi.com (kee nethery) Date: Thu, 25 Oct 2012 14:05:54 -0700 Subject: revGoURL "mailto" bug ? In-Reply-To: References: Message-ID: <3D545D8C-82BE-474D-809D-784A59DFA463@kagi.com> Wouldn't you URLencode this stuff since mailto: is a URI prefix? Kee Nethery On Oct 24, 2012, at 10:41 PM, Bob Earp wrote: > I'm using revGoURL to send eMails to Apple Mail as follows; > > put "mailto:?"& lSubjectTxt & "&" & lAddresses & "&" & lBodyTxt into lMailMsg > revGoURL lMailMsg > > It all works OK except that if I use an ampersand "&" or a percentage sign "%" in lBodyTxt then revGoURL will not send lMailMsg to the mail client (Apple Mail). If I stick to plain text everything works fine. There may be other symbols that create the problem, but these are the two I have found to date. > > Anybody got any ideas ? > > Thanks, Bob... > > > Bob Earp > White Rock, British Columbia. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Thu Oct 25 17:14:26 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 25 Oct 2012 14:14:26 -0700 Subject: revGoURL "mailto" bug ? In-Reply-To: <3D545D8C-82BE-474D-809D-784A59DFA463@kagi.com> References: <3D545D8C-82BE-474D-809D-784A59DFA463@kagi.com> Message-ID: doesn't do the same thing. On Thu, Oct 25, 2012 at 2:05 PM, kee nethery wrote: > Wouldn't you URLencode this stuff since mailto: is a URI prefix? > Kee Nethery > > > On Oct 24, 2012, at 10:41 PM, Bob Earp wrote: > > > I'm using revGoURL to send eMails to Apple Mail as follows; > > > > put "mailto:?"& lSubjectTxt & "&" & lAddresses & "&" & lBodyTxt into > lMailMsg > > revGoURL lMailMsg > > > > It all works OK except that if I use an ampersand "&" or a percentage > sign "%" in lBodyTxt then revGoURL will not send lMailMsg to the mail > client (Apple Mail). If I stick to plain text everything works fine. There > may be other symbols that create the problem, but these are the two I have > found to date. > > > > Anybody got any ideas ? > > > > Thanks, Bob... > > > > > > Bob Earp > > White Rock, British Columbia. > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 larsbrehmer at me.com Thu Oct 25 17:54:03 2012 From: larsbrehmer at me.com (Lars Brehmer) Date: Fri, 26 Oct 2012 00:54:03 +0300 Subject: iPad retina weirdness??? Message-ID: So, after Colin and others solved my iOS simulator problem a few weeks ago, I have now tried to sideload the app into my iPad and take a look. The stacks are, at least I believe, the correct size for the retina display, accounting for the status bar, and are 1536 X 2008. All of the graphics were made accordingly. So I compiled the iOS standalone, put it into iTunes and synced with the iPad. The icon showed and was perfect, the app launched but only the upper left portion was visible! The good news is that the buttons in that portion of the interface seemed to work ok, but again, just a quarter of the interface is visible. In the standalone settings for iOS I saw nothing referring to the display resolution, so I can't fix it. Could it be that liveCode 5.5.2 doesn't support retina display? I upgraded from rev 2.8 to live code to livecode 5.5.2 in one leap just a few weeks ago, so I am not all that familiar with it, as much as I love using it! Or am I missing something simple again?? Cheers, Lars From pete at lcsql.com Thu Oct 25 18:03:34 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 25 Oct 2012 15:03:34 -0700 Subject: [OT] New ChromeBook Message-ID: Anyone tried the new $249 Chromebook? Pete lcSQL Software From henshaw at me.com Thu Oct 25 19:05:41 2012 From: henshaw at me.com (Andrew Henshaw) Date: Fri, 26 Oct 2012 00:05:41 +0100 Subject: iPad retina weirdness??? In-Reply-To: References: Message-ID: <75531DD8-F332-499D-87E8-509FF264C651@me.com> Ive seen similar behavior when using an unlock screen command when the screen is not actually locked. If you are using unlock screen command, try adding a check to see if the screen is actually locked. if the screen is locked then -- your unlock screen command end if Hopefully this is the problem you have! Andy On 25 Oct 2012, at 22:54, Lars Brehmer wrote: > So, after Colin and others solved my iOS simulator problem a few weeks ago, I have now tried to sideload the app into my iPad and take a look. > > The stacks are, at least I believe, the correct size for the retina display, accounting for the status bar, and are 1536 X 2008. All of the graphics were made accordingly. > > So I compiled the iOS standalone, put it into iTunes and synced with the iPad. > > The icon showed and was perfect, the app launched but only the upper left portion was visible! The good news is that the buttons in that portion of the interface seemed to work ok, but again, just a quarter of the interface is visible. > > In the standalone settings for iOS I saw nothing referring to the display resolution, so I can't fix it. > > Could it be that liveCode 5.5.2 doesn't support retina display? I upgraded from rev 2.8 to live code to livecode 5.5.2 in one leap just a few weeks ago, so I am not all that familiar with it, as much as I love using it! > > Or am I missing something simple again?? > > > Cheers, > > > Lars > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Thu Oct 25 19:48:32 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 26 Oct 2012 01:48:32 +0200 Subject: Option Button in a Datagrid In-Reply-To: References: Message-ID: <5443F242-570B-4537-95A1-C261E2CA1F3D@economy-x-talk.com> Hi Glen, You can add a locked field to a datagrid and show a popup button when the user clicks on that field. I presume the popup button needs to contain a script that puts the chosen value into the field. Because the popup button doesn't need to be part of the datagrid, I expect no problems with hilites etc. -- 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 On 25 okt 2012, at 16:07, Glen Bojsza wrote: > Hello, > > I want to add an option button to a column in a datagrid... this is not a > problem except when a user tries to use it. > > The choices are are there and the drop down works but you can read the text > in the drop down. > > If you turn off auto hilite for the datagrid then everything with the > option button is fine but then you can't allow the user to visually select > a line. > > Is there another way of having the text in the option button to show as > normal and allow for auto hilite of the line in a datagrid? > > thanks, From pete at lcsql.com Thu Oct 25 20:04:46 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 25 Oct 2012 17:04:46 -0700 Subject: Explicit Variables again In-Reply-To: <5081EFAE.2060600@hyperactivesw.com> References: <37174351890.20121019084829@ahsoftware.net> <508182CF.2080304@fourthworld.com> <50819558.20409@hyperactivesw.com> <5081EFAE.2060600@hyperactivesw.com> Message-ID: Ho Jacque, Just been playing around with this and there seems to be a problem using command-z to undo - leaves garbage in the script field? Pete lcSQL Software On Fri, Oct 19, 2012 at 5:26 PM, J. Landman Gay wrote: > On 10/19/12 5:41 PM, Peter M. Brigham wrote: > >> For those who >> are interested here is my version (slightly altered from yours, >> Jacque). They are all control-shift keypresses that work only in the >> IDE script editor. >> > > Actually, heavily modified. :) Here's mine for comparison. It uses the > command key instead of control key, doesn't include any commenting > functions, and still doesn't have your (useful) "type space" addition which > I've been meaning to add now for a few years. > > on commandKeyDown whichKey > if ("editor field" is not in the name of the target and "script" is not > in the name of the target) \ > or the shiftkey is not down > then pass commandKeyDown > switch whichKey > case quote > case "'" > put quote & the selection & quote into the selection > break > case "v" -- paste only plain text > put the clipboardData["text"] into the selection > > break > case "=" > case "+" > put " -" & "-" & "#"&"#"&"#" into the selection > > break > case "9" > case "0" > case "(" > case ")" > put "(" & the selection & ")" into the selection > break > case "[" > case "]" > case "{" > case "}" > > get the selection > put "[" & it & "]" into the selection > if it = "" then > put the selectedchunk into tSel > > put word 4 of tSel into word 2 of tSel > put (word 4 of tSel) - 1 into word 4 of tSel > select tSel > end if > break > case " " -- scriptPaint > put the mousetext into the selection > break > default > pass commandKeyDown > end switch > end commandKeyDown > > > -- > 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 gbojsza at gmail.com Thu Oct 25 20:42:35 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 25 Oct 2012 20:42:35 -0400 Subject: Option Button in a Datagrid In-Reply-To: <5443F242-570B-4537-95A1-C261E2CA1F3D@economy-x-talk.com> References: <5443F242-570B-4537-95A1-C261E2CA1F3D@economy-x-talk.com> Message-ID: Hi Mark, As I mentioned, adding the option button and it working is fine. It's the hilite that causes the problem on not being able to read the text in the option button. Someone must have found this before? As a work around I could disable the auto hilite for the datagrid and add a selection column but this should not be the way to do things. Glen On Thu, Oct 25, 2012 at 7:48 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Glen, > > You can add a locked field to a datagrid and show a popup button when the > user clicks on that field. I presume the popup button needs to contain a > script that puts the chosen value into the field. Because the popup button > doesn't need to be part of the datagrid, I expect no problems with hilites > etc. > > -- > 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 > > > > On 25 okt 2012, at 16:07, Glen Bojsza wrote: > > > Hello, > > > > I want to add an option button to a column in a datagrid... this is not a > > problem except when a user tries to use it. > > > > The choices are are there and the drop down works but you can read the > text > > in the drop down. > > > > If you turn off auto hilite for the datagrid then everything with the > > option button is fine but then you can't allow the user to visually > select > > a line. > > > > Is there another way of having the text in the option button to show as > > normal and allow for auto hilite of the line in a datagrid? > > > > thanks, > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Thu Oct 25 21:12:01 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 25 Oct 2012 18:12:01 -0700 Subject: Option Button in a Datagrid In-Reply-To: References: <5443F242-570B-4537-95A1-C261E2CA1F3D@economy-x-talk.com> Message-ID: Hi Glen, Are you on Windows? IF so, I ran into this a few months back. I filed bug report# 9993 about it and got the following reply from the QCC: "Having had a look at your project, I think I've spotted the issue. It appears to be that the dataGrid property dgProp["hilited text color"] is setting the foreground color of your dropDown menu to white, causing unhighlighted options to blend into the background. Either set the property to a different color or edit the "setprop dgHilite" handler in the columns behavior." Here's what I did to fix it. Check the Datagrid manual for how to set up a column behavior script for your option menu columns. When you've done that, find the "setprop dgHilite" handler and change it so only the "set the foregroundcolor of me to empty" line is in there, in other words get rid of the if statement. That fixed it for me, hope it works for you. Pete lcSQL Software On Thu, Oct 25, 2012 at 5:42 PM, Glen Bojsza wrote: > Hi Mark, > > As I mentioned, adding the option button and it working is fine. It's the > hilite that causes the problem on not being able to read the text in the > option button. > > Someone must have found this before? > > As a work around I could disable the auto hilite for the datagrid and add a > selection column but this should not be the way to do things. > > Glen > > On Thu, Oct 25, 2012 at 7:48 PM, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > > > Hi Glen, > > > > You can add a locked field to a datagrid and show a popup button when the > > user clicks on that field. I presume the popup button needs to contain a > > script that puts the chosen value into the field. Because the popup > button > > doesn't need to be part of the datagrid, I expect no problems with > hilites > > etc. > > > > -- > > 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 > > > > > > > > On 25 okt 2012, at 16:07, Glen Bojsza wrote: > > > > > Hello, > > > > > > I want to add an option button to a column in a datagrid... this is > not a > > > problem except when a user tries to use it. > > > > > > The choices are are there and the drop down works but you can read the > > text > > > in the drop down. > > > > > > If you turn off auto hilite for the datagrid then everything with the > > > option button is fine but then you can't allow the user to visually > > select > > > a line. > > > > > > Is there another way of having the text in the option button to show as > > > normal and allow for auto hilite of the line in a datagrid? > > > > > > thanks, > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gbojsza at gmail.com Thu Oct 25 22:06:21 2012 From: gbojsza at gmail.com (Glen Bojsza) Date: Thu, 25 Oct 2012 22:06:21 -0400 Subject: Option Button in a Datagrid In-Reply-To: References: <5443F242-570B-4537-95A1-C261E2CA1F3D@economy-x-talk.com> Message-ID: Hi Pete, Yes this does work... all the text is readable! The only side effect is that after making a selection from an option box is that the hilite of the box remains ie the option box has a white background --> user makes selection --> the background color of the box remains hilited (in my case a dark blue) where as it should return to white. After playing with three rows with option buttons I find that sometimes a button will go back to a white background but it is not consistently reproducible. Have you seen this before? It happens in either case if the line is the current line or when the line is not the current line. At least for now it is functional next is to get a consistent look. thanks, Glen On Thu, Oct 25, 2012 at 9:12 PM, Peter Haworth wrote: > Hi Glen, > Are you on Windows? IF so, I ran into this a few months back. I filed bug > report# 9993 about it and got the following reply from the QCC: > > "Having had a look at your project, I think I've spotted the issue. It > appears to be that the dataGrid property dgProp["hilited text color"] is > setting the foreground color of your dropDown menu to white, causing > unhighlighted options to blend into the background. > > Either set the property to a different color or edit the "setprop > dgHilite" handler in the columns behavior." > > > Here's what I did to fix it. Check the Datagrid manual for how to set > up a column behavior script for your option menu columns. When you've > done that, find the "setprop dgHilite" handler and change it so only > the "set the foregroundcolor of me to empty" line is in there, in > other words get rid of the if statement. > > That fixed it for me, hope it works for you. > > Pete > lcSQL Software > > > > On Thu, Oct 25, 2012 at 5:42 PM, Glen Bojsza wrote: > > > Hi Mark, > > > > As I mentioned, adding the option button and it working is fine. It's the > > hilite that causes the problem on not being able to read the text in the > > option button. > > > > Someone must have found this before? > > > > As a work around I could disable the auto hilite for the datagrid and > add a > > selection column but this should not be the way to do things. > > > > Glen > > > > On Thu, Oct 25, 2012 at 7:48 PM, Mark Schonewille < > > m.schonewille at economy-x-talk.com> wrote: > > > > > Hi Glen, > > > > > > You can add a locked field to a datagrid and show a popup button when > the > > > user clicks on that field. I presume the popup button needs to contain > a > > > script that puts the chosen value into the field. Because the popup > > button > > > doesn't need to be part of the datagrid, I expect no problems with > > hilites > > > etc. > > > > > > -- > > > 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 > > > > > > > > > > > > On 25 okt 2012, at 16:07, Glen Bojsza wrote: > > > > > > > Hello, > > > > > > > > I want to add an option button to a column in a datagrid... this is > > not a > > > > problem except when a user tries to use it. > > > > > > > > The choices are are there and the drop down works but you can read > the > > > text > > > > in the drop down. > > > > > > > > If you turn off auto hilite for the datagrid then everything with the > > > > option button is fine but then you can't allow the user to visually > > > select > > > > a line. > > > > > > > > Is there another way of having the text in the option button to show > as > > > > normal and allow for auto hilite of the line in a datagrid? > > > > > > > > thanks, > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Fri Oct 26 00:01:25 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 25 Oct 2012 23:01:25 -0500 Subject: Explicit Variables again In-Reply-To: References: <37174351890.20121019084829@ahsoftware.net> <508182CF.2080304@fourthworld.com> <50819558.20409@hyperactivesw.com> <5081EFAE.2060600@hyperactivesw.com> Message-ID: <508A0B15.5070008@hyperactivesw.com> On 10/25/12 7:04 PM, Peter Haworth wrote: > Ho Jacque, > Just been playing around with this and there seems to be a problem using > command-z to undo - leaves garbage in the script field? Yes, it can do that. The insertions the script makes aren't known to the editor. Undo is tracked by character position and those have changed behind its back. I've become so used to it that I automatically save the script after I use any of the frontscript features. Since the script was always just for my personal use, I never bothered to harden it. Last week I added a variation on Peter Brigham's "type space" fix, which I've been meaning to do for ages. I haven't tested it much but so far it's working. Forcing the editor to recognize the script changes may also fix the undo problem (but I haven't really paid attention to that yet.) Anyway, here's what I'm using now: on commandKeyDown whichKey if ("editor field" is not in the name of the target and "script" is not in the name of the target) \ or the shiftkey is not down then pass commandKeyDown switch whichKey case quote case "'" put quote & the selection & quote into the selection break case "v" -- paste only plain text put the clipboardData["text"] into the selection break case "9" case "0" case "(" case ")" put "(" & the selection & ")" into the selection break case "[" case "]" case "{" case "}" get the selection put "[" & it & "]" into the selection if it = "" then put the selectedchunk into tSel put word 4 of tSel into word 2 of tSel put (word 4 of tSel) - 1 into word 4 of tSel select tSel end if break case " " -- scriptPaint put the mousetext into the selection break default pass commandKeyDown end switch setEditorDirty end commandKeyDown private command setEditorDirty type space delete char (word 4 of the selectedchunk) of the target end setEditorDirty -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From guglielmo at braguglia.ch Fri Oct 26 01:32:13 2012 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Fri, 26 Oct 2012 07:32:13 +0200 Subject: iPad retina weirdness??? In-Reply-To: References: Message-ID: <508A205D.9090601@braguglia.ch> Hi Lars, have you called the "iphoneUseDeviceResolution true, true" function (/... see the dictionary/) ? Guglielmo On 25.10.2012 23:54, Lars Brehmer wrote: > So, after Colin and others solved my iOS simulator problem a few weeks ago, I have now tried to sideload the app into my iPad and take a look. > > The stacks are, at least I believe, the correct size for the retina display, accounting for the status bar, and are 1536 X 2008. All of the graphics were made accordingly. > > So I compiled the iOS standalone, put it into iTunes and synced with the iPad. > > The icon showed and was perfect, the app launched but only the upper left portion was visible! The good news is that the buttons in that portion of the interface seemed to work ok, but again, just a quarter of the interface is visible. > > In the standalone settings for iOS I saw nothing referring to the display resolution, so I can't fix it. > > Could it be that liveCode 5.5.2 doesn't support retina display? I upgraded from rev 2.8 to live code to livecode 5.5.2 in one leap just a few weeks ago, so I am not all that familiar with it, as much as I love using it! > > Or am I missing something simple again?? > > > Cheers, > > > Lars > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From toolbook at kestner.de Fri Oct 26 04:03:56 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 26 Oct 2012 10:03:56 +0200 Subject: program crash on export snapshot Message-ID: <001501cdb350$732ff210$598fd630$@de> Hi all, I have a customer with a MacBook Pro, OSX 10.6.8, where my program crashes when creating a snapshot from a video. The same program runs fine at all other customers, so I think it has to be something on this specific Mac. I couldn't debug it at the customer, but I assume the relevant two statements (everything else is "standard internal LC handling"), which could cause the crash are: set the alwaysBuffer of player "myPlayer" to true export snapshot from rect tRect to tScreenshot as PNG Does perhaps anybody has experienced crashes related to these statements? I am not very experienced in debugging Macs, can anybody give me a hint where and what to look for? Thank you Tiemo From sc at sahores-conseil.com Fri Oct 26 08:38:38 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Fri, 26 Oct 2012 14:38:38 +0200 Subject: iPad retina weirdness??? In-Reply-To: References: Message-ID: <15853088-6FD1-4E03-8CE2-855E6033E919@sahores-conseil.com> And else, did you take care to rezise all the possible groups containing controls in your app ? Le 25 oct. 2012 ? 23:54, Lars Brehmer a ?crit : > So, after Colin and others solved my iOS simulator problem a few weeks ago, I have now tried to sideload the app into my iPad and take a look. > > The stacks are, at least I believe, the correct size for the retina display, accounting for the status bar, and are 1536 X 2008. All of the graphics were made accordingly. > > So I compiled the iOS standalone, put it into iTunes and synced with the iPad. > > The icon showed and was perfect, the app launched but only the upper left portion was visible! The good news is that the buttons in that portion of the interface seemed to work ok, but again, just a quarter of the interface is visible. > > In the standalone settings for iOS I saw nothing referring to the display resolution, so I can't fix it. > > Could it be that liveCode 5.5.2 doesn't support retina display? I upgraded from rev 2.8 to live code to livecode 5.5.2 in one leap just a few weeks ago, so I am not all that familiar with it, as much as I love using it! > > Or am I missing something simple again?? > > > Cheers, > > > Lars > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From toolbook at kestner.de Fri Oct 26 08:48:30 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 26 Oct 2012 14:48:30 +0200 Subject: AW: program crash on export snapshot In-Reply-To: <001501cdb350$732ff210$598fd630$@de> References: <001501cdb350$732ff210$598fd630$@de> Message-ID: <004101cdb378$342d64d0$9c882e70$@de> Hi, I have got the crash logs from the console of my customer, but I am not able to find any useful hints in there. I am not very deep into Macs... Can anybody perhaps have a look into it and tell me, if you find any hint, what could cause the crash and what I could look for on the customers computer? Here is the link to the crashlog: https://dl.dropbox.com/u/107006833/Mac-Crash-Log_121026.pdf Thanks in advance Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag von Tiemo Hollmann TB > Gesendet: Freitag, 26. Oktober 2012 10:04 > An: 'How to use LiveCode' > Betreff: program crash on export snapshot > > Hi all, > > I have a customer with a MacBook Pro, OSX 10.6.8, where my program crashes > when creating a snapshot from a video. The same program runs fine at all > other customers, so I think it has to be something on this specific Mac. I > couldn't debug it at the customer, but I assume the relevant two > statements (everything else is "standard internal LC handling"), which > could cause the crash are: > > set the alwaysBuffer of player "myPlayer" to true > > export snapshot from rect tRect to tScreenshot as PNG > > Does perhaps anybody has experienced crashes related to these statements? > I am not very experienced in debugging Macs, can anybody give me a hint > where and what to look for? > > Thank you > > 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 larsbrehmer at me.com Fri Oct 26 09:21:37 2012 From: larsbrehmer at me.com (Lars Brehmer) Date: Fri, 26 Oct 2012 16:21:37 +0300 Subject: OK, two basic iOS questions (formerly iPad retina weirdness) Message-ID: <3BB52D75-EE2A-40F2-A94B-32A8775DFB1E@me.com> Sorry if anybody reacted to this! I finally found the "iphoneUseDeviceResolution true" function, and now it looks just like I meant it to look! But the fact that I asked really underscores how behind I am on the learning curve of using liveCode for iDevices! So my app looks very nice indeed, but two very basic problems with the functionality popped up. First: I assumed that scrolling text fields were somehow handled automatically in iOS, that is a flick of the finger scrolls the field. I guess you all know that this is not the case! I have a scrolling list field which when the desired line is reached, mouseUp on it performs the desired operation. I found the iosScroller keyword and the BeginDecelerate and EndDecelerate, but unfortunately I couldn't figure out how to implement them! A little help here? The second one also involves a bad guess about what iOS automaticaly does. This one involves the keyboard. In iOS when you tap a field it appears. But in every app I have ever seen if the active field is at the bottom of the app, the entire app slides up, so the keyboard does not prevent you from seeing what you are typing. But it's not automatic. Does anyone know how to do this? I am astonished at how fantastic liveCode works with iOS and was amazed to see that almost everything works smoothly on the first try, even for someone with my limited skills! But htese two very basic things are crucial, so I am looking for tips! Cheers, Lars From guglielmo at braguglia.ch Fri Oct 26 09:59:45 2012 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Fri, 26 Oct 2012 15:59:45 +0200 Subject: OK, two basic iOS questions (formerly iPad retina weirdness) In-Reply-To: <3BB52D75-EE2A-40F2-A94B-32A8775DFB1E@me.com> References: <3BB52D75-EE2A-40F2-A94B-32A8775DFB1E@me.com> Message-ID: <508A9751.6010808@braguglia.ch> Hi Lars, happy that you found iphoneUseDeviceResolution :-) So, about iOS scrolling, see this discussion on the forum : http://forums.runrev.com/viewtopic.php?f=49&t=13141 ... about the keyboard ... nothing in iOS is automatic... you have to do manually, eg. grouping the controls and moving up/down the group following the keyboard status ... Guglielmo On 26.10.2012 15:21, Lars Brehmer wrote: > Sorry if anybody reacted to this! > > I finally found the "iphoneUseDeviceResolution true" function, and now it looks just like I meant it to look! > > But the fact that I asked really underscores how behind I am on the learning curve of using liveCode for iDevices! > > So my app looks very nice indeed, but two very basic problems with the functionality popped up. > > First: I assumed that scrolling text fields were somehow handled automatically in iOS, that is a flick of the finger scrolls the field. I guess you all know that this is not the case! I have a scrolling list field which when the desired line is reached, mouseUp on it performs the desired operation. I found the iosScroller keyword and the BeginDecelerate and EndDecelerate, but unfortunately I couldn't figure out how to implement them! > > A little help here? > > The second one also involves a bad guess about what iOS automaticaly does. This one involves the keyboard. In iOS when you tap a field it appears. But in every app I have ever seen if the active field is at the bottom of the app, the entire app slides up, so the keyboard does not prevent you from seeing what you are typing. But it's not automatic. Does anyone know how to do this? > > I am astonished at how fantastic liveCode works with iOS and was amazed to see that almost everything works smoothly on the first try, even for someone with my limited skills! But htese two very basic things are crucial, so I am looking for tips! > > Cheers, > > Lars > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From 3mcgrath at comcast.net Fri Oct 26 12:21:54 2012 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Fri, 26 Oct 2012 12:21:54 -0400 Subject: Retina scale factor versus display metrics Message-ID: <2669AA56-9314-4186-9F5F-930C0A174784@comcast.net> I don't have any Android devices to test with and I am wondering how to deal with Retina scale factor versus display metrics for Android development. I thought that display metrics where just the categories that different physically sized Android devices fit into and not the actual doubling of pixels like with retina displays. I thought I heard of other phones that have retina like displays at different scales (1.5) I believe but this display metric seems different than that. Also, what does the Display Metrics return? The docs mention absolutely nothing. I looked Display Metrics up on the internet and got all kinds of different approaches and results for this like DisplayMetrics.DENSITY_LOW and ldli and display independent pixels versus actual pixels and in Livecode we have one logical 'point' mapped to two physical 'pixels' which don't reference dpi at all. The best I found is this: DisplayMetrics.density is the "logical density of the display", i.e. a value of 0.75 (ldpi), 1.0 (mdpi), 1.5 (hdpi) or 2.0 (xhdpi). Multiply this value by 160 to get the "screen density expressed as dots-per-inch", i.e. a value of 120 (ldpi), 160 (mdpi), 240 (hdpi) or 320 (xhdpi). But this can't be used as a multiplier of pixels like the retina result, or can it? And if so, are there really that many retina/pixel doubled displays out there? I double the size of my standard livecode controls to get a retina pixel so should I be multiplying the density result to get a true scale for standard livecode controls? Is this the size and width, height of a device or the virtual screen size of a devices retina or not screen? Thanks Tom Thomas J McGrath III 3mcgrath at comcast.net Lazy River Software http://lazyriver.on-rev.com From ambassador at fourthworld.com Fri Oct 26 12:28:57 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 26 Oct 2012 09:28:57 -0700 Subject: Retina scale factor versus display metrics In-Reply-To: <2669AA56-9314-4186-9F5F-930C0A174784@comcast.net> References: <2669AA56-9314-4186-9F5F-930C0A174784@comcast.net> Message-ID: <508ABA49.7090904@fourthworld.com> Thomas McGrath wrote: > DisplayMetrics.density is the "logical density of the display", i.e. a value of 0.75 (ldpi), 1.0 (mdpi), 1.5 (hdpi) or 2.0 (xhdpi). Multiply this value by 160 to get the "screen density expressed as dots-per-inch", i.e. a value of 120 (ldpi), 160 (mdpi), 240 (hdpi) or 320 (xhdpi). > > But this can't be used as a multiplier of pixels like the retina result, or can it? And if so, are there really that many retina/pixel doubled displays out there? > > I double the size of my standard livecode controls to get a retina pixel so should I be multiplying the density result to get a true scale for standard livecode controls? Is this the size and width, height of a device or the virtual screen size of a devices retina or not screen? I believe LC 5.5.3's new mobilePixelDensity function will provide the specificity you're looking for. -- 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 Oct 26 12:30:39 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 26 Oct 2012 09:30:39 -0700 Subject: Option Button in a Datagrid In-Reply-To: References: <5443F242-570B-4537-95A1-C261E2CA1F3D@economy-x-talk.com> Message-ID: Hi Glen, I don't recall seeing that behavior but it's been quite a while since I was working on this issue. In fact, I came across it when working on my SQLiteAdmin program which I believe you have. You might want to check out how it behaves. Go to the Browse screen, select a table, then select New Filter from the filter menu. In the lower of the two datagrids, there is a column named "Operator" with an option menu in it. Play around with that and let me know if it behaves in the same way as your datagrid column. If it doesn't show the problem you're having, I'll take a look at the code and see if I can spot anything. Pete lcSQL Software On Thu, Oct 25, 2012 at 7:06 PM, Glen Bojsza wrote: > Hi Pete, > > Yes this does work... all the text is readable! > > The only side effect is that after making a selection from an option box is > that the hilite of the box remains ie the option box has a white background > --> user makes selection --> the background color of the box remains > hilited (in my case a dark blue) where as it should return to white. > > After playing with three rows with option buttons I find that sometimes a > button will go back to a white background but it is not consistently > reproducible. > > Have you seen this before? It happens in either case if the line is the > current line or when the line is not the current line. > > At least for now it is functional next is to get a consistent look. > > thanks, > > Glen > > On Thu, Oct 25, 2012 at 9:12 PM, Peter Haworth wrote: > > > Hi Glen, > > Are you on Windows? IF so, I ran into this a few months back. I filed > bug > > report# 9993 about it and got the following reply from the QCC: > > > > "Having had a look at your project, I think I've spotted the issue. It > > appears to be that the dataGrid property dgProp["hilited text color"] is > > setting the foreground color of your dropDown menu to white, causing > > unhighlighted options to blend into the background. > > > > Either set the property to a different color or edit the "setprop > > dgHilite" handler in the columns behavior." > > > > > > Here's what I did to fix it. Check the Datagrid manual for how to set > > up a column behavior script for your option menu columns. When you've > > done that, find the "setprop dgHilite" handler and change it so only > > the "set the foregroundcolor of me to empty" line is in there, in > > other words get rid of the if statement. > > > > That fixed it for me, hope it works for you. > > > > Pete > > lcSQL Software > > > > > > > > On Thu, Oct 25, 2012 at 5:42 PM, Glen Bojsza wrote: > > > > > Hi Mark, > > > > > > As I mentioned, adding the option button and it working is fine. It's > the > > > hilite that causes the problem on not being able to read the text in > the > > > option button. > > > > > > Someone must have found this before? > > > > > > As a work around I could disable the auto hilite for the datagrid and > > add a > > > selection column but this should not be the way to do things. > > > > > > Glen > > > > > > On Thu, Oct 25, 2012 at 7:48 PM, Mark Schonewille < > > > m.schonewille at economy-x-talk.com> wrote: > > > > > > > Hi Glen, > > > > > > > > You can add a locked field to a datagrid and show a popup button when > > the > > > > user clicks on that field. I presume the popup button needs to > contain > > a > > > > script that puts the chosen value into the field. Because the popup > > > button > > > > doesn't need to be part of the datagrid, I expect no problems with > > > hilites > > > > etc. > > > > > > > > -- > > > > 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 > > > > > > > > > > > > > > > > On 25 okt 2012, at 16:07, Glen Bojsza wrote: > > > > > > > > > Hello, > > > > > > > > > > I want to add an option button to a column in a datagrid... this is > > > not a > > > > > problem except when a user tries to use it. > > > > > > > > > > The choices are are there and the drop down works but you can read > > the > > > > text > > > > > in the drop down. > > > > > > > > > > If you turn off auto hilite for the datagrid then everything with > the > > > > > option button is fine but then you can't allow the user to visually > > > > select > > > > > a line. > > > > > > > > > > Is there another way of having the text in the option button to > show > > as > > > > > normal and allow for auto hilite of the line in a datagrid? > > > > > > > > > > thanks, > > > > > > > > > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Fri Oct 26 12:45:37 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 26 Oct 2012 09:45:37 -0700 Subject: OK, two basic iOS questions (formerly iPad retina weirdness) In-Reply-To: <3BB52D75-EE2A-40F2-A94B-32A8775DFB1E@me.com> References: <3BB52D75-EE2A-40F2-A94B-32A8775DFB1E@me.com> Message-ID: On Fri, Oct 26, 2012 at 6:21 AM, Lars Brehmer wrote: > I have a scrolling list field which when the desired line is reached, mouseUp on it performs the >desired operation. I found the iosScroller keyword and the BeginDecelerate and EndDecelerate, >but unfortunately I couldn't figure out how to implement them! > A little help here? Try two fingers; lots of iOs scroll that way. -- Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Fri Oct 26 12:49:16 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 26 Oct 2012 09:49:16 -0700 Subject: [OT] Apple shrinks In-Reply-To: <50898638.8060300@gmail.com> References: <508792F2.1050803@gmail.com> <5087D94F.8070505@gmail.com> <5087DD81.80700@gmail.com> <508818A3.7090904@gmail.com> <1351185384349-4656642.post@n4.nabble.com> <50897A2E.4090607@gmail.com> <1351188078197-4656645.post@n4.nabble.com> <50898638.8060300@gmail.com> Message-ID: On Thu, Oct 25, 2012 at 11:34 AM, Richmond wrote: > You are an extremely well educated chap if you can read anybody else's > classical literature: I have > been trying to get through Mably's "Histoire" of various 17th and 18th > century republics, on-and-off > for the last 10 years. I made it a few chapters into Don Quixote . . . but classes got in the way. My on & off again is an unabridged Decline & Fall . . . I even poke at the Latin in the footnotes, and try to pronounce the Greek . . . :) -- Richard E. Hawkins, Esq. (702) 508-8462 From 3mcgrath at comcast.net Fri Oct 26 13:09:58 2012 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Fri, 26 Oct 2012 13:09:58 -0400 Subject: Retina scale factor versus display metrics In-Reply-To: <508ABA49.7090904@fourthworld.com> References: <2669AA56-9314-4186-9F5F-930C0A174784@comcast.net> <508ABA49.7090904@fourthworld.com> Message-ID: <146B7FC6-B8C1-4A81-B84D-419C776EC9E4@comcast.net> Richard, Thanks for the reply. But that does not really answer the question of wether the new mobilePixelDensity is actually based on pixel doubling (halving, tripling, whatever) or just of categorized screen sizes as my searches on the internet seems to be saying. In other words is the new mobilePixelDensity a true actual density of the screen or just a trick to group different sized screens into manageable groups and figure out a 'rough' screen percentage using DPI? Also, on Android does this return Denisty_Low or ldli or does it return 0.75 ? Thanks again, Tom Thomas J McGrath III 3mcgrath at comcast.net Lazy River Software http://lazyriver.on-rev.com On Oct 26, 2012, at 12:28 PM, Richard Gaskin wrote: > > I believe LC 5.5.3's new mobilePixelDensity function will provide the specificity you're looking for. > > -- > 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 Fri Oct 26 13:24:34 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 26 Oct 2012 10:24:34 -0700 Subject: Retina scale factor versus display metrics In-Reply-To: <146B7FC6-B8C1-4A81-B84D-419C776EC9E4@comcast.net> References: <146B7FC6-B8C1-4A81-B84D-419C776EC9E4@comcast.net> Message-ID: <508AC752.7040904@fourthworld.com> Thomas McGrath III wrote: > On Oct 26, 2012, at 12:28 PM, Richard Gaskin wrote: >> >> I believe LC 5.5.3's new mobilePixelDensity function will provide >> the specificity you're looking for. > > Richard, Thanks for the reply. But that does not really answer the > question of wether the new mobilePixelDensity is actually based on > pixel doubling (halving, tripling, whatever) or just of categorized > screen sizes as my searches on the internet seems to be saying. > > In other words is the new mobilePixelDensity a true actual density > of the screen or just a trick to group different sized screens into > manageable groups and figure out a 'rough' screen percentage using > DPI? I do honestly believe that the new mobilePixelDensity function will provide the specificity you're looking for, based on actual density rather than the more general density groupings. If anyone know otherwise it might merit a bug report, since the specific density value is far more useful than the approximation. -- 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 Oct 26 13:56:10 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 26 Oct 2012 10:56:10 -0700 Subject: Retina scale factor versus display metrics In-Reply-To: <508AC752.7040904@fourthworld.com> References: <146B7FC6-B8C1-4A81-B84D-419C776EC9E4@comcast.net> <508AC752.7040904@fourthworld.com> Message-ID: Hi Richard, Reading the QCC report you submitted for this, I see comments that this should be available for the desktop as well as mobile devices, but "mobilePixelDensity" implies that it is iOS and Android only. Where does that leave us as far as the newer Macs with Retina displays? Pete lcSQL Software On Fri, Oct 26, 2012 at 10:24 AM, Richard Gaskin wrote: > I do honestly believe that the new mobilePixelDensity function will > provide the specificity you're looking for, based on actual density rather > than the more general density groupings. From 3mcgrath at comcast.net Fri Oct 26 13:59:12 2012 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Fri, 26 Oct 2012 13:59:12 -0400 Subject: Retina scale factor versus display metrics In-Reply-To: <508AC752.7040904@fourthworld.com> References: <146B7FC6-B8C1-4A81-B84D-419C776EC9E4@comcast.net> <508AC752.7040904@fourthworld.com> Message-ID: Thanks Richard, sometimes I need to hear it twice ;-) So until someone says different I will go with this for my project. Thanks?. Tom Thomas J McGrath III 3mcgrath at comcast.net Lazy River Software http://lazyriver.on-rev.com On Oct 26, 2012, at 1:24 PM, Richard Gaskin wrote: > I do honestly believe that the new mobilePixelDensity function will provide the specificity you're looking for, based on actual density rather than the more general density groupings. > > If anyone know otherwise it might merit a bug report, since the specific density value is far more useful than the approximation. > > -- > 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 Fri Oct 26 14:22:13 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 26 Oct 2012 11:22:13 -0700 Subject: Retina scale factor versus display metrics In-Reply-To: References: Message-ID: <508AD4D5.10605@fourthworld.com> Thomas McGrath III wrote: > So until someone says different I will go with this for my project. Thanks?. I just hope my hunch is correct. :) If you find it's implemented differently please post a note. Thanks - -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From richmondmathewson at gmail.com Fri Oct 26 14:31:28 2012 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 26 Oct 2012 21:31:28 +0300 Subject: [OT] emulating iOS Message-ID: <508AD700.7080500@gmail.com> http://www.iemu.org/index.php/Main_Page Mission To get the iOS booting in QEMU on the different hardware platforms (iphone,ipod,ipad etc) Mind you as soon as I read "complie code from source" I get cold feet. Richmond. From dan at clearvisiontech.com Fri Oct 26 14:38:23 2012 From: dan at clearvisiontech.com (Dan Friedman) Date: Fri, 26 Oct 2012 11:38:23 -0700 Subject: Push on Android In-Reply-To: References: Message-ID: <21F411D2-8826-415A-A5FB-71460B23EACE@clearvisiontech.com> Has anyone figured out how to send a push message to a Android device? The LiveCode Lesson is out of date. It's referencing C2DM, not GCM. C2DM has been deprecated and is no longer viable. I couldn't be more confused! Thanks in advance, -Dan From monte at sweattechnologies.com Fri Oct 26 15:22:23 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 27 Oct 2012 06:22:23 +1100 Subject: Retina scale factor versus display metrics In-Reply-To: <508AD4D5.10605@fourthworld.com> References: <508AD4D5.10605@fourthworld.com> Message-ID: I'm yet to play with it but I believe it will just return an approximation into the general density groups (closest .25). Also 1 = 160 on android, 163 on iPhone/iPad mini and 132 on iPad. I said as much on the feature request when I read Marks implementation notes but then it was closed without comment so I don't know if it was read. Cheers -- M E R Goulding Software development services mergExt - There's an external for that! On 27/10/2012, at 5:22 AM, Richard Gaskin wrote: > I just hope my hunch is correct. :) > > If you find it's implemented differently please post a note. From jacque at hyperactivesw.com Fri Oct 26 16:59:37 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 26 Oct 2012 15:59:37 -0500 Subject: OK, two basic iOS questions (formerly iPad retina weirdness) In-Reply-To: References: <3BB52D75-EE2A-40F2-A94B-32A8775DFB1E@me.com> Message-ID: <508AF9B9.70802@hyperactivesw.com> On 10/26/12 11:45 AM, Dr. Hawkins wrote: > On Fri, Oct 26, 2012 at 6:21 AM, Lars Brehmer wrote: >> I have a scrolling list field which when the desired line is reached, mouseUp on it performs the >> desired operation. I found the iosScroller keyword and the BeginDecelerate and EndDecelerate, >> but unfortunately I couldn't figure out how to implement them! > >> A little help here? > > Try two fingers; lots of iOs scroll that way. > It isn't automatic, the whole thing needs to be scripted. I checked for a lesson on it but I don't see one, though this comes close: There have been some example scripts posted here and to the forums, a search would probably turn them up. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dick.kriesel at mail.com Fri Oct 26 18:09:28 2012 From: dick.kriesel at mail.com (Dick Kriesel) Date: Fri, 26 Oct 2012 15:09:28 -0700 Subject: Script problem In-Reply-To: References: <1351093184234-4656616.post@n4.nabble.com> <0055B6A1-CE7D-410D-8FD5-05CA7FCB2366@me.com> <5089006C.4050106@cogapp.com> Message-ID: <7E7777BD-9C49-4C2F-A1E6-F6E6ABB53316@mail.com> Charles, please let us know what the problem was. If the problem persists, I suggest you check the whether the suspect checkboxes may be affected by a getProp for "uMyLabel," or by a custom property set. -- Dick From cszasz at mac.com Fri Oct 26 18:20:23 2012 From: cszasz at mac.com (charles61) Date: Fri, 26 Oct 2012 15:20:23 -0700 (PDT) Subject: Script problem In-Reply-To: <7E7777BD-9C49-4C2F-A1E6-F6E6ABB53316@mail.com> References: <1351093184234-4656616.post@n4.nabble.com> <0055B6A1-CE7D-410D-8FD5-05CA7FCB2366@me.com> <5089006C.4050106@cogapp.com> <7E7777BD-9C49-4C2F-A1E6-F6E6ABB53316@mail.com> Message-ID: <26DB9ED3-ECA4-4F83-9129-248B8AEC2557@mac.com> Dick, As far as I can tell, the problem had to do with other marked cards that had checkboxes despite not having a custom property. When I initially tested my code with a sample stack, all of the cards were marked and had checkboxes with custom properties. In my actual project, there were marked cards but some of the cards did not have checkboxes with custom properties. When I added a little bit more code to catch my empty custom properties, my code was working again without the insertion of five blank lines. Despite Therry's code to identify checkboxes that had my custom property, I had cards identified as having checkboxes with custom properties when there were none on the cards. Again, I checked all of my checkboxes several times and could not find any with blank strings for custom properties. Charles Szasz cszasz at mac.com On Oct 26, 2012, at 6:10 PM, "Dick Kriesel [via Runtime Revolution]" wrote: > Charles, please let us know what the problem was. > > If the problem persists, I suggest you check the whether the suspect checkboxes may be affected by a getProp for "uMyLabel," or by a custom property set. > > -- Dick > _______________________________________________ > use-livecode mailing list > [hidden email] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > If you reply to this email, your message will be added to the discussion below: > http://runtime-revolution.278305.n4.nabble.com/Script-problem-tp4656616p4656682.html > To unsubscribe from Script problem, click here. > NAML -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Script-problem-tp4656616p4656683.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Fri Oct 26 19:23:18 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 26 Oct 2012 23:23:18 +0000 (UTC) Subject: [OT] New ChromeBook References: Message-ID: Peter Haworth writes: > > Anyone tried the new $249 Chromebook? It's beyond me why anyone would. Do you know anyone who would go out of their way to get version 1.0.0 of anything that didn't start with an "i"? LiveCode won't run on it. You can't write LiveCode apps for it. It runs Google OS. It's got an ARM processor. I think it's a hardware version of a web browser. -- Mark Wieder mwieder at ahsoftware.net From Mark_Smith at cpe.umanitoba.ca Fri Oct 26 22:59:29 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Fri, 26 Oct 2012 19:59:29 -0700 (PDT) Subject: tock.aiff In-Reply-To: References: <1350798423798-4656563.post@n4.nabble.com> Message-ID: <1351306769290-4656685.post@n4.nabble.com> Mark Schonewille-3 wrote > Mark > > Here's a direct link to the file http://qery.us/2m9 Hi Mark, interesting problem with this file. First, I have a similar aiff file called shortbeep which I use for "error" keys and inputs, and it works fine. I was sent 3 different versions of tock.aiff and I can't get any of them to work. All are 9k aiff files, they all make the tock sound when played in iTunes, but when I replace shortbeep.aiff with tock.aiff in the LC app, I don't get any sound at all. Any ideas? (I'm using the same code for both sounds, but only shortbeep makes a sound). Thanks -- Mark PS is there anyway to adjust the volume of a sound through script control? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/tock-aiff-tp4656563p4656685.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Sat Oct 27 00:30:01 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 26 Oct 2012 23:30:01 -0500 Subject: tock.aiff In-Reply-To: <1351306769290-4656685.post@n4.nabble.com> References: <1350798423798-4656563.post@n4.nabble.com> <1351306769290-4656685.post@n4.nabble.com> Message-ID: <508B6349.6010000@hyperactivesw.com> On 10/26/12 9:59 PM, Mark Smith wrote: > I have a similar aiff > file called shortbeep which I use for "error" keys and inputs, and it works > fine. I was sent 3 different versions of tock.aiff and I can't get any of > them to work. All are 9k aiff files, they all make the tock sound when > played in iTunes, but when I replace shortbeep.aiff with tock.aiff in the LC > app, I don't get any sound at all. Any ideas? (I'm using the same code for > both sounds, but only shortbeep makes a sound). I don't know if this would apply to your situation, but something identical happened to me on an Android device. It took me three days to track it down. Apparently the duration of the sound file was too short. I had to add silence to the end to make it last longer than a second or so. After that it would play. The thing is, even the original very short files played in the IDE so that may not be what's wrong here. But you could try editing the files in a sound editor if nothing else works. > PS is there anyway to adjust the volume of a sound through script control? See "playLoudness" in the dictionary. Why it doesn't have the word "sound" or "volume" in its name is a secret only the MetaCard creator knew. I can never remember it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Sat Oct 27 01:02:58 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 26 Oct 2012 22:02:58 -0700 Subject: [OT] New ChromeBook In-Reply-To: References: Message-ID: On Fri, Oct 26, 2012 at 4:23 PM, Mark Wieder wrote: > It's beyond me why anyone would. Do you know anyone who would go out of > their > way to get version 1.0.0 of anything that didn't start with an "i"? > There was an earlier, higher priced version of it so I don't think it's really v1. > > LiveCode won't run on it. > You can't write LiveCode apps for it. > I'm kinda looking at this as an alternative to an iPad or Android tablet but a couple of hundred bucks cheaper, so with that in mind, LC won't run on a those devices either. True that I can't write LC apps for it but I wasn't planning on doing that. But if I was I could use any of the available tools to develop web apps for it , RealStudio for example. > It runs Google OS. > It's got an ARM processor. > Don't know enough about either of those to judge if they are bad things, that's one of the reasons for my original post. I use a lot of Google products and like pretty much all of them so I expect I'd be OK with the Google OS. > > I think it's a hardware version of a web browser. > Pretty much. I guess I'm trying to figure out if it would work for me when I'm traveling for straightforward web browsing, email, playing some music, perhaps reading an eBook as an alternative to an iPad/Android tablet but with a real keyboard. Pete From mwieder at ahsoftware.net Sat Oct 27 14:20:12 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 27 Oct 2012 11:20:12 -0700 Subject: [OT] New ChromeBook In-Reply-To: References: Message-ID: <45874656062.20121027112012@ahsoftware.net> Pete- Friday, October 26, 2012, 10:02:58 PM, you wrote: > I'm kinda looking at this as an alternative to an iPad or Android tablet > but a couple of hundred bucks cheaper, so with that in mind, LC won't run I picked up my Android tablet for about $200. And it runs Angry Birds. -- -Mark Wieder mwieder at ahsoftware.net From roger.e.eller at sealedair.com Sat Oct 27 14:28:17 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 27 Oct 2012 14:28:17 -0400 Subject: [OT] New ChromeBook In-Reply-To: <45874656062.20121027112012@ahsoftware.net> References: <45874656062.20121027112012@ahsoftware.net> Message-ID: On Sat, Oct 27, 2012 at 2:20 PM, Mark Wieder wrote: > Pete- > > Friday, October 26, 2012, 10:02:58 PM, you wrote: > > > I'm kinda looking at this as an alternative to an iPad or Android tablet > > but a couple of hundred bucks cheaper, so with that in mind, LC won't run > > I picked up my Android tablet for about $200. And it runs Angry Birds. > > -- > -Mark Wieder > mwieder at ahsoftware.net I found these guys on the slatedroid.com forum. Besides being based in the US, they only deal the very few "higher quality" Chinese tablets that I would even consider buying anyway. The PIPO brand is apparently quite good, and sells for a little more that $200. About this NC reseller. http://www.topnotchtablets.com/ ~Roger From pete at lcsql.com Sat Oct 27 14:45:21 2012 From: pete at lcsql.com (Peter Haworth) Date: Sat, 27 Oct 2012 11:45:21 -0700 Subject: [OT] New ChromeBook In-Reply-To: <45874656062.20121027112012@ahsoftware.net> References: <45874656062.20121027112012@ahsoftware.net> Message-ID: But does it run the Talking Parrot!! Pete lcSQL Software On Sat, Oct 27, 2012 at 11:20 AM, Mark Wieder wrote: > I picked up my Android tablet for about $200. And it runs Angry Birds. From richmondmathewson at gmail.com Sat Oct 27 15:05:56 2012 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 27 Oct 2012 22:05:56 +0300 Subject: [OT] New ChromeBook In-Reply-To: References: <45874656062.20121027112012@ahsoftware.net> Message-ID: <508C3094.20908@gmail.com> On 10/27/2012 09:28 PM, Roger Eller wrote: > > I found these guys on the slatedroid.com forum. Besides being based in > the US, they only deal the very few "higher quality" Chinese tablets > that I would even consider buying anyway. > "higher quality" Chinese tablets. Well, in my Mah-jong set the tablets have bamboo backings as well . . . LOL As most of my childhood was spent frittering away my pocket money on rubber monsters made in Hong Kong, my prejudice against things manufactured in China (as opposed to Japan) is hard to shake. From roger.e.eller at sealedair.com Sat Oct 27 15:24:43 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 27 Oct 2012 15:24:43 -0400 Subject: [OT] New ChromeBook In-Reply-To: <508C3094.20908@gmail.com> References: <45874656062.20121027112012@ahsoftware.net> <508C3094.20908@gmail.com> Message-ID: On Sat, Oct 27, 2012 at 3:05 PM, Richmond wrote: > On 10/27/2012 09:28 PM, Roger Eller wrote: > >> >> > > I found these guys on the slatedroid.com forum. Besides being based in >> the US, they only deal the very few "higher quality" Chinese tablets that I >> would even consider buying anyway. >> > > >> > > "higher quality" Chinese tablets. > > Well, in my Mah-jong set the tablets have bamboo backings as well . . . LOL > > As most of my childhood was spent frittering away my pocket money on rubber > monsters made in Hong Kong, my prejudice against things manufactured in > China > (as opposed to Japan) is hard to shake. I understand fully. This is why TNT has setup shop as a sort of QC station. Think of them as AppleCare Lite (TM). ;-) ~Roger From Mark_Smith at cpe.umanitoba.ca Sat Oct 27 21:33:34 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Sat, 27 Oct 2012 18:33:34 -0700 (PDT) Subject: tock.aiff In-Reply-To: <508B6349.6010000@hyperactivesw.com> References: <1350798423798-4656563.post@n4.nabble.com> <1351306769290-4656685.post@n4.nabble.com> <508B6349.6010000@hyperactivesw.com> Message-ID: <1351388014083-4656693.post@n4.nabble.com> J. Landman Gay wrote > track it down. Apparently the duration of the sound file was too short. > I had to add silence to the end to make it last longer than a second or > so. After that it would play. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/tock-aiff-tp4656563p4656693.html Sent from the Revolution - User mailing list archive at Nabble.com. From Mark_Smith at cpe.umanitoba.ca Sat Oct 27 21:34:36 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Sat, 27 Oct 2012 18:34:36 -0700 (PDT) Subject: tock.aiff In-Reply-To: <508B6349.6010000@hyperactivesw.com> References: <1350798423798-4656563.post@n4.nabble.com> <1351306769290-4656685.post@n4.nabble.com> <508B6349.6010000@hyperactivesw.com> Message-ID: <1351388076238-4656695.post@n4.nabble.com> J. Landman Gay wrote > track it down. Apparently the duration of the sound file was too short. > I had to add silence to the end to make it last longer than a second or > so. After that it would play. That sounds like it may be the problem :-) Thanks -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/tock-aiff-tp4656563p4656695.html Sent from the Revolution - User mailing list archive at Nabble.com. From admin at FlexibleLearning.com Sun Oct 28 07:04:35 2012 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Sun, 28 Oct 2012 11:04:35 -0000 Subject: [UPDATE] Free 'Clearview' desktop clock v2.0 with Calendar Message-ID: As requested, the 'Clearview' Clock now includes a dropdown Calendar... Screenshots and download at www.FlexibleLearning.com/freeclock Available for Windows, Macs and Linuxi - 100% free - 100% recycled electrons. "Tempus fugit sed gravitatis sugit..." Hugh Senior FLCo The home of: - ChartMaker www.FlexibleLearning.com/chartmaker - DatePicker www.FlexibleLearning.com/datepicker - The Scripter's Scrapbook www.FlexibleLearning.com/ssbk From m.schonewille at economy-x-talk.com Sun Oct 28 09:28:32 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 28 Oct 2012 14:28:32 +0100 Subject: tock.aiff In-Reply-To: <1351306769290-4656685.post@n4.nabble.com> References: <1350798423798-4656563.post@n4.nabble.com> <1351306769290-4656685.post@n4.nabble.com> Message-ID: <750BB58B-696B-46EC-8FE8-2BE5966D8E20@economy-x-talk.com> Hi Mark, Reading the other mails, my guess is that some sample information is missing form the original file and when you save it with e.g. QT 7 or Audacity, this information is added. I believe you need an external if you want to control the devices's sound volume on an iOS device. -- 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 On 27 okt 2012, at 04:59, Mark Smith wrote: > Mark Schonewille-3 wrote >> Mark >> >> Here's a direct link to the file http://qery.us/2m9 > > Hi Mark, interesting problem with this file. First, I have a similar aiff > file called shortbeep which I use for "error" keys and inputs, and it works > fine. I was sent 3 different versions of tock.aiff and I can't get any of > them to work. All are 9k aiff files, they all make the tock sound when > played in iTunes, but when I replace shortbeep.aiff with tock.aiff in the LC > app, I don't get any sound at all. Any ideas? (I'm using the same code for > both sounds, but only shortbeep makes a sound). > > Thanks > -- Mark > > PS is there anyway to adjust the volume of a sound through script control? > From irog at mac.com Sun Oct 28 11:31:46 2012 From: irog at mac.com (Roger Guay) Date: Sun, 28 Oct 2012 08:31:46 -0700 Subject: [UPDATE] Free 'Clearview' desktop clock v2.0 with Calendar In-Reply-To: References: Message-ID: Thanks, Hugh. Very nice!! Roger On Oct 28, 2012, at 4:04 AM, FlexibleLearning wrote: > As requested, the 'Clearview' Clock now includes a dropdown Calendar... From simplsol at aol.com Sun Oct 28 12:26:40 2012 From: simplsol at aol.com (Paul Looney) Date: Sun, 28 Oct 2012 09:26:40 -0700 Subject: [ANN] SoCal LUG Meeting - Databases Message-ID: LiveCode Users, The Southern California LiveCode Users Group (SoCal LUG) November Meeting will be held this Thursday, Nov. 1st. at 7:00 PM, at the Burger Continental in Pasadena. This month's topic is databases. We will have DB creators and DB users attending. I will be demonstrating a multi-user, client/server database built entirely with LiveCode (no SQL, no No-SQL). The demonstration will include the related List Maker and Report Maker. Not interested in databases? No problem. Our meetings are usually wide-ranging. Any topic relating to LiveCode is welcome. We love trouble-shooting. We also talk a lot about trains?!? Please mark your calendar. Hope to see you there. Paul Looney From bvlahos at mac.com Sun Oct 28 13:17:46 2012 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 28 Oct 2012 10:17:46 -0700 Subject: [ANN] SoCal LUG Meeting - Databases In-Reply-To: References: Message-ID: I'll be there. I can talk about lcTaskList the LiveCode IDE plugin and the process of getting it into the LiveCode Marketplace. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. lcTaskList: (http://www.infowallet.com/lctasklist/index.htm) RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61) On Oct 28, 2012, at 9:26 AM, Paul Looney wrote: > LiveCode Users, > > The Southern California LiveCode Users Group (SoCal LUG) November Meeting will be held this Thursday, Nov. 1st. at 7:00 PM, at the Burger Continental in Pasadena. > > This month's topic is databases. We will have DB creators and DB users attending. I will be demonstrating a multi-user, client/server database built entirely with LiveCode (no SQL, no No-SQL). The demonstration will include the related List Maker and Report Maker. > > Not interested in databases? No problem. Our meetings are usually wide-ranging. Any topic relating to LiveCode is welcome. We love trouble-shooting. We also talk a lot about trains?!? > > Please mark your calendar. Hope to see you there. > > Paul Looney > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Oct 28 14:51:58 2012 From: dan at clearvisiontech.com (Dan Friedman) Date: Sun, 28 Oct 2012 11:51:58 -0700 Subject: [ANN] SoCal LUG Meeting - Databases Message-ID: <91F91E9D-D3F8-4F4F-9B23-E9668A4B72F2@clearvisiontech.com> Ratz! Thursday is just the worst day! If the meeting day should change, let me know. I wold love to attend! But, Thursday is just out of the question. -Dan > LiveCode Users, > > The Southern California LiveCode Users Group (SoCal LUG) November Meeting will be held this Thursday, Nov. 1st. at 7:00 PM, at the Burger Continental in Pasadena. > > This month's topic is databases. We will have DB creators and DB users attending. I will be demonstrating a multi-user, client/server database built entirely with LiveCode (no SQL, no No-SQL). The demonstration will include the related List Maker and Report Maker. > > Not interested in databases? No problem. Our meetings are usually wide-ranging. Any topic relating to LiveCode is welcome. We love trouble-shooting. We also talk a lot about trains?!? > > Please mark your calendar. Hope to see you there. > > Paul Looney From th.douez at gmail.com Sun Oct 28 15:08:51 2012 From: th.douez at gmail.com (Thierry Douez) Date: Sun, 28 Oct 2012 20:08:51 +0100 Subject: [ANN] Free ABC tunes player ( MacOsX ) Message-ID: Hi, You can download for free my ABC external player at: http://sunny-tdz.com/dwn It comes with a LiveCode stack and some ABC tunes samples. Available only for mac users. You don't know what ABC is about ? Then read this article: SunnYabc: Playing ABC tunes with LiveCode: http://sunny-tdz.com/art-1003 For technical lovers, the external is written in Flex/Bison. Enjoy! Thierry Douez From monte at sweattechnologies.com Sun Oct 28 20:11:35 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 29 Oct 2012 11:11:35 +1100 Subject: [ANN] Bonjour external for iOS and last chance suite at current price Message-ID: <66818689-2599-4531-B05D-9DBF7EB18EC0@sweattechnologies.com> Hi LiveCoders mergBonjour 1.0.0 has just been released for sale on mergext.com for $19. The external is also available as part of the mergExt iOS suite. This external allows you to search for and register bonjour services on an iOS device. More information on the external is available from http://mergext.com/home/mergbonjour/ As mentioned previously the price for the suite is rising from $149 to $299 at the end of the week. With the addition of this new external the suite now has a total value of $601 making $299 a bargain and $149 crazily cheap. So if there's a chance you might need the suite in the next year then buying now could save you a significant amount. There's more externals coming too so don't miss out on this opportunity because there won't be any more posts about it. Regards -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From SimPLsol at aol.com Sun Oct 28 20:56:04 2012 From: SimPLsol at aol.com (Paul Looney) Date: Sun, 28 Oct 2012 17:56:04 -0700 Subject: [ANN] SoCal LUG Meeting - Databases In-Reply-To: References: Message-ID: Great! I know you are usually early, I plan to be as well, PL On Oct 28, 2012, at 10:17 AM, Bill Vlahos wrote: > I'll be there. I can talk about lcTaskList the LiveCode IDE plugin and the process of getting it into the LiveCode Marketplace. > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. > lcTaskList: (http://www.infowallet.com/lctasklist/index.htm) > RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61) > > On Oct 28, 2012, at 9:26 AM, Paul Looney wrote: > >> LiveCode Users, >> >> The Southern California LiveCode Users Group (SoCal LUG) November Meeting will be held this Thursday, Nov. 1st. at 7:00 PM, at the Burger Continental in Pasadena. >> >> This month's topic is databases. We will have DB creators and DB users attending. I will be demonstrating a multi-user, client/server database built entirely with LiveCode (no SQL, no No-SQL). The demonstration will include the related List Maker and Report Maker. >> >> Not interested in databases? No problem. Our meetings are usually wide-ranging. Any topic relating to LiveCode is welcome. We love trouble-shooting. We also talk a lot about trains?!? >> >> Please mark your calendar. Hope to see you there. >> >> Paul Looney >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From zellner at tamu.edu Sun Oct 28 21:41:07 2012 From: zellner at tamu.edu (Ronald Zellner) Date: Sun, 28 Oct 2012 20:41:07 -0500 Subject: Images in Data Grids Message-ID: I want to put interactive images in a Data Grid column. While there are many resources online I can't seem to find basic information regarding the embedding of images. I am using the downloaded file from RunRev: LiveCode_Data_Grid.pdf This is very helpful, however the example stack link does not work so the file cannot be obtained. Basically, I want the user to be able to control and respond by clicking on the image in the first column of each row and take notes related to it in the second column. I'm considering a Data Grid since I want to have a scrolling array of images and I want to peridocially sort the lines according to user input. Does this seem to be the way to go? Does anyone have suggestions or examples for doing this or pointing me to existing information or resources? Thanks, Ron From pete at lcsql.com Mon Oct 29 02:42:01 2012 From: pete at lcsql.com (Peter Haworth) Date: Sun, 28 Oct 2012 23:42:01 -0700 Subject: Images in Data Grids In-Reply-To: References: Message-ID: Hi ROnald, Sounds like you want to have a different image in each row of the datagrid? I'm not sure that's possible with a datagrid, at least not with a datagrid table. Pete lcSQL Software On Sun, Oct 28, 2012 at 6:41 PM, Ronald Zellner wrote: > I want to put interactive images in a Data Grid column. > While there are many resources online I can't seem to find basic > information regarding the embedding of images. > > I am using the downloaded file from RunRev: LiveCode_Data_Grid.pdf > This is very helpful, however the example stack link does not work so the > file cannot be obtained. > > Basically, I want the user to be able to control and respond by clicking > on the image in the first column of each row and take notes related to it > in the second column. > I'm considering a Data Grid since I want to have a scrolling array of > images and I want to peridocially sort the lines according to user input. > Does this seem to be the way to go? > > Does anyone have suggestions or examples for doing this or pointing me to > existing information or resources? > > Thanks, > Ron > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Mon Oct 29 03:01:29 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 29 Oct 2012 00:01:29 -0700 Subject: Images in Data Grids In-Reply-To: References: Message-ID: <1841006737328.20121029000129@ahsoftware.net> Pete- Sunday, October 28, 2012, 11:42:01 PM, you wrote: > Hi ROnald, > Sounds like you want to have a different image in each row of the datagrid? > I'm not sure that's possible with a datagrid, at least not with a datagrid > table. Au contraire. Check out the widgets grid of PowerTools (the image at the bottom of the page)... that's a 4-wide datagrid with each cell containing a png and a label. http://www.ahsoftware.net/PowerTools/PowerTools.irev -- -Mark Wieder mwieder at ahsoftware.net From matthias_livecode_150811 at m-r-d.de Mon Oct 29 06:40:06 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 29 Oct 2012 11:40:06 +0100 Subject: Images in Data Grids In-Reply-To: References: Message-ID: <28FCB7D7-C7BF-402D-8AB7-052A0D176F8B@m-r-d.de> Hi Ronald, have a look at the plugin DataGridHelper. http://runrev.com/store/product/data-grid-helper-1-2-0/ Regards, Matthias -- Matthias Rebbe matthias (at) rebbe.tk Tel +49.5741.310000 Tel +49.160.5504462 -- "Life is too short for boring code" Am 29.10.2012 um 02:41 schrieb Ronald Zellner : > I want to put interactive images in a Data Grid column. > While there are many resources online I can't seem to find basic information regarding the embedding of images. > > I am using the downloaded file from RunRev: LiveCode_Data_Grid.pdf > This is very helpful, however the example stack link does not work so the file cannot be obtained. > > Basically, I want the user to be able to control and respond by clicking on the image in the first column of each row and take notes related to it in the second column. > I'm considering a Data Grid since I want to have a scrolling array of images and I want to peridocially sort the lines according to user input. > Does this seem to be the way to go? > > Does anyone have suggestions or examples for doing this or pointing me to existing information or resources? > > Thanks, > Ron > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Mon Oct 29 09:47:18 2012 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 29 Oct 2012 11:47:18 -0200 Subject: [ANN] SoCal LUG Meeting - Databases In-Reply-To: References: Message-ID: Paul, I am ready to give away a copy of DB Lib to be raffled during the LUG meeting. DB Lib (SQL, active record style) and its add-on Data Storage Lib (NoSQL, built on top of DB Lib and included with every DB Lib purchase) are new database libraries for LiveCode. You can learn more at http://www.andregarzia.com/page/dblib PS: Is raffled a verb?! cheers andre On Sun, Oct 28, 2012 at 2:26 PM, Paul Looney wrote: > LiveCode Users, > > The Southern California LiveCode Users Group (SoCal LUG) November Meeting > will be held this Thursday, Nov. 1st. at 7:00 PM, at the Burger Continental > in Pasadena. > > This month's topic is databases. We will have DB creators and DB users > attending. I will be demonstrating a multi-user, client/server database > built entirely with LiveCode (no SQL, no No-SQL). The demonstration will > include the related List Maker and Report Maker. > > Not interested in databases? No problem. Our meetings are usually > wide-ranging. Any topic relating to LiveCode is welcome. We love > trouble-shooting. We also talk a lot about trains?!? > > Please mark your calendar. Hope to see you there. > > Paul Looney > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From michael-kristensen at dsa-net.dk Mon Oct 29 12:17:06 2012 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Mon, 29 Oct 2012 17:17:06 +0100 Subject: Scripting shades of colors? Message-ID: Hi there Lets say I have a color a,b,c Now I want the same color but fx 10% darker and 10 % lighter. (As if you in the colorwheel palette dragged the scrollbar-thumb a little down and a little up) How could one script this? Thanks Michael From simplsol at aol.com Mon Oct 29 12:19:05 2012 From: simplsol at aol.com (Paul Looney) Date: Mon, 29 Oct 2012 09:19:05 -0700 Subject: [ANN] SoCal LUG Meeting - Databases In-Reply-To: References: Message-ID: <74C38CEA-ECCA-44EC-9468-E27B62F59D60@aol.com> Andre, Thank you for your gracious offer. I'll hold the raffle at the meeting and let you know the winner - unless you'd like to handle it some other way. (BTW, "raffle" and "raffled" are both valid verbs: "I raffle something now." "I raffled something yesterday." -- sorry, former English teacher, got carried away.) Second BTW, the database I'll be demoing Thursday is multi-user (with file-locking and record-locking). Wish you could be there! I'm sure you would enjoy the meeting. Paul Looney On Oct 29, 2012, at 6:47 AM, Andre Garzia wrote: > Paul, > > I am ready to give away a copy of DB Lib to be raffled during the LUG > meeting. > > DB Lib (SQL, active record style) and its add-on Data Storage Lib (NoSQL, > built on top of DB Lib and included with every DB Lib purchase) are new > database libraries for LiveCode. > > You can learn more at http://www.andregarzia.com/page/dblib > > PS: Is raffled a verb?! > > cheers > andre > > On Sun, Oct 28, 2012 at 2:26 PM, Paul Looney wrote: > >> LiveCode Users, >> >> The Southern California LiveCode Users Group (SoCal LUG) November Meeting >> will be held this Thursday, Nov. 1st. at 7:00 PM, at the Burger Continental >> in Pasadena. >> >> This month's topic is databases. We will have DB creators and DB users >> attending. I will be demonstrating a multi-user, client/server database >> built entirely with LiveCode (no SQL, no No-SQL). The demonstration will >> include the related List Maker and Report Maker. >> >> Not interested in databases? No problem. Our meetings are usually >> wide-ranging. Any topic relating to LiveCode is welcome. We love >> trouble-shooting. We also talk a lot about trains?!? >> >> Please mark your calendar. Hope to see you there. >> >> Paul Looney >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Mon Oct 29 12:37:46 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 29 Oct 2012 09:37:46 -0700 Subject: Images in Data Grids In-Reply-To: <1841006737328.20121029000129@ahsoftware.net> References: <1841006737328.20121029000129@ahsoftware.net> Message-ID: Hi Mark, Looks like your example always has the same image files but I think it may be a lot harder if you need to change the images on the fly depending on other data in each row. I couldn't tell from the original email if that is what is needed so I was probably too focused in on that type of environment! Interestingly, the datagrid manual has an example of putting an image into a datagrid form (an address book), but all the code in the example just fills in the other data in each row, no mention of how to adjust the image Pete lcSQL Software On Mon, Oct 29, 2012 at 12:01 AM, Mark Wieder wrote: > Pete- > > Sunday, October 28, 2012, 11:42:01 PM, you wrote: > > > Hi ROnald, > > Sounds like you want to have a different image in each row of the > datagrid? > > I'm not sure that's possible with a datagrid, at least not with a > datagrid > > table. > > Au contraire. Check out the widgets grid of PowerTools (the image at the > bottom of the page)... that's a 4-wide datagrid with each cell > containing a png and a label. > > http://www.ahsoftware.net/PowerTools/PowerTools.irev > > -- > -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 Oct 29 12:48:19 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 29 Oct 2012 09:48:19 -0700 Subject: [ANN] SoCal LUG Meeting - Databases In-Reply-To: <74C38CEA-ECCA-44EC-9468-E27B62F59D60@aol.com> References: <74C38CEA-ECCA-44EC-9468-E27B62F59D60@aol.com> Message-ID: Folks, Has there ever been any interest in a NorCal UG? I'm in Santa Cruz but would be willing to travel to the Bay Area for an occasional meeting. Pete lcSQL Software On Mon, Oct 29, 2012 at 9:19 AM, Paul Looney wrote: > Andre, > Thank you for your gracious offer. > I'll hold the raffle at the meeting and let you know the winner - unless > you'd like to handle it some other way. (BTW, "raffle" and "raffled" are > both valid verbs: "I raffle something now." "I raffled something > yesterday." -- sorry, former English teacher, got carried away.) > Second BTW, the database I'll be demoing Thursday is multi-user (with > file-locking and record-locking). Wish you could be there! I'm sure you > would enjoy the meeting. > Paul Looney > > On Oct 29, 2012, at 6:47 AM, Andre Garzia wrote: > > > Paul, > > > > I am ready to give away a copy of DB Lib to be raffled during the LUG > > meeting. > > > > DB Lib (SQL, active record style) and its add-on Data Storage Lib (NoSQL, > > built on top of DB Lib and included with every DB Lib purchase) are new > > database libraries for LiveCode. > > > > You can learn more at http://www.andregarzia.com/page/dblib > > > > PS: Is raffled a verb?! > > > > cheers > > andre > > > > On Sun, Oct 28, 2012 at 2:26 PM, Paul Looney wrote: > > > >> LiveCode Users, > >> > >> The Southern California LiveCode Users Group (SoCal LUG) November > Meeting > >> will be held this Thursday, Nov. 1st. at 7:00 PM, at the Burger > Continental > >> in Pasadena. > >> > >> This month's topic is databases. We will have DB creators and DB users > >> attending. I will be demonstrating a multi-user, client/server database > >> built entirely with LiveCode (no SQL, no No-SQL). The demonstration will > >> include the related List Maker and Report Maker. > >> > >> Not interested in databases? No problem. Our meetings are usually > >> wide-ranging. Any topic relating to LiveCode is welcome. We love > >> trouble-shooting. We also talk a lot about trains?!? > >> > >> Please mark your calendar. Hope to see you there. > >> > >> Paul Looney > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > > > -- > > http://www.andregarzia.com -- All We Do Is Code. > > http://fon.nu -- minimalist url shortening service. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From janschenkel at yahoo.com Mon Oct 29 13:10:50 2012 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 29 Oct 2012 10:10:50 -0700 (PDT) Subject: Scripting shades of colors? In-Reply-To: References: Message-ID: <1351530650.63679.YahooMailNeo@web141104.mail.bf1.yahoo.com> Hi Michael, You might be interested in Quartam Color Library for LiveCode - a free / open source software project available under the commercial-friendly LGPL license. It has built-in functions for producing lighter and darker colors based on an RGB triplet. For more information and download, just visit HTH, 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) ________________________________ From: Michael Kristensen To: use-livecode at lists.runrev.com Sent: Monday, October 29, 2012 5:17 PM Subject: Scripting shades of colors? Hi there Lets say I have a color a,b,c Now I want the same color but fx 10% darker and 10 % lighter. (As if you in the colorwheel palette dragged the scrollbar-thumb a little down and a little up) How could one script this? Thanks Michael _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode? From ambassador at fourthworld.com Mon Oct 29 13:22:57 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 29 Oct 2012 10:22:57 -0700 Subject: Scripting shades of colors? In-Reply-To: <1351530650.63679.YahooMailNeo@web141104.mail.bf1.yahoo.com> References: <1351530650.63679.YahooMailNeo@web141104.mail.bf1.yahoo.com> Message-ID: <508EBB71.5080001@fourthworld.com> Jan Schenkel wrote: > You might be interested in Quartam Color Library for LiveCode > - a free / open source software project available under the > commercial-friendly LGPL license. Is it LGPL or Affero? And why Affero? IIRC that license was created to extend GPL rights and responsibilities to include those making use of network service APIs, requiring that those using the APIs are also governed under the same license, as opposed to GPL or LGPL which only apply to software directly containing the original code. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From pete at lcsql.com Mon Oct 29 14:12:02 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 29 Oct 2012 11:12:02 -0700 Subject: [OT] Database Engine Comparison Message-ID: Over on the SQLite mailing list, I came across this comment by Dr Richard Hipp, one of the authors of sqlite. "MySQL is a good choice. But here is another data point to consider: When we were writing the SqlLogicTest test suite for SQLite, we ran the test vectors on a wide variety of server-class database engines in addition to SQLite. And in every case (including SQLite) we found cases that would crash the server. Every case, that is, except one. We were never able to crash PostgreSQL, nor find a case where PostgreSQL gave the wrong answer. Furthermore, whenever there is a question about what the behavior of some obscure SQL construct ought to be and whether or not SQLite is doing it right, usually the first thing we check is how PostgreSQL responds to the same query. When in doubt, we try to get SQLite to do the same thing as PostgreSQL" Wondering if any mySQL/PostgreSQL users have any thoughts on that. . Pete lcSQL Software From janschenkel at yahoo.com Mon Oct 29 14:39:45 2012 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 29 Oct 2012 11:39:45 -0700 (PDT) Subject: Scripting shades of colors? Message-ID: <1351535985.73562.BPMail_high_noncarrier@web141103.mail.bf1.yahoo.com> ------------------------------ On Mon, Oct 29, 2012 10:22 AM PDT Richard Gaskin wrote: >Jan Schenkel wrote: > >> You might be interested in Quartam Color Library for LiveCode >> - a free / open source software project available under the >> commercial-friendly LGPL license. > >Is it LGPL or Affero? > >And why Affero? > >IIRC that license was created to extend GPL rights and responsibilities to include those making use of network service APIs, requiring that those using the APIs are also governed under the same license, as opposed to GPL or LGPL which only apply to software directly containing the original code. > >-- > Richard Gaskin > Hi Richard et al Quartam Color Library is available under the LGPL license so it can be used in pretty much any project. Quartam PDF Library, on the other hand, is available under the AGPL license which is indeed a lot more restrictive. Is there any confusion in the wording that I should clean up? Jan Schenkel. From MikeKerner at roadrunner.com Mon Oct 29 14:50:20 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 29 Oct 2012 14:50:20 -0400 Subject: [OT] New ChromeBook In-Reply-To: References: <45874656062.20121027112012@ahsoftware.net> <508C3094.20908@gmail.com> Message-ID: not yet, but going to. I will let you know how it goes. I am planning a corporate deployment, but I might do the chromeBox instead just because of specs on the new chromebooks. The only other option for the kind of sweet spot that this fills is making a liveCD and having diskless workstations. For the folks who make fun of it, there are some reasons to use this sort of solution: 1) you can airgap your email and browsing from the rest of your network and worry much much less about PEBKAC/EBSAC. Does that mean you need two screens, keyboards, networks? Yep. How many of your users don't already have two screens? Is one of those screens pretty much always in a browser or email client anyway? I get that the extra keyboard and trackpad are annoying, but that's part of the reason why I'm planning to try this - so I can see what happens. 2) your finance department is much less likely to suffer an ugly hack that compromises your bank accounts. Yes, the liveCD is the ideal solution for this, but the Chrome device is still much, much better than a traditional PC. 3) If your organization is already primarily in the cloud, why do you need a traditional computer for those tasks? -- 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 Oct 29 15:20:46 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 30 Oct 2012 06:20:46 +1100 Subject: [OT] Database Engine Comparison In-Reply-To: References: Message-ID: Postgres also has better licensing terms too. If there's a choice then use Postgres. The biggest problem with Postgres is I usually use MySQL workbench for db design. If anyone knows an equivalent db design tool that does SQLite schema export then I'm keen to hear about it. Cheers Monte -- M E R Goulding Software development services mergExt - There's an external for that! On 30/10/2012, at 5:12 AM, Peter Haworth wrote: > Wondering if any mySQL/PostgreSQL users have any thoughts on that From matthias_livecode_150811 at m-r-d.de Mon Oct 29 15:37:31 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 29 Oct 2012 20:37:31 +0100 Subject: OT: CrossOver 12 month license for free on the 31th October Message-ID: <0778B83C-CFE8-4400-B15B-C4CEA1FD0810@m-r-d.de> Hi all, maybe this is of interested for someone. Codeweaver is giving away a Crossover license with 12 month support for free to new users on the 31th October. Existing customer get an extension of 12 month to their existing license. http://flock.codeweavers.com Regards, Matthias -- Matthias Rebbe matthias (at) rebbe.tk Tel +49.5741.310000 Tel +49.160.5504462 -- "Life is too short for boring code" From pete at lcsql.com Mon Oct 29 15:51:04 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 29 Oct 2012 12:51:04 -0700 Subject: [OT] Database Engine Comparison In-Reply-To: References: Message-ID: Hi Monte, There's a list of postgresql admin tools at http://wiki.postgresql.org/wiki/Community_Guide_to_PostgreSQL_GUI_Tools. Don't know if any of them will sqlite schema export, although there's plenty of other ways to do that, as I'm sure you know. Pete lcSQL Software On Mon, Oct 29, 2012 at 12:20 PM, Monte Goulding < monte at sweattechnologies.com> wrote: > Postgres also has better licensing terms too. If there's a choice then use > Postgres. The biggest problem with Postgres is I usually use MySQL > workbench for db design. If anyone knows an equivalent db design tool that > does SQLite schema export then I'm keen to hear about it. > > Cheers > > Monte > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > > On 30/10/2012, at 5:12 AM, Peter Haworth wrote: > > > Wondering if any mySQL/PostgreSQL users have any thoughts on 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 Oct 29 15:59:42 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 29 Oct 2012 12:59:42 -0700 Subject: Images in Data Grids In-Reply-To: References: <1841006737328.20121029000129@ahsoftware.net> Message-ID: <951053429578.20121029125942@ahsoftware.net> Pete- Monday, October 29, 2012, 9:37:46 AM, you wrote: > Hi Mark, > Looks like your example always has the same image files but I think it may > be a lot harder if you need to change the images on the fly depending on Nope. All generated on the fly from stack snapshots. -- -Mark Wieder mwieder at ahsoftware.net From pete at lcsql.com Mon Oct 29 16:26:44 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 29 Oct 2012 13:26:44 -0700 Subject: Images in Data Grids In-Reply-To: <951053429578.20121029125942@ahsoftware.net> References: <1841006737328.20121029000129@ahsoftware.net> <951053429578.20121029125942@ahsoftware.net> Message-ID: Cool! How do you get them into the datagrid? Using FillInData or something? Pete lcSQL Software On Mon, Oct 29, 2012 at 12:59 PM, Mark Wieder wrote: > Pete- > > Monday, October 29, 2012, 9:37:46 AM, you wrote: > > > Hi Mark, > > Looks like your example always has the same image files but I think it > may > > be a lot harder if you need to change the images on the fly depending on > > Nope. All generated on the fly from stack snapshots. > > -- > -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 zellner at tamu.edu Mon Oct 29 16:41:33 2012 From: zellner at tamu.edu (Ronald Zellner) Date: Mon, 29 Oct 2012 15:41:33 -0500 Subject: Images in Data Grids In-Reply-To: References: Message-ID: <50054EA5-2A02-4F94-BDD7-2025651C602E@tamu.edu> That's correct, I want a different image in each row. These will be set at the beginning, but I do want the image source to change for each when it is first selected by the user. (Controlled by a card script called by the image) I thought of simply putting them in a group with a scroll bar, but I really need the sorting function so want to use the DataGrid. I'm still not clear on the method to place an image in the grid cell in the first place. Ron From lfredricks at proactive-intl.com Mon Oct 29 17:25:12 2012 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 29 Oct 2012 14:25:12 -0700 Subject: [OT] Database Engine Comparison In-Reply-To: References: Message-ID: > Postgres also has better licensing terms too. If there's a > choice then use Postgres. The biggest problem with Postgres > is I usually use MySQL workbench for db design. If anyone > knows an equivalent db design tool that does SQLite schema > export then I'm keen to hear about it. Postgre licensing doesn't have the developer gotchas of MySQL. It is relatively worry free. 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 Mon Oct 29 17:36:21 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 29 Oct 2012 14:36:21 -0700 Subject: Images in Data Grids In-Reply-To: <50054EA5-2A02-4F94-BDD7-2025651C602E@tamu.edu> References: <50054EA5-2A02-4F94-BDD7-2025651C602E@tamu.edu> Message-ID: Hi Ronald, I think Mark may be able to point you in the right direction better than I on this since he seems to have at least figured out how to dynamically put images into the datagrid, not sure about changing the image on the fly. Here's another approach that might work using a table instead of a datagrid. Let's say you have two columns in the table, one for the image and another for the text you want your users to type into, and that somewhere in your stack you have the images stored away. When you load data into the table, put a space into the first column of each line, then: set the imagesource of char 1 of line x of field "yourtable" to the ID of image "yourimage" That will make the image appear in column 1 of your table. You might also need to set the textshift property of the char to make the image align vertically the way you want it. To detect when the user clicks on the image, put a mouseDown handler in the table script: on mouseDown *put* the imagesource of char (word 2 of the mouseCharChunk) of me intotImageID switch tImageID case break case break case break default end switch If you need to change the imagesource when it's clicked, you can do it in the case statements plus whatever else needs to happen. Not sure what data you need to sort on but I'm sure that could be accommodated. Hope that helps, Pete lcSQL Software On Mon, Oct 29, 2012 at 1:41 PM, Ronald Zellner wrote: > That's correct, I want a different image in each row. > These will be set at the beginning, but I do want the image source to > change for each when it is first selected by the user. > (Controlled by a card script called by the image) > I thought of simply putting them in a group with a scroll bar, but I > really need the sorting function so want to use the DataGrid. > > I'm still not clear on the method to place an image in the grid cell in > the first place. > > Ron > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Mon Oct 29 17:52:34 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 29 Oct 2012 17:52:34 -0400 Subject: OT: CrossOver 12 month license for free on the 31th October In-Reply-To: <0778B83C-CFE8-4400-B15B-C4CEA1FD0810@m-r-d.de> References: <0778B83C-CFE8-4400-B15B-C4CEA1FD0810@m-r-d.de> Message-ID: On Mon, Oct 29, 2012 at 3:37 PM, Matthias Rebbe wrote: > Codeweaver is giving away a Crossover license with 12 month support for > free to new users on the 31th October. > Existing customer get an extension of 12 month to their existing license. > > http://flock.codeweavers.com > Nice! Love their video promo too! Thanks for sharing. ~Roger From RevList at CreaTECHSol.com Mon Oct 29 18:48:47 2012 From: RevList at CreaTECHSol.com (RevList) Date: Mon, 29 Oct 2012 15:48:47 -0700 Subject: [UPDATE] Free 'Clearview' desktop clock v2.0 with Calendar In-Reply-To: References: Message-ID: "FlexibleLearning" on October 28, 2012 at 4:04 AM -0700 wrote: >As requested, the 'Clearview' Clock now includes a dropdown Calendar... I love the app, but the Calendar 'today' marker does not roll over at midnight to the next date. I launched the app yesterday and today when I drop down the calendar, it still had a box around the 28 of October when today is the 29th. I exited the app and then launched again and the date is now showing correctly for today. Stewart From mwieder at ahsoftware.net Mon Oct 29 21:23:48 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 29 Oct 2012 18:23:48 -0700 Subject: Images in Data Grids In-Reply-To: References: <1841006737328.20121029000129@ahsoftware.net> <951053429578.20121029125942@ahsoftware.net> Message-ID: <781072875609.20121029182348@ahsoftware.net> Pete- Monday, October 29, 2012, 1:26:44 PM, you wrote: > Cool! How do you get them into the datagrid? Using FillInData or > something? Even a short form answer is too long for a list response (maybe I'll find time to do a lesson on this if there isn't one already), but yes, in short FillInData is where you unpack the array you have previously set up. If you want to look at the gory details, grab the PowerTools trial version from revOnLine - it's mostly unprotected so you can see the scripts. Then look at the behavior script of group "WidgetsGrid" of card "main" for FillInData. And in the card script at the uiPopulateGrid and StuffOneRow handlers. http://revonline2.runrev.com/stack/588/PowerTools-v1-0-7-trial But, seriously, DataGridHelper. -- -Mark Wieder mwieder at ahsoftware.net From nm at studionm.pl Tue Oct 30 02:09:41 2012 From: nm at studionm.pl (Marek Niesiobedzki) Date: Tue, 30 Oct 2012 07:09:41 +0100 Subject: Images in Data Grids Message-ID: <764F63F3-35B4-4C5A-A024-217FA6AEFA73@studionm.pl> Maybe the solution is to put button into cell template Marek From sc at sahores-conseil.com Tue Oct 30 06:06:15 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Tue, 30 Oct 2012 11:06:15 +0100 Subject: [OT] Database Engine Comparison In-Reply-To: References: Message-ID: <2C6178E1-C08D-44AB-AA4D-87006A3B08EE@sahores-conseil.com> I use it (PostgreSQL) since 1996 and it never gave me any problem or difficulty. No one crash on any config i had to set up in 17 years (Linux, Solaris, OS X). Just one of the best ACID-RDBMS ever, far before Oracle or Sybase? and BSD2 licensed ! Le 29 oct. 2012 ? 22:25, Lynn Fredricks a ?crit : >> Postgres also has better licensing terms too. If there's a >> choice then use Postgres. The biggest problem with Postgres >> is I usually use MySQL workbench for db design. If anyone >> knows an equivalent db design tool that does SQLite schema >> export then I'm keen to hear about it. > > Postgre licensing doesn't have the developer gotchas of MySQL. It is > relatively worry free. > > Best regards, > > Lynn Fredricks > President > Paradigma Software > http://www.paradigmasoft.com > > Valentina SQL Server: The Ultra-fast, Royalty Free Database Server > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 info at multimedial.de Tue Oct 30 07:58:51 2012 From: info at multimedial.de (Christophe Leske) Date: Tue, 30 Oct 2012 12:58:51 +0100 Subject: iOS simulator closes right after opening of app In-Reply-To: References: <146B7FC6-B8C1-4A81-B84D-419C776EC9E4@comcast.net> <508AC752.7040904@fourthworld.com> Message-ID: <508FC0FB.3020004@multimedial.de> Hi there, i am an old time Director user who recently switched to LiveCode for mobile development. Thanks to Colin Holgate for pointing me to this list. After trying to figure out how to write and test my apps, I ran into a couple of issues which I cannot resolve... sigh. I am trying to test my app using the simulator. There is an app for iPad and one for the iPhone. I updated my OS to Mountain Lion (which is probably what is causing the trouble) and XCode to 4.5.5 in order to get the latest iOS SDK 6.0. NOW: - any previous SDK version does not run in the simulator, it is said that the SDK cannot be found (although I am offered a file picker showing a director in which there is the SDK 4.3 and 5.0), but it won't work. Probably has to do with the fact that I have uninstalled XCode 4.3.3 previously? Can one reinstall older SDKs/Xcode versions on Lion? - even when switching my app to the new iOS6 SDK, the simulator opens, shows the splash screen, then recloses the app right away without showing my stack. What gives? Am I missing something? I feel like upgrading to Mountain Lion was not such a good idea after all and I should have stuck with Lion instead - sigh... no downgrade possible I guess. Although this is my first post, I am already so tired of all this up-,down- and sidegrading issues. I switched to the mac thinking that i would "just work". Was apparently mistaken... Thanks for any help you might be able to provide, -- Christophe Leske multimedial.de ---------------------------------------- www.multimedial.de - info at multimedial.de Hohler Strasse 17 - 51645 Gummersbach +49(0)2261-99824540 // +49(0)177-2497031 ---------------------------------------- From 3mcgrath at comcast.net Tue Oct 30 09:02:00 2012 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Tue, 30 Oct 2012 09:02:00 -0400 Subject: iOS simulator closes right after opening of app In-Reply-To: <508FC0FB.3020004@multimedial.de> References: <146B7FC6-B8C1-4A81-B84D-419C776EC9E4@comcast.net> <508AC752.7040904@fourthworld.com> <508FC0FB.3020004@multimedial.de> Message-ID: Christophe, Any time you have a new Desktop OS, and a new Development IDE, and a new iOS, and a new Livecode version you are bound to run into issues until everything gets worked out and all caveats are resolved. As far as I know this would be the same on any platform. With the new xCode, Apple decided to include a few simulators but only the one SDK. A few things to consider are: 1. GIve everything time to register. (xCode is tied into the Developer website for Provisioning Certs, etc.) 2. Open xCode to start the download of extras and specifically you need to download Legacy Simulators. 3. In Livecode check your preferences for mobile and re-link to the new xCode, ONLY. (conflicting xCodes will interfere with running the simulator) 4. In standalone settings for your app give the app a unique Internal App ID (if not you will run into a problem, or delete any versions of the app on the simulator) 5. In standalone settings re-select your Profile. 6. Save the App to set these settings. 7. Occasionally, you have to go fishing in Erie. (Don't laugh, this solved the whole problem for me.) 8. Reboot as necessary. Actually, what really happened was that I rebooted my computer after the weekend fishing and all was fine so it just took time to settle in. Thomas J McGrath III 3mcgrath at comcast.net Lazy River Software http://lazyriver.on-rev.com On Oct 30, 2012, at 7:58 AM, Christophe Leske wrote: > Hi there, > > i am an old time Director user who recently switched to LiveCode for mobile development. > Thanks to Colin Holgate for pointing me to this list. > > After trying to figure out how to write and test my apps, I ran into a couple of issues which I cannot resolve... sigh. > > I am trying to test my app using the simulator. There is an app for iPad and one for the iPhone. > > I updated my OS to Mountain Lion (which is probably what is causing the trouble) and XCode to 4.5.5 in order to get the latest iOS SDK 6.0. > > > NOW: > - any previous SDK version does not run in the simulator, it is said that the SDK cannot be found (although I am offered a file picker showing a director in which there is the SDK 4.3 and 5.0), but it won't work. > Probably has to do with the fact that I have uninstalled XCode 4.3.3 previously? > > Can one reinstall older SDKs/Xcode versions on Lion? > > - even when switching my app to the new iOS6 SDK, the simulator opens, shows the splash screen, then recloses the app right away without showing my stack. > > What gives? Am I missing something? > > > I feel like upgrading to Mountain Lion was not such a good idea after all and I should have stuck with Lion instead - sigh... no downgrade possible I guess. > > > Although this is my first post, I am already so tired of all this up-,down- and sidegrading issues. I switched to the mac thinking that i would "just work". > > Was apparently mistaken... > > > Thanks for any help you might be able to provide, > > -- > Christophe Leske > multimedial.de > > ---------------------------------------- > www.multimedial.de - info at multimedial.de > Hohler Strasse 17 - 51645 Gummersbach > +49(0)2261-99824540 // +49(0)177-2497031 > ---------------------------------------- > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From info at multimedial.de Tue Oct 30 09:07:29 2012 From: info at multimedial.de (Christophe Leske) Date: Tue, 30 Oct 2012 14:07:29 +0100 Subject: iOS simulator closes right after opening of app In-Reply-To: References: <146B7FC6-B8C1-4A81-B84D-419C776EC9E4@comcast.net> <508AC752.7040904@fourthworld.com> <508FC0FB.3020004@multimedial.de> Message-ID: <508FD111.4000006@multimedial.de> Am 30.10.12 14:02, schrieb Thomas McGrath III: > Actually, what really happened was that I rebooted my computer after the weekend fishing and all was fine so it just took time to settle in. > Hello Thomas, thank you for your reply. Downloading and installing the old simulator fixed it for me, I can now run and test my app in the newly installed 5.1 simulator just fine. But just to make sure: there are people here on the list, using MacOS X Mountain Lion (10.8), running apps in the simulator with the iOS 6.0 SDK, right? Becuase that is still not working for me. The app which runs fine in the 5.1 simulator just recloses after startup when running in the iOS 6 simulator (goes the same when switching the SDK to version number 6.0). I just want to make sure that I am not trying something which is known to cause problems, -- Christophe Leske multimedial.de ---------------------------------------- www.multimedial.de - info at multimedial.de Hohler Strasse 17 - 51645 Gummersbach +49(0)2261-99824540 // +49(0)177-2497031 ---------------------------------------- From coiin at verizon.net Tue Oct 30 09:28:00 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 30 Oct 2012 09:28:00 -0400 Subject: iOS simulator closes right after opening of app In-Reply-To: <508FC0FB.3020004@multimedial.de> References: <146B7FC6-B8C1-4A81-B84D-419C776EC9E4@comcast.net> <508AC752.7040904@fourthworld.com> <508FC0FB.3020004@multimedial.de> Message-ID: <8C3A87E8-0A91-49F6-B109-A5067F6E87E7@verizon.net> Welcome! Not sure where you got Xcode 4.5.5 from, the latest prerelease one I can see is 4.5.2, and when I get prerelease ones I tend to keep the existing release one installed too, which would be 4.5.1. In Xcode Preferences there is Downloads section, where you can download older SDKs for it to use. To use The latest Xcode you want to make sure you're using the release version of LiveCode 5.5.3. Earlier versions did give the symptom where the app would open and then immediately quit. From info at multimedial.de Tue Oct 30 09:33:48 2012 From: info at multimedial.de (Christophe Leske) Date: Tue, 30 Oct 2012 14:33:48 +0100 Subject: iOS simulator closes right after opening of app In-Reply-To: <8C3A87E8-0A91-49F6-B109-A5067F6E87E7@verizon.net> References: <146B7FC6-B8C1-4A81-B84D-419C776EC9E4@comcast.net> <508AC752.7040904@fourthworld.com> <508FC0FB.3020004@multimedial.de> <8C3A87E8-0A91-49F6-B109-A5067F6E87E7@verizon.net> Message-ID: <508FD73C.7080606@multimedial.de> Am Tue Oct 30 14:28:00 2012 schrieb Colin Holgate: > Welcome! > > Not sure where you got Xcode 4.5.5 from, the latest prerelease one I can see is 4.5.2, and when I get prerelease ones I tend to keep the existing release one installed too, which would be 4.5.1. Hi, my fault, I got indeed 4.5.1 (downloaded from the app store). > In Xcode Preferences there is Downloads section, where you can download older SDKs for it to use. Yes, I found that and that got me going with the 5.1 simulator. > To use The latest Xcode you want to make sure you're using the release version of LiveCode 5.5.3. Earlier versions did give the symptom where the app would open and then immediately quit. Ok, so this is where I get uncomfortable, as I am just a normal paying customer. I got 5.5.2 here - in order to get access to the latest LiveCode Version, i am supposed to subscribe to a developer's program? I find that to be quite daft after having paid 500? in order to get the software license! -- Christophe Leske multimedial.de ---------------------------------------- www.multimedial.de - info at multimedial.de Hohler Strasse 17 - 51645 Gummersbach +49(0)2261-99824540 // +49(0)177-2497031 ---------------------------------------- From matthias_livecode_150811 at m-r-d.de Tue Oct 30 09:35:55 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 30 Oct 2012 14:35:55 +0100 Subject: iOS simulator closes right after opening of app In-Reply-To: <8C3A87E8-0A91-49F6-B109-A5067F6E87E7@verizon.net> References: <146B7FC6-B8C1-4A81-B84D-419C776EC9E4@comcast.net> <508AC752.7040904@fourthworld.com> <508FC0FB.3020004@multimedial.de> <8C3A87E8-0A91-49F6-B109-A5067F6E87E7@verizon.net> Message-ID: Hi Christophe, welcome to the list. There is also a little problem with the ios 6 simulator: The new simulator does not like like apps with the same domain installed in your simulator. This could give an error message like "Unable to start simulation: iOS Simulator failed to install application." This is not a LiveCode problem, but an iOS 6 simulator issue. Regards, Matthias -- Matthias Rebbe matthias (at) rebbe.tk Tel +49.5741.310000 Tel +49.160.5504462 -- "Life is too short for boring code" Am 30.10.2012 um 14:28 schrieb Colin Holgate : > Welcome! > > Not sure where you got Xcode 4.5.5 from, the latest prerelease one I can see is 4.5.2, and when I get prerelease ones I tend to keep the existing release one installed too, which would be 4.5.1. > > In Xcode Preferences there is Downloads section, where you can download older SDKs for it to use. > > To use The latest Xcode you want to make sure you're using the release version of LiveCode 5.5.3. Earlier versions did give the symptom where the app would open and then immediately quit. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From info at multimedial.de Tue Oct 30 09:37:14 2012 From: info at multimedial.de (Christophe Leske) Date: Tue, 30 Oct 2012 14:37:14 +0100 Subject: iOS simulator closes right after opening of app In-Reply-To: <508FD73C.7080606@multimedial.de> References: <146B7FC6-B8C1-4A81-B84D-419C776EC9E4@comcast.net> <508AC752.7040904@fourthworld.com> <508FC0FB.3020004@multimedial.de> <8C3A87E8-0A91-49F6-B109-A5067F6E87E7@verizon.net> <508FD73C.7080606@multimedial.de> Message-ID: <508FD80A.9050004@multimedial.de> > Ok, so this is where I get uncomfortable, as I am just a normal paying > customer. > I got 5.5.2 here - in order to get access to the latest LiveCode > Version, i am supposed to subscribe to a developer's program? > > I find that to be quite daft after having paid 500? in order to get > the software license! Apologies again, version 5.5.3 slipped through my attention, I got it from the livecode website... Will check if that does the trick. Thanks Colin! -- Christophe Leske multimedial.de ---------------------------------------- www.multimedial.de - info at multimedial.de Hohler Strasse 17 - 51645 Gummersbach +49(0)2261-99824540 // +49(0)177-2497031 ---------------------------------------- From matthias_livecode_150811 at m-r-d.de Tue Oct 30 09:39:44 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 30 Oct 2012 14:39:44 +0100 Subject: iOS simulator closes right after opening of app In-Reply-To: <508FD73C.7080606@multimedial.de> References: <146B7FC6-B8C1-4A81-B84D-419C776EC9E4@comcast.net> <508AC752.7040904@fourthworld.com> <508FC0FB.3020004@multimedial.de> <8C3A87E8-0A91-49F6-B109-A5067F6E87E7@verizon.net> <508FD73C.7080606@multimedial.de> Message-ID: <0BEAAE7C-775E-493B-9CED-F014612FE6C4@m-r-d.de> Christophe, when did you purchase? Try to contact support at runrev.com and describe your problem with the iOS6 simulator. Maybe they find a solution for you. They are more than fair. Regards, Matthias -- Matthias Rebbe matthias (at) rebbe.tk Tel +49.5741.310000 Tel +49.160.5504462 -- "Life is too short for boring code" Am 30.10.2012 um 14:33 schrieb Christophe Leske : > Am Tue Oct 30 14:28:00 2012 schrieb Colin Holgate: >> Welcome! >> >> Not sure where you got Xcode 4.5.5 from, the latest prerelease one I can see is 4.5.2, and when I get prerelease ones I tend to keep the existing release one installed too, which would be 4.5.1. > > > Hi, > > my fault, I got indeed 4.5.1 (downloaded from the app store). > >> In Xcode Preferences there is Downloads section, where you can download older SDKs for it to use. > > Yes, I found that and that got me going with the 5.1 simulator. > > >> To use The latest Xcode you want to make sure you're using the release version of LiveCode 5.5.3. Earlier versions did give the symptom where the app would open and then immediately quit. > > Ok, so this is where I get uncomfortable, as I am just a normal paying customer. > I got 5.5.2 here - in order to get access to the latest LiveCode Version, i am supposed to subscribe to a developer's program? > > I find that to be quite daft after having paid 500? in order to get the software license! > > > -- > Christophe Leske > multimedial.de > > ---------------------------------------- > www.multimedial.de - info at multimedial.de > Hohler Strasse 17 - 51645 Gummersbach > +49(0)2261-99824540 // +49(0)177-2497031 > ---------------------------------------- > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From info at multimedial.de Tue Oct 30 09:40:04 2012 From: info at multimedial.de (Christophe Leske) Date: Tue, 30 Oct 2012 14:40:04 +0100 Subject: iOS simulator closes right after opening of app In-Reply-To: <508FD80A.9050004@multimedial.de> References: <146B7FC6-B8C1-4A81-B84D-419C776EC9E4@comcast.net> <508AC752.7040904@fourthworld.com> <508FC0FB.3020004@multimedial.de> <8C3A87E8-0A91-49F6-B109-A5067F6E87E7@verizon.net> <508FD73C.7080606@multimedial.de> <508FD80A.9050004@multimedial.de> Message-ID: <508FD8B4.4080204@multimedial.de> Hi Matthias et al, the new version 5.5.3 got me going again, I am fine now besides the fact that my OS X harddisk is now completely filled... But thanks for the quick turnaround! Greets, Christophe Leske From coiin at verizon.net Tue Oct 30 09:43:29 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 30 Oct 2012 09:43:29 -0400 Subject: iOS simulator closes right after opening of app In-Reply-To: <508FD73C.7080606@multimedial.de> References: <146B7FC6-B8C1-4A81-B84D-419C776EC9E4@comcast.net> <508AC752.7040904@fourthworld.com> <508FC0FB.3020004@multimedial.de> <8C3A87E8-0A91-49F6-B109-A5067F6E87E7@verizon.net> <508FD73C.7080606@multimedial.de> Message-ID: To get prerelease ones you would, yes, but check your RunRev account, see if the is 5.5.3 release version waiting for you. On Oct 30, 2012, at 9:33 AM, Christophe Leske wrote: > > > Ok, so this is where I get uncomfortable, as I am just a normal paying customer. > I got 5.5.2 here - in order to get access to the latest LiveCode Version, i am supposed to subscribe to a developer's program? From cmsheffield at me.com Tue Oct 30 11:36:03 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Tue, 30 Oct 2012 09:36:03 -0600 Subject: a little unicode help Message-ID: <16580480-E055-47EF-A1D2-B85DE57D03EE@me.com> I know several of you out there are unicode "experts". I'm in need of a little help with something. Working on an iPad app. At one point I'm using a native input text field to get the user's name. Until yesterday I was simply retrieving the text property of the field and all was working well. But we have a tester who is Russian speaking, and yesterday I received a report from him that when using his Russian keyboard on the iPad, the app was crashing at the point that it retrieves the text from the field. This is probably some kind of bug, as the app should not crash like this, but I'll deal with that later since I think I've found the workaround. I discovered that I could use the unicodeText property of the field instead and avoid the crash, and it would retrieve the Russian characters without a problem. However, when I want back to test using the English keyboard again, I end up with garbled text, of course. I've tried using various combinations of uniDecode and uniEncode, but nothing seems to work correctly. I either end up with garbled English characters, or garbled Russian (or any other language that uses unicode characters for that matter). So what it boils down to is this. Is there any way to detect if a string of characters contains unicode characters? If I could detect unicode vs. non-unicode, I think I could make this work like I want. Or maybe there's a better way? I just need something that will not crash, and that will correctly retrieve the text that's entered into the field. This user name gets saved to a sqlite database, btw. I'm not sure if anything needs to be taken into consideration for that or not. Any takers? Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From m.schonewille at economy-x-talk.com Tue Oct 30 11:42:24 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 30 Oct 2012 16:42:24 +0100 Subject: a little unicode help In-Reply-To: <16580480-E055-47EF-A1D2-B85DE57D03EE@me.com> References: <16580480-E055-47EF-A1D2-B85DE57D03EE@me.com> Message-ID: <72C2C53F-6E3E-466E-B0C6-03FAF37596ED@economy-x-talk.com> Hi Chris, Just consider all text as unicode. I'm not sure that it is possible to display different types of unicode (Japanese, Hebrew, English, Russian, Thai) next to each other in one field. This used to be impossible, but I hope this was changed in the latest version of LC. -- 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 On 30 okt 2012, at 16:36, Chris Sheffield wrote: > I know several of you out there are unicode "experts". I'm in need of a little help with something. > > Working on an iPad app. At one point I'm using a native input text field to get the user's name. Until yesterday I was simply retrieving the text property of the field and all was working well. But we have a tester who is Russian speaking, and yesterday I received a report from him that when using his Russian keyboard on the iPad, the app was crashing at the point that it retrieves the text from the field. This is probably some kind of bug, as the app should not crash like this, but I'll deal with that later since I think I've found the workaround. I discovered that I could use the unicodeText property of the field instead and avoid the crash, and it would retrieve the Russian characters without a problem. However, when I want back to test using the English keyboard again, I end up with garbled text, of course. I've tried using various combinations of uniDecode and uniEncode, but nothing seems to work correctly. I either end up with garbled English characters, or garbled Russian (or any other language that uses unicode characters for that matter). > > So what it boils down to is this. Is there any way to detect if a string of characters contains unicode characters? If I could detect unicode vs. non-unicode, I think I could make this work like I want. Or maybe there's a better way? I just need something that will not crash, and that will correctly retrieve the text that's entered into the field. This user name gets saved to a sqlite database, btw. I'm not sure if anything needs to be taken into consideration for that or not. > > Any takers? > > Thanks, > Chris > From cmsheffield at me.com Tue Oct 30 11:51:11 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Tue, 30 Oct 2012 09:51:11 -0600 Subject: a little unicode help In-Reply-To: <72C2C53F-6E3E-466E-B0C6-03FAF37596ED@economy-x-talk.com> References: <16580480-E055-47EF-A1D2-B85DE57D03EE@me.com> <72C2C53F-6E3E-466E-B0C6-03FAF37596ED@economy-x-talk.com> Message-ID: Thanks for the quick reply, Mark. I've tried treating all text as unicode, but the characters from the English keyboard still don't work right. But maybe my problem is in the conversion. So I'm retrieving the unicodeText property of the native text field. Then I'm using the unicodeText property of a LiveCode field to display the entered text. And in that field, I either have garbled text, or it just gets chopped off, only displaying maybe the first character. There is something goofy, but I think it's probably just my lack of knowledge of how this should work. Chris On Oct 30, 2012, at 9:42 AM, Mark Schonewille wrote: > Hi Chris, > > Just consider all text as unicode. > > I'm not sure that it is possible to display different types of unicode (Japanese, Hebrew, English, Russian, Thai) next to each other in one field. This used to be impossible, but I hope this was changed in the latest version of LC. > > -- > 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 > > > > On 30 okt 2012, at 16:36, Chris Sheffield wrote: > >> I know several of you out there are unicode "experts". I'm in need of a little help with something. >> >> Working on an iPad app. At one point I'm using a native input text field to get the user's name. Until yesterday I was simply retrieving the text property of the field and all was working well. But we have a tester who is Russian speaking, and yesterday I received a report from him that when using his Russian keyboard on the iPad, the app was crashing at the point that it retrieves the text from the field. This is probably some kind of bug, as the app should not crash like this, but I'll deal with that later since I think I've found the workaround. I discovered that I could use the unicodeText property of the field instead and avoid the crash, and it would retrieve the Russian characters without a problem. However, when I want back to test using the English keyboard again, I end up with garbled text, of course. I've tried using various combinations of uniDecode and uniEncode, but nothing seems to work correctly. I either end up with garbled English characters, or garbled Russian > (or any other language that uses unicode characters for that matter). >> >> So what it boils down to is this. Is there any way to detect if a string of characters contains unicode characters? If I could detect unicode vs. non-unicode, I think I could make this work like I want. Or maybe there's a better way? I just need something that will not crash, and that will correctly retrieve the text that's entered into the field. This user name gets saved to a sqlite database, btw. I'm not sure if anything needs to be taken into consideration for that or not. >> >> Any takers? >> >> Thanks, >> Chris >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Tue Oct 30 11:57:11 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 30 Oct 2012 16:57:11 +0100 Subject: a little unicode help In-Reply-To: References: <16580480-E055-47EF-A1D2-B85DE57D03EE@me.com> <72C2C53F-6E3E-466E-B0C6-03FAF37596ED@economy-x-talk.com> Message-ID: <29D6F3F7-2F13-4FB7-A048-2F0AE2BFEEE2@economy-x-talk.com> Chris, Post your script to show the encoding. You should encode Russian and English text in exactly the same way. If it works for Russian, then it works for English. If it only disaplays the first character, then there is probable a NULL character somewhere, which indicates double-byte encoding, while your scripts treats it as single-byte encoding. Just a hunch. -- 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 On 30 okt 2012, at 16:51, Chris Sheffield wrote: > Thanks for the quick reply, Mark. > > I've tried treating all text as unicode, but the characters from the English keyboard still don't work right. But maybe my problem is in the conversion. So I'm retrieving the unicodeText property of the native text field. Then I'm using the unicodeText property of a LiveCode field to display the entered text. And in that field, I either have garbled text, or it just gets chopped off, only displaying maybe the first character. There is something goofy, but I think it's probably just my lack of knowledge of how this should work. > > Chris From dan at clearvisiontech.com Tue Oct 30 12:02:21 2012 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 30 Oct 2012 09:02:21 -0700 Subject: Scripting shades of colors? In-Reply-To: References: Message-ID: Michael, Here is a function that I use to lighten a color. You could modify this to get a darker color as well. Hope it helps. function lightenColor origColor try repeat with i = 1 to 3 add 50 to item i of origColor if item i of origColor > 255 then put 255 into item i of origColor if item i of origColor < 0 then put 0 into item i of origColor end repeat return origColor catch tSomeErr return origColor end try end lightenColor -Dan > Hi there > > Lets say I have a color a,b,c > > Now I want the same color but fx 10% darker and 10 % lighter. > > (As if you in the colorwheel palette dragged the scrollbar-thumb a little down and a little up) > > How could one script this? > > Thanks > Michael From michael-kristensen at dsa-net.dk Tue Oct 30 12:17:10 2012 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Tue, 30 Oct 2012 17:17:10 +0100 Subject: Scripting shades of colors? In-Reply-To: References: Message-ID: Hi Jan This was spot on! Thanks for your reply and stack Michael > Hi Michael, > > > You might be interested in Quartam Color Library for LiveCode - a free / open source software project available under the commercial-friendly LGPL license. > > It has built-in functions for producing lighter and darker colors based on an RGB triplet. > For more information and download, just visit > > > HTH, > > Jan Schenkel. From cmsheffield at me.com Tue Oct 30 12:32:16 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Tue, 30 Oct 2012 10:32:16 -0600 Subject: a little unicode help In-Reply-To: <29D6F3F7-2F13-4FB7-A048-2F0AE2BFEEE2@economy-x-talk.com> References: <16580480-E055-47EF-A1D2-B85DE57D03EE@me.com> <72C2C53F-6E3E-466E-B0C6-03FAF37596ED@economy-x-talk.com> <29D6F3F7-2F13-4FB7-A048-2F0AE2BFEEE2@economy-x-talk.com> Message-ID: Mark, Here's a selection of my code. It really is quite simple. I first retrieve the text from the native text input control: put mobileControlGet(myInputID,"unicodeText") into tUserName This user name then gets saved to a SQLite database. Then the user name is placed in a LiveCode field using: set the unicodeText of field "name" to tUserName This works if I use the Russian keyboard to enter text (I've just been using Russian, btw; I imagine the same problem would occur with any language). However, if I enter a name using the English keyboard, it doesn't work. The LiveCode is either empty or, in some cases, it will display the first character only. I think the breakdown is in saving to the database. It seems like SQLite's unicode conversion may not be working correctly. But I tried a uniDecode() when saving to the db, and a uniEncode when retrieving, and that didn't seem to make any difference. Have you ever dealt with this before? Any other thoughts? Thanks for you help, Chris On Oct 30, 2012, at 9:57 AM, Mark Schonewille wrote: > Chris, > > Post your script to show the encoding. You should encode Russian and English text in exactly the same way. If it works for Russian, then it works for English. > > If it only disaplays the first character, then there is probable a NULL character somewhere, which indicates double-byte encoding, while your scripts treats it as single-byte encoding. Just a hunch. > > -- > 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 > > > > On 30 okt 2012, at 16:51, Chris Sheffield wrote: > >> Thanks for the quick reply, Mark. >> >> I've tried treating all text as unicode, but the characters from the English keyboard still don't work right. But maybe my problem is in the conversion. So I'm retrieving the unicodeText property of the native text field. Then I'm using the unicodeText property of a LiveCode field to display the entered text. And in that field, I either have garbled text, or it just gets chopped off, only displaying maybe the first character. There is something goofy, but I think it's probably just my lack of knowledge of how this should work. >> >> Chris > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Tue Oct 30 12:44:42 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 30 Oct 2012 17:44:42 +0100 Subject: a little unicode help In-Reply-To: References: <16580480-E055-47EF-A1D2-B85DE57D03EE@me.com> <72C2C53F-6E3E-466E-B0C6-03FAF37596ED@economy-x-talk.com> <29D6F3F7-2F13-4FB7-A048-2F0AE2BFEEE2@economy-x-talk.com> Message-ID: <6BD4310F-8B5C-4DCB-9537-F7CAE483C3A2@economy-x-talk.com> Hi Chris, Are you 1) first retrieving the data from the native text field as unicode, then saving the data to SQLite, then reading it from SQLite and finally setting the text of the LiveCode field or 2) just retrieving the data from the native text field and immediately setting the unicodeText of the LiveCode field while also at some point saving the data to SQLite without affecting any of the variables containing the data? If you are reading data from SQLite, then SQLite probably expects UTF8 while you're saving UTF16. Before you save data to SQLite, convert it: put uniDecode(tUserName,"UTF8") into tUserName and after you retreive it from SQLite encode it: put uniEncode(tUserName,"UTF8") into tUserName -- 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 On 30 okt 2012, at 17:32, Chris Sheffield wrote: > Mark, > > Here's a selection of my code. It really is quite simple. > > I first retrieve the text from the native text input control: > > put mobileControlGet(myInputID,"unicodeText") into tUserName > > This user name then gets saved to a SQLite database. Then the user name is placed in a LiveCode field using: > > set the unicodeText of field "name" to tUserName > > This works if I use the Russian keyboard to enter text (I've just been using Russian, btw; I imagine the same problem would occur with any language). However, if I enter a name using the English keyboard, it doesn't work. The LiveCode is either empty or, in some cases, it will display the first character only. > > I think the breakdown is in saving to the database. It seems like SQLite's unicode conversion may not be working correctly. But I tried a uniDecode() when saving to the db, and a uniEncode when retrieving, and that didn't seem to make any difference. Have you ever dealt with this before? Any other thoughts? > > Thanks for you help, > Chris > From cmsheffield at me.com Tue Oct 30 13:38:20 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Tue, 30 Oct 2012 11:38:20 -0600 Subject: a little unicode help In-Reply-To: <6BD4310F-8B5C-4DCB-9537-F7CAE483C3A2@economy-x-talk.com> References: <16580480-E055-47EF-A1D2-B85DE57D03EE@me.com> <72C2C53F-6E3E-466E-B0C6-03FAF37596ED@economy-x-talk.com> <29D6F3F7-2F13-4FB7-A048-2F0AE2BFEEE2@economy-x-talk.com> <6BD4310F-8B5C-4DCB-9537-F7CAE483C3A2@economy-x-talk.com> Message-ID: Excellent! That seems to have done the trick. I had thought about trying that at one point, but hadn't quite gotten that far. Thanks again for the help. Chris On Oct 30, 2012, at 10:44 AM, Mark Schonewille wrote: > Hi Chris, > > Are you 1) first retrieving the data from the native text field as unicode, then saving the data to SQLite, then reading it from SQLite and finally setting the text of the LiveCode field or 2) just retrieving the data from the native text field and immediately setting the unicodeText of the LiveCode field while also at some point saving the data to SQLite without affecting any of the variables containing the data? > > If you are reading data from SQLite, then SQLite probably expects UTF8 while you're saving UTF16. Before you save data to SQLite, convert it: > > put uniDecode(tUserName,"UTF8") into tUserName > > and after you retreive it from SQLite encode it: > > put uniEncode(tUserName,"UTF8") into tUserName > > -- > 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 > > > > On 30 okt 2012, at 17:32, Chris Sheffield wrote: > >> Mark, >> >> Here's a selection of my code. It really is quite simple. >> >> I first retrieve the text from the native text input control: >> >> put mobileControlGet(myInputID,"unicodeText") into tUserName >> >> This user name then gets saved to a SQLite database. Then the user name is placed in a LiveCode field using: >> >> set the unicodeText of field "name" to tUserName >> >> This works if I use the Russian keyboard to enter text (I've just been using Russian, btw; I imagine the same problem would occur with any language). However, if I enter a name using the English keyboard, it doesn't work. The LiveCode is either empty or, in some cases, it will display the first character only. >> >> I think the breakdown is in saving to the database. It seems like SQLite's unicode conversion may not be working correctly. But I tried a uniDecode() when saving to the db, and a uniEncode when retrieving, and that didn't seem to make any difference. Have you ever dealt with this before? Any other thoughts? >> >> Thanks for you help, >> Chris >> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Tue Oct 30 13:42:11 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 30 Oct 2012 10:42:11 -0700 Subject: Images in Data Grids In-Reply-To: <781072875609.20121029182348@ahsoftware.net> References: <1841006737328.20121029000129@ahsoftware.net> <951053429578.20121029125942@ahsoftware.net> <781072875609.20121029182348@ahsoftware.net> Message-ID: Thanks Mark, I'll take a look. Pete lcSQL Software On Mon, Oct 29, 2012 at 6:23 PM, Mark Wieder wrote: > Pete- > > Monday, October 29, 2012, 1:26:44 PM, you wrote: > > > Cool! How do you get them into the datagrid? Using FillInData or > > something? > > Even a short form answer is too long for a list response (maybe I'll > find time to do a lesson on this if there isn't one already), but yes, > in short FillInData is where you unpack the array you have previously > set up. If you want to look at the gory details, grab the PowerTools > trial version from revOnLine - it's mostly unprotected so you can see > the scripts. Then look at the behavior script of group "WidgetsGrid" > of card "main" for FillInData. And in the card script at the > uiPopulateGrid and StuffOneRow handlers. > > http://revonline2.runrev.com/stack/588/PowerTools-v1-0-7-trial > > But, seriously, DataGridHelper. > > -- > -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 rolf.kocherhans at id.uzh.ch Tue Oct 30 13:43:16 2012 From: rolf.kocherhans at id.uzh.ch (Rolf Kocherhans) Date: Tue, 30 Oct 2012 18:43:16 +0100 Subject: [TEASER] "Kochi Mini SVN" a very simple "Script-Level Version Control System" for LiveCode Message-ID: <22723FFB-48D0-4FD0-AD01-9194ED975A3B@id.uzh.ch> Hello LiveCoder's Just a little teaser of a tool I made. Recently there was a lot of talk on both lists about Script-Level Version Control. I have created a plugin that just fits into that niche and it's just about ready for prime time ! Are you interested ? Check it out at http://dl.dropbox.com/u/616613/Kochi_SVN_Installer.mov it is the first demo of "Kochi Mini SVN" in public. PLEASE GIVE THE MOVIE SOME TIME TO LOAD ! Have fun as always Cheers Rolf From eriks at sisyph.us Tue Oct 30 13:46:03 2012 From: eriks at sisyph.us (Erik Schwartz) Date: Tue, 30 Oct 2012 10:46:03 -0700 Subject: [OT] New ChromeBook In-Reply-To: References: Message-ID: I've been using the chromebook I got at google IO since spring of 2011. If you live in cloud based apps (google docs, email, other web apps) it's awesome. Terrific battery life. Wakes up and sleeps instantly. If you live in desktop apps or you find yourself without a good internet connection, it is pretty useless. I will likely upgrade my Google IO freebee to a new chromebook soon. Erik On Thu, Oct 25, 2012 at 3:03 PM, Peter Haworth wrote: > Anyone tried the new $249 Chromebook? > 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 > -- ========================================== eriks at sisyph.us http://sisyph.us (530) 213-ERIK http://twitter.com/eriks (530) 213-3745 http://www.linkedin.com/in/erikschwartz ========================================== From pete at lcsql.com Tue Oct 30 14:00:00 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 30 Oct 2012 11:00:00 -0700 Subject: Images in Data Grids In-Reply-To: <781072875609.20121029182348@ahsoftware.net> References: <1841006737328.20121029000129@ahsoftware.net> <951053429578.20121029125942@ahsoftware.net> <781072875609.20121029182348@ahsoftware.net> Message-ID: Ah, I see - it's a form not a table. But I learned something new - didn't know images had a text property that represents the image itself. That could probably be used in the FillInData for a datagrid table. Pete lcSQL Software On Mon, Oct 29, 2012 at 6:23 PM, Mark Wieder wrote: > Then look at the behavior script of group "WidgetsGrid" > of card "main" for FillInData. And in the card script at the > uiPopulateGrid and StuffOneRow handlers. > From andre at andregarzia.com Tue Oct 30 14:00:04 2012 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 30 Oct 2012 16:00:04 -0200 Subject: [TEASER] "Kochi Mini SVN" a very simple "Script-Level Version Control System" for LiveCode In-Reply-To: <22723FFB-48D0-4FD0-AD01-9194ED975A3B@id.uzh.ch> References: <22723FFB-48D0-4FD0-AD01-9194ED975A3B@id.uzh.ch> Message-ID: Rolf, Congratulations on your soon to be released tool. A little feedback from the video: - Please during your installation process don't simply quit LiveCode with a dialog. Present the user with the option of exiting or doing it later. The user may have unsaved work in there. - Your comment stripping routines have undo features because if the user accidently clicks the wrong button he/she may lose a lot of work in there. For example, my stacks use comments to generate documentation. If I accidently click the wrong button there and erase all the comments, I will end up in a very bad situation. - Be aware that users on Linux and Windows will have a hard time using the ? character. There is no OPTION+8 on those platforms. cheers andre On Tue, Oct 30, 2012 at 3:43 PM, Rolf Kocherhans wrote: > Hello LiveCoder's > > Just a little teaser of a tool I made. Recently there was a lot of talk on > both lists > about Script-Level Version Control. I have created a plugin that just fits > into that niche > and it's just about ready for prime time ! > > Are you interested ? > > Check it out at http://dl.dropbox.com/u/616613/Kochi_SVN_Installer.mov it > is the > first demo of "Kochi Mini SVN" in public. > > PLEASE GIVE THE MOVIE SOME TIME TO LOAD ! > > Have fun as always > Cheers > Rolf > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From richmondmathewson at gmail.com Tue Oct 30 14:05:01 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 30 Oct 2012 20:05:01 +0200 Subject: a little unicode help In-Reply-To: <16580480-E055-47EF-A1D2-B85DE57D03EE@me.com> References: <16580480-E055-47EF-A1D2-B85DE57D03EE@me.com> Message-ID: <509016CD.1060904@gmail.com> On 10/30/2012 05:36 PM, Chris Sheffield wrote: > I know several of you out there are unicode "experts". I'm in need of a little help with something. > > Working on an iPad app. At one point I'm using a native input text field to get the user's name. Until yesterday I was simply retrieving the text property of the field and all was working well. But we have a tester who is Russian speaking, and yesterday I received a report from him that when using his Russian keyboard on the iPad, the app was crashing at the point that it retrieves the text from the field. This is probably some kind of bug, as the app should not crash like this, but I'll deal with that later since I think I've found the workaround. I discovered that I could use the unicodeText property of the field instead and avoid the crash, and it would retrieve the Russian characters without a problem. However, when I want back to test using the English keyboard again, I end up with garbled text, of course. I've tried using various combinations of uniDecode and uniEncode, but nothing seems to work correctly. I either end up with garbled English characters, or garbled Russian (or any other language that uses unicode characters for that matter). > > So what it boils down to is this. Is there any way to detect if a string of characters contains unicode characters? If I could detect unicode vs. non-unicode, Honestly not sure why this is important; after all the Unicode character set contains within it the old ASCII set; so forget worrying about that difference; after all the whole point about Unicode is that it (should) encompass everything. > I think I could make this work like I want. Or maybe there's a better way? I just need something that will not crash, and that will correctly retrieve the text that's entered into the field. This user name gets saved to a sqlite database, btw. I'm not sure if anything needs to be taken into consideration for that or not. > > Any takers? > > 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 skip at magicgate.com Tue Oct 30 14:05:30 2012 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Tue, 30 Oct 2012 14:05:30 -0400 Subject: [TEASER] "Kochi Mini SVN" a very simple "Script-Level Version Control System" for LiveCode In-Reply-To: References: <22723FFB-48D0-4FD0-AD01-9194ED975A3B@id.uzh.ch> Message-ID: Rolf, I have been waiting for the perfect script level version control and I think what you have come up with is it! Any idea when it might be ready for "consumption?" SKIP > > On Tue, Oct 30, 2012 at 3:43 PM, Rolf Kocherhans > wrote: > >> Hello LiveCoder's >> >> Just a little teaser of a tool I made. Recently there was a lot of talk on >> both lists >> about Script-Level Version Control. I have created a plugin that just fits >> into that niche >> and it's just about ready for prime time ! >> >> Are you interested ? >> >> Check it out at http://dl.dropbox.com/u/616613/Kochi_SVN_Installer.mov it >> is the >> first demo of "Kochi Mini SVN" in public. >> >> PLEASE GIVE THE MOVIE SOME TIME TO LOAD ! >> >> Have fun as always >> Cheers >> Rolf >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Oct 30 14:11:13 2012 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 30 Oct 2012 20:11:13 +0200 Subject: Version control Message-ID: <50901841.6070901@gmail.com> At the risk of being accused of being a kitchen-table sort of programmer I find the easiste way to 'do' version control is to have alarge piece of paper stuck on my office wall, where I have drawn a thing that looks vaguely like those slightly misleading diagrams of phylological evolution that most of us remember from Biology textbooks of the 1950-80s. I draw my branching tree with a standard HB pencil, and make large red blobs where I have a stable version, allowing me, when my development version goes "awry", to backtrack to that version. On a large external HD (750 GB) I have a version of that tree-diagram in the form of directories embedded within each other exactly as per the diagram, and my versions stored within them. My last 3-4 code bases are stored elsewhere as well. Richmond. From pete at lcsql.com Tue Oct 30 14:40:27 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 30 Oct 2012 11:40:27 -0700 Subject: [TEASER] "Kochi Mini SVN" a very simple "Script-Level Version Control System" for LiveCode In-Reply-To: <22723FFB-48D0-4FD0-AD01-9194ED975A3B@id.uzh.ch> References: <22723FFB-48D0-4FD0-AD01-9194ED975A3B@id.uzh.ch> Message-ID: That looks great Rolf! I know it's a little early to be making suggestions but I think it would be really useful to be able to assign a name to the version instead of automatically creating one, possibly as a preference setting. Pete lcSQL Software On Tue, Oct 30, 2012 at 10:43 AM, Rolf Kocherhans wrote: > Hello LiveCoder's > > Just a little teaser of a tool I made. Recently there was a lot of talk on > both lists > about Script-Level Version Control. I have created a plugin that just fits > into that niche > and it's just about ready for prime time ! > > Are you interested ? > > Check it out at http://dl.dropbox.com/u/616613/Kochi_SVN_Installer.mov it > is the > first demo of "Kochi Mini SVN" in public. > > PLEASE GIVE THE MOVIE SOME TIME TO LOAD ! > > Have fun as always > Cheers > Rolf > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From stephenREVOLUTION2 at barncard.com Tue Oct 30 14:49:06 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 30 Oct 2012 11:49:06 -0700 Subject: [TEASER] "Kochi Mini SVN" a very simple "Script-Level Version Control System" for LiveCode In-Reply-To: References: <22723FFB-48D0-4FD0-AD01-9194ED975A3B@id.uzh.ch> Message-ID: Well implemented! Great work. On Tue, Oct 30, 2012 at 11:40 AM, Peter Haworth wrote: > That looks great Rolf! I know it's a little early to be making suggestions > but I think it would be really useful to be able to assign a name to the > version instead of automatically creating one, possibly as a preference > setting. > Pete > lcSQL Software > > > > On Tue, Oct 30, 2012 at 10:43 AM, Rolf Kocherhans < > rolf.kocherhans at id.uzh.ch > > wrote: > > > Hello LiveCoder's > > > > Just a little teaser of a tool I made. Recently there was a lot of talk > on > > both lists > > about Script-Level Version Control. I have created a plugin that just > fits > > into that niche > > and it's just about ready for prime time ! > > > > Are you interested ? > > > > Check it out at http://dl.dropbox.com/u/616613/Kochi_SVN_Installer.movit > > is the > > first demo of "Kochi Mini SVN" in public. > > > > PLEASE GIVE THE MOVIE SOME TIME TO LOAD ! > > > > Have fun as always > > Cheers > > Rolf > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From pete at lcsql.com Tue Oct 30 15:01:43 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 30 Oct 2012 12:01:43 -0700 Subject: a little unicode help In-Reply-To: References: <16580480-E055-47EF-A1D2-B85DE57D03EE@me.com> <72C2C53F-6E3E-466E-B0C6-03FAF37596ED@economy-x-talk.com> <29D6F3F7-2F13-4FB7-A048-2F0AE2BFEEE2@economy-x-talk.com> <6BD4310F-8B5C-4DCB-9537-F7CAE483C3A2@economy-x-talk.com> Message-ID: Interesting. I've had issues with UTF16 and SQLite too so thanks fort the solution. However, according to the SQLite docs, it supports both UTF8 and UTF16 and will convert between them so I wonder why the uniencode/decode calls are necessary. Pete lcSQL Software On Tue, Oct 30, 2012 at 10:38 AM, Chris Sheffield wrote: > Excellent! That seems to have done the trick. I had thought about trying > that at one point, but hadn't quite gotten that far. > > Thanks again for the help. > > Chris > > On Oct 30, 2012, at 10:44 AM, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > > > Hi Chris, > > > > Are you 1) first retrieving the data from the native text field as > unicode, then saving the data to SQLite, then reading it from SQLite and > finally setting the text of the LiveCode field or 2) just retrieving the > data from the native text field and immediately setting the unicodeText of > the LiveCode field while also at some point saving the data to SQLite > without affecting any of the variables containing the data? > > > > If you are reading data from SQLite, then SQLite probably expects UTF8 > while you're saving UTF16. Before you save data to SQLite, convert it: > > > > put uniDecode(tUserName,"UTF8") into tUserName > > > > and after you retreive it from SQLite encode it: > > > > put uniEncode(tUserName,"UTF8") into tUserName > > > > -- > > 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 > > > > > > > > On 30 okt 2012, at 17:32, Chris Sheffield wrote: > > > >> Mark, > >> > >> Here's a selection of my code. It really is quite simple. > >> > >> I first retrieve the text from the native text input control: > >> > >> put mobileControlGet(myInputID,"unicodeText") into tUserName > >> > >> This user name then gets saved to a SQLite database. Then the user name > is placed in a LiveCode field using: > >> > >> set the unicodeText of field "name" to tUserName > >> > >> This works if I use the Russian keyboard to enter text (I've just been > using Russian, btw; I imagine the same problem would occur with any > language). However, if I enter a name using the English keyboard, it > doesn't work. The LiveCode is either empty or, in some cases, it will > display the first character only. > >> > >> I think the breakdown is in saving to the database. It seems like > SQLite's unicode conversion may not be working correctly. But I tried a > uniDecode() when saving to the db, and a uniEncode when retrieving, and > that didn't seem to make any difference. Have you ever dealt with this > before? Any other thoughts? > >> > >> Thanks for you help, > >> Chris > >> > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Tue Oct 30 15:03:15 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 30 Oct 2012 12:03:15 -0700 Subject: [OT] New ChromeBook In-Reply-To: References: Message-ID: Thanks for the feedback Erik. Pete lcSQL Software On Tue, Oct 30, 2012 at 10:46 AM, Erik Schwartz wrote: > I've been using the chromebook I got at google IO since spring of 2011. If > you live in cloud based apps (google docs, email, other web apps) it's > awesome. Terrific battery life. Wakes up and sleeps instantly. If you live > in desktop apps or you find yourself without a good internet connection, it > is pretty useless. > > I will likely upgrade my Google IO freebee to a new chromebook soon. > > Erik > > On Thu, Oct 25, 2012 at 3:03 PM, Peter Haworth wrote: > > > Anyone tried the new $249 Chromebook? > > 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 > > > > > > -- > ========================================== > eriks at sisyph.us http://sisyph.us > (530) 213-ERIK http://twitter.com/eriks > (530) 213-3745 http://www.linkedin.com/in/erikschwartz > ========================================== > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Tue Oct 30 17:31:30 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 30 Oct 2012 14:31:30 -0700 Subject: Control Key on Linux Message-ID: Since I don't have a Linux box, can someone let me know if their keyboards typically have a control key, like a Mac keyboard? Thanks Pete lcSQL Software From m.schonewille at economy-x-talk.com Tue Oct 30 17:39:09 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 30 Oct 2012 22:39:09 +0100 Subject: Control Key on Linux In-Reply-To: References: Message-ID: <0A9D1E8A-B364-4989-B3AB-4D14A79C78E4@economy-x-talk.com> Pete, I'd say that a Linux box is just a PC with a standard keyboard (where the definition of standard may differ by country). Each keyboard has a control key nowadays, but as a long-time Mac user I wouldn't call that typically for Macs :-) -- 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 On 30 okt 2012, at 22:31, Peter Haworth wrote: > Since I don't have a Linux box, can someone let me know if their keyboards > typically have a control key, like a Mac keyboard? > Thanks > Pete > lcSQL Software From ambassador at fourthworld.com Tue Oct 30 18:02:39 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 30 Oct 2012 15:02:39 -0700 Subject: Control Key on Linux In-Reply-To: <0A9D1E8A-B364-4989-B3AB-4D14A79C78E4@economy-x-talk.com> References: <0A9D1E8A-B364-4989-B3AB-4D14A79C78E4@economy-x-talk.com> Message-ID: <50904E7F.4030203@fourthworld.com> Mark Schonewille wrote: > I'd say that a Linux box is just a PC with a standard keyboard... ...except in my office, where I've fixed the bug in which most PC leyboards have a Windows key even when you're not running Windows, just this like: ;) If you need an Ubuntu key sticker and you don't have a chance to get them from your local Linux group, you can request them for free from System 76: -- 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 Tue Oct 30 18:09:16 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 30 Oct 2012 23:09:16 +0100 Subject: Control Key on Linux In-Reply-To: <50904E7F.4030203@fourthworld.com> References: <0A9D1E8A-B364-4989-B3AB-4D14A79C78E4@economy-x-talk.com> <50904E7F.4030203@fourthworld.com> Message-ID: <7B9917E1-3B06-4576-A620-6B56A03AA2BF@economy-x-talk.com> Isn't that a control key, left of the function key, Richard? -- 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 On 30 okt 2012, at 23:02, Richard Gaskin wrote: > Mark Schonewille wrote: > > > I'd say that a Linux box is just a PC with a standard keyboard... > > ...except in my office, where I've fixed the bug in which most PC leyboards have a Windows key even when you're not running Windows, just this like: > > > > ;) > > > If you need an Ubuntu key sticker and you don't have a chance to get them from your local Linux group, you can request them for free from System 76: > > From ambassador at fourthworld.com Tue Oct 30 18:21:15 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 30 Oct 2012 15:21:15 -0700 Subject: Control Key on Linux In-Reply-To: <7B9917E1-3B06-4576-A620-6B56A03AA2BF@economy-x-talk.com> References: <7B9917E1-3B06-4576-A620-6B56A03AA2BF@economy-x-talk.com> Message-ID: <509052DB.2070002@fourthworld.com> Mark Schonewille wrote: > On 30 okt 2012, at 23:02, Richard Gaskin wrote: > >> Mark Schonewille wrote: >> >> > I'd say that a Linux box is just a PC with a standard keyboard... >> >> ...except in my office, where I've fixed the bug in which most PC >> keyboards have a Windows key even when you're not running Windows, >> just this like: >> >> > > Isn't that a control key, left of the function key, Richard? Yes, it is. I appreciate the diligence you apply to my posts, but you'll note that I replied only to your more general comment about keyboards, referring to the key I modded as the Windows key, and didn't address the Control key at all since of course you had answered the OP well and I was merely having 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 m.schonewille at economy-x-talk.com Tue Oct 30 18:30:03 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 30 Oct 2012 23:30:03 +0100 Subject: Control Key on Linux In-Reply-To: <509052DB.2070002@fourthworld.com> References: <7B9917E1-3B06-4576-A620-6B56A03AA2BF@economy-x-talk.com> <509052DB.2070002@fourthworld.com> Message-ID: I see, Richard. You didn't want to make clear that your keyboard isn't standard but you were just kidding. OK, I got it. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com > > Yes, it is. > > I appreciate the diligence you apply to my posts, but you'll note that I replied only to your more general comment about keyboards, referring to the key I modded as the Windows key, and didn't address the Control key at all since of course you had answered the OP well and I was merely having fun. From andre at andregarzia.com Tue Oct 30 18:41:44 2012 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 30 Oct 2012 20:41:44 -0200 Subject: Control Key on Linux In-Reply-To: References: <7B9917E1-3B06-4576-A620-6B56A03AA2BF@economy-x-talk.com> <509052DB.2070002@fourthworld.com> Message-ID: On Tue, Oct 30, 2012 at 8:30 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > I see, Richard. You didn't want to make clear that your keyboard isn't > standard but you were just kidding. OK, I got it. > > The special modifier keys are: Shift, Control, Alt, Meta, Hyper and Super. All keyboards have shift, control and alt. Meta, Hyper and Super is another history. Usually Windows Key, Apple Command Key and Sun Meta key are the same and treated as the Super key (and not the Meta). I just wish I had a space cadet like keyboard :-D enough with the keyboard fanatism from me... :D > -- > 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 > > > > > > Yes, it is. > > > > I appreciate the diligence you apply to my posts, but you'll note that I > replied only to your more general comment about keyboards, referring to the > key I modded as the Windows key, and didn't address the Control key at all > since of course you had answered the OP well and I was merely having fun. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From pete at lcsql.com Tue Oct 30 19:20:38 2012 From: pete at lcsql.com (Peter Haworth) Date: Tue, 30 Oct 2012 16:20:38 -0700 Subject: Control Key on Linux In-Reply-To: References: <7B9917E1-3B06-4576-A620-6B56A03AA2BF@economy-x-talk.com> <509052DB.2070002@fourthworld.com> Message-ID: Thanks everyone. I got confused (easily done!) by the dictionary entries for controlKeyDown: "On Windows systems , a control key combinationsends a commandKeyDown message instead, and the *controlKeyDown* message is never sent. On Unix systems , the *controlKeyDown* message is sent only if Mod2 has been defined." I'm using a controlKeyDown handler on my Mac development box to handle what happens when the user presses control plus another character. What I'm trying to figure out is if I can have that same handler work on Linux and Windows and if so, which key on those platforms needs to be pressed to result in a controlKeyDown message being sent. Pete lcSQL Software On Tue, Oct 30, 2012 at 3:41 PM, Andre Garzia wrote: > On Tue, Oct 30, 2012 at 8:30 PM, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > > > I see, Richard. You didn't want to make clear that your keyboard isn't > > standard but you were just kidding. OK, I got it. > > > > > The special modifier keys are: Shift, Control, Alt, Meta, Hyper and Super. > > All keyboards have shift, control and alt. > > Meta, Hyper and Super is another history. Usually Windows Key, Apple > Command Key and Sun Meta key are the same and treated as the Super key (and > not the Meta). > > I just wish I had a space cadet like keyboard :-D > > enough with the keyboard fanatism from me... :D > > > > > > -- > > 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 > > > > > > > > > > Yes, it is. > > > > > > I appreciate the diligence you apply to my posts, but you'll note that > I > > replied only to your more general comment about keyboards, referring to > the > > key I modded as the Windows key, and didn't address the Control key at > all > > since of course you had answered the OP well and I was merely having fun. > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > http://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From palcibiades-first at yahoo.co.uk Tue Oct 30 20:13:36 2012 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Tue, 30 Oct 2012 17:13:36 -0700 (PDT) Subject: Control Key on Linux In-Reply-To: References: <0A9D1E8A-B364-4989-B3AB-4D14A79C78E4@economy-x-talk.com> <50904E7F.4030203@fourthworld.com> <7B9917E1-3B06-4576-A620-6B56A03AA2BF@economy-x-talk.com> <509052DB.2070002@fourthworld.com> Message-ID: <1351642416958-4656771.post@n4.nabble.com> Is that what that funny flag icon key on the left is? I've been wondering for years why every keyboard I buy seems to have this key that does nothing as far as I can see.... Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Control-Key-on-Linux-tp4656763p4656771.html Sent from the Revolution - User mailing list archive at Nabble.com. From lvhdgc7 at gmail.com Tue Oct 30 22:00:59 2012 From: lvhdgc7 at gmail.com (tbodine) Date: Tue, 30 Oct 2012 19:00:59 -0700 (PDT) Subject: Any virus issues with 5.5.3 installer on Windows? Message-ID: <1351648859312-4656772.post@n4.nabble.com> Hi, All. I was installing the LC 5.5.3 update on my Windows XP PC and Trend Micro Internet Security claimed it was a threat (specifically HEU_CDPLC014) detected by "Correlation scan". Anyone had a similar issue? Thanks, Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Any-virus-issues-with-5-5-3-installer-on-Windows-tp4656772.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Tue Oct 30 22:14:50 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 30 Oct 2012 21:14:50 -0500 Subject: Control Key on Linux In-Reply-To: <1351642416958-4656771.post@n4.nabble.com> References: <0A9D1E8A-B364-4989-B3AB-4D14A79C78E4@economy-x-talk.com> <50904E7F.4030203@fourthworld.com> <7B9917E1-3B06-4576-A620-6B56A03AA2BF@economy-x-talk.com> <509052DB.2070002@fourthworld.com> <1351642416958-4656771.post@n4.nabble.com> Message-ID: <5090899A.401@hyperactivesw.com> On 10/30/12 7:13 PM, Peter Alcibiades wrote: > Is that what that funny flag icon key on the left is? I've been wondering > for years why every keyboard I buy seems to have this key that does nothing > as far as I can see.... Every time you press it, it sends a message to Microsoft saying you're using Linux. You should automate it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Oct 31 00:07:31 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 30 Oct 2012 23:07:31 -0500 Subject: Any virus issues with 5.5.3 installer on Windows? In-Reply-To: <1351648859312-4656772.post@n4.nabble.com> References: <1351648859312-4656772.post@n4.nabble.com> Message-ID: <5090A403.3030201@hyperactivesw.com> On 10/30/12 9:00 PM, tbodine wrote: > Hi, All. > I was installing the LC 5.5.3 update on my Windows XP PC and Trend Micro > Internet Security claimed it was a threat (specifically HEU_CDPLC014) > detected by "Correlation scan". Anyone had a similar issue? > Thanks, > Tom Bodine I haven't seen anyone mention it recently, but a while back Norton's was flagging LiveCode (then Revolution) as a virus. It's bogus of course. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From terry.judd at unimelb.edu.au Wed Oct 31 01:02:26 2012 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 31 Oct 2012 05:02:26 +0000 Subject: [TEASER] "Kochi Mini SVN" a very simple "Script-Level Version Control System" for LiveCode In-Reply-To: <22723FFB-48D0-4FD0-AD01-9194ED975A3B@id.uzh.ch> References: <22723FFB-48D0-4FD0-AD01-9194ED975A3B@id.uzh.ch> Message-ID: Rolf - this looks pretty cool and is something that I could definitely use. Terry... On 31/10/2012, at 04:43 AM, Rolf Kocherhans wrote: > Hello LiveCoder's > > Just a little teaser of a tool I made. Recently there was a lot of talk on both lists > about Script-Level Version Control. I have created a plugin that just fits into that niche > and it's just about ready for prime time ! > > Are you interested ? > > Check it out at http://dl.dropbox.com/u/616613/Kochi_SVN_Installer.mov it is the > first demo of "Kochi Mini SVN" in public. > > PLEASE GIVE THE MOVIE SOME TIME TO LOAD ! > > Have fun as always > Cheers > Rolf > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 th.douez at gmail.com Wed Oct 31 04:05:14 2012 From: th.douez at gmail.com (Thierry Douez) Date: Wed, 31 Oct 2012 09:05:14 +0100 Subject: [TEASER] "Kochi Mini SVN" a very simple "Script-Level Version Control System" for LiveCode In-Reply-To: <22723FFB-48D0-4FD0-AD01-9194ED975A3B@id.uzh.ch> References: <22723FFB-48D0-4FD0-AD01-9194ED975A3B@id.uzh.ch> Message-ID: Hi Rolf, Great job ! +1 with Andre's remark about quitting LC. Personaly, I would like to have the check in dates with a small text stating about the changes All the best, Thierry From richmondmathewson at gmail.com Wed Oct 31 04:19:13 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 31 Oct 2012 10:19:13 +0200 Subject: Control Key on Linux In-Reply-To: References: Message-ID: <5090DF01.7070002@gmail.com> On 10/30/2012 11:31 PM, Peter Haworth wrote: > Since I don't have a Linux box, can someone let me know if their keyboards > typically have a control key, like a Mac keyboard? > Thanks > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode What is "a Linux box" ? I have, right in front of me, 2 computers, both running Linux (UbuntuStudio 12.10: 1. A Dell, Optiplex 745 connected to a Genius keyboard, which has, bottom-left, CTRL, WINDOWS, ALT The WINDOWS key seems to do nothing. 2. And HP Compaq connected to an Apple Keyboard, which has, bottom-left. CTRL, ALT, APPLE The APPLE key seems to do nothing. For the sake of argument; in my school I have quite a number of ill-assorted old computers running Linux, all connected to KeyNeeds specialist learning keyboards that have no modifier keys beyond SHIFT and CAPS-LOCK. I honestly think that it is rather difficult to predict what "a Linux box" may have connected to it. Richmond. From richmondmathewson at gmail.com Wed Oct 31 04:22:19 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 31 Oct 2012 10:22:19 +0200 Subject: Control Key on Linux In-Reply-To: <5090899A.401@hyperactivesw.com> References: <0A9D1E8A-B364-4989-B3AB-4D14A79C78E4@economy-x-talk.com> <50904E7F.4030203@fourthworld.com> <7B9917E1-3B06-4576-A620-6B56A03AA2BF@economy-x-talk.com> <509052DB.2070002@fourthworld.com> <1351642416958-4656771.post@n4.nabble.com> <5090899A.401@hyperactivesw.com> Message-ID: <5090DFBB.4030706@gmail.com> On 10/31/2012 04:14 AM, J. Landman Gay wrote: > On 10/30/12 7:13 PM, Peter Alcibiades wrote: >> Is that what that funny flag icon key on the left is? I've been >> wondering >> for years why every keyboard I buy seems to have this key that does >> nothing >> as far as I can see.... > > Every time you press it, it sends a message to Microsoft saying you're > using Linux. You should automate it. > And, presumably, the Mac Keyboard I have connected to my second Linux box communicated directly with the ghost of Steve Jobs. And, as today is the 31 October, I should expect a visitation any time now! From m.schonewille at economy-x-talk.com Wed Oct 31 08:06:05 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 31 Oct 2012 13:06:05 +0100 Subject: Halloween Discount Message-ID: <85F902C5-0661-432A-8C88-D0063B37AD67@economy-x-talk.com> Hi! Today and only today Economy-x-Talk offers a 33% discount on new Installer Maker licenses. This means that you pay ?26.13 instead of ?39.00. Installer Maker is a plugin for LiveCode, which lets you build an installer with only LiveCode and no additional software. Installer Maker creates installers for Windows and Mac OS X. Note: it is recommended to read the feature list on the website and download and test the software before purchasing. If you have any questions, feature requests or bug reports, please contact me. Go to http://qery.us/za for more information and downloads. To purchase a license, don't click on the PayPal button on the website but open http://qery.us/397 (Plimus) in your browser and enter the coupon code HALLOWN1. Kind regards, Mark -- 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 From michael-kristensen at dsa-net.dk Wed Oct 31 10:14:22 2012 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Wed, 31 Oct 2012 15:14:22 +0100 Subject: Scripting shades of colors? In-Reply-To: References: Message-ID: <0A839D5F-DCEA-477E-8EAC-844B754E069D@dsa-net.dk> Hi again Also thanks to Dan Friedman for your script Rolf Kocherhans pointed me to this stack by Bernd http://forums.runrev.com/viewtopic.php?f=10&t=11100&p=51903&hilit=darken+lighten#p51903 Thanks to both And now a special thanks goes to my mother who always believed in me and stood up for me :-) Michael > > Here is a function that I use to lighten a color. You could modify this to get a darker color as well. Hope it helps. > > function lightenColor origColor > try > repeat with i = 1 to 3 > add 50 to item i of origColor > if item i of origColor > 255 then put 255 into item i of origColor > if item i of origColor < 0 then put 0 into item i of origColor > end repeat > return origColor > catch tSomeErr > return origColor > end try > end lightenColor > > -Dan > > >> Hi there >> >> Lets say I have a color a,b,c >> >> Now I want the same color but fx 10% darker and 10 % lighter. >> >> (As if you in the colorwheel palette dragged the scrollbar-thumb a little down and a little up) >> >> How could one script this? >> >> Thanks >> Michael > From larsbrehmer at me.com Wed Oct 31 11:19:36 2012 From: larsbrehmer at me.com (Lars Brehmer) Date: Wed, 31 Oct 2012 17:19:36 +0200 Subject: more iOS questions Message-ID: <296FC14E-4E99-4D1F-9FCD-13531BD408A3@me.com> I am slowly getting there on this first iPad project, but things that should be fairly easy simply aren't for me. First the keyboard I now know about the on keyboardActivated on keyboardDeactivated handlers, but I can''t figure out how to use it. In some cases I want the app to slide up with the keyboard. I seemed to me that in that handler I should set loc the bottom of the stack to to the top of the keyboard, so I tried setting item 2 in the bottomLeft of the stack to item 2 in the topLeft of the keyboard. But the script editor doesn't accept calling the keyboard "the keyboard." How does one refer to the native keyboard? Or is this aproach just plain wrong? Returning to the app from another app How does one get the app to be suspended and then resumed? Everytime I return to the app its seems to have quit and it restarts. In the liveCode dictionary, suspend and resume don't apply to mobile systems. How is this done? MobGui I couldn't make a native scroller myself, so I tried mobGui. Is it not possible to try before you buy? Because I followed the simple instructions for a native scrolling text field, but on the iPad it made no difference whatsoever. Can't one try mobGui on a device begore you buy it? I plan to buy it, but I'd like to at least see if these things work before I do. Cheers, Lars From admin at FlexibleLearning.com Wed Oct 31 12:03:42 2012 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Wed, 31 Oct 2012 16:03:42 -0000 Subject: [UPDATE] Free 'Clearview' desktop clock v2.0 with Calendar In-Reply-To: Message-ID: Now adjusted to automatically roll over at midnight (v2.0.1)... www.FlexibleLearning.com/freeclock Thank you for finding this. With best regards, Hugh Senior FLCo "FlexibleLearning" on October 28, 2012 at 4:04 AM -0700 wrote: >As requested, the 'Clearview' Clock now includes a dropdown Calendar... I love the app, but the Calendar 'today' marker does not roll over at midnight to the next date. I launched the app yesterday and today when I drop down the calendar, it still had a box around the 28 of October when today is the 29th. I exited the app and then launched again and the date is now showing correctly for today. Stewart From mwieder at ahsoftware.net Wed Oct 31 12:25:39 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 31 Oct 2012 16:25:39 +0000 (UTC) Subject: Control Key on Linux References: <0A9D1E8A-B364-4989-B3AB-4D14A79C78E4@economy-x-talk.com> <50904E7F.4030203@fourthworld.com> <7B9917E1-3B06-4576-A620-6B56A03AA2BF@economy-x-talk.com> <509052DB.2070002@fourthworld.com> <1351642416958-4656771.post@n4.nabble.com> Message-ID: Peter Alcibiades writes: > > Is that what that funny flag icon key on the left is? I've been wondering > for years why every keyboard I buy seems to have this key that does nothing > as far as I can see.... On xfce I mapped mine to do something more useful... Command Shortcut killall -9 livecode.x86 Super_L -- Mark Wieder mwieder at ahsoftware.net From andre at andregarzia.com Wed Oct 31 15:01:43 2012 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 31 Oct 2012 17:01:43 -0200 Subject: Control Key on Linux In-Reply-To: References: <0A9D1E8A-B364-4989-B3AB-4D14A79C78E4@economy-x-talk.com> <50904E7F.4030203@fourthworld.com> <7B9917E1-3B06-4576-A620-6B56A03AA2BF@economy-x-talk.com> <509052DB.2070002@fourthworld.com> <1351642416958-4656771.post@n4.nabble.com> Message-ID: On Wed, Oct 31, 2012 at 2:25 PM, Mark Wieder wrote: > Peter Alcibiades writes: > > > > > Is that what that funny flag icon key on the left is? I've been > wondering > > for years why every keyboard I buy seems to have this key that does > nothing > > as far as I can see.... > > On xfce I mapped mine to do something more useful... > > Command Shortcut > killall -9 livecode.x86 Super_L > Thats pretty radical! :-D I used to add app shortcuts using Super. So that Super + F opens to firefox, things like that... > > -- > 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 > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From th.douez at gmail.com Wed Oct 31 16:52:06 2012 From: th.douez at gmail.com (Thierry Douez) Date: Wed, 31 Oct 2012 21:52:06 +0100 Subject: [ANN] Shakobox V2.0 - free open source livecode library Message-ID: Hi Apple LiveCoders, Do you have old hypercard tunes ? Are you an ancient user of shakobox ? Still using Player Agent X ? If yes to any of these questions, then the next is for you: Make alive your old tunes on modern Mac ! You can read the new version of "Playing sounds a la Hypercard" at http://sunny-tdz.com/art-1010 You can download "shakobox v2.0" from http://sunny-tdz.com/dwn Hope some of you will like it :) And more, this is a free and open source LiveCode library. Kind regards, Thierry From pete at lcsql.com Wed Oct 31 17:22:50 2012 From: pete at lcsql.com (Peter Haworth) Date: Wed, 31 Oct 2012 14:22:50 -0700 Subject: [ANN] lcStackBrowser V1.1.0 Released Message-ID: I'm happy to announce the availability of version 1.1.0 of lcStackBrowser, a plugin alternative to the IDE's Application Browser. In addition to bug fixes, this version contains several significant enhancements and is free to existing license holders. Here is a list of the enhancements. A complete list can be found here - One-click access to Behavior Scripts - Controls selected in the display can be grouped. - Import Audio/Video Clips - Keyboard Shortcuts for navigating the display - Script Editor shortcuts via key combinations or a palette (Many thanks to Jacqueline Landman-Gay and Peter Brigham for providing the basis for this.) - Improved Refresh Function - Improved Highlighting of Controls Selected/Deselected in the IDE lcStackBrowser can be downloaded at http://www.lcsql.com/utilities.html#lcstackbrowser. I am keeping the license cost at $20 until end of the day Friday 11/9 (PST). After that, the license cost will go to $30. Pete lcSQL Software From lvhdgc7 at gmail.com Wed Oct 31 17:31:40 2012 From: lvhdgc7 at gmail.com (tbodine) Date: Wed, 31 Oct 2012 14:31:40 -0700 (PDT) Subject: Tab Panel highlight errors Message-ID: <1351719100458-4656787.post@n4.nabble.com> Hi, I used the tutorial on the Tab Panel to set up a simple 3 tab panel navigation among 3 cards. (Grouped. Behave like a background is ON.) Works well. But, the highlighted tab (the one shown in the foreground when clicked) does not stay in sync and often shows the wrong tab highlighted. Is this something I must set manually? If so, how? Example of problem: [ Edit ] [ Play ] [ Help ] tabs each go to cards of the same name as the tab. But very often, if I click [ Play ] it will branch to the Play card but then highlight the [ Edit ] or [ Help ] tab. Thanks for your help. (Using Win XP with LC 5.5.2) Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Tab-Panel-highlight-errors-tp4656787.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Wed Oct 31 17:35:43 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 31 Oct 2012 16:35:43 -0500 Subject: more iOS questions In-Reply-To: <296FC14E-4E99-4D1F-9FCD-13531BD408A3@me.com> References: <296FC14E-4E99-4D1F-9FCD-13531BD408A3@me.com> Message-ID: <509199AF.7050703@hyperactivesw.com> On 10/31/12 10:19 AM, Lars Brehmer wrote: > I now know about the on keyboardActivated on keyboardDeactivated > handlers, but I can''t figure out how to use it. In some cases I want > the app to slide up with the keyboard. I seemed to me that in that > handler I should set loc the bottom of the stack to to the top of the > keyboard, so I tried setting item 2 in the bottomLeft of the stack to > item 2 in the topLeft of the keyboard. But the script editor doesn't > accept calling the keyboard "the keyboard." How does one refer to the > native keyboard? Or is this aproach just plain wrong? The latest release has added "the effective working screenrect" which gives you the useable dimensions of the screen when the keyboard is showing. The second item in the rect would be the top of the keyboard. > > Returning to the app from another app > > How does one get the app to be suspended and then resumed? Everytime > I return to the app its seems to have quit and it restarts. In the > liveCode dictionary, suspend and resume don't apply to mobile > systems. How is this done? Apps will always quit, the engine doesn't yet support suspend. To return to where the user left off, trap the shutdown message and save the current state of the app to a file on disk. On preOpenStack, restore it. > > MobGui > > I couldn't make a native scroller myself, so I tried mobGui. Is it > not possible to try before you buy? Because I followed the simple > instructions for a native scrolling text field, but on the iPad it > made no difference whatsoever. Can't one try mobGui on a device > begore you buy it? I plan to buy it, but I'd like to at least see if > these things work before I do. The last time I checked, MobGUI was fully functional even if unregistered, but on a device or in a simulator it showed a dialog when the app launched that said it was an unlicensed version. If you aren't seeing anything at all, there might be a problem with the stack or the scripts. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Wed Oct 31 18:01:26 2012 From: pete at lcsql.com (Peter Haworth) Date: Wed, 31 Oct 2012 15:01:26 -0700 Subject: LC Keyboard shortcuts Message-ID: Is there a complete list of keyboard shortcuts for Livecode available anywhere? Pete lcSQL Software From jacque at hyperactivesw.com Wed Oct 31 18:06:06 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 31 Oct 2012 17:06:06 -0500 Subject: more iOS questions In-Reply-To: <509199AF.7050703@hyperactivesw.com> References: <296FC14E-4E99-4D1F-9FCD-13531BD408A3@me.com> <509199AF.7050703@hyperactivesw.com> Message-ID: <5091A0CE.4050402@hyperactivesw.com> On 10/31/12 4:35 PM, J. Landman Gay wrote: > On 10/31/12 10:19 AM, Lars Brehmer wrote: > >> I now know about the on keyboardActivated on keyboardDeactivated >> handlers, but I can''t figure out how to use it. In some cases I want >> the app to slide up with the keyboard. I seemed to me that in that >> handler I should set loc the bottom of the stack to to the top of the >> keyboard, so I tried setting item 2 in the bottomLeft of the stack to >> item 2 in the topLeft of the keyboard. But the script editor doesn't >> accept calling the keyboard "the keyboard." How does one refer to the >> native keyboard? Or is this aproach just plain wrong? > > The latest release has added "the effective working screenrect" which > gives you the useable dimensions of the screen when the keyboard is > showing. The second item in the rect would be the top of the keyboard. Oops. The fourth item. Sorry. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From capellan2000 at gmail.com Wed Oct 31 18:26:02 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 31 Oct 2012 15:26:02 -0700 (PDT) Subject: LiveCode GUI for JDIFF and JPTCH Message-ID: <1351722362230-4656791.post@n4.nabble.com> Hi All, Recently, the scarcity of Internet bandwidth, brings me to look closely at the utilities that recreates files from a source and a small binary patch. For example: http://sourceforge.net/projects/jojodiff/ JDIFF is a program that outputs the differences between two binary files, either in binary format or in human readable format (detailed or summarized). JPATCH then allows to reconstruct the second file from the first file. Before I start creating a GUI for these command line utilities, Did one of the developers in this platform created a LiveCode GUI for both Utilities? Thanks in advance! Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-GUI-for-JDIFF-and-JPTCH-tp4656791.html Sent from the Revolution - User mailing list archive at Nabble.com. From devin_asay at byu.edu Wed Oct 31 18:45:37 2012 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 31 Oct 2012 22:45:37 +0000 Subject: LC Keyboard shortcuts In-Reply-To: References: Message-ID: <31BDC56EACAAF64688457CE3F71D9F1AE7C594@Peas2.byu.local> Pete, A couple years ago I put one together from various sources. As far as I know it's still current (corrections gratefully accepted): http://livecode.byu.edu/helps/shortcuts.php HTH Devin On Oct 31, 2012, at 4:01 PM, Peter Haworth wrote: > Is there a complete list of keyboard shortcuts for Livecode available > anywhere? > 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 Devin Asay Office of Digital Humanities Brigham Young University From pete at lcsql.com Wed Oct 31 19:27:09 2012 From: pete at lcsql.com (Peter Haworth) Date: Wed, 31 Oct 2012 16:27:09 -0700 Subject: LC Keyboard shortcuts In-Reply-To: <31BDC56EACAAF64688457CE3F71D9F1AE7C594@Peas2.byu.local> References: <31BDC56EACAAF64688457CE3F71D9F1AE7C594@Peas2.byu.local> Message-ID: Thanks Devin, that's a great start. Already learned a few new shortcuts! Pete lcSQL Software On Wed, Oct 31, 2012 at 3:45 PM, Devin Asay wrote: > Pete, > > A couple years ago I put one together from various sources. As far as I > know it's still current (corrections gratefully accepted): > > http://livecode.byu.edu/helps/shortcuts.php > > HTH > > Devin > > > On Oct 31, 2012, at 4:01 PM, Peter Haworth wrote: > > > Is there a complete list of keyboard shortcuts for Livecode available > > anywhere? > > 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 > > 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 rdimola at evergreeninfo.net Wed Oct 31 19:28:33 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 31 Oct 2012 19:28:33 -0400 Subject: LC Keyboard shortcuts In-Reply-To: <31BDC56EACAAF64688457CE3F71D9F1AE7C594@Peas2.byu.local> References: <31BDC56EACAAF64688457CE3F71D9F1AE7C594@Peas2.byu.local> Message-ID: <003701cdb7bf$71ddf2e0$5599d8a0$@net> Devin, Thank You!! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Devin Asay Sent: Wednesday, October 31, 2012 6:46 PM To: How to use LiveCode Subject: Re: LC Keyboard shortcuts Pete, A couple years ago I put one together from various sources. As far as I know it's still current (corrections gratefully accepted): http://livecode.byu.edu/helps/shortcuts.php HTH Devin On Oct 31, 2012, at 4:01 PM, Peter Haworth wrote: > Is there a complete list of keyboard shortcuts for Livecode available > anywhere? > 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 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 pete at lcsql.com Wed Oct 31 19:34:02 2012 From: pete at lcsql.com (Peter Haworth) Date: Wed, 31 Oct 2012 16:34:02 -0700 Subject: LiveCode GUI for JDIFF and JPTCH In-Reply-To: <1351722362230-4656791.post@n4.nabble.com> References: <1351722362230-4656791.post@n4.nabble.com> Message-ID: Hi Alejandro, The unix diff command will do all those things. On WIndows, you have to the install the GnuWIn32 utilities to get it. Right now, I use it in my lcStackDiff plugin to highlight the changes between any two versions of the same script. I have enhancements on the list to do something along the lines of what you describe but not sure when I'll get round to doing it. Pete lcSQL Software On Wed, Oct 31, 2012 at 3:26 PM, Alejandro Tejada wrote: > Hi All, > > Recently, the scarcity of Internet bandwidth, brings me > to look closely at the utilities that recreates files from > a source and a small binary patch. > > For example: > > http://sourceforge.net/projects/jojodiff/ > > JDIFF is a program that outputs the differences between > two binary files, either in binary format or in human readable > format (detailed or summarized). > > JPATCH then allows to reconstruct the second file from the first file. > > Before I start creating a GUI for these command line utilities, > Did one of the developers in this platform created a LiveCode GUI > for both Utilities? > > Thanks in advance! > > Alejandro > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/LiveCode-GUI-for-JDIFF-and-JPTCH-tp4656791.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 mwieder at ahsoftware.net Wed Oct 31 19:36:17 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 31 Oct 2012 23:36:17 +0000 (UTC) Subject: Control Key on Linux References: <0A9D1E8A-B364-4989-B3AB-4D14A79C78E4@economy-x-talk.com> <50904E7F.4030203@fourthworld.com> <7B9917E1-3B06-4576-A620-6B56A03AA2BF@economy-x-talk.com> <509052DB.2070002@fourthworld.com> <1351642416958-4656771.post@n4.nabble.com> Message-ID: Andre Garzia writes: > Thats pretty radical! :-D > > I used to add app shortcuts using Super. So that Super + F opens to > firefox, things like that... Yeah, I hung the IDE so often that I got tired of typing that into a terminal window all the time. Now I just have to hit one button and I'm out of trouble. -- Mark Wieder mwieder at ahsoftware.net From monte at sweattechnologies.com Wed Oct 31 20:11:06 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 1 Nov 2012 11:11:06 +1100 Subject: [ANN] Game Center crowd funding opportunity Message-ID: Hi All I have been asked by a couple of people to put up a crowd funding page for a Game Center external. If you would like to contribute to it's development then there's more info at http://mergext.com/fund/ You can contribute as little or as much as you like. There's no benefits for funding other than a nice feeling and the opportunity to purchase and use the external when complete. Once released the purchase price is likely to be $49 or included in the $299 iOS suite. As I don't write games this external will probably not be released unless there is some funding for it's development. I think it would be a good one for the LiveCode community to have access to given the Game Academy etc and also the higher profile/extra store it gives your apps. If the external receives the community support it needs to get off the ground I hope to eventually implement it for both iOS and OS X but the initial target will be iOS. Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From dunbarx at aol.com Wed Oct 31 20:19:07 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 31 Oct 2012 20:19:07 -0400 (EDT) Subject: Tab Panel highlight errors In-Reply-To: <1351719100458-4656787.post@n4.nabble.com> References: <1351719100458-4656787.post@n4.nabble.com> Message-ID: <8CF85DDA4613132-1868-61B2C@webmail-d156.sysops.aol.com> Hi. I don't see this. The hilited tab holds after navigation. Are you sure something else is not selecting another tab? This spurious selection might not invoke the menuPick handler you are likely using to trap the tabs you click on. Craig NEwman -----Original Message----- From: tbodine To: use-revolution Sent: Wed, Oct 31, 2012 5:32 pm Subject: Tab Panel highlight errors Hi, I used the tutorial on the Tab Panel to set up a simple 3 tab panel navigation among 3 cards. (Grouped. Behave like a background is ON.) Works well. But, the highlighted tab (the one shown in the foreground when clicked) does not stay in sync and often shows the wrong tab highlighted. Is this something I must set manually? If so, how? Example of problem: [ Edit ] [ Play ] [ Help ] tabs each go to cards of the same name as the tab. But very often, if I click [ Play ] it will branch to the Play card but then highlight the [ Edit ] or [ Help ] tab. Thanks for your help. (Using Win XP with LC 5.5.2) Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Tab-Panel-highlight-errors-tp4656787.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Wed Oct 31 20:39:25 2012 From: pete at lcsql.com (Peter Haworth) Date: Wed, 31 Oct 2012 17:39:25 -0700 Subject: LC Keyboard shortcuts In-Reply-To: <31BDC56EACAAF64688457CE3F71D9F1AE7C594@Peas2.byu.local> References: <31BDC56EACAAF64688457CE3F71D9F1AE7C594@Peas2.byu.local> Message-ID: I wonder if this might be good as a "sticky" post on the forum? Pete lcSQL Software On Wed, Oct 31, 2012 at 3:45 PM, Devin Asay wrote: > Pete, > > A couple years ago I put one together from various sources. As far as I > know it's still current (corrections gratefully accepted): > > http://livecode.byu.edu/helps/shortcuts.php > > HTH > > Devin > > > On Oct 31, 2012, at 4:01 PM, Peter Haworth wrote: > > > Is there a complete list of keyboard shortcuts for Livecode available > > anywhere? > > 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 > > 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 capellan2000 at gmail.com Wed Oct 31 20:43:53 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 31 Oct 2012 17:43:53 -0700 (PDT) Subject: [UPDATE] Free 'Clearview' desktop clock v2.0 with Calendar In-Reply-To: References: Message-ID: <1351730633928-4656800.post@n4.nabble.com> Hi Hugh, Wonderful clock! Would you make it programmable? For example: - Flag Icons to show the hour in different countries (Really useful in these internet days) - Chronometer - Events Alarms programmable - Plugins for other custom functions Many Thanks again, for sharing this useful Desktop Clock! Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/UPDATE-Free-Clearview-desktop-clock-v2-0-with-Calendar-tp4656782p4656800.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Wed Oct 31 21:44:49 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 31 Oct 2012 18:44:49 -0700 (PDT) Subject: LiveCode GUI for JDIFF and JPTCH In-Reply-To: References: <1351722362230-4656791.post@n4.nabble.com> Message-ID: <1351734289853-4656801.post@n4.nabble.com> Hi Peter, Peter Haworth wrote > The unix diff command will do all those things. On WIndows, you have to > the install the GnuWIn32 utilities to get it. Actually, I was hoping for a more "portable" application that does not require installation. Peter Haworth wrote > Right now, I use it in my lcStackDiff plugin to highlight the changes > between any two versions of the same script. I have enhancements on the > list to do something along the lines of what you describe but not sure > when > I'll get round to doing it. Actually, it would be useful if the RunRev engine could provide a command similar to diff for binary files. I have tested JDIFF and JPTCH with different kind of files and it works flawless, but I know that I should provide digests too: SHA-1 or MD5 or CRC-32 or all of them are necessary to verify the integrity of the files recreated. Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-GUI-for-JDIFF-and-JPTCH-tp4656791p4656801.html Sent from the Revolution - User mailing list archive at Nabble.com.