From janschenkel at yahoo.com Sat Jan 1 02:32:48 2011 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 31 Dec 2010 23:32:48 -0800 (PST) Subject: ResizeControl In-Reply-To: <4D1E4E1C.2040108@fourthworld.com> Message-ID: <822300.53043.qm@web65401.mail.ac4.yahoo.com> --- On Fri, 12/31/10, Richard Gaskin wrote: > DunbarX wrote: > > > Why the messages is not passed along to the card, or > why they are sent > > continuously, is a mystery. > > For most of LC/Rev/MC's life, the resizeControl message was > consistently sent only after the user stopped performing a > resize action with the pointer tool. > > But in v3.5 RunRev introduced behaviors and some new > enhancements to group objects to allow folks to make custom > controls like the DataGrid. > > In addition to being sent continuously as the control is > resized (to allow your custom control to adjust its > contents), that message is also sent to the control whenever > it's resized by any means, such as a script adjusting its > rect, rather than strictly when the user is interacting with > it using the pointer tool. > > Useful as these enhancements are, it seems they're > described only in the engine change log and the Dictionary > entry for the resizeControl message hasn't been updated. > > Anyone here got time to either add a user comment to that > entry and/or file a documentation bug report at the RQCC? > > -- > Richard Gaskin > At one point in time, I had an enhancement request for a 'liveResizing' property for groups (#2807) - but I recently closed it, as the new way it works since version 3.5, was exactly what I was after :-) The docs should be updated at least, if such a 'liveResizing' property isn't desirable. 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 jmyepes at mac.com Sat Jan 1 06:45:07 2011 From: jmyepes at mac.com (JosepM) Date: Sat, 1 Jan 2011 03:45:07 -0800 (PST) Subject: DataGrid dictionary? In-Reply-To: <709D6780-A275-41CC-9F26-7056261D2E9A@me.com> References: <1293670696908-3167836.post@n4.nabble.com> <1293731264039-3168568.post@n4.nabble.com> <1293737127233-3168662.post@n4.nabble.com> <1293744216824-3168784.post@n4.nabble.com> <709D6780-A275-41CC-9F26-7056261D2E9A@me.com> Message-ID: <1293882307959-3170085.post@n4.nabble.com> Hi, Seems that this can help you. http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7343-Data-Grid-Properties http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7344-Data-Grid-API Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/datagrid-add-rows-in-CloseFieldEditor-tp3167836p3170085.html Sent from the Revolution - User mailing list archive at Nabble.com. From jmyepes at mac.com Sat Jan 1 06:47:42 2011 From: jmyepes at mac.com (JosepM) Date: Sat, 1 Jan 2011 03:47:42 -0800 (PST) Subject: datagrid: add rows in CloseFieldEditor In-Reply-To: References: <1293670696908-3167836.post@n4.nabble.com> <1293731264039-3168568.post@n4.nabble.com> <1293737127233-3168662.post@n4.nabble.com> <1293744216824-3168784.post@n4.nabble.com> Message-ID: <1293882462345-3170086.post@n4.nabble.com> Yes, yes, first I use "AddData" inside CloseFieldEditor and then for update the cells of the created row I use SetDataOfIndex the dgindex of me+1, "COL1", "Text of the Col" But ever add the row using "AddData" but from other row. Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/datagrid-add-rows-in-CloseFieldEditor-tp3167836p3170086.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Sat Jan 1 10:22:19 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 1 Jan 2011 16:22:19 +0100 Subject: ANN: Installer Maker Plugin updated Message-ID: <7C2B5851-BC2D-4B53-A558-E968FE0AA217@economy-x-talk.com> Hello, First of all: Happy New Year to all of you. I wish you all to make great software and distribute them successfully with Economy-x-Talk's Installer Maker Plugin :-) Today I spent a few hours fixing some bugs in the Installer Maker Pugin. One of the bugs fixed is a problem that prevented Linux users from registering. More information can be found at http://rrinstallermaker.economy-x-talk.com/ . The Installer Maker Plugin now counts version number 1.5.1. This is a free update for everyone who bought a (new) license during the past 3 months. Upgrades are available at half the original price. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce From jhurley0305 at sbcglobal.net Sat Jan 1 11:10:16 2011 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Sat, 1 Jan 2011 08:10:16 -0800 Subject: Missing plug-in. Again In-Reply-To: References: Message-ID: <06CF44CA-A6BE-4938-A411-B5770ADEF090@sbcglobal.net> > > Message: 4 > Date: Thu, 30 Dec 2010 15:50:17 -0800 > From: Mark Wieder > To: How to use LiveCode > Subject: Re: Missing plug-in. Again > Message-ID: <821110092953.20101230155017 at ahsoftware.net> > Content-Type: text/plain; charset=us-ascii > > Jim- > > Thursday, December 30, 2010, 3:38:44 PM, you wrote: > >> Don't tell anybody I'm doing this. I'm sure it's naughty. > > Not really, you're just making extra work for yourself. You'll have to > do this for 4.5.3, 4.6... > > Much easier to create a folder somewhere else and just set your > preferences to point to it. Make a "Plugins" folder in it and move > your plugins there. Then you don't have to do anything special for > different RR/LC versions. > > -- > -Mark Wieder > mwieder at ahsoftware.net > Mark, Thanks, and good point. I don't know though. There is a certain satisfaction in toying with the Package Contents. This is the closest I ever come to hacking. Jim From pete at mollysrevenge.com Sat Jan 1 11:59:42 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Sat, 1 Jan 2011 08:59:42 -0800 Subject: ResizeControl In-Reply-To: <822300.53043.qm@web65401.mail.ac4.yahoo.com> References: <822300.53043.qm@web65401.mail.ac4.yahoo.com> Message-ID: I think a property that controls this behavior would certainly have been the best way to implement this. Any time software is changed to behave in a way that is just about the opposite of how it used to work, there needs to be a way for users to control that behavior. If I'd known about your request, I would definitely have voted for it. Pete Haworth On Dec 31, 2010, at 11:32 PM, Jan Schenkel wrote: > > At one point in time, I had an enhancement request for a > 'liveResizing' property for groups (#2807) - but I recently closed > it, as the new way it works since version 3.5, was exactly what I > was after :-) > The docs should be updated at least, if such a 'liveResizing' > property isn't desirable. > > 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 mwieder at ahsoftware.net Sat Jan 1 13:50:51 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 1 Jan 2011 10:50:51 -0800 Subject: Missing plug-in. Again In-Reply-To: <06CF44CA-A6BE-4938-A411-B5770ADEF090@sbcglobal.net> References: <06CF44CA-A6BE-4938-A411-B5770ADEF090@sbcglobal.net> Message-ID: <33113678437.20110101105051@ahsoftware.net> Jim- Saturday, January 1, 2011, 8:10:16 AM, you wrote: > I don't know though. There is a certain satisfaction in toying with > the Package Contents. There is indeed, and you'll learn a lot more that way than by following the rules. > This is the closest I ever come to hacking. Far be it from me to rain on your parade. Carry on, dude. -- -Mark Wieder mwieder at ahsoftware.net From jiml at netrin.com Sat Jan 1 15:19:45 2011 From: jiml at netrin.com (Jim Lambert) Date: Sat, 1 Jan 2011 12:19:45 -0800 Subject: Happy New Year In-Reply-To: References: Message-ID: LiveCoders, Happy 2011! Jim Lambert From revdev at pdslabs.net Sat Jan 1 15:51:30 2011 From: revdev at pdslabs.net (Phil Davis) Date: Sat, 01 Jan 2011 12:51:30 -0800 Subject: Happy New Year In-Reply-To: References: Message-ID: <4D1F93D2.1040901@pdslabs.net> Seconded! Phil Davis On 1/1/11 12:19 PM, Jim Lambert wrote: > LiveCoders, > > Happy 2011! > > 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 > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From richmondmathewson at gmail.com Sat Jan 1 16:36:05 2011 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 01 Jan 2011 23:36:05 +0200 Subject: [OT] Why is Brazil like Bulgaria? Message-ID: <4D1F9E45.8090702@gmail.com> mainly, of course, for Andre . . . :) Let's think about possible answers: 1. Enormous, out-of-control level of corruption. 2. Truckloads of beggars. 3. Bulgarian communist/terrorist as head of state. And, you lovely people, the answer is: All 3! http://www.bbc.co.uk/news/world-latin-america-12103312 From katir at hindu.org Sat Jan 1 17:26:42 2011 From: katir at hindu.org (Sivakatirswami) Date: Sat, 01 Jan 2011 12:26:42 -1000 Subject: Editing locked or List fields Message-ID: <4D1FAA22.5090505@hindu.org> I'm all the time editing locked or list fields or fields where the traversal is off. The "onerous" method is of course to switch to the select tool, double click on the fld; choose Contents from the drop down menu, resize the window if you need to see more of the contents... edit contents Before i cook up my own widget, which would not be hard to do, I was wondering what do the rest of you do? OT: is tRev working, bug-free, with the latest versions of LiveCode? Sivakatirswami From stephenREVOLUTION2 at barncard.com Sat Jan 1 17:28:47 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 1 Jan 2011 14:28:47 -0800 Subject: [OT] Why is Brazil like Bulgaria? In-Reply-To: <4D1F9E45.8090702@gmail.com> References: <4D1F9E45.8090702@gmail.com> Message-ID: Maybe the world needs more socialism and less consumerism and greed to survive. Last summer I found this awesome cheese.... On 1 January 2011 13:36, Richmond wrote: > mainly, of course, for Andre . . . :) > > Let's think about possible answers: > > 1. Enormous, out-of-control level of corruption. > > 2. Truckloads of beggars. > > 3. Bulgarian communist/terrorist as head of state. > > And, you lovely people, the answer is: > > All 3! > > http://www.bbc.co.uk/news/world-latin-america-12103312 > > _______________________________________________ > use-livecode mailing list > use-livecode 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 rev at nonsanity.com Sat Jan 1 17:29:44 2011 From: rev at nonsanity.com (Nonsanity) Date: Sat, 1 Jan 2011 17:29:44 -0500 Subject: Happy New Year In-Reply-To: <4D1F93D2.1040901@pdslabs.net> References: <4D1F93D2.1040901@pdslabs.net> Message-ID: Happy 1293858000! ~ Chris Innanen ~ Nonsanity On Sat, Jan 1, 2011 at 3:51 PM, Phil Davis wrote: > Seconded! > Phil Davis > > > > On 1/1/11 12:19 PM, Jim Lambert wrote: > >> LiveCoders, >> >> Happy 2011! >> >> 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 >> >> > -- > Phil Davis > > PDS Labs > Professional Software Development > http://pdslabs.net > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From anthonyhowe at me.com Sat Jan 1 17:51:17 2011 From: anthonyhowe at me.com (Anthony Howe) Date: Sun, 02 Jan 2011 09:51:17 +1100 Subject: Editing locked or List fields In-Reply-To: <4D1FAA22.5090505@hindu.org> References: <4D1FAA22.5090505@hindu.org> Message-ID: Heya Sivakatirswami, I have exactly the same query about text fields. If anyone has a workflow or tool around this, would be great! On tRev.... I have been using trev (Remo) on osx for the past while. Im finding it a little glitchy in parts (mostly when doing stuff with datagrid it keeps opening revstacks and throwing chunk and object errors) but it's friendly enough for now and I particularly like the linking and object browsing functionality. It also didn't seem to like playing with an installation of enhanceQT plugin i had, but a quick reinstall fixed that. Hope that helps.... Cheers, A. On 02/01/2011, at 9:26 AM, Sivakatirswami wrote: > I'm all the time editing locked or list fields or fields where the traversal is off. > > The "onerous" method is of course to switch to the select tool, double click on the fld; choose Contents from the drop down menu, resize the window if you need to see more of the contents... edit contents > > Before i cook up my own widget, which would not be hard to do, I was wondering what do the rest of you do? > > OT: is tRev working, bug-free, with the latest versions of LiveCode? > > Sivakatirswami > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Jan 1 18:40:00 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sat, 1 Jan 2011 15:40:00 -0800 Subject: Happy New Year In-Reply-To: <4D1F93D2.1040901@pdslabs.net> References: <4D1F93D2.1040901@pdslabs.net> Message-ID: <0480981218E34DC9BB4A0BDA621F8CDE@GATEWAY> Akimashite Omedeto Gozaimasu! Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server > Seconded! > Phil Davis > > > On 1/1/11 12:19 PM, Jim Lambert wrote: > > LiveCoders, > > > > Happy 2011! > > > > 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 > > > > -- > Phil Davis > > PDS Labs > Professional Software Development > http://pdslabs.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From chipp at chipp.com Sat Jan 1 23:58:43 2011 From: chipp at chipp.com (Chipp Walters) Date: Sat, 1 Jan 2011 22:58:43 -0600 Subject: Date bug? Message-ID: Hey, can anyone try this or tell me why it doesn't work? If I use any other date than 11/07/2010, it generates the next date. But for some reason Nov 7 doesn't work? on mouseUp put "11/07/2010" into tDate answer nextDayDate(tDate) end mouseUp function nextDayDate pDate convert pDate to seconds put 60*60*24 into tSecondsInDay add tSecondsInDay to pDate convert pDate to short date return pDate end nextDayDate -- Chipp Walters CEO, Shafer Walters Group, Inc. From pepetoo at cox.net Sun Jan 2 00:25:32 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Sat, 1 Jan 2011 21:25:32 -0800 Subject: Date bug? In-Reply-To: References: Message-ID: <3591DB28-2FD0-4626-BCEC-F0839F1989B3@cox.net> Happy New Years, Chipp I tried a dozen or so dates and they confirmed your findings. Strange. I even changed the short date to the long date and the abbreviated date. What I'd like to know is how did you come across this anomaly. If there is one, there must be more; but which ones. This is potentially dangerous. Hard to be totally confident with LC when something like this occurs. Did you try this with earlier version of Rev? Joe Lewis Wilkins Architect & Director of Product Development for GSI On Jan 1, 2011, at 8:58 PM, Chipp Walters wrote: > Hey, can anyone try this or tell me why it doesn't work? > If I use any other date than 11/07/2010, it generates the next date. But for > some reason Nov 7 doesn't work? > > on mouseUp > put "11/07/2010" into tDate > answer nextDayDate(tDate) > end mouseUp > > function nextDayDate pDate > convert pDate to seconds > > put 60*60*24 into tSecondsInDay > add tSecondsInDay to pDate > convert pDate to short date > return pDate > end nextDayDate > > -- > Chipp Walters > CEO, Shafer Walters Group, Inc. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pepetoo at cox.net Sun Jan 2 00:30:07 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Sat, 1 Jan 2011 21:30:07 -0800 Subject: Date bug? In-Reply-To: References: Message-ID: Chipp, I took it back to 1999 and 1984 and it works correctly, so must be related to the millennium fixes. Joe Lewis Wilkins Architect & Director of Product Development for GSI On Jan 1, 2011, at 8:58 PM, Chipp Walters wrote: > Hey, can anyone try this or tell me why it doesn't work? > If I use any other date than 11/07/2010, it generates the next date. But for > some reason Nov 7 doesn't work? > > on mouseUp > put "11/07/2010" into tDate > answer nextDayDate(tDate) > end mouseUp > > function nextDayDate pDate > convert pDate to seconds > > put 60*60*24 into tSecondsInDay > add tSecondsInDay to pDate > convert pDate to short date > return pDate > end nextDayDate From chipp at chipp.com Sun Jan 2 00:40:45 2011 From: chipp at chipp.com (Chipp Walters) Date: Sat, 1 Jan 2011 23:40:45 -0600 Subject: Date bug? In-Reply-To: References: Message-ID: Interesting, it DOES work if you add 3600 to the seconds..not one second less though: Hmm? function nextDayDate pDate convert pDate to seconds put 3600+60*60*24 into tSecondsInDay add tSecondsInDay to pDate convert pDate to short date return pDate end nextDayDate From ambassador at fourthworld.com Sun Jan 2 00:50:31 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 01 Jan 2011 21:50:31 -0800 Subject: Date bug? Message-ID: <4D201227.6040804@fourthworld.com> Chipp Walters wrote: > Hey, can anyone try this or tell me why it doesn't work? > If I use any other date than 11/07/2010, it generates the next date. But for > some reason Nov 7 doesn't work? > > on mouseUp > put "11/07/2010" into tDate > answer nextDayDate(tDate) > end mouseUp > > function nextDayDate pDate > convert pDate to seconds > > put 60*60*24 into tSecondsInDay > add tSecondsInDay to pDate > convert pDate to short date > return pDate > end nextDayDate Confirmed here. Oddly enough, it works well if instead of converting to seconds you convert to dateItems, and add 1 to item 3 of that value. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From andre.bisseret at wanadoo.fr Sun Jan 2 03:54:34 2011 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Sun, 2 Jan 2011 09:54:34 +0100 Subject: Date bug? In-Reply-To: References: Message-ID: <252BCD55-0C6D-4FE9-A5E0-28D910ED7C9E@wanadoo.fr> Bonjour Chipp, Here, with your script, I get 11/8/10 as expected. Mac 10.6.5; liveCode 4.5.2 Best regards from Grenoble Bonne et heureuse ann?e ? tous Andr? Le 2 janv. 2011 ? 05:58, Chipp Walters a ?crit : > Hey, can anyone try this or tell me why it doesn't work? > If I use any other date than 11/07/2010, it generates the next date. But for > some reason Nov 7 doesn't work? > > on mouseUp > put "11/07/2010" into tDate > answer nextDayDate(tDate) > end mouseUp > > function nextDayDate pDate > convert pDate to seconds > > put 60*60*24 into tSecondsInDay > add tSecondsInDay to pDate > convert pDate to short date > return pDate > end nextDayDate > > -- > Chipp Walters > CEO, Shafer Walters Group, Inc. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacques.hausser at unil.ch Sun Jan 2 04:08:51 2011 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Sun, 2 Jan 2011 10:08:51 +0100 Subject: Date bug? In-Reply-To: <252BCD55-0C6D-4FE9-A5E0-28D910ED7C9E@wanadoo.fr> References: <252BCD55-0C6D-4FE9-A5E0-28D910ED7C9E@wanadoo.fr> Message-ID: <6D15FEB7-8440-4097-B33C-E5C71A6BA89E@unil.ch> Hello, Here the answer is OK also. Mac OS 10.6.5 too. I guess the culprit is not LC, but what's behind... Happy New Year Jacques Le 2 janv. 2011 ? 09:54, Andr? Bisseret a ?crit : > Bonjour Chipp, > > Here, with your script, I get 11/8/10 as expected. > > Mac 10.6.5; liveCode 4.5.2 > > Best regards from Grenoble > > Bonne et heureuse ann?e ? tous > > Andr? > > Le 2 janv. 2011 ? 05:58, Chipp Walters a ?crit : > >> Hey, can anyone try this or tell me why it doesn't work? >> If I use any other date than 11/07/2010, it generates the next date. But for >> some reason Nov 7 doesn't work? >> >> on mouseUp >> put "11/07/2010" into tDate >> answer nextDayDate(tDate) >> end mouseUp >> >> function nextDayDate pDate >> convert pDate to seconds >> >> put 60*60*24 into tSecondsInDay >> add tSecondsInDay to pDate >> convert pDate to short date >> return pDate >> end nextDayDate >> >> -- >> Chipp Walters >> CEO, Shafer Walters Group, Inc. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From chipp at chipp.com Sun Jan 2 04:38:05 2011 From: chipp at chipp.com (Chipp Walters) Date: Sun, 2 Jan 2011 03:38:05 -0600 Subject: Date bug? In-Reply-To: <6D15FEB7-8440-4097-B33C-E5C71A6BA89E@unil.ch> References: <252BCD55-0C6D-4FE9-A5E0-28D910ED7C9E@wanadoo.fr> <6D15FEB7-8440-4097-B33C-E5C71A6BA89E@unil.ch> Message-ID: Interesting. I wonder if it has anything to do with GMT? I'm -600 and the calc is off by 3600 seconds..? And the folks who are in Europe have no problem with this script? Maybe Kevin or someone from the mothership can weigh in? On Sun, Jan 2, 2011 at 3:08 AM, Jacques Hausser wrote: > Hello, > > Here the answer is OK also. Mac OS 10.6.5 too. I guess the culprit is not > LC, but what's behind... > > Happy New Year > > Jacques > > Le 2 janv. 2011 ? 09:54, Andr? Bisseret a ?crit : > > > Bonjour Chipp, > > > > Here, with your script, I get 11/8/10 as expected. > > > > Mac 10.6.5; liveCode 4.5.2 > > > > Best regards from Grenoble > > > > Bonne et heureuse ann?e ? tous > > > > Andr? > > > > Le 2 janv. 2011 ? 05:58, Chipp Walters a ?crit : > > > >> Hey, can anyone try this or tell me why it doesn't work? > >> If I use any other date than 11/07/2010, it generates the next date. But > for > >> some reason Nov 7 doesn't work? > >> > >> on mouseUp > >> put "11/07/2010" into tDate > >> answer nextDayDate(tDate) > >> end mouseUp > >> > >> function nextDayDate pDate > >> convert pDate to seconds > >> > >> put 60*60*24 into tSecondsInDay > >> add tSecondsInDay to pDate > >> convert pDate to short date > >> return pDate > >> end nextDayDate > >> > >> -- > >> Chipp Walters > >> CEO, Shafer Walters Group, Inc. > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > ****************************************** > Prof. Jacques Hausser > Department of Ecology and Evolution > Biophore / Sorge > University of Lausanne > CH 1015 Lausanne > please use my private address: > 6 route de Burtigny > CH-1269 Bassins > tel/fax: ++ 41 22 366 19 40 > mobile: ++ 41 79 757 05 24 > E-Mail: jacques.hausser at unil.ch > ******************************************* > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Chipp Walters CEO, Shafer Walters Group, Inc. From liste.revo at medard.on-rev.com Sun Jan 2 04:38:44 2011 From: liste.revo at medard.on-rev.com (Medard) Date: Sun, 2 Jan 2011 10:38:44 +0100 Subject: A little surprise... and Happy New Year 2011! In-Reply-To: <1jtsrta.1ed0wxa1eg89jhM%liste.revo@medard.on-rev.com> Message-ID: <1jugqqz.1g089myb0kde4M%liste.revo@medard.on-rev.com> Medard wrote: > Robert Mann wrote: > > > have a good day, bonne journ?e.. et fetes! > > "I wish you a Merry Christmas and Happy New Year" :-) > > Nonetheless, if Livecode could standardize on UTF-8... Watching "charset" in the dictionary, it cannot be changed, only read... The charset is set accordingly to the platform, and is only changed when the stack is ported to another platform... From liste.revo at medard.on-rev.com Sun Jan 2 04:38:44 2011 From: liste.revo at medard.on-rev.com (Medard) Date: Sun, 2 Jan 2011 10:38:44 +0100 Subject: A little surprise... and Happy New Year 2011! In-Reply-To: <1jtsrta.1ed0wxa1eg89jhM%liste.revo@medard.on-rev.com> Message-ID: <1jugqqz.1g089myb0kde4M%liste.revo@medard.on-rev.com> Medard wrote: > Robert Mann wrote: > > > have a good day, bonne journ?e.. et fetes! > > "I wish you a Merry Christmas and Happy New Year" :-) > > Nonetheless, if Livecode could standardize on UTF-8... Watching "charset" in the dictionary, it cannot be changed, only read... The charset is set accordingly to the platform, and is only changed when the stack is ported to another platform... From niggemann at uni-wh.de Sun Jan 2 05:35:13 2011 From: niggemann at uni-wh.de (BNig) Date: Sun, 2 Jan 2011 02:35:13 -0800 (PST) Subject: Date bug? In-Reply-To: References: <252BCD55-0C6D-4FE9-A5E0-28D910ED7C9E@wanadoo.fr> <6D15FEB7-8440-4097-B33C-E5C71A6BA89E@unil.ch> Message-ID: <1293964513689-3170805.post@n4.nabble.com> Hi Chipp, it is daylight saving that throws things off. For the people in Europe it is the 31st of october that will not work with your original code. As Sarah (who knows all about dates) recomends: always calculate from 12 h noon for calculating dates. -------------- on mouseUp put "10/31/2010" into tDate convert tDate to dateItems put 12 into item 4 of tDate answer nextDayDate(tDate) end mouseUp function nextDayDate pDate ? ?convert pDate to seconds ? ?put 60*60*24 into tSecondsInDay ? ?add tSecondsInDay to pDate ? ?convert pDate to short date ? ?return pDate end nextDayDate ------------------ european version. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Date-bug-tp3170675p3170805.html Sent from the Revolution - User mailing list archive at Nabble.com. From pmbrig at gmail.com Sun Jan 2 08:28:41 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Sun, 2 Jan 2011 08:28:41 -0500 Subject: Editing locked or List fields In-Reply-To: <4D1FAA22.5090505@hindu.org> References: <4D1FAA22.5090505@hindu.org> Message-ID: <8D60A76B-B78B-40A8-9730-F052474F4916@gmail.com> On Jan 1, 2011, at 5:26 PM, Sivakatirswami wrote: > I'm all the time editing locked or list fields or fields where the > traversal is off. > > The "onerous" method is of course to switch to the select tool, > double click on the fld; choose Contents from the drop down menu, > resize the window if you need to see more of the contents... edit > contents > > Before i cook up my own widget, which would not be hard to do, I was > wondering what do the rest of you do? > > OT: is tRev working, bug-free, with the latest versions of LiveCode? > > Sivakatirswami I use a virtual property: on mouseup theBtn if theBtn = 1 and "field" is in the target and the \ commandkey is down and the shiftkey is down then set the writable of the target to not the writable of the target else pass mouseup end if end mouseup setprop writable tf if "field" is not in the target then exit writable try set the locktext of the target to not tf set the traversalon of the target to tf set the autohilite of the target to tf -- catch tError -- beep -- answer tError end try end writable getprop writable if "field" is not in the target then return "" try put the locktext of the target into L put the traversalon of the target into T put the autohilite of the target into A if T and A and not L then return true return false end try end writable Put this in a library stack or a frontscript and it will work everywhere -- command-shift-click on any field and toggle the writable of the field. I use it constantly. You can revise this to just toggle the locktext if you work with list fields a lot, so that the usual hiliting and line selection are preserved, locked or unlocked. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pmbrig at gmail.com Sun Jan 2 08:30:20 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Sun, 2 Jan 2011 08:30:20 -0500 Subject: Happy New Year In-Reply-To: References: <4D1F93D2.1040901@pdslabs.net> Message-ID: On Jan 1, 2011, at 5:29 PM, Nonsanity wrote: > Happy 1293858000! > > ~ Chris Innanen > ~ Nonsanity LOL!!! Now that's a Happy LC New Year! -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pmbrig at gmail.com Sun Jan 2 08:34:34 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Sun, 2 Jan 2011 08:34:34 -0500 Subject: Date bug? In-Reply-To: References: Message-ID: <096F7C55-10E3-4694-A743-F161428842AB@gmail.com> On Jan 1, 2011, at 11:58 PM, Chipp Walters wrote: > Hey, can anyone try this or tell me why it doesn't work? > If I use any other date than 11/07/2010, it generates the next date. > But for > some reason Nov 7 doesn't work? > > on mouseUp > put "11/07/2010" into tDate > answer nextDayDate(tDate) > end mouseUp > > function nextDayDate pDate > convert pDate to seconds > > put 60*60*24 into tSecondsInDay > add tSecondsInDay to pDate > convert pDate to short date > return pDate > end nextDayDate I think it is related to the daylight savings shift, that's why it works if you add an hour. Here's what I use, to avoid all problems: function nextDayDate pDate convert pDate to dateitems add 1 to item 2 of pDate convert pDate to short date return pDate end nextDayDate -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pmbrig at gmail.com Sun Jan 2 08:37:32 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Sun, 2 Jan 2011 08:37:32 -0500 Subject: Date bug? In-Reply-To: References: Message-ID: <7FE2AFCA-013B-4F80-BB85-DDCED9166446@gmail.com> Sorry: item 3 of the dateItems. On Jan 1, 2011, at 11:58 PM, Chipp Walters wrote: > Hey, can anyone try this or tell me why it doesn't work? > If I use any other date than 11/07/2010, it generates the next date. > But for > some reason Nov 7 doesn't work? > > on mouseUp > put "11/07/2010" into tDate > answer nextDayDate(tDate) > end mouseUp > > function nextDayDate pDate > convert pDate to seconds > > put 60*60*24 into tSecondsInDay > add tSecondsInDay to pDate > convert pDate to short date > return pDate > end nextDayDate I think it is related to the daylight savings shift, that's why it works if you add an hour. Here's what I use, to avoid all problems: function nextDayDate pDate convert pDate to dateitems add 1 to item 3 of pDate ----> correction convert pDate to short date return pDate end nextDayDate From mikekann at yahoo.com Sun Jan 2 09:31:44 2011 From: mikekann at yahoo.com (Michael Kann) Date: Sun, 2 Jan 2011 06:31:44 -0800 (PST) Subject: On-Rev Server Access In-Reply-To: <096F7C55-10E3-4694-A743-F161428842AB@gmail.com> Message-ID: <365308.54485.qm@web56705.mail.re3.yahoo.com> I haven't been to the on-rev server for a while and find I can't get in. Here's what I'm trying with Filezilla: host: taishan.on-rev.com user: taishan password: good_password Of course it might just be me. I'm just wondering if anything has changed in the access procedure. Wishing everyone a Happy New Year, Mike From chipp at chipp.com Sun Jan 2 11:07:31 2011 From: chipp at chipp.com (Chipp Walters) Date: Sun, 2 Jan 2011 10:07:31 -0600 Subject: Date bug? In-Reply-To: <1293964513689-3170805.post@n4.nabble.com> References: <252BCD55-0C6D-4FE9-A5E0-28D910ED7C9E@wanadoo.fr> <6D15FEB7-8440-4097-B33C-E5C71A6BA89E@unil.ch> <1293964513689-3170805.post@n4.nabble.com> Message-ID: Daylight savings. Ah. Thanks for pointing it out :-) On Sunday, January 2, 2011, BNig wrote: > > Hi Chipp, > > it is daylight saving that throws things off. From runrev260805 at m-r-d.de Sun Jan 2 11:43:07 2011 From: runrev260805 at m-r-d.de (Matthias Rebbe) Date: Sun, 2 Jan 2011 17:43:07 +0100 Subject: On-Rev Server Access In-Reply-To: <365308.54485.qm@web56705.mail.re3.yahoo.com> References: <365308.54485.qm@web56705.mail.re3.yahoo.com> Message-ID: Michael, Just use the login form at the top of the page at http://www.on-rev.com Regards, Matthias Am 02.01.2011 um 15:31 schrieb Michael Kann : > I haven't been to the on-rev server for a while and find I can't get in. Here's what I'm trying with Filezilla: > > host: taishan.on-rev.com > user: taishan > password: good_password > > Of course it might just be me. I'm just wondering if anything has changed in the access procedure. > > Wishing everyone a Happy New Year, > > Mike > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mikekann at yahoo.com Sun Jan 2 12:45:17 2011 From: mikekann at yahoo.com (Michael Kann) Date: Sun, 2 Jan 2011 09:45:17 -0800 (PST) Subject: On-Rev Server Access In-Reply-To: Message-ID: <848012.66046.qm@web56706.mail.re3.yahoo.com> Danke --- On Sun, 1/2/11, Matthias Rebbe wrote: From: Matthias Rebbe Subject: Re: On-Rev Server Access To: "How to use LiveCode" Date: Sunday, January 2, 2011, 10:43 AM Michael, Just use the login form at the top of the page at http://www.on-rev.com Regards, Matthias Am 02.01.2011 um 15:31 schrieb Michael Kann : > I haven't been to the on-rev server for a while and find I can't get in. Here's what I'm trying with Filezilla: > > host: taishan.on-rev.com > user: taishan > password: good_password > > Of course it might just be me. I'm just wondering if anything has changed in the access procedure. > > Wishing everyone a Happy New Year, > > Mike > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From iangmcknight at gmail.com Sun Jan 2 13:38:57 2011 From: iangmcknight at gmail.com (Ian McKnight) Date: Sun, 2 Jan 2011 18:38:57 +0000 Subject: How to force a reload of a datastack. Message-ID: Hi Could someone confirm (or otherwise) that what I hope to happen with this script will indeed happen? I have a stack loaded into memory at start up. I have exclusive use of it for a period of time. When the time runs out someone else can use and change the stack. But I want to use the data stack again - after it has been changed by someone else but as I haven't quit my program I still have the 'old' version in memory. Will this script force the file to be re-read from disc? command openDataFile pName -------------------------------------------- if gWaitingToGoAgainAfterTimeOut = false then -- load the file first time of asking put "data/"&pName into tName open invisible stack tName else -- stack could have changed -- clear my old version out of memory -- and load stack again set the destroyStack of stack pName to true close stack pName open invisible stack tName end if end openDataFile Thanks for any feedback. And a Happy New Year to all. -- Regards Ian McKnight iangmcknight at gmail.com ======================= From scott at tactilemedia.com Sun Jan 2 13:45:48 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 2 Jan 2011 10:45:48 -0800 Subject: How to force a reload of a datastack. In-Reply-To: References: Message-ID: <6EABB50C-DFA1-40A2-B7B4-EDBD6DAF6195@tactilemedia.com> I haven't tested your script but wanted to suggest looking at the "revert" command as I believe this is supposed to force the reload of a stack. Regards, Scott Rossi Creative Director Tactile Media, UX Design On Jan 2, 2011, at 10:38 AM, Ian McKnight wrote: > Hi > > > Could someone confirm (or otherwise) that what I hope to happen with this > script will indeed happen? > > I have a stack loaded into memory at start up. I have exclusive use of it > for a period of time. When the time runs out someone else can use and change > the stack. But I want to use the data stack again - after it has been > changed by someone else but as I haven't quit my program I still have the > 'old' version in memory. Will this script force the file to be re-read from > disc? > > command openDataFile pName > -------------------------------------------- > > if gWaitingToGoAgainAfterTimeOut = false > then > > -- load the file first time of asking > > put "data/"&pName into tName > open invisible stack tName > > else > > -- stack could have changed > -- clear my old version out of memory > -- and load stack again > > set the destroyStack of stack pName to true > close stack pName > open invisible stack tName > > end if > end openDataFile > > Thanks for any feedback. > > And a Happy New Year to all. > > > -- > Regards > > > Ian McKnight > > iangmcknight at gmail.com > ======================= > _______________________________________________ From mikekann at yahoo.com Sun Jan 2 13:53:01 2011 From: mikekann at yahoo.com (Michael Kann) Date: Sun, 2 Jan 2011 10:53:01 -0800 (PST) Subject: On-Rev Server Access In-Reply-To: Message-ID: <744985.56704.qm@web56704.mail.re3.yahoo.com> Matthias, Thanks for pointing me to the cPanel login form. I got in. Do you know of any change that would keep me from accessing the server from FileZilla? I've always done it before. I'm more used to using that program and need to move a lot of files. Thanks, Mike --- On Sun, 1/2/11, Matthias Rebbe wrote: From: Matthias Rebbe Subject: Re: On-Rev Server Access To: "How to use LiveCode" Date: Sunday, January 2, 2011, 10:43 AM Michael, Just use the login form at the top of the page at http://www.on-rev.com Regards, Matthias Am 02.01.2011 um 15:31 schrieb Michael Kann : > I haven't been to the on-rev server for a while and find I can't get in. Here's what I'm trying with Filezilla: > > host: taishan.on-rev.com > user: taishan > password: good_password > > Of course it might just be me. I'm just wondering if anything has changed in the access procedure. > > Wishing everyone a Happy New Year, > > Mike > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Jan 2 14:02:27 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 02 Jan 2011 13:02:27 -0600 Subject: How to force a reload of a datastack. In-Reply-To: References: Message-ID: <4D20CBC3.4050903@hyperactivesw.com> On 1/2/11 12:38 PM, Ian McKnight wrote: > Hi > > > Could someone confirm (or otherwise) that what I hope to happen with this > script will indeed happen? > > I have a stack loaded into memory at start up. I have exclusive use of it > for a period of time. When the time runs out someone else can use and change > the stack. But I want to use the data stack again - after it has been > changed by someone else but as I haven't quit my program I still have the > 'old' version in memory. Will this script force the file to be re-read from > disc? > > command openDataFile pName > -------------------------------------------- > > if gWaitingToGoAgainAfterTimeOut = false > then > > -- load the file first time of asking > > put "data/"&pName into tName > open invisible stack tName > > else > > -- stack could have changed > -- clear my old version out of memory > -- and load stack again > > set the destroyStack of stack pName to true > close stack pName > open invisible stack tName > > end if > end openDataFile It should. But I usually just use the "revert" command, which forces a reload without closing the stack. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at tweedly.net Sun Jan 2 15:22:46 2011 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 02 Jan 2011 20:22:46 +0000 Subject: On-Rev Server Access In-Reply-To: <744985.56704.qm@web56704.mail.re3.yahoo.com> References: <744985.56704.qm@web56704.mail.re3.yahoo.com> Message-ID: <4D20DE96.1040706@tweedly.net> for "host", try using the host name, not your user name. So instead of > host: taishan.on-rev.com > user: taishan > password: good_password it should be (something like) > host: loki.on-rev.com > user: taishan > password: good_password depending on which actual server your account is on. -- Alex. On 02/01/2011 18:53, Michael Kann wrote: > Matthias, > > Thanks for pointing me to the cPanel login form. I got in. Do you know of any change that would keep me from accessing the server from FileZilla? I've always done it before. I'm more used to using that program and need to move a lot of files. > > Thanks, > > Mike > > --- On Sun, 1/2/11, Matthias Rebbe wrote: > > From: Matthias Rebbe > Subject: Re: On-Rev Server Access > To: "How to use LiveCode" > Date: Sunday, January 2, 2011, 10:43 AM > > Michael, > > Just use the login form at the top of the page at > > http://www.on-rev.com > > Regards, > > Matthias > > > Am 02.01.2011 um 15:31 schrieb Michael Kann: > >> I haven't been to the on-rev server for a while and find I can't get in. Here's what I'm trying with Filezilla: >> >> host: taishan.on-rev.com >> user: taishan >> password: good_password >> >> Of course it might just be me. I'm just wondering if anything has changed in the access procedure. >> >> Wishing everyone a Happy New Year, >> >> Mike >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From iangmcknight at gmail.com Sun Jan 2 16:04:00 2011 From: iangmcknight at gmail.com (Ian McKnight) Date: Sun, 2 Jan 2011 21:04:00 +0000 Subject: How to force a reload of a datastack. In-Reply-To: <4D20CBC3.4050903@hyperactivesw.com> References: <4D20CBC3.4050903@hyperactivesw.com> Message-ID: Hi I had forgotten about revert - I just thought it was an entry on the File menu! As my program/app loads a separate data stack which is the one I want to revert then would need to do this? put the defaultstack into myOldStack set the defaultstack to myDataStack revert set the defaultstack to myOldStack Thanks On 2 January 2011 19:02, J. Landman Gay wrote: > On 1/2/11 12:38 PM, Ian McKnight wrote: > >> Hi >> >> >> Could someone confirm (or otherwise) that what I hope to happen with this >> script will indeed happen? >> >> I have a stack loaded into memory at start up. I have exclusive use of it >> for a period of time. When the time runs out someone else can use and >> change >> the stack. But I want to use the data stack again - after it has been >> changed by someone else but as I haven't quit my program I still have the >> 'old' version in memory. Will this script force the file to be re-read >> from >> disc? >> >> command openDataFile pName >> -------------------------------------------- >> >> if gWaitingToGoAgainAfterTimeOut = false >> then >> >> -- load the file first time of asking >> >> put "data/"&pName into tName >> open invisible stack tName >> >> else >> >> -- stack could have changed >> -- clear my old version out of memory >> -- and load stack again >> >> set the destroyStack of stack pName to true >> close stack pName >> open invisible stack tName >> >> end if >> end openDataFile >> > > It should. But I usually just use the "revert" command, which forces a > reload without closing the stack. > > -- > 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 > -- Regards Ian McKnight iangmcknight at gmail.com ======================= From runrev260805 at m-r-d.de Sun Jan 2 16:13:26 2011 From: runrev260805 at m-r-d.de (Matthias Rebbe) Date: Sun, 2 Jan 2011 22:13:26 +0100 Subject: On-Rev Server Access In-Reply-To: <744985.56704.qm@web56704.mail.re3.yahoo.com> References: <744985.56704.qm@web56704.mail.re3.yahoo.com> Message-ID: <33287590-4CE1-43A0-A750-327659A162C8@m-r-d.de> Michael, so you have problems to connect via ftp to on-rev? i tried with my account on the loki server with filezilla under mac os x and it works. So if you cannot access to your server and if it is not the loki server, then i would assume that the ftp daemon is not running on that server. in that case you should contact support at support at on-rev.com with URGENT in the subject line. Urgent take care that support staff is contacted immediately. They should fix it very quickly. Please keep in mind that you should use the URGENT term only for support requests where the server services are not working properly. If you are also on loki server then i would assume that there is a problem with your computer. Regards, Matthias Am 02.01.2011 um 19:53 schrieb Michael Kann: > Matthias, > > Thanks for pointing me to the cPanel login form. I got in. Do you know of any change that would keep me from accessing the server from FileZilla? I've always done it before. I'm more used to using that program and need to move a lot of files. > > Thanks, > > Mike > > --- On Sun, 1/2/11, Matthias Rebbe wrote: > > From: Matthias Rebbe > Subject: Re: On-Rev Server Access > To: "How to use LiveCode" > Date: Sunday, January 2, 2011, 10:43 AM > > Michael, > > Just use the login form at the top of the page at > > http://www.on-rev.com > > Regards, > > Matthias > > > Am 02.01.2011 um 15:31 schrieb Michael Kann : > >> I haven't been to the on-rev server for a while and find I can't get in. Here's what I'm trying with Filezilla: >> >> host: taishan.on-rev.com >> user: taishan >> password: good_password >> >> Of course it might just be me. I'm just wondering if anything has changed in the access procedure. >> >> Wishing everyone a Happy New Year, >> >> Mike >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Sun Jan 2 17:38:26 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 2 Jan 2011 14:38:26 -0800 Subject: [OT] A GREAT Mac Cocoa MYSQL tool - Donationware Message-ID: This thing is better than Navicat - and it works perfectly. I've been looking for an app that was this complete for years. http://www.sequelpro.com/ edits blobs of all kinds dual mode editing - double click edit in cell or in a field useful console showing exact commands sent to server - great for quick query building Font sizes and fonts are customizable everywhere Nice to look at. Easy recognition of function. no registration - free -- donation requested however and well worth the $10-20 -- Stephen Barncard San Francisco Ca. USA more about sqb From selander at tkf.att.ne.jp Sun Jan 2 18:27:31 2011 From: selander at tkf.att.ne.jp (Tim Selander) Date: Mon, 03 Jan 2011 08:27:31 +0900 Subject: On-Rev Server Access In-Reply-To: <365308.54485.qm@web56705.mail.re3.yahoo.com> References: <365308.54485.qm@web56705.mail.re3.yahoo.com> Message-ID: <4D2109E3.6070009@tkf.att.ne.jp> on my account, my ftp user name needs to be in the form "taishan at taishan.on-rev.com" ; is that what is causing your problem? Tim Selander Tokyo, japan On 1/2/11 11:31 PM, Michael Kann wrote: > I haven't been to the on-rev server for a while and find I can't get in. Here's what I'm trying with Filezilla: > > host: taishan.on-rev.com > user: taishan > password: good_password > > Of course it might just be me. I'm just wondering if anything has changed in the access procedure. > > Wishing everyone a Happy New Year, > > Mike > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From chipp at chipp.com Sun Jan 2 19:06:17 2011 From: chipp at chipp.com (Chipp Walters) Date: Sun, 2 Jan 2011 18:06:17 -0600 Subject: Basic libURL bug? Message-ID: Can anyone confirm this for me? Create a stack. Add one field and one button. Set the script of the button to: on mouseUp put "" put URL "http://www.widgetgadget.com/stuff/test.log" into fld 1 put the number of lines in fld 1 end mouseUp The button downloads a test log with 4558 lines of text. When I run this I get different results. libURL seems to download different amounts of the logfile. Is there something I'm doing wrong, or is this a libURL bug? (I've tried this from two different servers). -- Chipp Walters CEO, Shafer Walters Group, Inc. From coiin at verizon.net Sun Jan 2 19:16:16 2011 From: coiin at verizon.net (Colin Holgate) Date: Sun, 02 Jan 2011 19:16:16 -0500 Subject: Basic libURL bug? In-Reply-To: References: Message-ID: <6ED9375E-BF16-4854-A1A1-B9524FC5EB17@verizon.net> Your test seems puzzling. Running exactly what you gave always gives 4558, but then you talk about libURL, which you haven't used. Is there a different script we're supposed to compare against? From ambassador at fourthworld.com Sun Jan 2 19:17:00 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 02 Jan 2011 16:17:00 -0800 Subject: Basic libURL bug? Message-ID: <4D21157C.2060809@fourthworld.com> Chipp Walters wrote: > Can anyone confirm this for me? > > Create a stack. Add one field and one button. > Set the script of the button to: > > on mouseUp > put "" > put URL "http://www.widgetgadget.com/stuff/test.log" into fld 1 > put the number of lines in fld 1 > end mouseUp > > The button downloads a test log with 4558 lines of text. > > When I run this I get different results. libURL seems to download different > amounts of the logfile. Is there something I'm doing wrong, or is this a > libURL bug? > (I've tried this from two different servers). Ran it 10 times here - always returns "4558". -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From chipp at chipp.com Sun Jan 2 19:19:40 2011 From: chipp at chipp.com (Chipp Walters) Date: Sun, 2 Jan 2011 18:19:40 -0600 Subject: Basic libURL bug? In-Reply-To: <6ED9375E-BF16-4854-A1A1-B9524FC5EB17@verizon.net> References: <6ED9375E-BF16-4854-A1A1-B9524FC5EB17@verizon.net> Message-ID: I always believed a get URL call was part of libURL. Isn't it? Any of you guys running Windows? And what version of LC/Rev? On Sun, Jan 2, 2011 at 6:16 PM, Colin Holgate wrote: > Your test seems puzzling. Running exactly what you gave always gives 4558, > but then you talk about libURL, which you haven't used. Is there a different > script we're supposed to compare against? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Chipp Walters CEO, Shafer Walters Group, Inc. From chipp at chipp.com Sun Jan 2 19:26:40 2011 From: chipp at chipp.com (Chipp Walters) Date: Sun, 2 Jan 2011 18:26:40 -0600 Subject: Basic libURL bug? In-Reply-To: References: <6ED9375E-BF16-4854-A1A1-B9524FC5EB17@verizon.net> Message-ID: Even more interesting. On my Mac, it returns correctly, just not on my PC. On Sun, Jan 2, 2011 at 6:19 PM, Chipp Walters wrote: > I always believed a get URL call was part of libURL. Isn't it? > > Any of you guys running Windows? And what version of LC/Rev? > > > On Sun, Jan 2, 2011 at 6:16 PM, Colin Holgate wrote: > >> Your test seems puzzling. Running exactly what you gave always gives 4558, >> but then you talk about libURL, which you haven't used. Is there a different >> script we're supposed to compare against? >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > Chipp Walters > CEO, Shafer Walters Group, Inc. > > -- Chipp Walters CEO, Shafer Walters Group, Inc. From mwieder at ahsoftware.net Sun Jan 2 19:34:38 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 2 Jan 2011 16:34:38 -0800 Subject: Basic libURL bug? In-Reply-To: References: <6ED9375E-BF16-4854-A1A1-B9524FC5EB17@verizon.net> Message-ID: <70220706593.20110102163438@ahsoftware.net> Chipp- Sunday, January 2, 2011, 4:26:40 PM, you wrote: > Even more interesting. On my Mac, it returns correctly, just not on my PC. Yep. I can verify that here. Returns 4558 every time on OSX. On XP I'm getting different results. Sometimes 4558, sometimes 0 (I added a "put the result into field 2" and sometimes find interesting things there: "error No Header received"), I've gotten 1583, 3675... -- -Mark Wieder mwieder at ahsoftware.net From chipp at chipp.com Sun Jan 2 19:39:48 2011 From: chipp at chipp.com (Chipp Walters) Date: Sun, 2 Jan 2011 18:39:48 -0600 Subject: Basic libURL bug? In-Reply-To: <70220706593.20110102163438@ahsoftware.net> References: <6ED9375E-BF16-4854-A1A1-B9524FC5EB17@verizon.net> <70220706593.20110102163438@ahsoftware.net> Message-ID: Thanks Mark, According to Chris, when he checks the log files, he's finding an error corresponding to the socket doesn't exist anymore. I'm off to implement my put URL's in cURL, unless someone has a fix. On Sun, Jan 2, 2011 at 6:34 PM, Mark Wieder wrote: > Chipp- > > Sunday, January 2, 2011, 4:26:40 PM, you wrote: > > > Even more interesting. On my Mac, it returns correctly, just not on my > PC. > > Yep. I can verify that here. Returns 4558 every time on OSX. On XP I'm > getting different results. Sometimes 4558, sometimes 0 (I added a "put > the result into field 2" and sometimes find interesting things there: > "error No Header received"), I've gotten 1583, 3675... > > -- > -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 > -- Chipp Walters CEO, Shafer Walters Group, Inc. From capellan2000 at gmail.com Sun Jan 2 20:46:25 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 2 Jan 2011 17:46:25 -0800 (PST) Subject: Happy New Year In-Reply-To: References: Message-ID: <1294019185487-3171478.post@n4.nabble.com> I wish a great good year for RunRev Ltd. and every developer in this platform. My top item in wish list for this Development platform is a Librarian who could write code. Just one. http://runtime-revolution.278305.n4.nabble.com/OAuth-td3087738.html#a3087968 Best from your friend in GMT-4 http://wwp.greenwichmeantime.com/time-zone/gmt-4/ Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Happy-New-Year-tp3170404p3171478.html Sent from the Revolution - User mailing list archive at Nabble.com. From dave.cragg at lacscentre.co.uk Sun Jan 2 21:12:17 2011 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 3 Jan 2011 02:12:17 +0000 Subject: Basic libURL bug? In-Reply-To: <70220706593.20110102163438@ahsoftware.net> References: <6ED9375E-BF16-4854-A1A1-B9524FC5EB17@verizon.net> <70220706593.20110102163438@ahsoftware.net> Message-ID: <63F6429C-CFE5-441E-BB88-94B2DC334F98@lacscentre.co.uk> On 3 Jan 2011, at 00:34, Mark Wieder wrote: > Chipp- > > Sunday, January 2, 2011, 4:26:40 PM, you wrote: > >> Even more interesting. On my Mac, it returns correctly, just not on my PC. > > Yep. I can verify that here. Returns 4558 every time on OSX. On XP I'm > getting different results. Sometimes 4558, sometimes 0 (I added a "put > the result into field 2" and sometimes find interesting things there: > "error No Header received"), I've gotten 1583, 3675... I'm also seeing strange results on Windows. At first it seemed like random quantities of data were being received, but now it seems "stable" and consistently receives 207169 bytes of data (out of 1079427). Some stranger stuff... I tried to trace what was happening in libUrl. (edit script of button "revLibUrl" of stack "revLibrary") In the libUrl script there is a handler named ulDoProcessLength. The start of this handler looks like this, except for the two "DEBUG" lines I added. If you uncomment these, they will output into a field that you can set with libUrlSetLogField. on ulDoProcessLength x,y local tStatus ##normal http case if y <> empty then ulStoreData laUrl[x],y add length(y) to laReadBytes[laUrl[x]] //ulLogIt laReadBytes[laUrl[x]] & "," & length(y) & cr //DEBUG 1 -ADDED BY ME end if if laReadBytes[laUrl[x]] >= laLength[laUrl[x]] then put "true" into laStatus[laUrl[x]] //ulLogIt laReadBytes[laUrl[x]] & ", " & laLength[laUrl[x]] & "," & length(y) & cr //DEBUG 2 - ADDED BY ME if char 1 of laStatusCode[laUrl[x]] = 2 then ##in 200 range--OK if laFile[laUrl[x]] is empty then put "cached" into tStatus else put "downloaded" into tStatus end if If I uncomment the first DEBUG line, all the data gets downloaded. This seems to be consistent. Not sure what this means, but at a guess, I'd say the short time used to log the data is allowing LC to read properly from the socket. But stranger still... If I uncomment the second debug line (and comment the first one), it outputs this in the log field: 207169, 1079427,1440 Given the condition in the "if" line, this should be impossible. Maybe I've had too much sherry over the holiday, so if someone would like to try and see if they see the same it would be interesting. One question, Chipp. Is there anything in the data that might "upset" LC and therefore cause stange comparison results? Cheers Dave From chipp at chipp.com Sun Jan 2 21:27:29 2011 From: chipp at chipp.com (Chipp Walters) Date: Sun, 2 Jan 2011 20:27:29 -0600 Subject: Basic libURL bug? In-Reply-To: <63F6429C-CFE5-441E-BB88-94B2DC334F98@lacscentre.co.uk> References: <6ED9375E-BF16-4854-A1A1-B9524FC5EB17@verizon.net> <70220706593.20110102163438@ahsoftware.net> <63F6429C-CFE5-441E-BB88-94B2DC334F98@lacscentre.co.uk> Message-ID: Dave, It's just a standard IIS logfile from a server. There's nothing funny about it. In fact, I cut/pasted it into a text file and uploaded it to the server it's on right now, so as to keep Chris from hollering at me! (It had the problem on our server as well). Do you suggest I add the debug line you mention, or is there something 'better' to do for now? TIA, C On Sun, Jan 2, 2011 at 8:12 PM, Dave Cragg wrote: > > On 3 Jan 2011, at 00:34, Mark Wieder wrote: > > > Chipp- > > > > Sunday, January 2, 2011, 4:26:40 PM, you wrote: > > > >> Even more interesting. On my Mac, it returns correctly, just not on my > PC. > > > > Yep. I can verify that here. Returns 4558 every time on OSX. On XP I'm > > getting different results. Sometimes 4558, sometimes 0 (I added a "put > > the result into field 2" and sometimes find interesting things there: > > "error No Header received"), I've gotten 1583, 3675... > > > I'm also seeing strange results on Windows. > > At first it seemed like random quantities of data were being received, but > now it seems "stable" and consistently receives 207169 bytes of data (out of > 1079427). > > Some stranger stuff... > > I tried to trace what was happening in libUrl. (edit script of button > "revLibUrl" of stack "revLibrary") > > In the libUrl script there is a handler named ulDoProcessLength. The start > of this handler looks like this, except for the two "DEBUG" lines I added. > If you uncomment these, they will output into a field that you can set with > libUrlSetLogField. > > on ulDoProcessLength x,y > local tStatus > ##normal http case > if y <> empty then > ulStoreData laUrl[x],y > add length(y) to laReadBytes[laUrl[x]] > //ulLogIt laReadBytes[laUrl[x]] & "," & length(y) & cr //DEBUG 1 > -ADDED BY ME > end if > > if laReadBytes[laUrl[x]] >= laLength[laUrl[x]] then > put "true" into laStatus[laUrl[x]] > //ulLogIt laReadBytes[laUrl[x]] & ", " & laLength[laUrl[x]] & "," & > length(y) & cr //DEBUG 2 - ADDED BY ME > if char 1 of laStatusCode[laUrl[x]] = 2 then ##in 200 range--OK > if laFile[laUrl[x]] is empty then > put "cached" into tStatus > else > put "downloaded" into tStatus > end if > > If I uncomment the first DEBUG line, all the data gets downloaded. This > seems to be consistent. Not sure what this means, but at a guess, I'd say > the short time used to log the data is allowing LC to read properly from the > socket. > > But stranger still... > > If I uncomment the second debug line (and comment the first one), it > outputs this in the log field: > > 207169, 1079427,1440 > > Given the condition in the "if" line, this should be impossible. > > Maybe I've had too much sherry over the holiday, so if someone would like > to try and see if they see the same it would be interesting. > > One question, Chipp. Is there anything in the data that might "upset" LC > and therefore cause stange comparison results? > > 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 > -- Chipp Walters CEO, Shafer Walters Group, Inc. From ambassador at fourthworld.com Sun Jan 2 21:45:27 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 02 Jan 2011 18:45:27 -0800 Subject: Basic libURL bug? Message-ID: <4D213847.8060308@fourthworld.com> Dave Cragg wrote: > I'm also seeing strange results on Windows. FWIW I just ran some additional tests on Ubuntu, and there I'm getting the same good result as on OS X. Since the libURL code in question isn't branching by OS, what could make this issue OS-specific? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From dave.cragg at lacscentre.co.uk Sun Jan 2 21:59:34 2011 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 3 Jan 2011 02:59:34 +0000 Subject: Basic libURL bug? In-Reply-To: References: <6ED9375E-BF16-4854-A1A1-B9524FC5EB17@verizon.net> <70220706593.20110102163438@ahsoftware.net> <63F6429C-CFE5-441E-BB88-94B2DC334F98@lacscentre.co.uk> Message-ID: <122F2923-848D-4960-91D6-FD65342B5C94@lacscentre.co.uk> On 3 Jan 2011, at 02:27, Chipp Walters wrote: > Dave, > > It's just a standard IIS logfile from a server. There's nothing funny about > it. In fact, I cut/pasted it into a text file and uploaded it to the server > it's on right now, so as to keep Chris from hollering at me! (It had the > problem on our server as well). > > Do you suggest I add the debug line you mention, or is there something > 'better' to do for now? Not sure, Chipp. It's not clear whether we're all seeing exactly the same thing or not. Two suggestions for now: 1. In the libUrl script where I added the DEBUG 1 line, add this instead: wait 15 milliseconds with messages This works here. But it fails if I set it to 10 milliseconds. (But I guess this will slow the total download by a number of seconds, so it's a bit of a desperate fix.) 2. set the httpHeaders to "Connection: close" I was seeing socket errors sometimes (perhaps similar to what Mark reported) when retrying the script. I think the error on the socket probably occurred on the previous try, but for some reason, the error isn't being seen by LC and it is trying to re-use the faulty (or already closed) socket on subsequent calls. Setting the connection header will force the socket to get closed on completion and LC will automatically open a fresh socket for subsequent calls. So not a fix as such, but it may help to reduce some of the consequential effects. Dave From chipp at chipp.com Sun Jan 2 22:11:12 2011 From: chipp at chipp.com (Chipp Walters) Date: Sun, 2 Jan 2011 21:11:12 -0600 Subject: Basic libURL bug? In-Reply-To: <122F2923-848D-4960-91D6-FD65342B5C94@lacscentre.co.uk> References: <6ED9375E-BF16-4854-A1A1-B9524FC5EB17@verizon.net> <70220706593.20110102163438@ahsoftware.net> <63F6429C-CFE5-441E-BB88-94B2DC334F98@lacscentre.co.uk> <122F2923-848D-4960-91D6-FD65342B5C94@lacscentre.co.uk> Message-ID: Dave, Per your advice, this seems to work more often, but not always. I'll try the delay next. on mouseUp put "" set the httpHeaders to "Connection: close" put URL "http://www.widgetgadget.com/stuff/test.log" into fld 1 put the number of lines in fld 1 end mouseUp On Sun, Jan 2, 2011 at 8:59 PM, Dave Cragg wrote: > > On 3 Jan 2011, at 02:27, Chipp Walters wrote: > > > Dave, > > > > It's just a standard IIS logfile from a server. There's nothing funny > about > > it. In fact, I cut/pasted it into a text file and uploaded it to the > server > > it's on right now, so as to keep Chris from hollering at me! (It had the > > problem on our server as well). > > > > Do you suggest I add the debug line you mention, or is there something > > 'better' to do for now? > > Not sure, Chipp. It's not clear whether we're all seeing exactly the same > thing or not. > > Two suggestions for now: > > 1. In the libUrl script where I added the DEBUG 1 line, add this instead: > > wait 15 milliseconds with messages > > This works here. But it fails if I set it to 10 milliseconds. (But I guess > this will slow the total download by a number of seconds, so it's a bit of a > desperate fix.) > > 2. set the httpHeaders to "Connection: close" > > I was seeing socket errors sometimes (perhaps similar to what Mark > reported) when retrying the script. I think the error on the socket probably > occurred on the previous try, but for some reason, the error isn't being > seen by LC and it is trying to re-use the faulty (or already closed) socket > on subsequent calls. Setting the connection header will force the socket to > get closed on completion and LC will automatically open a fresh socket for > subsequent calls. So not a fix as such, but it may help to reduce some of > the consequential effects. > > > 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 > -- Chipp Walters CEO, Shafer Walters Group, Inc. From chipp at chipp.com Sun Jan 2 22:15:06 2011 From: chipp at chipp.com (Chipp Walters) Date: Sun, 2 Jan 2011 21:15:06 -0600 Subject: Basic libURL bug? In-Reply-To: References: <6ED9375E-BF16-4854-A1A1-B9524FC5EB17@verizon.net> <70220706593.20110102163438@ahsoftware.net> <63F6429C-CFE5-441E-BB88-94B2DC334F98@lacscentre.co.uk> <122F2923-848D-4960-91D6-FD65342B5C94@lacscentre.co.uk> Message-ID: Dave, BTW, I'm using REv 4.0 and libURL 1.1.6. The ulDoProcessLength handler is not the same as the one you show. Where should I put the delay? On Sun, Jan 2, 2011 at 9:11 PM, Chipp Walters wrote: > Dave, > Per your advice, this seems to work more often, but not always. I'll try > the delay next. > > on mouseUp > put "" > set the httpHeaders to "Connection: close" > put URL "http://www.widgetgadget.com/stuff/test.log" into fld 1 > put the number of lines in fld 1 > end mouseUp > > On Sun, Jan 2, 2011 at 8:59 PM, Dave Cragg wrote: > >> >> On 3 Jan 2011, at 02:27, Chipp Walters wrote: >> >> > Dave, >> > >> > It's just a standard IIS logfile from a server. There's nothing funny >> about >> > it. In fact, I cut/pasted it into a text file and uploaded it to the >> server >> > it's on right now, so as to keep Chris from hollering at me! (It had the >> > problem on our server as well). >> > >> > Do you suggest I add the debug line you mention, or is there something >> > 'better' to do for now? >> >> Not sure, Chipp. It's not clear whether we're all seeing exactly the same >> thing or not. >> >> Two suggestions for now: >> >> 1. In the libUrl script where I added the DEBUG 1 line, add this instead: >> >> wait 15 milliseconds with messages >> >> This works here. But it fails if I set it to 10 milliseconds. (But I guess >> this will slow the total download by a number of seconds, so it's a bit of a >> desperate fix.) >> >> 2. set the httpHeaders to "Connection: close" >> >> I was seeing socket errors sometimes (perhaps similar to what Mark >> reported) when retrying the script. I think the error on the socket probably >> occurred on the previous try, but for some reason, the error isn't being >> seen by LC and it is trying to re-use the faulty (or already closed) socket >> on subsequent calls. Setting the connection header will force the socket to >> get closed on completion and LC will automatically open a fresh socket for >> subsequent calls. So not a fix as such, but it may help to reduce some of >> the consequential effects. >> >> >> 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 >> > > > > -- > Chipp Walters > CEO, Shafer Walters Group, Inc. > > -- Chipp Walters CEO, Shafer Walters Group, Inc. From chipp at chipp.com Sun Jan 2 22:22:32 2011 From: chipp at chipp.com (Chipp Walters) Date: Sun, 2 Jan 2011 21:22:32 -0600 Subject: Basic libURL bug? In-Reply-To: References: <6ED9375E-BF16-4854-A1A1-B9524FC5EB17@verizon.net> <70220706593.20110102163438@ahsoftware.net> <63F6429C-CFE5-441E-BB88-94B2DC334F98@lacscentre.co.uk> <122F2923-848D-4960-91D6-FD65342B5C94@lacscentre.co.uk> Message-ID: OOPS my bad. Didn't read it correctly. I've added the pause and things seem to work again. Hurray On Sun, Jan 2, 2011 at 9:15 PM, Chipp Walters wrote: > Dave, > > BTW, I'm using REv 4.0 and libURL 1.1.6. The ulDoProcessLength handler is > not the same as the one you show. Where should I put the delay? > > > On Sun, Jan 2, 2011 at 9:11 PM, Chipp Walters wrote: > >> Dave, >> Per your advice, this seems to work more often, but not always. I'll try >> the delay next. >> >> on mouseUp >> put "" >> set the httpHeaders to "Connection: close" >> put URL "http://www.widgetgadget.com/stuff/test.log" into fld 1 >> put the number of lines in fld 1 >> end mouseUp >> >> On Sun, Jan 2, 2011 at 8:59 PM, Dave Cragg wrote: >> >>> >>> On 3 Jan 2011, at 02:27, Chipp Walters wrote: >>> >>> > Dave, >>> > >>> > It's just a standard IIS logfile from a server. There's nothing funny >>> about >>> > it. In fact, I cut/pasted it into a text file and uploaded it to the >>> server >>> > it's on right now, so as to keep Chris from hollering at me! (It had >>> the >>> > problem on our server as well). >>> > >>> > Do you suggest I add the debug line you mention, or is there something >>> > 'better' to do for now? >>> >>> Not sure, Chipp. It's not clear whether we're all seeing exactly the same >>> thing or not. >>> >>> Two suggestions for now: >>> >>> 1. In the libUrl script where I added the DEBUG 1 line, add this >>> instead: >>> >>> wait 15 milliseconds with messages >>> >>> This works here. But it fails if I set it to 10 milliseconds. (But I >>> guess this will slow the total download by a number of seconds, so it's a >>> bit of a desperate fix.) >>> >>> 2. set the httpHeaders to "Connection: close" >>> >>> I was seeing socket errors sometimes (perhaps similar to what Mark >>> reported) when retrying the script. I think the error on the socket probably >>> occurred on the previous try, but for some reason, the error isn't being >>> seen by LC and it is trying to re-use the faulty (or already closed) socket >>> on subsequent calls. Setting the connection header will force the socket to >>> get closed on completion and LC will automatically open a fresh socket for >>> subsequent calls. So not a fix as such, but it may help to reduce some of >>> the consequential effects. >>> >>> >>> 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 >>> >> >> >> >> -- >> Chipp Walters >> CEO, Shafer Walters Group, Inc. >> >> > > > -- > Chipp Walters > CEO, Shafer Walters Group, Inc. > > -- Chipp Walters CEO, Shafer Walters Group, Inc. From mwieder at ahsoftware.net Sun Jan 2 23:06:36 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 2 Jan 2011 20:06:36 -0800 Subject: Basic libURL bug? In-Reply-To: <4D213847.8060308@fourthworld.com> References: <4D213847.8060308@fourthworld.com> Message-ID: <144233424609.20110102200636@ahsoftware.net> Richard- Sunday, January 2, 2011, 6:45:27 PM, you wrote: > Since the libURL code in question isn't branching by OS, what could make > this issue OS-specific? Well, there's sockets and there's sockets. Linux and OSX share the same sort of underlying library layer, so I'm not surprised they both act reasonably. Windows, I'm always surprised when the dang thing works at all. -- -Mark Wieder mwieder at ahsoftware.net From andrew at rjdfarm.com Mon Jan 3 02:36:57 2011 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Sun, 2 Jan 2011 23:36:57 -0800 (PST) Subject: [OT] Some pretty JS Message-ID: <1294040217011-3171640.post@n4.nabble.com> I was looking at some of these javascript controls. I have the desire to implement some of these with revServer. :) http://dhtmlx.com/docs/products/dhtmlxDataView/index.shtml -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Some-pretty-JS-tp3171640p3171640.html Sent from the Revolution - User mailing list archive at Nabble.com. From pepetoo at cox.net Mon Jan 3 02:50:49 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Sun, 2 Jan 2011 23:50:49 -0800 Subject: Windows ControlKeys not working Message-ID: <46CAD73C-5B0A-4EA7-94F2-E16039BFBB88@cox.net> Anyone know what special little thing needs to be done so that the ControlKeys work for windows apps? (4.5.2) Studio on Snow Leopard Ctrl+4, for example is set up in the Go Menu to go last cd, and the menu selection does just that; however pressing the ControlKey and number 4 does nothing; in fact, none of the menu short-cuts work as they should. I have both CommandKeyDown and ControlKeyDown handlers in the stacks' scripts. Any ideas? Joe Lewis Wilkins Architect & Director of Product Development for GSI From katir at hindu.org Mon Jan 3 04:49:00 2011 From: katir at hindu.org (Sivakatirswami) Date: Sun, 02 Jan 2011 23:49:00 -1000 Subject: Editing locked or List fields In-Reply-To: <8D60A76B-B78B-40A8-9730-F052474F4916@gmail.com> References: <4D1FAA22.5090505@hindu.org> <8D60A76B-B78B-40A8-9730-F052474F4916@gmail.com> Message-ID: <4D219B8C.3000802@hindu.org> Aloha Peter: Now this what i call a Prime New Year gift! Sweet. And, yes, I do work a lot with list fields and to make lists editable I had to add this to your script set the listBehavior of the target to not tf but then this toggles all fields to listbehavior when locked... . so it required more.... the problem is you can determine if a field has listbehavior when it is set, but if you turn listbehavior off, then one needs a way to preserve the fact that this is a list field, even when it's listbehavior is off. So I added a custom prop to list fields so that they maintain their list property thru the editing session. Perhaps there is a better way, but this works: by adding this to your setProp handler if the listbehavior of the target is true then set the uList of the target to true end if if the uList of target = true then set the listBehavior of the target to not tf end if On 1/2/11 3:28 AM, Peter Brigham MD wrote: > > I use a virtual property: > > on mouseup theBtn > if theBtn = 1 and "field" is in the target and the \ > commandkey is down and the shiftkey is down then > set the writable of the target to not the writable of the target > else > pass mouseup > end if > end mouseup > > setprop writable tf > if "field" is not in the target then exit writable > try if the listbehavior of the target is true then set the uList of the target to true end if if the uList of target = true then set the listBehavior of the target to not tf end if > set the locktext of the target to not tf > set the traversalon of the target to tf > set the autohilite of the target to tf set the listBehavior of the target to not tf # required for list fields > -- catch tError > -- beep > -- answer tError > end try > end writable > > getprop writable > if "field" is not in the target then return "" > try > put the locktext of the target into L > put the traversalon of the target into T > put the autohilite of the target into A > if T and A and not L then return true > return false > end try > end writable > > Put this in a library stack or a frontscript and it will work > everywhere -- command-shift-click on any field and toggle the writable > of the field. I use it constantly. You can revise this to just toggle > the locktext if you work with list fields a lot, so that the usual > hiliting and line selection are preserved, locked or unlocked. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig From effendi at wanadoo.fr Mon Jan 3 06:43:41 2011 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Mon, 3 Jan 2011 12:43:41 +0100 Subject: On-Rev Server Access Message-ID: <752C4E26-BE3A-413A-971A-55C64479FE64@wanadoo.fr> Hi from Beautiful Brittany, I used Filezilla, (now I use CyberDuck) to load my HTML pages to my on-Rev server. Sometimes, when I uploaded .php files, I had "perms" problems, that is, when I entered my .php files (for password control), my .php file was displayed on screen, and then froze. I solved the problem by : Using cPanel File Manager to upload my .php files or resetting the incorrect perms in cPanel. However, File Manager seemed to take eons to upload anything but simple html files, which is why I use Cyberduck whenever I can. Now, I don't know why I had problems, but sometimes we solve problems by successive blundering ... :>) FWIW Happy New Year to all. -Francis "Nothing should ever be done for the first time !" From pmbrig at gmail.com Mon Jan 3 07:32:05 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Mon, 3 Jan 2011 07:32:05 -0500 Subject: Editing locked or List fields In-Reply-To: <4D219B8C.3000802@hindu.org> References: <4D1FAA22.5090505@hindu.org> <8D60A76B-B78B-40A8-9730-F052474F4916@gmail.com> <4D219B8C.3000802@hindu.org> Message-ID: On Jan 3, 2011, at 4:49 AM, Sivakatirswami wrote: > Aloha Peter: > > Now this what i call a Prime New Year gift! > > Sweet. > > And, yes, I do work a lot with list fields and to make lists > editable I had to add this to your script > > set the listBehavior of the target to not tf > > but then this toggles all fields to listbehavior when locked... . so > it required more.... > > the problem is you can determine if a field has listbehavior when it > is set, but if you turn listbehavior off, then one needs a way to > preserve the fact that this is a list field, even when it's > listbehavior is off. > > So I added a custom prop to list fields so that they maintain their > list property thru the editing session. Perhaps there is a better > way, but this works: > > by adding this to your setProp handler > > if the listbehavior of the target is true then > set the uList of the target to true > end if > if the uList of target = true then > set the listBehavior of the target to not tf > end if Nice. I'm revising my library handlers accordingly, since I will probably by using list fields in the future. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pmbrig at gmail.com Mon Jan 3 10:46:50 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Mon, 3 Jan 2011 10:46:50 -0500 Subject: Editing locked or List fields In-Reply-To: <4D219B8C.3000802@hindu.org> References: <4D1FAA22.5090505@hindu.org> <8D60A76B-B78B-40A8-9730-F052474F4916@gmail.com> <4D219B8C.3000802@hindu.org> Message-ID: <03F3230D-97D9-4F35-BD3B-33FFDADC79A5@gmail.com> A problem, though -- see below On Jan 3, 2011, at 4:49 AM, Sivakatirswami wrote: > Aloha Peter: > > Now this what i call a Prime New Year gift! > > Sweet. > > And, yes, I do work a lot with list fields and to make lists > editable I had to add this to your script > > set the listBehavior of the target to not tf > > but then this toggles all fields to listbehavior when locked... . so > it required more.... > > the problem is you can determine if a field has listbehavior when it > is set, but if you turn listbehavior off, then one needs a way to > preserve the fact that this is a list field, even when it's > listbehavior is off. > > So I added a custom prop to list fields so that they maintain their > list property thru the editing session. Perhaps there is a better > way, but this works: > > by adding this to your setProp handler > > if the listbehavior of the target is true then > set the uList of the target to true > end if > if the uList of target = true then > set the listBehavior of the target to not tf > end if > > > > > On 1/2/11 3:28 AM, Peter Brigham MD wrote: >> >> I use a virtual property: >> >> on mouseup theBtn >> if theBtn = 1 and "field" is in the target and the \ >> commandkey is down and the shiftkey is down then >> set the writable of the target to not the writable of the target >> else >> pass mouseup >> end if >> end mouseup >> >> setprop writable tf >> if "field" is not in the target then exit writable >> try > if the listbehavior of the target is true then > set the uList of the target to true > end if > if the uList of target = true then > set the listBehavior of the target to not tf > end if >> set the locktext of the target to not tf >> set the traversalon of the target to tf >> set the autohilite of the target to tf > set the listBehavior of the target to not tf # required for > list fields The line above will set the listbehavior of all fields to true when setting the writable to false, and it's not necessary. >> -- catch tError >> -- beep >> -- answer tError >> end try >> end writable >> >> getprop writable >> if "field" is not in the target then return "" >> try >> put the locktext of the target into L >> put the traversalon of the target into T >> put the autohilite of the target into A >> if T and A and not L then return true >> return false >> end try >> end writable >> >> Put this in a library stack or a frontscript and it will work >> everywhere -- command-shift-click on any field and toggle the >> writable of the field. I use it constantly. You can revise this to >> just toggle the locktext if you work with list fields a lot, so >> that the usual hiliting and line selection are preserved, locked or >> unlocked. >> >> -- Peter >> >> Peter M. Brigham >> pmbrig at gmail.com >> http://home.comcast.net/~pmbrig So we have then: setprop writable tf if "field" is not in the target then exit writable try if the listbehavior of the target is true then -- *** see below set the uListBehav of the target to true -- *** see below end if -- *** see below if the uListBehav of the target = true then set the listBehavior of the target to not tf end if set the locktext of the target to not tf set the traversalon of the target to tf set the autohilite of the target to tf end try end writable getprop writable if "field" is not in the target then return "" try put the locktext of the target into L put the traversalon of the target into T put the autohilite of the target into A if T and A and not L then return true return false end try end writable on mouseup theBtn if theBtn = 1 and "field" is in the target and the \ commandkey is down and the shiftkey is down then set the writable of the target to not the writable of the target else pass mouseup end if end mouseup But you have to add the mouserelease handler below, since clicking on a blank line of a list field doesn't send mouseup, it sends mouserelease instead. on mouserelease theBtn if theBtn = 1 and "field" is in the target and the \ commandkey is down and the shiftkey is down then set the writable of the target to not the writable of the target else pass mouserelease end if end mouserelease The only problem with the final result is that if you set the listbehavior of a field to true, then toggle the writable, then set the listbehavior of the field to false, it is still flagged in the customprop as being a list field, and when you toggle writable again it will revert to being a list field again. So you have to delete the customprop by hand to get it to behave correctly. This could be solved with a preopencard handler as follows: on preopencard if "field" is not in the target then pass preopencard repeat with n = 1 to the number of fields set the uListBehav of the target to \ the listbehavior of the target end repeat end preopencard then take out the starred lines in the setprop handler, since the fields start out being labeled before you touch them. This is getting quite baroque in its complexity, but if you work with list fields a lot it might be worth the hassle. I think I will just ignore the list field wrinkles in my stacks, since I only have one list field that I use and I rarely have to edit its contents. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pepetoo at cox.net Mon Jan 3 11:47:45 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 3 Jan 2011 08:47:45 -0800 Subject: As Sheet Dialog Message-ID: <2C9F74E1-9A4B-47DA-8791-9436C81CA66D@cox.net> Please, anyone... In my current app I'm attempting to mitigate the very small text dialogs that appear in the Windows' version of applications by rolling my own. Some Dialogs such as the page setup present some major challenges to doing this, but with others it's not really much of a problem; however, I would like the ones that I do create make their appearance as sheets. Can that be done? Also... I'm not using stacks for these Dialogs. I'm just creating Text fields with overlying buttons. The problem with this is that I need to implement a method by which these "Dialogs" can be modal in behavior. I am doing that by including a mouseUp handler in the stack script that requires certain activity when a given item is visible. Anyone have a better method of doing this? Is there something already built in that does this? TIA, Joe Lewis Wilkins Architect & Director of Product Development for GSI From rev at nonsanity.com Mon Jan 3 12:04:01 2011 From: rev at nonsanity.com (Nonsanity) Date: Mon, 3 Jan 2011 12:04:01 -0500 Subject: As Sheet Dialog In-Reply-To: <2C9F74E1-9A4B-47DA-8791-9436C81CA66D@cox.net> References: <2C9F74E1-9A4B-47DA-8791-9436C81CA66D@cox.net> Message-ID: Modal as in not being able to interact with any of the other controls on the stack? Making a stack-sized invisible button (or lightly tinted and transparent, even) just behind your psudo-dialog would prevent that. For menus and other stacks, you'd have to add additional code - swap the full menus for a smaller set with just what's allowed when the modal is up, hide other stack windows... Or just make a stack for the dialog with a custom frame and appearance and use it as a normal modal dialog. Back in the Hypercard days, I used a locked, transparent text field with show lines turned on and a linesize of 2. This created a grid of dots over the background that couldn't be clicked through. Ah, the fun of 1-bit graphics... ~ Chris Innanen ~ Nonsanity On Mon, Jan 3, 2011 at 11:47 AM, Joe Lewis Wilkins wrote: > Please, anyone... > In my current app I'm attempting to mitigate the very small text dialogs > that appear in the Windows' version of applications by rolling my own. Some > Dialogs such as the page setup present some major challenges to doing this, > but with others it's not really much of a problem; however, I would like the > ones that I do create make their appearance as sheets. Can that be done? > Also... I'm not using stacks for these Dialogs. I'm just creating Text > fields with overlying buttons. The problem with this is that I need to > implement a method by which these "Dialogs" can be modal in behavior. I am > doing that by including a mouseUp handler in the stack script that requires > certain activity when a given item is visible. Anyone have a better method > of doing this? Is there something already built in that does this? > > TIA, > Joe Lewis Wilkins > Architect & Director of Product Development for GSI > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Jan 3 12:08:21 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 3 Jan 2011 18:08:21 +0100 Subject: As Sheet Dialog In-Reply-To: <2C9F74E1-9A4B-47DA-8791-9436C81CA66D@cox.net> References: <2C9F74E1-9A4B-47DA-8791-9436C81CA66D@cox.net> Message-ID: <23D9ACDD-5524-4430-BC89-27DC6EFBD0B2@major.on-rev.com> Hi Joe, > Please, anyone... > In my current app I'm attempting to mitigate the very small text dialogs that appear in the Windows' version of applications by rolling my own. Some Dialogs such as the page setup present some major challenges to doing this, but with others it's not really much of a problem; however, I would like the ones that I do create make their appearance as sheets. Can that be done? Also... I'm not using stacks for these Dialogs. I'm just creating Text fields with overlying buttons. The problem with this is that I need to implement a method by which these "Dialogs" can be modal in behavior. I am doing that by including a mouseUp handler in the stack script that requires certain activity when a given item is visible. Anyone have a better method of doing this? Is there something already built in that does this? I would show a filled graphic, no border, ink set to NOOP and the script: on mouseup beep end mouseup BEHIND your "sheet" group but in front of your card. Know what I mean? > TIA, > Joe Lewis Wilkins > Architect & Director of Product Development for GSI Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From pepetoo at cox.net Mon Jan 3 12:30:05 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 3 Jan 2011 09:30:05 -0800 Subject: As Sheet Dialog In-Reply-To: <23D9ACDD-5524-4430-BC89-27DC6EFBD0B2@major.on-rev.com> References: <2C9F74E1-9A4B-47DA-8791-9436C81CA66D@cox.net> <23D9ACDD-5524-4430-BC89-27DC6EFBD0B2@major.on-rev.com> Message-ID: <74FE476F-F2DF-4AD2-BE63-AB25FCF1C2F4@cox.net> Interesting thoughts, Klaus. Thanks, Joe Lewis Wilkins Architect & Director of Product Development for GSI On Jan 3, 2011, at 9:08 AM, Klaus on-rev wrote: > Hi Joe, > >> Please, anyone... >> In my current app I'm attempting to mitigate the very small text dialogs that appear in the Windows' version of applications by rolling my own. Some Dialogs such as the page setup present some major challenges to doing this, but with others it's not really much of a problem; however, I would like the ones that I do create make their appearance as sheets. Can that be done? Also... I'm not using stacks for these Dialogs. I'm just creating Text fields with overlying buttons. The problem with this is that I need to implement a method by which these "Dialogs" can be modal in behavior. I am doing that by including a mouseUp handler in the stack script that requires certain activity when a given item is visible. Anyone have a better method of doing this? Is there something already built in that does this? > > I would show a filled graphic, no border, ink set to NOOP and the script: > on mouseup > beep > end mouseup > BEHIND your "sheet" group but in front of your card. > > Know what I mean? > >> TIA, >> Joe Lewis Wilkins >> Architect & Director of Product Development for GSI > > 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 pepetoo at cox.net Mon Jan 3 12:34:47 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 3 Jan 2011 09:34:47 -0800 Subject: As Sheet Dialog In-Reply-To: References: <2C9F74E1-9A4B-47DA-8791-9436C81CA66D@cox.net> Message-ID: Thanks, Chris I'm rethinking my entire approach to this. Probably going back to a modal stack for some, leaving the others as fields that I move up under the Title Bar so they appear as sheets. Maybe use some visual effect to emulate how sheets appear. Yes, we did do some interesting things with HC. (sigh!) Joe Lewis Wilkins Architect & Director of Product Development for GSI On Jan 3, 2011, at 9:04 AM, Nonsanity wrote: > Modal as in not being able to interact with any of the other controls on the > stack? Making a stack-sized invisible button (or lightly tinted and > transparent, even) just behind your psudo-dialog would prevent that. For > menus and other stacks, you'd have to add additional code - swap the full > menus for a smaller set with just what's allowed when the modal is up, hide > other stack windows... > > Or just make a stack for the dialog with a custom frame and appearance and > use it as a normal modal dialog. > > Back in the Hypercard days, I used a locked, transparent text field with > show lines turned on and a linesize of 2. This created a grid of dots over > the background that couldn't be clicked through. Ah, the fun of 1-bit > graphics... > > ~ Chris Innanen > ~ Nonsanity > > > On Mon, Jan 3, 2011 at 11:47 AM, Joe Lewis Wilkins wrote: > >> Please, anyone... >> In my current app I'm attempting to mitigate the very small text dialogs >> that appear in the Windows' version of applications by rolling my own. Some >> Dialogs such as the page setup present some major challenges to doing this, >> but with others it's not really much of a problem; however, I would like the >> ones that I do create make their appearance as sheets. Can that be done? >> Also... I'm not using stacks for these Dialogs. I'm just creating Text >> fields with overlying buttons. The problem with this is that I need to >> implement a method by which these "Dialogs" can be modal in behavior. I am >> doing that by including a mouseUp handler in the stack script that requires >> certain activity when a given item is visible. Anyone have a better method >> of doing this? Is there something already built in that does this? >> >> TIA, >> Joe Lewis Wilkins >> Architect & Director of Product Development for GSI >> >> >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From martyknapp at comcast.net Mon Jan 3 12:36:43 2011 From: martyknapp at comcast.net (Marty Knapp) Date: Mon, 03 Jan 2011 09:36:43 -0800 Subject: As Sheet Dialog In-Reply-To: <2C9F74E1-9A4B-47DA-8791-9436C81CA66D@cox.net> References: <2C9F74E1-9A4B-47DA-8791-9436C81CA66D@cox.net> Message-ID: <4D22092B.6020308@comcast.net> What about placing everything that will be behind your dialog into a group, then disable the group when showing the dialog and enabling it when it closes? Marty Knapp > Please, anyone... > In my current app I'm attempting to mitigate the very small text dialogs that appear in the Windows' version of applications by rolling my own. Some Dialogs such as the page setup present some major challenges to doing this, but with others it's not really much of a problem; however, I would like the ones that I do create make their appearance as sheets. Can that be done? Also... I'm not using stacks for these Dialogs. I'm just creating Text fields with overlying buttons. The problem with this is that I need to implement a method by which these "Dialogs" can be modal in behavior. I am doing that by including a mouseUp handler in the stack script that requires certain activity when a given item is visible. Anyone have a better method of doing this? Is there something already built in that does this? > > TIA, > Joe Lewis Wilkins > Architect& Director of Product Development for GSI > From pepetoo at cox.net Mon Jan 3 12:47:08 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 3 Jan 2011 09:47:08 -0800 Subject: As Sheet Dialog In-Reply-To: <4D22092B.6020308@comcast.net> References: <2C9F74E1-9A4B-47DA-8791-9436C81CA66D@cox.net> <4D22092B.6020308@comcast.net> Message-ID: Marty, Your concept has a lot of potential if it works fast enough, which normally shouldn't be a problem. Should be much better than polling other activities. Not sure how it might impact other stack activity such as arrow and command keys. Joe Lewis Wilkins Architect & Director of Product Development for GSI On Jan 3, 2011, at 9:36 AM, Marty Knapp wrote: > What about placing everything that will be behind your dialog into a group, then disable the group when showing the dialog and enabling it when it closes? > > Marty Knapp >> Please, anyone... >> In my current app I'm attempting to mitigate the very small text dialogs that appear in the Windows' version of applications by rolling my own. Some Dialogs such as the page setup present some major challenges to doing this, but with others it's not really much of a problem; however, I would like the ones that I do create make their appearance as sheets. Can that be done? Also... I'm not using stacks for these Dialogs. I'm just creating Text fields with overlying buttons. The problem with this is that I need to implement a method by which these "Dialogs" can be modal in behavior. I am doing that by including a mouseUp handler in the stack script that requires certain activity when a given item is visible. Anyone have a better method of doing this? Is there something already built in that does this? >> >> TIA, >> Joe Lewis Wilkins >> Architect& Director of Product Development for GSI >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 3 12:59:02 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 03 Jan 2011 11:59:02 -0600 Subject: As Sheet Dialog In-Reply-To: <4D22092B.6020308@comcast.net> References: <2C9F74E1-9A4B-47DA-8791-9436C81CA66D@cox.net> <4D22092B.6020308@comcast.net> Message-ID: <4D220E66.10600@hyperactivesw.com> > In my current app I'm attempting to mitigate the very small text > dialogs that appear in the Windows' version of applications by rolling > my own. Some Dialogs such as the page setup present some major > challenges to doing this, but with others it's not really much of a >> problem; however, I would like the ones that I do create make their > appearance as sheets. Can that be done? A couple of points: the dialogs will be the same size as the customer is used to, because they are pulled from the OS directly. They probably will not appear small to your users, they will look like every other app's dialogs. Second, sheets are a Mac-only feature. For those Windows users who have a gut-level aversion to anything Mac (and there are plenty of those,) you may offend by implementing a sheet window. Most users want their software to conform to the interface that is standard for their operating system, and software is usually judged by how well it does that. If you mess up their expected interface, they'll scream "this is a Mac port!", just as Mac users turn up their noses at software that is obviously ported from Windows. The more you allow the OS to manage your windows and interface elements, the better your software will be perceived by its users. Another big advantage is that LiveCode does all the work and you don't have to worry about how your windows and buttons look, LiveCode will take care of all that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pepetoo at cox.net Mon Jan 3 13:18:31 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 3 Jan 2011 10:18:31 -0800 Subject: As Sheet Dialog In-Reply-To: <4D220E66.10600@hyperactivesw.com> References: <2C9F74E1-9A4B-47DA-8791-9436C81CA66D@cox.net> <4D22092B.6020308@comcast.net> <4D220E66.10600@hyperactivesw.com> Message-ID: <63E2B327-E808-4277-8601-9F70398680A3@cox.net> Jacqui, I appreciate ALL of your comments. The problem is that I want my application to be as Mac-Like as possible, since the standard Window's implementations are really bad. It's more important that the user be able to SEE and READ what I'm presenting than to conform to other Window's applications. I've taken all of this into consideration. I think we've bowed to M$ far too long. I don't plan to do so any longer. Yeah, I'm bull-headed in this respect. Lose sales because of it? I think not. The users will rave at how much easier to use it is; and ON their PCs! Window's Dialogs are their very WORST feature. What I'm doing looks great. If I get complaints, I'll deal with them; even look forward to them! (smile) I've fought the Mac vs PC battle for about 25 years. Those miscreants that didn't stick with their Macs are starting to come back. And the gut-level aversion to which you refer is more likely "Mac-envy Denial". Thanks as always! Joe Lewis Wilkins Architect & Director of Product Development for GSI On Jan 3, 2011, at 9:59 AM, J. Landman Gay wrote: >> In my current app I'm attempting to mitigate the very small text >> dialogs that appear in the Windows' version of applications by rolling >> my own. Some Dialogs such as the page setup present some major >> challenges to doing this, but with others it's not really much of a >>> problem; however, I would like the ones that I do create make their >> appearance as sheets. Can that be done? > > A couple of points: the dialogs will be the same size as the customer is used to, because they are pulled from the OS directly. They probably will not appear small to your users, they will look like every other app's dialogs. > > Second, sheets are a Mac-only feature. For those Windows users who have a gut-level aversion to anything Mac (and there are plenty of those,) you may offend by implementing a sheet window. Most users want their software to conform to the interface that is standard for their operating system, and software is usually judged by how well it does that. If you mess up their expected interface, they'll scream "this is a Mac port!", just as Mac users turn up their noses at software that is obviously ported from Windows. > > The more you allow the OS to manage your windows and interface elements, the better your software will be perceived by its users. Another big advantage is that LiveCode does all the work and you don't have to worry about how your windows and buttons look, LiveCode will take care of all that. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From janschenkel at yahoo.com Mon Jan 3 14:06:34 2011 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 3 Jan 2011 11:06:34 -0800 (PST) Subject: As Sheet Dialog In-Reply-To: <4D22092B.6020308@comcast.net> Message-ID: <213890.35997.qm@web65409.mail.ac4.yahoo.com> I would go for this approach as well - for the simple reason that it avoids 'traversalOn' issues where the user could still 'tab' to a control and then press the 'space' or 'return' key to activate a button. Plus, disabled controls look slightly different, and combined with an opaque 'overlay' graphic that has a blendLevel of 80 or so, you can even set its background colour to convey a difference between regular (white), warning (orange) and error (red) situations and questions. Two years ago, I used this approach in a Java Swing application, and people appreciated it a lot - even if it was Mac-like UI element seeping into a Windows/Unix environment. Just my 2 cents, 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) --- On Mon, 1/3/11, Marty Knapp wrote: > What about placing everything that > will be behind your dialog into a group, then disable the > group when showing the dialog and enabling it when it > closes? > > Marty Knapp > > Please, anyone... > > In my current app I'm attempting to mitigate the very > small text dialogs that appear in the Windows' version of > applications by rolling my own. Some Dialogs such as the > page setup present some major challenges to doing this, but > with others it's not really much of a problem; however, I > would like the ones that I do create make their appearance > as sheets. Can that be done? Also... I'm not using stacks > for these Dialogs. I'm just creating Text fields with > overlying buttons. The problem with this is that I need to > implement a method by which these "Dialogs" can be modal in > behavior. I am doing that by including a mouseUp handler in > the stack script that requires certain activity when a given > item is visible. Anyone have a better method of doing this? > Is there something already built in that does this? > > > > TIA, > > Joe Lewis Wilkins > > Architect&? Director of Product Development > for GSI > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jmyepes at mac.com Mon Jan 3 15:19:49 2011 From: jmyepes at mac.com (JosepM) Date: Mon, 3 Jan 2011 12:19:49 -0800 (PST) Subject: [OT] A GREAT Mac Cocoa MYSQL tool - Donationware In-Reply-To: References: Message-ID: <1294085989809-3172564.post@n4.nabble.com> Hi, I know Sequel and I use every day, it's really good. I also recommend it. Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-A-GREAT-Mac-Cocoa-MYSQL-tool-Donationware-tp3171341p3172564.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Mon Jan 3 15:20:10 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 03 Jan 2011 12:20:10 -0800 Subject: As Sheet Dialog Message-ID: <4D222F7A.8050507@fourthworld.com> Joe Lewis Wilkins wrote: > I appreciate ALL of your comments. The problem is that I want my > application to be as Mac-Like as possible, since the standard > Window's implementations are really bad. It's more important that > the user be able to SEE and READ what I'm presenting than to conform > to other Window's applications. What is it about having the box separate from the window that makes it hard to read? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From pepetoo at cox.net Mon Jan 3 15:59:55 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 3 Jan 2011 12:59:55 -0800 Subject: As Sheet Dialog In-Reply-To: <4D222F7A.8050507@fourthworld.com> References: <4D222F7A.8050507@fourthworld.com> Message-ID: <40488A33-A815-4C58-A69C-34EDD0A05A3D@cox.net> Hi Richard, Thanks for chiming in. The size and case of the text. More and more senior citizens use computers and many have vision problems as acute or worse than my own. For instance, the LC splash screen cannot be read by me due to the colors that are used, which is even worse than the often, small text sizes. Actually, the program I'm currently creating is for the purpose of evaluating ADA (Americans with Disabilities Act) issues; something that has become a major source of litigation with property owners. The regulations are quite complex. Big bucks are being exchanged, particularly here in California, but it is a Nation-wide issue as well. As our population grows older and we have more and more disabled service people returning to civilian life, it is VERY important that we address these issues EVERYWHERE. Apple has done a pretty good job. M$ has not kept pace. If I were using a PC, I'd have to shut my doors. This, incidentally, is not just my opinion. Lawyers are charging huge fees for confronting property owners with lack of compliance. There is a new "ambulance chasing" mentality in the legal professions. Joe Lewis Wilkins Architect & Director of Product Development for GSI On Jan 3, 2011, at 12:20 PM, Richard Gaskin wrote: > Joe Lewis Wilkins wrote: > >> I appreciate ALL of your comments. The problem is that I want my >> application to be as Mac-Like as possible, since the standard >> Window's implementations are really bad. It's more important that >> the user be able to SEE and READ what I'm presenting than to conform >> to other Window's applications. > > What is it about having the box separate from the window that makes it hard to read? > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at clarkeandclarke.co.uk Mon Jan 3 16:23:41 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Mon, 3 Jan 2011 21:23:41 +0000 Subject: [OT] A GREAT Mac Cocoa MYSQL tool - Donationware In-Reply-To: <1294085989809-3172564.post@n4.nabble.com> References: <1294085989809-3172564.post@n4.nabble.com> Message-ID: <1C10AE59-A13B-4B91-8F21-B7779D4EF571@clarkeandclarke.co.uk> ...can anyone recommend anything similar for Postgresql admin? On 3 Jan 2011, at 20:19, JosepM wrote: > > Hi, > > I know Sequel and I use every day, it's really good. I also recommend it. > > Salut, > Josep > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-A-GREAT-Mac-Cocoa-MYSQL-tool-Donationware-tp3171341p3172564.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 ambassador at fourthworld.com Mon Jan 3 17:02:56 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 03 Jan 2011 14:02:56 -0800 Subject: As Sheet Dialog Message-ID: <4D224790.50102@fourthworld.com> Joe Lewis Wilkins wrote: > Hi Richard, > > Thanks for chiming in. The size and case of the text. More and more > senior citizens use computers and many have vision problems as acute > or worse than my own. Good news: Windows provides a built-in means for users to adjust their font sizes system-wide. Now that I'm over 40 I wish Mac had that as well. It's really handy, and I think you'll find most folks with suboptimal vision have taken a moment with their control panel to adjust their settings to fit their vision. Those that haven't should: it's built in exactly for that reason, and only takes a couple seconds to change. Bad news: Rev has no built-in way to accommodate the user's font size settings. You can, however, get the registry setting for that and adjust your layout accordingly. If that becomes a desirable option for you I'd be happy to look up the reg key. > For instance, the LC splash screen cannot be read by me due to the > colors that are used, which is even worse than the often, small text > sizes. Study after study has shown that white on black is somewhere between difficult and painful for readers of all ages. Too bad it's gotten a rep for looking cool, since an ever-increasing variety of sites, UIs, and even printed materials use that motif, while our ocular physiology hasn't evolved at the same rate to make it any less of a bad idea. ;) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From lfredricks at proactive-intl.com Mon Jan 3 17:35:22 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 3 Jan 2011 14:35:22 -0800 Subject: [OT] A GREAT Mac Cocoa MYSQL tool - Donationware In-Reply-To: <1C10AE59-A13B-4B91-8F21-B7779D4EF571@clarkeandclarke.co.uk> References: <1294085989809-3172564.post@n4.nabble.com> <1C10AE59-A13B-4B91-8F21-B7779D4EF571@clarkeandclarke.co.uk> Message-ID: <1224E236B65F4850B964A3D5632B993D@GATEWAY> > ...can anyone recommend anything similar for Postgresql admin? I don't have a timetable yet, but Postgre is probably the next foreign db that will get supported with Valentina Studio. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From lfredricks at proactive-intl.com Mon Jan 3 17:37:46 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 3 Jan 2011 14:37:46 -0800 Subject: Quicktime VR Replacement in LiveCode? Message-ID: <0AE1B9B1009742AF866B9461930C3CDB@GATEWAY> Hi all, I find the state of Quicktime VR to be saddening. It seems like there are oodles of solutions for dealing with panoramas and various VR formats (cubes, etc) with Flash, but I was wondering if someone has come up with a solution for LiveCode. Anyone know? Anyone care? :-) Just thinking, it might be possible to do a sort of skydome thing in Franklin 3D but I wonder if just for working with photos there wouldn't be an easier way. Best regards, Lynn Fredricks President Proactive International, LLC - Because it is about who you know.(tm) http://www.proactive-intl.com From coiin at verizon.net Mon Jan 3 17:41:21 2011 From: coiin at verizon.net (Colin Holgate) Date: Mon, 03 Jan 2011 17:41:21 -0500 Subject: Quicktime VR Replacement in LiveCode? In-Reply-To: <0AE1B9B1009742AF866B9461930C3CDB@GATEWAY> References: <0AE1B9B1009742AF866B9461930C3CDB@GATEWAY> Message-ID: On Jan 3, 2011, at 5:37 PM, Lynn Fredricks wrote: > Just thinking, it might > be possible to do a sort of skydome thing in Franklin 3D but I wonder if > just for working with photos there wouldn't be an easier way. Even with Franklin you would want to do a sky box and not a dome. For doing it elsewhere (certainly in Flash or Director using 2D tricks), you need to be able to distort the original rectangle into an arbitrary quadrangle. I don't know if LC can do that. From ambassador at fourthworld.com Mon Jan 3 17:49:15 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 03 Jan 2011 14:49:15 -0800 Subject: Quicktime VR Replacement in LiveCode? Message-ID: <4D22526B.4040301@fourthworld.com> Lynn Fredricks wrote: > I find the state of Quicktime VR to be saddening. It seems like there are > oodles of solutions for dealing with panoramas and various VR formats > (cubes, etc) with Flash, but I was wondering if someone has come up with a > solution for LiveCode. Anyone know? Anyone care? :-) Just thinking, it might > be possible to do a sort of skydome thing in Franklin 3D but I wonder if > just for working with photos there wouldn't be an easier way. For the relatively few systems with QuickTime installed, LiveCode's support for QTVR is pretty good - see the node-related properties in the Dictionary. It's nice, but the small number of QT installs on the 89% that run Windows, and the complete absence of QT on Linux, make it increasingly a non-starter for most projects here. I don't do much professionally with QTVR, but I have enjoyed it as a hobby and am interested in seeing where this discussion leads. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From lfredricks at proactive-intl.com Mon Jan 3 17:54:23 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 3 Jan 2011 14:54:23 -0800 Subject: Quicktime VR Replacement in LiveCode? In-Reply-To: References: <0AE1B9B1009742AF866B9461930C3CDB@GATEWAY> Message-ID: <82CD746713F84FC5A11020C2C30AF8AF@GATEWAY> > > Just thinking, it might > > be possible to do a sort of skydome thing in Franklin 3D > but I wonder > > if just for working with photos there wouldn't be an easier way. > > Even with Franklin you would want to do a sky box and not a > dome. For doing it elsewhere (certainly in Flash or Director > using 2D tricks), you need to be able to distort the original > rectangle into an arbitrary quadrangle. I don't know if LC > can do that. It seems to me that it would require an external. My company is preping a major update to Shade, and there's this big selection of sky box / pano types it supports that Id otherwise export to Quicktime VR (I hate the fact that we have to warn Mac users to install the older Quicktime to export to Quicktime VR...). I guess a skybox stack type would be totally unreasonable - then stacks would be like infinite onions - very Lewis Carroll :-) Best regards, Lynn Fredricks President Proactive International, LLC - Because it is about who you know.(tm) http://www.proactive-intl.com From pepetoo at cox.net Mon Jan 3 18:08:34 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 3 Jan 2011 15:08:34 -0800 Subject: As Sheet Dialog In-Reply-To: <4D224790.50102@fourthworld.com> References: <4D224790.50102@fourthworld.com> Message-ID: Richard, I made that adjustment sometime back. It still is smaller than what I prefer. Maybe that's because I'm running XP under Fusion. My preference is Black on white. The gray on gray that is fairly prevalent is maybe the worse. Joe Lewis Wilkins Architect & Director of Product Development for GSI On Jan 3, 2011, at 2:02 PM, Richard Gaskin wrote: > Good news: Windows provides a built-in means for users to adjust their font sizes system-wide. Now that I'm over 40 I wish Mac had that as well. It's really handy, and I think you'll find most folks with suboptimal vision have taken a moment with their control panel to adjust their settings to fit their vision. Those that haven't should: it's built in exactly for that reason, and only takes a couple seconds to change. From webmaster at dreamscapesoftware.com Mon Jan 3 19:10:17 2011 From: webmaster at dreamscapesoftware.com (Derek Bump - Dreamscape Software) Date: Mon, 03 Jan 2011 18:10:17 -0600 Subject: Receive eHome infrared signals Message-ID: <4D226569.5080907@dreamscapesoftware.com> Has anyone had any luck working with eHome Infrared Signals on Windows 7, Vista or XP MCE? I would like to be able to build a app that can be navigated and controlled via a Windows Media Center Remote. Any suggestions are greatly appreciated. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com ___________________________________________________________________ Compress your photos quickly and easily with JPEGCompress 2.9! http://www.dreamscapesoftware.com/products/jpegcompress/ From scott at elementarysoftware.com Mon Jan 3 20:13:21 2011 From: scott at elementarysoftware.com (Scott Morrow) Date: Mon, 3 Jan 2011 17:13:21 -0800 Subject: As Sheet Dialog In-Reply-To: <213890.35997.qm@web65409.mail.ac4.yahoo.com> References: <213890.35997.qm@web65409.mail.ac4.yahoo.com> Message-ID: <8384A894-613A-4B0E-AA62-6624670AD8C0@elementarysoftware.com> Hello Joe, I use this approach for "fake sheet" implementations, too. One thing to watch for: enabling the group once you have dismissed the "fake sheet" will enable *ALL* the controls in the group... including controls that might have been disabled before the sheet appeared. One way to handle this is to loop through all the controls and record any that are disabled before showing the sheet. That way you can restore it correctly after dismissing the sheet. Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com ------------------------------------------------------ On Jan 3, 2011, at 11:06 AM, Jan Schenkel wrote: > I would go for this approach as well - for the simple reason that it avoids 'traversalOn' issues where the user could still 'tab' to a control and then press the 'space' or 'return' key to activate a button. > Plus, disabled controls look slightly different, and combined with an opaque 'overlay' graphic that has a blendLevel of 80 or so, you can even set its background colour to convey a difference between regular (white), warning (orange) and error (red) situations and questions. > Two years ago, I used this approach in a Java Swing application, and people appreciated it a lot - even if it was Mac-like UI element seeping into a Windows/Unix environment. > > Just my 2 cents, > > 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) > > > --- On Mon, 1/3/11, Marty Knapp wrote: >> What about placing everything that >> will be behind your dialog into a group, then disable the >> group when showing the dialog and enabling it when it >> closes? >> >> Marty Knapp >>> Please, anyone... >>> In my current app I'm attempting to mitigate the very >> small text dialogs that appear in the Windows' version of >> applications by rolling my own. Some Dialogs such as the >> page setup present some major challenges to doing this, but >> with others it's not really much of a problem; however, I >> would like the ones that I do create make their appearance >> as sheets. Can that be done? Also... I'm not using stacks >> for these Dialogs. I'm just creating Text fields with >> overlying buttons. The problem with this is that I need to >> implement a method by which these "Dialogs" can be modal in >> behavior. I am doing that by including a mouseUp handler in >> the stack script that requires certain activity when a given >> item is visible. Anyone have a better method of doing this? >> Is there something already built in that does this? >>> >>> TIA, >>> Joe Lewis Wilkins >>> Architect& Director of Product Development >> for GSI >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage >> your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From wow at together.net Tue Jan 4 05:36:34 2011 From: wow at together.net (Richard Miller) Date: Tue, 04 Jan 2011 05:36:34 -0500 Subject: Mac App Store compliance In-Reply-To: <4D222F7A.8050507@fourthworld.com> References: <4D222F7A.8050507@fourthworld.com> Message-ID: <4D22F832.8080205@together.net> Could someone please list the (primary) issues developers need to pay attention to in order to make Mac apps compliant with the new store? I have a Mac app I've been selling for years. It uses a non-standard interface. It also auto-updates when it first starts. Is it problematic to simply submit it to Apple and have them detail the items that need to be adjusted, or is that a good way to go? Thanks. Richard Miller From curry at pair.com Tue Jan 4 07:41:10 2011 From: curry at pair.com (Curry Kenworthy) Date: Tue, 04 Jan 2011 06:41:10 -0600 Subject: ANN: WordReport 1.0 release and introductory sale In-Reply-To: References: Message-ID: <4D231566.90402@pair.com> I'm happy to announce the 1.0 release of WordReport. This library lets your LiveCode stacks crank out MS Word and OpenOffice reports of any kind: business documents, contractor invoices, real-estate flyers, mail merge, product catalogs, software data reports, educational worksheets, band concert posters, customer service letters, or whatever else you dream up. (In fact, the demo stack includes sample code and templates for three of those scenarios.) You create a formatted template with data insertion tags, save it, and then insert your data from within LiveCode to create reports. WordReport is self-contained and doesn't need any word processing software to create reports, but you'll need MS Word or OpenOffice to create the templates. The demo stack will get you off to a quick start exploring capabilities, and a friendly User Guide explains everything. The library handles images as well as text and has other advanced features such as loops and optional context marking. It handles Unicode and as a bonus, in addition to the unlimited formatting in your template, you can include basic styles within your export data for extra emphasis on the fly. It does headers and footers too. And tables. (And number formatting with commas if you need it.) Everything you need to make customers and clients happy with great-looking reports, while improving your own back office workflow too. To celebrate this release (finally!) I'm offering WordReport on sale at a very special introductory price for 10 days. Get it while it's low! This is a power tool for saving time and producing great documents in all kinds of practical scenarios. http://curryk.com/wordreport.html (A hearty thanks to the beta testers also. And for those interested in news about WordOut, the export library, a beta has been available for some time, email me if you wish to try it. I'll be finishing it up as time allows, and as promised, those who purchase WordLib at full price before the WordOut release will receive an export library discount.) 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 andre at andregarzia.com Tue Jan 4 08:45:29 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 4 Jan 2011 11:45:29 -0200 Subject: ANN: WordReport 1.0 release and introductory sale In-Reply-To: <4D231566.90402@pair.com> References: <4D231566.90402@pair.com> Message-ID: is there a bundle of wordreport and wordlib? (I can't remember if I bought wordlib or not...) On Tue, Jan 4, 2011 at 10:41 AM, Curry Kenworthy wrote: > I'm happy to announce the 1.0 release of WordReport. This library lets your > LiveCode stacks crank out MS Word and OpenOffice reports of any kind: > business documents, contractor invoices, real-estate flyers, mail merge, > product catalogs, software data reports, educational worksheets, band > concert posters, customer service letters, or whatever else you dream up. > (In fact, the demo stack includes sample code and templates for three of > those scenarios.) > > You create a formatted template with data insertion tags, save it, and then > insert your data from within LiveCode to create reports. WordReport is > self-contained and doesn't need any word processing software to create > reports, but you'll need MS Word or OpenOffice to create the templates. The > demo stack will get you off to a quick start exploring capabilities, and a > friendly User Guide explains everything. > > The library handles images as well as text and has other advanced features > such as loops and optional context marking. It handles Unicode and as a > bonus, in addition to the unlimited formatting in your template, you can > include basic styles within your export data for extra emphasis on the fly. > It does headers and footers too. And tables. (And number formatting with > commas if you need it.) Everything you need to make customers and clients > happy with great-looking reports, while improving your own back office > workflow too. > > To celebrate this release (finally!) I'm offering WordReport on sale at a > very special introductory price for 10 days. Get it while it's low! This is > a power tool for saving time and producing great documents in all kinds of > practical scenarios. > > http://curryk.com/wordreport.html > > (A hearty thanks to the beta testers also. And for those interested in news > about WordOut, the export library, a beta has been available for some time, > email me if you wish to try it. I'll be finishing it up as time allows, and > as promised, those who purchase WordLib at full price before the WordOut > release will receive an export library discount.) > > 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/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From ambassador at fourthworld.com Tue Jan 4 10:17:17 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 04 Jan 2011 07:17:17 -0800 Subject: Mac App Store compliance Message-ID: <4D2339FD.8030508@fourthworld.com> Richard Miller wrote: > Could someone please list the (primary) issues developers need to pay > attention to in order to make Mac apps compliant with the new store? Prohibited items include self-updating (even though iTunes itself does that), and non-standard GUI elements (even though iTunes itself does that too). You're also not allowed to let the user try your product before purchasing, but that's not something LC can address. One user in the LC forums has noted that his app was rejected because his document windows don't darken the close dot to indicate unsaved changes. This has been noted in the RQCC, but I've not heard from RR as to when this will be addressed. Elsewhere Jan Schenkel has noted that toolbars such as the attractive implementation in Trevor's ScreenSteps can't currently be implemented in a truly HIG-savvy fashion, and that's been flagged as an enhancement request in the RQCC as well. A good toolbar implementation also requires other related details, such as sheet positioning and adding a standard Toolbar button. We'll also need some means of integrating with Apple's reg system, since you're not allowed to manage that yourself. It would be helpful if others here who've dealt with it can tell us what's needed to support that. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From curry at pair.com Tue Jan 4 10:31:13 2011 From: curry at pair.com (Curry Kenworthy) Date: Tue, 04 Jan 2011 09:31:13 -0600 Subject: ANN: WordReport 1.0 release and introductory sale In-Reply-To: References: Message-ID: <4D233D41.1000000@pair.com> >is there a bundle of wordreport and wordlib? >(I can't remember if I bought wordlib or not...) Thanks, Andre. WordLib and WordOut are related in that they offer import of documents to fields and export of field contents to documents, thus the discount relationship to those who buy WordLib while WordOut is still prerelease. (And for the WordOut beta, just email me. The demo is similar to a word processor with all the style buttons, and you can save MS Word documents.) WordReport on the other hand is specialized as a complete and independent report maker solution using data and templates for precise formatting and quick results. (I had a series of requests from users for this type of powerful solution to quickly set up reports for clients and for their own products.) Rather than bundling it with WordLib too, I decided to start out with a discounted price to celebrate this 1.0 release! Best wishes, Curry http://curryk.com/wordreport.html From wow at together.net Tue Jan 4 10:38:22 2011 From: wow at together.net (Richard Miller) Date: Tue, 04 Jan 2011 10:38:22 -0500 Subject: Mac App Store compliance In-Reply-To: <4D2339FD.8030508@fourthworld.com> References: <4D2339FD.8030508@fourthworld.com> Message-ID: <4D233EEE.9070307@together.net> Thanks, Richard. Could you expand on the issue of non-standard GUI elements?... perhaps some examples of what is not acceptable? If self-updating is not allowed, what is the easiest alternative? Or is this app store going to operate like the iPad store, where the OS always informs the user when an update is available? Richard On 1/4/11 10:17 AM, Richard Gaskin wrote: > Richard Miller wrote: > >> Could someone please list the (primary) issues developers need to pay >> attention to in order to make Mac apps compliant with the new store? > > Prohibited items include self-updating (even though iTunes itself does > that), and non-standard GUI elements (even though iTunes itself does > that too). You're also not allowed to let the user try your product > before purchasing, but that's not something LC can address. > > One user in the LC forums has noted that his app was rejected because > his document windows don't darken the close dot to indicate unsaved > changes. This has been noted in the RQCC, but I've not heard from > RR as to when this will be addressed. > > Elsewhere Jan Schenkel has noted that toolbars such as the attractive > implementation in Trevor's ScreenSteps can't currently be implemented > in a truly HIG-savvy fashion, and that's been flagged as an > enhancement request in the RQCC as well. > > A good toolbar implementation also requires other related details, > such as sheet positioning and adding a standard Toolbar button. > > We'll also need some means of integrating with Apple's reg system, > since you're not allowed to manage that yourself. It would be helpful > if others here who've dealt with it can tell us what's needed to > support that. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Tue Jan 4 11:19:53 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 04 Jan 2011 08:19:53 -0800 Subject: Mac App Store compliance Message-ID: <4D2348A9.2020704@fourthworld.com> Richard Miller wrote: > Could you expand on the issue of non-standard GUI elements?... perhaps > some examples of what is not acceptable? Hard to say specifically beyond those I cited earlier. There seems to be a subjective element to the App Store review process, so the precise expectations a developer must comply with may not be knowable in advance, and conceivably may differ depending on the personality of the individual reviewer your app winds up with. > If self-updating is not allowed, what is the easiest alternative? Or is > this app store going to operate like the iPad store, where the OS always > informs the user when an update is available? AFAIK, if you implement a bug fix or enhancement for your customers, the only way to make it available to them is to resubmit it to Apple's review queue and wait a few weeks for it to go through that process. For those of us who strive to deliver bug fixes as close to instantly as possible, this is a disappointment for both ourselves and our customers. I suppose the upside is that it encourages us to be more disciplined before release, to strive for the uncommon role of making one of the very few software products ever to exist that ships with zero bugs. ;) If there's an alternate means by which we can shorten the time-to-delivery for our customers who use the App Store I'd be very glad to be wrong on this. It's also unclear whether App Store presence is exclusive; that is, if you sell an app through the App Store can you also sell it at your own web site? If so, that would provide a means of delivering timely updates without the unnecessary delay of waiting for a third-party bogged down by reviewing other apps that have nothing to do with your relationship with your customer. If this sort of non-exclusivity is allowed, it then begs the question of whether the publisher is allowed to set their own price points which may differ from those in the App Store. I can imagine more than a few developers who make strong products offering them at a lower price when purchased at their own store vs. the App Store, so that those who prefer the App Store shoulder the cost for that convenience while other customers aren't burdened by paying for that overhead when it doesn't benefit them. Given the Sherman Act's wording about price fixing, I suspect Apple's solution to avoid this is to simply not allow an app sold through the App Store to be sold elsewhere. But again, I would be very happy to be wrong on this. Anyone here know whether the App Store agreement is an exclusive one? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From coiin at verizon.net Tue Jan 4 11:38:15 2011 From: coiin at verizon.net (Colin Holgate) Date: Tue, 04 Jan 2011 11:38:15 -0500 Subject: Mac App Store compliance In-Reply-To: <4D2348A9.2020704@fourthworld.com> References: <4D2348A9.2020704@fourthworld.com> Message-ID: <0FE71D22-3144-44DD-945C-977F747C89CF@verizon.net> Some people are getting games accepted into the Mac App Store, and I'm pretty sure those don't have standard buttons and other controls. Maybe the concern is if you have a standard control that doesn't behave in a standard way? One thing I know that apps are rejected for is if they have PowerPC code in them. It has to be Intel only. There are utilities for stripping out PPC code, that do a good enough job to solve the problem. From lfredricks at proactive-intl.com Tue Jan 4 11:45:55 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue, 4 Jan 2011 08:45:55 -0800 Subject: Mac App Store compliance In-Reply-To: <4D2348A9.2020704@fourthworld.com> References: <4D2348A9.2020704@fourthworld.com> Message-ID: > But again, I would be very happy to be wrong on this. > > Anyone here know whether the App Store agreement is an exclusive one? AFAIK (and its gone through a host of Japanese lawyers Ive worked with), Apple isn't asking for exclusivity. But they are asking for specifics on the version that is sold on their site. One possibility is to disable some features from the versions sold through the Mac App Store, but then enable those sold through your own store - but make those available through a form of "license trade" registration. It seems to me like you can make the "direct" version so attractive that it could be very compeling way to regain much of the user base info that Apple should be giving you. Best regards, Lynn Fredricks Mirye Software Publishing http://www.mirye.com From andrew at rjdfarm.com Tue Jan 4 12:10:43 2011 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Tue, 4 Jan 2011 09:10:43 -0800 (PST) Subject: ANN: WordReport 1.0 release and introductory sale In-Reply-To: <4D233D41.1000000@pair.com> References: <4D231566.90402@pair.com> <4D233D41.1000000@pair.com> Message-ID: <1294161043285-3173938.post@n4.nabble.com> Does this handle table making to lay the information out well when you don't know how many rows you will have? If so I am in! I just had to construct a thorough latex library for building tex documents for laying my reports out. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-WordReport-1-0-release-and-introductory-sale-tp3173457p3173938.html Sent from the Revolution - User mailing list archive at Nabble.com. From warren at warrensweb.us Tue Jan 4 12:23:48 2011 From: warren at warrensweb.us (Warren Samples) Date: Tue, 04 Jan 2011 11:23:48 -0600 Subject: launch URL in Linux Message-ID: <1294161828.28021.189.camel@mint-i7> Hi, I am finding that here, running Livecode 4.5.2 in Linux Mint, "launch URL" renders Livecode unresponsive until the browser window is closed. This happens in the message box and in scripts in both the IDE and standalones and with whichever browser I've set as system default. Input is still accepted but not responded to until the browser is closed. This does not happen for me under OS X or Windows 7. Does this occur for other Linux users or might it be a product of my particular environment? Warren From andre at andregarzia.com Tue Jan 4 12:42:03 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 4 Jan 2011 15:42:03 -0200 Subject: launch URL in Linux In-Reply-To: <1294161828.28021.189.camel@mint-i7> References: <1294161828.28021.189.camel@mint-i7> Message-ID: Warren, LiveCode on Linux still a little flaky but it works better than before. I just tried that here and did not experience the bug. I am not using 4.5.2 though. If you're a Developer Program member, try one of the recent 4.5.x betas or try 4.5.0 and see if it happens again. I am running (from) Ubuntu 10.10 On Tue, Jan 4, 2011 at 3:23 PM, Warren Samples wrote: > Hi, > > I am finding that here, running Livecode 4.5.2 in Linux Mint, "launch > URL" renders Livecode unresponsive until the browser window is closed. > This happens in the message box and in scripts in both the IDE and > standalones and with whichever browser I've set as system default. Input > is still accepted but not responded to until the browser is closed. This > does not happen for me under OS X or Windows 7. > > Does this occur for other Linux users or might it be a product of my > particular environment? > > 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 > -- http://www.andregarzia.com All We Do Is Code. From curry at pair.com Tue Jan 4 12:50:31 2011 From: curry at pair.com (Curry Kenworthy) Date: Tue, 04 Jan 2011 11:50:31 -0600 Subject: ANN: WordReport 1.0 release and introductory sale In-Reply-To: References: Message-ID: <4D235DE7.7080906@pair.com> >Does this handle table making to lay the information out well >when you don't know how many rows you will have? Thanks for the question, Andrew. You can define one row in your template, and the table grows as needed with a loop. Store the required info for each row in your data array, and the library does the rest as long as your template is tagged correctly. This technique is demonstrated in the second and third examples of the demo stack. Just open the Try WordReport stack after downloading and unzipping, and have a look around. http://curryk.com/wordreport.html (The examples also have a bit of humor to keep things fun!) 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 pete at mollysrevenge.com Tue Jan 4 12:59:28 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Tue, 4 Jan 2011 09:59:28 -0800 Subject: ANN: WordReport 1.0 release and introductory sale In-Reply-To: <4D231566.90402@pair.com> References: <4D231566.90402@pair.com> Message-ID: <97253569-AAB1-4D67-BDA1-CD279DCC06D4@mollysrevenge.com> Hi Currry, I'm really looking forward to trying this but I can't expand the zip file that I downloaded from your site - I get an error "Unable to unarchive (error 1 operation not permitted). This is on a Mac running OSX 10.6. Other .zip files work fine and I've tied putting your zip file in different folders in case there is a permissions problem but still get the same error. I just updated to 10.6 last night so I guess it's possible this is some sort of OSX bug. Pete Haworth On Jan 4, 2011, at 4:41 AM, Curry Kenworthy wrote: > I'm happy to announce the 1.0 release of WordReport. This library lets your LiveCode stacks crank out MS Word and OpenOffice reports of any kind: business documents, contractor invoices, real-estate flyers, mail merge, product catalogs, software data reports, educational worksheets, band concert posters, customer service letters, or whatever else you dream up. (In fact, the demo stack includes sample code and templates for three of those scenarios.) > > You create a formatted template with data insertion tags, save it, and then insert your data from within LiveCode to create reports. WordReport is self-contained and doesn't need any word processing software to create reports, but you'll need MS Word or OpenOffice to create the templates. The demo stack will get you off to a quick start exploring capabilities, and a friendly User Guide explains everything. > > The library handles images as well as text and has other advanced features such as loops and optional context marking. It handles Unicode and as a bonus, in addition to the unlimited formatting in your template, you can include basic styles within your export data for extra emphasis on the fly. It does headers and footers too. And tables. (And number formatting with commas if you need it.) Everything you need to make customers and clients happy with great-looking reports, while improving your own back office workflow too. > > To celebrate this release (finally!) I'm offering WordReport on sale at a very special introductory price for 10 days. Get it while it's low! This is a power tool for saving time and producing great documents in all kinds of practical scenarios. > > http://curryk.com/wordreport.html > > (A hearty thanks to the beta testers also. And for those interested in news about WordOut, the export library, a beta has been available for some time, email me if you wish to try it. I'll be finishing it up as time allows, and as promised, those who purchase WordLib at full price before the WordOut release will receive an export library discount.) > > 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/ > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 rjdfarm.com Tue Jan 4 12:59:43 2011 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Tue, 4 Jan 2011 09:59:43 -0800 (PST) Subject: ANN: WordReport 1.0 release and introductory sale In-Reply-To: <4D235DE7.7080906@pair.com> References: <4D231566.90402@pair.com> <4D235DE7.7080906@pair.com> Message-ID: <1294163983034-3174040.post@n4.nabble.com> Looks awesome! I am going to play with the demo for a bit and jump in. Thanks! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-WordReport-1-0-release-and-introductory-sale-tp3173457p3174040.html Sent from the Revolution - User mailing list archive at Nabble.com. From curry at pair.com Tue Jan 4 14:07:25 2011 From: curry at pair.com (Curry Kenworthy) Date: Tue, 04 Jan 2011 13:07:25 -0600 Subject: ANN: WordReport 1.0 release and introductory sale In-Reply-To: References: Message-ID: <4D236FED.4080303@pair.com> >I can't expand the zip file that I downloaded from your site - >I get an error "Unable to unarchive (error 1 operation not permitted). Hi Peter, thanks for alerting me to that! For some reason my Mac didn't like that particular zip file either. I've quickly uploaded another zip to correct the problem. The page link will redirect to the updated file now, and here's the direct file link too, just in case: http://curryk.com/wordreport103.zip http://curryk.com/wordreport.html 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 warren at warrensweb.us Tue Jan 4 14:08:12 2011 From: warren at warrensweb.us (Warren Samples) Date: Tue, 04 Jan 2011 13:08:12 -0600 Subject: launch URL in Linux In-Reply-To: References: <1294161828.28021.189.camel@mint-i7> Message-ID: <1294168092.28021.237.camel@mint-i7> On Tue, 2011-01-04 at 15:42 -0200, Andre Garzia wrote: > just tried that here and did not experience the bug. I am not using > 4.5.2 > though. If you're a Developer Program member, try one of the recent > 4.5.x > betas or try 4.5.0 and see if it happens again. > > I am running (from) Ubuntu 10.10 Thanks Andre, I just checked here in Linux Mint 9 (32 bit) and it works fine. I have the problem in Mint 10 (64 bit), which is based on Ubuntu 10.10. It happens 4.5.3-RC3 as well. It seems there's something "special" about my environment. This also occurs when using launch URL to open a file in the default editor. As a curious and possibly irrelevant aside, I notice that when I run the command in the message box, "true" appears in the return field in Mint 9 but only in Mint 9. Warren From pete at mollysrevenge.com Tue Jan 4 14:49:53 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Tue, 4 Jan 2011 11:49:53 -0800 Subject: ANN: WordReport 1.0 release and introductory sale In-Reply-To: <4D236FED.4080303@pair.com> References: <4D236FED.4080303@pair.com> Message-ID: <9265D7EF-EF8C-416C-86DF-7CE212E601E1@mollysrevenge.com> Thanks Curry, the new zip file expanded just fine. Pete Haworth On Jan 4, 2011, at 11:07 AM, Curry Kenworthy wrote: > > >I can't expand the zip file that I downloaded from your site - > >I get an error "Unable to unarchive (error 1 operation not permitted). > > Hi Peter, thanks for alerting me to that! > > For some reason my Mac didn't like that particular zip file either. I've quickly uploaded another zip to correct the problem. > > The page link will redirect to the updated file now, and here's the direct file link too, just in case: > > http://curryk.com/wordreport103.zip > > http://curryk.com/wordreport.html > > 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/ > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 4 16:11:04 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 04 Jan 2011 13:11:04 -0800 Subject: launch URL in Linux Message-ID: <4D238CE8.80800@fourthworld.com> Warren Samples wrote: > On Tue, 2011-01-04 at 15:42 -0200, Andre Garzia wrote: >> just tried that here and did not experience the bug. I am not using >> 4.5.2 >> though. If you're a Developer Program member, try one of the recent >> 4.5.x >> betas or try 4.5.0 and see if it happens again. >> >> I am running (from) Ubuntu 10.10 > > Thanks Andre, > > I just checked here in Linux Mint 9 (32 bit) and it works fine. I have > the problem in Mint 10 (64 bit), which is based on Ubuntu 10.10. It > happens 4.5.3-RC3 as well. It seems there's something "special" about my > environment. I wonder if the "special" is that it's 64 bit? I just tested here on a 32-bit system running Ubuntu 10.10 and launch url works fine. Anyone else here running a 64-bit Debian-based build who can verify this? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From mikekann at yahoo.com Tue Jan 4 16:15:01 2011 From: mikekann at yahoo.com (Michael Kann) Date: Tue, 4 Jan 2011 13:15:01 -0800 (PST) Subject: On-Rev Server Access In-Reply-To: <752C4E26-BE3A-413A-971A-55C64479FE64@wanadoo.fr> Message-ID: <1542.71926.qm@web56703.mail.re3.yahoo.com> Francis, Tim, Alex, Matthias, Thanks for responding to my question about the On-Rev Server Access. I'm able to use FileZilla now. Over Christmas I was visiting my mother when I wanted to access the server. I downloaded the newest version of FileZilla, which didn't work. I came home and used my old version, which works fine. I'm not sure if the problem was in the newer program or some security on my mother's computer, but it's full speed ahead now. Thanks again. Working recipe: host: taishan.on-rev.com username: taishan password: good_password Mike From ruslan_zasukhin at valentina-db.com Tue Jan 4 16:57:37 2011 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Tue, 04 Jan 2011 23:57:37 +0200 Subject: Paradigma Software, Inc - Product enquiry for Product Name: LiveCode / Revolution Megabundle 2009 Update In-Reply-To: <005601cbac3c$5f1e7d40$1d5b77c0$@allsprings.net> Message-ID: On 1/4/11 8:22 PM, "Kimmo Lahtinen" wrote: Hi Kimmoto, > I remember that I tried to see how much the report option would cost, but it > was indeed quite a lot. Well, Valentina Reports double price of each Valentina product. So if you check ADK+ (199/399) then with reports its price doubled. > Kimmo Lahtinen > > PS. It would be nice if some day you offer also the reporting with a special > price. Let me give very important point here. This MegaBundle 2009 UPDATE, have give you in hands Valentina Office Server INFINITE Right? * Valentina Office Server already have Valentina Report Engine. * Also Valentina Office Server includes Vstudio Pro copy, so you can design reports for own usage. If you talk about Valentina Reports embedded into your Livecode app, Then yes, you need yet upgrade future to "ADK+ & Reports" option. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From andre at andregarzia.com Tue Jan 4 17:54:00 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 4 Jan 2011 20:54:00 -0200 Subject: launch URL in Linux In-Reply-To: <4D238CE8.80800@fourthworld.com> References: <4D238CE8.80800@fourthworld.com> Message-ID: I don't even try to run LiveCode under Linux 64 bits... LiveCode is linked against 32 bits libraries and Linux 64 bits is a mess with all the library relocations for 32 bits and stuff... I don't recommend. On Tue, Jan 4, 2011 at 7:11 PM, Richard Gaskin wrote: > Warren Samples wrote: > >> On Tue, 2011-01-04 at 15:42 -0200, Andre Garzia wrote: >> >>> just tried that here and did not experience the bug. I am not using >>> 4.5.2 >>> though. If you're a Developer Program member, try one of the recent >>> 4.5.x >>> betas or try 4.5.0 and see if it happens again. >>> >>> I am running (from) Ubuntu 10.10 >>> >> >> Thanks Andre, >> >> I just checked here in Linux Mint 9 (32 bit) and it works fine. I have >> the problem in Mint 10 (64 bit), which is based on Ubuntu 10.10. It >> happens 4.5.3-RC3 as well. It seems there's something "special" about my >> environment. >> > > I wonder if the "special" is that it's 64 bit? > > I just tested here on a 32-bit system running Ubuntu 10.10 and launch url > works fine. > > Anyone else here running a 64-bit Debian-based build who can verify this? > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From bob.earp at ashford.ca Tue Jan 4 18:06:47 2011 From: bob.earp at ashford.ca (Robert Earp) Date: Tue, 4 Jan 2011 15:06:47 -0800 Subject: Mobile App help wanted Message-ID: First off, a belated Happy New Year to all of you and many thanks for all of the great support you've given over the last year. I wish you and yours all the very best for a safe, happy and healthy 2011 !! I was contacted today by Guy Durwin (guy.durwin at yahoo.ca) who is looking for somebody to build a mobile app for him. I have no idea what the app is about, and Guy is a total stranger to me, but in the spirit of the usual cooperation of this list I offered to pass on his request to you in case somebody has the time and interest to work on this, unfortunately I don't at the moment. I believe Guy is located close to me (British Columbia lower mainland area). So, if you are interested please contact him directly. If things work out for you I'd appreciate hearing about it. Kind regards, Bob... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.ashford.ca www.cabinsimulators.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Robert J. Earp - President Ashford Technologies Inc. 18059 21A Ave, Surrey British Columbia. V3S 9V7 Canada t: (+1) 604 541 1662 f: (+1) 604 541 1686 From bob.earp at ashford.ca Tue Jan 4 18:29:04 2011 From: bob.earp at ashford.ca (Robert Earp) Date: Tue, 4 Jan 2011 15:29:04 -0800 Subject: Mobile App help wanted......... eMail address error Message-ID: <62CDC16C-F77E-4BF1-90E1-1F3B01EF8ED6@ashford.ca> First off, a belated Happy New Year to all of you and many thanks for all of the great support you've given over the last year. I wish you and yours all the very best for a safe, happy and healthy 2011 !! I was contacted today by Guy Durnin (guydurnin at yahoo.ca) who is looking for somebody to build a mobile app for him. I have no idea what the app is about, and Guy is a total stranger to me, but in the spirit of the usual cooperation of this list I offered to pass on his request to the list in case somebody has the time and interest to work on this Unfortunately I don't the time at the moment, but maybe will be able to work on it in a month or so if somebody wishes to share the work. I believe Guy is located close to me (British Columbia lower mainland area). So, if you are interested please contact him directly. If things work out for you or you wish to share, I'd appreciate hearing about it off list. Kind regards, Bob... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.ashford.ca www.cabinsimulators.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Robert J. Earp - President Ashford Technologies Inc. 18059 21A Ave, Surrey British Columbia. V3S 9V7 Canada t: (+1) 604 541 1662 f: (+1) 604 541 1686 From cszasz at mac.com Tue Jan 4 20:15:08 2011 From: cszasz at mac.com (charles61) Date: Tue, 4 Jan 2011 17:15:08 -0800 (PST) Subject: ANN: WordReport 1.0 release and introductory sale In-Reply-To: <4D231566.90402@pair.com> References: <4D231566.90402@pair.com> Message-ID: <1294190108649-3174739.post@n4.nabble.com> What is the special introductory price? I did not see it. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-WordReport-1-0-release-and-introductory-sale-tp3173457p3174739.html Sent from the Revolution - User mailing list archive at Nabble.com. From curry at pair.com Tue Jan 4 21:14:54 2011 From: curry at pair.com (Curry Kenworthy) Date: Tue, 04 Jan 2011 20:14:54 -0600 Subject: ANN: WordReport 1.0 release and introductory sale In-Reply-To: References: Message-ID: <4D23D41E.2080602@pair.com> >What is the special introductory price? I did not see it. Howdy, Charles. The WordReport intro price is the current price at the store. ($50 USD.) After the first ten days are up, I'll be raising the price. There's a lot of bang for your buck right now so don't miss out! http://curryk.com/wordreport.html 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 sundown at pacifier.com Tue Jan 4 21:35:56 2011 From: sundown at pacifier.com (-=>JB<=-) Date: Tue, 4 Jan 2011 18:35:56 -0800 Subject: ANN: WordReport 1.0 release and introductory sale In-Reply-To: <4D23D41E.2080602@pair.com> References: <4D23D41E.2080602@pair.com> Message-ID: <176BDA16-8272-4035-9E6F-0A7A4D469538@pacifier.com> For those who purchased the Word Lib you mentioned they will get a discount when WordReport is released. Is there an additional discount that purchasers of WordLib will be able to use? -=>JB<=- On Jan 4, 2011, at 6:14 PM, Curry Kenworthy wrote: > > >What is the special introductory price? I did not see it. > > Howdy, Charles. The WordReport intro price is the current price at the store. ($50 USD.) After the first ten days are up, I'll be raising the price. There's a lot of bang for your buck right now so don't miss out! > > http://curryk.com/wordreport.html > > 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/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From capellan2000 at gmail.com Tue Jan 4 23:05:33 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 4 Jan 2011 20:05:33 -0800 (PST) Subject: [OT] Why is Brazil like Bulgaria? In-Reply-To: <4D1F9E45.8090702@gmail.com> References: <4D1F9E45.8090702@gmail.com> Message-ID: <1294200333353-3174833.post@n4.nabble.com> Hi Richmond, Are you making plans to return to Scotland with your family in this year? Stephen, this is time of the year when we remember George Orwell's book: http://www.george-orwell.org/Animal_Farm/index.html Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Why-is-Brazil-like-Bulgaria-tp3170465p3174833.html Sent from the Revolution - User mailing list archive at Nabble.com. From curry at pair.com Tue Jan 4 23:20:12 2011 From: curry at pair.com (Curry Kenworthy) Date: Tue, 04 Jan 2011 22:20:12 -0600 Subject: ANN: WordReport 1.0 release and introductory sale In-Reply-To: References: Message-ID: <4D23F17C.80008@pair.com> > For those who purchased the Word Lib you mentioned they will get > a discount when WordReport is released. Is there an additional > discount that purchasers of WordLib will be able to use? Hello, JB. Thanks for asking. No, the discount from WordLib applies to WordOut, not WordReport. WordLib and WordOut are related (input/output of MS Word and OpenOffice documents to and from LiveCode text fields) so thus the discount relationship. Anyone who purchased or purchases WordLib at full price from my store or the RunRev store before WordOut reaches 1.0 will receive a $20 credit towards WordOut. For WordReport (template-driven MS Word and Open Office reports for quick results with precision formatting, by injecting your data into pre-formatted templates) anyone who orders during the intro period saves at least $20, because the price will be raised afterwards. 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 stephenREVOLUTION2 at barncard.com Tue Jan 4 23:51:11 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 4 Jan 2011 20:51:11 -0800 Subject: [OT] Why is Brazil like Bulgaria? In-Reply-To: <1294200333353-3174833.post@n4.nabble.com> References: <4D1F9E45.8090702@gmail.com> <1294200333353-3174833.post@n4.nabble.com> Message-ID: You mean "some developers are better than the other developers?" lol I read 1984 in 1960. On 4 January 2011 20:05, Alejandro Tejada wrote: > > Hi Richmond, > > Are you making plans to return to Scotland > with your family in this year? > > Stephen, this is time of the year when > we remember George Orwell's book: > http://www.george-orwell.org/Animal_Farm/index.html > > Al > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/OT-Why-is-Brazil-like-Bulgaria-tp3170465p3174833.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From jacque at hyperactivesw.com Wed Jan 5 01:08:21 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 05 Jan 2011 00:08:21 -0600 Subject: [OT] Why is Brazil like Bulgaria? In-Reply-To: References: <4D1F9E45.8090702@gmail.com> <1294200333353-3174833.post@n4.nabble.com> Message-ID: <4D240AD5.2080204@hyperactivesw.com> On 1/4/11 10:51 PM, stephen barncard wrote: > You mean "some developers are better than the other developers?" > lol I think he means we're all pigs. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From capellan2000 at gmail.com Wed Jan 5 04:31:11 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 5 Jan 2011 01:31:11 -0800 (PST) Subject: [OT] Why is Brazil like Bulgaria? In-Reply-To: <4D240AD5.2080204@hyperactivesw.com> References: <4D1F9E45.8090702@gmail.com> <1294200333353-3174833.post@n4.nabble.com> <4D240AD5.2080204@hyperactivesw.com> Message-ID: <1294219871394-3175061.post@n4.nabble.com> Hi all, Stephen Barncard wrote: > You mean "some developers are better than the other developers?" > lol http://www.youtube.com/watch?v=NZldlyeR8DU At least from my point of view, the lesson of the fable "Animal Farm" is that "Power tends to corrupt, and absolute power corrupts absolutely" or "Unlimited power is apt to corrupt the minds of those who possess it" Unlimited power in the hands of few is the main common characteristic between Bulgaria and Brasil. Other is... that both names starts with "B". :-) J. Landman Gay wrote: > I think he means we're all pigs. :) ROTFL :-D Funny enough, where I live, only in December you could see roasted pigs in every Food Market: http://en.wikipedia.org/wiki/Pig_roast http://www.dr1.com/forums/best-dr/109899-pig-roast-dr.html But precisely because that, I avoid them in this month. In the country where I live, electric energy fails every day, for many hours. Just imagine the effect of electric brownouts on refrigerated products of all kinds. Just imagine... If you ever visit this country, think twice before eating or drinking any kind of refrigerated product. Really. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Why-is-Brazil-like-Bulgaria-tp3170465p3175061.html Sent from the Revolution - User mailing list archive at Nabble.com. From curry at pair.com Wed Jan 5 04:40:27 2011 From: curry at pair.com (Curry Kenworthy) Date: Wed, 05 Jan 2011 03:40:27 -0600 Subject: [OT] Why is Brazil like Bulgaria? In-Reply-To: References: Message-ID: <4D243C8B.4050408@pair.com> >Unlimited power in the hands of few is the main common >characteristic between Bulgaria and Brasil. Nice thoughtful puzzle! >Just imagine the effect of electric brownouts >on refrigerated products of all kinds. And computers. UPS and laptops must be essential? Best, Curry From john at splash21.com Wed Jan 5 05:55:11 2011 From: john at splash21.com (John Craig) Date: Wed, 05 Jan 2011 10:55:11 +0000 Subject: Livecode iOS app live in the app store In-Reply-To: <4D13519F.4020204@splash21.com> References: <4D13519F.4020204@splash21.com> Message-ID: <4D244E0F.6030203@splash21.com> I think this first experimental iOS app is now at an end! I've submitted the app and two updates to the app store and on all occasions there were no problems - (typically 3 - 4 days to go live). When local database storage, sockets, etc. become available, I reckon LC's iOS will be a killer platform for commercial apps. It'll be interesting to see how easily an iPhone app can be compiled for Andriod, etc. and how many tweaks will be required. From andre at andregarzia.com Wed Jan 5 08:07:46 2011 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 5 Jan 2011 11:07:46 -0200 Subject: [OT] Why is Brazil like Bulgaria? In-Reply-To: <4D243C8B.4050408@pair.com> References: <4D243C8B.4050408@pair.com> Message-ID: On Wed, Jan 5, 2011 at 7:40 AM, Curry Kenworthy wrote: > >Unlimited power in the hands of few is the main common > >characteristic between Bulgaria and Brasil. > > Oh there is no unlimited power in here. People outside imagine Brazil being some banana republic where carismatic leader can do any ruthless thing and get away with it but this is not the case, they can get away with robbing any amount of money, passing any kind of idiotic law, doing every kind of moronic display of ignorance, complete lack of common sense and really bad sense of fashion and so on but it is not unlimited. Brief Story of Brazil: Brazil was "discovered" in the 16th century, it was made into a colony and that was how it stood for couple centuries until napoleon went land acquiring over europe. Portuguese royalty fled (or went on vacation) to Brazil which was a colony made of mud, coffee, slaves and nasty diseases. When royalty arrived in 1808 they decided to make this a proper country, specially Rio. Like mushrooms after rain, a country was made with proper buildings and culture (at least on Rio). It doesn't really matter that all the slaving went on and that the rest of this really big place was still farms and pain, Rio was beautiful. Now Brazil was an United Kingdom - the United Kingdom of Portugal, Brazil and Algarve. Scottish and Englishman among us knows how this works. Heck from colony to united kingdom, looks good. Royalty decided to go back to europe where moskito bites do not kill you and where the natives could speak something you could understand (common people often spoke tupi, guarani or some other indian tongue) but but but but... TA-DA!!!! The portuguese royal guy decided NOT TO GO BACK! famous words: "if it is for the general happiness of the nation, tell everyone that I stay!". So Brazil was no longer an United Kingdom but was on its own with a new royal guy. The new country was named The Empire Of Brazil (as far as empires goes, this was a pretty big place) plus we had an emperor! Time went on, monarchies were overthrown in lots of places and then it was not fashionable to have emperors anymore. The last ball of the Empire went on 500m of where I am right now on a very cute castle, they even had electrical lamps during the ball. http://farm3.static.flickr.com/2017/1582977140_5757617cf7.jpg (this is the castle, worth a look. It is called "Castelo da Ilha Fiscal", the ferry boat I take everyday pass by it) The next day republic was proclaimed - "Independence or Death!!!!" - by the same guys who were in charge since forever. Now we had presidents. Our republic played a game of rinse and repeat, alternating presidents from S?o Paulo and Minas Gerais for a while and then some other bastards came along till we're almost at the second world war when a military coup made Brazil into a dictatorship (New State they called). Brazil under dictatorship was ironic, we had a fascist goverment full of people who admired fascist ideas (including my grandpa) but fought the axis on the side of the non-fascist guys. After Getulio commit suicide, military really took over the dictatorship and leftist armed guerrilla started. Students like Dilma Roussef and many others robbed banks, kidnapped ambassadors and did all kinds of nasty stuff to make a Cuba out of Brazil. Our mudererer goverment did worse with tortures, deaths and everything you don't want to hear, this went on until after I was born (hey, I was born during a military dictatorship!). Civil disobedience and protests got too big with strikes all over the place and students on the streets with their faces painted in green and yellow demanding free elections and guess what, it worked! After decades of military dictatorship, they stepped down! No war, no coup... a organized civil election and newly elected leaders, it doesnt help that the newly elected president died right on the spot (I think he was overwhelmed with joy of democracy). So after that we had some really bad democratic elected presidents. Inflation was really bad to the point that on the market you had to race the market staff trying to pick the goodies before they re-tag them with new prices (this is actually true). Till FHC came along and he and other really clever people created a magic plan to con the whole country and stabilize the economy. Brazilians are tricksters and that presidency tricked all the country into believing there was no such thing as a bad economy and it worked out and money stabilized. Yay for impossible plans! After him the labor party was elected and I cried of joy. Eight years later, I've learned that the labor party is the same as the other 40 or so parties we have and President Lula managed to get President Dilma elected much to my disgust, I vote for the green party. During the last election my choices for President, Senator, Governor lost but at least my choices for Federal Congressman and State Congressman were elected. Silly people, always voting for thieves. So in summary: Same guys in power: really big muddy place -> United Kingdom -> Empire -> Republic New guys in power, as bad as the previous ones: Last 8 years -- http://www.andregarzia.com All We Do Is Code. From warren at warrensweb.us Wed Jan 5 08:33:24 2011 From: warren at warrensweb.us (Warren Samples) Date: Wed, 05 Jan 2011 07:33:24 -0600 Subject: [OT] Why is Brazil like Bulgaria? In-Reply-To: References: <4D243C8B.4050408@pair.com> Message-ID: <1294234404.28021.322.camel@mint-i7> On Wed, 2011-01-05 at 11:07 -0200, Andre Garzia wrote: > People outside imagine Brazil being > some banana republic where carismatic leader can do any ruthless thing > and > get away with it but this is not the case, they can get away with > robbing > any amount of money, passing any kind of idiotic law, doing every kind > of > moronic display of ignorance, complete lack of common sense and really > bad > sense of fashion and so on Obviously they are thinking of Venezuela... just a small error of geography ;) From curry at pair.com Wed Jan 5 09:27:19 2011 From: curry at pair.com (Curry Kenworthy) Date: Wed, 05 Jan 2011 08:27:19 -0600 Subject: [OT] Why is Brazil like Bulgaria? In-Reply-To: References: Message-ID: <4D247FC7.9040709@pair.com> Andre wrote: >Curry Kenworthy wrote: > >Unlimited power in the hands of few is the main common > >characteristic between Bulgaria and Brasil. >Oh there is no unlimited power in here. >People outside imagine Brazil ... ... ... Just wanted to clarify that I am NOT the author of that quote as it might appear; my message quoted the previous message. Nice history chapter! Best, Curry From andre at andregarzia.com Wed Jan 5 09:36:07 2011 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 5 Jan 2011 12:36:07 -0200 Subject: [OT] Why is Brazil like Bulgaria? In-Reply-To: <4D247FC7.9040709@pair.com> References: <4D247FC7.9040709@pair.com> Message-ID: On Wed, Jan 5, 2011 at 12:27 PM, Curry Kenworthy wrote: > Andre wrote: > > > >Curry Kenworthy wrote: > > > >Unlimited power in the hands of few is the main common > > >characteristic between Bulgaria and Brasil. > > >Oh there is no unlimited power in here. > >People outside imagine Brazil ... ... ... > > Just wanted to clarify that I am NOT the author of that quote as it might > appear; my message quoted the previous message. > Curry, no no no, I was not talking about you, I was making a general remark. I've seen a lot of news during the last days and I wrote that email but it is not targeted at any one. > > Nice history chapter! > Thanks! >D > > Best, > > Curry > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From ruslan_zasukhin at valentina-db.com Wed Jan 5 09:36:42 2011 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Wed, 05 Jan 2011 16:36:42 +0200 Subject: [FREE] SQLite plugin in Valentina Studio Pro -- feedback please? Message-ID: Hi All, We have made more improvements in the SqlLite plugin of Valentina Studio Pro. New build (MAC) uploaded into 4.8.1 b1 folder. http://www.valentina-db.com/download/beta/4.8.1_b1 IMPORTANT NOTE: You can made account on www.valentina-db.com site. Then login and get FREE serial for VStudio PRO. We would like to hear any feedback about new Sqlite plugin. Any suggestion welcome. Any comparisons to other Lite managers - very welcome. Since we going in nearest time add support of Lite to Valentina Reports, we see that will be great if Valentina Studio will be nice GUI manager not only for Valentina but for Lite, ODBC, ... ============================================= [Data Editor] both Valentina and Lite. * now works multi-line FILTER which allows to select records without SQL. * improved work with BLOBs. * auto-detect of picture inside of BLOB field ============================================= [SQL Editor] * Now uses the same Data Editor grid to show records and ... !!! Now you can EDIT values right here in the Result View, if cursor is in Read-Write ============================================= [ODBC plugin] * Improved and polished ODBC plugin, to allow connect to ODBC data sources, which can be (mySQL, Postgre, Access, MS SQL, ... ) TODO: Right now guys link ODBC plugin to Data Editor. ============================================= TODO: * guys do finish Links for Lite now. * Valentina REPORTs to be able get data from different data sources including Lite and ODBC. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Roger.E.Eller at sealedair.com Wed Jan 5 11:02:43 2011 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Wed, 5 Jan 2011 11:02:43 -0500 Subject: Livecode iOS app live in the app store In-Reply-To: <4D244E0F.6030203@splash21.com> Message-ID: On 01/05/2011 at 05:56 AM, John Craig wrote: > ......................................................... When local > database storage, sockets, etc. become available, I reckon LC's iOS will > be a killer platform for commercial apps. > It'll be interesting to see how easily an iPhone app can be compiled for > Android, etc. and how many tweaks will be required. John, Congrats on your app going into the app store so smoothly. I just wanted to comment on the Android option you mentioned, which I can hardly wait to see/use. Based on what I have been reading about the new extensions to the LiveCode/Rev language for mobile apps, it seems there is an awful lot of iOS terminology being added to the syntax. I am inclined to think that in order to support multiple mobile platforms, the terms should be more generic in their prefixes instead of iOSthis and iOSthat. It makes me wonder if Android is just an afterthought, and will end up having its own set of specific set of commands too. I know that there are times that platform specific calls are needed, but why not have a more generic base set for all mobiles like 'mobileRotateScreen' or 'mobileShake' commands. Maybe they plan to handle it with the use of synonyms. It would be nice to hear something from the mothership on their Android progress. ~Roger From kevin at runrev.com Wed Jan 5 11:42:17 2011 From: kevin at runrev.com (Kevin Miller) Date: Wed, 05 Jan 2011 16:42:17 +0000 Subject: Livecode iOS app live in the app store In-Reply-To: Message-ID: On 05/01/2011 16:02, "Roger.E.Eller at sealedair.com" wrote: > Congrats on your app going into the app store so smoothly. I just wanted > to comment on the Android option you mentioned, which I can hardly wait to > see/use. Based on what I have been reading about the new extensions to the > LiveCode/Rev language for mobile apps, it seems there is an awful lot of > iOS terminology being added to the syntax. I am inclined to think that in > order to support multiple mobile platforms, the terms should be more > generic in their prefixes instead of iOSthis and iOSthat. It makes me > wonder if Android is just an afterthought, and will end up having its own > set of specific set of commands too. I know that there are times that > platform specific calls are needed, but why not have a more generic base > set for all mobiles like 'mobileRotateScreen' or 'mobileShake' commands. > Maybe they plan to handle it with the use of synonyms. It would be nice to > hear something from the mothership on their Android progress. We will be rationalizing the syntax so that it makes sense on mobile devices in a way that is as cross-device as possible. Stay tuned for an update on our Android progress in the next couple of days. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ LiveCode - Realize fast, compile-free coding From bobs at twft.com Wed Jan 5 11:46:26 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 5 Jan 2011 08:46:26 -0800 Subject: DGH Clone Chamber Preview - was datagrid: sharing grid templates & copy paste In-Reply-To: References: Message-ID: Zryip, you are fricking amazing! If you are not careful, you are going to wake up one day somewhere in Scotland and find you have been shanghai'ed into slave labor for LiveCode. Don't get drunk in any scottish pubs! Bob On Dec 16, 2010, at 4:48 PM, zryip theSlug wrote: > Hi List, > > Here is a preview of our solution for duplicating an existing datagrid > (template, behavior and properties) > With the "clone room" of DGH, we are capable to reuse any complex > datagrids between projects, in 3 clicks. > > Step 1: put the grid in the cloning chamber > Step 2: selecting an empty grid or an existing grid > Step 3: replication of the grid in the other one > > A quick preview of the feature in action is available here: > http://www.youtube.com/watch?v=8rj7sDB-Prw > > Btw, here is our channel on youtube: > http://www.youtube.com/profile?user=TheSlugOnTheRoad > > > Available soon for all the DGH users. > > > Best regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 5 11:47:50 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 5 Jan 2011 08:47:50 -0800 Subject: A new, improved msg box Bug? In-Reply-To: <113640.46ff76bc.3a3c4bb1@aol.com> References: <113640.46ff76bc.3a3c4bb1@aol.com> Message-ID: Remove all your plugins and rehash? Bob On Dec 16, 2010, at 9:14 PM, DunbarX at aol.com wrote: > Colin. > > Nope, tried both enter and return. It is just whether or not i type a char > in the lower field. That fixes it. Steady and predictable.... > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 5 11:52:27 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 5 Jan 2011 08:52:27 -0800 Subject: [data grid] How to get the dgText really empty? In-Reply-To: <767AD670-A6D2-4365-B918-240E6A615248@wanadoo.fr> References: <767AD670-A6D2-4365-B918-240E6A615248@wanadoo.fr> Message-ID: <6CAE9424-D9CB-4894-9981-6F722F9B780C@twft.com> If you never make mistakes you are probably not trying to do anything. And you are DEFINITELY not a software developer! Bob On Dec 17, 2010, at 9:02 AM, Andr? Bisseret wrote: > Bonjour Trevor, > > I just noticed that I was completely wrong! > I was emptying my data grids but not a hidden field which is used as an intermediary where preprocessed data are kept, > and which is used by the button which recapitulates the two data grids in the third one!!!! > > Thanks a lot for your reply > > and really sorry to have disturbed you with what was my mistake! > > Andr? From bobs at twft.com Wed Jan 5 11:56:21 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 5 Jan 2011 08:56:21 -0800 Subject: Windows error 32 In-Reply-To: <4D0C178D.7040100@fourthworld.com> References: <4D0C178D.7040100@fourthworld.com> Message-ID: <45224CF3-18D1-4A91-923C-F66DEA57BADF@twft.com> Is the uninstaller app in the application folder? If so, then that is your problem. That is probably why there is an add/remove programs feature in Windows. Apps cannot delete themselves, although they should be able to move themselves to the trash, and then delete the folder they were launched from. I could be wrong on that point tho'. Bob On Dec 17, 2010, at 6:08 PM, Richard Gaskin wrote: > I'm making an uninstaller for one of my apps on Windows, and everything's working swell except for one detail: > > I can delete all files and folders related to the install with ease, but when I try to delete the application folder sysError returns 32, which means it's in use by another process. > > Here's the setup: > > The uninstaller works as we're required to do on Windows: when launched it makes a copy of itself into the temp folder, and launches that copy after which the original quits. We have to do that because of course an app can't delete itself. The copy has the UI that the user clicks to start the uninstall. > > That copy in temp works great, and clears out everything, even the original uninstaller that launched it. > > The one thing it can't do is delete the folder the app was originally in, which is in the Program Files directory, e.g.: > > C:\Program Files\MyApp\ > > It seems weird to me that I can so easily delete all the contents of that folder, even all the nested subfolders that were in it, yet not the folder itself. > > And yes, I've checked: the folder is indeed empty. > > Even weirder, I can open LC afterward and run this in the Message Box: > > delete folder "C:/Program Files/MyApp/" > > ...and it deletes as expected without complaint. > > My first hunch was that since the original uninstaller app is launching the one doing the deleting, maybe I could add another layer of misdirection by having a copy of that app make another app in temp just to delete the damn folder. No go, same error 32. > > Any of you come across something like this before? How did you get around it? > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > 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 pepetoo at cox.net Wed Jan 5 12:00:55 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Wed, 5 Jan 2011 09:00:55 -0800 Subject: ControlKeyDown problem - still not working w/Windows Message-ID: <80BA8463-2C55-4ACC-8E70-CB1B8FC976DF@cox.net> I have yet to resolve this issue. Strangely enough, if I allow the OSX version to "see" the controlKeyDown handler, they work the same as the commandKeyDown handler - both being in the stacks' scripts. The only area of suspicion would likely be that I'm running WindowsXP under VM Fusion on my Mac (Pro with Snow Leopard); while running the app in XP, I find that 'the Platform' is Win32, but that shouldn't matter since the Handlers normally use a If the platform is MacOS then beep else.... All the control key stuff end if Does anyone have a similar setup that works? Responses very much appreciated. Joe Lewis Wilkins Architect & Director of Product Development for GSI From ambassador at fourthworld.com Wed Jan 5 12:08:47 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 05 Jan 2011 09:08:47 -0800 Subject: Windows error 32 Message-ID: <4D24A59F.6040401@fourthworld.com> Bob Sneidar wrote: > Is the uninstaller app in the application folder? If so, then that > is your problem. That is probably why there is an add/remove programs > feature in Windows. Apps cannot delete themselves, although they > should be able to move themselves to the trash, and then delete the > folder they were launched from. I could be wrong on that point tho'. Indeed they should, and as I noted below that's what I tried, copying the installer to tmp and then launching that copy. I'd earlier been using Wise Install for this sort of thing, and their installer does the same. What made it initially mystifying is that I was able to delete every file in that folder, even the original copy of the uninstaller, just not the folder itself. I posted the fix the following day: turns out you need to also change the working directory away from the one being deleted, a simple one-liner in LC: I've considered using the Control Panel, but while we can provide notification to that tool we still need to feed it the particulars of the uninstall, an additional step it seems only a minority of apps installed on my Win machines have bothered to do. Most of the reviewers for my products do indeed note whether the app has an uninstaller, and mark their rating down if not, but it seems they're agnostic over whether the uninstall is done by the Control Panel or by the app's own tools. Personally, I prefer to deliver the uninstall in the same section of the Start menu with everything else related to my apps so it's all in one place, though I may consider doing the extra step of feeding the Control Panel as an additional convenience in future versions. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > On Dec 17, 2010, at 6:08 PM, Richard Gaskin wrote: > >> I'm making an uninstaller for one of my apps on Windows, and >> everything's working swell except for one detail: >> >> I can delete all files and folders related to the install with ease, >> but when I try to delete the application folder sysError returns 32, >> which means it's in use by another process. >> >> Here's the setup: >> >> The uninstaller works as we're required to do on Windows: when >> launched it makes a copy of itself into the temp folder, and >> launches that copy after which the original quits. We have to do >> that because of course an app can't delete itself. The copy has >> the UI that the user clicks to start the uninstall. >> >> That copy in temp works great, and clears out everything, even the >> original uninstaller that launched it. >> >> The one thing it can't do is delete the folder the app was >> originally in, which is in the Program Files directory, e.g.: >> >> C:\Program Files\MyApp\ >> >> It seems weird to me that I can so easily delete all the contents of >> that folder, even all the nested subfolders that were in it, yet not >> the folder itself. >> >> And yes, I've checked: the folder is indeed empty. >> >> Even weirder, I can open LC afterward and run this in the Message >> Box: >> >> delete folder "C:/Program Files/MyApp/" >> >> ...and it deletes as expected without complaint. >> >> My first hunch was that since the original uninstaller app is >> launching the one doing the deleting, maybe I could add another >> layer of misdirection by having a copy of that app make another >> app in temp just to delete the damn folder. No go, same error 32. >> >> Any of you come across something like this before? How did you get >> around it? >> >> -- >> Richard Gaskin >> Fourth World Media Corporation >> ___________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Wed Jan 5 12:14:50 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 05 Jan 2011 09:14:50 -0800 Subject: ControlKeyDown problem - still not working w/Windows Message-ID: <4D24A70A.4040302@fourthworld.com> Joe Lewis Wilkins wrote: > I have yet to resolve this issue. Strangely enough, if I allow the > OSX version to "see" the controlKeyDown handler, they work the same > as the commandKeyDown handler - both being in the stacks' scripts. > The only area of suspicion would likely be that I'm running WindowsXP > under VM Fusion on my Mac (Pro with Snow Leopard); while running the > app in XP, I find that 'the Platform' is Win32, but that shouldn't > matter since the Handlers normally use a > > If the platform is MacOS then > beep > > else.... > All the control key stuff > end if > > Does anyone have a similar setup that works? You may want to double-check the settings in the VM to see if it's remapping the control key. I haven't used VM Fusion but I know Parallels provides such an option. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From bobs at twft.com Wed Jan 5 12:23:42 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 5 Jan 2011 09:23:42 -0800 Subject: Strange phenomena In-Reply-To: <4D0D9BDB.6010700@hyperactivesw.com> References: <02123A61-07E7-4115-BEEA-B419E5C2FEDF@cox.net> <4D0D9BDB.6010700@hyperactivesw.com> Message-ID: Ohhh. Nice! Bob On Dec 18, 2010, at 9:44 PM, J. Landman Gay wrote: > Another way to handle it is not to set the stack's menubar during development, just leave it at the top of the window. Then in a preopenstack handler, check "the environment" and if it is "standalone" then set the menubar of the stack to the group. That will automatically force a resize on Macs only and leave the Windows stack alone. That's what I've been doing with the last few standalones I've made. The down side of doing this is that keyboard command keys aren't available in the IDE, since the menubar isn't in the system menu while the IDE is running. From pepetoo at cox.net Wed Jan 5 12:24:46 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Wed, 5 Jan 2011 09:24:46 -0800 Subject: ControlKeyDown problem - still not working w/Windows In-Reply-To: <4D24A70A.4040302@fourthworld.com> References: <4D24A70A.4040302@fourthworld.com> Message-ID: <0A8AB254-62D3-4D12-B558-BEA8319811FB@cox.net> Thanks Richard. I hadn't thought of that angle. I'll check it out. Joe Lewis Wilkins Architect & Director of Product Development for GSI On Jan 5, 2011, at 9:14 AM, Richard Gaskin wrote: > Joe Lewis Wilkins wrote: > > > I have yet to resolve this issue. Strangely enough, if I allow the > > OSX version to "see" the controlKeyDown handler, they work the same > > as the commandKeyDown handler - both being in the stacks' scripts. > > The only area of suspicion would likely be that I'm running WindowsXP > > under VM Fusion on my Mac (Pro with Snow Leopard); while running the > > app in XP, I find that 'the Platform' is Win32, but that shouldn't > > matter since the Handlers normally use a > > > > If the platform is MacOS then > > beep > > > > else.... > > All the control key stuff > > end if > > > > Does anyone have a similar setup that works? > > You may want to double-check the settings in the VM to see if it's remapping the control key. I haven't used VM Fusion but I know Parallels provides such an option. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From bobs at twft.com Wed Jan 5 12:33:00 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 5 Jan 2011 09:33:00 -0800 Subject: closeField - Curious In-Reply-To: References: <11e9.1c506747.3a3e9795@aol.com> Message-ID: <31D09F1E-5DF9-440D-A515-6609C98A580C@twft.com> Just tested works fine. I have a closeField handler in the card script, a field and a button. The button goes to card 2. The closeField handler beeps twice. When I click the button after editing the field contents it beeps twice. That means the card script is in fact getting the message. I suspect something else has a closeField handler that is trapping the message. Bob On Dec 18, 2010, at 8:14 PM, Mike Kerner wrote: > ok, then riddle me this: > > I have a field, but instead of putting the closeField handler in the field, > I put it in the card. On that card I have a button that goes to another > card. In that case, the closeField message is not passed to the card, only > if i have the closeField handler in the field. If I do not have a button > that navigates off the card, but instead I just tab from field to field, the > closeField message is received. So why isn't it passed up the hierarchy if > I am going to navigate off the card, but it does if I stay on the card? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 5 12:35:54 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 5 Jan 2011 09:35:54 -0800 Subject: closeField - Curious In-Reply-To: <397CD9FC-CFB6-453E-B4F3-7AA9927DBDDF@cox.net> References: <11e9.1c506747.3a3e9795@aol.com> <397CD9FC-CFB6-453E-B4F3-7AA9927DBDDF@cox.net> Message-ID: Well... hmmm... I dunno. I like to enable special behaviors for my fields in the card script or the stack script, check for the existence of a custom prop, if it exists handle it, if not pass closeField. That way new fields work just fine, but I can add a custom prop to enable the special behavior. This is a great way to implement field validation routines. Bob On Dec 18, 2010, at 8:48 PM, Joe Lewis Wilkins wrote: > Hi Mike, > First, you're not going to want to put a "closeField" handler anyplace other than the field to which it applies unless all of the fields on the card, or stack are going to implement something when that message is sent. From bobs at twft.com Wed Jan 5 12:39:08 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 5 Jan 2011 09:39:08 -0800 Subject: closeField - Curious In-Reply-To: References: <14deaa3973c8c2d3f14ef24e330c44a2.squirrel@www.mollysrevenge.com> Message-ID: <3CB0FA7F-2642-47C9-BB87-AC86A93E27B0@twft.com> Instead of changing the behavior of closeField (and all the hoopla that would arise by everyone's stacks suddenly acting differently), how about a new handler? Something like alterField or changeField? Seems to me, closeField is just that. The field is closed. Setting the text of a field is not opening and closing it, at least in my mind. Bob On Dec 19, 2010, at 7:39 AM, Bill Vlahos wrote: > I agree completely. It would be good to have a message sent whenever the field changes for any reason. > > Bill Vlahos From MikeKerner at roadrunner.com Wed Jan 5 12:39:07 2011 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 5 Jan 2011 12:39:07 -0500 Subject: closeField - Curious In-Reply-To: References: <11e9.1c506747.3a3e9795@aol.com> <397CD9FC-CFB6-453E-B4F3-7AA9927DBDDF@cox.net> Message-ID: Bob, This is indeed not working as expected, and nothing else is intercepting the message first. It just isn't being sent. I've been trying to mess with Jacque's suggestion, but that didn't help matters, so because I'm less interested in figuring out what weirdness is in play and more interested in getting the thing done, I'm doing it a different way. -- 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 bobs at twft.com Wed Jan 5 12:40:36 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 5 Jan 2011 09:40:36 -0800 Subject: closeField - Curious In-Reply-To: References: <11e9.1c506747.3a3e9795@aol.com> <4D0D91FC.1000602@hyperactivesw.com> Message-ID: Again, I tested this and it works as expected. Going to another card does in fact send the closeField message to an edited field that has focus, which not being trapped, makes it's way to the card script and executes. Bob On Dec 19, 2010, at 4:04 PM, Robert Brenstein wrote: > I can second this. I was hit a number of times by scripts executing on the wrong card when user action changed card. This has also to do with the order messages are sent and executed. Some times it is reasonable and possible to avoid actually changing the card but rather redesigning the stack so the card changes without a physical move to another card. > > Robert From jacque at hyperactivesw.com Wed Jan 5 12:51:19 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 05 Jan 2011 11:51:19 -0600 Subject: ControlKeyDown problem - still not working w/Windows In-Reply-To: <80BA8463-2C55-4ACC-8E70-CB1B8FC976DF@cox.net> References: <80BA8463-2C55-4ACC-8E70-CB1B8FC976DF@cox.net> Message-ID: <4D24AF97.2000800@hyperactivesw.com> On 1/5/11 11:00 AM, Joe Lewis Wilkins wrote: > I have yet to resolve this issue. Strangely enough, if I allow the > OSX version to "see" the controlKeyDown handler, they work the same > as the commandKeyDown handler - both being in the stacks' scripts. You know that LC maps the control key on Windows to the command key handlers, right? It's the same way LC maps the Alt key on Windows to the option key handlers. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pepetoo at cox.net Wed Jan 5 13:00:14 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Wed, 5 Jan 2011 10:00:14 -0800 Subject: ControlKeyDown problem - still not working w/Windows In-Reply-To: <4D24AF97.2000800@hyperactivesw.com> References: <80BA8463-2C55-4ACC-8E70-CB1B8FC976DF@cox.net> <4D24AF97.2000800@hyperactivesw.com> Message-ID: Actually, I was not aware of this. Not sure that I even understand what you are saying. Are you saying that I don't even have to have a handler for the Control Keys; that LC will automatically provide functioning of the CommandKeys as if they are ControlKeys when creating the Windows version? In which case, perhaps my doing so has confused things? I'll eliminate my controlKeyDown handler and see what happens. Thanks, Jacqui!!!! Joe Lewis Wilkins Architect & Director of Product Development for GSI On Jan 5, 2011, at 9:51 AM, J. Landman Gay wrote: > On 1/5/11 11:00 AM, Joe Lewis Wilkins wrote: >> I have yet to resolve this issue. Strangely enough, if I allow the >> OSX version to "see" the controlKeyDown handler, they work the same >> as the commandKeyDown handler - both being in the stacks' scripts. > > You know that LC maps the control key on Windows to the command key handlers, right? It's the same way LC maps the Alt key on Windows to the option key handlers. > > -- > 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 Jan 5 13:08:25 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 5 Jan 2011 10:08:25 -0800 Subject: Nabble vs lists.runrev.com In-Reply-To: <412CADAE-9BF9-465A-9AE5-33384264CFB5@mac.com> References: <412CADAE-9BF9-465A-9AE5-33384264CFB5@mac.com> Message-ID: Last I checked the Nabble system had not been updated with the new use-livecode at lists.runrev.com address. It still posted under the old address, which is why it appears that some devs are still posting using the old address, even when they were given the new one. The reply to is correct though, oddly. Bob On Dec 20, 2010, at 3:04 AM, Josep M Yepes wrote: > Hi, > > Posting directly to Nabble is the same that reply to the list from Mail? I ever post directly to Nabble but I don't see my last post in the list now... > > It's correct? > > > Salut, > Josep > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 5 13:15:46 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 05 Jan 2011 12:15:46 -0600 Subject: ControlKeyDown problem - still not working w/Windows In-Reply-To: References: <80BA8463-2C55-4ACC-8E70-CB1B8FC976DF@cox.net> <4D24AF97.2000800@hyperactivesw.com> Message-ID: <4D24B552.8000203@hyperactivesw.com> On 1/5/11 12:00 PM, Joe Lewis Wilkins wrote: > Actually, I was not aware of this. Not sure that I even understand > what you are saying. Are you saying that I don't even have to have a > handler for the Control Keys; that LC will automatically provide > functioning of the CommandKeys as if they are ControlKeys when > creating the Windows version? In which case, perhaps my doing so has > confused things? I'll eliminate my controlKeyDown handler and see > what happens. Right, you only need a commandkey handler. On Unix and Windows, commandkey and controlkey are synonyms (see the dictionary.) However, having a controlkey handler shouldn't interfere particularly. The only thing I can think of is that the commandkey handler is trapping the message before controlkey gets it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Wed Jan 5 13:17:45 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 5 Jan 2011 10:17:45 -0800 Subject: Datagrid bug? Looks cheesy... In-Reply-To: References: Message-ID: <9C53D301-24DF-429B-972D-20E5D9105127@twft.com> Try clicking the Datagrid Refresh button first. This cleared display problems up for me. Bob On Dec 21, 2010, at 10:36 AM, Glen Bojsza wrote: > Has anyone seen this before and is there a fix? > > Platform is Linux - Livecode 4.5.3 (dp1) > > The vertical scroll bar separates from the right side of the table (moving > to the left) leaving a small gap that is quite noticeable. > > Easily reproduced by creating a new datagrid, and resizing the furthest > visible right column as the first action. > > This makes it look a little cheesy in that it remains this way unless you > create a new datagrid (not good for deployment). > > It would really be nice after the many years if Livecode / Rev would > actually have implemented a true table (I think it was one the most > requested items throughout the years). Though datagrid is better than before > it still is not the ideal solution (IMHO). > > thanks, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 5 13:18:33 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 5 Jan 2011 10:18:33 -0800 Subject: Mobile UI Guideline Links In-Reply-To: References: Message-ID: Duly bookmarked. Bob On Dec 21, 2010, at 2:45 PM, Scott Rossi wrote: > Might be useful: a collection of UI guideline links from all the major > players. > > > > 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 revdev at pdslabs.net Wed Jan 5 13:28:07 2011 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 05 Jan 2011 10:28:07 -0800 Subject: Mobile UI Guideline Links In-Reply-To: References: Message-ID: <4D24B837.2000704@pdslabs.net> Thanks Scott! Phil Davis On 12/21/10 2:45 PM, Scott Rossi wrote: > Might be useful: a collection of UI guideline links from all the major > players. > > > > 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 > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From bobs at twft.com Wed Jan 5 13:28:42 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 5 Jan 2011 10:28:42 -0800 Subject: Getting a public IP address when connected to a router In-Reply-To: <1jtrrul.1odj9burukgpnM%liste.revo@medard.on-rev.com> References: <1jtrrul.1odj9burukgpnM%liste.revo@medard.on-rev.com> Message-ID: <73C18AEF-9F24-4A3C-8170-3141A314AE95@twft.com> I'm half French, and I have my own saying: "The solution to a problem cannot be any simpler than the problem itself". It may not in fact be true, but it sounds pithy. But seriously, I would love for all my stacks to have one magical one-liner that does everything I want them to. The trouble is, the problems I am trying to solve don't lend themselves to that. To the server, it has no idea that your IP address is "you". All software starts out deaf, dumb and blind. Developing software is a lot like teaching a retarded person to cook breakfast. Except in the case of LiveCode, the retard already knows where the eggs, bacon, bread and butter are. But you still have to teach him how to make everything the way you like it. Sorry everyone, I just love analogies. Bob On Dec 19, 2010, at 2:04 PM, Medard wrote: > Mark Schonewille wrote: > >> What's the problem, Medard? Just don't count your own IP address. >> >> if myIP is not "123.123.123.123" then... > > You're right, Mark... > but a well known motto here in France is: > "pourquoi faire simple, quand on peut faire compliqu?" > (what's the need to make things simple, as it's so easy to make them > complicated) > > joke apart, the problem is I don't have a fixed IP*, it may vary, within > some limits > > > * due to my ISP, Orange ;-) > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 5 13:30:22 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 5 Jan 2011 10:30:22 -0800 Subject: Getting a public IP address when connected to a router In-Reply-To: <4D0EB460.2030308@hyperactivesw.com> References: <1jtrrul.1odj9burukgpnM%liste.revo@medard.on-rev.com> <65163329687.20101219165059@ahsoftware.net> <4D0EB460.2030308@hyperactivesw.com> Message-ID: Downing some shots might also help... Bob On Dec 19, 2010, at 5:41 PM, J. Landman Gay wrote: > On 12/19/10 6:50 PM, Mark Wieder wrote: >> Medard- >> >> Sunday, December 19, 2010, 2:04:04 PM, you wrote: >> >>> * due to my ISP, Orange ;-) >> >> Well, there's the problem. >> You're trying to compare Apples and Oranges. >> >> > > Aw geez. You should be shot for that. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Wed Jan 5 13:33:55 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 5 Jan 2011 10:33:55 -0800 Subject: Getting a public IP address when connected to a router In-Reply-To: <1jtsmq3.1pa5d9v1qcr6w1M%liste.revo@medard.on-rev.com> References: <1jtsmq3.1pa5d9v1qcr6w1M%liste.revo@medard.on-rev.com> Message-ID: <07A2A3DE-B59E-41AC-8C46-EBE4416B9306@twft.com> In America they passed a law that dictates that ISP's have to allow their competitors to use the infrastructure the original ISP built. It's kind of like forcing all restaurants to let other cooks come in to their kitchens and cook and sell meals for their own establishments. Oddly though, it works out nicely. Bob On Dec 20, 2010, at 2:58 AM, Medard wrote: > J. Landman Gay wrote: > >>>> * due to my ISP, Orange ;-) >>> >>> Well, there's the problem. >>> You're trying to compare Apples and Oranges. >>> >>> >> >> Aw geez. You should be shot for that. > > ;-> > > Orange? is the commercial name of France Telecom as a ISP > They bought that name from a UK company they acquired... > What a marmalade ;-) > > Away from big cities, there is not so much choice for a ISP! > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 5 13:39:23 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 5 Jan 2011 10:39:23 -0800 Subject: Dispatch and send In-Reply-To: <4D123BD5.8000906@fourthworld.com> References: <4D123BD5.8000906@fourthworld.com> Message-ID: <0CAFB020-E39E-472A-A872-E56F580AF191@twft.com> Seems right to me. Dispatch looks for a handler in the script you are dispatching to. You would have to have a handler called ON BEEP which would be illegal and wouldn't compile because BEEP is a reserved word. Try using send instead. Bob On Dec 22, 2010, at 9:56 AM, Richard Gaskin wrote: > David Bovill wrote: > >> Anyone got a reason for this being Appropriate behavior? >> >> dispatch "beep" to this cd -- no beep >>> send "beep" to this cd -- a beep > > Interestingly, running this in the Message Box: > > dispatch "beep" to this cd; put it > > ...yields "unhandled" > > You get the same with any build-in command, e.g.: > > dispatch "go next" to this cd; put it > > Whether this is a weakness in the engine or the documentation is a question of intention: > > Is "dispatch" designed to handle only custom handlers? It appears to be, and if that's what's intended it's working fine and all that's needed is a note in the docs clarifying that. > > But if the intention was that it could be used for built-in commands too then there appears to be a bug in the engine. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Wed Jan 5 13:41:21 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 5 Jan 2011 10:41:21 -0800 Subject: Dispatch and send In-Reply-To: References: Message-ID: <5117F6C2-A3E5-4FE3-8F35-8D5BB5D4B388@twft.com> Let me put it differently: Send generates a system message. Any system message. Dispatch calls a handler optionally with parameters. Make sense? Bob On Dec 22, 2010, at 9:40 AM, David Bovill wrote: > Anyone got a reason for this being Appropriate behavior? > > dispatch "beep" to this cd -- no beep >> send "beep" to this cd -- a beep >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 5 13:50:14 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 5 Jan 2011 10:50:14 -0800 Subject: [OT] Another Microsoft Achievement In-Reply-To: <4D13BD09.1030201@gmail.com> References: <4D13BD09.1030201@gmail.com> Message-ID: <0F86C360-3340-421E-BAC2-4A83B3B9B813@twft.com> Well there probably weren't any attacks... UNTIL THEY WROTE THAT ARTICLE!!!!! Bob On Dec 23, 2010, at 1:20 PM, Richmond wrote: > http://www.bbc.co.uk/news/technology-12067295 > > Wow! > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed Jan 5 14:15:33 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Wed, 5 Jan 2011 11:15:33 -0800 Subject: ControlKeyDown problem - still not working w/Windows In-Reply-To: <4D24B552.8000203@hyperactivesw.com> References: <80BA8463-2C55-4ACC-8E70-CB1B8FC976DF@cox.net> <4D24AF97.2000800@hyperactivesw.com> <4D24B552.8000203@hyperactivesw.com> Message-ID: <3438836F-46E5-409A-A304-F3DEA560322A@cox.net> I guess I need to burn a CD and test this on somebody's real PC. Thanks for the confirmation Jacqui. Joe Lewis Wilkins Architect & Director of Product Development for GSI On Jan 5, 2011, at 10:15 AM, J. Landman Gay wrote: > On 1/5/11 12:00 PM, Joe Lewis Wilkins wrote: >> Actually, I was not aware of this. Not sure that I even understand >> what you are saying. Are you saying that I don't even have to have a >> handler for the Control Keys; that LC will automatically provide >> functioning of the CommandKeys as if they are ControlKeys when >> creating the Windows version? In which case, perhaps my doing so has >> confused things? I'll eliminate my controlKeyDown handler and see >> what happens. > > Right, you only need a commandkey handler. On Unix and Windows, commandkey and controlkey are synonyms (see the dictionary.) However, having a controlkey handler shouldn't interfere particularly. The only thing I can think of is that the commandkey handler is trapping the message before controlkey gets it. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Wed Jan 5 14:20:56 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 05 Jan 2011 11:20:56 -0800 Subject: ControlKeyDown problem - still not working w/Windows Message-ID: <4D24C498.9050309@fourthworld.com> Joe Lewis Wilkins wrote: > I guess I need to burn a CD and test this on somebody's real PC. Thanks for the confirmation Jacqui. Good for now, but I can't recommend having a PC on hand strongly enough. PCs are cheap, and second-hand ones more so. You can probably pick up a decent second-hand PC through Craig's List with a Core 2 Duo for a couple hundred buck. Not only will you have a native-iron test bed, but every geek enjoys the pleasure of watching multiple computers work their butts off while we sit back and enjoy our coffee. ;) Extra bonus points: you could set it up with a dual boot and put Ubuntu on it for even more deployment options at your disposal. With the recent enhancements RunRev made for the Linux engine, it's quite nice these days. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From bobs at twft.com Wed Jan 5 14:22:17 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 5 Jan 2011 11:22:17 -0800 Subject: RevOnline: New version of Shell Command Help In-Reply-To: <4D19B3FE.4040907@pdslabs.net> References: <4D19B3FE.4040907@pdslabs.net> Message-ID: <74B6710D-8FB7-44B0-A23F-C9BFF1076B7B@twft.com> Thanks pretty useful if you know already what the command is you need help with. Looks like you are getting the man pages via a shell call yourself. What would make this marketable is if there was a way to list all the shell commands available to the system and present them to the user in a list, have the user be able to click on a shell command and have the man page load, and then be able to insert the command into a rev script with the proper LiveCode syntax. I would pay money for that! Bob On Dec 28, 2010, at 1:55 AM, Phil Davis wrote: > Hi folks, > > I just uploaded a new version of the Shell() Command Help plugin. > > New features: > - Search for words in the displayed help text. > - Print the displayed help text. > - Use arrow keys to retrieve previous commands (like the LC message box). > > Enjoy! > -- > Phil Davis > > PDS Labs > Professional Software Development > http://pdslabs.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Wed Jan 5 14:32:44 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 5 Jan 2011 11:32:44 -0800 Subject: [OT] Apple publishes six free e-books for developers In-Reply-To: <86CECEEB-0C94-483B-B669-EDAF22CD0671@id.uzh.ch> References: <86CECEEB-0C94-483B-B669-EDAF22CD0671@id.uzh.ch> Message-ID: <9D0C3298-2458-49FC-9F20-33AE6593B781@twft.com> "Apple advises that all the free books work best with the recently-released iBooks 1.2, and?while not required?a case of Red Bull is strongly implied, too." ROFL! I suspect reservations at the local funny farm may be a good idea too! Bob On Dec 29, 2010, at 4:57 AM, Rolf Kocherhans wrote: > If you develop for iOS and missed this, have a look :-) > > http://www.macworld.com/article/156499/2010/12/apple_developer_ebooks.html > > 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 pepetoo at cox.net Wed Jan 5 14:49:20 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Wed, 5 Jan 2011 11:49:20 -0800 Subject: ControlKeyDown problem - still not working w/Windows In-Reply-To: <4D24C498.9050309@fourthworld.com> References: <4D24C498.9050309@fourthworld.com> Message-ID: Richard, For one thing, I have four Macs on my desks and no room for PCs; another, it would be a sacrilege to have a real PC on sacred Mac grounds! (smile) My friends could then say - "he, too, finally succumbed to the M$ voodoo magic". Incidentally, I thought it was interesting to note that Intel and AMD are "finally" putting an emphasis on graphics processing; something that Apple touted as their advantage with the old Motorola PowerPC chips Macs used to use. I've still never been clear about whether Apple was using a smoke screen or whether the PowerPC chips really were inferior, and the reason Apple switched to using Intel chips. Out of my control anyway, since for me it was always the GUI and not the chips, though I spent years learning to program in Assembler for the various 68000 chips. Regardless of how cheap, I've better things to do with my money. Actually, except for this controlKey issue, my Virtual PC has tested RunRev apps flawlessly. It was bad enough when I had to shell out good money for the XP OS. BTW, there IS a Preference in Fusion for mapping from Cmd Keys to Control Keys; but, with what LC already does, I haven't figured out the necessary combination yet. Joe Lewis Wilkins Architect & Director of Product Development for GSI On Jan 5, 2011, at 11:20 AM, Richard Gaskin wrote: > Joe Lewis Wilkins wrote: > >> I guess I need to burn a CD and test this on somebody's real PC. Thanks for the confirmation Jacqui. > > Good for now, but I can't recommend having a PC on hand strongly enough. > > PCs are cheap, and second-hand ones more so. You can probably pick up a decent second-hand PC through Craig's List with a Core 2 Duo for a couple hundred buck. > > Not only will you have a native-iron test bed, but every geek enjoys the pleasure of watching multiple computers work their butts off while we sit back and enjoy our coffee. ;) > > Extra bonus points: you could set it up with a dual boot and put Ubuntu on it for even more deployment options at your disposal. With the recent enhancements RunRev made for the Linux engine, it's quite nice these days. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From bobs at twft.com Wed Jan 5 15:46:04 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 5 Jan 2011 12:46:04 -0800 Subject: Missing plug-in. Again In-Reply-To: <4D1D125E.3080007@hyperactivesw.com> References: <70271.9e62ad5.3a4e60d4@aol.com> <4D1D125E.3080007@hyperactivesw.com> Message-ID: <0F4788ED-090F-4BB1-8522-AFF2A3B6412F@twft.com> I put mine in /Users/Shared/My Livecode. That way any account that logs in can use LiveCode with all the plugin's intact. That will probably never happen, but I am a stickler for such things. It keeps me from shooting myself in the foot, which must be really dam painful. > On 12/30/10 4:25 PM, DunbarX at aol.com wrote: > >> My installer did not create a folder "Documents/LiveCode/Plugins", if that >> matters. I can certain navigate, via that preferences dialog, to the folder >> in question. Or anywhere around it. > > I know, they'd avoid some confusion if they created those folders for you. Anyway, the enclosing folder can be named anything and placed anywhere (but best to avoid the app folder, make it a user location.) But inside that you must have a folder named exactly "Plugins". And your plugins go there. > > If you still have a My Studio (or My Enterprise) folder inside Documents, put your plugin inside the Plugins folder in there and point to My Studio (or whatever.) OT: Speaking of which, I have an entertaining and educational shoot-yourself-in-the-foot story for anyone interested. When I was in the US Navy, I served aboard a destroyer called the USS Decatur. A more scurvy lot of maladjusted, devil may care sailors you will be hard pressed to find on any ship that sails the seven seas. Seriously, almost everyone was ill tempered and had an attitude about something. I think people were assigned to this command as some kind of punishment. Frighteningly enough, this particular destroyer was Nuclear Anti-sub Anti-ship torpedo capable, and often carried Nuclear ASROC's on board, although only the CO, XO and Weapons officer knew if it did at any given time or not. Necessarily, for training purposes, Security Alerts were staged, which involved appointed guards that were ALWAYS making the rounds going into a high alert condition and checking all the sensitive areas where a bad guy might be trying to get at the Big Boy Ammo. We were told that these Security Alerts were never drills. We were always to assume it was the real thing and execute them as such. The first thing that the roving patrol was required to do was unholster his Colt 45 that they were properly trained to carry and use, pull back and lock the slide, Insert a magazine of Little Boy Ammo, and then carry it pointed upwards with the finger off the trigger whilst making the rounds. On one particular day, a second class petty officer in a particularly nasty mood had to stand a second round of the security patrol because his relief was AWOL. To make matters worse, they staged a security alert minutes before he was to be relieved. (They really loved to do things like that). Of course, you wouldn't have a change of the watch during a security alert for obvious reasons, so now this guy was forced to stand 2+ watches, with no definite time for his being relieved. So now picture him doing his rounds, steaming like an overcooked potato, whilst carrying around a colt 45 with magazine inserted and full of those nasty little lethal lead pellets, with the slide locked back. Scary huh? But at least if there really was a bad guy, he could drop the slide and fire relatively easily, without running the risk of accidentally shooting someone. I suppose if there really was a bad guy and he encountered him, his mood was perfect. Now, Military command has been called a lot of things, but stupid is not one of them. So if you followed this you will realize there still is no round in the chamber. All well and good. But this particular alert went on for almost an hour after the man was supposed to be relieved, (or so it seemed to him) so when they called All Secure, he stomped down to the quarterdeck griping and moaning the whole way. When he got there, he laid the gun down on the podium, whipped off his belt with all the clips (except for the one that was still inserted in the gun of course), and while still biching and fuming to the guy relieving him, he watched as his relief put on the belt, dropped the slide, stuck the gun in the holster and, yes kids, pulled the trigger. I kid you not. There had to be some soiled underwear amongst the few sensible sailors standing around on deck, or should I say now sprawled on their faces all over the deck. Now needless to say, about 12 things that were supposed to happen to prevent this, didn't. They were *supposed* to remove the magazine (if there was one in the gun), pull the slide back, poke a finger in the chamber, look through and see light in the barrel, look through the handle and see light there too, put the gun down on the podium, take out all the magazines, count the bullets, take the belt off, put it on the podium, and then watch the relief do everything in the opposite order (except for inserting a magazine in to the gun obviously), with the final 4 actions being, drop the slide, point the gun at the water, pull the trigger and holster the gun. So the moral of the story my dear friends, is people who are not stickler's for procedure, even when it doesn't matter, eventually "shoot themselves in the foot". And no, I was neither of the two. C'mon, how many of you thought I was??Needless to say, neither of those sailors re-enlisted. I don't think the Navy would have let them even if they wanted to. That should make you feel at least a little bit safer! Bob From bobs at twft.com Wed Jan 5 15:47:46 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 5 Jan 2011 12:47:46 -0800 Subject: Missing plug-in. Again In-Reply-To: <821110092953.20101230155017@ahsoftware.net> References: <9CD314AE-74B2-4551-AEB3-40974A8F5112@sbcglobal.net> <821110092953.20101230155017@ahsoftware.net> Message-ID: Out of curiosity, are your LiveCode preferences universal or specific to each logged in user? Bob On Dec 30, 2010, at 3:50 PM, Mark Wieder wrote: > Jim- > > Thursday, December 30, 2010, 3:38:44 PM, you wrote: > >> Don't tell anybody I'm doing this. I'm sure it's naughty. > > Not really, you're just making extra work for yourself. You'll have to > do this for 4.5.3, 4.6... > > Much easier to create a folder somewhere else and just set your > preferences to point to it. Make a "Plugins" folder in it and move > your plugins there. Then you don't have to do anything special for > different RR/LC versions. > > -- > -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 Jan 5 15:57:44 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 5 Jan 2011 12:57:44 -0800 Subject: [OT] A GREAT Mac Cocoa MYSQL tool - Donationware In-Reply-To: References: Message-ID: <87FD9F33-098E-42EB-A7C1-ED42B0DB35B9@twft.com> Hey nice and it doesn't crash like the old MySQL Tools used to! I especially love the "table creation syntax" which is useful for me when developing, since I am not all that proficient at sql syntax. Bob On Jan 2, 2011, at 2:38 PM, stephen barncard wrote: > This thing is better than Navicat - and it works perfectly. I've been > looking for an app that was this complete for years. > > http://www.sequelpro.com/ > > edits blobs of all kinds > dual mode editing - double click edit in cell or in a field > useful console showing exact commands sent to server - great for quick query > building > Font sizes and fonts are customizable everywhere > Nice to look at. Easy recognition of function. > > no registration - free -- > donation requested however and well worth the $10-20 > > > -- > > > > 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 Wed Jan 5 16:07:06 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 5 Jan 2011 13:07:06 -0800 Subject: On-Rev Server Access In-Reply-To: <365308.54485.qm@web56705.mail.re3.yahoo.com> References: <365308.54485.qm@web56705.mail.re3.yahoo.com> Message-ID: Should be taishan_taishan for the user name. Tripped me up too. It's account_user, see? Bob On Jan 2, 2011, at 6:31 AM, Michael Kann wrote: > I haven't been to the on-rev server for a while and find I can't get in. Here's what I'm trying with Filezilla: > > host: taishan.on-rev.com > user: taishan > password: good_password > > Of course it might just be me. I'm just wondering if anything has changed in the access procedure. > > Wishing everyone a Happy New Year, > > Mike > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Jan 5 16:06:48 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 05 Jan 2011 15:06:48 -0600 Subject: Missing plug-in. Again In-Reply-To: References: <9CD314AE-74B2-4551-AEB3-40974A8F5112@sbcglobal.net> <821110092953.20101230155017@ahsoftware.net> Message-ID: <4D24DD68.7070709@hyperactivesw.com> On 1/5/11 2:47 PM, Bob Sneidar wrote: > Out of curiosity, are your LiveCode preferences universal or specific to each logged in user? Specific to each user. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mblivecode at harbourhosting.co.uk Wed Jan 5 16:08:59 2011 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Wed, 05 Jan 2011 21:08:59 +0000 Subject: launch URL in Linux In-Reply-To: <4D238CE8.80800@fourthworld.com> References: <4D238CE8.80800@fourthworld.com> Message-ID: <4D24DDEB.7090203@harbourhosting.co.uk> On 04/01/2011 21:11, Richard Gaskin wrote: > Warren Samples wrote: >> On Tue, 2011-01-04 at 15:42 -0200, Andre Garzia wrote: >>> just tried that here and did not experience the bug. I am not >>> using 4.5.2 though. If you're a Developer Program member, try one >>> of the recent 4.5.x betas or try 4.5.0 and see if it happens >>> again. >>> >>> I am running (from) Ubuntu 10.10 >> >> Thanks Andre, >> >> I just checked here in Linux Mint 9 (32 bit) and it works fine. I >> have the problem in Mint 10 (64 bit), which is based on Ubuntu >> 10.10. It happens 4.5.3-RC3 as well. It seems there's something >> "special" about my environment. > > I wonder if the "special" is that it's 64 bit? > > I just tested here on a 32-bit system running Ubuntu 10.10 and > launch url works fine. > > Anyone else here running a 64-bit Debian-based build who can verify > this? > I also see the described behaviour with LC 4.5.0 on Ubuntu 10.04 64bit LC IDE menus don't respond to mouse nor the tools window, until the browser is closed (firefox in my test). Martin Baxter From bobs at twft.com Wed Jan 5 16:26:46 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 5 Jan 2011 13:26:46 -0800 Subject: [OT] Why is Brazil like Bulgaria? In-Reply-To: References: <4D243C8B.4050408@pair.com> Message-ID: <165C7CA0-CAC7-4FE4-B6CD-6365C3DE7DF1@twft.com> That is as good a history of Brazil as I have ever heard. A couple points: I don't think people so much ascribe to political philosophies, as the look instead for the one that seems to give them the most, or take away the least from them. That is why nations with fairly good economical systems and politics can be overthrown. You simply convince the poor masses (every country has them) that they are poor, not because they have not tried to better themselves and their lives, but because "those rich guys over there" took all their money! Now the claim may or may not be true. Sometimes "those rich guys over there" really DID take all their money! But sometimes not. It really makes no difference, because the goal is to get a lot of people angry at the people who actually wield the power, so that you have a ready made army of sorts, at which the people who have the power will need to defend themselves or run. The resulting people who now have the power after the coup may not be (and probably will not be) better that the ones they replaced, especially seeing that they were willing to deceive the masses into doing what they wanted in the first place. Well it worked great once, why abandon a perfectly good method on moral grounds?? So the solution is not any particular political system, at least in my opinion. The solution has always been, and must always be, some kind of quantum leap in the moral fiber of the people in general. For America it was the fact that so very many displaced European Christians showed up in the same place at the same time and decided they wanted a better world for themselves and their children. How well things worked out in the end will be a subject of endless debate among the international community, so let me just concede that point up front. But there have been good and bad Republics. There have been good and bad Socialist States. There have even been good and bad Totalitarian States!! The moral fiber of the people, and subsequently their leaders, is the key, and not the politics. That is my point. Bob ps. List-Gods please don't banish me from list-post heaven. It was an OT post!! And I didn't mention anything about cheese! On Jan 5, 2011, at 5:07 AM, Andre Garzia wrote: > So in summary: > > Same guys in power: really big muddy place -> United Kingdom -> Empire -> > Republic > New guys in power, as bad as the previous ones: Last 8 years From bobs at twft.com Wed Jan 5 16:32:47 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 5 Jan 2011 13:32:47 -0800 Subject: Livecode iOS app live in the app store In-Reply-To: References: Message-ID: <354BB209-B2A5-451B-83AC-191035CEBBB5@twft.com> 79,170 my first try. Now I don't mean to brag but... well ok I do mean to brag. Bob On Dec 23, 2010, at 1:33 PM, Scott Rossi wrote: > Recently, John Craig wrote: > >> I created a small LC game for iPhone and it's now in the app store. If >> you search for 'splash21' or 'snowballer' you should be able to >> download. > > Great John. It runs OK here on a gen 3 iPod Touch. I especially like the > targeting mechanism, but I can't tell if the left-to-right angle calcs are a > bit too sensitive or I'm just lame (probably the latter). > > (Ooo, just got 3 santas. My hi score = 23220). > > Perhaps you should have named it Angry Snowmen. :-) > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Wed Jan 5 16:35:33 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 5 Jan 2011 13:35:33 -0800 Subject: Livecode iOS app live in the app store In-Reply-To: <4D13519F.4020204@splash21.com> References: <4D13519F.4020204@splash21.com> Message-ID: <56B71278-7D85-40BA-B4D9-1D2FB40A10E8@twft.com> The scroll wheels for the initials could use some work. Very unpredictable, the swipe sometimes spins the wheel and sometimes not. Sometimes it spins a lot when I am only trying to get it to move one character. Bob On Dec 23, 2010, at 5:41 AM, John Craig wrote: > I created a small LC game for iPhone and it's now in the app store. If you search for 'splash21' or 'snowballer' you should be able to download. All feedback welcome - especially regarding how the app performs on different devices. The time scale to get into the app store looks promising as well - the app was created in iTunes connect on the 20th, the binary uploaded on the 21st and it's live today - much quicker than I had expected :) > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 5 16:37:54 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 5 Jan 2011 13:37:54 -0800 Subject: Windows error 32 In-Reply-To: <4D24A59F.6040401@fourthworld.com> References: <4D24A59F.6040401@fourthworld.com> Message-ID: <32340462-0134-4D5F-B899-2325755749FD@twft.com> I posted before reading everything. I just got back from vacation. I will bet there are invisible temp files that are being created in the working directory. Your solution obviously gets by that. Bob On Jan 5, 2011, at 9:08 AM, Richard Gaskin wrote: > Indeed they should, and as I noted below that's what I tried, copying the installer to tmp and then launching that copy. I'd earlier been using Wise Install for this sort of thing, and their installer does the same. > > What made it initially mystifying is that I was able to delete every file in that folder, even the original copy of the uninstaller, just not the folder itself. From bobs at twft.com Wed Jan 5 16:40:29 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 5 Jan 2011 13:40:29 -0800 Subject: Missing plug-in. Again In-Reply-To: <4D24DD68.7070709@hyperactivesw.com> References: <9CD314AE-74B2-4551-AEB3-40974A8F5112@sbcglobal.net> <821110092953.20101230155017@ahsoftware.net> <4D24DD68.7070709@hyperactivesw.com> Message-ID: <11032005-7D64-45D1-BCFB-EAD48F3EE71B@twft.com> So with my method, I have only just shot my big toe off, as opposed to blowing whole chunks of meat away? Since I would still have to repoint my prefs to the universal location anyway? Bob On Jan 5, 2011, at 1:06 PM, J. Landman Gay wrote: > On 1/5/11 2:47 PM, Bob Sneidar wrote: >> Out of curiosity, are your LiveCode preferences universal or specific to each logged in user? > > Specific to each user. > > -- > 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 ruslan_zasukhin at valentina-db.com Wed Jan 5 16:50:39 2011 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Wed, 05 Jan 2011 23:50:39 +0200 Subject: [OT] Table Creation Syntax + Visual SQL Query Builder // A GREAT Mac Cocoa MYSQL tool - Donationware In-Reply-To: <87FD9F33-098E-42EB-A7C1-ED42B0DB35B9@twft.com> Message-ID: On 1/5/11 10:57 PM, "Bob Sneidar" wrote: Hi Bob, Do you mean that you create table using GUI dialog, Then you can see SQL CREATE TABLE command? Well, actually mySQL itself can do this: SHOW CREATE TABLE command, can produce SQL command for any existed table Valentina db, also can do this. But now I think (if you underline this) -- we can easy add such feature to our SqlLite plugin in Valentina Studio ... SqlLite itself do not have such feature, but as I know we already have such code in plugin ... Just we can open this to contextual-menu command I think. BTW2. In Valentina Studio we have cool Visual Query Builder. It can help produce complex SQL queries by mouse clicks only. And good news are that Query Builder already works for SQLite also. Enjoy. :-) > Hey nice and it doesn't crash like the old MySQL Tools used to! I especially > love the "table creation syntax" which is useful for me when developing, since > I am not all that proficient at sql syntax. > > Bob -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From bobs at twft.com Wed Jan 5 18:35:52 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 5 Jan 2011 15:35:52 -0800 Subject: glx2 In-Reply-To: <1293579161445-3166611.post@n4.nabble.com> References: <1293579161445-3166611.post@n4.nabble.com> Message-ID: <88435688-8434-4B2C-ADB6-5C53866C3C65@twft.com> I know it was a pain to update, but GLX2 was a masterpiece of programming genius. The more I used it the more amazed I was with it. I know Jerry really likes what is now Remo, and in a ton of ways it is better. Well heck it's a different animal! Especially the app browser aspect of things, very cool! Still, GLX2 had some great features, and now I get to use them both! WOO HOOO!!! Bob On Dec 28, 2010, at 3:32 PM, Thunder wrote: > > Some Info : > > http://runrev.com/newsletter/november/issue37/newsletter4.php > > http://runrev.com/newsletter/october/issue35/newsletter2.php > > http://runrev.com/newsletter/september/issue33/newsletter1.php > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/glx2-tp3082801p3166611.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Wed Jan 5 19:26:54 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 5 Jan 2011 16:26:54 -0800 Subject: glx2 In-Reply-To: <88435688-8434-4B2C-ADB6-5C53866C3C65@twft.com> References: <1293579161445-3166611.post@n4.nabble.com> <88435688-8434-4B2C-ADB6-5C53866C3C65@twft.com> Message-ID: Well I have to agree it does kinda seem like it's a good editor. Then again, for those of us who aren't familiar with it, it's hard to figure out what it can do since there's zero documentation around for it (at least that I've been able to find). Pete Haworth On Jan 5, 2011, at 3:35 PM, Bob Sneidar wrote: > I know it was a pain to update, but GLX2 was a masterpiece of programming genius. The more I used it the more amazed I was with it. I know Jerry really likes what is now Remo, and in a ton of ways it is better. Well heck it's a different animal! Especially the app browser aspect of things, very cool! Still, GLX2 had some great features, and now I get to use them both! WOO HOOO!!! > > Bob > > > On Dec 28, 2010, at 3:32 PM, Thunder wrote: > >> >> Some Info : >> >> http://runrev.com/newsletter/november/issue37/newsletter4.php >> >> http://runrev.com/newsletter/october/issue35/newsletter2.php >> >> http://runrev.com/newsletter/september/issue33/newsletter1.php >> -- >> View this message in context: http://runtime-revolution.278305.n4.nabble.com/glx2-tp3082801p3166611.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Wed Jan 5 21:28:03 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 5 Jan 2011 18:28:03 -0800 Subject: Missing plug-in. Again In-Reply-To: <0F4788ED-090F-4BB1-8522-AFF2A3B6412F@twft.com> References: <70271.9e62ad5.3a4e60d4@aol.com> <4D1D125E.3080007@hyperactivesw.com> <0F4788ED-090F-4BB1-8522-AFF2A3B6412F@twft.com> Message-ID: <3854707015.20110105182803@ahsoftware.net> Bob- Wow - that's quite a story. What's an ASROC? Sounds like it should be a Tolkien beast... -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed Jan 5 21:37:26 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 5 Jan 2011 18:37:26 -0800 Subject: Getting a public IP address when connected to a router In-Reply-To: References: <1jtrrul.1odj9burukgpnM%liste.revo@medard.on-rev.com> <65163329687.20101219165059@ahsoftware.net> <4D0EB460.2030308@hyperactivesw.com> Message-ID: <7555270640.20110105183726@ahsoftware.net> Bob- Wednesday, January 5, 2011, 10:30:22 AM, you wrote: > Downing some shots might also help... Cool. I'm on it. -- -Mark Wieder mwieder at ahsoftware.net From toolbook at kestner.de Thu Jan 6 03:37:26 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 6 Jan 2011 09:37:26 +0100 Subject: AW: Windows error 32 In-Reply-To: <4D0C178D.7040100@fourthworld.com> References: <4D0C178D.7040100@fourthworld.com> Message-ID: <002201cbad7c$f6154490$e23fcdb0$@de> Hi Richard, I can't provide a solution but can tell, that I see from time to time the same behavior, using innosetup. Everything is deleted, except the empty appfolder. Innosetup even has a section to define objects to delete after everything, but this doesn't works also from time to time. It is the same, if you uninstall the app from the control panel or the uninstaller from the appfolder. The people in the inno uselist say, it's a windows problem and there is no solution what I can change in innosetup. So I gave up some time and keep it like that, knowing that windows keeps so much trash behind it... 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: Samstag, 18. Dezember 2010 03:08 > An: How to use LiveCode > Betreff: Windows error 32 > > I'm making an uninstaller for one of my apps on Windows, and > everything's working swell except for one detail: > > I can delete all files and folders related to the install with ease, > but > when I try to delete the application folder sysError returns 32, which > means it's in use by another process. > > Here's the setup: > > The uninstaller works as we're required to do on Windows: when launched > it makes a copy of itself into the temp folder, and launches that copy > after which the original quits. We have to do that because of course > an > app can't delete itself. The copy has the UI that the user clicks to > start the uninstall. > > That copy in temp works great, and clears out everything, even the > original uninstaller that launched it. > > The one thing it can't do is delete the folder the app was originally > in, which is in the Program Files directory, e.g.: > > C:\Program Files\MyApp\ > > It seems weird to me that I can so easily delete all the contents of > that folder, even all the nested subfolders that were in it, yet not > the > folder itself. > > And yes, I've checked: the folder is indeed empty. > > Even weirder, I can open LC afterward and run this in the Message Box: > > delete folder "C:/Program Files/MyApp/" > > ...and it deletes as expected without complaint. > > My first hunch was that since the original uninstaller app is launching > the one doing the deleting, maybe I could add another layer of > misdirection by having a copy of that app make another app in temp just > to delete the damn folder. No go, same error 32. > > Any of you come across something like this before? How did you get > around it? > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > 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 mazzapaoloitaly at gmail.com Thu Jan 6 05:16:27 2011 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Thu, 6 Jan 2011 11:16:27 +0100 Subject: Paint tools in iOS applications Message-ID: Can we use paint tools in iOS applications? I set up a stack with an image area and 2 buttons with the following scripts: -- button 1 on mouseUp ?? set the brush to 8 ?? set the brushColor to black ?? choose brush tool end mouseUp -- button 2 on mouseUp ?? choose browse tool end mouseUp It looks like the brush tool does not work properly using theiPad simulator and I can not draw. Any advice? Thanks Paolo Mazza From wolff at moz.ac.at Sun Jan 2 20:11:13 2011 From: wolff at moz.ac.at (lupuss) Date: Sun, 2 Jan 2011 17:11:13 -0800 (PST) Subject: Midi programming In-Reply-To: References: <01B415D6-3951-4F5F-B380-342DA9E34352@free.fr> Message-ID: <1294017073581-3171437.post@n4.nabble.com> Hi, I also would like to have the possibility of a communication with a midi instrument in/out via USB. From what I understand the UDI program just lets you play preprogrammed sequences. Lupuss -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Midi-programming-tp3168713p3171437.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at tactilemedia.com Thu Jan 6 06:21:05 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 06 Jan 2011 03:21:05 -0800 Subject: Paint tools in iOS applications In-Reply-To: Message-ID: I tried a quick test and it doesn't seem like paint is working. I can kind of get some broken-cursor white box painting to show up in a filled image, but it's definitely not producing the proper results over here (iPod Touch). Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, paolo mazza wrote: > Can we use paint tools in iOS applications? > > I set up a stack with an image area and 2 buttons with the following scripts: > > -- button 1 > > on mouseUp > > ?? set the brush to 8 > > ?? set the brushColor to black > > ?? choose brush tool > > end mouseUp > > -- button 2 > > on mouseUp > > ?? choose browse tool > > end mouseUp > > > > It looks like the brush tool does not work properly using theiPad > simulator and I can not draw. > > Any advice? > > Thanks > > Paolo Mazza From ambassador at fourthworld.com Thu Jan 6 07:55:05 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 06 Jan 2011 04:55:05 -0800 Subject: AW: Windows error 32 Message-ID: <4D25BBA9.40906@fourthworld.com> Tiemo Hollmann wrote: > I can't provide a solution but can tell, that I see from time to time the > same behavior, using innosetup. Everything is deleted, except the empty > appfolder. Innosetup even has a section to define objects to delete after > everything, but this doesn't works also from time to time. It is the same, > if you uninstall the app from the control panel or the uninstaller from the > appfolder. The people in the inno uselist say, it's a windows problem and > there is no solution what I can change in innosetup. So I gave up some time > and keep it like that, knowing that windows keeps so much trash behind it... Thanks for chiming in, Tiemo. I don't know much about the innards of how InnoSetup works, but here the issue was apparently resolved by changing the working directory. We just went through a rather substantial round of testing on a wide variety of Win systems including all three modern flavors (XP, Vista, 7), and in all cases the uninstall works well as long as we change the working directory from the original to something else before deleting that original. This hypothesis appears to match what the OS is reporting, error 32 being "resource in use by another application", the other app being the file manager. The file system maintains a working directory property for each process, which is more or less what the LiveCode engine is using with its internal representation of that, "the default folder". On some Win systems (95 and 98; couldn't find this option in XP) there's a field in the Properties window for an executable to set the initial default folder. That pretty much does what we do in script when we "set the default folder to...", changing the working directory for the process. That was the clue that led me to explore changing the default folder, and indeed so far it seems to be the answer, at least for my uninstaller. The core issue is that the copy of the app which does the actual installation was being launched by an app that, like any LC-based app (and most others AFAIK), had its working directory set to the one it's in. Since the copy is launched by that original, it's seen by the OS as a sort of child process of that original, and the OS maintains its record of that original working directory as a resource that's still in use, even after that original app had quit, as long as that child process (the copy) is running. FWIW, Wise Install has always deleted everything you tell it without exception in my 10 years of working with it, so while it's more expensive than InnoSetup it may be a good option if that level of tidiness is important to your customers. As frustrating as computers can be sometimes, I try to maintain the understanding that, being deterministic systems, it should be possible to solve any problem with them. The trick is to identify the differences between the working and non-working states, and then make whatever changes are needed to make the non-working state mirror the working one. Sure, Windows has issues, as do Mac and Linux, but most of the time they work as described in their APIs. In this case I had the advantage of a working state, Wise Install, so I had the confidence it should be possible to solve this. That said, this app has only been in the wild a few days now, so it's probably fair to acknowledge that there's a chance we may encounter a system on which our uninstall doesn't work completely. But in the meantime this one seems resolved, and it might be useful to know if InnoSetup is changing its working directory before attempting to delete the folder in question. It may be necessary to change that directory before launching the copy in tmp - that's what I did here, and while I don't know if it would also work if I changed after launching the copy, so far doing it as I have seems to solve the problem. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From toolbook at kestner.de Thu Jan 6 08:25:11 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 6 Jan 2011 14:25:11 +0100 Subject: AW: AW: Windows error 32 In-Reply-To: <4D25BBA9.40906@fourthworld.com> References: <4D25BBA9.40906@fourthworld.com> Message-ID: <003501cbada5$2a478390$7ed68ab0$@de> Hi Richard, wow, thanks for your extended explanations, I think I will have them to read a few more times to get an idea, what the working dir is for, but as far as I understand so far, I will have a look for the working dir in innosetup, how I can change it. Btw. I didn't found the expression "to chime in" in my dictionary ;) beside for sounds what bells or clocks do.... Always prepared to learn... 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: Donnerstag, 6. Januar 2011 13:55 > An: How to use LiveCode > Betreff: Re: AW: Windows error 32 > > Tiemo Hollmann wrote: > > > I can't provide a solution but can tell, that I see from time to time > the > > same behavior, using innosetup. Everything is deleted, except the > empty > > appfolder. Innosetup even has a section to define objects to delete > after > > everything, but this doesn't works also from time to time. It is the > same, > > if you uninstall the app from the control panel or the uninstaller > from the > > appfolder. The people in the inno uselist say, it's a windows problem > and > > there is no solution what I can change in innosetup. So I gave up > some time > > and keep it like that, knowing that windows keeps so much trash > behind it... > > Thanks for chiming in, Tiemo. > > I don't know much about the innards of how InnoSetup works, but here > the > issue was apparently resolved by changing the working directory. We > just went through a rather substantial round of testing on a wide > variety of Win systems including all three modern flavors (XP, Vista, > 7), and in all cases the uninstall works well as long as we change the > working directory from the original to something else before deleting > that original. > > This hypothesis appears to match what the OS is reporting, error 32 > being "resource in use by another application", the other app being the > file manager. The file system maintains a working directory property > for each process, which is more or less what the LiveCode engine is > using with its internal representation of that, "the default folder". > > On some Win systems (95 and 98; couldn't find this option in XP) > there's > a field in the Properties window for an executable to set the initial > default folder. That pretty much does what we do in script when we > "set > the default folder to...", changing the working directory for the > process. > > That was the clue that led me to explore changing the default folder, > and indeed so far it seems to be the answer, at least for my > uninstaller. > > The core issue is that the copy of the app which does the actual > installation was being launched by an app that, like any LC-based app > (and most others AFAIK), had its working directory set to the one it's > in. Since the copy is launched by that original, it's seen by the OS > as a sort of child process of that original, and the OS maintains its > record of that original working directory as a resource that's still in > use, even after that original app had quit, as long as that child > process (the copy) is running. > > FWIW, Wise Install has always deleted everything you tell it without > exception in my 10 years of working with it, so while it's more > expensive than InnoSetup it may be a good option if that level of > tidiness is important to your customers. > > As frustrating as computers can be sometimes, I try to maintain the > understanding that, being deterministic systems, it should be possible > to solve any problem with them. The trick is to identify the > differences between the working and non-working states, and then make > whatever changes are needed to make the non-working state mirror the > working one. Sure, Windows has issues, as do Mac and Linux, but most > of > the time they work as described in their APIs. > > In this case I had the advantage of a working state, Wise Install, so I > had the confidence it should be possible to solve this. > > That said, this app has only been in the wild a few days now, so it's > probably fair to acknowledge that there's a chance we may encounter a > system on which our uninstall doesn't work completely. > > But in the meantime this one seems resolved, and it might be useful to > know if InnoSetup is changing its working directory before attempting > to > delete the folder in question. It may be necessary to change that > directory before launching the copy in tmp - that's what I did here, > and > while I don't know if it would also work if I changed after launching > the copy, so far doing it as I have seems to solve the problem. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Jan 6 09:18:05 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 06 Jan 2011 06:18:05 -0800 Subject: AW: AW: Windows error 32 Message-ID: <4D25CF1D.406@fourthworld.com> Tiemo Hollmann wrote: > wow, thanks for your extended explanations, I think I will have them to read > a few more times to get an idea, what the working dir is for, but as far as > I understand so far, I will have a look for the working dir in innosetup, > how I can change it. I'd be interested in learning what you find. That's one of the things I enjoy about computing: there's always something new to learn, it's nearly impossible to get bored. :) > Btw. I didn't found the expression "to chime in" in my dictionary ;) beside > for sounds what bells or clocks do.... > Always prepared to learn... You're doing far better than me. My gal speaks some German and even more French, but I can barely get by with just English (and a little bit of Boontling, but that's another story). One of the most humbling experiences I've had was attending the Euro RevCon in Malta, being in a room in which so many people spoke so many languages so well. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From rjb at robelko.com Thu Jan 6 09:25:20 2011 From: rjb at robelko.com (Robert Brenstein) Date: Thu, 6 Jan 2011 15:25:20 +0100 Subject: AW: AW: Windows error 32 In-Reply-To: <003501cbada5$2a478390$7ed68ab0$@de> References: <4D25BBA9.40906@fourthworld.com> <003501cbada5$2a478390$7ed68ab0$@de> Message-ID: On 06.01.2011 at 14:25 Uhr +0100 Tiemo Hollmann TB apparently wrote: > >Btw. I didn't found the expression "to chime in" in my dictionary ;) beside >for sounds what bells or clocks do.... >Always prepared to learn... > >Tiemo > Robert From claus at dreischer.de Thu Jan 6 09:29:30 2011 From: claus at dreischer.de (Claus Dreischer) Date: Thu, 06 Jan 2011 15:29:30 +0100 Subject: size of window decorations Message-ID: <4D25D1CA.7010206@dreischer.de> Hello, is there a way to determine the size of the window decorations (the stuff the OS is painting around my stack)? I would like to move my stack into the upper left corner, but without the knowledge of the real height of the whole window (stack + window decorations), i don't know how much i should add to the height of this stack. This also depends on the window style (classic 2000, XP, Vista, etc). Is there a way? Regards, Claus. From klaus at major.on-rev.com Thu Jan 6 09:47:34 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 6 Jan 2011 15:47:34 +0100 Subject: size of window decorations In-Reply-To: <4D25D1CA.7010206@dreischer.de> References: <4D25D1CA.7010206@dreischer.de> Message-ID: Hi Claus, > Hello, > > is there a way to determine the size of the window decorations (the > stuff the OS is painting around my stack)? > > I would like to move my stack into the upper left corner, but without > the knowledge of the real height of the whole window (stack + window > decorations), i don't know how much i should add to the height of this > stack. > > This also depends on the window style (classic 2000, XP, Vista, etc). > > Is there a way? I found this old text file on my hd, no idea who was the author or if this still applies today: ################################################## The following is best viewed in a monospaced font: OS Platform SystemVersion Title Bar LeftSide RightSide Bottom Windows 95 Win32 4.0 24 4 4 4 Windows 98 Win32 4.10 24 4 4 4 Windows XP Win32 NT 5.1 30 4 4 4 Mac OS 9 MacOS 9.2.2 22 6 7 6 Mac OS X MacOS 10.2.6 22 1 1 1 I'm hoping that these figures enable the developer to use the default WindowBoundingRect to set a new, more restrictive WindowBoundingRect to ensure a stack window just fills the available screen space. ################################################# Hope that helps! > Regards, > Claus. Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From rev at nonsanity.com Thu Jan 6 10:00:50 2011 From: rev at nonsanity.com (Nonsanity) Date: Thu, 6 Jan 2011 10:00:50 -0500 Subject: AW: Windows error 32 In-Reply-To: <4D25BBA9.40906@fourthworld.com> References: <4D25BBA9.40906@fourthworld.com> Message-ID: A tool I've used on Windows to good measure is Unlocker [1]. If you manually try to delete something that can't be deleted, it will tell you why, what task is responsible, and let you sever the connection so you can continue in your wanton destruction of data unimpeded. ~ Chris Innanen ~ Nonsanity [1] http://download.cnet.com/Unlocker/3000-2248_4-10493998.html On Thu, Jan 6, 2011 at 7:55 AM, Richard Gaskin wrote: > Tiemo Hollmann wrote: > > I can't provide a solution but can tell, that I see from time to time the >> same behavior, using innosetup. Everything is deleted, except the empty >> appfolder. Innosetup even has a section to define objects to delete after >> everything, but this doesn't works also from time to time. It is the same, >> if you uninstall the app from the control panel or the uninstaller from >> the >> appfolder. The people in the inno uselist say, it's a windows problem and >> there is no solution what I can change in innosetup. So I gave up some >> time >> and keep it like that, knowing that windows keeps so much trash behind >> it... >> > > Thanks for chiming in, Tiemo. > > I don't know much about the innards of how InnoSetup works, but here the > issue was apparently resolved by changing the working directory. We just > went through a rather substantial round of testing on a wide variety of Win > systems including all three modern flavors (XP, Vista, 7), and in all cases > the uninstall works well as long as we change the working directory from the > original to something else before deleting that original. > > This hypothesis appears to match what the OS is reporting, error 32 being > "resource in use by another application", the other app being the file > manager. The file system maintains a working directory property for each > process, which is more or less what the LiveCode engine is using with its > internal representation of that, "the default folder". > > On some Win systems (95 and 98; couldn't find this option in XP) there's a > field in the Properties window for an executable to set the initial default > folder. That pretty much does what we do in script when we "set the default > folder to...", changing the working directory for the process. > > That was the clue that led me to explore changing the default folder, and > indeed so far it seems to be the answer, at least for my uninstaller. > > The core issue is that the copy of the app which does the actual > installation was being launched by an app that, like any LC-based app (and > most others AFAIK), had its working directory set to the one it's in. > Since the copy is launched by that original, it's seen by the OS as a sort > of child process of that original, and the OS maintains its record of that > original working directory as a resource that's still in use, even after > that original app had quit, as long as that child process (the copy) is > running. > > FWIW, Wise Install has always deleted everything you tell it without > exception in my 10 years of working with it, so while it's more expensive > than InnoSetup it may be a good option if that level of tidiness is > important to your customers. > > As frustrating as computers can be sometimes, I try to maintain the > understanding that, being deterministic systems, it should be possible to > solve any problem with them. The trick is to identify the differences > between the working and non-working states, and then make whatever changes > are needed to make the non-working state mirror the working one. Sure, > Windows has issues, as do Mac and Linux, but most of the time they work as > described in their APIs. > > In this case I had the advantage of a working state, Wise Install, so I had > the confidence it should be possible to solve this. > > That said, this app has only been in the wild a few days now, so it's > probably fair to acknowledge that there's a chance we may encounter a system > on which our uninstall doesn't work completely. > > But in the meantime this one seems resolved, and it might be useful to know > if InnoSetup is changing its working directory before attempting to delete > the folder in question. It may be necessary to change that directory before > launching the copy in tmp - that's what I did here, and while I don't know > if it would also work if I changed after launching the copy, so far doing it > as I have seems to solve the problem. > > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Thu Jan 6 10:31:11 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 06 Jan 2011 07:31:11 -0800 Subject: size of window decorations Message-ID: <4D25E03F.2060802@fourthworld.com> Claus Dreischer wrote: > is there a way to determine the size of the window decorations (the > stuff the OS is painting around my stack)? > > I would like to move my stack into the upper left corner, but without > the knowledge of the real height of the whole window (stack + window > decorations), i don't know how much i should add to the height of this > stack. > > This also depends on the window style (classic 2000, XP, Vista, etc). > > Is there a way? On Mac the window size isn't customizable, so you can measure a screen shot and be done with it. For Windows, Klaus' list is very helpful for the default values, but because those can be adjusted by the user in their Control Panel it may be better to work from the registry setting for that. Here's a snipped of a routine I use to place windows(be mindful of email text wrapping): if last word of the systemVersion >= 6 then get queryRegistry("HKEY_CURRENT_USER\Control Panel\desktop\WindowMetrics\PaddedBorderWidth") else get queryRegistry("HKEY_CURRENT_USER\Control Panel\desktop\WindowMetrics\BorderWidth") end if if (it is not a number) or ( it = 0) then put 1 into g4WWinMargin else put round(it / -15) into g4WWinMargin end if Note that the reg key used differs by OS version. An unnecessary drag, IMO, and cost me a bit of time turning it up when Vista came out, but good to know when you need it. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From bobs at twft.com Thu Jan 6 10:54:20 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 6 Jan 2011 07:54:20 -0800 Subject: [OT] Why is Brazil like Bulgaria? In-Reply-To: <1294219871394-3175061.post@n4.nabble.com> References: <4D1F9E45.8090702@gmail.com> <1294200333353-3174833.post@n4.nabble.com> <4D240AD5.2080204@hyperactivesw.com> <1294219871394-3175061.post@n4.nabble.com> Message-ID: <97803660-3F55-40CB-BCD9-0C4D08D4B2FD@twft.com> They also both contain an "l", an "i", an "r" and an "a". Bob On Jan 5, 2011, at 1:31 AM, Alejandro Tejada wrote: > Hi all, > > Stephen Barncard wrote: >> You mean "some developers are better than the other developers?" >> lol > > http://www.youtube.com/watch?v=NZldlyeR8DU > At least from my point of view, the lesson of the fable "Animal Farm" > is that "Power tends to corrupt, and absolute power corrupts absolutely" > or "Unlimited power is apt to corrupt the minds of those who possess it" > > Unlimited power in the hands of few is the main common characteristic > between Bulgaria and Brasil. > > Other is... that both names starts with "B". :-) From claus at dreischer.de Thu Jan 6 11:10:04 2011 From: claus at dreischer.de (Claus Dreischer) Date: Thu, 06 Jan 2011 17:10:04 +0100 Subject: size of window decorations In-Reply-To: References: <4D25D1CA.7010206@dreischer.de> Message-ID: <4D25E95C.7010601@dreischer.de> Hi Klaus (the Great :-), this does help indeed, but (there is always a but, right?) where do i check which window style is used? Here on WinXP i use the classic style because the windows are a bit smaller, not the Windows XP style. Any idea where i can look that up? Regards, Claus. Am 06.01.11 15:47, schrieb Klaus on-rev: > Hi Claus, > >> Hello, >> >> is there a way to determine the size of the window decorations (the >> stuff the OS is painting around my stack)? >> >> I would like to move my stack into the upper left corner, but without >> the knowledge of the real height of the whole window (stack + window >> decorations), i don't know how much i should add to the height of this >> stack. >> >> This also depends on the window style (classic 2000, XP, Vista, etc). >> >> Is there a way? > > I found this old text file on my hd, no idea who was the author or > if this still applies today: > > ################################################## > The following is best viewed in a monospaced font: > > OS Platform SystemVersion Title Bar LeftSide RightSide Bottom > > Windows 95 Win32 4.0 24 4 4 4 > Windows 98 Win32 4.10 24 4 4 4 > Windows XP Win32 NT 5.1 30 4 4 4 > Mac OS 9 MacOS 9.2.2 22 6 7 6 > Mac OS X MacOS 10.2.6 22 1 1 1 > > I'm hoping that these figures enable the developer to use the default > WindowBoundingRect to set a new, more restrictive WindowBoundingRect > to ensure a stack window just fills the available screen space. > ################################################# > > Hope that helps! > >> Regards, >> Claus. > > 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 claus at dreischer.de Thu Jan 6 11:43:21 2011 From: claus at dreischer.de (Claus Dreischer) Date: Thu, 06 Jan 2011 17:43:21 +0100 Subject: size of window decorations In-Reply-To: <4D25E03F.2060802@fourthworld.com> References: <4D25E03F.2060802@fourthworld.com> Message-ID: <4D25F129.4030305@dreischer.de> Hello Richard, thanks for that snippet, but it returns 1 here, which is not like in Klaus' table, or i completely misunderstood you. But you gave me a pointer: I think i can frickel something when i use this key too to get the height of the decorations: HKEY_CURRENT_USER\Control Panel\desktop\WindowMetrics\CaptionHeight At least it changes from -375/15 (XP Style) to -270/15 (Classic Style) ... Regards, Claus. Am 06.01.11 16:31, schrieb Richard Gaskin: > Claus Dreischer wrote: > >> is there a way to determine the size of the window decorations (the >> stuff the OS is painting around my stack)? >> >> I would like to move my stack into the upper left corner, but without >> the knowledge of the real height of the whole window (stack + window >> decorations), i don't know how much i should add to the height of this >> stack. >> >> This also depends on the window style (classic 2000, XP, Vista, etc). >> >> Is there a way? > > On Mac the window size isn't customizable, so you can measure a screen > shot and be done with it. > > For Windows, Klaus' list is very helpful for the default values, but > because those can be adjusted by the user in their Control Panel it may > be better to work from the registry setting for that. > > Here's a snipped of a routine I use to place windows(be mindful of email > text wrapping): > > if last word of the systemVersion >= 6 then > get queryRegistry("HKEY_CURRENT_USER\Control > Panel\desktop\WindowMetrics\PaddedBorderWidth") > else > get queryRegistry("HKEY_CURRENT_USER\Control > Panel\desktop\WindowMetrics\BorderWidth") > end if > if (it is not a number) or ( it = 0) then put 1 into g4WWinMargin > else > put round(it / -15) into g4WWinMargin > end if > > > Note that the reg key used differs by OS version. An unnecessary drag, > IMO, and cost me a bit of time turning it up when Vista came out, but > good to know when you need it. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Jan 6 12:46:52 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 06 Jan 2011 09:46:52 -0800 Subject: size of window decorations Message-ID: <4D26000C.2010903@fourthworld.com> Claus Dreischer wrote: > thanks for that snippet, but it returns 1 here, which is not like in > Klaus' table, or i completely misunderstood you. > > But you gave me a pointer: I think i can frickel something when i use > this key too to get the height of the decorations: > > HKEY_CURRENT_USER\Control Panel\desktop\WindowMetrics\CaptionHeight > > At least it changes from -375/15 (XP Style) to -270/15 (Classic Style) ... Yep, those are the values you should use. In my haste to paste that code I didn't clean out the rest of the irrelevant stuff. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From bobs at twft.com Thu Jan 6 13:00:52 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 6 Jan 2011 10:00:52 -0800 Subject: [OT] What is an ASROC In-Reply-To: <3854707015.20110105182803@ahsoftware.net> References: <70271.9e62ad5.3a4e60d4@aol.com> <4D1D125E.3080007@hyperactivesw.com> <0F4788ED-090F-4BB1-8522-AFF2A3B6412F@twft.com> <3854707015.20110105182803@ahsoftware.net> Message-ID: Nuclear capable anti-submarine anti-surface torpedo. I'n not sure if they even still use them, but there was always the threat of some terrorist group forcing their way onto the ship and trying to set off one of the nukes just for the effect of the local radiation. They could not arm the torpedoes without compromising the CO, XO and President of the United States at the same time, so no worries about a full scale nuke going off. This may come as a shock to some, but we were under strict orders that if a terrorist was using a shipmate as a shield, that we were to shoot through the shipmate to kill the terrorist. You could do it with those old military 45's, but the 9 mils they replaced them with are crap, if you ask me. You could shoot a drug crazed terrorist with a full clip and he would still get you, 3 of your shipmates AND blow the nuke before he dropped dead. Okay I'm exaggerating. Maybe not a full clip... Crazy stuff huh? But what would you rather have? A dead shipmate and dead terrorist, or a whole shipyard irradiated AND everyone on the ship and within a 5 mile radius dead anyway? Thankfully, we never had to make that decision, but that is the kind of world that terrorism creates when we allow it to exist, because the only cultures that are taught to live and let live it seems are the western ones. there I go again. Bob On Jan 5, 2011, at 6:28 PM, Mark Wieder wrote: > Bob- > > Wow - that's quite a story. What's an ASROC? Sounds like it should be > a Tolkien beast... > > -- > -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 Thu Jan 6 13:03:20 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 6 Jan 2011 10:03:20 -0800 Subject: AW: Windows error 32 In-Reply-To: <4D25BBA9.40906@fourthworld.com> References: <4D25BBA9.40906@fourthworld.com> Message-ID: <8A89FD95-E7A7-436B-A8DA-B415512BE3F6@twft.com> I'll bet a steak dinner at the next LiveCode convention that if you show hidden files and system files and then run the uninstaller in the old mode, you will see new temporary files created. Bob On Jan 6, 2011, at 4:55 AM, Richard Gaskin wrote: > Tiemo Hollmann wrote: > >> I can't provide a solution but can tell, that I see from time to time the >> same behavior, using innosetup. Everything is deleted, except the empty >> appfolder. Innosetup even has a section to define objects to delete after >> everything, but this doesn't works also from time to time. It is the same, >> if you uninstall the app from the control panel or the uninstaller from the >> appfolder. The people in the inno uselist say, it's a windows problem and >> there is no solution what I can change in innosetup. So I gave up some time >> and keep it like that, knowing that windows keeps so much trash behind it... > > Thanks for chiming in, Tiemo. > > I don't know much about the innards of how InnoSetup works, but here the issue was apparently resolved by changing the working directory. We just went through a rather substantial round of testing on a wide variety of Win systems including all three modern flavors (XP, Vista, 7), and in all cases the uninstall works well as long as we change the working directory from the original to something else before deleting that original. From bobs at twft.com Thu Jan 6 13:05:01 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 6 Jan 2011 10:05:01 -0800 Subject: AW: AW: Windows error 32 In-Reply-To: <003501cbada5$2a478390$7ed68ab0$@de> References: <4D25BBA9.40906@fourthworld.com> <003501cbada5$2a478390$7ed68ab0$@de> Message-ID: <7984FD38-9A34-45F9-85D2-B8B4F5F9CD95@twft.com> I believe the connotation implies sounding off at the appropriate time, which in a loose way refers to someone contributing to a conversation in turn. Odd language, huh? Bob On Jan 6, 2011, at 5:25 AM, Tiemo Hollmann TB wrote: > Hi Richard, > > wow, thanks for your extended explanations, I think I will have them to read > a few more times to get an idea, what the working dir is for, but as far as > I understand so far, I will have a look for the working dir in innosetup, > how I can change it. > > Btw. I didn't found the expression "to chime in" in my dictionary ;) beside > for sounds what bells or clocks do.... > Always prepared to learn... > > Tiemo From bobs at twft.com Thu Jan 6 13:10:24 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 6 Jan 2011 10:10:24 -0800 Subject: [OT] Table Creation Syntax + Visual SQL Query Builder // A GREAT Mac Cocoa MYSQL tool - Donationware In-Reply-To: References: Message-ID: <9E59EF5A-7806-4CBA-8486-C32788B1FDAF@twft.com> Yup I knew that, but I have found that for some reason I cannot use the RevDB commands with exactly the SQL from SHOW CREATE TABLE in every case, because some mySQL implementations do not allow you to specify the database type, like On-Rev for example. Bob On Jan 5, 2011, at 1:50 PM, Ruslan Zasukhin wrote: > Hi Bob, > > Do you mean that you create table using GUI dialog, > Then you can see SQL CREATE TABLE command? > > Well, actually mySQL itself can do this: > SHOW CREATE TABLE command, can produce SQL command for any existed table From ambassador at fourthworld.com Thu Jan 6 13:41:16 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 06 Jan 2011 10:41:16 -0800 Subject: AW: Windows error 32 Message-ID: <4D260CCC.6010408@fourthworld.com> Bob Sneidar wrote: > I'll bet a steak dinner at the next LiveCode convention that if > you show hidden files and system files and then run the uninstaller > in the old mode, you will see new temporary files created. I'd take your bet, but I should warn you first that I always run my Win systems with hidden files showing (I need it to get into Application Data), and I double-checked using LC's "files" function too. But it would be nice to share a meal with you just the same. :) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From jacque at hyperactivesw.com Thu Jan 6 13:42:15 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 06 Jan 2011 12:42:15 -0600 Subject: Missing plug-in. Again In-Reply-To: <11032005-7D64-45D1-BCFB-EAD48F3EE71B@twft.com> References: <9CD314AE-74B2-4551-AEB3-40974A8F5112@sbcglobal.net> <821110092953.20101230155017@ahsoftware.net> <4D24DD68.7070709@hyperactivesw.com> <11032005-7D64-45D1-BCFB-EAD48F3EE71B@twft.com> Message-ID: <4D260D07.5030602@hyperactivesw.com> On 1/5/11 3:40 PM, Bob Sneidar wrote: > So with my method, I have only just shot my big toe off, as opposed > to blowing whole chunks of meat away? Since I would still have to > repoint my prefs to the universal location anyway? Yeah, sort of. You probably wouldn't miss a toe too much though. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Thu Jan 6 13:43:47 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 06 Jan 2011 10:43:47 -0800 Subject: AW: AW: Windows error 32 Message-ID: <4D260D63.2070304@fourthworld.com> Bob Sneidar wrote: > I believe the connotation implies sounding off at the appropriate > time, which in a loose way refers to someone contributing to a > conversation in turn. Odd language, huh? I like to think of it as introducing a brief tone of clarity into the conversation. :) > On Jan 6, 2011, at 5:25 AM, Tiemo Hollmann TB wrote: ... >> Btw. I didn't found the expression "to chime in" in my dictionary ;) >> beside for sounds what bells or clocks do.... -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From bobs at twft.com Thu Jan 6 14:04:43 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 6 Jan 2011 11:04:43 -0800 Subject: [OT] Table Creation Syntax + Visual SQL Query Builder // A GREAT Mac Cocoa MYSQL tool - Donationware In-Reply-To: References: Message-ID: <01FA47D8-C06C-47D4-B3AD-00ABEA462CE3@twft.com> For sqLite I do something like this (keeping in mind I use sqlYoga): put dbconn_get("connection id", "secconn", "secondary") into theSecID -- sqlYoga put "SELECT tbl_name,sql FROM sqlite_master WHERE type = table" \ into theSQL replace "tbl_name" with quote & "tbl_name" & quote in theSQL replace "sql " with quote & "sql" & quote & space in theSQL replace "table" with quote & "table" & quote in theSQL put revDataFromQuery(comma, return, theSecID, theSQL) into theSQLData This will give me all the Create Table syntax for every table in the sqLite database I access. Bob On Jan 5, 2011, at 1:50 PM, Ruslan Zasukhin wrote: > On 1/5/11 10:57 PM, "Bob Sneidar" wrote: > > Hi Bob, > > Do you mean that you create table using GUI dialog, > Then you can see SQL CREATE TABLE command? > > Well, actually mySQL itself can do this: > SHOW CREATE TABLE command, can produce SQL command for any existed table > > Valentina db, also can do this. > > But now I think (if you underline this) -- we can easy add such feature to > our SqlLite plugin in Valentina Studio ... > > SqlLite itself do not have such feature, but as I know we already have such > code in plugin ... Just we can open this to contextual-menu command I think. > > > BTW2. In Valentina Studio we have cool Visual Query Builder. > It can help produce complex SQL queries by mouse clicks only. > And good news are that Query Builder already works for SQLite also. > > Enjoy. :-) > > >> Hey nice and it doesn't crash like the old MySQL Tools used to! I especially >> love the "table creation syntax" which is useful for me when developing, since >> I am not all that proficient at sql syntax. >> >> Bob > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From zryip.theslug at gmail.com Thu Jan 6 14:06:13 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Thu, 6 Jan 2011 20:06:13 +0100 Subject: DGH Clone Chamber Preview - was datagrid: sharing grid templates & copy paste In-Reply-To: References: Message-ID: On Wed, Jan 5, 2011 at 5:46 PM, Bob Sneidar wrote: > Zryip, you are fricking amazing! If you are not careful, you are going to > wake up one day somewhere in Scotland and find you have been shanghai'ed > into slave labor for LiveCode. Don't get drunk in any scottish pubs! Hi Bob, Thanks for the advice and btw all my wishes for the new year ;) Some news about the cloning chamber: I done a break but I'm now back to work, testing and improving this feature. Tables and now forms are confirmed. Some work to accomplish with the template resources (by resources I mean all the controls in a card template that are not behaviors btn or controls inside the row template. Could be an image on the card used as a reference in the template, for example) Will come soon with the DGH 1.2.0 version. Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From ruslan_zasukhin at valentina-db.com Thu Jan 6 14:11:54 2011 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Thu, 06 Jan 2011 21:11:54 +0200 Subject: [OT] Table Creation Syntax + Visual SQL Query Builder // A GREAT Mac Cocoa MYSQL tool - Donationware In-Reply-To: <01FA47D8-C06C-47D4-B3AD-00ABEA462CE3@twft.com> Message-ID: On 1/6/11 9:04 PM, "Bob Sneidar" wrote: > For sqLite I do something like this (keeping in mind I use sqlYoga): > > put dbconn_get("connection id", "secconn", "secondary") into theSecID -- > sqlYoga > put "SELECT tbl_name,sql FROM sqlite_master WHERE type = table" \ > into theSQL > replace "tbl_name" with quote & "tbl_name" & quote in theSQL > replace "sql " with quote & "sql" & quote & space in theSQL > replace "table" with quote & "table" & quote in theSQL > put revDataFromQuery(comma, return, theSecID, theSQL) into theSQLData > > This will give me all the Create Table syntax for every table in the sqLite > database I access. I see, Bob, You are using sqlite_master system table to extract original create table ... command Interesting, if this is changed on any ALTERs ... Although it seems there is no alters ... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From bobs at twft.com Thu Jan 6 14:22:52 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 6 Jan 2011 11:22:52 -0800 Subject: [OT] Table Creation Syntax + Visual SQL Query Builder // A GREAT Mac Cocoa MYSQL tool - Donationware In-Reply-To: References: Message-ID: Are you saying that an Alter Table command will create a second record with the alter table syntax in it? I didn't know that. It throws a bit of a wrench in my works, but then again the best practices for sqLite table mods is to create a new table with the new structure from scratch and port the old data in from the old table. There are a lot of things you cannot do with Alter Table in sqLite, as was discussed in another thread, so maybe this is a non-starter anyway. Bob On Jan 6, 2011, at 11:11 AM, Ruslan Zasukhin wrote: >> This will give me all the Create Table syntax for every table in the sqLite >> database I access. > > I see, Bob, > > You are using sqlite_master system table to extract original > create table ... command > > Interesting, if this is changed on any ALTERs ... > Although it seems there is no alters ... > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc From ruslan_zasukhin at valentina-db.com Thu Jan 6 14:29:12 2011 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Thu, 06 Jan 2011 21:29:12 +0200 Subject: [OT] Table Creation Syntax + Visual SQL Query Builder // A GREAT Mac Cocoa MYSQL tool - Donationware In-Reply-To: Message-ID: On 1/6/11 9:22 PM, "Bob Sneidar" wrote: > Are you saying that an Alter Table command will create a second record with > the alter table syntax in it? I didn't know that. Actually as I know, Sqlite have no normal ALTER Table > It throws a bit of a wrench > in my works, but then again the best practices for sqLite table mods is to > create a new table with the new structure from scratch and port the old data > in from the old table. This is "best" practice, because no ALTER. And our guys have spend days to workaround this behind the scene. Yes, they do create new table, copy records, trash old ... > There are a lot of things you cannot do with Alter > Table in sqLite, as was discussed in another thread, so maybe this is a > non-starter anyway. right > Bob > > > On Jan 6, 2011, at 11:11 AM, Ruslan Zasukhin wrote: > >>> This will give me all the Create Table syntax for every table in the sqLite >>> database I access. >> >> I see, Bob, >> >> You are using sqlite_master system table to extract original >> create table ... command >> >> Interesting, if this is changed on any ALTERs ... >> Although it seems there is no alters ... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From scott at tactilemedia.com Thu Jan 6 14:45:29 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 06 Jan 2011 11:45:29 -0800 Subject: iOS - Hide Status Bar? Message-ID: Sorry if this is explained somewhere already but is there a LiveCode setting/property to remove the status bar at the top of the display? (If not, there should be :-) Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX Design From pete at mollysrevenge.com Thu Jan 6 14:47:25 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 6 Jan 2011 11:47:25 -0800 Subject: [OT] Table Creation Syntax + Visual SQL Query Builder // A GREAT Mac Cocoa MYSQL tool - Donationware In-Reply-To: References: Message-ID: <5DD519E1-5E1A-43A4-A47E-080F8DDDC3B2@mollysrevenge.com> SQLite does have an ALTER TABLE command. You can use it to rename a table or add a column but that's all. I've used the same technique as Bob to get the CREATE command for a table and I believe that the sql syntax is updated by an ALTER command, not a second entry created. I use the SQLite admin plugin for Firefox do other types of table structure changes and it does indeed unload the table, delete it, then load it again and it seem to recreate any indexes/triggers associated with the table. The CREATE syntax in th mastr table is recreated automatically since the table is re-created. Pete Haworth On Jan 6, 2011, at 11:29 AM, Ruslan Zasukhin wrote: > On 1/6/11 9:22 PM, "Bob Sneidar" wrote: > >> Are you saying that an Alter Table command will create a second record with >> the alter table syntax in it? I didn't know that. > > Actually as I know, Sqlite have no normal ALTER Table > >> It throws a bit of a wrench >> in my works, but then again the best practices for sqLite table mods is to >> create a new table with the new structure from scratch and port the old data >> in from the old table. > > This is "best" practice, because no ALTER. > > And our guys have spend days to workaround this behind the scene. > Yes, they do create new table, copy records, trash old ... > >> There are a lot of things you cannot do with Alter >> Table in sqLite, as was discussed in another thread, so maybe this is a >> non-starter anyway. > > right > >> Bob >> >> >> On Jan 6, 2011, at 11:11 AM, Ruslan Zasukhin wrote: >> >>>> This will give me all the Create Table syntax for every table in the sqLite >>>> database I access. >>> >>> I see, Bob, >>> >>> You are using sqlite_master system table to extract original >>> create table ... command >>> >>> Interesting, if this is changed on any ALTERs ... >>> Although it seems there is no alters ... > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From iowahengst at mac.com Thu Jan 6 14:50:36 2011 From: iowahengst at mac.com (Randy Hengst) Date: Thu, 06 Jan 2011 13:50:36 -0600 Subject: iOS - Hide Status Bar? In-Reply-To: References: Message-ID: Hi Scott, Standalone application settings... iOS, bottom left, radio buttons.... Status Bar... Visible Hidden take care, randy hengst ----- On Jan 6, 2011, at 1:45 PM, Scott Rossi wrote: > Sorry if this is explained somewhere already but is there a LiveCode > setting/property to remove the status bar at the top of the display? > > (If not, there should be :-) > > 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 Jan 6 15:06:23 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 06 Jan 2011 12:06:23 -0800 Subject: iOS - Hide Status Bar? In-Reply-To: Message-ID: Thanks Randy -- I figured it had to be somewhere. I'm wondering if it would be more useful to establish this as a toggle-able property, as opposed to an on/off build setting... Happy New Year, Scott Rossi Creative Director Tactile Media, UX Design Recently, Randy Hengst wrote: > Hi Scott, > > Standalone application settings... iOS, bottom left, radio buttons.... Status > Bar... Visible Hidden > > take care, > randy hengst > ----- > On Jan 6, 2011, at 1:45 PM, Scott Rossi wrote: > >> Sorry if this is explained somewhere already but is there a LiveCode >> setting/property to remove the status bar at the top of the display? >> >> (If not, there should be :-) >> >> 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 bobs at twft.com Thu Jan 6 16:20:25 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 6 Jan 2011 13:20:25 -0800 Subject: [OT] Table Creation Syntax + Visual SQL Query Builder // A GREAT Mac Cocoa MYSQL tool - Donationware In-Reply-To: <5DD519E1-5E1A-43A4-A47E-080F8DDDC3B2@mollysrevenge.com> References: <5DD519E1-5E1A-43A4-A47E-080F8DDDC3B2@mollysrevenge.com> Message-ID: <5305FEF2-BB8E-42A4-8872-C350E05517B6@twft.com> Good to know Peter. I have been working on a Table Merge function for some time, and one of the features is to be able to isolate the SQL for creation of a table, allow the user to pick which columns to merge between the tables, ant then if necessary, create the table in the destination database with the columns that the user selected. So a method for producing the exact syntax for table and column was essential to this. It's still buggy, but functional. I keep going back through and reworking things, mainly interface issues. But the code to actually create new tables and insert columns into existing ones identical to the source columns is all intact. It's been a fun project and has taught me a lot about SQL, specifically the subtle differences in syntax, which SQL was supposedly going to eliminate when it was first conceived. Bob On Jan 6, 2011, at 11:47 AM, Peter Haworth wrote: > SQLite does have an ALTER TABLE command. You can use it to rename a table or add a column but that's all. I've used the same technique as Bob to get the CREATE command for a table and I believe that the sql syntax is updated by an ALTER command, not a second entry created. I use the SQLite admin plugin for Firefox do other types of table structure changes and it does indeed unload the table, delete it, then load it again and it seem to recreate any indexes/triggers associated with the table. The CREATE syntax in th mastr table is recreated automatically since the table is re-created. > > Pete Haworth From pete at mollysrevenge.com Thu Jan 6 16:45:56 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 6 Jan 2011 13:45:56 -0800 Subject: [OT] Table Creation Syntax + Visual SQL Query Builder // A GREAT Mac Cocoa MYSQL tool - Donationware In-Reply-To: <5305FEF2-BB8E-42A4-8872-C350E05517B6@twft.com> References: <5DD519E1-5E1A-43A4-A47E-080F8DDDC3B2@mollysrevenge.com> <5305FEF2-BB8E-42A4-8872-C350E05517B6@twft.com> Message-ID: Sounds interesting Bob. I'm not doing anything close to that but I am getting a list of tables in the db and then a list of columns in each table. I use the revDatabaseTable Names to get a list of tables and then revDataFromQuery(,,DBID,"PRAGMA table_info(tablename)") to get the column info for all the columns in the table. The column info includes the column name, data type, whether or not the column can be NULL, and the default value for the column, plus an indication of whether the column is the primary key or not. Unfortunately it doesn't give you everything you need to recreate that column elsewhere so may not be useful for you. For example, there's no foreign key information there although there is another PRAGMA that will get you that info given a column name. If you can get the info you need, it could save you some pretty tricky parsing of the CREATE statement. Pete Haworth On Jan 6, 2011, at 1:20 PM, Bob Sneidar wrote: > Good to know Peter. I have been working on a Table Merge function for some time, and one of the features is to be able to isolate the SQL for creation of a table, allow the user to pick which columns to merge between the tables, ant then if necessary, create the table in the destination database with the columns that the user selected. So a method for producing the exact syntax for table and column was essential to this. > > It's still buggy, but functional. I keep going back through and reworking things, mainly interface issues. But the code to actually create new tables and insert columns into existing ones identical to the source columns is all intact. It's been a fun project and has taught me a lot about SQL, specifically the subtle differences in syntax, which SQL was supposedly going to eliminate when it was first conceived. > > Bob > > > On Jan 6, 2011, at 11:47 AM, Peter Haworth wrote: > >> SQLite does have an ALTER TABLE command. You can use it to rename a table or add a column but that's all. I've used the same technique as Bob to get the CREATE command for a table and I believe that the sql syntax is updated by an ALTER command, not a second entry created. I use the SQLite admin plugin for Firefox do other types of table structure changes and it does indeed unload the table, delete it, then load it again and it seem to recreate any indexes/triggers associated with the table. The CREATE syntax in th mastr table is recreated automatically since the table is re-created. >> >> Pete Haworth > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From iowahengst at mac.com Thu Jan 6 16:50:00 2011 From: iowahengst at mac.com (Randy Hengst) Date: Thu, 06 Jan 2011 15:50:00 -0600 Subject: iOS - Hide Status Bar? In-Reply-To: References: Message-ID: <81C6CFD0-6C8A-43D0-BB61-E0053FBF7069@mac.com> Scott, The setting is scriptable... see p 27-28 of iOS Deployment Release Notes (R21) If you don't have that handy... here's the info Status bar configuration support You can now configure the status bar that appears at the top of the iOS screen. To control the visibility of the status bar use the following commands: iphoneShowStatusBar iphoneHideStatusBar To control the style of the status bar use the following command: iphoneSetStatusBarStyle style Where style is one of: ? default ? the default mode for the device ? translucent ? a semi-transparent status bar (in this case the stack will appear underneath it) ? opaque ? a black status bar (in this case the stack will appear below it). On iPad devices, anything other that default has no effect. take care, randy ----- On Jan 6, 2011, at 2:06 PM, Scott Rossi wrote: > Thanks Randy -- I figured it had to be somewhere. I'm wondering if it would > be more useful to establish this as a toggle-able property, as opposed to an > on/off build setting... From pmbrig at gmail.com Thu Jan 6 17:02:33 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Thu, 6 Jan 2011 17:02:33 -0500 Subject: RevOnline: New version of Shell Command Help In-Reply-To: <74B6710D-8FB7-44B0-A23F-C9BFF1076B7B@twft.com> References: <4D19B3FE.4040907@pdslabs.net> <74B6710D-8FB7-44B0-A23F-C9BFF1076B7B@twft.com> Message-ID: <9A141EFE-4043-4C51-97E5-E886F28E94E0@gmail.com> On Jan 5, 2011, at 2:22 PM, Bob Sneidar wrote: > Thanks pretty useful if you know already what the command is you > need help with. Looks like you are getting the man pages via a shell > call yourself. > > What would make this marketable is if there was a way to list all > the shell commands available to the system and present them to the > user in a list, have the user be able to click on a shell command > and have the man page load, and then be able to insert the command > into a rev script with the proper LiveCode syntax. I would pay money > for that! > > Bob That was just my reaction to the stack -- great if you know what you're doing already, but you have to know shell commands. (I dropped it into my Plugins folder anyway....) Is there a shell command to get all the shell commands on the currently running system? If so, it should be a snap to expand the stack accordingly. > On Dec 28, 2010, at 1:55 AM, Phil Davis wrote: > >> Hi folks, >> >> I just uploaded a new version of the Shell() Command Help plugin. >> >> New features: >> - Search for words in the displayed help text. >> - Print the displayed help text. >> - Use arrow keys to retrieve previous commands (like the LC message >> box). >> >> Enjoy! >> -- >> Phil Davis -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From bonnmike at gmail.com Thu Jan 6 17:09:40 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 6 Jan 2011 15:09:40 -0700 Subject: RevOnline: New version of Shell Command Help In-Reply-To: <9A141EFE-4043-4C51-97E5-E886F28E94E0@gmail.com> References: <4D19B3FE.4040907@pdslabs.net> <74B6710D-8FB7-44B0-A23F-C9BFF1076B7B@twft.com> <9A141EFE-4043-4C51-97E5-E886F28E94E0@gmail.com> Message-ID: Closest thing I know of would be apropos. Not a complete list, but a more 'targeted' list. Could implement a search box that returns an apropos list (on mac and linux) and use that for a clickable. On Thu, Jan 6, 2011 at 3:02 PM, Peter Brigham MD wrote: > On Jan 5, 2011, at 2:22 PM, Bob Sneidar wrote: > > Thanks pretty useful if you know already what the command is you need help >> with. Looks like you are getting the man pages via a shell call yourself. >> >> What would make this marketable is if there was a way to list all the >> shell commands available to the system and present them to the user in a >> list, have the user be able to click on a shell command and have the man >> page load, and then be able to insert the command into a rev script with the >> proper LiveCode syntax. I would pay money for that! >> >> Bob >> > > That was just my reaction to the stack -- great if you know what you're > doing already, but you have to know shell commands. (I dropped it into my > Plugins folder anyway....) > > Is there a shell command to get all the shell commands on the currently > running system? If so, it should be a snap to expand the stack accordingly. > > On Dec 28, 2010, at 1:55 AM, Phil Davis wrote: >> >> Hi folks, >>> >>> I just uploaded a new version of the Shell() Command Help plugin. >>> >>> New features: >>> - Search for words in the displayed help text. >>> - Print the displayed help text. >>> - Use arrow keys to retrieve previous commands (like the LC message box). >>> >>> Enjoy! >>> -- >>> Phil Davis >>> >> > -- 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 ruslan_zasukhin at valentina-db.com Thu Jan 6 17:35:29 2011 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Fri, 07 Jan 2011 00:35:29 +0200 Subject: [OT] Table Creation Syntax + Visual SQL Query Builder // A GREAT Mac Cocoa MYSQL tool - Donationware In-Reply-To: <5DD519E1-5E1A-43A4-A47E-080F8DDDC3B2@mollysrevenge.com> Message-ID: On 1/6/11 9:47 PM, "Peter Haworth" wrote: Hi Peter, > SQLite does have an ALTER TABLE command. You can use it to rename a table or > add a column but that's all. Right. This is why I say no _normal_ ALTER command > I've used the same technique as Bob to get the > CREATE command for a table and I believe that the sql syntax is updated by an > ALTER command, not a second entry created. ok > I use the SQLite admin plugin for > Firefox do other types of table structure changes and it does indeed unload > the table, delete it, then load it again and it seem to recreate any > indexes/triggers associated with the table. Yes, our guys do the same in Vstudio plugin. Target is that user can do ANY changes in Table: add/drop fields change field types set on of indexes add/drop/change triggers add drop constraints as FKs And for user this should looks as easy as single operation, In background Valentina Studio do this copies of records (if they exists) into second table.. Peter, can you take a look on Vstudio? And may be give us comparision to Firefox? FYI: in the nearest days we will add support of Valentina Link idea in regard to FKs for Lite ... Then this also will be added to diagrams for Lite, like Access do > The CREATE syntax in th mastr > table is recreated automatically since the table is re-created. > > Pete Haworth > > On Jan 6, 2011, at 11:29 AM, Ruslan Zasukhin wrote: > >> On 1/6/11 9:22 PM, "Bob Sneidar" wrote: >> >>> Are you saying that an Alter Table command will create a second record with >>> the alter table syntax in it? I didn't know that. >> >> Actually as I know, Sqlite have no normal ALTER Table -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ruslan_zasukhin at valentina-db.com Thu Jan 6 17:37:26 2011 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Fri, 07 Jan 2011 00:37:26 +0200 Subject: [OT] Table Creation Syntax + Visual SQL Query Builder // A GREAT Mac Cocoa MYSQL tool - Donationware In-Reply-To: <5305FEF2-BB8E-42A4-8872-C350E05517B6@twft.com> Message-ID: On 1/6/11 11:20 PM, "Bob Sneidar" wrote: > Good to know Peter. I have been working on a Table Merge function for some > time, and one of the features is to be able to isolate the SQL for creation of > a table, allow the user to pick which columns to merge between the tables, ant > then if necessary, create the table in the destination database with the > columns that the user selected. So a method for producing the exact syntax for > table and column was essential to this. > > It's still buggy, but functional. I keep going back through and reworking > things, mainly interface issues. But the code to actually create new tables > and insert columns into existing ones identical to the source columns is all > intact. It's been a fun project and has taught me a lot about SQL, > specifically the subtle differences in syntax, which SQL was supposedly going > to eliminate when it was first conceived. Btw, in Vstudio for Lite already should work dump of db and separate table into SQL txt file. Then as far as I understand, you can load this dump file of T1 into T2 So this will be merge ... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From pete at mollysrevenge.com Thu Jan 6 18:12:40 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 6 Jan 2011 15:12:40 -0800 Subject: [OT] Table Creation Syntax + Visual SQL Query Builder // A GREAT Mac Cocoa MYSQL tool - Donationware In-Reply-To: References: Message-ID: <1A3E5463-D24C-4610-8F80-55188B0333B2@mollysrevenge.com> Just downloading it now. May be a few days before I can play with it though. Pete Haworth On Jan 6, 2011, at 2:35 PM, Ruslan Zasukhin wrote: > Peter, can you take a look on Vstudio? > And may be give us comparision to Firefox? From jacque at hyperactivesw.com Thu Jan 6 18:39:22 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 06 Jan 2011 17:39:22 -0600 Subject: HTTPS without DLL external Message-ID: <4D2652AA.9040903@hyperactivesw.com> Maybe someone can save me some testing time. If I try to send to an https URL and the revsecurity.dll is not in the right location next to the exe on Windows, will I get an error? Will it try to send anyway? Can I just check the result? What happens? It's not easy to debug in the IDE because the DLL is in a different place and already loaded. I'm hoping someone already knows so I can continue to be lazy and I won't have to build a standalone with debugging code in it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Thu Jan 6 18:44:15 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 06 Jan 2011 15:44:15 -0800 Subject: iOS revMail Attachment? Message-ID: Another iOS question -- any way to send an image attachment using revMail? Or an alternate option, send HTML mail or HTML text with an image reference? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX Design From pete at mollysrevenge.com Thu Jan 6 18:48:23 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 6 Jan 2011 15:48:23 -0800 Subject: [OT] Table Creation Syntax + Visual SQL Query Builder // A GREAT Mac Cocoa MYSQL tool - Donationware In-Reply-To: <1A3E5463-D24C-4610-8F80-55188B0333B2@mollysrevenge.com> References: <1A3E5463-D24C-4610-8F80-55188B0333B2@mollysrevenge.com> Message-ID: <3E170F6F-E1E1-4428-B43B-78220027BFFE@mollysrevenge.com> Rusian, I downloaded VStudio and ran it to be sure it ran OK. Told me I could use it for 10 minutes without a license code. I went to your web site and tried to log in to my account. Told me the username/password was invalid. Clicked the Forgot Password link. Got an email with a token and url to change the password. Went to the url, entered the token, entered a new password, all seemed OK. Went to the My Account page and tried to log in. Got invalid username/password message again. Stuck in a loop. Pete Haworth From alex at tweedly.net Thu Jan 6 19:39:12 2011 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 07 Jan 2011 00:39:12 +0000 Subject: RevOnline: New version of Shell Command Help In-Reply-To: <9A141EFE-4043-4C51-97E5-E886F28E94E0@gmail.com> References: <4D19B3FE.4040907@pdslabs.net> <74B6710D-8FB7-44B0-A23F-C9BFF1076B7B@twft.com> <9A141EFE-4043-4C51-97E5-E886F28E94E0@gmail.com> Message-ID: <4D2660B0.4030605@tweedly.net> There's not a nice simple command (afaik), but you can do something along the lines of (in a mix of LC and shell :-) echo $PATH > tPaths set the itemdel to ":" repeat for each item tFolder in tPaths set the defaultfolder to tFolder put the files after tAll end repeat doSomeCleverFiltering tAll -- that's a library function you are assumed to have already written :-) doSomethingToAddBuiltins tAll -- ditto -- Alex. On 06/01/2011 22:02, Peter Brigham MD wrote: > On Jan 5, 2011, at 2:22 PM, Bob Sneidar wrote: > >> Thanks pretty useful if you know already what the command is you need >> help with. Looks like you are getting the man pages via a shell call >> yourself. >> >> What would make this marketable is if there was a way to list all the >> shell commands available to the system and present them to the user >> in a list, have the user be able to click on a shell command and have >> the man page load, and then be able to insert the command into a rev >> script with the proper LiveCode syntax. I would pay money for that! >> >> Bob > > That was just my reaction to the stack -- great if you know what > you're doing already, but you have to know shell commands. (I dropped > it into my Plugins folder anyway....) > > Is there a shell command to get all the shell commands on the > currently running system? If so, it should be a snap to expand the > stack accordingly. > >> On Dec 28, 2010, at 1:55 AM, Phil Davis wrote: >> >>> Hi folks, >>> >>> I just uploaded a new version of the Shell() Command Help plugin. >>> >>> New features: >>> - Search for words in the displayed help text. >>> - Print the displayed help text. >>> - Use arrow keys to retrieve previous commands (like the LC message >>> box). >>> >>> Enjoy! >>> -- >>> Phil Davis > > -- 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 bonnmike at gmail.com Thu Jan 6 20:15:47 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 6 Jan 2011 18:15:47 -0700 Subject: RevOnline: New version of Shell Command Help In-Reply-To: <4D2660B0.4030605@tweedly.net> References: <4D19B3FE.4040907@pdslabs.net> <74B6710D-8FB7-44B0-A23F-C9BFF1076B7B@twft.com> <9A141EFE-4043-4C51-97E5-E886F28E94E0@gmail.com> <4D2660B0.4030605@tweedly.net> Message-ID: Is there a manpath? On Thu, Jan 6, 2011 at 5:39 PM, Alex Tweedly wrote: > > There's not a nice simple command (afaik), but you can do something along > the lines of (in a mix of LC and shell :-) > > echo $PATH > tPaths > set the itemdel to ":" > repeat for each item tFolder in tPaths > set the defaultfolder to tFolder > put the files after tAll > end repeat > doSomeCleverFiltering tAll -- that's a library function you are > assumed to have already written :-) > doSomethingToAddBuiltins tAll -- ditto > > > -- Alex. > > > > On 06/01/2011 22:02, Peter Brigham MD wrote: > >> On Jan 5, 2011, at 2:22 PM, Bob Sneidar wrote: >> >> Thanks pretty useful if you know already what the command is you need >>> help with. Looks like you are getting the man pages via a shell call >>> yourself. >>> >>> What would make this marketable is if there was a way to list all the >>> shell commands available to the system and present them to the user in a >>> list, have the user be able to click on a shell command and have the man >>> page load, and then be able to insert the command into a rev script with the >>> proper LiveCode syntax. I would pay money for that! >>> >>> Bob >>> >> >> That was just my reaction to the stack -- great if you know what you're >> doing already, but you have to know shell commands. (I dropped it into my >> Plugins folder anyway....) >> >> Is there a shell command to get all the shell commands on the currently >> running system? If so, it should be a snap to expand the stack accordingly. >> >> On Dec 28, 2010, at 1:55 AM, Phil Davis wrote: >>> >>> Hi folks, >>>> >>>> I just uploaded a new version of the Shell() Command Help plugin. >>>> >>>> New features: >>>> - Search for words in the displayed help text. >>>> - Print the displayed help text. >>>> - Use arrow keys to retrieve previous commands (like the LC message >>>> box). >>>> >>>> Enjoy! >>>> -- >>>> Phil Davis >>>> >>> >> -- 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 ambassador at fourthworld.com Thu Jan 6 21:30:05 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 06 Jan 2011 18:30:05 -0800 Subject: RevOnline: New version of Shell Command Help Message-ID: <4D267AAD.9070906@fourthworld.com> Mike Bonner wrote: > Is there a manpath? Yes, Robert Bly wrote about it in "Iron John". ;) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From revdev at pdslabs.net Thu Jan 6 21:55:45 2011 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 06 Jan 2011 18:55:45 -0800 Subject: RevOnline: New version of Shell Command Help In-Reply-To: <4D2660B0.4030605@tweedly.net> References: <4D19B3FE.4040907@pdslabs.net> <74B6710D-8FB7-44B0-A23F-C9BFF1076B7B@twft.com> <9A141EFE-4043-4C51-97E5-E886F28E94E0@gmail.com> <4D2660B0.4030605@tweedly.net> Message-ID: <4D2680B1.4010303@pdslabs.net> This is great - I'll look into adding a list column to the left of the text body field. Phil On 1/6/11 4:39 PM, Alex Tweedly wrote: > > There's not a nice simple command (afaik), but you can do something along the > lines of (in a mix of LC and shell :-) > > echo $PATH > tPaths > set the itemdel to ":" > repeat for each item tFolder in tPaths > set the defaultfolder to tFolder > put the files after tAll > end repeat > doSomeCleverFiltering tAll -- that's a library function you are > assumed to have already written :-) > doSomethingToAddBuiltins tAll -- ditto > > > -- Alex. > > > On 06/01/2011 22:02, Peter Brigham MD wrote: >> On Jan 5, 2011, at 2:22 PM, Bob Sneidar wrote: >> >>> Thanks pretty useful if you know already what the command is you need help >>> with. Looks like you are getting the man pages via a shell call yourself. >>> >>> What would make this marketable is if there was a way to list all the shell >>> commands available to the system and present them to the user in a list, >>> have the user be able to click on a shell command and have the man page >>> load, and then be able to insert the command into a rev script with the >>> proper LiveCode syntax. I would pay money for that! >>> >>> Bob >> >> That was just my reaction to the stack -- great if you know what you're doing >> already, but you have to know shell commands. (I dropped it into my Plugins >> folder anyway....) >> >> Is there a shell command to get all the shell commands on the currently >> running system? If so, it should be a snap to expand the stack accordingly. >> >>> On Dec 28, 2010, at 1:55 AM, Phil Davis wrote: >>> >>>> Hi folks, >>>> >>>> I just uploaded a new version of the Shell() Command Help plugin. >>>> >>>> New features: >>>> - Search for words in the displayed help text. >>>> - Print the displayed help text. >>>> - Use arrow keys to retrieve previous commands (like the LC message box). >>>> >>>> Enjoy! >>>> -- >>>> Phil Davis >> >> -- 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 > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From scott at elementarysoftware.com Thu Jan 6 22:09:47 2011 From: scott at elementarysoftware.com (Scott Morrow) Date: Thu, 6 Jan 2011 19:09:47 -0800 Subject: Windows error 32 - SOLVED In-Reply-To: <4D0CD005.1010802@fourthworld.com> References: <4D0CD005.1010802@fourthworld.com> Message-ID: <0E85F9DB-D5D8-4073-9A86-085DE2405CA5@elementarysoftware.com> Hello Richard, Thanks for posting your solution. I ran into the same issue a while back. I'm looking forward to being able to improve my code now. Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com ------------------------------------------------------ On Dec 18, 2010, at 7:15 AM, Richard Gaskin wrote: > If any of you ever need to do anything like this, the solution turned out to be quite simple: > > I noticed that I could use the same "delete folder" command from within LC to delete the folder in question, just not from the app that originates in the problem folder. > > Since the OS error is 32 (obtained from LC's sysError function, a godsend for anything related to file I/O), it occurred to me that the issue is that the deletion process is beginning with an app that resides in that folder, and therefore is using that folder as the current working directory. Apparently, even though it quits before the copy in temp takes over, because the original copy in that application folder is what launched the app in temp, the current working directory had not changed, and the OS was simply doing its job of preserving objects in use. > > So the fix is a one-liner, added just before the original app launches the copy in the temp folder: > > set the directory to tTempFolder > > tTempFolder is obtained with LC's specialFolderPath("temporary"), and used to create the file name of the copy of the app that does the actual uninstall. > > By changing the working directory before launching the copy, the original folder in Program Files is now free to be deleted. Works a treat. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > Yesterday I wrote: > >> I'm making an uninstaller for one of my apps on Windows, and >> everything's working swell except for one detail: >> >> I can delete all files and folders related to the install with ease, but >> when I try to delete the application folder sysError returns 32, which >> means it's in use by another process. >> >> Here's the setup: >> >> The uninstaller works as we're required to do on Windows: when launched >> it makes a copy of itself into the temp folder, and launches that copy >> after which the original quits. We have to do that because of course an >> app can't delete itself. The copy has the UI that the user clicks to >> start the uninstall. >> >> That copy in temp works great, and clears out everything, even the >> original uninstaller that launched it. >> >> The one thing it can't do is delete the folder the app was originally >> in, which is in the Program Files directory, e.g.: >> >> C:\Program Files\MyApp\ >> >> It seems weird to me that I can so easily delete all the contents of >> that folder, even all the nested subfolders that were in it, yet not the >> folder itself. >> >> And yes, I've checked: the folder is indeed empty. >> >> Even weirder, I can open LC afterward and run this in the Message Box: >> >> delete folder "C:/Program Files/MyApp/" >> >> ...and it deletes as expected without complaint. >> >> My first hunch was that since the original uninstaller app is launching >> the one doing the deleting, maybe I could add another layer of >> misdirection by having a copy of that app make another app in temp just >> to delete the damn folder. No go, same error 32. >> >> Any of you come across something like this before? How did you get >> around 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 bonnmike at gmail.com Thu Jan 6 22:38:12 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 6 Jan 2011 20:38:12 -0700 Subject: RevOnline: New version of Shell Command Help In-Reply-To: <4D267AAD.9070906@fourthworld.com> References: <4D267AAD.9070906@fourthworld.com> Message-ID: LOL On Thu, Jan 6, 2011 at 7:30 PM, Richard Gaskin wrote: > Mike Bonner wrote: > > Is there a manpath? >> > > Yes, Robert Bly wrote about it in "Iron John". > > ;) > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From devin_asay at byu.edu Fri Jan 7 00:58:27 2011 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 6 Jan 2011 22:58:27 -0700 Subject: HTTPS without DLL external In-Reply-To: <4D2652AA.9040903@hyperactivesw.com> References: <4D2652AA.9040903@hyperactivesw.com> Message-ID: On Jan 6, 2011, at 4:39 PM, J. Landman Gay wrote: > Maybe someone can save me some testing time. If I try to send to an > https URL and the revsecurity.dll is not in the right location next to > the exe on Windows, will I get an error? Will it try to send anyway? Can > I just check the result? What happens? > > It's not easy to debug in the IDE because the DLL is in a different > place and already loaded. I'm hoping someone already knows so I can > continue to be lazy and I won't have to build a standalone with > debugging code in it. Jacque, This happened to me just yesterday in a Rev standalone on Win XP. I was opening a stack that used https from a launcher-type standalone that lacked the dll. I tried to post data to an https URL, and I got nothing--empty-- back. No error message or even an html error. I don't know if my experience is generalizable, but that's what happened to me. Draw whatever conclusions you will. Anything to save some testing time. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From revdev at pdslabs.net Fri Jan 7 02:39:39 2011 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 06 Jan 2011 23:39:39 -0800 Subject: RevOnline: New version of Shell Command Help In-Reply-To: <4D2680B1.4010303@pdslabs.net> References: <4D19B3FE.4040907@pdslabs.net> <74B6710D-8FB7-44B0-A23F-C9BFF1076B7B@twft.com> <9A141EFE-4043-4C51-97E5-E886F28E94E0@gmail.com> <4D2660B0.4030605@tweedly.net> <4D2680B1.4010303@pdslabs.net> Message-ID: <4D26C33B.9040106@pdslabs.net> I just uploaded a new version of Shell Command Help to RevOnline. New features added just now (thanks to suggestions on this list): * You can pick your command from the scrolling list of commands! * You can adjust the width of the list as needed. * If retrieving info about a listed command causes LC to quit, you can reopen this plugin in LC and right-click on the command to permanently remove it from the list. (To restore all commands to the list, delete the prefs file. It lives at specialFolderPath() /pdslabs/prefs.) I was not able to test it on Linux, but it works as expected on Mac & Windows. Best - Phil On 1/6/11 6:55 PM, Phil Davis wrote: > This is great - I'll look into adding a list column to the left of the text > body field. > Phil > > > On 1/6/11 4:39 PM, Alex Tweedly wrote: >> >> There's not a nice simple command (afaik), but you can do something along the >> lines of (in a mix of LC and shell :-) >> >> echo $PATH > tPaths >> set the itemdel to ":" >> repeat for each item tFolder in tPaths >> set the defaultfolder to tFolder >> put the files after tAll >> end repeat >> doSomeCleverFiltering tAll -- that's a library function you are >> assumed to have already written :-) >> doSomethingToAddBuiltins tAll -- ditto >> >> >> -- Alex. >> >> >> On 06/01/2011 22:02, Peter Brigham MD wrote: >>> On Jan 5, 2011, at 2:22 PM, Bob Sneidar wrote: >>> >>>> Thanks pretty useful if you know already what the command is you need help >>>> with. Looks like you are getting the man pages via a shell call yourself. >>>> >>>> What would make this marketable is if there was a way to list all the shell >>>> commands available to the system and present them to the user in a list, >>>> have the user be able to click on a shell command and have the man page >>>> load, and then be able to insert the command into a rev script with the >>>> proper LiveCode syntax. I would pay money for that! >>>> >>>> Bob >>> >>> That was just my reaction to the stack -- great if you know what you're >>> doing already, but you have to know shell commands. (I dropped it into my >>> Plugins folder anyway....) >>> >>> Is there a shell command to get all the shell commands on the currently >>> running system? If so, it should be a snap to expand the stack accordingly. >>> >>>> On Dec 28, 2010, at 1:55 AM, Phil Davis wrote: >>>> >>>>> Hi folks, >>>>> >>>>> I just uploaded a new version of the Shell() Command Help plugin. >>>>> >>>>> New features: >>>>> - Search for words in the displayed help text. >>>>> - Print the displayed help text. >>>>> - Use arrow keys to retrieve previous commands (like the LC message box). >>>>> >>>>> Enjoy! >>>>> -- >>>>> Phil Davis >>> >>> -- 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 >> > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From chipp at chipp.com Fri Jan 7 03:13:01 2011 From: chipp at chipp.com (Chipp Walters) Date: Fri, 7 Jan 2011 02:13:01 -0600 Subject: iOS revMail Attachment? In-Reply-To: References: Message-ID: Last I asked, there was not one. Please add, otherwise there's little chance ov ever getting an image out of your app. On Thursday, January 6, 2011, Scott Rossi wrote: > Another iOS question -- any way to send an image attachment using revMail? > > Or an alternate option, send HTML mail or HTML text with an image reference? > > 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 liste.revo at medard.on-rev.com Fri Jan 7 03:59:28 2011 From: liste.revo at medard.on-rev.com (Medard) Date: Fri, 7 Jan 2011 09:59:28 +0100 Subject: Getting a public IP address when connected to a router In-Reply-To: <73C18AEF-9F24-4A3C-8170-3141A314AE95@twft.com> Message-ID: <1jupy4s.fv6nxe1dqebgwM%liste.revo@medard.on-rev.com> Bob Sneidar wrote: > But you still have to teach him how to make everything the way you like it. :-) I just went that way... When whois* reports that the connection originates from my ADSL node, I consider that it's me (and it is in a log, so I can verify it) :-) * I downloaded "man whois" (and "man ls") from the server, thanks to "irev" commands, as the syntax is not exactly the same as on my desktop machine From iangmcknight at gmail.com Fri Jan 7 05:46:33 2011 From: iangmcknight at gmail.com (Ian McKnight) Date: Fri, 7 Jan 2011 10:46:33 +0000 Subject: Problems Opening an EXCEL text file Message-ID: Hi I have a table of data held in a table in EXCEL and I want to import it into a field in a LC stack. I saved the file from EXECL as a tab delimited text file and used the following handler * on* mouseUp *answer* file "choose" with *type* "text|txt|TXT" *if* it is empty or it is *cancel* *then* *exit* mouseup *put* "file:"&it into fName *put* URL fName into fld "display" * end* mouseUp The stange thing is that this doesnt appear to work - I get a blank field. However if I open and save the text file in NotePad or WordPad and then run the handler I get the data displayed in the field correctly. So how do I get the text file to be recognised without putting it through Notepad? What does EXCEL do to the file that NotePad doesn't? I'm using LC 4.5.1 and have also tested this on Rev Enterprise 4.0 both on Windows (Win 7 and XP) -- Regards Ian McKnight iangmcknight at gmail.com ======================= From iangmcknight at gmail.com Fri Jan 7 07:10:10 2011 From: iangmcknight at gmail.com (Ian McKnight) Date: Fri, 7 Jan 2011 12:10:10 +0000 Subject: Problems Opening an EXCEL text file In-Reply-To: References: Message-ID: A click on the target field made the list appear as it should! While my table only contains 90 lines of 3 items I'm at a loss to explain this. However, it is working as it should. Thanks On 7 January 2011 10:46, Ian McKnight wrote: > Hi > > I have a table of data held in a table in EXCEL and I want to import it > into a field in a LC stack. > I saved the file from EXECL as a tab delimited text file > and used the following handler > > * > > on > *mouseUp > > *answer* file "choose" with *type* "text|txt|TXT" > > *if* it is empty or it is *cancel* *then* *exit* mouseup > > *put* "file:"&it into fName > > *put* URL fName into fld "display" > * > > end > *mouseUp > The stange thing is that this doesnt appear to work - I get a blank field. > However if I open and save the text file in NotePad or WordPad and then run > the handler I get the data displayed in the field correctly. > > So how do I get the text file to be recognised without putting it through > Notepad? What does EXCEL do to the file that NotePad doesn't? I'm using LC > 4.5.1 and have also tested this on Rev Enterprise 4.0 both on Windows (Win 7 > and XP) > > -- > Regards > > > Ian McKnight > > iangmcknight at gmail.com > ======================= > -- Regards Ian McKnight iangmcknight at gmail.com ======================= From niconiko at gmail.com Fri Jan 7 08:59:15 2011 From: niconiko at gmail.com (Nicolas Cueto) Date: Fri, 7 Jan 2011 22:59:15 +0900 Subject: iOS: displaying LiveCode App thru VGA-out adapter Message-ID: Having just learnt that not all Apps are displayable on a monitor/projector connected to an iPhone/iPad thru Apple's VGA-out adapter, how would I configure my LiveCode-built App so that it is displayable? These are in-house Apps that I install directly rather than thru an AppStore download/purchase. Jailbreaking is apparently a workaround, but I'd rather not go that route just yet. Thanks. -- Nicolas Cueto From andre at andregarzia.com Fri Jan 7 09:06:06 2011 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 7 Jan 2011 12:06:06 -0200 Subject: iOS: displaying LiveCode App thru VGA-out adapter In-Reply-To: References: Message-ID: Nicolas, I don't know if this is possible right now but check the screenrects and see if there is a second monitor available. That is how we do on the desktop but I believe on an iDevice is probably different. On Fri, Jan 7, 2011 at 11:59 AM, Nicolas Cueto wrote: > Having just learnt that not all Apps are displayable on a > monitor/projector connected to an iPhone/iPad thru Apple's VGA-out > adapter, how would I configure my LiveCode-built App so that it is > displayable? > > These are in-house Apps that I install directly rather than thru an > AppStore download/purchase. > > Jailbreaking is apparently a workaround, but I'd rather not go that > route just yet. > > Thanks. > > -- > Nicolas Cueto > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From pmbrig at gmail.com Fri Jan 7 09:42:46 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Fri, 7 Jan 2011 09:42:46 -0500 Subject: RevOnline: New version of Shell Command Help In-Reply-To: References: <4D19B3FE.4040907@pdslabs.net> <74B6710D-8FB7-44B0-A23F-C9BFF1076B7B@twft.com> <9A141EFE-4043-4C51-97E5-E886F28E94E0@gmail.com> Message-ID: On Jan 6, 2011, at 5:09 PM, Mike Bonner wrote: > Closest thing I know of would be apropos. Not a complete list, but a > more > 'targeted' list. Could implement a search box that returns an > apropos list > (on mac and linux) and use that for a clickable. > > On Thu, Jan 6, 2011 at 3:02 PM, Peter Brigham MD > wrote: > >> On Jan 5, 2011, at 2:22 PM, Bob Sneidar wrote: >> >> Thanks pretty useful if you know already what the command is you >> need help >>> with. Looks like you are getting the man pages via a shell call >>> yourself. >>> >>> What would make this marketable is if there was a way to list all >>> the >>> shell commands available to the system and present them to the >>> user in a >>> list, have the user be able to click on a shell command and have >>> the man >>> page load, and then be able to insert the command into a rev >>> script with the >>> proper LiveCode syntax. I would pay money for that! >>> >>> Bob >>> >> >> That was just my reaction to the stack -- great if you know what >> you're >> doing already, but you have to know shell commands. (I dropped it >> into my >> Plugins folder anyway....) >> >> Is there a shell command to get all the shell commands on the >> currently >> running system? If so, it should be a snap to expand the stack >> accordingly. >> >> On Dec 28, 2010, at 1:55 AM, Phil Davis wrote: >>> >>> Hi folks, >>>> >>>> I just uploaded a new version of the Shell() Command Help plugin I'm playing with this to see if I can come up with something. One problem: when I use put shell("man cp") into fld "f" I get output like this: CP(1) BSD General Commands Manual CP(1) NNAAMMEE ccpp -- copy files SSYYNNOOPPSSIISS ccpp [--RR [--HH | --LL | --PP]] [--ffii | --nn] [--ppvvXX] _s_o_u_r_c_e___f_i_l_e _t_a_r_g_e_t___f_i_l_e ccpp [--RR [--HH | --LL | --PP]] [--ffii | --nn] [--ppvvXX] _s_o_u_r_c_e___f_i_l_e _._._. _t_a_r_g_e_t___d_i_r_e_c_t_o_r_y DDEESSCCRRIIPPTTIIOONN In the first synopsis form, the ccpp utility copies the contents of the _s_o_u_r_c_e___f_i_l_e to the _t_a_r_g_e_t___f_i_l_e. In the second synopsis form, the con- tents of each named _s_o_u_r_c_e___f_i_l_e is copied to the destination _t_a_r_g_e_t___d_i_r_e_c_t_o_r_y. The names of the files themselves are not changed. If ccpp detects an attempt to copy a file to itself, the copy will fail. The following options are available: --ff For each existing destination pathname, remove it and create a new file, without prompting for confirmation regardless of its permis- sions. (The --ff option overrides any previous --nn option.) The target file is not unlinked before the copy. Thus, any exist- ing access rights will be retained. As you can see, the section titles and commands consist of doubled letters. How can I get a good clear text out of this? Does it have something to do with the text encoding? Pardon my ignorance, I'm a newbie to messing around with system calls. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From lists at mangomultimedia.com Fri Jan 7 10:03:23 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 7 Jan 2011 10:03:23 -0500 Subject: iOS: displaying LiveCode App thru VGA-out adapter In-Reply-To: References: Message-ID: On Fri, Jan 7, 2011 at 8:59 AM, Nicolas Cueto wrote: > Having just learnt that not all Apps are displayable on a > monitor/projector connected to an iPhone/iPad thru Apple's VGA-out > adapter, how would I configure my LiveCode-built App so that it is > displayable? > A few months ago I was told by a 3rd party app developer that Apple has not opened up the API for using video out. I asked because I wanted to show something from his app on a projector. My guess is that currently you cannot due this with LiveCode. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From pmbrig at gmail.com Fri Jan 7 10:08:51 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Fri, 7 Jan 2011 10:08:51 -0500 Subject: RevOnline: New version of Shell Command Help In-Reply-To: <4D26C33B.9040106@pdslabs.net> References: <4D19B3FE.4040907@pdslabs.net> <74B6710D-8FB7-44B0-A23F-C9BFF1076B7B@twft.com> <9A141EFE-4043-4C51-97E5-E886F28E94E0@gmail.com> <4D2660B0.4030605@tweedly.net> <4D2680B1.4010303@pdslabs.net> <4D26C33B.9040106@pdslabs.net> Message-ID: <2B71616A-CD1D-4401-B26E-94F3B089BD20@gmail.com> On Jan 7, 2011, at 2:39 AM, Phil Davis wrote: > I just uploaded a new version of Shell Command Help to RevOnline. > > New features added just now (thanks to suggestions on this list): > > * You can pick your command from the scrolling list of commands! > * You can adjust the width of the list as needed. > * If retrieving info about a listed command causes LC to quit, you > can > reopen this plugin in LC and right-click on the command to > permanently > remove it from the list. (To restore all commands to the list, > delete the > prefs file. It lives at specialFolderPath() /pdslabs/prefs.) > > I was not able to test it on Linux, but it works as expected on Mac > & Windows. > > Best - > Phil Great! Now my ignorance has some structure to it! -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From ambassador at fourthworld.com Fri Jan 7 10:14:52 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 07 Jan 2011 07:14:52 -0800 Subject: [OT] time to change your iTunes password? Message-ID: <4D272DEC.8000806@fourthworld.com> While only 50,000 of the several million accounts have been hacked, it may be good to err on the safe side and review the recent transactions for your account and update the password; I just did both here. Hacked iTunes accounts sold online More: -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From david at vaudevillecourt.tv Fri Jan 7 10:23:19 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Fri, 7 Jan 2011 15:23:19 +0000 Subject: Audioclips: can't get at the data? Message-ID: I've not used audioclips before, but having imported one, is there anyway to get at the data so it can be exported? For videoclips I use the following: put the text of videoclip 1 into someData but the corresponding line for audioclips fails (as does "put audioclip 1"), and as the data is not returned in the properties I think there is no way to extract the data - good for encryption I guess :) Any tricks anyone? From m.schonewille at economy-x-talk.com Fri Jan 7 10:29:40 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 7 Jan 2011 16:29:40 +0100 Subject: Audioclips: can't get at the data? In-Reply-To: References: Message-ID: <00CC0054-1B67-4779-AA71-DCF63C97FE71@economy-x-talk.com> Hi David, I always forget which one is broken, but you can get the text of either videoclips or audioclips. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 7 jan 2011, at 16:23, David Bovill wrote: > I've not used audioclips before, but having imported one, is there anyway to > get at the data so it can be exported? For videoclips I use the following: > > put the text of videoclip 1 into someData > > but the corresponding line for audioclips fails (as does "put audioclip > 1"), and as the data is not returned in the properties I think there is no > way to extract the data - good for encryption I guess :) > > Any tricks anyone? From klaus at major.on-rev.com Fri Jan 7 10:34:20 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Fri, 7 Jan 2011 16:34:20 +0100 Subject: Audioclips: can't get at the data? In-Reply-To: <00CC0054-1B67-4779-AA71-DCF63C97FE71@economy-x-talk.com> References: <00CC0054-1B67-4779-AA71-DCF63C97FE71@economy-x-talk.com> Message-ID: <05EC0F51-1F45-411C-B180-651E6033FE37@major.on-rev.com> Hi David and Mark, > Hi David, > > I always forget which one is broken, but you can get the text of either videoclips or audioclips. well, apparently the export of audioclips is the broken one :-) > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce > On 7 jan 2011, at 16:23, David Bovill wrote: > >> I've not used audioclips before, but having imported one, is there anyway to >> get at the data so it can be exported? For videoclips I use the following: >> >> put the text of videoclip 1 into someData !!! >> but the corresponding line for audioclips fails (as does "put audioclip >> 1"), and as the data is not returned in the properties I think there is no >> way to extract the data - good for encryption I guess :) >> >> Any tricks anyone? Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From psahores at free.fr Fri Jan 7 10:46:30 2011 From: psahores at free.fr (Pierre Sahores) Date: Fri, 7 Jan 2011 16:46:30 +0100 Subject: [OT] time to change your iTunes password? In-Reply-To: <4D272DEC.8000806@fourthworld.com> References: <4D272DEC.8000806@fourthworld.com> Message-ID: <0452BAD0-2B73-4EBE-AFF7-D484786E5282@free.fr> Good reminder, Richard ! Done. I noticed that we are not automatically disconnected when we quit the (Mac) App Store (probably some kind of cookie around) as long as we don't explicitly pick-up the Store -> Disconnect menu item before quitting. Best regards, Pierre Le 7 janv. 2011 ? 16:14, Richard Gaskin a ?crit : > While only 50,000 of the several million accounts have been hacked, it may be good to err on the safe side and review the recent transactions for your account and update the password; I just did both here. > > > Hacked iTunes accounts sold online > > > More: > > > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From david at vaudevillecourt.tv Fri Jan 7 11:13:42 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Fri, 7 Jan 2011 16:13:42 +0000 Subject: Creative Common Copyright Notice in Standalones In-Reply-To: <4CE1B14F.6020400@hindu.org> References: <4CDC1310.508@fourthworld.com> <1351751042984.20101111175647@ahsoftware.net> <4CDCB444.9040807@hindu.org> <1081891800687.20101113090245@ahsoftware.net> <4CE1B14F.6020400@hindu.org> Message-ID: The most important things to do with regard to licenses is to avoid incompatibility and proliferation of licenses as this prevents people remixing code from various projects. I'd strongly encourage you to use a GPL compatible license, and preferably one already in use by existing liveCode projects. The most common license used in the LiveCode community is the MIT/X11 license - unless you have real strong reasons to use something else why not use that? Ralf Bitter, felt strongly he wanted some additional points, and crafted his own license. After discussing compatibility issues with him he's changed to using the Apache version 2 license which is GPL compatible - so other people can mix their code with it. So why not use the MIT/X11? With regard to content - license it separately using an appropriate Creative Commons license. I do this, and make sure I can mix my content with WikiPedia content On 15 November 2010 22:16, Sivakatirswami wrote: > On 11/13/10 7:02 AM, Mark Wieder wrote: > >> Note that the zlib license is very direct. It seems to cover >> everything except the part above about putting modifications back into >> the open source domain, so I may end up frankensteining this a bit to >> handle that. >> >> http://opensource.org/licenses/zlib-license.php >> > > > Mark, thanks for this.. I think the zLib-License is perfect for what I > want. > > Sivakatirswami > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Fri Jan 7 11:25:54 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 07 Jan 2011 08:25:54 -0800 Subject: Creative Common Copyright Notice in Standalones Message-ID: <4D273E92.9030203@fourthworld.com> David Bovill wrote: > The most important things to do with regard to licenses is to avoid > incompatibility and proliferation of licenses as this prevents people > remixing code from various projects. I'd strongly encourage you to use a GPL > compatible license, > and preferably one already in use by existing liveCode projects. > > The most common license used in the LiveCode community is the MIT/X11 > license - unless you have real strong reasons to use something else why not > use that? Ralf Bitter, felt strongly he wanted some additional points, and > crafted his own license. After discussing compatibility issues with him he's > changed to using the Apache version 2 license which is GPL compatible - so > other people can mix their code with it. > > So why not use the MIT/X11? With regard to content - license it separately > using an appropriate Creative Commons license. One of the reasons so many developers like the Creative Commons license is that there are many flavors to cover a broader range of specific usage rights than GPL, and certainly X11, affords. The goals of sharing code can cover a broad spectrum, from those of the purist like rms or those of companies who earn their living with proprietary code like Apple, with a nearly infinite variety of needs in between. So while I can appreciate the desire to have the smallest possible number of FOSS licenses in use, I can understand when a developer may find them inadequate for their particular needs. For my own needs, I'm disappointed that CC isn't recommended for code. I'd release more FOSS code if it were sanctioned for such use (I may even still, since others have ignored the caveat and use CC for code anyway). -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From bobs at twft.com Fri Jan 7 11:29:10 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 7 Jan 2011 08:29:10 -0800 Subject: Problems Opening an EXCEL text file In-Reply-To: References: Message-ID: Sounds like a refresh issue. Bob On Jan 7, 2011, at 4:10 AM, Ian McKnight wrote: > A click on the target field made the list appear as it should! While my > table only contains 90 lines of 3 items I'm at a loss to explain this. > However, it is working as it should. > > Thanks > > On 7 January 2011 10:46, Ian McKnight wrote: > >> Hi >> >> I have a table of data held in a table in EXCEL and I want to import it >> into a field in a LC stack. >> I saved the file from EXECL as a tab delimited text file >> and used the following handler >> >> * >> >> on >> *mouseUp >> >> *answer* file "choose" with *type* "text|txt|TXT" >> >> *if* it is empty or it is *cancel* *then* *exit* mouseup >> >> *put* "file:"&it into fName >> >> *put* URL fName into fld "display" >> * >> >> end >> *mouseUp >> The stange thing is that this doesnt appear to work - I get a blank field. >> However if I open and save the text file in NotePad or WordPad and then run >> the handler I get the data displayed in the field correctly. >> >> So how do I get the text file to be recognised without putting it through >> Notepad? What does EXCEL do to the file that NotePad doesn't? I'm using LC >> 4.5.1 and have also tested this on Rev Enterprise 4.0 both on Windows (Win 7 >> and XP) >> >> -- >> Regards >> >> >> Ian McKnight >> >> iangmcknight at gmail.com >> ======================= >> > > > > -- > Regards > > > Ian McKnight > > iangmcknight at gmail.com > ======================= > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Fri Jan 7 11:32:15 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 7 Jan 2011 08:32:15 -0800 Subject: RevOnline: New version of Shell Command Help In-Reply-To: <4D267AAD.9070906@fourthworld.com> References: <4D267AAD.9070906@fourthworld.com> Message-ID: I'm simply going to ignore this post and hope it goes away. ;-) Bob On Jan 6, 2011, at 6:30 PM, Richard Gaskin wrote: > Mike Bonner wrote: > >> Is there a manpath? > > Yes, Robert Bly wrote about it in "Iron John". > > ;) > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Fri Jan 7 11:35:44 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 7 Jan 2011 08:35:44 -0800 Subject: RevOnline: New version of Shell Command Help In-Reply-To: <4D26C33B.9040106@pdslabs.net> References: <4D19B3FE.4040907@pdslabs.net> <74B6710D-8FB7-44B0-A23F-C9BFF1076B7B@twft.com> <9A141EFE-4043-4C51-97E5-E886F28E94E0@gmail.com> <4D2660B0.4030605@tweedly.net> <4D2680B1.4010303@pdslabs.net> <4D26C33B.9040106@pdslabs.net> Message-ID: <0266027E-5D16-4DF1-97E6-011327DC9535@twft.com> Awesome Phil! Now do the same thing for Applescript! LOL! AHH HAHA HAHAHA HAHAH AAHHH! Seriously though, do you have some kind of Paypal account I can donate to your cause? No sense doing all this for nothing... Bob On Jan 6, 2011, at 11:39 PM, Phil Davis wrote: > I just uploaded a new version of Shell Command Help to RevOnline. > > New features added just now (thanks to suggestions on this list): > > * You can pick your command from the scrolling list of commands! > * You can adjust the width of the list as needed. > * If retrieving info about a listed command causes LC to quit, you can > reopen this plugin in LC and right-click on the command to permanently > remove it from the list. (To restore all commands to the list, delete the > prefs file. It lives at specialFolderPath() /pdslabs/prefs.) > > I was not able to test it on Linux, but it works as expected on Mac & Windows. > > Best - > Phil From bobs at twft.com Fri Jan 7 11:42:44 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 7 Jan 2011 08:42:44 -0800 Subject: RevOnline: New version of Shell Command Help In-Reply-To: <4D26C33B.9040106@pdslabs.net> References: <4D19B3FE.4040907@pdslabs.net> <74B6710D-8FB7-44B0-A23F-C9BFF1076B7B@twft.com> <9A141EFE-4043-4C51-97E5-E886F28E94E0@gmail.com> <4D2660B0.4030605@tweedly.net> <4D2680B1.4010303@pdslabs.net> <4D26C33B.9040106@pdslabs.net> Message-ID: <2E3BEC94-33B8-4A71-8190-67D8B3E020DC@twft.com> Hmmm... not seeing the scrolling list... Bob On Jan 6, 2011, at 11:39 PM, Phil Davis wrote: > I just uploaded a new version of Shell Command Help to RevOnline. > > New features added just now (thanks to suggestions on this list): > > * You can pick your command from the scrolling list of commands! > * You can adjust the width of the list as needed. > * If retrieving info about a listed command causes LC to quit, you can > reopen this plugin in LC and right-click on the command to permanently > remove it from the list. (To restore all commands to the list, delete the > prefs file. It lives at specialFolderPath() /pdslabs/prefs.) > > I was not able to test it on Linux, but it works as expected on Mac & Windows. > > Best - > Phil From bobs at twft.com Fri Jan 7 11:50:48 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 7 Jan 2011 08:50:48 -0800 Subject: [OT] time to change your iTunes password? In-Reply-To: <4D272DEC.8000806@fourthworld.com> References: <4D272DEC.8000806@fourthworld.com> Message-ID: I'm going to go out on a limb here and say that these people got a trojan on a Windows machine which logged their keyboard while the users were accessing their iTunes accounts. Otherwise I think it would have been a whole helluvalot more. Everything Apple does with security is AES based. I have not heard of anyone trying to "crack" an AES hash. I went to a security conference once, where they announced that to crack an MD5 hash (think Windows XP/2000 Logins) a fairly complex password could be brute forced in anywhere from 5 minutes to two hours. The same password in AES-256 would take 1.2 million years. Bob On Jan 7, 2011, at 7:14 AM, Richard Gaskin wrote: > While only 50,000 of the several million accounts have been hacked, it may be good to err on the safe side and review the recent transactions for your account and update the password; I just did both here. > > > Hacked iTunes accounts sold online > > > More: > > > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Fri Jan 7 11:51:23 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 7 Jan 2011 08:51:23 -0800 Subject: [OT] time to change your iTunes password? In-Reply-To: <0452BAD0-2B73-4EBE-AFF7-D484786E5282@free.fr> References: <4D272DEC.8000806@fourthworld.com> <0452BAD0-2B73-4EBE-AFF7-D484786E5282@free.fr> Message-ID: Your login credentials are not in your cookie. Bob On Jan 7, 2011, at 7:46 AM, Pierre Sahores wrote: > Good reminder, Richard ! Done. > > I noticed that we are not automatically disconnected when we quit the (Mac) App Store (probably some kind of cookie around) as long as we don't explicitly pick-up the Store -> Disconnect menu item before quitting. > > Best regards, > > Pierre > > > Le 7 janv. 2011 ? 16:14, Richard Gaskin a ?crit : > >> While only 50,000 of the several million accounts have been hacked, it may be good to err on the safe side and review the recent transactions for your account and update the password; I just did both here. >> >> >> Hacked iTunes accounts sold online >> >> >> More: >> >> >> >> -- >> Richard Gaskin >> Fourth World >> LiveCode training and consulting: http://www.fourthworld.com >> Webzine for LiveCode developers: http://www.LiveCodeJournal.com >> LiveCode Journal blog: http://LiveCodejournal.com/blog.irv >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > -- > Pierre Sahores > mobile : (33) 6 03 95 77 70 > > www.woooooooords.com > 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 coiin at verizon.net Fri Jan 7 11:57:23 2011 From: coiin at verizon.net (Colin Holgate) Date: Fri, 07 Jan 2011 11:57:23 -0500 Subject: [OT] time to change your iTunes password? In-Reply-To: References: <4D272DEC.8000806@fourthworld.com> Message-ID: <98741840-E1C8-4D5F-B2FF-C6FA4C01CA48@verizon.net> On Jan 7, 2011, at 11:50 AM, Bob Sneidar wrote: > The same password in AES-256 would take 1.2 million years. From Wikipedia: A device that could check a billion billion (1018) AES keys per second would in theory require about 3?1051 years to exhaust the 256-bit key space. From bobs at twft.com Fri Jan 7 12:07:46 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 7 Jan 2011 09:07:46 -0800 Subject: [OT] time to change your iTunes password? In-Reply-To: <98741840-E1C8-4D5F-B2FF-C6FA4C01CA48@verizon.net> References: <4D272DEC.8000806@fourthworld.com> <98741840-E1C8-4D5F-B2FF-C6FA4C01CA48@verizon.net> Message-ID: I think that means it would take it that long to produce the unencypted passwords for every conceivable hash to produce a lookup table, and even so, there is no database in existence that could store it. Bob On Jan 7, 2011, at 8:57 AM, Colin Holgate wrote: > > On Jan 7, 2011, at 11:50 AM, Bob Sneidar wrote: > >> The same password in AES-256 would take 1.2 million years. > > > From Wikipedia: > > A device that could check a billion billion (1018) AES keys per second would in theory require about 3?1051 years to exhaust the 256-bit key space. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at clarkeandclarke.co.uk Fri Jan 7 12:13:06 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 7 Jan 2011 17:13:06 +0000 Subject: [OT] time to change your iTunes password? In-Reply-To: <98741840-E1C8-4D5F-B2FF-C6FA4C01CA48@verizon.net> References: <4D272DEC.8000806@fourthworld.com> <98741840-E1C8-4D5F-B2FF-C6FA4C01CA48@verizon.net> Message-ID: <70A1DEEB-350D-4B9F-901A-1DA1A4165391@clarkeandclarke.co.uk> Maybe but is there actual proof of hacking - or could this be the far more likely human trait of stupidity? Perhaps these 50,000 accounts just belong to the numpties whose password = 'password', '12345' or similar? On 7 Jan 2011, at 16:57, Colin Holgate wrote: > > On Jan 7, 2011, at 11:50 AM, Bob Sneidar wrote: > >> The same password in AES-256 would take 1.2 million years. > > > From Wikipedia: > > A device that could check a billion billion (1018) AES keys per second would in theory require about 3?1051 years to exhaust the 256-bit key space. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 7 12:28:30 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 7 Jan 2011 09:28:30 -0800 Subject: [OT] time to change your iTunes password? In-Reply-To: <70A1DEEB-350D-4B9F-901A-1DA1A4165391@clarkeandclarke.co.uk> References: <4D272DEC.8000806@fourthworld.com> <98741840-E1C8-4D5F-B2FF-C6FA4C01CA48@verizon.net> <70A1DEEB-350D-4B9F-901A-1DA1A4165391@clarkeandclarke.co.uk> Message-ID: <748284CB-05E4-4B2F-8D83-39A151A22177@twft.com> I think hacking is a term that is used loosely to mean any kind of security compromise. It's used mostly by the media who are communicating with a market that in the lowest common denominator would not be able to define the difference between a hack and a crack, or a virus and a trojan. That is why I believe this is the result of some kind of key logging trojan. If someone found a way to successfully hack an iTunes store account, the number would not be 55,000 it would be more like 5,000,000. Bob On Jan 7, 2011, at 9:13 AM, Keith Clarke wrote: > Maybe but is there actual proof of hacking - or could this be the far more likely human trait of stupidity? > Perhaps these 50,000 accounts just belong to the numpties whose password = 'password', '12345' or similar? > > On 7 Jan 2011, at 16:57, Colin Holgate wrote: > >> >> On Jan 7, 2011, at 11:50 AM, Bob Sneidar wrote: >> >>> The same password in AES-256 would take 1.2 million years. >> >> >> From Wikipedia: >> >> A device that could check a billion billion (1018) AES keys per second would in theory require about 3?1051 years to exhaust the 256-bit key space. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 allijn.com Fri Jan 7 12:50:47 2011 From: John at allijn.com (John Allijn) Date: Fri, 7 Jan 2011 18:50:47 +0100 Subject: Connecting to a MySQL database at a hosting provider Message-ID: <9654B6A8-965E-479F-B175-BAB74BD9239D@allijn.com> Hi, I' writing an iPad app. I want the app to get some shared data from a MySQL database. I've seen scripts for that and locally they all work great. However, I've got three websites, each with a different hosting provider, and they all have installed MySQL in such a way that you can only access the database from within a webpage running at the hosting provider. For example with a PHP script. I guess I'n not the first one who wants to pull data from a DB on the web :) Is there a way around that? like a special PHP script, or another kind of generally used interface that works as a server-side to my client-app? The database itself is quite easy. just first/last name, email, a line of free format text and a date. I want to test if the user exists (is in the database), has paid his subscription (the date is an expiration date), and a system message specifically for that user (the free text field) any suggestions???? best regards, John. From psahores at free.fr Fri Jan 7 12:51:55 2011 From: psahores at free.fr (Pierre Sahores) Date: Fri, 7 Jan 2011 18:51:55 +0100 Subject: [OT] time to change your iTunes password? In-Reply-To: References: <4D272DEC.8000806@fourthworld.com> <0452BAD0-2B73-4EBE-AFF7-D484786E5282@free.fr> Message-ID: <1E6E3A61-9B98-4C0B-922F-96D2C2B778E7@free.fr> Good point but "Insuffisant", as we would say - doors closed - in sarkoland ... ;-) Le 7 janv. 2011 ? 17:51, Bob Sneidar a ?crit : > Your login credentials are not in your cookie. > > Bob > > > On Jan 7, 2011, at 7:46 AM, Pierre Sahores wrote: > >> Good reminder, Richard ! Done. >> >> I noticed that we are not automatically disconnected when we quit the (Mac) App Store (probably some kind of cookie around) as long as we don't explicitly pick-up the Store -> Disconnect menu item before quitting. >> >> Best regards, >> >> Pierre >> >> >> Le 7 janv. 2011 ? 16:14, Richard Gaskin a ?crit : >> >>> While only 50,000 of the several million accounts have been hacked, it may be good to err on the safe side and review the recent transactions for your account and update the password; I just did both here. >>> >>> >>> Hacked iTunes accounts sold online >>> >>> >>> More: >>> >>> >>> >>> -- >>> Richard Gaskin >>> Fourth World >>> LiveCode training and consulting: http://www.fourthworld.com >>> Webzine for LiveCode developers: http://www.LiveCodeJournal.com >>> LiveCode Journal blog: http://LiveCodejournal.com/blog.irv >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> -- >> Pierre Sahores >> mobile : (33) 6 03 95 77 70 >> >> www.woooooooords.com >> www.sahores-conseil.com >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From bvg at mac.com Fri Jan 7 12:58:30 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 07 Jan 2011 18:58:30 +0100 Subject: Connecting to a MySQL database at a hosting provider In-Reply-To: <9654B6A8-965E-479F-B175-BAB74BD9239D@allijn.com> References: <9654B6A8-965E-479F-B175-BAB74BD9239D@allijn.com> Message-ID: <7A402A77-8760-488F-BB2D-98BF86AF0694@mac.com> normally you'd create a php (or other scripted server side language) interface that queries the sql backend, or makes updates to it. But instead of outputting formatted html, you simply output machine parse-able content, like a tab delimited list, or xml. Then you can access the data, just as you would if you'd go directly into the mysql, but via an url that queries your scripted output: put url "http://yourServer.fake/showUser.php?user=blah&password=plainTextIsNotSecure" On 7 Jan 2011, at 18:50, John Allijn wrote: > Hi, > > I' writing an iPad app. I want the app to get some shared data from a MySQL database. I've seen scripts for that and locally they all work great. > However, I've got three websites, each with a different hosting provider, and they all have installed MySQL in such a way that you can only access the database from within a webpage running at the hosting provider. For example with a PHP script. > > I guess I'n not the first one who wants to pull data from a DB on the web :) > > Is there a way around that? like a special PHP script, or another kind of generally used interface that works as a server-side to my client-app? > > The database itself is quite easy. just first/last name, email, a line of free format text and a date. I want to test if the user exists (is in the database), has paid his subscription (the date is an expiration date), and a system message specifically for that user (the free text field) > > any suggestions???? > > best 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 -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From keith.clarke at clarkeandclarke.co.uk Fri Jan 7 13:00:33 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 7 Jan 2011 18:00:33 +0000 Subject: [OT] time to change your iTunes password? In-Reply-To: <748284CB-05E4-4B2F-8D83-39A151A22177@twft.com> References: <4D272DEC.8000806@fourthworld.com> <98741840-E1C8-4D5F-B2FF-C6FA4C01CA48@verizon.net> <70A1DEEB-350D-4B9F-901A-1DA1A4165391@clarkeandclarke.co.uk> <748284CB-05E4-4B2F-8D83-39A151A22177@twft.com> Message-ID: ...I still wonder whether this is evidence of Apple security being compromised (big problem for all) versus a simple numbers game exploiting user stupidity/laziness (more fool them). A web-crawler captures publicly listed email addresses, these then get tested as iTunes logins, coupled with the top-10 worst passwords. The surprising stat would be if there are merely 50,000 iTunes users that are that sufficiently stupid and/or lazy? There are probably more than 50,000 youtube videos showing monitors in the background that are covered in post-its with passwords and banking details! :-) On 7 Jan 2011, at 17:28, Bob Sneidar wrote: > I think hacking is a term that is used loosely to mean any kind of security compromise. It's used mostly by the media who are communicating with a market that in the lowest common denominator would not be able to define the difference between a hack and a crack, or a virus and a trojan. That is why I believe this is the result of some kind of key logging trojan. If someone found a way to successfully hack an iTunes store account, the number would not be 55,000 it would be more like 5,000,000. > > Bob > > > On Jan 7, 2011, at 9:13 AM, Keith Clarke wrote: > >> Maybe but is there actual proof of hacking - or could this be the far more likely human trait of stupidity? >> Perhaps these 50,000 accounts just belong to the numpties whose password = 'password', '12345' or similar? >> >> On 7 Jan 2011, at 16:57, Colin Holgate wrote: >> >>> >>> On Jan 7, 2011, at 11:50 AM, Bob Sneidar wrote: >>> >>>> The same password in AES-256 would take 1.2 million years. >>> >>> >>> From Wikipedia: >>> >>> A device that could check a billion billion (1018) AES keys per second would in theory require about 3?1051 years to exhaust the 256-bit key space. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 7 13:04:34 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 07 Jan 2011 12:04:34 -0600 Subject: HTTPS without DLL external In-Reply-To: References: <4D2652AA.9040903@hyperactivesw.com> Message-ID: <4D2755B2.7050508@hyperactivesw.com> On 1/6/11 11:58 PM, Devin Asay wrote: > > This happened to me just yesterday in a Rev standalone on Win XP. I was opening a stack that used https from a launcher-type standalone that lacked the dll. I tried to post data to an https URL, and I got nothing--empty-- back. No error message or even an html error. I don't know if my experience is generalizable, but that's what happened to me. > > Draw whatever conclusions you will. Anything to save some testing time. Thanks for your efforts in supporting the lazy. I guess I need to build a test stack though. Mainly I need to know if the post gets sent anyway but unencrypted, or if it just doesn't send anything at all. Not sending at all would be my preference. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Fri Jan 7 13:12:11 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 7 Jan 2011 10:12:11 -0800 Subject: [OT] time to change your iTunes password? In-Reply-To: References: <4D272DEC.8000806@fourthworld.com> <98741840-E1C8-4D5F-B2FF-C6FA4C01CA48@verizon.net> <70A1DEEB-350D-4B9F-901A-1DA1A4165391@clarkeandclarke.co.uk> <748284CB-05E4-4B2F-8D83-39A151A22177@twft.com> Message-ID: <3E7D9029-602F-456E-9B89-9B5D0466C1C3@twft.com> I'm willing to bet that you will disable your account for a period of time if you type in the wrong username/password 10 times. Every reputable web site that requires security does this now to foil brute force bots. I cannot believe Apple would overlook that issue. Bob On Jan 7, 2011, at 10:00 AM, Keith Clarke wrote: > ...I still wonder whether this is evidence of Apple security being compromised (big problem for all) versus a simple numbers game exploiting user stupidity/laziness (more fool them). > > A web-crawler captures publicly listed email addresses, these then get tested as iTunes logins, coupled with the top-10 worst passwords. The surprising stat would be if there are merely 50,000 iTunes users that are that sufficiently stupid and/or lazy? > > There are probably more than 50,000 youtube videos showing monitors in the background that are covered in post-its with passwords and banking details! :-) > From david at vaudevillecourt.tv Fri Jan 7 13:15:23 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Fri, 7 Jan 2011 18:15:23 +0000 Subject: Creative Common Copyright Notice in Standalones In-Reply-To: <4D273E92.9030203@fourthworld.com> References: <4D273E92.9030203@fourthworld.com> Message-ID: On 7 January 2011 16:25, Richard Gaskin wrote: > > One of the reasons so many developers like the Creative Commons license is > that there are many flavors to cover a broader range of specific usage > rights than GPL, and certainly X11, affords. > > The goals of sharing code can cover a broad spectrum, from those of the > purist like rms or those of companies who earn their living with proprietary > code like Apple, with a nearly infinite variety of needs in between. > > So while I can appreciate the desire to have the smallest possible number > of FOSS licenses in use, I can understand when a developer may find them > inadequate for their particular needs. > > For my own needs, I'm disappointed that CC isn't recommended for code. I'd > release more FOSS code if it were sanctioned for such use (I may even still, > since others have ignored the caveat and use CC for code anyway). > I share your concerns, and thoughts on this. I've looked long and hard at licensing, and tired as you suggest to use CC licenses for code, but I could not get it to work, and aside from a few causl individual uses I don't know of any projects that do this. I do think it is strange that there still is not a software license with a CC-type "non-commercial" clause in it, even after many years of popular use for creative content - seems strange. The main issue for us here is about mixing code projects together in ways in which the code can be used in clear ways for commercial and non-commercial projects - removing the uncertainty. Let's just make sure the code bases can be mixed together. If someone uses a "strange" - CC style license, which is not GPL compatible, then I won't be able to combine it with code that uses other licenses in any legally robust way. As a practical example I would not be able to submit my code libraries or code I have form other people to the revIgnitor project, as the license was hand crafted. Ralf changing the license to a GPL compatible license made everything start to work nicely. The same will go with other projects that seek to make compilations of open code. A mosaic of poorly thought out licenses will cause real problems. From pete at mollysrevenge.com Fri Jan 7 13:18:06 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 7 Jan 2011 10:18:06 -0800 Subject: Front Scripts Message-ID: <15B0A5C1-A7E5-43E5-9C83-F4F9EB18D9AF@mollysrevenge.com> I just realized that the stacks that I insert as front scripts are included in the Contents of a standalone application on a Mac. I may decide to package some of those scripts and try to sell them in the future but this makes them available to anyone who takes the time to look at the contents of the standalone. I'm sure I'm not the first person to run into this situation so hopefully someone can suggest how to secure those scripts. Thanks, Pete Haworth From ambassador at fourthworld.com Fri Jan 7 13:26:32 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 07 Jan 2011 10:26:32 -0800 Subject: Front Scripts Message-ID: <4D275AD8.4040309@fourthworld.com> Peter Haworth wrote: > I just realized that the stacks that I insert as front scripts are > included in the Contents of a standalone application on a Mac. > I may decide to package some of those scripts and try to sell them > in the future but this makes them available to anyone who takes the > time to look at the contents of the standalone. set the password of stack "MyStack" to "MyPassword" To access the scripts in the IDE use: set the passkey of stack "MyStack" to "MyPassword" -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From keith.clarke at clarkeandclarke.co.uk Fri Jan 7 13:28:21 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 7 Jan 2011 18:28:21 +0000 Subject: [OT] time to change your iTunes password? In-Reply-To: <3E7D9029-602F-456E-9B89-9B5D0466C1C3@twft.com> References: <4D272DEC.8000806@fourthworld.com> <98741840-E1C8-4D5F-B2FF-C6FA4C01CA48@verizon.net> <70A1DEEB-350D-4B9F-901A-1DA1A4165391@clarkeandclarke.co.uk> <748284CB-05E4-4B2F-8D83-39A151A22177@twft.com> <3E7D9029-602F-456E-9B89-9B5D0466C1C3@twft.com> Message-ID: Sure, but 10 attempts might well be enough to skim 50,000 accounts if you'd harvested, say, a million email addresses? I'm just suggesting that the percentage shot here may be harvesting through the mass stupidity of human-kind, rather than complex technology. I think it was Einstein who said that artificial intelligence was no match for natural stupidity! Just scan the top-10 of this list if you need proof http://www.whatsmypass.com/the-top-500-worst-passwords-of-all-time On 7 Jan 2011, at 18:12, Bob Sneidar wrote: > I'm willing to bet that you will disable your account for a period of time if you type in the wrong username/password 10 times. Every reputable web site that requires security does this now to foil brute force bots. I cannot believe Apple would overlook that issue. > > Bob > > > On Jan 7, 2011, at 10:00 AM, Keith Clarke wrote: > >> ...I still wonder whether this is evidence of Apple security being compromised (big problem for all) versus a simple numbers game exploiting user stupidity/laziness (more fool them). >> >> A web-crawler captures publicly listed email addresses, these then get tested as iTunes logins, coupled with the top-10 worst passwords. The surprising stat would be if there are merely 50,000 iTunes users that are that sufficiently stupid and/or lazy? >> >> There are probably more than 50,000 youtube videos showing monitors in the background that are covered in post-its with passwords and banking details! :-) >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Fri Jan 7 13:44:47 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 7 Jan 2011 10:44:47 -0800 Subject: Front Scripts In-Reply-To: <4D275AD8.4040309@fourthworld.com> References: <4D275AD8.4040309@fourthworld.com> Message-ID: Thanks Richard, I knew it would be something simple! Pete Haworth On Jan 7, 2011, at 10:26 AM, Richard Gaskin wrote: > Peter Haworth wrote: > > I just realized that the stacks that I insert as front scripts are > > included in the Contents of a standalone application on a Mac. > > I may decide to package some of those scripts and try to sell them > > in the future but this makes them available to anyone who takes the > > time to look at the contents of the standalone. > > set the password of stack "MyStack" to "MyPassword" > > To access the scripts in the IDE use: > > set the passkey of stack "MyStack" to "MyPassword" > > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Fri Jan 7 14:19:26 2011 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 07 Jan 2011 21:19:26 +0200 Subject: [OT] Why is Brazil like Bulgaria? In-Reply-To: References: <4D243C8B.4050408@pair.com> Message-ID: <4D27673E.7020608@gmail.com> Just got back from 5 days holiday in the Rhodopes; usual stuff; snow, log-fires, long country walks, no Livecode, high-class red wine out of earthen-ware jugs, biography of Leonardo da Vinci . . . err . . . *ISBN:* 9780141035338***Pages :* 640 *Published :* 06 Sep 2007 *Publisher :* Penguin read it even if it is the last book you ever read!!!! Interesting to see how my brief 'squib' about that nasty half-Bulgarian terrorist expanded. Wonderful potted history, Andre . . . however be aware that not all of "us" like the "United Kingdom" and await its collapse with anticipation. Over here, in Bulgaria, it is a case of "new guys in power, who turn out to be nephews, catamites or otherwise of old ones" so, while not being exactly totalitarian, stinks fairly strongly. Scotland, on the other hand . . . well, let's not go there . . . except for the odd RunRev conference. Interestingly enough, more, many more, Scots live outwith Scotland than inwith the kinrick; which says something . . . :) On 01/05/2011 03:07 PM, Andre Garzia wrote: > On Wed, Jan 5, 2011 at 7:40 AM, Curry Kenworthy wrote: > >>> Unlimited power in the hands of few is the main common >>> characteristic between Bulgaria and Brasil. >> > Oh there is no unlimited power in here. People outside imagine Brazil being > some banana republic where carismatic leader can do any ruthless thing and > get away with it but this is not the case, they can get away with robbing > any amount of money, passing any kind of idiotic law, doing every kind of > moronic display of ignorance, complete lack of common sense and really bad > sense of fashion and so on but it is not unlimited. > > Brief Story of Brazil: > > Brazil was "discovered" in the 16th century, it was made into a colony and > that was how it stood for couple centuries until napoleon went land > acquiring over europe. Portuguese royalty fled (or went on vacation) to > Brazil which was a colony made of mud, coffee, slaves and nasty diseases. > When royalty arrived in 1808 they decided to make this a proper country, > specially Rio. > > Like mushrooms after rain, a country was made with proper buildings and > culture (at least on Rio). It doesn't really matter that all the slaving > went on and that the rest of this really big place was still farms and pain, > Rio was beautiful. Now Brazil was an United Kingdom - the United Kingdom of > Portugal, Brazil and Algarve. Scottish and Englishman among us knows how > this works. Heck from colony to united kingdom, looks good. > > Royalty decided to go back to europe where moskito bites do not kill you and > where the natives could speak something you could understand (common people > often spoke tupi, guarani or some other indian tongue) but but but but... > TA-DA!!!! The portuguese royal guy decided NOT TO GO BACK! famous words: "if > it is for the general happiness of the nation, tell everyone that I stay!". > So Brazil was no longer an United Kingdom but was on its own with a new > royal guy. The new country was named The Empire Of Brazil (as far as empires > goes, this was a pretty big place) plus we had an emperor! Time went on, > monarchies were overthrown in lots of places and then it was not fashionable > to have emperors anymore. The last ball of the Empire went on 500m of where > I am right now on a very cute castle, they even had electrical lamps during > the ball. > > http://farm3.static.flickr.com/2017/1582977140_5757617cf7.jpg > (this is the castle, worth a look. It is called "Castelo da Ilha Fiscal", > the ferry boat I take everyday pass by it) > > The next day republic was proclaimed - "Independence or Death!!!!" - by the > same guys who were in charge since forever. Now we had presidents. > > Our republic played a game of rinse and repeat, alternating presidents from > S?o Paulo and Minas Gerais for a while and then some other bastards came > along till we're almost at the second world war when a military coup made > Brazil into a dictatorship (New State they called). Brazil under > dictatorship was ironic, we had a fascist goverment full of people who > admired fascist ideas (including my grandpa) but fought the axis on the side > of the non-fascist guys. > > After Getulio commit suicide, military really took over the dictatorship and > leftist armed guerrilla started. Students like Dilma Roussef and many others > robbed banks, kidnapped ambassadors and did all kinds of nasty stuff to make > a Cuba out of Brazil. Our mudererer goverment did worse with tortures, > deaths and everything you don't want to hear, this went on until after I was > born (hey, I was born during a military dictatorship!). > > Civil disobedience and protests got too big with strikes all over the place > and students on the streets with their faces painted in green and yellow > demanding free elections and guess what, it worked! After decades of > military dictatorship, they stepped down! No war, no coup... a organized > civil election and newly elected leaders, it doesnt help that the newly > elected president died right on the spot (I think he was overwhelmed with > joy of democracy). So after that we had some really bad democratic elected > presidents. Inflation was really bad to the point that on the market you had > to race the market staff trying to pick the goodies before they re-tag them > with new prices (this is actually true). Till FHC came along and he and > other really clever people created a magic plan to con the whole country and > stabilize the economy. Brazilians are tricksters and that presidency tricked > all the country into believing there was no such thing as a bad economy and > it worked out and money stabilized. Yay for impossible plans! After him the > labor party was elected and I cried of joy. Eight years later, I've learned > that the labor party is the same as the other 40 or so parties we have and > President Lula managed to get President Dilma elected much to my disgust, I > vote for the green party. During the last election my choices for President, > Senator, Governor lost but at least my choices for Federal Congressman and > State Congressman were elected. Silly people, always voting for thieves. > > So in summary: > > Same guys in power: really big muddy place -> United Kingdom -> Empire -> > Republic > New guys in power, as bad as the previous ones: Last 8 years > > > From scott at tactilemedia.com Fri Jan 7 14:39:35 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 07 Jan 2011 11:39:35 -0800 Subject: Audioclips: can't get at the data? In-Reply-To: Message-ID: Recently, David Bovill wrote: > I've not used audioclips before, but having imported one, is there anyway to > get at the data so it can be exported? For videoclips I use the following: > > put the text of videoclip 1 into someData > > but the corresponding line for audioclips fails (as does "put audioclip > 1"), and as the data is not returned in the properties I think there is no > way to extract the data - good for encryption I guess :) Currently, there is no way to export audioClips from a stack. Regards, Scott Rossi Creative Director Tactile Media, UX Design From bvg at mac.com Fri Jan 7 15:42:37 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 07 Jan 2011 21:42:37 +0100 Subject: Live LiveCode Code event #5 Message-ID: <4CCC0AEB-1FB8-47DA-BB5D-6EA8F86B2F5D@mac.com> Dearest Developers For the first time this year, the live madness returns. This time I (Bjoernke) will start the show, and I'll be showing off a plugin I have made for the IDE. It allows me to edit the text of label fields by double clicking them (pointer mode only). http://livecode.tv/bvg/ After I'm finished, David will show a way to create text representations of stacks, or in his own words: "Hacking LiveCode - using open text based stack formats, to find out what has changed and who changed it!" http://livecode.tv/david/ Note that the day of the week poll is closed. With an overwhelming majority liking the show to be on Saturdays! Therefore, please go to the new poll and vote for your favourite times for the show to start at: http://doodle.com/azvfdcvs7ew2imrx Join us this Saturday: Zurich: 20:00 Buenos Aires: 16:00 New York: 14:00 San Francisco: 11:00 Sydney: 06:00 Make sure to use ChatRev during the happening, otherwise you might miss when you'll need to change to the other stream: http://bjoernke.com?target=chatrev or: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" If you want to get regular notification of this event, please subscribe to the rss feed of the blog (about 2 updates per week): feed://livecode.tv/feed/ Have fun Bjoernke From david at vaudevillecourt.tv Fri Jan 7 16:26:01 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Fri, 7 Jan 2011 21:26:01 +0000 Subject: Audioclips: can't get at the data? In-Reply-To: References: Message-ID: Just found one :) copy audioclip 1 > put clipboarddata ["objects"] into url ("binfile:" & someFile) > On 7 January 2011 19:39, Scott Rossi wrote: > Recently, David Bovill wrote: > > > I've not used audioclips before, but having imported one, is there anyway > to > > get at the data so it can be exported? For videoclips I use the > following: > > > > put the text of videoclip 1 into someData > > > > but the corresponding line for audioclips fails (as does "put audioclip > > 1"), and as the data is not returned in the properties I think there is > no > > way to extract the data - good for encryption I guess :) > > Currently, there is no way to export audioClips from a stack. > > 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 klaus at major.on-rev.com Fri Jan 7 16:35:35 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Fri, 7 Jan 2011 22:35:35 +0100 Subject: Audioclips: can't get at the data? In-Reply-To: References: Message-ID: <7C79C759-264A-4406-B176-6AADE131E6E3@major.on-rev.com> Hi David, > Just found one :) > > copy audioclip 1 >> > put clipboarddata ["objects"] into url ("binfile:" & someFile) does not work for me! A small 1 secs aif audiclip results in a 5:30 empty audio file. Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From scott at tactilemedia.com Fri Jan 7 16:44:34 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 07 Jan 2011 13:44:34 -0800 Subject: Audioclips: can't get at the data? In-Reply-To: <7C79C759-264A-4406-B176-6AADE131E6E3@major.on-rev.com> Message-ID: Doesn't work for me either. I export a WAV file with suffix ".wav", get a file of the correct size, but it's not openable in QT or audio editor. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Klaus on-rev wrote: > Hi David, > >> Just found one :) >> >> copy audioclip 1 >>> >> put clipboarddata ["objects"] into url ("binfile:" & someFile) > > does not work for me! > A small 1 secs aif audiclip results in a 5:30 empty audio file. > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com From david at vaudevillecourt.tv Fri Jan 7 17:07:04 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Fri, 7 Jan 2011 22:07:04 +0000 Subject: Audioclips: can't get at the data? In-Reply-To: References: <7C79C759-264A-4406-B176-6AADE131E6E3@major.on-rev.com> Message-ID: No - I don't think it will work as an export format - as it is an internal object representation format for LiveCode. It is not ideal, but it works for my use - which is simply to export the stack to a text representation in GIT for later import. I guess there will be no way to convert it to a playable audio file external to LiveCode? On 7 January 2011 21:44, Scott Rossi wrote: > Doesn't work for me either. I export a WAV file with suffix ".wav", get a > file of the correct size, but it's not openable in QT or audio editor. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > Recently, Klaus on-rev wrote: > > > Hi David, > > > >> Just found one :) > >> > >> copy audioclip 1 > >>> > >> put clipboarddata ["objects"] into url ("binfile:" & someFile) > > > > does not work for me! > > A small 1 secs aif audiclip results in a 5:30 empty audio file. > > > > > > 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 david at vaudevillecourt.tv Fri Jan 7 17:15:52 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Fri, 7 Jan 2011 22:15:52 +0000 Subject: Audioclips: can't get at the data? In-Reply-To: References: <7C79C759-264A-4406-B176-6AADE131E6E3@major.on-rev.com> Message-ID: NB - filed this as a bug report - vote for this: - http://quality.runrev.com/qacenter/show_bug.cgi?id=9280 On 7 January 2011 22:07, David Bovill wrote: > No - I don't think it will work as an export format - as it is an internal > object representation format for LiveCode. > > It is not ideal, but it works for my use - which is simply to export the > stack to a text representation in GIT for later import. I guess there will > be no way to convert it to a playable audio file external to LiveCode? > > > On 7 January 2011 21:44, Scott Rossi wrote: > >> Doesn't work for me either. I export a WAV file with suffix ".wav", get a >> file of the correct size, but it's not openable in QT or audio editor. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >> >> >> Recently, Klaus on-rev wrote: >> >> > Hi David, >> > >> >> Just found one :) >> >> >> >> copy audioclip 1 >> >>> >> >> put clipboarddata ["objects"] into url ("binfile:" & someFile) >> > >> > does not work for me! >> > A small 1 secs aif audiclip results in a 5:30 empty audio file. >> > >> > >> > 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 jacque at hyperactivesw.com Fri Jan 7 17:19:33 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 07 Jan 2011 16:19:33 -0600 Subject: HTTPS without DLL external In-Reply-To: References: <4D2652AA.9040903@hyperactivesw.com> Message-ID: <4D279175.5040808@hyperactivesw.com> I wrote: > Maybe someone can save me some testing time. If I try to send to an > https URL and the revsecurity.dll is not in the right location next to > the exe on Windows, will I get an error? Will it try to send anyway? Can > I just check the result? What happens? For the curious, I ran some tests on Windows 7 with LiveCode 4.5.3 rc 3. If I remove the security.dll and try to post to an HTTPS URL, the result contains an error, "Socket closed." No data is sent. That's what I was hoping for, since it ensures that no unencrypted data is passed. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pepetoo at cox.net Fri Jan 7 17:22:40 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Fri, 7 Jan 2011 14:22:40 -0800 Subject: Control Keys still not working Message-ID: <8930ED15-5298-47AA-889A-F239A5396C06@cox.net> I finally tested my app on a real PC and the control keys still do not work. The alt key mnemonics worked and the arrow keys worked, but not the Control Keys. I've tried various other solutions, including building ONLY the Windows version, rather than MacOSX AND Windows at the same time. Also a few other subtle combinations and arrangements. None worked. I'm assuming that I'm the only person suffering from this problem, since no one else has chimed in over the past few days. If someone has a somewhat small app they've built to a standalone in which the Control Keys DO work, I would appreciate them sending it to me directly in some manner or another. I can receive fairly large emails. Please put the word "architect" in the subject line to assure it passing my spam blocking. Thanks a lot. Joe Lewis Wilkins Architect & Director of Product Development for GSI From ma at snowcamp.org Fri Jan 7 17:29:37 2011 From: ma at snowcamp.org (Mike Arnold) Date: Fri, 7 Jan 2011 17:29:37 -0500 Subject: Windows standalone - revBrowser DLL Message-ID: <405C7D4A-87F3-4AB8-92A0-27656DAAD088@snowcamp.org> Developing on a Mac, I have a small application that opens a substack with a revBrowser instance rendering in-memory html. The standalone on the mac runs as expected. When I execute the windows standalone Windows2000 under Parallels, the primary stack seems to display fine, but the revBrowser window is blank. I suspect its not finding the Externals/revbrowser.dll. Is this because I am using Windows 2000 (admittedly not the smartest thing) or do I need to do something else for windows? thanks for your help, Mike. LiveCode 4.5.3 Mac OS/X 10.6.5 From ambassador at fourthworld.com Fri Jan 7 17:36:27 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 07 Jan 2011 14:36:27 -0800 Subject: Control Keys still not working Message-ID: <4D27956B.6010402@fourthworld.com> Joe Lewis Wilkins wrote: > I finally tested my app on a real PC and the control keys still do > not work. The alt key mnemonics worked and the arrow keys worked, > but not the Control Keys. You're using a commandKeyDown handler as Jacque suggested, yes? Post your code and we can fix it. Control keys on Win work, and work well (in Linux too). -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From pete at mollysrevenge.com Fri Jan 7 17:43:35 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 7 Jan 2011 14:43:35 -0800 Subject: Major Problems with Find/Replace Message-ID: <3601B1EC-A873-4376-AC62-17949BFF7F47@mollysrevenge.com> I just got done using the FInd and Replace dialog (from the Edit menu) to make some wholesale changes to custom property names and any references to them in scripts. It looks like the script changes worked OK but there are some major problems with the custom property name changes in the controls. Some of them were changed successfully, some didn't get changed at all, and some controls ended up with a large number of custom properties that weren't there before the changes. Fortunately, I have a backup I can go to so other than wasting a couple of hours work, no damage done. Can anyone suggest another way of reliably changing the name of custom properties wherever they occur? Has anyone come across any similar problems with Find/Replace? Pete Haworth From jacque at hyperactivesw.com Fri Jan 7 17:59:58 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 07 Jan 2011 16:59:58 -0600 Subject: Control Keys still not working In-Reply-To: <8930ED15-5298-47AA-889A-F239A5396C06@cox.net> References: <8930ED15-5298-47AA-889A-F239A5396C06@cox.net> Message-ID: <4D279AEE.6020708@hyperactivesw.com> On 1/7/11 4:22 PM, Joe Lewis Wilkins wrote: > I finally tested my app on a real PC and the control keys still do > not work. The alt key mnemonics worked and the arrow keys worked, but > not the Control Keys. You only need two handlers, a commandKey handler and an optionKey handler. On Macs, these will respond as you expect. On Windows, the commandKey handler will respond when the user types the Control key, and the optionKey handler will respond when the user types the Alt key. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Fri Jan 7 18:25:31 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 7 Jan 2011 15:25:31 -0800 Subject: [OT] time to change your iTunes password? In-Reply-To: References: <4D272DEC.8000806@fourthworld.com> <98741840-E1C8-4D5F-B2FF-C6FA4C01CA48@verizon.net> <70A1DEEB-350D-4B9F-901A-1DA1A4165391@clarkeandclarke.co.uk> <748284CB-05E4-4B2F-8D83-39A151A22177@twft.com> <3E7D9029-602F-456E-9B89-9B5D0466C1C3@twft.com> Message-ID: <1AEC1FE9-C97F-4539-AD1F-A9BA90A525C4@twft.com> I agree that a lot of people use crappy passwords. It is my somewhat controversial opinion however, given that this is the 21st century, that those people really deserve to lose everything they protect with such passwords. It reminds me of Spaceballs, where the combination to the airlock on Druidia and the emperor's luggage were both the same. "12345" Bob On Jan 7, 2011, at 10:28 AM, Keith Clarke wrote: > Sure, but 10 attempts might well be enough to skim 50,000 accounts if you'd harvested, say, a million email addresses? I'm just suggesting that the percentage shot here may be harvesting through the mass stupidity of human-kind, rather than complex technology. I think it was Einstein who said that artificial intelligence was no match for natural stupidity! Just scan the top-10 of this list if you need proof http://www.whatsmypass.com/the-top-500-worst-passwords-of-all-time > > On 7 Jan 2011, at 18:12, Bob Sneidar wrote: > >> I'm willing to bet that you will disable your account for a period of time if you type in the wrong username/password 10 times. Every reputable web site that requires security does this now to foil brute force bots. I cannot believe Apple would overlook that issue. >> >> Bob >> >> >> On Jan 7, 2011, at 10:00 AM, Keith Clarke wrote: >> >>> ...I still wonder whether this is evidence of Apple security being compromised (big problem for all) versus a simple numbers game exploiting user stupidity/laziness (more fool them). >>> >>> A web-crawler captures publicly listed email addresses, these then get tested as iTunes logins, coupled with the top-10 worst passwords. The surprising stat would be if there are merely 50,000 iTunes users that are that sufficiently stupid and/or lazy? >>> >>> There are probably more than 50,000 youtube videos showing monitors in the background that are covered in post-its with passwords and banking details! :-) >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pepetoo at cox.net Fri Jan 7 18:30:14 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Fri, 7 Jan 2011 15:30:14 -0800 Subject: Control Keys still not working - FIXED In-Reply-To: <4D279AEE.6020708@hyperactivesw.com> References: <8930ED15-5298-47AA-889A-F239A5396C06@cox.net> <4D279AEE.6020708@hyperactivesw.com> Message-ID: Jacqui, Richard, Thanks for your replies. One additional change along with building the Windows version by itself works perfectly, except for the Control Q, which I'm sure I'll figure out - eventually. There were several problems; mostly based on my original assumption that I needed to do it all and some key mapping with VM Fusion, though that doesn't appear to have been the major problem. One other was setting both the Cmd and Ctrl check boxes on the Menu Builder, one of which I never even saw - it is so small and hard to read - and didn't know it was even there, or that you can set both of them or should. In watching someone else play with it on a real PC, I noticed a few other things he wanted to do, some of which worked and some that didn't. I use the arrow keys for card navigation; whereas he wanted to use them for menu navigation. Not sure exactly how to fix that so that it works both ways. He liked my larger than usual menus. It's been an interesting experience. Joe Lewis Wilkins Architect & Director of Product Development for GSI On Jan 7, 2011, at 2:59 PM, J. Landman Gay wrote: > On 1/7/11 4:22 PM, Joe Lewis Wilkins wrote: >> I finally tested my app on a real PC and the control keys still do >> not work. The alt key mnemonics worked and the arrow keys worked, but >> not the Control Keys. > > You only need two handlers, a commandKey handler and an optionKey handler. On Macs, these will respond as you expect. On Windows, the commandKey handler will respond when the user types the Control key, and the optionKey handler will respond when the user types the Alt key. > > -- > 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 stephenREVOLUTION2 at barncard.com Fri Jan 7 18:31:26 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 7 Jan 2011 15:31:26 -0800 Subject: Audioclips: can't get at the data? In-Reply-To: References: <7C79C759-264A-4406-B176-6AADE131E6E3@major.on-rev.com> Message-ID: *Wait a minute - David, you are on to something. THIS WORKS!* *I exported as scripted and opened the resultant file in Amadeus Pro RAW (default params) - and got a cogent waveform - my sound!! It was even at the same speed. 16 bit 44.1k* * * *on* mouseUp *play* ac "shutShortQ.aif" *copy* audioclip "shutShortQ.aif" *ask* file "name?" with "shutShortQ.aif" *if* it is empty or it is "cancel" *then* *exit* to top *put* it into someFile *get* clipboarddata ["objects"] *put* it into url ("binfile:" & someFile) *put* it *end* mouseUp What's needed to make a usable audio file is just to provide the appropriate header info, which obviously missing. The binary data with no or special headers is stored in the stack as an audioclip. Are there hidden properties of the individual audioclip object ( such as sample rate ) that can be found before export? By the way, the audioclip object can have custom properties assigned. Think volume and other metadata could be stored. This is totally hackable in Livecode! Looking at the output waveform, it appears that the track ends early and spikes to digital 0 (full negative), which indicates that a few bytes in the front are missing - the header bytes! must investigate! more later On 7 January 2011 14:15, David Bovill wrote: > NB - filed this as a bug report - vote for this: > > - http://quality.runrev.com/qacenter/show_bug.cgi?id=9280 > > > On 7 January 2011 22:07, David Bovill wrote: > > > No - I don't think it will work as an export format - as it is an > internal > > object representation format for LiveCode. > > > Stephen Barncard San Francisco Ca. USA more about sqb From ambassador at fourthworld.com Fri Jan 7 19:17:57 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 07 Jan 2011 16:17:57 -0800 Subject: Creative Common Copyright Notice in Standalones Message-ID: <4D27AD35.8080507@fourthworld.com> David Bovill wrote: > The main issue for us here is about mixing code projects together > in ways in which the code can be used in clear ways for commercial > and non-commercial projects - removing the uncertainty. Let's just > make sure the code bases can be mixed together. If someone uses a > "strange" - CC style license, which is not GPL compatible, then I > won't be able to combine it with code that uses other licenses in > any legally robust way. For some that may be a feature. If you want GPL, use GPL. MIT seems even more liberal, all the sharing without the forced openness downstream. And then there's even public domain, the freest of all. > As a practical example I would not be able to submit my code > libraries or code I have form other people to the revIgnitor > project, as the license was hand crafted. Ralf changing the > license to a GPL compatible license made everything start to > work nicely. That may work well for you, but that means for me I can't use revIgniter as an embedded system in a closed-source product. Not that I have an immediate need for that, but I'd considered using revIgniter for a project recently, but that project has a likelihood to fork into an embedded proprietary component down the road, so GPL stuff would be challenging to consider. > The same will go with other projects that seek to make compilations > of open code. A mosaic of poorly thought out licenses will cause > real problems. Anything poorly thought out will cause problems. :) There are scenarios for meaningful sharing that aren't addressed by GLP-compatible licenses, so while it would be desirable if there were fewer licenses in the world, the diversity of needs seems to require equally diverse terms to describe them. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From kkaufman at snet.net Fri Jan 7 20:18:06 2011 From: kkaufman at snet.net (Kurt Kaufman) Date: Fri, 7 Jan 2011 20:18:06 -0500 Subject: Humor: xkcd- How To Write Good Code Message-ID: <5CB65FE0-531F-4FDA-8236-A905B85107F1@snet.net> http://xkcd.com/844/ From jacque at hyperactivesw.com Fri Jan 7 20:36:34 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 07 Jan 2011 19:36:34 -0600 Subject: Control Keys still not working - FIXED In-Reply-To: References: <8930ED15-5298-47AA-889A-F239A5396C06@cox.net> <4D279AEE.6020708@hyperactivesw.com> Message-ID: <4D27BFA2.6050301@hyperactivesw.com> On 1/7/11 5:30 PM, Joe Lewis Wilkins wrote: > Jacqui, Richard, > > Thanks for your replies. One additional change along with building > the Windows version by itself works perfectly,except for the Control > Q, which I'm sure I'll figure out - eventually. You don't need to build separately. The standalone builder essentially does that anyway, it builds for each OS sequentially. I'm not sure what the problem would be with Control-Q, if you have the menu shortcut set up it should respond as you'd expect. Your menu line entry should be something like this: &Quit/Q Though Windows users generally expect it to say "Exit" instead. I usually swap out the last line according to the OS either when the app starts up or on a mousedown in the menu group. How menus work, with special character designations at the bottom of the page: > In watching someone else play with it on a real PC, I noticed a few > other things he wanted to do, some of which worked and some that > didn't. I use the arrow keys for card navigation; whereas he wanted > to use them for menu navigation. Not sure exactly how to fix that so > that it works both ways. I've never tried to do that, but maybe someone else has. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lan.kc.macmail at gmail.com Fri Jan 7 20:51:45 2011 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 8 Jan 2011 09:51:45 +0800 Subject: [OT] Lest We Forget Message-ID: Folks it's been far too long since I've been able to be frequent this List; life is way way too busy. But sometimes when life's too busy you do need to stop, step back and remember what's important. This morning I realised that it was the anniversary of Bill Marriott's passing. I understand that Kevin lost someone important around this time of year as well. The Rev community (as it was back then) has also lost Eric. As I head into 2011 I just wish you all a very healthy and prosperous 2011, may we all remember what's really important in life (and tell them so regularly). My hope is that life will eventually slow down enough that I can return and enjoy the comrade of this List and do some LiveCoding, Must go, the grindstone's calling ;-( From pepetoo at cox.net Fri Jan 7 20:59:29 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Fri, 7 Jan 2011 17:59:29 -0800 Subject: Control Keys still not working - FIXED In-Reply-To: <4D27BFA2.6050301@hyperactivesw.com> References: <8930ED15-5298-47AA-889A-F239A5396C06@cox.net> <4D279AEE.6020708@hyperactivesw.com> <4D27BFA2.6050301@hyperactivesw.com> Message-ID: <1C14A62E-BE80-4963-8AE3-47C22E5B691E@cox.net> I assumed as much; just hadn't gotten back to trying that out. I still have a few minor things to do with the menus, such as disabling ones that are not applicable under certain circumstances. I think the most difficult adjustment will be allowing for use of arrow keys to navigate from menu to menu and within menus. I'm not a big user of that technique so I forgot that it is something to which people are accustomed - Mac and Windows. Thanks for the follow-up, Jacqui! Joe Lewis Wilkins Architect & Director of Product Development for GSI On Jan 7, 2011, at 5:36 PM, J. Landman Gay wrote: > You don't need to build separately. The standalone builder essentially does that anyway, it builds for each OS sequentially. I'm not sure what the problem would be with Control-Q, if you have the menu shortcut set up it should respond as you'd expect. Your menu line entry should be something like this: > > &Quit/Q > > Though Windows users generally expect it to say "Exit" instead. I usually swap out the last line according to the OS either when the app starts up or on a mousedown in the menu group. > > How menus work, with special character designations at the bottom of the page: > From mwieder at ahsoftware.net Fri Jan 7 22:06:39 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 7 Jan 2011 19:06:39 -0800 Subject: Humor: xkcd- How To Write Good Code In-Reply-To: <5CB65FE0-531F-4FDA-8236-A905B85107F1@snet.net> References: <5CB65FE0-531F-4FDA-8236-A905B85107F1@snet.net> Message-ID: <144229823359.20110107190639@ahsoftware.net> Kurt- Friday, January 7, 2011, 5:18:06 PM, you wrote: > http://xkcd.com/844/ LOL. But all seriousness aside, I think the "Throw it all out and start over" step is the best refactoring process there is. My code becomes so much cleaner when I've already thought out the issues and don't have to deal with the legacy code I've (badly) written. -- -Mark Wieder mwieder at ahsoftware.net From jhj at jhj.com Fri Jan 7 23:25:05 2011 From: jhj at jhj.com (Jerry J) Date: Fri, 7 Jan 2011 20:25:05 -0800 Subject: Humor: xkcd- How To Write Good Code In-Reply-To: <144229823359.20110107190639@ahsoftware.net> References: <5CB65FE0-531F-4FDA-8236-A905B85107F1@snet.net> <144229823359.20110107190639@ahsoftware.net> Message-ID: <4399B483-B7C5-4616-98EE-511417EBB0A0@jhj.com> On Jan 7, 2011, at 7:06 PM, Mark Wieder wrote: > Kurt- > > Friday, January 7, 2011, 5:18:06 PM, you wrote: > >> http://xkcd.com/844/ > > LOL. But all seriousness aside, I think the "Throw it all out and > start over" step is the best refactoring process there is. My code > becomes so much cleaner when I've already thought out the issues and > don't have to deal with the legacy code I've (badly) written. A manager at Claris once said to me in a meeting: "The first pancake is rarely the best one". From warrenkuhl at gmail.com Sat Jan 8 00:21:11 2011 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Fri, 7 Jan 2011 23:21:11 -0600 Subject: Adding To Zip File Message-ID: I am trying to add data to a zip file. I keep getting a "ziperr, illegal variable" on the revZipAddItemWithData command. The open and close results are empty...and the zip file is not getting created. revZipOpenArchive "c:/Users/Warren/Desktop/software/wdk.zip", "update" answer the result revZipAddItemWithData "c:/Users/Warren/Desktop/software/wdk.zip", "text.txt", "This is a test" answer the result revZipCloseArchive "c:/Users/Warren/Desktop/software/wdk.zip" answer the result Any help greatly appreciated! Warren From mwieder at ahsoftware.net Sat Jan 8 00:52:21 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 7 Jan 2011 21:52:21 -0800 Subject: Adding To Zip File In-Reply-To: References: Message-ID: <133239765031.20110107215221@ahsoftware.net> Warren- Friday, January 7, 2011, 9:21:11 PM, you wrote: > revZipAddItemWithData "c:/Users/Warren/Desktop/software/wdk.zip", > "text.txt", "This is a test" Do you really have a variable called "This is a test"? -- -Mark Wieder mwieder at ahsoftware.net From warrenkuhl at gmail.com Sat Jan 8 00:58:05 2011 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Fri, 7 Jan 2011 23:58:05 -0600 Subject: Adding To Zip File In-Reply-To: <133239765031.20110107215221@ahsoftware.net> References: <133239765031.20110107215221@ahsoftware.net> Message-ID: Mark, I tried changing it to: put "t" into ttest revZipAddItemWithData "c:/Users/Warren/Desktop/NewSpinner/wdk.zip", "text.txt", ttest answer the result ...still the same error. Warren On Fri, Jan 7, 2011 at 11:52 PM, Mark Wieder wrote: > Warren- > > Friday, January 7, 2011, 9:21:11 PM, you wrote: > > > revZipAddItemWithData "c:/Users/Warren/Desktop/software/wdk.zip", > > "text.txt", "This is a test" > > Do you really have a variable called "This is a test"? > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Sat Jan 8 01:05:22 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 7 Jan 2011 22:05:22 -0800 Subject: Adding To Zip File In-Reply-To: References: <133239765031.20110107215221@ahsoftware.net> Message-ID: <196240546109.20110107220522@ahsoftware.net> Warren- Friday, January 7, 2011, 9:58:05 PM, you wrote: > I tried changing it to: > put "t" into ttest > revZipAddItemWithData > "c:/Users/Warren/Desktop/NewSpinner/wdk.zip", > "text.txt", ttest > answer the result > ...still the same error. try revZipAddItemWithData "c:/Users/Warren/Desktop/NewSpinner/wdk.zip", "text.txt", "ttest" -- -Mark Wieder mwieder at ahsoftware.net From warrenkuhl at gmail.com Sat Jan 8 01:09:44 2011 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Sat, 8 Jan 2011 00:09:44 -0600 Subject: Adding To Zip File In-Reply-To: <196240546109.20110107220522@ahsoftware.net> References: <133239765031.20110107215221@ahsoftware.net> <196240546109.20110107220522@ahsoftware.net> Message-ID: Mark, I can't thank you enough! I have been banging my head against the wall for hours trying to figure this out. Appreciate your help! Warren On Sat, Jan 8, 2011 at 12:05 AM, Mark Wieder wrote: > Warren- > > Friday, January 7, 2011, 9:58:05 PM, you wrote: > > > I tried changing it to: > > > put "t" into ttest > > revZipAddItemWithData > > "c:/Users/Warren/Desktop/NewSpinner/wdk.zip", > > "text.txt", ttest > > answer the result > > > ...still the same error. > > try > > revZipAddItemWithData > "c:/Users/Warren/Desktop/NewSpinner/wdk.zip", > "text.txt", "ttest" > > -- > -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 chipp at altuit.com Sat Jan 8 01:13:10 2011 From: chipp at altuit.com (Chipp Walters) Date: Sat, 8 Jan 2011 00:13:10 -0600 Subject: [OT] time to change your iTunes password? In-Reply-To: <1AEC1FE9-C97F-4539-AD1F-A9BA90A525C4@twft.com> References: <4D272DEC.8000806@fourthworld.com> <98741840-E1C8-4D5F-B2FF-C6FA4C01CA48@verizon.net> <70A1DEEB-350D-4B9F-901A-1DA1A4165391@clarkeandclarke.co.uk> <748284CB-05E4-4B2F-8D83-39A151A22177@twft.com> <3E7D9029-602F-456E-9B89-9B5D0466C1C3@twft.com> <1AEC1FE9-C97F-4539-AD1F-A9BA90A525C4@twft.com> Message-ID: <72461645-6E5C-4042-95D5-521ADF659830@altuit.com> I'm with you. In fact I believe if you don't lock your car, you should have it stolen. And anyone stupid enough to never lock their house deserves to be robbed at gunpoint and pistol whipped. And don't get me started about if you're so stupid to not know how to program in Objective-C... Chipp Walters Who doesn't really know any Objective-C And who sometimes uses the word password.. And who lives in Texas in a sometimes unlocked house and car and tractor and truck And who has a big gun and the Texas law on his side anytime he needs to use it. (In fact, in Texas, I'm allowed to shoot a robber as he's carrying out a TV, in the back, who is robbing my neighbor's house...while they're away... Yep, we don't have too many home invasions here. And we balance our budget each year). :-p On Jan 7, 2011, at 5:25 PM, Bob Sneidar wrote: > I agree that a lot of people use crappy passwords. It is my somewhat controversial opinion however, given that this is the 21st century, that those people really deserve to lose everything they protect with such passwords. >>> >>> From mwieder at ahsoftware.net Sat Jan 8 01:37:17 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 7 Jan 2011 22:37:17 -0800 Subject: Adding To Zip File In-Reply-To: References: <133239765031.20110107215221@ahsoftware.net> <196240546109.20110107220522@ahsoftware.net> Message-ID: <139242460734.20110107223717@ahsoftware.net> Warren- Friday, January 7, 2011, 10:09:44 PM, you wrote: > I can't thank you enough! I have been banging my head against the wall for > hours trying to figure this out. ...and now you have to fix the wall. I hate it when that happens... -- -Mark Wieder mwieder at ahsoftware.net From liste.revo at medard.on-rev.com Sat Jan 8 01:42:06 2011 From: liste.revo at medard.on-rev.com (Medard) Date: Sat, 8 Jan 2011 07:42:06 +0100 Subject: RevOnline: New version of Shell Command Help In-Reply-To: Message-ID: <1jurmkf.roc6i1167mx22M%liste.revo@medard.on-rev.com> Peter Brigham MD wrote: > As you can see, the section titles and commands consist of doubled > letters. I encountered this as I was trying to read the man for ls on the server machine [On-Rev]... the text file I obtained was almost unreadable! Nonetheless, "doubled" chars are interpreted as *bold* chars on geek apps (you know, line command) ;-) From psahores at free.fr Sat Jan 8 03:16:34 2011 From: psahores at free.fr (Pierre Sahores) Date: Sat, 8 Jan 2011 09:16:34 +0100 Subject: [OT] Lest We Forget In-Reply-To: References: Message-ID: <663DC363-B7C5-4A3A-B0FE-C7A5CA0D82A8@free.fr> Thank you for reminding us and prove that humanity prevails sometimes over ethology. Le 8 janv. 2011 ? 02:51, Kay C Lan a ?crit : > This morning I realised that it was the anniversary of Bill Marriott's > passing. I understand that Kevin lost someone important around this time of > year as well. The Rev community (as it was back then) has also lost Eric. > > As I head into 2011 I just wish you all a very healthy and prosperous 2011, > may we all remember what's really important in life (and tell them so > regularly). -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From richmondmathewson at gmail.com Sat Jan 8 03:49:20 2011 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 08 Jan 2011 10:49:20 +0200 Subject: [OT] Lest We Forget In-Reply-To: <663DC363-B7C5-4A3A-B0FE-C7A5CA0D82A8@free.fr> References: <663DC363-B7C5-4A3A-B0FE-C7A5CA0D82A8@free.fr> Message-ID: <4D282510.2050003@gmail.com> On 01/08/2011 10:16 AM, Pierre Sahores wrote: > Thank you for reminding us and prove that humanity prevails sometimes over ethology. > > Le 8 janv. 2011 ? 02:51, Kay C Lan a ?crit : > >> This morning I realised that it was the anniversary of Bill Marriott's >> passing. I understand that Kevin lost someone important around this time of >> year as well. The Rev community (as it was back then) has also lost Eric. We are all considerably poorer with his death. I so hope he is in a better place and is, maybe, somehow, aware of our feelings towards him. >> As I head into 2011 I just wish you all a very healthy and prosperous 2011, >> may we all remember what's really important in life (and tell them so >> regularly). > -- > Pierre Sahores > mobile : (33) 6 03 95 77 70 > > www.woooooooords.com > 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 david at vaudevillecourt.tv Sat Jan 8 05:09:26 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Sat, 8 Jan 2011 10:09:26 +0000 Subject: Creative Common Copyright Notice in Standalones In-Reply-To: <4D27AD35.8080507@fourthworld.com> References: <4D27AD35.8080507@fourthworld.com> Message-ID: Hi Richard - a few minor points / corrections: On 8 January 2011 00:17, Richard Gaskin wrote: > > > As a practical example I would not be able to submit my code > > libraries or code I have form other people to the revIgnitor > > project, as the license was hand crafted. Ralf changing the > > license to a GPL compatible license made everything start to > > work nicely. > > That may work well for you, but that means for me I can't use revIgniter as > an embedded system in a closed-source product. Not that I have an immediate > need for that, but I'd considered using revIgniter for a project recently, > but that project has a likelihood to fork into an embedded proprietary > component down the road, so GPL stuff would be challenging to consider. That's not true, you can use revIgnitor in a closed, or embedded contexrt because the (GPL-compatible) Apache 2 license allows this (as would the GPL-compatible MIT/X11 license). That was Ralf's intention. Not sure but you may be mistaking what is meant by GPL compatible (see link)- it is not the same as GPL! It just means that GPL projects are able to use the code from any of the GPL compatible licensed code bases. In this way the MetaCard project uses a GPL compatible license. > The same will go with other projects that seek to make compilations > > of open code. A mosaic of poorly thought out licenses will cause > > real problems. > > Anything poorly thought out will cause problems. :) > > There are scenarios for meaningful sharing that aren't addressed by > GLP-compatible licenses, so while it would be desirable if there were fewer > licenses in the world, the diversity of needs seems to require equally > diverse terms to describe them. > Richard, could you be more specific - apart from the lack of a "non-commercial" option you can get with CC, I have not come across any scenarios that you can't address using GPL-compatible licenses. If you could give an example it would be real useful to me, as it is a main focus of my work - thanks :) From pmbrig at gmail.com Sat Jan 8 07:42:26 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Sat, 8 Jan 2011 07:42:26 -0500 Subject: RevOnline: New version of Shell Command Help In-Reply-To: <1jurmkf.roc6i1167mx22M%liste.revo@medard.on-rev.com> References: <1jurmkf.roc6i1167mx22M%liste.revo@medard.on-rev.com> Message-ID: <6E412F0B-44DB-4D49-84B4-C7ED9DD6ABAB@gmail.com> So, no way of decoding this easily, huh? If you do a char by char pass through the text and replace every doubled letter with its single, then you'll get sily comands.... How do the "geek apps" manage to parse it? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Jan 8, 2011, at 1:42 AM, Medard wrote: > Peter Brigham MD wrote: > >> As you can see, the section titles and commands consist of doubled >> letters. > > I encountered this as I was trying to read the man for ls on the > server > machine [On-Rev]... the text file I obtained was almost unreadable! > > Nonetheless, "doubled" chars are interpreted as *bold* chars on geek > apps (you know, line command) ;-) > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revdev at pdslabs.net Sat Jan 8 07:58:39 2011 From: revdev at pdslabs.net (Phil Davis) Date: Sat, 08 Jan 2011 04:58:39 -0800 Subject: RevOnline: New version of Shell Command Help In-Reply-To: <6E412F0B-44DB-4D49-84B4-C7ED9DD6ABAB@gmail.com> References: <1jurmkf.roc6i1167mx22M%liste.revo@medard.on-rev.com> <6E412F0B-44DB-4D49-84B4-C7ED9DD6ABAB@gmail.com> Message-ID: <4D285F7F.8040707@pdslabs.net> Try this: put "ls" into tCommand put shell("man " & tCommand & " | col -b") into fld 1 That is how my Shell Command Help plugin does it. Phil Davis On 1/8/11 4:42 AM, Peter Brigham MD wrote: > So, no way of decoding this easily, huh? If you do a char by char pass through > the text and replace every doubled letter with its single, then you'll get > sily comands.... How do the "geek apps" manage to parse it? > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > On Jan 8, 2011, at 1:42 AM, Medard wrote: > >> Peter Brigham MD wrote: >> >>> As you can see, the section titles and commands consist of doubled >>> letters. >> >> I encountered this as I was trying to read the man for ls on the server >> machine [On-Rev]... the text file I obtained was almost unreadable! >> >> Nonetheless, "doubled" chars are interpreted as *bold* chars on geek >> apps (you know, line command) ;-) >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From bill at bluewatermaritime.com Sat Jan 8 09:56:43 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Sat, 8 Jan 2011 10:56:43 -0400 Subject: Preferences on first start-up Message-ID: Has anyone built a preferences stack which can be used in any livecode app and which checks on start-up specialfolderpath("preferences") to see if the file is there and creates it if not? I just noticed an app in Apple's new app store which views the preferences file for any application (they are all xml files with .plist) and wondered if someone has built a stack which adheres to this standard that everyone can use in their applications? From bill at bluewatermaritime.com Sat Jan 8 10:30:40 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Sat, 8 Jan 2011 11:30:40 -0400 Subject: Trying to adhere to interface standards Mac OS X Message-ID: Anyone know an easy way to make windows have a fat gray bar at the top where you can put your icons for doing things in your app? From keith.clarke at clarkeandclarke.co.uk Sat Jan 8 10:46:39 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sat, 8 Jan 2011 15:46:39 +0000 Subject: Preferences on first start-up In-Reply-To: References: Message-ID: ...I'm rather hoping that's one of the things the GLX framework supports with it's preference handling (I'm just starting to learn about it, so can't be sure). http://www.bluemangolearning.com/screensteps/examples/manuals/GLX_Application_Framework.html On 8 Jan 2011, at 14:56, william humphrey wrote: > Has anyone built a preferences stack which can be used in any livecode app > and which checks on start-up specialfolderpath("preferences") to see if the > file is there and creates it if not? I just noticed an app in Apple's new > app store which views the preferences file for any application (they are all > xml files with .plist) and wondered if someone has built a stack which > adheres to this standard that everyone can use in their applications? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Sat Jan 8 10:51:59 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 08 Jan 2011 07:51:59 -0800 Subject: Creative Common Copyright Notice in Standalones Message-ID: <4D28881F.508@fourthworld.com> David Bovill wrote: > On 8 January 2011 00:17, Richard Gaskin wrote: > >> There are scenarios for meaningful sharing that aren't addressed by >> GLP-compatible licenses, so while it would be desirable if there were fewer >> licenses in the world, the diversity of needs seems to require equally >> diverse terms to describe them. > > Richard, could you be more specific - apart from the lack of a > "non-commercial" option you can get with CC, I have not come across any > scenarios that you can't address using GPL-compatible licenses. If you could > give an example it would be real useful to me, as it is a main focus of my > work - thanks :) Short answer: For some projects it may be desirable, or even necessary, to prevent forking. Long answer: Writing code requires the most valuable non-renewable resource on the planet: time. Time always carries a cost. At a minimum, a developer must eat, keep a roof over their head, and keep the electricity flowing into their machine while they write. Recognizing that even free code requires a material cost to produce, open source can be seen as a rich man's game: because the software is given away, the money to pay for it must come from some other source. Many FOSS advocates argue that compensation for code can come from support and training services. But that position overlooks the counterproductive nature of such revenue streams: they disincentivise quality. If you give software away for free and seek compensation for your expenses incurred while making it through support and training, you have no incentive to enhance the product's usability. On the contrary, if you were to achieve the ideal of making a software so good that requires no support or training, ironically you risk killing the project because you'd no longer be able to afford to work on it. So the uability-minded developer has four alternatives: 1. An egalitarian model, in which those who derive material benefit from a project contribute materially to the project equally. This is more or less how most proprietary commercial products support themselves, with licensing fees. 2. Draw from retained earnings acquired from other directly-compensated work. This is the "rich man", the man who has made enough money to enjoy the leisure of working thousands of hours for free. 3. Find a sponsor who has a strategic reason for compensating you. Here the "rich man" is the sponsor, like IBM pouring millions into Linux development because it provides them leverage against Microsoft. This not at all altruism, but of solid business value (see Spolsky's "Strategy Letter V: Commoditize Your Compliments"). 4. Find either direct compensation through advertising on the project's home page, or through strategic value for yourself by using the project to enhance the positioning of your consultancy. This last option requires that you prevent forking: Imagine that you spend a thousand hours making a truly useful product, and decide to share it under the GPL. You spend another hundred hours building an attractive and usable home page for it, and use your best marketing experience to evangelizing it so it can be as useful to as many people as possible. You're able to justify this all of this expense because you believe that you can either drive enough traffic to your site to earn the money need to support the project through advertising, or because the traffic will provide opportunities to grow your consulting business. Like IBM with Linux, you've found your own strategic benefit to giving away code, a way of having the project pay for itself without requiring license fees. But suppose, as often happens in life, your need to keep a roof over your head means that you need to take a break from the project shortly after launch. So while you've just provided tremendous value to the community, for at least a couple months you simply aren't wealthy enough to keep giving it your primary focus, and need to spend some time earning money through other means before you'll have accrued enough to be able to afford to resume enhancing the project. In the meantime, I recognize the value of what you've done and would like to have the same value at my own site. So rather than contribute new features to the code base hosted at your site, I simply fork the project and host it at my own. To justify this to the community, I might spend as much as 50 hours adding a new feature or two to your work, just enough to make it worthwhile for the traffic to come to my site instead of yours. So you spent 1100 hours building a project from scratch and making a name for it, and I get most of the benefit of that work for a fraction of the effort. Had you chosen a Creative Commons license instead of GPL, you would have been able to share your work just as broadly to as many people as before, but you would also have had the option of requiring that any additions to the code base be contributed to the main project, rather than allowing forked derivatives. This way a project can grow from the same scope of contributions, but it keeps the motivating value where most of the expense was incurred, with the original developer. If I wanted to contribute to your project I can submit enhancements, and you could reward such contributions with acknowledgment and links back to my site. If that wasn't sufficient to motivate me, I still have the freedom to spend my own 1100 hours making my own code base. I recognize that this scenario doesn't apply to all FOSS projects, and for those it doesn't there are plenty of license options to choose from. But unless you've either acquired enough spare cash to be able to work without pay, or find a corporate or governmental sponsor with both their own deep pockets and a strategic reason to dip into them to pay you, there is a need for a license that allows a project to be a single entity, unforkable. Some purists may feel otherwise, and all are entitled to their own opinions and to pursue their own projects as they see fit. But all code incurs material expense to produce, and that expense must be covered for a project to be viable. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From ambassador at fourthworld.com Sat Jan 8 11:01:15 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 08 Jan 2011 08:01:15 -0800 Subject: Preferences on first start-up Message-ID: <4D288A4B.1060604@fourthworld.com> william humphrey wrote: > Has anyone built a preferences stack which can be used in any livecode app > and which checks on start-up specialfolderpath("preferences") to see if the > file is there and creates it if not? I just noticed an app in Apple's new > app store which views the preferences file for any application (they are all > xml files with .plist) and wondered if someone has built a stack which > adheres to this standard that everyone can use in their applications? One of the slow-but-ongoing projects at the Rev Interoperability Group is stdLib, a library of common handlers and functions needed by most apps. stdLib includes handlers to get and set prefs, both of which use a function that returns the path to the prefs file in an appropriate place on both OS X and Windows (needs to be extended to include Linux too). That function first checks if the prefs stack already exists, and if not it creates it. The RIP home page is: I'll take this opportunity to draw attention to another intiative there that's very valuable IMO but has so far garnered little active support: - the creation of a behavior script for fields to handle data input validation and masking. The goal of RIP is to identify needs for components and tools that are useful enough to be worth doing, and focused enough in scope that they could actually get done. If you can spare any time to contribute to such things, the aim is to release anything made there under the ultra-flexible terms of either the MIT license or public domain, so all can benefit without concerns about licensing for use in commercial work. I hope to see some of you there. Most of the current members have been so busy on other projects that we could sure use some fresh blood. :) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From pmbrig at gmail.com Sat Jan 8 11:03:38 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Sat, 8 Jan 2011 11:03:38 -0500 Subject: RevOnline: New version of Shell Command Help In-Reply-To: <4D285F7F.8040707@pdslabs.net> References: <1jurmkf.roc6i1167mx22M%liste.revo@medard.on-rev.com> <6E412F0B-44DB-4D49-84B4-C7ED9DD6ABAB@gmail.com> <4D285F7F.8040707@pdslabs.net> Message-ID: On Jan 8, 2011, at 7:58 AM, Phil Davis wrote: > Try this: > put "ls" into tCommand > put shell("man " & tCommand & " | col -b") into fld 1 > > That is how my Shell Command Help plugin does it. > > Phil Davis Interesting. This trick is documented in the man page for "man" at the bottom, though nowhere in the syntax list does it list the "col" or "- b" parameters. "To get a plain text version of a man page, without backspaces and underscores, try # man foo | col -b > foo.mantxt" Thanks. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From richmondmathewson at gmail.com Sat Jan 8 11:15:51 2011 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 08 Jan 2011 18:15:51 +0200 Subject: Trying to adhere to interface standards Mac OS X In-Reply-To: References: Message-ID: <4D288DB7.809@gmail.com> On 01/08/2011 05:30 PM, william humphrey wrote: > Anyone know an easy way to make windows have a fat gray bar at the top where > you can put your icons for doing things in your app? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Fake it! Just have a group at the top that is set to backGround behavior and populate it either with GIF/PNG images (faux buttons) or buttons which reference off-screen images as icons. From bill at bluewatermaritime.com Sat Jan 8 11:33:41 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Sat, 8 Jan 2011 12:33:41 -0400 Subject: Preferences on first start-up In-Reply-To: <4D288A4B.1060604@fourthworld.com> References: <4D288A4B.1060604@fourthworld.com> Message-ID: This is great. I joined the yahoo group. The files section has lots of stuff, nice. There is a database of image ID's and a database of namespace prefixes also but I don't see any easy way to add new things to those databases. On Sat, Jan 8, 2011 at 12:01 PM, Richard Gaskin wrote: > william humphrey wrote: > >> Has anyone built a preferences stack which can be used in any livecode app >> and which checks on start-up specialfolderpath("preferences") to see if >> the >> file is there and creates it if not? I just noticed an app in Apple's new >> app store which views the preferences file for any application (they are >> all >> xml files with .plist) and wondered if someone has built a stack which >> adheres to this standard that everyone can use in their applications? >> > > One of the slow-but-ongoing projects at the Rev Interoperability Group is > stdLib, a library of common handlers and functions needed by most apps. > > stdLib includes handlers to get and set prefs, both of which use a function > that returns the path to the prefs file in an appropriate place on both OS X > and Windows (needs to be extended to include Linux too). > > That function first checks if the prefs stack already exists, and if not it > creates it. > > The RIP home page is: > > > I'll take this opportunity to draw attention to another intiative there > that's very valuable IMO but has so far garnered little active support: > > - the creation of a behavior script for fields to handle data input > validation and masking. > > The goal of RIP is to identify needs for components and tools that are > useful enough to be worth doing, and focused enough in scope that they could > actually get done. > > If you can spare any time to contribute to such things, the aim is to > release anything made there under the ultra-flexible terms of either the MIT > license or public domain, so all can benefit without concerns about > licensing for use in commercial work. > > I hope to see some of you there. Most of the current members have been so > busy on other projects that we could sure use some fresh blood. :) > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.bluewatermaritime.com From bill at bluewatermaritime.com Sat Jan 8 11:38:31 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Sat, 8 Jan 2011 12:38:31 -0400 Subject: Trying to adhere to interface standards Mac OS X In-Reply-To: <4D288DB7.809@gmail.com> References: <4D288DB7.809@gmail.com> Message-ID: Except that the existing gray window bar has to blend into your wider one because you need the little candy drop window controls in the corner. On Sat, Jan 8, 2011 at 12:15 PM, Richmond wrote: > On 01/08/2011 05:30 PM, william humphrey wrote: > >> Anyone know an easy way to make windows have a fat gray bar at the top >> where >> you can put your icons for doing things in your app? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > Fake it! > > Just have a group at the top that is set to backGround behavior and > populate > it either with GIF/PNG images (faux buttons) or buttons which reference > off-screen > images as icons. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.bluewatermaritime.com From richmondmathewson at gmail.com Sat Jan 8 11:40:52 2011 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 08 Jan 2011 18:40:52 +0200 Subject: Trying to adhere to interface standards Mac OS X In-Reply-To: References: <4D288DB7.809@gmail.com> Message-ID: <4D289394.5000607@gmail.com> On 01/08/2011 06:38 PM, william humphrey wrote: > Except that the existing gray window bar has to blend into your wider one > because you need the little candy drop window controls in the corner. > >> Fake it! >> >> Just have a group at the top that is set to backGround behavior and >> populate >> it either with GIF/PNG images (faux buttons) or buttons which reference >> off-screen >> images as icons. Set your Window decorations to empty and fake the candy drop controls as well . . . :) From bill at bluewatermaritime.com Sat Jan 8 11:46:31 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Sat, 8 Jan 2011 12:46:31 -0400 Subject: Preferences on first start-up In-Reply-To: <4D288A4B.1060604@fourthworld.com> References: <4D288A4B.1060604@fourthworld.com> Message-ID: The stdLib stack on that yahoo group is 1.01b and it was made back in 2007. It does not have any handlers to get and set prefs. On Sat, Jan 8, 2011 at 12:01 PM, Richard Gaskin wrote: > william humphrey wrote: > >> Has anyone built a preferences stack which can be used in any livecode app >> and which checks on start-up specialfolderpath("preferences") to see if >> the >> file is there and creates it if not? I just noticed an app in Apple's new >> app store which views the preferences file for any application (they are >> all >> xml files with .plist) and wondered if someone has built a stack which >> adheres to this standard that everyone can use in their applications? >> > > One of the slow-but-ongoing projects at the Rev Interoperability Group is > stdLib, a library of common handlers and functions needed by most apps. > > stdLib includes handlers to get and set prefs, both of which use a function > that returns the path to the prefs file in an appropriate place on both OS X > and Windows (needs to be extended to include Linux too). > > That function first checks if the prefs stack already exists, and if not it > creates it. > > The RIP home page is: > > > I'll take this opportunity to draw attention to another intiative there > that's very valuable IMO but has so far garnered little active support: > > - the creation of a behavior script for fields to handle data input > validation and masking. > > The goal of RIP is to identify needs for components and tools that are > useful enough to be worth doing, and focused enough in scope that they could > actually get done. > > If you can spare any time to contribute to such things, the aim is to > release anything made there under the ultra-flexible terms of either the MIT > license or public domain, so all can benefit without concerns about > licensing for use in commercial work. > > I hope to see some of you there. Most of the current members have been so > busy on other projects that we could sure use some fresh blood. :) > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.bluewatermaritime.com From bill at bluewatermaritime.com Sat Jan 8 11:47:35 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Sat, 8 Jan 2011 12:47:35 -0400 Subject: Trying to adhere to interface standards Mac OS X In-Reply-To: <4D289394.5000607@gmail.com> References: <4D288DB7.809@gmail.com> <4D289394.5000607@gmail.com> Message-ID: Oh Richmond you're killing me. I wonder if that is how the people who code with c++ do it? On Sat, Jan 8, 2011 at 12:40 PM, Richmond wrote: > On 01/08/2011 06:38 PM, william humphrey wrote: > >> Except that the existing gray window bar has to blend into your wider one >> because you need the little candy drop window controls in the corner. >> >> Fake it! >>> >>> Just have a group at the top that is set to backGround behavior and >>> populate >>> it either with GIF/PNG images (faux buttons) or buttons which reference >>> off-screen >>> images as icons. >>> >> > Set your Window decorations to empty and fake the candy drop controls as > well . . . :) > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.bluewatermaritime.com From richmondmathewson at gmail.com Sat Jan 8 12:10:16 2011 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 08 Jan 2011 19:10:16 +0200 Subject: Trying to adhere to interface standards Mac OS X In-Reply-To: References: <4D288DB7.809@gmail.com> <4D289394.5000607@gmail.com> Message-ID: <4D289A77.4050700@gmail.com> On 1/8/11 6:47 PM, william humphrey wrote: > Oh Richmond you're killing me. I wonder if that is how the people who code > with c++ do it? It would not surprise me one bit. Having lived and worked for quite a few years of my life in Universities I am well aware just how much is fake and/or done with smoke and mirrors. Why does this trouble you? The important thing is that it should look the way you want, and have the functionality you want . . . . :) > On Sat, Jan 8, 2011 at 12:40 PM, Richmondwrote: > >> On 01/08/2011 06:38 PM, william humphrey wrote: >> >>> Except that the existing gray window bar has to blend into your wider one >>> because you need the little candy drop window controls in the corner. >>> >>> Fake it! >>>> Just have a group at the top that is set to backGround behavior and >>>> populate >>>> it either with GIF/PNG images (faux buttons) or buttons which reference >>>> off-screen >>>> images as icons. >>>> >> Set your Window decorations to empty and fake the candy drop controls as >> well . . . :) >> From david at vaudevillecourt.tv Sat Jan 8 12:26:23 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Sat, 8 Jan 2011 17:26:23 +0000 Subject: Creative Common Copyright Notice in Standalones In-Reply-To: <4D28881F.508@fourthworld.com> References: <4D28881F.508@fourthworld.com> Message-ID: Just keeping to the parts: On 8 January 2011 15:51, Richard Gaskin wrote: > Had you chosen a Creative Commons license instead of GPL, you would have > been able to share your work just as broadly to as many people as before, > but you would also have had the option of requiring that any additions to > the code base be contributed to the main project, rather than allowing > forked derivatives. > I'm not sure what you mean here - are you talking about the "No Derivatives" option ? While this prevents creating a derived work, it does nothing to stop someone hosting the content on their site - as in your example? I've not explored the use cases of the No-Derivative clauses that much - as the only ones I've come across it artists wanting to keep control of the integrity of the work - but you've got me intrigued. What is it that you want to prevent - other than someone hosting the content? I just can;t get my head around the business use case that relates to the license here. On forking in general, that does come up a lot, and so far in all the business cases I've seen. while the possibility of a fork certainly frightens many people, I have actually never seen a clear cut case of it damaging a commercial project - that is I've not seen any real world examples of individual or companies having their work forked and losing out - it has in all the cases I've looked at turned out that the main developer keeps the community, except in cases in which the developer moves on to other work - in which case the code would have died without the possibility of low friction forking. Indeed the main developer has nearly always benefited by being commercially valuable to competitors due to their position in the community and knowledge of the people and code base - so they end up getting a good deal from what otherwise would have been a hostile takeover of competitive product. I would really like to hear examples of companies or individuals having lost out commercially by having their code forked - maybe there are cases but people just keep quiet about them? I have experience of many projects not working out, but these have always been down to a failure of attracting developers, or related issues often as a result of taking a half-open approach. I can see stopping others from benefiting commercially (the non-commercial option) as preventing the type of revenue loss you mention - for instance through advertising revenue, but the GPL type clauses force projects to contribute back to the main project, which in practice is sufficient to prevent destructive forking for active projects? Thanks for taking the time to respond - my interest is in real business models built around licenses, or other legal innovations - and not the politics :)** From chipp at altuit.com Sat Jan 8 12:34:51 2011 From: chipp at altuit.com (Chipp Walters) Date: Sat, 8 Jan 2011 11:34:51 -0600 Subject: [OT] Lest We Forget In-Reply-To: <4D282510.2050003@gmail.com> References: <663DC363-B7C5-4A3A-B0FE-C7A5CA0D82A8@free.fr> <4D282510.2050003@gmail.com> Message-ID: Well said, Richmond. Chipp Walters CEO, Shafer Walters Group, Inc On Jan 8, 2011, at 2:49 AM, Richmond wrote: > We are all considerably poorer with his death. I so hope he is in a better place > and is, maybe, somehow, aware of our feelings towards him. From liste.revo at medard.on-rev.com Sat Jan 8 13:31:50 2011 From: liste.revo at medard.on-rev.com (Medard) Date: Sat, 8 Jan 2011 19:31:50 +0100 Subject: RevOnline: New version of Shell Command Help In-Reply-To: <4D285F7F.8040707@pdslabs.net> Message-ID: <1jusjah.11ijgntcznm80M%liste.revo@medard.on-rev.com> Phil Davis wrote: > put shell("man " & tCommand & " | col -b") into fld 1 You are a Command Line God! :-) the obtained file is perfect! NB: it is possible to write directly tman to the navigator window, but as it eats spaces, the result is somewhat indigestible... From liste.revo at medard.on-rev.com Sat Jan 8 13:44:36 2011 From: liste.revo at medard.on-rev.com (Medard) Date: Sat, 8 Jan 2011 19:44:36 +0100 Subject: RevOnline: New version of Shell Command Help In-Reply-To: Message-ID: <1jusk16.mr8d9h1acqibmM%liste.revo@medard.on-rev.com> Peter Brigham MD wrote: > "To get a plain text version of a man page, without backspaces and > underscores, try > # man foo | col -b > foo.mantxt" on the server: tman.txt") put "Done!!" ?> works great also, almost a one-liner ;-) tman.txt") ?> works also :-) From m.schonewille at economy-x-talk.com Sat Jan 8 15:30:39 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 8 Jan 2011 21:30:39 +0100 Subject: ANN: Installer Maker Plugin 1.5.1 for LiveCode Message-ID: Hi everybody, While keeping an eye on the Live LiveCode Code event, which you currently can still watch at http://blog.livecode.tv/david/ , I updated the Installer Maker Plugin for LiveCode. This new version of the Installer Maker Plugin fixes a proble, which prevented the addition of multiple files (as opposed to folders and single files). More info is available at http://rrinstallermaker.economy-x-talk.com . This is a free update for everyone who bought a license during the past 3 months. You can buy an upgrade with a 50% discount, if your license is less than 1 year old, -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce From scott at tactilemedia.com Sat Jan 8 17:23:23 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 08 Jan 2011 14:23:23 -0800 Subject: Software Order Processing Service? Message-ID: Hey List Members: Does anyone have a recommendation for an inexpensive service that provides automated processing of software orders -- once an order is completed and approved, a reg code is sent to the user's email address. I don't have high volume, but the "manual labor" process I've been using for years is getting tiresome and I figure by now there must be an affordable better way. Years ago when I was searching for options, I saw a few services that worked with fees based on percentage of software cost. This seemed odd to me because whether the software cost 1 dollar or 1000 dollars, there's no difference in the service provided: approve the transaction, send a reg code. I guess I could understand the fee if the service provider acted as the bank as well, but I assumed transactions were handled by a separate credit processing company (maybe not). Anyway, thanks in advance for any recommendations. Regards, Scott Rossi Creative Director Tactile Media, UX Design From revdev at pdslabs.net Sat Jan 8 17:23:28 2011 From: revdev at pdslabs.net (Phil Davis) Date: Sat, 08 Jan 2011 14:23:28 -0800 Subject: RevOnline: New version of Shell Command Help In-Reply-To: <1jusjah.11ijgntcznm80M%liste.revo@medard.on-rev.com> References: <1jusjah.11ijgntcznm80M%liste.revo@medard.on-rev.com> Message-ID: <4D28E3E0.2030301@pdslabs.net> On 1/8/11 10:31 AM, Medard wrote: > Phil Davis wrote: > >> put shell("man "& tCommand& " | col -b") into fld 1 > put shell("man ls | col -b") into tman > put tman into url "file:manls.txt" > put "Done!!" > ?> > > You are a Command Line God! That's a name I have never been called. ;-) > :-) > > the obtained file is perfect! > > NB: it is possible to write directly tman to the navigator window, but > as it eats spaces, the result is somewhat indigestible... What happens if you do this? Maybe this would let you put it to the navigator window: > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From m.schonewille at economy-x-talk.com Sat Jan 8 17:29:25 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 8 Jan 2011 23:29:25 +0100 Subject: Software Order Processing Service? In-Reply-To: References: Message-ID: Scott, I made one with PayPal. It has advantages and disadvantages, but of all services I looked into it is the one with the fewest disadvantages (I write it this way on purpose). I will be making two more during the next week, also with PayPal. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 8 jan 2011, at 23:23, Scott Rossi wrote: > Hey List Members: > > Does anyone have a recommendation for an inexpensive service that provides > automated processing of software orders -- once an order is completed and > approved, a reg code is sent to the user's email address. > > I don't have high volume, but the "manual labor" process I've been using for > years is getting tiresome and I figure by now there must be an affordable > better way. Years ago when I was searching for options, I saw a few > services that worked with fees based on percentage of software cost. This > seemed odd to me because whether the software cost 1 dollar or 1000 dollars, > there's no difference in the service provided: approve the transaction, send > a reg code. I guess I could understand the fee if the service provider > acted as the bank as well, but I assumed transactions were handled by a > separate credit processing company (maybe not). > > Anyway, thanks in advance for any recommendations. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design From pete at mollysrevenge.com Sat Jan 8 17:34:46 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Sat, 8 Jan 2011 14:34:46 -0800 Subject: Software Order Processing Service? In-Reply-To: References: Message-ID: <41607FB1-E17D-4D05-97A7-6F07931F14AD@mollysrevenge.com> I've seen this implemented with PayPal. I believe you can send people to a web page of your choice after a transaction is completed and that web page gets information about the transaction sent to it. You'd have to write some sort of code to take that info and email a registration code to the purchaser. I guess the plus side is that there is no extra fee other than Paypal's usual transaction fee. Pete Haworth On Jan 8, 2011, at 2:23 PM, Scott Rossi wrote: > Hey List Members: > > Does anyone have a recommendation for an inexpensive service that provides > automated processing of software orders -- once an order is completed and > approved, a reg code is sent to the user's email address. > > I don't have high volume, but the "manual labor" process I've been using for > years is getting tiresome and I figure by now there must be an affordable > better way. Years ago when I was searching for options, I saw a few > services that worked with fees based on percentage of software cost. This > seemed odd to me because whether the software cost 1 dollar or 1000 dollars, > there's no difference in the service provided: approve the transaction, send > a reg code. I guess I could understand the fee if the service provider > acted as the bank as well, but I assumed transactions were handled by a > separate credit processing company (maybe not). > > Anyway, thanks in advance for any recommendations. > > 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 bvg at mac.com Sat Jan 8 17:39:16 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 08 Jan 2011 23:39:16 +0100 Subject: Live LiveCode Code event #5 In-Reply-To: <4CCC0AEB-1FB8-47DA-BB5D-6EA8F86B2F5D@mac.com> References: <4CCC0AEB-1FB8-47DA-BB5D-6EA8F86B2F5D@mac.com> Message-ID: <8E954BEC-877D-4D21-9317-56C96CBAA23E@mac.com> It's been a great show yet again, with me coughing myself trough the presentation, and David forgetting to record (for the last time, he promised). Look at my labelfield stack: http://blog.livecode.tv/wp-content/uploads/2011/01/labelfield.zip And my recorded presentation: http://www.ustream.tv/recorded/11893484 No ribbons, but next time we'll have some eHUG sponsored eBooks for eGiveaway! http://www.ehug.info/ See you next Saturday Bjoernke On 7 Jan 2011, at 21:42, Bj?rnke von Gierke wrote: > Dearest Developers > > For the first time this year, the live madness returns. This time I (Bjoernke) will start the show, and I'll be showing off a plugin I have made for the IDE. It allows me to edit the text of label fields by double clicking them (pointer mode only). > http://livecode.tv/bvg/ > > After I'm finished, David will show a way to create text representations of stacks, or in his own words: "Hacking LiveCode - using open text based stack formats, to find out what has changed and who changed it!" > http://livecode.tv/david/ > > Note that the day of the week poll is closed. With an overwhelming majority liking the show to be on Saturdays! Therefore, please go to the new poll and vote for your favourite times for the show to start at: > http://doodle.com/azvfdcvs7ew2imrx > > Join us this Saturday: > Zurich: 20:00 > Buenos Aires: 16:00 > New York: 14:00 > San Francisco: 11:00 > Sydney: 06:00 > > Make sure to use ChatRev during the happening, otherwise you might miss when you'll need to change to the other stream: > http://bjoernke.com?target=chatrev > or: > go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" > > If you want to get regular notification of this event, please subscribe to the rss feed of the blog (about 2 updates per week): > feed://livecode.tv/feed/ > > Have fun > Bjoernke > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kkaufman at snet.net Sat Jan 8 18:02:49 2011 From: kkaufman at snet.net (Kurt Kaufman) Date: Sat, 8 Jan 2011 18:02:49 -0500 Subject: Audioclips: can't get at the data? Message-ID: <2B07F8CE-CCE8-4401-95FF-8C4F31669C9A@snet.net> Stephen Barncard wrote: > ...What's needed to make a usable audio file is just to provide the appropriate > header info, which obviously missing. The binary data with no or special > headers is stored in the stack as an audioclip. Are there hidden properties > of the individual audioclip object ( such as sample rate ) that can be found > before export?... Isn't there a reference to "standard" headers for the various sound file formats- the way there is for MIDI files? For instance, for AIFF: http://uweb.txstate.edu/~me02/tutorials/sound_file_formats/aifc/docs/aifc.htm -and- http://uweb.txstate.edu/~me02/tutorials/sound_file_formats/aiff/common.htm and for WAVE: http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/WAVE/WAVE.html I'm presuming here that in the case of, for example AIFF, the length of the raw binary sound data could be read by LiveCode so as to be able to define cksize and other chunk components. This could then be added to create the required header. Am I mistaken? Or would this be too much to bother with? Perhaps the length of audio data, as opposed to MIDI data, makes this method impractical? Of course, best would be for this to be a built-in function. -Kurt From martyknapp at comcast.net Sat Jan 8 18:11:57 2011 From: martyknapp at comcast.net (Marty Knapp) Date: Sat, 08 Jan 2011 15:11:57 -0800 Subject: Software Order Processing Service? In-Reply-To: References: Message-ID: <4D28EF3D.1030005@comcast.net> Hi Scott, I just signed up with FastSpring.com. So far, so good. You can provide them with a list of registration codes that then get sent to the customer upon successful payment. Their control panel/setup is pretty straight forward. They do charge an 8.9% processing fee. In my search, I didn't find anyone who didn't go by a percentage. FastSpring can also customize the checkout page so that it matches the rest of your site very nicely (you have to ask for this). You get paid either once or twice a month - your choice. PayPal works pretty good if you don't need to deal with registration codes. I would also be interested in what others are using. Especially as regards disseminating registration codes. HTH, Marty Knapp > Hey List Members: > > Does anyone have a recommendation for an inexpensive service that provides > automated processing of software orders -- once an order is completed and > approved, a reg code is sent to the user's email address. > > I don't have high volume, but the "manual labor" process I've been using for > years is getting tiresome and I figure by now there must be an affordable > better way. Years ago when I was searching for options, I saw a few > services that worked with fees based on percentage of software cost. This > seemed odd to me because whether the software cost 1 dollar or 1000 dollars, > there's no difference in the service provided: approve the transaction, send > a reg code. I guess I could understand the fee if the service provider > acted as the bank as well, but I assumed transactions were handled by a > separate credit processing company (maybe not). > > Anyway, thanks in advance for any recommendations. > > 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 pepetoo at cox.net Sat Jan 8 18:27:18 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Sat, 8 Jan 2011 15:27:18 -0800 Subject: Menu Question Message-ID: <63BDFE62-B1C7-43B1-ADBB-D4F966620A42@cox.net> Can anyone tell me what condition or property for which I can check to see if a menu is "open"; it's been clicked on or (for example) an option/F has displayed the File Menu's contents? I have no idea what to look for in the Dictionary. Joe Lewis Wilkins Architect & Director of Product Development for GSI From m.schonewille at economy-x-talk.com Sat Jan 8 18:29:13 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 9 Jan 2011 00:29:13 +0100 Subject: Software Order Processing Service? In-Reply-To: <4D28EF3D.1030005@comcast.net> References: <4D28EF3D.1030005@comcast.net> Message-ID: <4EC7FBFE-45BD-4B53-AF07-45B81EF12A6A@economy-x-talk.com> Hi Marty, Such systems with fixed registration codes are very sensitive to hacking. My registration systems are based on a name entered by the buyer or linked to the PayPal account. That makes illegal distribution of the registration code slightly less probable. I think that 8.9% is very expensive, although for very cheap products it might be a good thing, if there isn't also a minimum fee. Customisation sounds good, that might be a reason for me to still look into this. Actually, PayPal has an easy-to-implement, very effective and inexpensive system to deal with registration codes (and any other item you might want to sell on-line). I just don't like their policies (e.g. PayPal makes it impossible for software company to proof that a license has been delivered in case if a dispute). I tend to say: I'll open an open-source website for this, but since the OAuth initiative didn't bring anything, I believe I won't try this again. -- Best regards, Mark Schonewille P.S. To anyone who wrote me an e-mail recently: please be patient, I will get back to you. Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 9 jan 2011, at 00:11, Marty Knapp wrote: > Hi Scott, > > I just signed up with FastSpring.com. So far, so good. You can provide them with a list of registration codes that then get sent to the customer upon successful payment. Their control panel/setup is pretty straight forward. They do charge an 8.9% processing fee. In my search, I didn't find anyone who didn't go by a percentage. FastSpring can also customize the checkout page so that it matches the rest of your site very nicely (you have to ask for this). You get paid either once or twice a month - your choice. > > PayPal works pretty good if you don't need to deal with registration codes. > > I would also be interested in what others are using. Especially as regards disseminating registration codes. From scott at tactilemedia.com Sat Jan 8 18:30:43 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 08 Jan 2011 15:30:43 -0800 Subject: Software Order Processing Service? In-Reply-To: <41607FB1-E17D-4D05-97A7-6F07931F14AD@mollysrevenge.com> Message-ID: Thanks Mark/Peter/Marty for the responses. I guess I should have been more clear about handling reg codes -- I'd like this to be part of the order processing. I currently have a PayPal account and handle all my software purchase transactions through them, which works fine. But I'm sending out reg codes manually, and in this era of immediate gratification, within the same day is often not fast enough. I'd like to find a service that handles the reg codes automatically once the financial transaction is completed. Thanks for any additional suggestions. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Peter Haworth wrote: > I've seen this implemented with PayPal. I believe you can send people to a > web page of your choice after a transaction is completed and that web page > gets information about the transaction sent to it. You'd have to write some > sort of code to take that info and email a registration code to the purchaser. > I guess the plus side is that there is no extra fee other than Paypal's usual > transaction fee. From m.schonewille at economy-x-talk.com Sat Jan 8 18:35:13 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 9 Jan 2011 00:35:13 +0100 Subject: Software Order Processing Service? In-Reply-To: References: Message-ID: <51865B09-F8C7-40B1-818D-AA5201181376@economy-x-talk.com> Scott, Yes, I did what you want. PayPal has a PHP library for it (which is easier to use than Facebook ;-) ) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 9 jan 2011, at 00:30, Scott Rossi wrote: > Thanks Mark/Peter/Marty for the responses. > > I guess I should have been more clear about handling reg codes -- I'd like > this to be part of the order processing. I currently have a PayPal account > and handle all my software purchase transactions through them, which works > fine. But I'm sending out reg codes manually, and in this era of immediate > gratification, within the same day is often not fast enough. I'd like to > find a service that handles the reg codes automatically once the financial > transaction is completed. > > Thanks for any additional suggestions. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > From jacque at hyperactivesw.com Sat Jan 8 18:37:59 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 08 Jan 2011 17:37:59 -0600 Subject: Software Order Processing Service? In-Reply-To: References: Message-ID: <4D28F557.3080400@hyperactivesw.com> On 1/8/11 5:30 PM, Scott Rossi wrote: > Thanks Mark/Peter/Marty for the responses. > > I guess I should have been more clear about handling reg codes -- I'd like > this to be part of the order processing. I currently have a PayPal account > and handle all my software purchase transactions through them, which works > fine. But I'm sending out reg codes manually, and in this era of immediate > gratification, within the same day is often not fast enough. I'd like to > find a service that handles the reg codes automatically once the financial > transaction is completed. Kagi does all that. I don't know what their current rate fees are though. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Jan 8 18:42:32 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 08 Jan 2011 17:42:32 -0600 Subject: Menu Question In-Reply-To: <63BDFE62-B1C7-43B1-ADBB-D4F966620A42@cox.net> References: <63BDFE62-B1C7-43B1-ADBB-D4F966620A42@cox.net> Message-ID: <4D28F668.6010302@hyperactivesw.com> On 1/8/11 5:27 PM, Joe Lewis Wilkins wrote: > Can anyone tell me what condition or property for which I can check > to see if a menu is "open"; it's been clicked on or (for example) an > option/F has displayed the File Menu's contents? I have no idea what > to look for in the Dictionary. There isn't one, you'd have to track it yourself somehow. Why do you need to know that? Maybe there's another approach. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dixonja at hotmail.co.uk Sat Jan 8 18:44:27 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Sat, 8 Jan 2011 23:44:27 +0000 Subject: Menu Question In-Reply-To: <63BDFE62-B1C7-43B1-ADBB-D4F966620A42@cox.net> References: <63BDFE62-B1C7-43B1-ADBB-D4F966620A42@cox.net> Message-ID: Have a look at menuHistory in the dictionary ... > Can anyone tell me what condition or property for which I can check to see if a menu is "open"; it's been clicked on or (for example) an option/F has displayed the File Menu's contents? I have no idea what to look for in the Dictionary. > > Joe Lewis Wilkins > Architect & Director of Product Development for GSI > From mwieder at ahsoftware.net Sat Jan 8 18:45:29 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 8 Jan 2011 15:45:29 -0800 Subject: Software Order Processing Service? In-Reply-To: <4D28F557.3080400@hyperactivesw.com> References: <4D28F557.3080400@hyperactivesw.com> Message-ID: <97304152765.20110108154529@ahsoftware.net> Jacque- Saturday, January 8, 2011, 3:37:59 PM, you wrote: > Kagi does all that. I don't know what their current rate fees are though. About the same. http://www.kagi.com/kagisolutions/pricing.php -- -Mark Wieder mwieder at ahsoftware.net From martyknapp at comcast.net Sat Jan 8 19:01:24 2011 From: martyknapp at comcast.net (Marty Knapp) Date: Sat, 08 Jan 2011 16:01:24 -0800 Subject: Software Order Processing Service? In-Reply-To: References: Message-ID: <4D28FAD4.3020204@comcast.net> FastSpring does what you're asking - they automatically issue the registration codes. They can deal with a list of your codes that you supply in bulk, or they offer a system that also generates the code, though I don't know that there is a way to implement dealing with that in LiveCode. When a sale is completed, you also get, along with the customer info, the code that was issued so you have a record of it. I believe the Kagi system is similar in this regard and their fees are the same, if I'm not mistaken. I wasn't aware that PayPal offered anything for issued registration codes (thanks Mark for that info). Their rates are certainly less. I will look into this. How many of you have used this? Have you found it to be reliable? Fairly easy to implement? Marty > Thanks Mark/Peter/Marty for the responses. > > I guess I should have been more clear about handling reg codes -- I'd like > this to be part of the order processing. I currently have a PayPal account > and handle all my software purchase transactions through them, which works > fine. But I'm sending out reg codes manually, and in this era of immediate > gratification, within the same day is often not fast enough. I'd like to > find a service that handles the reg codes automatically once the financial > transaction is completed. > > Thanks for any additional suggestions. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design From m.schonewille at economy-x-talk.com Sat Jan 8 19:10:58 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 9 Jan 2011 01:10:58 +0100 Subject: Software Order Processing Service? In-Reply-To: <4D28FAD4.3020204@comcast.net> References: <4D28FAD4.3020204@comcast.net> Message-ID: <83B969BC-DE80-46C2-854C-CCB019B8B3FD@economy-x-talk.com> Marty, PayPal provides a library, into which you can hook your own registration system. You still have to make the actual script PHP to generate a license, but you can use the transaction information that's provided in real time by PayPal to create that license. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 9 jan 2011, at 01:01, Marty Knapp wrote: > FastSpring does what you're asking - they automatically issue the registration codes. They can deal with a list of your codes that you supply in bulk, or they offer a system that also generates the code, though I don't know that there is a way to implement dealing with that in LiveCode. > > When a sale is completed, you also get, along with the customer info, the code that was issued so you have a record of it. > > I believe the Kagi system is similar in this regard and their fees are the same, if I'm not mistaken. > > I wasn't aware that PayPal offered anything for issued registration codes (thanks Mark for that info). Their rates are certainly less. I will look into this. How many of you have used this? Have you found it to be reliable? Fairly easy to implement? From david at vaudevillecourt.tv Sat Jan 8 19:16:02 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Sun, 9 Jan 2011 00:16:02 +0000 Subject: Bad text... Message-ID: > > getprop bad_Text > return the text of the target > end bad_Text > > getprop good_Text > put the long id of the target into targetObject > return the text of targetObject > end good_Text > Anyone think these two handlers are equivalent? Think again :) From scott at tactilemedia.com Sat Jan 8 19:17:47 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 08 Jan 2011 16:17:47 -0800 Subject: Software Order Processing Service? In-Reply-To: <83B969BC-DE80-46C2-854C-CCB019B8B3FD@economy-x-talk.com> Message-ID: Recently, Mark Schonewille wrote: > PayPal provides a library, into which you can hook your own registration > system. You still have to make the actual script PHP to generate a license, > but you can use the transaction information that's provided in real time by > PayPal to create that license. I wonder if one could do this with on-rev instead of PHP... Regards, Scott Rossi Creative Director Tactile Media, UX Design From m.schonewille at economy-x-talk.com Sat Jan 8 19:23:25 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 9 Jan 2011 01:23:25 +0100 Subject: Software Order Processing Service? In-Reply-To: References: Message-ID: <2E884106-8F9C-4C75-B9D9-CFCA11C8D549@economy-x-talk.com> Scott, You could, but naturally you'd have to translate the entire PHP library as provided by PayPal to on-rev. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 9 jan 2011, at 01:17, Scott Rossi wrote: > Recently, Mark Schonewille wrote: > >> PayPal provides a library, into which you can hook your own registration >> system. You still have to make the actual script PHP to generate a license, >> but you can use the transaction information that's provided in real time by >> PayPal to create that license. > > I wonder if one could do this with on-rev instead of PHP... > > 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 kee at kagi.com Sat Jan 8 19:24:30 2011 From: kee at kagi.com (Kee Nethery) Date: Sat, 8 Jan 2011 16:24:30 -0800 Subject: Software Order Processing Service? In-Reply-To: <4D28F557.3080400@hyperactivesw.com> References: <4D28F557.3080400@hyperactivesw.com> Message-ID: <95D1B463-43C5-4CF1-8854-2EB8EBBBEB7F@kagi.com> One of the things Kagi can do is run your registration code algorithm on our servers using a livecode stack. We can provide you with a template livecode stack that has fields for all the order data that we can submit to your algorithm. You transfer your algorithm into our template stack and have it populate a regcode field and optionally a second field. We pass that data back to the customer. Kee Nethery From pepetoo at cox.net Sat Jan 8 19:53:05 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Sat, 8 Jan 2011 16:53:05 -0800 Subject: Menu Question In-Reply-To: <4D28F668.6010302@hyperactivesw.com> References: <63BDFE62-B1C7-43B1-ADBB-D4F966620A42@cox.net> <4D28F668.6010302@hyperactivesw.com> Message-ID: <175BF7EC-7361-4F40-9EC7-56AF16D765D3@cox.net> Hi Jacqui, Once a menu has been clicked on or opened using Alt/F (for the File Menu) I want to be able to navigate within the menu using the Up and Down Arrow Keys, or go to the next menu with the Right Arrow key. This is a common method used by Window's users. I remember some time back that we could do the same on Macs. I'm not a keyboard person myself, so I'd actually forgotten about this technique. Joe Lewis Wilkins Architect & Director of Product Development for GSI On Jan 8, 2011, at 3:42 PM, J. Landman Gay wrote: > On 1/8/11 5:27 PM, Joe Lewis Wilkins wrote: >> Can anyone tell me what condition or property for which I can check >> to see if a menu is "open"; it's been clicked on or (for example) an >> option/F has displayed the File Menu's contents? I have no idea what >> to look for in the Dictionary. > > There isn't one, you'd have to track it yourself somehow. Why do you need to know that? Maybe there's another approach. > > -- > 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 pepetoo at cox.net Sat Jan 8 19:56:39 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Sat, 8 Jan 2011 16:56:39 -0800 Subject: Menu Question In-Reply-To: References: <63BDFE62-B1C7-43B1-ADBB-D4F966620A42@cox.net> Message-ID: <19FAAEEF-46D4-48CD-B87B-693B7C56FBC7@cox.net> Thanks John. I'll see if that provides something for me. Joe Lewis Wilkins Architect & Director of Product Development for GSI On Jan 8, 2011, at 3:44 PM, John Dixon wrote: > > > > Have a look at menuHistory in the dictionary ... > >> Can anyone tell me what condition or property for which I can check to see if a menu is "open"; it's been clicked on or (for example) an option/F has displayed the File Menu's contents? I have no idea what to look for in the Dictionary. >> >> Joe Lewis Wilkins >> Architect & Director of Product Development for GSI >> From mwieder at ahsoftware.net Sat Jan 8 20:08:30 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 8 Jan 2011 17:08:30 -0800 Subject: Bad text... In-Reply-To: References: Message-ID: <90309134062.20110108170830@ahsoftware.net> David- Saturday, January 8, 2011, 4:16:02 PM, you wrote: >> getprop bad_Text >> return the text of the target >> end bad_Text >> >> getprop good_Text >> put the long id of the target into targetObject >> return the text of targetObject >> end good_Text >> I get the same results with either here. What are you seeing? -- -Mark Wieder mwieder at ahsoftware.net From bvlahos at mac.com Sat Jan 8 20:26:25 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Sat, 08 Jan 2011 17:26:25 -0800 Subject: Software Order Processing Service? In-Reply-To: References: Message-ID: I use Kagi. They were very helpful with the entire process. Bill Vlahos Sent from my iPhone On Jan 8, 2011, at 2:23 PM, Scott Rossi wrote: > Hey List Members: > > Does anyone have a recommendation for an inexpensive service that provides > automated processing of software orders -- once an order is completed and > approved, a reg code is sent to the user's email address. > > I don't have high volume, but the "manual labor" process I've been using for > years is getting tiresome and I figure by now there must be an affordable > better way. Years ago when I was searching for options, I saw a few > services that worked with fees based on percentage of software cost. This > seemed odd to me because whether the software cost 1 dollar or 1000 dollars, > there's no difference in the service provided: approve the transaction, send > a reg code. I guess I could understand the fee if the service provider > acted as the bank as well, but I assumed transactions were handled by a > separate credit processing company (maybe not). > > Anyway, thanks in advance for any recommendations. > > 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 Sat Jan 8 20:55:37 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 08 Jan 2011 19:55:37 -0600 Subject: Menu Question In-Reply-To: <175BF7EC-7361-4F40-9EC7-56AF16D765D3@cox.net> References: <63BDFE62-B1C7-43B1-ADBB-D4F966620A42@cox.net> <4D28F668.6010302@hyperactivesw.com> <175BF7EC-7361-4F40-9EC7-56AF16D765D3@cox.net> Message-ID: <4D291599.3030206@hyperactivesw.com> On 1/8/11 6:53 PM, Joe Lewis Wilkins wrote: > Hi Jacqui, > > Once a menu has been clicked on or opened using Alt/F (for the File > Menu) I want to be able to navigate within the menu using the Up and > Down Arrow Keys, or go to the next menu with the Right Arrow key. > This is a common method used by Window's users. I remember some time > back that we could do the same on Macs. I'm not a keyboard person > myself, so I'd actually forgotten about this technique. If the menu group is set as the stack's menubar, the arrow keys work automatically the way you want without any scripting.If the menu has focus, the arrow keys should work as-is. (I just tried it in a new stack in Windows 7.) You may have some handlers that are interfering. If you have an arrowkey handler, check to see if the target is your menubar group and just pass arrowkey if that's the case. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pepetoo at cox.net Sat Jan 8 21:48:08 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Sat, 8 Jan 2011 18:48:08 -0800 Subject: Menu Question In-Reply-To: References: <63BDFE62-B1C7-43B1-ADBB-D4F966620A42@cox.net> Message-ID: <151AB629-C66B-46CD-B3D7-2233DDA961CF@cox.net> Hi John, I'm pretty sure I can make this work. Thanks. Joe Lewis Wilkins Architect & Director of Product Development for GSI On Jan 8, 2011, at 3:44 PM, John Dixon wrote: > > > > Have a look at menuHistory in the dictionary ... > >> Can anyone tell me what condition or property for which I can check to see if a menu is "open"; it's been clicked on or (for example) an option/F has displayed the File Menu's contents? I have no idea what to look for in the Dictionary. >> >> Joe Lewis Wilkins >> Architect & Director of Product Development for GSI >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pepetoo at cox.net Sat Jan 8 21:59:11 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Sat, 8 Jan 2011 18:59:11 -0800 Subject: Menu Question In-Reply-To: <4D291599.3030206@hyperactivesw.com> References: <63BDFE62-B1C7-43B1-ADBB-D4F966620A42@cox.net> <4D28F668.6010302@hyperactivesw.com> <175BF7EC-7361-4F40-9EC7-56AF16D765D3@cox.net> <4D291599.3030206@hyperactivesw.com> Message-ID: <5124A93F-C03E-4A4A-B0F1-2CD044AE3DF3@cox.net> Jacqui, Unfortunately, I haven't always used menubars; If I were to start over, something I don't intend to do at this time, I would. And I DO have Arrow key handlers for card navigation. It's one of my preferred ways of moving around. I'm pretty sure the menuHistory property is going to let me do what I want. Thanks for your suggestions though. Always appreciated. Joe Lewis Wilkins Architect & Director of Product Development for GSI On Jan 8, 2011, at 5:55 PM, J. Landman Gay wrote: > On 1/8/11 6:53 PM, Joe Lewis Wilkins wrote: >> Hi Jacqui, >> >> Once a menu has been clicked on or opened using Alt/F (for the File >> Menu) I want to be able to navigate within the menu using the Up and >> Down Arrow Keys, or go to the next menu with the Right Arrow key. >> This is a common method used by Window's users. I remember some time >> back that we could do the same on Macs. I'm not a keyboard person >> myself, so I'd actually forgotten about this technique. > > If the menu group is set as the stack's menubar, the arrow keys work automatically the way you want without any scripting.If the menu has focus, the arrow keys should work as-is. (I just tried it in a new stack in Windows 7.) You may have some handlers that are interfering. If you have an arrowkey handler, check to see if the target is your menubar group and just pass arrowkey if that's the case. > > -- > 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 rman at free.fr Sat Jan 8 22:03:36 2011 From: rman at free.fr (Robert Mann) Date: Sat, 8 Jan 2011 19:03:36 -0800 (PST) Subject: Software Order Processing Service? In-Reply-To: <2E884106-8F9C-4C75-B9D9-CFCA11C8D549@economy-x-talk.com> References: <41607FB1-E17D-4D05-97A7-6F07931F14AD@mollysrevenge.com> <4D28FAD4.3020204@comcast.net> <83B969BC-DE80-46C2-854C-CCB019B8B3FD@economy-x-talk.com> <2E884106-8F9C-4C75-B9D9-CFCA11C8D549@economy-x-talk.com> Message-ID: <1294542216638-3205628.post@n4.nabble.com> Hi for info I set up with not too much trouble, a payment and registration system on my on-rev account using 1) PayPal as payment platform 2) http://www.hyperactivesw.com/solutions_zygodact.html as the registration code generator CGI script. You do not need to re-write any php script, the process is quite well documented on PayPal. I only tested that with the Paypal Sandbox, and not yet in real life. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Software-Order-Processing-Service-tp3205455p3205628.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Sat Jan 8 22:24:11 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 08 Jan 2011 21:24:11 -0600 Subject: Menu Question In-Reply-To: <5124A93F-C03E-4A4A-B0F1-2CD044AE3DF3@cox.net> References: <63BDFE62-B1C7-43B1-ADBB-D4F966620A42@cox.net> <4D28F668.6010302@hyperactivesw.com> <175BF7EC-7361-4F40-9EC7-56AF16D765D3@cox.net> <4D291599.3030206@hyperactivesw.com> <5124A93F-C03E-4A4A-B0F1-2CD044AE3DF3@cox.net> Message-ID: <4D292A5B.1050508@hyperactivesw.com> On 1/8/11 8:59 PM, Joe Lewis Wilkins wrote: > Jacqui, > > Unfortunately, I haven't always used menubars; If I were to start > over, something I don't intend to do at this time, I would. And I DO > have Arrow key handlers for card navigation. It's one of my preferred > ways of moving around. Unless you need to skip certain cards or otherwise control which is the "next" card, you don't need arrowkey handlers for that. Just set the navigationarrows to true and card navigation by arrow keys will happen automatically. But even if you do need arrowkey handlers, you can just check in the first line to see if the target contains the name of your menu group. Pass arrowkey if that's the case. If there are no menus on the card, the test won't be true and the handler will continue as it does now. > I'm pretty sure the menuHistory property is > going to let me do what I want. See how it goes. I don't think menuhistory changes until after the menu is closed. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sims at ezpzapps.com Sat Jan 8 22:26:57 2011 From: sims at ezpzapps.com (Jim Sims) Date: Sun, 9 Jan 2011 04:26:57 +0100 Subject: Software Order Processing Service? In-Reply-To: References: Message-ID: <0D9E2B39-BDC3-47C4-9ADA-DF75C5783A04@ezpzapps.com> On Jan 9, 2011, at 12:30 AM, Scott Rossi wrote: > Thanks Mark/Peter/Marty for the responses. > > I guess I should have been more clear about handling reg codes -- I'd like > this to be part of the order processing. I currently have a PayPal account > and handle all my software purchase transactions through them, which works > fine. But I'm sending out reg codes manually, and in this era of immediate > gratification, within the same day is often not fast enough. I'd like to > find a service that handles the reg codes automatically once the financial > transaction is completed. > > Thanks for any additional suggestions. Kagi.com sims From jacque at hyperactivesw.com Sat Jan 8 22:34:40 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 08 Jan 2011 21:34:40 -0600 Subject: Menu Question In-Reply-To: <4D292A5B.1050508@hyperactivesw.com> References: <63BDFE62-B1C7-43B1-ADBB-D4F966620A42@cox.net> <4D28F668.6010302@hyperactivesw.com> <175BF7EC-7361-4F40-9EC7-56AF16D765D3@cox.net> <4D291599.3030206@hyperactivesw.com> <5124A93F-C03E-4A4A-B0F1-2CD044AE3DF3@cox.net> <4D292A5B.1050508@hyperactivesw.com> Message-ID: <4D292CD0.3000201@hyperactivesw.com> I wrote: > > But even if you do need arrowkey handlers, you can just check in the > first line to see if the target contains the name of your menu group. > Pass arrowkey if that's the case. If there are no menus on the card, the > test won't be true and the handler will continue as it does now. That's a little bit not right. I should have said to check if the name of your menubar is in the long name of the target. If you just check the target, you'll get the name of the menu button which won't work. In other words, add this one line to the top of your arrowkey handler: on arrowkey pWhich if "the name of my menubar" is in the long name of the target then pass arrowkey -- rest of existing handler goes here end arrowkey But I'd be surprised if you really need the arrowkey handler at all unless you're doing something non-standard with navigation. You should be able to ignore arrowkeys entirely and get the correct navigation and correct menubar behavior without doing anything. LiveCode's pretty smart about that stuff. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pepetoo at cox.net Sat Jan 8 22:44:04 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Sat, 8 Jan 2011 19:44:04 -0800 Subject: Menu Question In-Reply-To: <4D292CD0.3000201@hyperactivesw.com> References: <63BDFE62-B1C7-43B1-ADBB-D4F966620A42@cox.net> <4D28F668.6010302@hyperactivesw.com> <175BF7EC-7361-4F40-9EC7-56AF16D765D3@cox.net> <4D291599.3030206@hyperactivesw.com> <5124A93F-C03E-4A4A-B0F1-2CD044AE3DF3@cox.net> <4D292A5B.1050508@hyperactivesw.com> <4D292CD0.3000201@hyperactivesw.com> Message-ID: <95BC2B42-B8AA-4751-8404-1BF1057ADD38@cox.net> That's one of the frustrating aspects of LC; I'm accustomed to rolling my own. I'd really prefer that LC stayed out of the way. Remember, my foundation in programming is Assembler. HC didn't have as many "hidden" characteristics as LC. It's almost impossible for someone like me who is only an occasional coder to keep up with Rev/LC progress. Right now I am so far behind that I will never catch up. With my vision problems trying to read all the stuff is just not the way to go. I've tried to use the Dictionary a number of times, but the text is too damn small and there is no preference that I've found to make it any larger. Joe Lewis Wilkins Architect & Director of Product Development for GSI On Jan 8, 2011, at 7:34 PM, J. Landman Gay wrote: > But I'd be surprised if you really need the arrowkey handler at all unless you're doing something non-standard with navigation. You should be able to ignore arrowkeys entirely and get the correct navigation and correct menubar behavior without doing anything. LiveCode's pretty smart about that stuff. From warrenkuhl at gmail.com Sun Jan 9 02:30:09 2011 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Sun, 9 Jan 2011 01:30:09 -0600 Subject: List Field Problem Message-ID: I created a scrolling list field with 6 choices. The list field is larger then the 6 choices I have included as more can be added by the user. When I click in the empty space below the 6 choices, it will either hilite the first line or my last line that I selected. This happens even after I set the hilitedlines of field "field1" to empty. Is there anyway to only hilite a line in a list field if I specifically select the line? Thanks for any help! Warren From dixonja at hotmail.co.uk Sun Jan 9 02:50:43 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Sun, 9 Jan 2011 07:50:43 +0000 Subject: List Field Problem In-Reply-To: References: Message-ID: In the script of the list field... set the hilitedLines of me to word 2 of the clickLine > I created a scrolling list field with 6 choices. The list field is larger > then the 6 choices I have included as more can be added by the user. When I > click in the empty space below the 6 choices, it will either hilite the > first line or my last line that I selected. This happens even after I set > the hilitedlines of field "field1" to empty. > > Is there anyway to only hilite a line in a list field if I specifically > select the line? > > Thanks for any help! > Warren From dixonja at hotmail.co.uk Sun Jan 9 02:54:55 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Sun, 9 Jan 2011 07:54:55 +0000 Subject: List Field Problem In-Reply-To: References: , Message-ID: In the script of the list field... set the hilitedLines of me to word 2 of the clickLine and I forgot to say uncheck autohilite in the property inspector of the list field... > > I created a scrolling list field with 6 choices. The list field is larger > > then the 6 choices I have included as more can be added by the user. When I > > click in the empty space below the 6 choices, it will either hilite the > > first line or my last line that I selected. This happens even after I set > > the hilitedlines of field "field1" to empty. > > > > Is there anyway to only hilite a line in a list field if I specifically > > select the line? > > > > Thanks for any help! > > Warren From scott at tactilemedia.com Sun Jan 9 03:02:37 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 09 Jan 2011 00:02:37 -0800 Subject: How To "Get" Properties in iOS? Message-ID: Using the iOS scroller setup, I understand how to use the following to set the scroll value: iphoneControlSet sScrollerId, "vscroll", 0 Now what's the script to "get" the scroll value? I tried: iphoneControlGet sScrollerId, "vscroll" answer it iphoneControlGet sScrollerId, "vscroll" answer the result get iphoneControlGet sScrollerId, "vscroll" answer it Nothing seems to work. I must be missing something simple -- what's the correct syntax here? Also to RunRev -- shouldn't the "iphone" references in the iOS commands use "mobile" instead to be more comprehensive when support for other mobile devices is provided? mobileControlSet sScrollerId Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX Design From claus at dreischer.de Sun Jan 9 03:15:16 2011 From: claus at dreischer.de (Claus Dreischer) Date: Sun, 09 Jan 2011 09:15:16 +0100 Subject: size of window decorations In-Reply-To: <4D25F129.4030305@dreischer.de> References: <4D25E03F.2060802@fourthworld.com> <4D25F129.4030305@dreischer.de> Message-ID: <4D296E94.4040005@dreischer.de> ... and this stack script is what i came up with (i only needed a windows XP solution) (beware of email line breaks): -- shrink to min revChangeWindowSize the minWidth of me, the minHeight of me,"slide",,500 revUpdateGeometry -- get dimensions from screen and stack set the itemDelimiter to comma put item 3 of the working screenRect into screen_x put the width of this stack into stack_x put the height of this stack into stack_y -- get dimension from window caption get queryRegistry("HKEY_CURRENT_USER\Control Panel\desktop\WindowMetrics\CaptionHeight") if (it is not a number) or ( it = 0) then put 18 into stack_caption else put round(it / -15) into stack_caption -- strange dimension end if -- move window in upper right corner move this stack to screen_x - round(stack_x/2) - 4, round(stack_y/2) + stack_caption + 4 in 1 sec From scott at elementarysoftware.com Sun Jan 9 04:01:20 2011 From: scott at elementarysoftware.com (Scott Morrow) Date: Sun, 9 Jan 2011 01:01:20 -0800 Subject: Software Order Processing Service? In-Reply-To: References: Message-ID: Hello Scott, As Robert Mann noted, you can do this with on-rev and PayPal's ipn (Instant Payment Notification) mechanism. If you decide to use this route, the script below gives the basics of how I scripted a beginning. ------------------------------------------------------------ ------------------------------------------------------------ Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com On Jan 8, 2011, at 4:17 PM, Scott Rossi wrote: > Recently, Mark Schonewille wrote: > >> PayPal provides a library, into which you can hook your own registration >> system. You still have to make the actual script PHP to generate a license, >> but you can use the transaction information that's provided in real time by >> PayPal to create that license. > > I wonder if one could do this with on-rev instead of PHP... > > 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 david at vaudevillecourt.tv Sun Jan 9 04:51:15 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Sun, 9 Jan 2011 09:51:15 +0000 Subject: Bad text... In-Reply-To: <90309134062.20110108170830@ahsoftware.net> References: <90309134062.20110108170830@ahsoftware.net> Message-ID: On 9 January 2011 01:08, Mark Wieder wrote: > > >> getprop bad_Text > >> return the text of the target > >> end bad_Text > >> > >> getprop good_Text > >> put the long id of the target into targetObject > >> return the text of targetObject > >> end good_Text > >> > > I get the same results with either here. What are you seeing? > It's actually pretty annoying - or interesting depending what mood you are in :) Very basic: - Create a stack with 2 cards - Create a field on the second card with the text "Hello World!" - Set the stack script to: getprop bad_Text > return the text of the target > end bad_Text > > getprop good_Text > put the long id of the target into targetObject > return the text of targetObject > end good_Text On the first card try "put the good_Text of fld 1 of cd 2", which works as expected, but "put the bad_Text of fld 1 of cd 2" returns empty! It gets even more complicated if you try to get "the properties of fld 1 of cd 2" - where the "long id" trick no longer works. This is a basic feature of the way "the target" works and not to do with using getprop / setprops. I'd call it a serious bug - as this is not how "the target" should work, even worse is that the simple line "get the properties of fld 2 of cd 1" returns the wrong result whichever way you construct it - the only way to get the real properties is a hack like the following: put the properties of fld 1 of cd 2 into propArray put the htmltext of fld 1 of cd 2 into propArray ["htmlText"] Though in real world scripts you need to check the target is a field, and add a similar hack for the "hilite" From david at vaudevillecourt.tv Sun Jan 9 04:58:31 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Sun, 9 Jan 2011 09:58:31 +0000 Subject: Plugin messages: revSaveStackRequest Message-ID: Has anyone successfully used the "revSaveStackRequest" message? I can't work out which stack is getting saved, there is no param sent, and none of the following work: on revSaveStackRequest saveObject > put the topstack into saveObject > put the long id of the target into saveObject > end revSaveStackRequest > Doing a brief search of the IDE scripts it seems like these messages are sent by the engine, and the target is the card of the plugin stack. Can't figure out a general way to work out which stack is being saved? From bvg at mac.com Sun Jan 9 06:17:49 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 09 Jan 2011 12:17:49 +0100 Subject: Menu Question In-Reply-To: <95BC2B42-B8AA-4751-8404-1BF1057ADD38@cox.net> References: <63BDFE62-B1C7-43B1-ADBB-D4F966620A42@cox.net> <4D28F668.6010302@hyperactivesw.com> <175BF7EC-7361-4F40-9EC7-56AF16D765D3@cox.net> <4D291599.3030206@hyperactivesw.com> <5124A93F-C03E-4A4A-B0F1-2CD044AE3DF3@cox.net> <4D292A5B.1050508@hyperactivesw.com> <4D292CD0.3000201@hyperactivesw.com> <95BC2B42-B8AA-4751-8404-1BF1057ADD38@cox.net> Message-ID: <0609F4EF-8E4E-45DB-ACD7-2D2D5139722B@mac.com> On 9 Jan 2011, at 04:44, Joe Lewis Wilkins wrote: > I've tried to use the Dictionary a number of times, but the text is too damn small and there is no preference that I've found to make it any larger. Try BvG Docu then. Unless you're just randomly ranting, then please stay away from my stuff :P http://bjoernke.com/?target=bvgdocu From richmondmathewson at gmail.com Sun Jan 9 07:37:23 2011 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 09 Jan 2011 14:37:23 +0200 Subject: RTF export Message-ID: <4D29AC03.6040608@gmail.com> Funnily enough when I export RTF documents the don't seem to retain a reference to the font they were originally written in (inside Livecode). Help? Ideas? Richmond is being thick and missing something? From richmondmathewson at gmail.com Sun Jan 9 07:40:46 2011 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 09 Jan 2011 14:40:46 +0200 Subject: Quit Message-ID: <4D29ACCE.8020606@gmail.com> I want to disable the ability of Mac users to QUIT by pressing Command-Q; tis is to force them to use localised QUIT buttons (each with slightly different characteristics) on cards within a stack. From henshaw at me.com Sun Jan 9 07:47:58 2011 From: henshaw at me.com (Andy Henshaw) Date: Sun, 09 Jan 2011 12:47:58 +0000 Subject: Software Order Processing Service? Message-ID: <9126FD2E-F633-46C1-8876-6C33BB0CC540@me.com> Yes, you can do it with on-rev instead of php, its pretty simple stuff. We have systems set up with Kagi, Plimus and Paypal. All do the same thing, which is on completion of the order they post the order info to a url you choose, it can be a php or irev file, it doesnt matter. You then parse the post data, in the case of Paypal you can send a request back to them to verify the request came from them just in case someone finds your key issue url out. In the case of the others, most send a private piece of data you set up with them so you can verify it. Once you know it has come from the appropriate person, you can then code the rest of the file i(in rev in the case of an on-rev file) to generate the key code, log the sale on your own servers etc. Our code takes the users email address and uses that as their user name, and then generates a code based on that. As the code is generated by a rev cgi, its easy to have the server issue the code, and the app decode it. We tend to use Paypal and Plimus to handle the orders at the moment. I would say in my opinion Paypal are the best for us and we use Plimus for people who want to pay by card and not through Paypal. We liked Kagi but we have a discount system in the software so people could click a button in the software and buy with a discount code if they registered in the first 7 days. Unfortunately we could not figure out how to attach a discount code to the kagi url and have the discount show on the first order page (it showed on the second, but by then some users thought they were looking at the full price order form so it didnt work for our particular situation). It was a shame as they were good until we bought in that discount system. If there was a way to pass a discount coupon in a url, and have the discounted price show on the order form we would swap back to them tomorrow. If you already use Paypal, look at the IPN settings in your profile (its easier to find in the class version IMO). If you are averse to reading the 101 page document at Paypal, you can just set it up initially to post to a url on your server and just set up an irev file to log anything posted to that url, so when you get an order you can then pop onto the server and see what Paypal send you and work it from there. From bvg at mac.com Sun Jan 9 07:48:50 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 09 Jan 2011 13:48:50 +0100 Subject: Bad text... In-Reply-To: References: <90309134062.20110108170830@ahsoftware.net> Message-ID: i can replicate this even when using normal handlers, but only as long as "sharedtext" is false (for example it does work correctly with the 'default' label fields of the ide). I filed a bug report: http://quality.runrev.com/qacenter/show_bug.cgi?id=9286 --stacks script on bText return the text of the target end bText on gText put the long id of the target into targetObject return the text of targetObject end gText send gtext to field 1 of card 1; put the result send btext to field 1 of card 1; put the result On 9 Jan 2011, at 10:51, David Bovill wrote: > On 9 January 2011 01:08, Mark Wieder wrote: > >> >>>> getprop bad_Text >>>> return the text of the target >>>> end bad_Text >>>> >>>> getprop good_Text >>>> put the long id of the target into targetObject >>>> return the text of targetObject >>>> end good_Text >>>> >> >> I get the same results with either here. What are you seeing? >> > > It's actually pretty annoying - or interesting depending what mood you are > in :) > > > Very basic: > > - Create a stack with 2 cards > - Create a field on the second card with the text "Hello World!" > - Set the stack script to: > > getprop bad_Text >> return the text of the target >> end bad_Text >> >> getprop good_Text >> put the long id of the target into targetObject >> return the text of targetObject >> end good_Text > > > On the first card try "put the good_Text of fld 1 of cd 2", which works as > expected, but "put the bad_Text of fld 1 of cd 2" returns empty! It gets > even more complicated if you try to get "the properties of fld 1 of cd 2" - > where the "long id" trick no longer works. > > This is a basic feature of the way "the target" works and not to do with > using getprop / setprops. I'd call it a serious bug - as this is not how > "the target" should work, even worse is that the simple line "get the > properties of fld 2 of cd 1" returns the wrong result whichever way you > construct it - the only way to get the real properties is a hack like the > following: > > put the properties of fld 1 of cd 2 into propArray > put the htmltext of fld 1 of cd 2 into propArray ["htmlText"] > > Though in real world scripts you need to check the target is a field, and > add a similar hack for the "hilite" > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvg at mac.com Sun Jan 9 08:14:35 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 09 Jan 2011 14:14:35 +0100 Subject: RTF export In-Reply-To: <4D29AC03.6040608@gmail.com> References: <4D29AC03.6040608@gmail.com> Message-ID: <2DC85357-52D2-47B2-86B4-8079E3734F1F@mac.com> The font is inherited from the stack or field (or group), and bot htmltext as well as rtftext ignore that. I would use a temporary field, set the text font to the effective text font, then get the rtftext of that field. you'll run into complications if the textfont is already set to different one within the field tho. You'd need to parse the htmltext in detail in such a case. I also added an enhancement request: http://quality.runrev.com/qacenter/show_bug.cgi?id=9287 --workaround that deletes existing textFont settings of chunks in the field on mouseUp put the effective textfont of field 1 into theFont set the rtftext of field 2 to the rtftext of field 1 set the textfont of char 1 to -1 of field 2 to theFont put the rtftext of field 2 into url ("binfile:" & "text.rtf") end mouseUp On 9 Jan 2011, at 13:37, Richmond wrote: > Funnily enough when I export RTF documents > the don't seem to retain a reference to the font > they were originally written in (inside Livecode). > > Help? Ideas? Richmond is being thick and missing > something? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david at vaudevillecourt.tv Sun Jan 9 09:32:50 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Sun, 9 Jan 2011 14:32:50 +0000 Subject: cREVGeneral Message-ID: I'm stripping a few things out of the automagically created custom properties before exporting stacks as text files. This is the handler I'm using to strip: command objectArray_CleanGeneral @customArray > delete local customArray ["cREVGeneral"]["bookmarks"] > delete local customArray ["cREVGeneral"]["handlerList"] > delete local customArray ["cREVGeneral"]["scriptSelection"] > delete local customArray ["cREVGeneral"]["prevHandler"] > delete local customArray ["cREVGeneral"]["tempScript"] > delete local customArray ["cREVGeneral"]["script"] > delete local customArray ["cREVGeneral"]["scriptCheckSum"] > > delete local customArray ["cREVGeneral"]["breakpointconditions"] > delete local customArray ["cREVGeneral"]["breakpoints"] > delete local customArray ["cREVGeneral"]["breakpointstates"] > delete local customArray ["cREVGeneral"]["stackfileversion"] > > delete local customArray ["cREVGeneral"]["scripteditorselection"] > delete local customArray ["cREVGeneral"]["scripteditorvscroll"] > end objectArray_CleanGeneral > Does anyone with further info about the innards of the Rev IDE know which properties are safe to strip? The aim is to store everything you need to safely recreate an exact copy of the stack, but not things that may change from day to day that have no real significance, and get recreated easily by the IDE. Another, and in fact better way to do the same thing would be to intercept the call to fetch the custom property or write to it and save the information instead to a text file directly and not affect the stack. Again I am not familiar enough with the way the IDE works (yet) to know if there is a simple entry point (ACID handlers) that i can change - or if I need to really go through every script to change how the data is fetched - any ideas? From david at vaudevillecourt.tv Sun Jan 9 09:37:12 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Sun, 9 Jan 2011 14:37:12 +0000 Subject: cREVGeneral In-Reply-To: References: Message-ID: For instance what if I get rid of "revUniqueID" - would this be recreated - what is it used for? From john at allijn.com Sun Jan 9 09:39:26 2011 From: john at allijn.com (John Allijn) Date: Sun, 9 Jan 2011 15:39:26 +0100 Subject: Connecting to a MySQL database at a hosting provider In-Reply-To: <7A402A77-8760-488F-BB2D-98BF86AF0694@mac.com> References: <9654B6A8-965E-479F-B175-BAB74BD9239D@allijn.com> <7A402A77-8760-488F-BB2D-98BF86AF0694@mac.com> Message-ID: Hi Bjornke, Thanks for your reply: Last few day i've been trying to get this work, but it's more of a web-development problem than a runrev one. I still can't get it to work, because I don't know how to setup my server-side. Still working on that one :( Is there an example template for this that I could adapt? Or an easy tutorial? The problem is that when you start googling there is so much info that it is quite overwhelming.. thanks again! john. On Jan 7, 2011, at 6:58 PM, Bj?rnke von Gierke wrote: > normally you'd create a php (or other scripted server side language) interface that queries the sql backend, or makes updates to it. But instead of outputting formatted html, you simply output machine parse-able content, like a tab delimited list, or xml. Then you can access the data, just as you would if you'd go directly into the mysql, but via an url that queries your scripted output: > > put url "http://yourServer.fake/showUser.php?user=blah&password=plainTextIsNotSecure" > > On 7 Jan 2011, at 18:50, John Allijn wrote: > >> Hi, >> >> I' writing an iPad app. I want the app to get some shared data from a MySQL database. I've seen scripts for that and locally they all work great. >> However, I've got three websites, each with a different hosting provider, and they all have installed MySQL in such a way that you can only access the database from within a webpage running at the hosting provider. For example with a PHP script. >> >> I guess I'n not the first one who wants to pull data from a DB on the web :) >> >> Is there a way around that? like a special PHP script, or another kind of generally used interface that works as a server-side to my client-app? >> >> The database itself is quite easy. just first/last name, email, a line of free format text and a date. I want to test if the user exists (is in the database), has paid his subscription (the date is an expiration date), and a system message specifically for that user (the free text field) >> >> any suggestions???? >> >> best 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 > > > > -- > > official ChatRev page: > http://bjoernke.com?target=chatrev > > Chat with other RunRev developers: > go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bvg at mac.com Sun Jan 9 09:43:26 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 09 Jan 2011 15:43:26 +0100 Subject: cREVGeneral In-Reply-To: References: Message-ID: <658F9929-E02E-4909-9D9B-00E6786479B1@mac.com> As far as I know, most of these are for the script editor to be faster. Instead of parsing the script directly, it get's the handlerlist and prevhandler (for example) when you open a script the first time. I didn't know breakpoints are saved between quitting, but then i never use debuging anyway... I doubt that you can intercept messages for these properties... unless the internal handling is happening in the backscript, then you could catch em in the frontscript? On 9 Jan 2011, at 15:32, David Bovill wrote: > I'm stripping a few things out of the automagically created custom > properties before exporting stacks as text files. This is the handler I'm > using to strip: > > command objectArray_CleanGeneral @customArray >> delete local customArray ["cREVGeneral"]["bookmarks"] >> delete local customArray ["cREVGeneral"]["handlerList"] >> delete local customArray ["cREVGeneral"]["scriptSelection"] >> delete local customArray ["cREVGeneral"]["prevHandler"] >> delete local customArray ["cREVGeneral"]["tempScript"] >> delete local customArray ["cREVGeneral"]["script"] >> delete local customArray ["cREVGeneral"]["scriptCheckSum"] >> >> delete local customArray ["cREVGeneral"]["breakpointconditions"] >> delete local customArray ["cREVGeneral"]["breakpoints"] >> delete local customArray ["cREVGeneral"]["breakpointstates"] >> delete local customArray ["cREVGeneral"]["stackfileversion"] >> >> delete local customArray ["cREVGeneral"]["scripteditorselection"] >> delete local customArray ["cREVGeneral"]["scripteditorvscroll"] >> end objectArray_CleanGeneral >> > > Does anyone with further info about the innards of the Rev IDE know which > properties are safe to strip? The aim is to store everything you need to > safely recreate an exact copy of the stack, but not things that may change > from day to day that have no real significance, and get recreated easily by > the IDE. > > Another, and in fact better way to do the same thing would be to intercept > the call to fetch the custom property or write to it and save the > information instead to a text file directly and not affect the stack. Again > I am not familiar enough with the way the IDE works (yet) to know if there > is a simple entry point (ACID handlers) that i can change - or if I need to > really go through every script to change how the data is fetched - any > ideas? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david at vaudevillecourt.tv Sun Jan 9 10:06:42 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Sun, 9 Jan 2011 15:06:42 +0000 Subject: cREVGeneral In-Reply-To: <658F9929-E02E-4909-9D9B-00E6786479B1@mac.com> References: <658F9929-E02E-4909-9D9B-00E6786479B1@mac.com> Message-ID: 2011/1/9 Bj?rnke von Gierke > I doubt that you can intercept messages for these properties... unless the > internal handling is happening in the backscript, then you could catch em in > the frontscript? > Yes - that's what I would do - use a front script to redirect calls to cRevGeneral to the same data but stored externally as a text file - seems a better way to do things, and as I've done the work providing a place for these files with the text export option - I can just but this data in the objects metadata folder? From williamdesmet at gmail.com Sun Jan 9 10:11:08 2011 From: williamdesmet at gmail.com (William de Smet) Date: Sun, 9 Jan 2011 16:11:08 +0100 Subject: How do I set the icon from an OSX app to a button? Message-ID: Hi there all, I am experimenting a little with lauch on my Mac: on mouseup launch "/Applications/Photo Booth.app" end mouseup How do I get the icon from PhotoBooth into my Button? Any idea's are welcome. P.S. I am looking for the same thing on Windows greetings, William From coiin at verizon.net Sun Jan 9 10:30:37 2011 From: coiin at verizon.net (Colin Holgate) Date: Sun, 09 Jan 2011 10:30:37 -0500 Subject: How do I set the icon from an OSX app to a button? In-Reply-To: References: Message-ID: On Jan 9, 2011, at 10:11 AM, William de Smet wrote: > How do I get the icon from PhotoBooth into my Button? > Any idea's are welcome. I don't know about Windows, but on OSX you can do this: Get Info on Photo Booth, click on the icon, and do a Copy. Open Preview, and do New from Clipboard. That will show you the various sizes, one of which is 32x32. Show that one, select into it (so that you're not selecting pages), and do a Select All, Copy. In LC, do a paste. You can now set the icon of your button to that image, by choosing icon/image library/this stack in the Icon & Border properties. One small issue is that if you delete the pasted graphic, the button's icon goes blank. That might mean that you have to keep the image stashed on a card somewhere. From jimaultwins at yahoo.com Sun Jan 9 10:38:31 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Sun, 9 Jan 2011 07:38:31 -0800 Subject: How do I set the icon from an OSX app to a button? In-Reply-To: References: Message-ID: <713E3057-BD82-4D7B-A749-9A759698735D@yahoo.com> For Mac it is easy. In the Finder, navigate to the folder containing "PhotoBooth" or do a spotlight for "PhotoBooth" then click once on the app file, the do QuickLook to get a very large icon then do the good ol' cmd-cntrl-sh-4 to drag a rectangle and put a copy of the screen on the clipboard. (don't know windows well enough). On Jan 9, 2011, at 7:11 AM, William de Smet wrote: > Hi there all, > > I am experimenting a little with lauch on my Mac: > on mouseup > launch "/Applications/Photo Booth.app" > end mouseup > > How do I get the icon from PhotoBooth into my Button? > Any idea's are welcome. > > P.S. I am looking for the same thing on Windows > Jim Ault Las Vegas From williamdesmet at gmail.com Sun Jan 9 10:41:32 2011 From: williamdesmet at gmail.com (William de Smet) Date: Sun, 9 Jan 2011 16:41:32 +0100 Subject: How do I set the icon from an OSX app to a button? In-Reply-To: References: Message-ID: <51CF3341-A046-4A16-A15F-E65B8F804B5A@gmail.com> Thanks Colin but that's not what I meant. I know you can do this but I want LC to do it :-). PhotoBooth is just my example but it needs to be any app. Anyone else? Greetings, William ----- Verstuurd vanaf mijn iPhone! Op 9 jan. 2011 om 16:30 heeft Colin Holgate het volgende geschreven: > > On Jan 9, 2011, at 10:11 AM, William de Smet wrote: > >> How do I get the icon from PhotoBooth into my Button? >> Any idea's are welcome. > > > I don't know about Windows, but on OSX you can do this: > > Get Info on Photo Booth, click on the icon, and do a Copy. > > Open Preview, and do New from Clipboard. > > That will show you the various sizes, one of which is 32x32. Show that one, select into it (so that you're not selecting pages), and do a Select All, Copy. > > In LC, do a paste. You can now set the icon of your button to that image, by choosing icon/image library/this stack in the Icon & Border properties. > > One small issue is that if you delete the pasted graphic, the button's icon goes blank. That might mean that you have to keep the image stashed on a card somewhere. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From williamdesmet at gmail.com Sun Jan 9 10:43:08 2011 From: williamdesmet at gmail.com (William de Smet) Date: Sun, 9 Jan 2011 16:43:08 +0100 Subject: How do I set the icon from an OSX app to a button? In-Reply-To: <713E3057-BD82-4D7B-A749-9A759698735D@yahoo.com> References: <713E3057-BD82-4D7B-A749-9A759698735D@yahoo.com> Message-ID: Thanks Jim, please read my answer I just gave to Colin. Greetings, William ----- Verstuurd vanaf mijn iPhone! Op 9 jan. 2011 om 16:38 heeft Jim Ault het volgende geschreven: > For Mac it is easy. > > In the Finder, navigate to the folder containing "PhotoBooth" > or do a spotlight for "PhotoBooth" > > then click once on the app file, > the do QuickLook to get a very large icon > > then do the good ol' cmd-cntrl-sh-4 > to drag a rectangle and put a copy of the screen on the clipboard. > > (don't know windows well enough). > > On Jan 9, 2011, at 7:11 AM, William de Smet wrote: > >> Hi there all, >> >> I am experimenting a little with lauch on my Mac: >> on mouseup >> launch "/Applications/Photo Booth.app" >> end mouseup >> >> How do I get the icon from PhotoBooth into my Button? >> Any idea's are welcome. >> >> P.S. I am looking for the same thing on Windows >> > > Jim Ault > Las Vegas > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Sun Jan 9 10:45:26 2011 From: coiin at verizon.net (Colin Holgate) Date: Sun, 09 Jan 2011 10:45:26 -0500 Subject: How do I set the icon from an OSX app to a button? In-Reply-To: <713E3057-BD82-4D7B-A749-9A759698735D@yahoo.com> References: <713E3057-BD82-4D7B-A749-9A759698735D@yahoo.com> Message-ID: <49D9F6E5-F5D4-4EFB-AAC7-C1D3537C9FDA@verizon.net> I didn't see an answer from William yet, but hopefully Jim read my steps, which give a much better looking icon. From bonnmike at gmail.com Sun Jan 9 10:53:48 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 9 Jan 2011 08:53:48 -0700 Subject: How do I set the icon from an OSX app to a button? In-Reply-To: <49D9F6E5-F5D4-4EFB-AAC7-C1D3537C9FDA@verizon.net> References: <713E3057-BD82-4D7B-A749-9A759698735D@yahoo.com> <49D9F6E5-F5D4-4EFB-AAC7-C1D3537C9FDA@verizon.net> Message-ID: On os x, since the .app is a package folder, why not open it up and look for the .icns files? Then import them directly, or if theres more than 1, pop up a dialog to choose. Should be inside the package in contents/resources On Sun, Jan 9, 2011 at 8:45 AM, Colin Holgate wrote: > I didn't see an answer from William yet, but hopefully Jim read my steps, > which give a much better looking icon. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Sun Jan 9 10:59:09 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 9 Jan 2011 08:59:09 -0700 Subject: How do I set the icon from an OSX app to a button? In-Reply-To: References: <713E3057-BD82-4D7B-A749-9A759698735D@yahoo.com> <49D9F6E5-F5D4-4EFB-AAC7-C1D3537C9FDA@verizon.net> Message-ID: For windows, I haven't tried it, but this little utility supports command line functionality, so you could shell it out and have it grab all the icons in the .exe Again, haven't tried it, so do your due diligence, but might be an ok solution. Of course if this is for distribution/sale, would have to find something in the public domain, or get permission to include it in the distribution. On Sun, Jan 9, 2011 at 8:53 AM, Mike Bonner wrote: > On os x, since the .app is a package folder, why not open it up and look > for the .icns files? Then import them directly, or if theres more than 1, > pop up a dialog to choose. Should be inside the package in > contents/resources > > > On Sun, Jan 9, 2011 at 8:45 AM, Colin Holgate wrote: > >> I didn't see an answer from William yet, but hopefully Jim read my steps, >> which give a much better looking icon. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From bonnmike at gmail.com Sun Jan 9 11:05:48 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 9 Jan 2011 09:05:48 -0700 Subject: How do I set the icon from an OSX app to a button? In-Reply-To: References: <713E3057-BD82-4D7B-A749-9A759698735D@yahoo.com> <49D9F6E5-F5D4-4EFB-AAC7-C1D3537C9FDA@verizon.net> Message-ID: maybe I should actually put the link it. http://www.nirsoft.net/utils/iconsext.html Yeah, thats better. On Sun, Jan 9, 2011 at 8:59 AM, Mike Bonner wrote: > For windows, I haven't tried it, but this little utility supports command > line functionality, so you could shell it out and have it grab all the icons > in the .exe Again, haven't tried it, so do your due diligence, but might be > an ok solution. Of course if this is for distribution/sale, would have to > find something in the public domain, or get permission to include it in the > distribution. > > > On Sun, Jan 9, 2011 at 8:53 AM, Mike Bonner wrote: > >> On os x, since the .app is a package folder, why not open it up and look >> for the .icns files? Then import them directly, or if theres more than 1, >> pop up a dialog to choose. Should be inside the package in >> contents/resources >> >> >> On Sun, Jan 9, 2011 at 8:45 AM, Colin Holgate wrote: >> >>> I didn't see an answer from William yet, but hopefully Jim read my steps, >>> which give a much better looking icon. >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 Jan 9 11:16:44 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sun, 9 Jan 2011 17:16:44 +0100 Subject: How do I set the icon from an OSX app to a button? In-Reply-To: References: <713E3057-BD82-4D7B-A749-9A759698735D@yahoo.com> <49D9F6E5-F5D4-4EFB-AAC7-C1D3537C9FDA@verizon.net> Message-ID: <778B302D-88EB-432E-8AA6-89ECB02C8B34@major.on-rev.com> Hi Mike, > maybe I should actually put the link it. > http://www.nirsoft.net/utils/iconsext.html Yeah, thats better. yep, excellent idea! :-D But how do you get the resulting ICO file into LiveCode? Or did I overlook something? Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From coiin at verizon.net Sun Jan 9 11:22:22 2011 From: coiin at verizon.net (Colin Holgate) Date: Sun, 09 Jan 2011 11:22:22 -0500 Subject: How do I set the icon from an OSX app to a button? In-Reply-To: References: <713E3057-BD82-4D7B-A749-9A759698735D@yahoo.com> <49D9F6E5-F5D4-4EFB-AAC7-C1D3537C9FDA@verizon.net> Message-ID: <6EF1A2FC-85BB-402C-B280-378D6D18123B@verizon.net> I think I see the problem now. There are lots of ways to get the icon manually, or with utilities, but suppose you're making a Dock utility for the user, and want them to pick any application to assign to a button, you would want LC to get the icon on the fly. Photo Booth's icons are stored in the file PhotoBooth.icns. Mail's is stored in app.icns. Photoshop has its ones in PS_AppIcons.icns. So it may end up being tricky to know what the icon file is called. You could look at all of the files in the resources folder, and see which ones are icns. If there's only one then that would be the right file. I'm not sure though how you would then extract the 32x32 icon from the set of images in the icns file. From bonnmike at gmail.com Sun Jan 9 11:40:26 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 9 Jan 2011 09:40:26 -0700 Subject: How do I set the icon from an OSX app to a button? In-Reply-To: <6EF1A2FC-85BB-402C-B280-378D6D18123B@verizon.net> References: <713E3057-BD82-4D7B-A749-9A759698735D@yahoo.com> <49D9F6E5-F5D4-4EFB-AAC7-C1D3537C9FDA@verizon.net> <6EF1A2FC-85BB-402C-B280-378D6D18123B@verizon.net> Message-ID: To get the icon is a 2 stage process. Do a shell call, designate a temporary folder to put the extracted icons. Step 2 import them. It puts all extracted icons into a designated folder. On Sun, Jan 9, 2011 at 9:22 AM, Colin Holgate wrote: > I think I see the problem now. There are lots of ways to get the icon > manually, or with utilities, but suppose you're making a Dock utility for > the user, and want them to pick any application to assign to a button, you > would want LC to get the icon on the fly. > > Photo Booth's icons are stored in the file PhotoBooth.icns. Mail's is > stored in app.icns. Photoshop has its ones in PS_AppIcons.icns. So it may > end up being tricky to know what the icon file is called. You could look at > all of the files in the resources folder, and see which ones are icns. If > there's only one then that would be the right file. > > I'm not sure though how you would then extract the 32x32 icon from the set > of images in the icns file. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Sun Jan 9 11:53:52 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 9 Jan 2011 08:53:52 -0800 Subject: cREVGeneral In-Reply-To: References: Message-ID: <6365859687.20110109085352@ahsoftware.net> David- Sunday, January 9, 2011, 6:32:50 AM, you wrote: > Does anyone with further info about the innards of the Rev IDE know which > properties are safe to strip? The aim is to store everything you need to > safely recreate an exact copy of the stack, but not things that may change > from day to day that have no real significance, and get recreated easily by > the IDE. I wouldn't bother with cREVGeneral at all. The IDE will generate and/or overwrite values there at will. The only thing I'd consider is whether revOnline stores the stack fingerprint in there. I can't remember off the top of my head where that gets stored. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Jan 9 12:06:05 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 9 Jan 2011 09:06:05 -0800 Subject: Bad text... In-Reply-To: References: <90309134062.20110108170830@ahsoftware.net> Message-ID: <135366592437.20110109090605@ahsoftware.net> David- Sunday, January 9, 2011, 1:51:15 AM, you wrote: > On the first card try "put the good_Text of fld 1 of cd 2", which works as > expected, but "put the bad_Text of fld 1 of cd 2" returns empty! It gets > even more complicated if you try to get "the properties of fld 1 of cd 2" - > where the "long id" trick no longer works. Good one. I tried various combinations of the above, even with behaviors, and got tood results, but I hadn't tried cross-card invocations. Looks like the expression parser is failing. Interestingly, this *does* work: getprop bad_Text return the text of (the long id of the target) end bad_Text -- -Mark Wieder mwieder at ahsoftware.net From iowahengst at mac.com Sun Jan 9 12:14:39 2011 From: iowahengst at mac.com (Randy Hengst) Date: Sun, 09 Jan 2011 11:14:39 -0600 Subject: iOS App Accepted Message-ID: Hi All, I just had my second app accepted by Apple.... this one for iPad only... Baseball Math.... hey it sold six copies on the first day! http://itunes.apple.com/app/baseballmath/id412763742?mt=8 FYI.... This app was initially rejected because I neglected to have it rotate.... that was my fault... as has been noted previously on our lists (and in Apple docs), Apple wants iPad apps to rotate all four directions. They'll accept just two if that really fits the apps design. My next iPad app will be only landscape... so, we'll see how that goes. take care, randy hengst From coiin at verizon.net Sun Jan 9 12:22:21 2011 From: coiin at verizon.net (Colin Holgate) Date: Sun, 09 Jan 2011 12:22:21 -0500 Subject: iOS App Accepted In-Reply-To: References: Message-ID: On Jan 9, 2011, at 12:14 PM, Randy Hengst wrote: > FYI.... This app was initially rejected because I neglected to have it rotate.... that was my fault... as has been noted previously on our lists (and in Apple docs), Apple wants iPad apps to rotate all four directions. They'll accept just two if that really fits the apps design. My next iPad app will be only landscape... so, we'll see how that goes. I've had a Flash landscape app accepted, that just rotated to the two landscapes. The splash screen only showed in one orientation, but fortunately that didn't bother them. Can you say how you managed to test as iPad? When I try I get an iPhone sized version in the middle of the iPad simulator. From ambassador at fourthworld.com Sun Jan 9 12:25:31 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 09 Jan 2011 09:25:31 -0800 Subject: How do I set the icon from an OSX app to a button? Message-ID: <4D29EF8B.1030708@fourthworld.com> Mike Bonner wrote: > To get the icon is a 2 stage process. Do a shell call, designate a temporary > folder to put the extracted icons. Step 2 import them. How does one translate the icns data to a format LC understands? Maybe this would make a good library, with functions to extract the image data from icns and ico files (on Linux not needed since they wisely use PNGs) for use in LC image objects. What is the format for an individual image in an icns file, and how are the boundaries defined? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From iowahengst at mac.com Sun Jan 9 12:37:09 2011 From: iowahengst at mac.com (Randy Hengst) Date: Sun, 09 Jan 2011 11:37:09 -0600 Subject: iOS App Accepted In-Reply-To: References: Message-ID: <10067255-FE41-49BB-9ADF-816055C8482B@mac.com> Hi Colin, I'm using LC 4.5.3 (rc3 and rc4).... Under the Development Menu --> Simulator Version --> then select the Device before you go to the simulator... Also make sure iPad is selected in the Applications Settings. Glad to hear about the landscape only being approved. take care, randy ----- On Jan 9, 2011, at 11:22 AM, Colin Holgate wrote: > > On Jan 9, 2011, at 12:14 PM, Randy Hengst wrote: > >> FYI.... This app was initially rejected because I neglected to have it rotate.... that was my fault... as has been noted previously on our lists (and in Apple docs), Apple wants iPad apps to rotate all four directions. They'll accept just two if that really fits the apps design. My next iPad app will be only landscape... so, we'll see how that goes. > > I've had a Flash landscape app accepted, that just rotated to the two landscapes. The splash screen only showed in one orientation, but fortunately that didn't bother them. > > Can you say how you managed to test as iPad? When I try I get an iPhone sized version in the middle of the iPad simulator. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Sun Jan 9 12:45:27 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 9 Jan 2011 10:45:27 -0700 Subject: How do I set the icon from an OSX app to a button? In-Reply-To: References: <4D29EF8B.1030708@fourthworld.com> Message-ID: Hmm. Even after cleanup, am getting messages that my emails are too big. What gives? Shortened so that maybe i won't get a bounce. http://en.wikipedia.org/wiki/Apple_Icon_Image_format is the source. This is beyond me(and I no longer own a mac), but am I correct in assuming, > the first 8 bytes (header) can be ignored, then the next chunk is an icon > type, and length of the data for that icon, plus the header and size info > itself, so it pretty much defines its own boundaries. Would it be as simple > as reading 8 bytes, last 4 bytes are the length, subtract 8 (for header and > length tag) then read the difference? Marking one icon complete, rinse and > repeat till EOF? > From niggemann at uni-wh.de Sun Jan 9 12:49:23 2011 From: niggemann at uni-wh.de (BNig) Date: Sun, 9 Jan 2011 09:49:23 -0800 (PST) Subject: How To "Get" Properties in iOS? In-Reply-To: References: Message-ID: <1294595363058-3206135.post@n4.nabble.com> Hi Scott, I made a command in the card script, where my scroller is initialized and the sScrollerId is a script local variable: -------------- on doGetProp pProp iphoneControlGet sScrollerId, pProp return the result end doGetProp ---------------------- which I call from a field on that card to set a custom property oldScroll of the card ------------------ doGetProp "vScroll" set the oldScroll of this card to the result -------------------- This works for me (4.5.3 RC 3) Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-To-Get-Properties-in-iOS-tp3205735p3206135.html Sent from the Revolution - User mailing list archive at Nabble.com. From rjb at robelko.com Sat Jan 8 20:57:31 2011 From: rjb at robelko.com (Robert Brenstein) Date: Sun, 9 Jan 2011 02:57:31 +0100 Subject: Software Order Processing Service? In-Reply-To: References: Message-ID: On 08.01.11 at 17:26 -0800 Bill Vlahos apparently wrote: >I use Kagi. They were very helpful with the entire process. > >Bill Vlahos I used Kagi on a couple ocassions. Their tech support crew is quite good and helpful. Unfortunately, the same can't be said about accounting people. Robert From coiin at verizon.net Sun Jan 9 12:53:32 2011 From: coiin at verizon.net (Colin Holgate) Date: Sun, 09 Jan 2011 12:53:32 -0500 Subject: iOS App Accepted In-Reply-To: <10067255-FE41-49BB-9ADF-816055C8482B@mac.com> References: <10067255-FE41-49BB-9ADF-816055C8482B@mac.com> Message-ID: <561C7438-8C38-4125-AC82-9CB2C4371A34@verizon.net> On Jan 9, 2011, at 12:37 PM, Randy Hengst wrote: > > I'm using LC 4.5.3 (rc3 and rc4).... Under the Development Menu --> Simulator Version --> then select the Device before you go to the simulator... > > Also make sure iPad is selected in the Applications Settings. That doesn't seem to help. If I choose iPod/iPhone/iPad, or just iPad, I get the iPad simulator with a little iPhone app running. I also get a crash every couple of times I try, but then I'm on 4.5.2. From bonnmike at gmail.com Sun Jan 9 13:03:15 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 9 Jan 2011 11:03:15 -0700 Subject: How do I set the icon from an OSX app to a button? In-Reply-To: References: <4D29EF8B.1030708@fourthworld.com> Message-ID: If only a conversion to png is needed, apparently sips will do that. sips -s format png Dictionary.icns --out ~/Desktop/Dictionary_icon.png From coiin at verizon.net Sun Jan 9 13:17:50 2011 From: coiin at verizon.net (Colin Holgate) Date: Sun, 09 Jan 2011 13:17:50 -0500 Subject: How do I set the icon from an OSX app to a button? In-Reply-To: References: <4D29EF8B.1030708@fourthworld.com> Message-ID: <386F14DD-0E3D-4187-BF03-CF01528CAD77@verizon.net> On Jan 9, 2011, at 1:03 PM, Mike Bonner wrote: > > sips -s format png Dictionary.icns --out ~/Desktop/Dictionary_icon.png That just extracts the 512x512 image. How would you get the 32x32 one? From klaus at major.on-rev.com Sun Jan 9 13:28:21 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sun, 9 Jan 2011 19:28:21 +0100 Subject: How do I set the icon from an OSX app to a button? In-Reply-To: <386F14DD-0E3D-4187-BF03-CF01528CAD77@verizon.net> References: <4D29EF8B.1030708@fourthworld.com> <386F14DD-0E3D-4187-BF03-CF01528CAD77@verizon.net> Message-ID: Hi Mike and Colin, Am 09.01.2011 um 19:17 schrieb Colin Holgate: > On Jan 9, 2011, at 1:03 PM, Mike Bonner wrote: >> sips -s format png Dictionary.icns --out ~/Desktop/Dictionary_icon.png great, I was not sure if SIPS supports ICNS as input format, thanks! > That just extracts the 512x512 image. How would you get the 32x32 one? Hm, what about scaling in LiveCode? ;-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From coiin at verizon.net Sun Jan 9 13:32:37 2011 From: coiin at verizon.net (Colin Holgate) Date: Sun, 09 Jan 2011 13:32:37 -0500 Subject: How do I set the icon from an OSX app to a button? In-Reply-To: References: <4D29EF8B.1030708@fourthworld.com> <386F14DD-0E3D-4187-BF03-CF01528CAD77@verizon.net> Message-ID: On Jan 9, 2011, at 1:28 PM, Klaus on-rev wrote: >> That just extracts the 512x512 image. How would you get the 32x32 one? > > Hm, what about scaling in LiveCode? ;-) Of course that would work, though you might have to create a bitmap for it to map to an icon. The real 32x32 would just be better, as it has a correct sized shadow and alpha channel. There may be yet another problem, once you have an image to use, can you make it be the icon of a button using code? Perhaps the solution will need to be that you have a non-icon button sat behind an image. From scott at tactilemedia.com Sun Jan 9 13:38:03 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 09 Jan 2011 10:38:03 -0800 Subject: iOS App Accepted In-Reply-To: Message-ID: That's great Randy, you're on a roll. Rotating iPad in 2 directions is fine, people two that all the time (I have -- landscape only), and FWIW, I've seen plenty lately that only rotate in one -- somehow they get through. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Randy Hengst wrote: > Hi All, > > I just had my second app accepted by Apple.... this one for iPad only... > Baseball Math.... hey it sold six copies on the first day! > > http://itunes.apple.com/app/baseballmath/id412763742?mt=8 > > FYI.... This app was initially rejected because I neglected to have it > rotate.... that was my fault... as has been noted previously on our lists (and > in Apple docs), Apple wants iPad apps to rotate all four directions. They'll > accept just two if that really fits the apps design. My next iPad app will be > only landscape... so, we'll see how that goes. > > take care, > randy hengst From warrenkuhl at gmail.com Sun Jan 9 13:40:31 2011 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Sun, 9 Jan 2011 12:40:31 -0600 Subject: List Field Problem In-Reply-To: References: Message-ID: John, Thanks for your help. Your solution worked perfectly! ...much appreciated!!!! Warren On Sun, Jan 9, 2011 at 1:54 AM, John Dixon wrote: > > > > In the script of the list field... > > set the hilitedLines of me to word 2 of the clickLine > > and I forgot to say uncheck autohilite in the property inspector of the > list field... > > > > I created a scrolling list field with 6 choices. The list field is > larger > > > then the 6 choices I have included as more can be added by the user. > When I > > > click in the empty space below the 6 choices, it will either hilite the > > > first line or my last line that I selected. This happens even after I > set > > > the hilitedlines of field "field1" to empty. > > > > > > Is there anyway to only hilite a line in a list field if I specifically > > > select the line? > > > > > > Thanks for any help! > > > 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 bonnmike at gmail.com Sun Jan 9 13:42:41 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 9 Jan 2011 11:42:41 -0700 Subject: How do I set the icon from an OSX app to a button? In-Reply-To: References: <4D29EF8B.1030708@fourthworld.com> <386F14DD-0E3D-4187-BF03-CF01528CAD77@verizon.net> Message-ID: Yeah, its not documented, but sips will convert. And on the direct grab of data from the icns file, if one were to do as suggested and break the file down into it's integral chunks (as defined by the internal header structures) at that point the image data is just that right? Image data that can be used as one wishes? On Sun, Jan 9, 2011 at 11:32 AM, Colin Holgate wrote: > > On Jan 9, 2011, at 1:28 PM, Klaus on-rev wrote: > > >> That just extracts the 512x512 image. How would you get the 32x32 one? > > > > Hm, what about scaling in LiveCode? ;-) > > Of course that would work, though you might have to create a bitmap for it > to map to an icon. The real 32x32 would just be better, as it has a correct > sized shadow and alpha channel. > > There may be yet another problem, once you have an image to use, can you > make it be the icon of a button using code? Perhaps the solution will need > to be that you have a non-icon button sat behind an image. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From coiin at verizon.net Sun Jan 9 13:43:58 2011 From: coiin at verizon.net (Colin Holgate) Date: Sun, 09 Jan 2011 13:43:58 -0500 Subject: iOS App Accepted In-Reply-To: References: Message-ID: <23CE076D-57CF-4F39-9B01-9C1F3150DDD5@verizon.net> On Jan 9, 2011, at 1:38 PM, Scott Rossi wrote: > ve seen plenty lately that only rotate in > one -- somehow they get through. So, technically speaking, do they rotate at all? From scott at tactilemedia.com Sun Jan 9 13:53:07 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 09 Jan 2011 10:53:07 -0800 Subject: How To "Get" Properties in iOS? In-Reply-To: <1294595363058-3206135.post@n4.nabble.com> Message-ID: > on doGetProp pProp > iphoneControlGet sScrollerId, pProp > return the result > end doGetProp Thanks Bernd. I'll try again (need to do exactly what you are doing) but I wasn't getting any result. Also, do you have any suggestions for handling the clicking of items in a scroller group? I've spent hours trying to work out the "proper" method, and while I have something working with mouseDown, the selection of an item seems unreliable unless the click "lingers" for some millisecs -- a quick touch goes undetected by the group. (Scroll performance of the group is also not so great but I can live with that.) What is the correct way to set up item selection in a scrolling group using the iOS scroller? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, BNig wrote: > > Hi Scott, > > I made a command in the card script, where my scroller is initialized and > the sScrollerId is a script local variable: > > -------------- > on doGetProp pProp > iphoneControlGet sScrollerId, pProp > return the result > end doGetProp > ---------------------- > > which I call from a field on that card to set a custom property oldScroll of > the card > > ------------------ > doGetProp "vScroll" > set the oldScroll of this card to the result > -------------------- > This works for me (4.5.3 RC 3) > > Kind regards > > Bernd From scott at tactilemedia.com Sun Jan 9 13:54:40 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 09 Jan 2011 10:54:40 -0800 Subject: iOS App Accepted In-Reply-To: <23CE076D-57CF-4F39-9B01-9C1F3150DDD5@verizon.net> Message-ID: Recently, Colin Holgate wrote: >> ve seen plenty lately that only rotate in >> one -- somehow they get through. > > So, technically speaking, do they rotate at all? Sure -- in your hands. It's manual rotation. Regards, Scott Rossi Creative Director Tactile Media, UX Design From coiin at verizon.net Sun Jan 9 13:58:36 2011 From: coiin at verizon.net (Colin Holgate) Date: Sun, 09 Jan 2011 13:58:36 -0500 Subject: iOS App Accepted In-Reply-To: References: Message-ID: On Jan 9, 2011, at 1:54 PM, Scott Rossi wrote: > Sure -- in your hands. It's manual rotation. I just lean. From martyknapp at comcast.net Sun Jan 9 14:00:47 2011 From: martyknapp at comcast.net (Marty Knapp) Date: Sun, 09 Jan 2011 11:00:47 -0800 Subject: Software Order Processing Service? In-Reply-To: <9126FD2E-F633-46C1-8876-6C33BB0CC540@me.com> References: <9126FD2E-F633-46C1-8876-6C33BB0CC540@me.com> Message-ID: <4D2A05DF.9060005@comcast.net> In my search for order processing services, I came across a php script for use with PayPal. I didn't look too deep (don't know php), but for those interested you might take a peak: They have a free "lite" version and "Pro" version for $10. I don't know if/how they deal with registration codes. FWIW, Marty Knapp From th.douez at sunnyrevtalk.com Sun Jan 9 14:12:39 2011 From: th.douez at sunnyrevtalk.com (Thierry) Date: Sun, 9 Jan 2011 20:12:39 +0100 Subject: How do I set the icon from an OSX app to a button? In-Reply-To: <386F14DD-0E3D-4187-BF03-CF01528CAD77@verizon.net> References: <4D29EF8B.1030708@fourthworld.com> <386F14DD-0E3D-4187-BF03-CF01528CAD77@verizon.net> Message-ID: <4518D5BC-D4A6-4917-BEE5-828F1029C4CE@sunnyrevtalk.com> Le 9 janv. 2011 ? 19:17, Colin Holgate a ?crit : > > On Jan 9, 2011, at 1:03 PM, Mike Bonner wrote: > >> >> sips -s format png Dictionary.icns --out ~/Desktop/Dictionary_icon.png > > That just extracts the 512x512 image. How would you get the 32x32 one? sips -s format png -z 32 32 x.icns -... You should be happy :) Thierry From coiin at verizon.net Sun Jan 9 14:16:22 2011 From: coiin at verizon.net (Colin Holgate) Date: Sun, 09 Jan 2011 14:16:22 -0500 Subject: How do I set the icon from an OSX app to a button? In-Reply-To: <4518D5BC-D4A6-4917-BEE5-828F1029C4CE@sunnyrevtalk.com> References: <4D29EF8B.1030708@fourthworld.com> <386F14DD-0E3D-4187-BF03-CF01528CAD77@verizon.net> <4518D5BC-D4A6-4917-BEE5-828F1029C4CE@sunnyrevtalk.com> Message-ID: <54AFE4D7-5E8D-49E0-92C9-D849D5B9B0C3@verizon.net> On Jan 9, 2011, at 2:12 PM, Thierry wrote: > sips -s format png -z 32 32 x.icns -... > > You should be happy :) I'm generally a happy person, but if I wasn't, that would have done it! From bvg at mac.com Sun Jan 9 14:28:02 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 09 Jan 2011 20:28:02 +0100 Subject: How do I set the icon from an OSX app to a button? In-Reply-To: References: <4D29EF8B.1030708@fourthworld.com> <386F14DD-0E3D-4187-BF03-CF01528CAD77@verizon.net> Message-ID: <939844BF-FFEF-4F63-9A4F-478589C5BA51@mac.com> the full approach would be similar to this: choose app parse package.app/contents/info.plist for icn file name convert icn file to png get image into rev set icon of button to image therefore in a LC button, the following works (watch for linewraps). Note: xml parsing is super simplified, and won't work with accented chars (needs conversion from utf8). Also, some type of apps do not have the icon stored in the info.plist, the fallback would be to try .icns, or maybe the name of the actual executable in the "MacOS" folder. furthermore, some apps are carbon, no idea if they follow the same rules. on mouseUp lock screen --select app answer file "choose an app:" if it = "" then beep exit mouseUp end if --parse plist put it & "/Contents/" into theAppPath put url ("file:" & theAppPath & "/Info.plist") into theXML put offset("CFBundleIconFile", theXML) into theOffset repeat two times put offset(">", theXML,theOffset) + theOffset into theOffset end repeat put char theOffset +1 to offset("<", theXML,theOffset) + theOffset -1 of theXML into theName if char -5 to -1 of theName <> ".icns" then put ".icns" after theName end if --create image paths put theAppPath & "Resources/" & theName into theIconPath put specialfolderpath("temp") & "/temp.png" into theImagePath --run shell app put shell("sips -s format png -z 32 32" && theIconPath && "--out" && theImagePath) into theError if word 1 of theError <> theIconPath then --word 2 should be theImagePath beep put theError exit mouseUp end if --now let rev import import paint from file theImagePath put the id of last image into lastImport set the visible of image ID lastImport to false set the icon of me to lastImport end mouseUp From th.douez at sunnyrevtalk.com Sun Jan 9 14:30:07 2011 From: th.douez at sunnyrevtalk.com (Thierry) Date: Sun, 9 Jan 2011 20:30:07 +0100 Subject: How do I set the icon from an OSX app to a button? In-Reply-To: <54AFE4D7-5E8D-49E0-92C9-D849D5B9B0C3@verizon.net> References: <4D29EF8B.1030708@fourthworld.com> <386F14DD-0E3D-4187-BF03-CF01528CAD77@verizon.net> <4518D5BC-D4A6-4917-BEE5-828F1029C4CE@sunnyrevtalk.com> <54AFE4D7-5E8D-49E0-92C9-D849D5B9B0C3@verizon.net> Message-ID: <1A90E5BB-E4E8-4398-8901-85815D20129F@sunnyrevtalk.com> Le 9 janv. 2011 ? 20:16, Colin Holgate a ?crit : > > On Jan 9, 2011, at 2:12 PM, Thierry wrote: > >> sips -s format png -z 32 32 x.icns -... >> >> You should be happy :) > > > I'm generally a happy person, but if I wasn't, that would have done it! To be really happy... ( there is no limits... ) maybe worth trying out formatOptions with: low normal high or best Regards, Thierry From niggemann at uni-wh.de Sun Jan 9 14:35:43 2011 From: niggemann at uni-wh.de (BNig) Date: Sun, 9 Jan 2011 11:35:43 -0800 (PST) Subject: How To "Get" Properties in iOS? In-Reply-To: References: <1294595363058-3206135.post@n4.nabble.com> Message-ID: <1294601743158-3206246.post@n4.nabble.com> Hi Scott, I am using a list field that is within a group (the group is being scrolled). BUT I set the listbehavior to false when starting. On mouseDown I set the listbehavior to true, but the listbehavior is not immediately (within the mouseDown handler) availabel. Also in the mouseDown handler I get the mouseV and mouseH, which I store in a script local variable. In the mouseUp handler I check again the mouseV and mouseH and if both are less than 10 pixel from the mouseDown I consider it a click and set the HilitedLine of the list to the mouseLIne. This now hilites the selected line with the blue hilite and inverts the black textcolor to white. Still in the mouseUp handler I set the listbehavior to false and go to another card -> the result of the selection. (And here I store the oldScroll which I use to set the scroll when returning from other cards to the list field so it is at the scroll where it was left.) I dont know if this is more complicated than necessary, but the list field in its default setting (listbehavior true) seemed to "overreact" to touches that were the begin of a scroll. As if the delaytouches and canceltouches dont work for list fields. So that is my workaround. Hope this makes any sense Kind regards Bernd Scott Rossi wrote: > >> on doGetProp pProp >> iphoneControlGet sScrollerId, pProp >> return the result >> end doGetProp > > Thanks Bernd. I'll try again (need to do exactly what you are doing) but > I > wasn't getting any result. > > Also, do you have any suggestions for handling the clicking of items in a > scroller group? I've spent hours trying to work out the "proper" method, > and while I have something working with mouseDown, the selection of an > item > seems unreliable unless the click "lingers" for some millisecs -- a quick > touch goes undetected by the group. > > (Scroll performance of the group is also not so great but I can live with > that.) > > What is the correct way to set up item selection in a scrolling group > using > the iOS scroller? > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-To-Get-Properties-in-iOS-tp3205735p3206246.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at mollysrevenge.com Sun Jan 9 15:17:30 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Sun, 9 Jan 2011 12:17:30 -0800 Subject: Software Order Processing Service? In-Reply-To: <4D2A05DF.9060005@comcast.net> References: <9126FD2E-F633-46C1-8876-6C33BB0CC540@me.com> <4D2A05DF.9060005@comcast.net> Message-ID: Here's another thought. I currently generate a reply to emails I get from PayPal re purchases by using a Rule in the Mac Mail client. It's just a simple courtesy to let them know I got the order soon but he Mac Mail rules have an option to run an Applescript on the selected incoming emails so for those people who know Applescript, it would probably be possible to generate a registration code and send an email with it in. I did something similar once which generated an email with an attached file dependant on the PayPal product code in the incoming email. Pete Haworth On Jan 9, 2011, at 11:00 AM, Marty Knapp wrote: > In my search for order processing services, I came across a php script for use with PayPal. I didn't look too deep (don't know php), but for those interested you might take a peak: > > > > They have a free "lite" version and "Pro" version for $10. I don't know if/how they deal with registration codes. > > FWIW, > > Marty Knapp > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From iowahengst at mac.com Sun Jan 9 16:15:42 2011 From: iowahengst at mac.com (Randy Hengst) Date: Sun, 09 Jan 2011 15:15:42 -0600 Subject: iOS App Accepted In-Reply-To: <561C7438-8C38-4125-AC82-9CB2C4371A34@verizon.net> References: <10067255-FE41-49BB-9ADF-816055C8482B@mac.com> <561C7438-8C38-4125-AC82-9CB2C4371A34@verizon.net> Message-ID: <681FECD0-31C6-4A7E-B4A6-85958AF06C41@mac.com> Well, that's odd... I went back and checked 4.5.2 and the same process works with it, too. On Jan 9, 2011, at 11:53 AM, Colin Holgate wrote: > > On Jan 9, 2011, at 12:37 PM, Randy Hengst wrote: > >> >> I'm using LC 4.5.3 (rc3 and rc4).... Under the Development Menu --> Simulator Version --> then select the Device before you go to the simulator... >> >> Also make sure iPad is selected in the Applications Settings. > > > That doesn't seem to help. If I choose iPod/iPhone/iPad, or just iPad, I get the iPad simulator with a little iPhone app running. I also get a crash every couple of times I try, but then I'm on 4.5.2. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From iowahengst at mac.com Sun Jan 9 16:17:42 2011 From: iowahengst at mac.com (Randy Hengst) Date: Sun, 09 Jan 2011 15:17:42 -0600 Subject: iOS App Accepted In-Reply-To: References: Message-ID: <3E57D7F3-B2A6-4602-B74D-EF8BB09EBF7E@mac.com> Well, Scott, they caught me.... anyway, it wasn't a big deal to fix. I set it up to rotate all four orientations and rearranged the screen on rotation a bit to accommodate. Good to hear about the landscape only, however. take care, randy ------ On Jan 9, 2011, at 12:38 PM, Scott Rossi wrote: > That's great Randy, you're on a roll. > > Rotating iPad in 2 directions is fine, people two that all the time (I have > -- landscape only), and FWIW, I've seen plenty lately that only rotate in > one -- somehow they get through. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > Recently, Randy Hengst wrote: > >> Hi All, >> >> I just had my second app accepted by Apple.... this one for iPad only... >> Baseball Math.... hey it sold six copies on the first day! >> >> http://itunes.apple.com/app/baseballmath/id412763742?mt=8 >> >> FYI.... This app was initially rejected because I neglected to have it >> rotate.... that was my fault... as has been noted previously on our lists (and >> in Apple docs), Apple wants iPad apps to rotate all four directions. They'll >> accept just two if that really fits the apps design. My next iPad app will be >> only landscape... so, we'll see how that goes. >> >> take care, >> randy hengst > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 9 17:19:31 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 09 Jan 2011 16:19:31 -0600 Subject: Quit In-Reply-To: <4D29ACCE.8020606@gmail.com> References: <4D29ACCE.8020606@gmail.com> Message-ID: <4D2A3473.9010007@hyperactivesw.com> On 1/9/11 6:40 AM, Richmond wrote: > I want to disable the ability of Mac users to QUIT > by pressing Command-Q; tis is to force them to > use localised QUIT buttons (each with slightly > different characteristics) on cards within a stack. Try trapping the shutdownrequest message. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at mollysrevenge.com Sun Jan 9 17:48:13 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Sun, 9 Jan 2011 14:48:13 -0800 Subject: When is a Word not a Word? Message-ID: <431CB3EB-DCD5-4BD8-996C-000948B7E3B1@mollysrevenge.com> Got weird things going on with the wordoffset function. The code is: put wordoffset(field "Selection",myLine) into mywordoffset if field Selection contains xyz and myline contains abc def xyz, then wordoffset returns 3. if field Selection contains xyz and myline contains abc def "xyz" (xyz in double quotes this time), wordoffset returns zero. I've tried this with all combinations of casesensitive and wholematches true and false. According to the dictionary, "A word is delimited by one or more spaces, tabs, or returns, or enclosed by double quotes" so why isn;t "xyz" recognised as a word? Pete Haworth From tereza at califex.com Sun Jan 9 18:01:16 2011 From: tereza at califex.com (Tereza Snyder) Date: Sun, 9 Jan 2011 17:01:16 -0600 Subject: iOS App Accepted In-Reply-To: References: Message-ID: Yay team! On Jan 9, 2011, at 11:14 AM, Randy Hengst wrote: > Hi All, > > I just had my second app accepted by Apple.... this one for iPad only... Baseball Math.... hey it sold six copies on the first day! > From bill at bluewatermaritime.com Sun Jan 9 18:05:03 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Sun, 9 Jan 2011 19:05:03 -0400 Subject: Trying to adhere to interface standards Mac OS X In-Reply-To: <4D289A77.4050700@gmail.com> References: <4D288DB7.809@gmail.com> <4D289394.5000607@gmail.com> <4D289A77.4050700@gmail.com> Message-ID: Richmond - I tried your suggestion. You know there is quit a bit of functionality built into that menu bar. And then there is the problem of when you compile for Windows also. Do you know why LiveCode doesn't offer a few more common interface standards? From jacque at hyperactivesw.com Sun Jan 9 18:14:51 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 09 Jan 2011 17:14:51 -0600 Subject: When is a Word not a Word? In-Reply-To: <431CB3EB-DCD5-4BD8-996C-000948B7E3B1@mollysrevenge.com> References: <431CB3EB-DCD5-4BD8-996C-000948B7E3B1@mollysrevenge.com> Message-ID: <4D2A416B.9040502@hyperactivesw.com> On 1/9/11 4:48 PM, Peter Haworth wrote: > Got weird things going on with the wordoffset function. The code > is: > > put wordoffset(field "Selection",myLine) into mywordoffset > > if field Selection contains xyz and myline contains abc def xyz, then > wordoffset returns 3. > > if field Selection contains xyz and myline contains abc def "xyz" > (xyz in double quotes this time), wordoffset returns zero. > > I've tried this with all combinations of casesensitive and > wholematches true and false. > > According to the dictionary, "A word is delimited by one or more > spaces, tabs, or returns, or enclosed by double quotes" so why isn;t > "xyz" recognised as a word? Well, wordoffset looks at the beginnings of words, and the first character in your second example is a quotation mark. So xyz isn't at the start of a word in the second example, but quote+xyz is. You can replace quotes with empty before getting the offset and then you'll get what you expect. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From martyknapp at comcast.net Sun Jan 9 19:03:12 2011 From: martyknapp at comcast.net (Marty Knapp) Date: Sun, 09 Jan 2011 16:03:12 -0800 Subject: Custom Print Dialog Message-ID: <4D2A4CC0.3070403@comcast.net> Has anyone rolled their own print dialog for Mac? I'm working on an app that I hope to get into the Mac App Store and am concerned about violating the HIG. Currently my users have a choice of how many cards to print per page, along with a few other options that need to be set before I call for the print dialog. I have to inform the user not to change the quantity in the subsequent standard mac print dialog, as that will potentially print multiple copies of a multi-card page, which might confuse people. But looking at the dictionary, it doesn't look like there are too many options when making you own print dialog. For instance, if you're printing to an ink jet printer, I see the only color option is on or off - no control over the type of paper (plain, high-gloss, etc). As my printers here don't have multiple paper trays, I can't tell if that shows up in printerFeatures. Any advice for me? Thank you, Marty Knapp From pete at mollysrevenge.com Sun Jan 9 19:05:28 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Sun, 9 Jan 2011 16:05:28 -0800 Subject: When is a Word not a Word? In-Reply-To: <4D2A416B.9040502@hyperactivesw.com> References: <431CB3EB-DCD5-4BD8-996C-000948B7E3B1@mollysrevenge.com> <4D2A416B.9040502@hyperactivesw.com> Message-ID: So is the dictionary wrong or am I just misunderstanding it? It says a word is something enclosed in quotes. Is it implying that the quotes are part of the word, not delimited by it? Pete Haworth On Jan 9, 2011, at 3:14 PM, J. Landman Gay wrote: > On 1/9/11 4:48 PM, Peter Haworth wrote: >> Got weird things going on with the wordoffset function. The code >> is: >> >> put wordoffset(field "Selection",myLine) into mywordoffset >> >> if field Selection contains xyz and myline contains abc def xyz, then >> wordoffset returns 3. >> >> if field Selection contains xyz and myline contains abc def "xyz" >> (xyz in double quotes this time), wordoffset returns zero. >> >> I've tried this with all combinations of casesensitive and >> wholematches true and false. >> >> According to the dictionary, "A word is delimited by one or more >> spaces, tabs, or returns, or enclosed by double quotes" so why isn;t >> "xyz" recognised as a word? > > Well, wordoffset looks at the beginnings of words, and the first character in your second example is a quotation mark. So xyz isn't at the start of a word in the second example, but quote+xyz is. > > You can replace quotes with empty before getting the offset and then you'll get what you expect. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at mollysrevenge.com Sun Jan 9 19:16:15 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Sun, 9 Jan 2011 16:16:15 -0800 Subject: When is a Word not a Word? In-Reply-To: <4D2A416B.9040502@hyperactivesw.com> References: <431CB3EB-DCD5-4BD8-996C-000948B7E3B1@mollysrevenge.com> <4D2A416B.9040502@hyperactivesw.com> Message-ID: I guess my previous email should have said what I'm trying to do. I'm searching through an LC script to find all occurrences of a string and then replacing it with another string. The quote thing causes a problem with expressions such as if "xyz" is among the lines of the customkeys of .... I can't replace the quotes around xyz because that changes the whole meaning of the if statement and makes xyz look like a variable. Any suggestions on how to do this? Maybe put quote & "xyz" & quote into a variable and search for it? Pete Haworth On Jan 9, 2011, at 3:14 PM, J. Landman Gay wrote: > On 1/9/11 4:48 PM, Peter Haworth wrote: >> Got weird things going on with the wordoffset function. The code >> is: >> >> put wordoffset(field "Selection",myLine) into mywordoffset >> >> if field Selection contains xyz and myline contains abc def xyz, then >> wordoffset returns 3. >> >> if field Selection contains xyz and myline contains abc def "xyz" >> (xyz in double quotes this time), wordoffset returns zero. >> >> I've tried this with all combinations of casesensitive and >> wholematches true and false. >> >> According to the dictionary, "A word is delimited by one or more >> spaces, tabs, or returns, or enclosed by double quotes" so why isn;t >> "xyz" recognised as a word? > > Well, wordoffset looks at the beginnings of words, and the first character in your second example is a quotation mark. So xyz isn't at the start of a word in the second example, but quote+xyz is. > > You can replace quotes with empty before getting the offset and then you'll get what you expect. > > -- > 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 Sun Jan 9 19:25:55 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 09 Jan 2011 16:25:55 -0800 Subject: Software Order Processing Service? In-Reply-To: Message-ID: Recently, Peter Haworth wrote: > Here's another thought. I currently generate a reply to emails I get from > PayPal re purchases by using a Rule in the Mac Mail client. It's just a > simple courtesy to let them know I got the order soon but he Mac Mail rules > have an option to run an Applescript on the selected incoming emails so for > those people who know Applescript, it would probably be possible to generate a > registration code and send an email with it in. I did something similar once > which generated an email with an attached file dependant on the PayPal product > code in the incoming email. Thanks Pete. I've done this in the past, running an online game that generated software codes (a Rev stack generated a unique serial number based on an incoming email rule). It's a bit fragile, but there is a benefit of having all your processing technologies (email rules, LiveCode stacks, etc) local. In fact, it just occurred to me I have a few spare computers here so I could have a system devoted solely to order processing. Thanks for jogging my thinking about this option. Will still investigate PHP scripts as well. Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX Design From andre at andregarzia.com Sun Jan 9 19:41:33 2011 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 9 Jan 2011 22:41:33 -0200 Subject: Software Order Processing Service? In-Reply-To: References: <83B969BC-DE80-46C2-854C-CCB019B8B3FD@economy-x-talk.com> Message-ID: Scott, I did this with on-rev. let me have some days to package it, I was turning it into a paid product. andre On Sat, Jan 8, 2011 at 10:17 PM, Scott Rossi wrote: > Recently, Mark Schonewille wrote: > > > PayPal provides a library, into which you can hook your own registration > > system. You still have to make the actual script PHP to generate a > license, > > but you can use the transaction information that's provided in real time > by > > PayPal to create that license. > > I wonder if one could do this with on-rev instead of PHP... > > 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 > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Sun Jan 9 19:43:52 2011 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 9 Jan 2011 22:43:52 -0200 Subject: Humor: xkcd- How To Write Good Code In-Reply-To: <144229823359.20110107190639@ahsoftware.net> References: <5CB65FE0-531F-4FDA-8236-A905B85107F1@snet.net> <144229823359.20110107190639@ahsoftware.net> Message-ID: check the tooltip on the cartoon... makes things even funnier On Sat, Jan 8, 2011 at 1:06 AM, Mark Wieder wrote: > Kurt- > > Friday, January 7, 2011, 5:18:06 PM, you wrote: > > > http://xkcd.com/844/ > > LOL. But all seriousness aside, I think the "Throw it all out and > start over" step is the best refactoring process there is. My code > becomes so much cleaner when I've already thought out the issues and > don't have to deal with the legacy code I've (badly) written. > > -- > -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. From mwieder at ahsoftware.net Sun Jan 9 21:14:51 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 9 Jan 2011 18:14:51 -0800 Subject: Humor: xkcd- How To Write Good Code In-Reply-To: References: <5CB65FE0-531F-4FDA-8236-A905B85107F1@snet.net> <144229823359.20110107190639@ahsoftware.net> Message-ID: <108399518171.20110109181451@ahsoftware.net> Andre- Sunday, January 9, 2011, 4:43:52 PM, you wrote: > check the tooltip on the cartoon... makes things even funnier Hah! I hadn't noticed that before. Thanks. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Sun Jan 9 21:58:44 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 09 Jan 2011 20:58:44 -0600 Subject: When is a Word not a Word? In-Reply-To: References: <431CB3EB-DCD5-4BD8-996C-000948B7E3B1@mollysrevenge.com> <4D2A416B.9040502@hyperactivesw.com> Message-ID: <4D2A75E4.6010608@hyperactivesw.com> On 1/9/11 6:05 PM, Peter Haworth wrote: > So is the dictionary wrong or am I just misunderstanding it? It says > a word is something enclosed in quotes. Is it implying that the > quotes are part of the word, not delimited by it? It's confusing, but it's sort of both. Counting everything within double quotes as a single word is historical HyperCard behavior. That makes it easy to do things like extract the name of a stack: get the name of this stack -- 'stack "Message Box"' put word 2 of it -- "Message Box" Note though that you still need to strip the quotation marks if you don't want them, so quotes really are still part of the "word" chunk. Basically words are delimited by white space, but inside a quoted string the white space is ignored, at least for the purposes of text chunking. The offset functions also respect the double-quote rule: get the name of this stack -- 'stack "Message Box"' put wordoffset("box",it) -- 2 put wordoffset("message",it) -- 2 But offset functions do ignore the quotes when looking for a match (which means I mislead you in my last message.) I just tried your example and I get what you'd expect. I'm not sure why our results are different: get "abc def" && quote& "xyz" "e put wordoffset("xyz",it) I get 3. > Any suggestions on how to do this? Maybe put quote & "xyz" & > quote into a variable and search for it? Yes, I think that's what you'd need to do. It will force the engine to evaluate the string before using it. But even easier, do you know about the built-in script editor replace? It's in the Edit menu when a script editor is open. Or click the More button next to the Find field if it's already showing. It beats writing your own. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sun Jan 9 22:20:08 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 9 Jan 2011 19:20:08 -0800 Subject: Major Problems with Find/Replace In-Reply-To: <3601B1EC-A873-4376-AC62-17949BFF7F47@mollysrevenge.com> References: <3601B1EC-A873-4376-AC62-17949BFF7F47@mollysrevenge.com> Message-ID: <33403434812.20110109192008@ahsoftware.net> Pete- Friday, January 7, 2011, 2:43:35 PM, you wrote: > I just got done using the FInd and Replace dialog (from the Edit > menu) to make some wholesale changes to custom property names Actually I wasn't aware that you could do this with that dialog... -- -Mark Wieder mwieder at ahsoftware.net From capellan2000 at gmail.com Sun Jan 9 23:17:28 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 9 Jan 2011 20:17:28 -0800 (PST) Subject: Audioclips: can't get at the data? In-Reply-To: References: <7C79C759-264A-4406-B176-6AADE131E6E3@major.on-rev.com> Message-ID: <1294633048500-3206597.post@n4.nabble.com> Stephen, These are great news, indeed! :-D Could we merge many imported audioclips in a single audio file? This would make a lot easier to recreate apps like "Mozart's Musical Game" in this platform These messages reads like the continuation of this thread from last May: http://runtime-revolution.278305.n4.nabble.com/Rev-audio-clips-td2221758.html Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Audioclips-can-t-get-at-the-data-tp3179278p3206597.html Sent from the Revolution - User mailing list archive at Nabble.com. From psahores at free.fr Mon Jan 10 01:43:03 2011 From: psahores at free.fr (Pierre Sahores) Date: Mon, 10 Jan 2011 07:43:03 +0100 Subject: Software Order Processing Service? In-Reply-To: References: <83B969BC-DE80-46C2-854C-CCB019B8B3FD@economy-x-talk.com> Message-ID: <6EDF27AC-4895-4C50-9A5D-CD9654D4A7AB@free.fr> Andre, Will license and learn your way to go as soon as you will have pack it :D Kind Regards, Pierre Le 10 janv. 2011 ? 01:41, Andre Garzia a ?crit : > Scott, > > I did this with on-rev. let me have some days to package it, I was turning > it into a paid product. > > andre > > > > On Sat, Jan 8, 2011 at 10:17 PM, Scott Rossi wrote: > >> Recently, Mark Schonewille wrote: >> >>> PayPal provides a library, into which you can hook your own registration >>> system. You still have to make the actual script PHP to generate a >> license, >>> but you can use the transaction information that's provided in real time >> by >>> PayPal to create that license. >> >> I wonder if one could do this with on-rev instead of PHP... >> >> 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 >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From andre at andregarzia.com Mon Jan 10 07:13:22 2011 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 10 Jan 2011 10:13:22 -0200 Subject: Humor: xkcd- How To Write Good Code In-Reply-To: <108399518171.20110109181451@ahsoftware.net> References: <5CB65FE0-531F-4FDA-8236-A905B85107F1@snet.net> <144229823359.20110107190639@ahsoftware.net> <108399518171.20110109181451@ahsoftware.net> Message-ID: On Mon, Jan 10, 2011 at 12:14 AM, Mark Wieder wrote: > Andre- > > Sunday, January 9, 2011, 4:43:52 PM, you wrote: > > > check the tooltip on the cartoon... makes things even funnier > > Hah! I hadn't noticed that before. Thanks. > > Are you waiting for HURD too??? I want to run HURD on a NextStation.... (Now, back on the real world, I'd settle for better linux engine) > -- > -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. From klaus at major.on-rev.com Mon Jan 10 07:24:05 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 10 Jan 2011 13:24:05 +0100 Subject: Quit In-Reply-To: <4D2A3473.9010007@hyperactivesw.com> References: <4D29ACCE.8020606@gmail.com> <4D2A3473.9010007@hyperactivesw.com> Message-ID: <64F01E93-611C-4D78-8582-340E3B64D093@major.on-rev.com> Hi Jaqueline and Richmond, > On 1/9/11 6:40 AM, Richmond wrote: >> I want to disable the ability of Mac users to QUIT >> by pressing Command-Q; tis is to force them to >> use localised QUIT buttons (each with slightly >> different characteristics) on cards within a stack. > > Try trapping the shutdownrequest message. I think you will need to trap the appropriate AppleEvent, since the "Quit" menu in any OS X app is managed by the OS! Put this into the script of your mainstack: on appleEvent theClass,theID ## dosc = Do Script ## rapp = resume app ## odoc = open document ## quit = quit ## Only "trap" the quit command and let all other apple event pass! if theID <> "quit" then pass appleevent end if end appleEvent That should do what you want. > -- > 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 pmbrig at gmail.com Mon Jan 10 08:49:30 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Mon, 10 Jan 2011 08:49:30 -0500 Subject: When is a Word not a Word? In-Reply-To: <431CB3EB-DCD5-4BD8-996C-000948B7E3B1@mollysrevenge.com> References: <431CB3EB-DCD5-4BD8-996C-000948B7E3B1@mollysrevenge.com> Message-ID: <9BA75CF2-B903-4FC3-BB56-8E9DA3D0E91E@gmail.com> On Jan 9, 2011, at 5:48 PM, Peter Haworth wrote: > Got weird things going on with the wordoffset function. The code is: > > put wordoffset(field "Selection",myLine) into mywordoffset > > if field Selection contains xyz and myline contains abc def xyz, > then wordoffset returns 3. > > if field Selection contains xyz and myline contains abc def > "xyz" (xyz in double quotes this time), wordoffset returns zero. > > I've tried this with all combinations of casesensitive and > wholematches true and false. > > According to the dictionary, "A word is delimited by one or more > spaces, tabs, or returns, or enclosed by double quotes" so why isn;t > "xyz" recognised as a word? > > Pete Haworth Word 3 of abc def "xyz" is "xyz" not xyz The business about "enclosed in double quotes" refers to the (to my mind) puzzling convention in RC, dating back to the old HC days, of considering anything in double quotes to be one word. So, word 3 of abc def "ghi jklmno" is "ghi jklmno" (with the quotes included). There was a debate about the merits of this convention a while back -- search the archives. But you might have wholematches set to true. If you do: put "abc def ghi" && quote & "xyz" & quote into tSentence put "xyz" into tWord put s & cr & wordoffset(tWord, tSentence) then you get abc def ghi "xyz" 4 unless the wholematches = true, in which case the wordoffset returns 0. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From m.schonewille at economy-x-talk.com Mon Jan 10 08:55:09 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 10 Jan 2011 14:55:09 +0100 Subject: Software Order Processing Service? In-Reply-To: <4D28FAD4.3020204@comcast.net> References: <4D28FAD4.3020204@comcast.net> Message-ID: <2C8ABECC-4F71-48DB-A541-C92A55173450@economy-x-talk.com> Hi, You might want to know that FastSpring is spamming software publishers to do business with them. I received an unsollicited e-mail from them the other they and I would not do business with FastSpring for this reason. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 9 jan 2011, at 01:01, Marty Knapp wrote: > FastSpring does what you're asking - they automatically issue the registration codes. They can deal with a list of your codes that you supply in bulk, or they offer a system that also generates the code, though I don't know that there is a way to implement dealing with that in LiveCode. > > When a sale is completed, you also get, along with the customer info, the code that was issued so you have a record of it. > > I believe the Kagi system is similar in this regard and their fees are the same, if I'm not mistaken. > > I wasn't aware that PayPal offered anything for issued registration codes (thanks Mark for that info). Their rates are certainly less. I will look into this. How many of you have used this? Have you found it to be reliable? Fairly easy to implement? > > Marty From pmbrig at gmail.com Mon Jan 10 09:02:05 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Mon, 10 Jan 2011 09:02:05 -0500 Subject: Quit In-Reply-To: <4D29ACCE.8020606@gmail.com> References: <4D29ACCE.8020606@gmail.com> Message-ID: <923704E2-C2FD-4311-B906-AF8ED771A98A@gmail.com> On Jan 9, 2011, at 7:40 AM, Richmond wrote: > I want to disable the ability of Mac users to QUIT > by pressing Command-Q; tis is to force them to > use localised QUIT buttons (each with slightly > different characteristics) on cards within a stack. This is in my saved tidbits stack, from a discussion a while back, maybe it will help: ------------ From: Mark Schonewille Date: Fri, 16 Nov 2007 01:16:34 +0100 Re: Re: saving data in a standalone before quit (Was Re: (mac) application menu) Peter, When you use the Quit menu item, Mac OS X sends an event to Revolution. You can catch this message with the AppleEvent handler or the shutdownRequest handler. On Mac OS X, I prefer to use the AppleEvent handler most of the time. If you use either the AppleEvent handler or the shutdownRequest handler without a pass command, the application will not quit by itself (you can also lock messages and issue the quit command). When you press command-Q, the Quit menu item should work just like when you use the mouse to select this menu item and you can catch the AppleEvent and shutdownRequest messages again. However, your script may catch the commandKeyDown message. If you don't pass this message with the pass command, your application may not quit. There are versions of Revolution that don't pass the commandKeydown message because of a bug. There are also versions that don't pass the AppleEvent message. If you are using Rev 2.8.1, problems with quitting are probably due to a script. Best regards, Mark Schonewille Op 15-nov-2007, om 23:08 heeft Peter Brigham het volgende geschreven: > Now, the other mystery -- I convert my stack to a standalone (now > with the correct application name in the Mac manubar!) and when I > select "quit from the application menu, nothing happens. > Anyone have any ideas what could cause this behavior? Per my > previous experiments, this is probably *not* due to anything in my > scripting, as it seems that the quit command is handled by the > system. So what could be the problem? ******** From: Marty Knapp Date: Sat, 17 Nov 2007 11:04:20 -0800 On: How to use Revolution Re: (mac) application menu This was driving me crazy too. After messing around with it, I pieced the following together and it's worked for me (I am using Rev 2.6.1): on appleEvent pClass,pID,pSender --I got this from Ken Ray's web site switch (pClass & pID) case "aevtquit" answer "Save changes?" with "Don't Save" or "Save" if it is "Save" then doSaveStuff pass appleEvent else pass appleEvent break default pass appleEvent break end switch end appleEvent on closeStackrequest Global homeStack if the short name of this stack is homeStack then answer "Save changes?" with "Don't Save" or "Save" if it is "Save" then doSaveStuff end if end if pass closeStackrequest end closeStackrequest on shutdownRequest --I only use this for Windows Global homeStack if the platform contains "Win" then if the short name of this stack is homeStack then answer "Save changes?" with "Don't Save" or "Save" if it is "Save" then doSaveStuff end if end if end if pass shutdownRequest end shutdownRequest Marty Knapp From lists at mangomultimedia.com Mon Jan 10 09:51:19 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 10 Jan 2011 09:51:19 -0500 Subject: Preferences on first start-up In-Reply-To: References: Message-ID: On Sat, Jan 8, 2011 at 10:46 AM, Keith Clarke < keith.clarke at clarkeandclarke.co.uk> wrote: > ...I'm rather hoping that's one of the things the GLX framework supports > with it's preference handling (I'm just starting to learn about it, so can't > be sure). > > http://www.bluemangolearning.com/screensteps/examples/manuals/GLX_Application_Framework.html The framework does handle the detection/creation of a prefs file. It does not store the prefs file in the standard plist format, however. That would be an interesting project for anybody who is bored and looking for something to do... :-) -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From bobs at twft.com Mon Jan 10 11:36:33 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 10 Jan 2011 08:36:33 -0800 Subject: [OT] time to change your iTunes password? In-Reply-To: <72461645-6E5C-4042-95D5-521ADF659830@altuit.com> References: <4D272DEC.8000806@fourthworld.com> <98741840-E1C8-4D5F-B2FF-C6FA4C01CA48@verizon.net> <70A1DEEB-350D-4B9F-901A-1DA1A4165391@clarkeandclarke.co.uk> <748284CB-05E4-4B2F-8D83-39A151A22177@twft.com> <3E7D9029-602F-456E-9B89-9B5D0466C1C3@twft.com> <1AEC1FE9-C97F-4539-AD1F-A9BA90A525C4@twft.com> <72461645-6E5C-4042-95D5-521ADF659830@altuit.com> Message-ID: I'm gonna move to the United State of Texas! Bob On Jan 7, 2011, at 10:13 PM, Chipp Walters wrote: > I'm with you. In fact I believe if you don't lock your car, you should have it stolen. And anyone stupid enough to never lock their house deserves to be robbed at gunpoint and pistol whipped. > > And don't get me started about if you're so stupid to not know how to program in Objective-C... > > Chipp Walters > Who doesn't really know any Objective-C > And who sometimes uses the word password.. > And who lives in Texas in a sometimes unlocked house and car and tractor and truck > And who has a big gun and the Texas law on his side anytime he needs to use it. > > (In fact, in Texas, I'm allowed to shoot a robber as he's carrying out a TV, in the back, who is robbing my neighbor's house...while they're away... Yep, we don't have too many home invasions here. And we balance our budget each year). > :-p > > On Jan 7, 2011, at 5:25 PM, Bob Sneidar wrote: > >> I agree that a lot of people use crappy passwords. It is my somewhat controversial opinion however, given that this is the 21st century, that those people really deserve to lose everything they protect with such passwords. >>>> >>>> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Mon Jan 10 11:45:58 2011 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 10 Jan 2011 11:45:58 -0500 Subject: [OT] time to change your iTunes password? In-Reply-To: <72461645-6E5C-4042-95D5-521ADF659830@altuit.com> References: <4D272DEC.8000806@fourthworld.com> <98741840-E1C8-4D5F-B2FF-C6FA4C01CA48@verizon.net> <70A1DEEB-350D-4B9F-901A-1DA1A4165391@clarkeandclarke.co.uk> <748284CB-05E4-4B2F-8D83-39A151A22177@twft.com> <3E7D9029-602F-456E-9B89-9B5D0466C1C3@twft.com> <1AEC1FE9-C97F-4539-AD1F-A9BA90A525C4@twft.com> <72461645-6E5C-4042-95D5-521ADF659830@altuit.com> Message-ID: > (In fact, in Texas, I'm allowed to shoot a robber as he's carrying out a > TV, in the back, who is robbing my neighbor's house...while they're away... > Yep, we don't have too many home invasions here. And we balance our budget > each year). > :-p > > LIKE! -- 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 david at vaudevillecourt.tv Mon Jan 10 11:58:07 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Mon, 10 Jan 2011 16:58:07 +0000 Subject: [OT] time to change your iTunes password? In-Reply-To: <72461645-6E5C-4042-95D5-521ADF659830@altuit.com> References: <4D272DEC.8000806@fourthworld.com> <98741840-E1C8-4D5F-B2FF-C6FA4C01CA48@verizon.net> <70A1DEEB-350D-4B9F-901A-1DA1A4165391@clarkeandclarke.co.uk> <748284CB-05E4-4B2F-8D83-39A151A22177@twft.com> <3E7D9029-602F-456E-9B89-9B5D0466C1C3@twft.com> <1AEC1FE9-C97F-4539-AD1F-A9BA90A525C4@twft.com> <72461645-6E5C-4042-95D5-521ADF659830@altuit.com> Message-ID: Nah... I'm not moving to Texas. You've gone soft! In the 70's you could shout your wife for infidelity and get away with it. In Texas until 1974, a husband who killed a wife and her lover when he caught them in flagrante delicto was not judged a criminal. In fact, the law held that a "reasonable man" would respond to such extreme provocation with acts of violence. - source On 8 January 2011 06:13, Chipp Walters wrote: > I'm with you. In fact I believe if you don't lock your car, you should have > it stolen. And anyone stupid enough to never lock their house deserves to be > robbed at gunpoint and pistol whipped. > > And don't get me started about if you're so stupid to not know how to > program in Objective-C... > > Chipp Walters > Who doesn't really know any Objective-C > And who sometimes uses the word password.. > And who lives in Texas in a sometimes unlocked house and car and tractor > and truck > And who has a big gun and the Texas law on his side anytime he needs to use > it. > > (In fact, in Texas, I'm allowed to shoot a robber as he's carrying out a > TV, in the back, who is robbing my neighbor's house...while they're away... > Yep, we don't have too many home invasions here. And we balance our budget > each year). > :-p > > On Jan 7, 2011, at 5:25 PM, Bob Sneidar wrote: > > > I agree that a lot of people use crappy passwords. It is my somewhat > controversial opinion however, given that this is the 21st century, that > those people really deserve to lose everything they protect with such > passwords. > From pete at mollysrevenge.com Mon Jan 10 13:01:48 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Mon, 10 Jan 2011 10:01:48 -0800 Subject: When is a Word not a Word? In-Reply-To: <4D2A75E4.6010608@hyperactivesw.com> References: <431CB3EB-DCD5-4BD8-996C-000948B7E3B1@mollysrevenge.com> <4D2A416B.9040502@hyperactivesw.com> <4D2A75E4.6010608@hyperactivesw.com> Message-ID: <3DB76C0A-B91C-483F-B2F7-85C6293ABE8A@mollysrevenge.com> Thanks for the explanation, I guess it's the wording in the dictionary that is not really clear (at least to me). I think your example of having white space within quotes brought home the intention behind it all. You get the correct xyz results because you enclosed the string to search for in quotes. My problem was because I was trying to find a string not in quotes in the search field and it was in quotes in the search field. I've worked around the problem now by searching both with and without quotes. I know about the various different find/replace functions in LC and wonder why there are three of them that all work slightly differently, but that's another story. I think the Find/Replace function you get from the Edit Menu when a script editor window is not in focus does what I want for scripts but, as mentioned in an earlier email, it wreaked (wrought?) havoc on my custom properties when I tried to search for a specific one and replace it with a different name. I've written my own script to globally change the name of a custom property and it's working fine. I've also realised that looking for strings in a script is pretty complicated because of the many string delimiters that could be present - quotes, comma, open and close brackets, open and close square brackets, etc - so I'll go back to the Find/Replace for that. I guess I could try using a regular expression but they seem so far removed from the English-like syntax of the rest of LC that I don't think I want to get involved with them! Pete Haworth On Jan 9, 2011, at 6:58 PM, J. Landman Gay wrote: > On 1/9/11 6:05 PM, Peter Haworth wrote: >> So is the dictionary wrong or am I just misunderstanding it? It says >> a word is something enclosed in quotes. Is it implying that the >> quotes are part of the word, not delimited by it? > > It's confusing, but it's sort of both. Counting everything within double quotes as a single word is historical HyperCard behavior. That makes it easy to do things like extract the name of a stack: > > get the name of this stack -- 'stack "Message Box"' > put word 2 of it -- "Message Box" > > Note though that you still need to strip the quotation marks if you don't want them, so quotes really are still part of the "word" chunk. Basically words are delimited by white space, but inside a quoted string the white space is ignored, at least for the purposes of text chunking. > > The offset functions also respect the double-quote rule: > > get the name of this stack -- 'stack "Message Box"' > put wordoffset("box",it) -- 2 > put wordoffset("message",it) -- 2 > > But offset functions do ignore the quotes when looking for a match (which means I mislead you in my last message.) I just tried your example and I get what you'd expect. I'm not sure why our results are different: > > get "abc def" && quote& "xyz" "e > put wordoffset("xyz",it) > > I get 3. > >> Any suggestions on how to do this? Maybe put quote & "xyz" & > > quote into a variable and search for it? > > Yes, I think that's what you'd need to do. It will force the engine to evaluate the string before using it. > > But even easier, do you know about the built-in script editor replace? It's in the Edit menu when a script editor is open. Or click the More button next to the Find field if it's already showing. It beats writing your own. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at mollysrevenge.com Mon Jan 10 13:04:44 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Mon, 10 Jan 2011 10:04:44 -0800 Subject: Major Problems with Find/Replace In-Reply-To: <33403434812.20110109192008@ahsoftware.net> References: <3601B1EC-A873-4376-AC62-17949BFF7F47@mollysrevenge.com> <33403434812.20110109192008@ahsoftware.net> Message-ID: <037594C9-6B9E-4F48-9650-0DD44700EDCD@mollysrevenge.com> Yeah, it's on the FInd/Replace dialog you get when the script editor is either not open or not in Focus - a check box labelled "Custom". Use it at your won risk though! I rolled my own script to do it. Pete Haworth -------------- next part -------------- http://www.mollysrevenge.com http://www.sonicbids.com/MollysRevenge http://www.myspace.com/mollysrevengeband On Jan 9, 2011, at 7:20 PM, Mark Wieder wrote: > Pete- > > Friday, January 7, 2011, 2:43:35 PM, you wrote: > >> I just got done using the FInd and Replace dialog (from the Edit >> menu) to make some wholesale changes to custom property names > > Actually I wasn't aware that you could do this with that dialog... > > -- > -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 mollysrevenge.com Mon Jan 10 13:09:04 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Mon, 10 Jan 2011 10:09:04 -0800 Subject: When is a Word not a Word? In-Reply-To: <9BA75CF2-B903-4FC3-BB56-8E9DA3D0E91E@gmail.com> References: <431CB3EB-DCD5-4BD8-996C-000948B7E3B1@mollysrevenge.com> <9BA75CF2-B903-4FC3-BB56-8E9DA3D0E91E@gmail.com> Message-ID: <54D83323-CBC2-4E6D-A4F5-0E197DE774BB@mollysrevenge.com> Thanks Peter. Unfortunately, I need wholematches to be true for my purposes. I've got round the problem by first searching without quotes and if nothing is found, searching again with quotes. I'm actually going back to the built in Find/Replace functions because I've realised there are lots of delimiters in scripts that the word offset functions don't handle - quotes, square brackets, round brackets, comma, etc. Pete Haworth On Jan 10, 2011, at 5:49 AM, Peter Brigham MD wrote: > On Jan 9, 2011, at 5:48 PM, Peter Haworth wrote: > >> Got weird things going on with the wordoffset function. The code is: >> >> put wordoffset(field "Selection",myLine) into mywordoffset >> >> if field Selection contains xyz and myline contains abc def xyz, then wordoffset returns 3. >> >> if field Selection contains xyz and myline contains abc def "xyz" (xyz in double quotes this time), wordoffset returns zero. >> >> I've tried this with all combinations of casesensitive and wholematches true and false. >> >> According to the dictionary, "A word is delimited by one or more spaces, tabs, or returns, or enclosed by double quotes" so why isn;t "xyz" recognised as a word? >> >> Pete Haworth > > Word 3 of > abc def "xyz" > is > "xyz" > not > xyz > > The business about "enclosed in double quotes" refers to the (to my mind) puzzling convention in RC, dating back to the old HC days, of considering anything in double quotes to be one word. So, word 3 of > abc def "ghi jklmno" > is > "ghi jklmno" > (with the quotes included). There was a debate about the merits of this convention a while back -- search the archives. > > But you might have wholematches set to true. > > If you do: > put "abc def ghi" && quote & "xyz" & quote into tSentence > put "xyz" into tWord > put s & cr & wordoffset(tWord, tSentence) > then you get > abc def ghi "xyz" > 4 > unless the wholematches = true, in which case the wordoffset returns 0. > > -- 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 david at vaudevillecourt.tv Mon Jan 10 13:22:36 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Mon, 10 Jan 2011 18:22:36 +0000 Subject: Using shell to call Livecode Message-ID: I'd like to use the shell to open LiveCode and pass it a value that can be handled by a Script - I used to do this with MetaCard on Linux - is this possible cross platform with LiveCode? From m.schonewille at economy-x-talk.com Mon Jan 10 13:36:36 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 10 Jan 2011 19:36:36 +0100 Subject: Using shell to call Livecode In-Reply-To: References: Message-ID: <9FC1C74A-4AD7-4BCF-80D8-9C8B589C3B3C@economy-x-talk.com> David, You can do really nice tricks with the shell and Revolution 3.5 and earlier. I'm not sure about 4 and later. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 10 jan 2011, at 19:22, David Bovill wrote: > I'd like to use the shell to open LiveCode and pass it a value that can be > handled by a Script - I used to do this with MetaCard on Linux - is this > possible cross platform with LiveCode? From david at vaudevillecourt.tv Mon Jan 10 14:09:39 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Mon, 10 Jan 2011 19:09:39 +0000 Subject: Using shell to call Livecode In-Reply-To: <9FC1C74A-4AD7-4BCF-80D8-9C8B589C3B3C@economy-x-talk.com> References: <9FC1C74A-4AD7-4BCF-80D8-9C8B589C3B3C@economy-x-talk.com> Message-ID: I want to configure an external program to use LiveCode as a web browser rather than a default browser - in the config options it allows you to specify a command line that will open a browser of you choice with the given url: > A shell command used to launch your preferred web browser when given a URL as an argument. > Defaults to "start" on windows, "open" on Mac, and "firefox" on Unix. > > Similar things go for using Livecode as a built in editor for various things. I don't want to use AppleScript as i want a cross-platform solution? Any suggestions as to what i could try? On 10 January 2011 18:36, Mark Schonewille wrote: > David, > > You can do really nice tricks with the shell and Revolution 3.5 and > earlier. I'm not sure about 4 and later. > From bvg at mac.com Mon Jan 10 15:06:58 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 10 Jan 2011 21:06:58 +0100 Subject: Using shell to call Livecode In-Reply-To: References: <9FC1C74A-4AD7-4BCF-80D8-9C8B589C3B3C@economy-x-talk.com> Message-ID: <6D567C2F-712B-4F97-970B-85EE265A12F0@mac.com> David, you want $. On 10 Jan 2011, at 20:09, David Bovill wrote: > I want to configure an external program to use LiveCode as a web browser > rather than a default browser - in the config options it allows you to > specify a command line that will open a browser of you choice with the given > url: > >> A shell command used to launch your preferred web browser when given a URL as an argument. >> Defaults to "start" on windows, "open" on Mac, and "firefox" on Unix. >> >> Similar things go for using Livecode as a built in editor for various > things. I don't want to use AppleScript as i want a cross-platform solution? > Any suggestions as to what i could try? > > On 10 January 2011 18:36, Mark Schonewille > wrote: > >> David, >> >> You can do really nice tricks with the shell and Revolution 3.5 and >> earlier. I'm not sure about 4 and later. >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Jan 10 15:23:32 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 10 Jan 2011 12:23:32 -0800 Subject: [OT] time to change your iTunes password? In-Reply-To: References: <4D272DEC.8000806@fourthworld.com> <98741840-E1C8-4D5F-B2FF-C6FA4C01CA48@verizon.net> <70A1DEEB-350D-4B9F-901A-1DA1A4165391@clarkeandclarke.co.uk> <748284CB-05E4-4B2F-8D83-39A151A22177@twft.com> <3E7D9029-602F-456E-9B89-9B5D0466C1C3@twft.com> <1AEC1FE9-C97F-4539-AD1F-A9BA90A525C4@twft.com> <72461645-6E5C-4042-95D5-521ADF659830@altuit.com> Message-ID: 1974... That was right around the time that the first crop of liberally oriented students were reaching voting age wasn't it? Bob On Jan 10, 2011, at 8:58 AM, David Bovill wrote: > Nah... I'm not moving to Texas. You've gone soft! In the 70's you could > shout your wife for infidelity and get away with it. > > In Texas until 1974, a husband who killed a wife and her lover when he > caught them in flagrante delicto was not judged a criminal. In fact, the law > held that a "reasonable man" would respond to such extreme provocation with > acts of violence. - > source From bobs at twft.com Mon Jan 10 15:27:24 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 10 Jan 2011 12:27:24 -0800 Subject: When is a Word not a Word? In-Reply-To: <3DB76C0A-B91C-483F-B2F7-85C6293ABE8A@mollysrevenge.com> References: <431CB3EB-DCD5-4BD8-996C-000948B7E3B1@mollysrevenge.com> <4D2A416B.9040502@hyperactivesw.com> <4D2A75E4.6010608@hyperactivesw.com> <3DB76C0A-B91C-483F-B2F7-85C6293ABE8A@mollysrevenge.com> Message-ID: And let's not get started on building an expression with a script, like: put "put thistime" & theCount & " into theCountVariable" into theCommand do theCommand Bob On Jan 10, 2011, at 10:01 AM, Peter Haworth wrote: > I've written my own script to globally change the name of a custom property and it's working fine. I've also realised that looking for strings in a script is pretty complicated because of the many string delimiters that could be present - quotes, comma, open and close brackets, open and close square brackets, etc - so I'll go back to the Find/Replace for that. I guess I could try using a regular expression but they seem so far removed from the English-like syntax of the rest of LC that I don't think I want to get involved with them! > > Pete Haworth From klaus at major.on-rev.com Mon Jan 10 15:37:03 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 10 Jan 2011 21:37:03 +0100 Subject: Using shell to call Livecode In-Reply-To: <6D567C2F-712B-4F97-970B-85EE265A12F0@mac.com> References: <9FC1C74A-4AD7-4BCF-80D8-9C8B589C3B3C@economy-x-talk.com> <6D567C2F-712B-4F97-970B-85EE265A12F0@mac.com> Message-ID: <082413C3-E46A-4B09-A1F8-E3C6766CF39C@major.on-rev.com> Hi Bj?rnke, > David, you want $. C'mon, every american wants $! :-D Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From bobs at twft.com Mon Jan 10 15:42:35 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 10 Jan 2011 12:42:35 -0800 Subject: Using shell to call Livecode In-Reply-To: <082413C3-E46A-4B09-A1F8-E3C6766CF39C@major.on-rev.com> References: <9FC1C74A-4AD7-4BCF-80D8-9C8B589C3B3C@economy-x-talk.com> <6D567C2F-712B-4F97-970B-85EE265A12F0@mac.com> <082413C3-E46A-4B09-A1F8-E3C6766CF39C@major.on-rev.com> Message-ID: <2C05C325-26C8-45BF-9A2B-8FE98978C868@twft.com> And a bit over half of them want $ without actually having to work for it. ;-) Bob On Jan 10, 2011, at 12:37 PM, Klaus on-rev wrote: > Hi Bj?rnke, > >> David, you want $. > > C'mon, every american wants $! :-D > > > 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 janschenkel at yahoo.com Mon Jan 10 15:46:32 2011 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 10 Jan 2011 12:46:32 -0800 (PST) Subject: Creative Common Copyright Notice in Standalones Message-ID: <981997.80296.qm@web65415.mail.ac4.yahoo.com> --- On Sat, 1/8/11, David Bovill wrote: > [snip] > > Thanks for taking the time to respond - my interest is in > real business > models built around licenses, or other legal innovations - > and not the > politics :)** > Well, now that the topic has come up, I have a few questions regarding open source licenses which the community may provide better insight into. Let's assume I want to make available a new Quartam Smurf Library for LiveCode, as open source. Ignore the Intellectual Property rights of Peyo for a second, it's just the first thing I could think of - I'll leave it up to the psychologists on this list to examine my insanity from that :-) Anyway, Quartam Smurf Library offers a set of commands and functions to do with Smurfs. Let's say it covers the original 100 Smurfs. I want to give the rest of the community the opportunity to add support for the newer Smurfs that were added afterwards. The library has a number of 'core' commands and functions that are scripted as 'private' and are used by all 'public' commands and functions for the initial 100 Smurfs. My main goals: - to make sure that I get proper attribution for my work - to make sure that anyone who uses the library shares their modifications with the rest of the community - to run an open community around the library to incorporate the welcome changes into new versions of the library - to also accommodate those LiveCode-using developers whose corporate policy prevents them from using anything GPL/LGPL/AGPL, by offering it in a commercial license as well My main concerns: - it needs to cover Desktop, Mobile, Server and Web plug-in deployments - it shouldn't be a viral license that requires the whole program to be open source under the same license, just the modifications and extensions of the library - it should prevent commercial 'wrapping' of the library (*) (*) what I mean by wrapping: some devious individual could decide to make a derivative version of Quartam Smurf Library, exposing just those core 'private' commands and functions by making them 'public' - thus enabling them to write a 'wrapper' library which is closed source and commercial, not sharing their extensions but making a profit of the work of the contributors. In short, I'm willing to share my initial work, but others should also share their modifications and extensions with the community. So far I haven't found the right license for this. - MIT is too liberal for this, I think - GPL is viral so out of the question - LGPL is close but its goal conflicts with Server and Web plug-in - AGPL has also turned out to be viral, after re-reading it a few times - MPL might be a candidate, but I'm not sure if it covers all the concerns Can you guys and gals help me out? Thanks in advance for the feedback! 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 warren at warrensweb.us Mon Jan 10 16:19:54 2011 From: warren at warrensweb.us (Warren Samples) Date: Mon, 10 Jan 2011 15:19:54 -0600 Subject: Creative Common Copyright Notice in Standalones In-Reply-To: <981997.80296.qm@web65415.mail.ac4.yahoo.com> References: <981997.80296.qm@web65415.mail.ac4.yahoo.com> Message-ID: <1294694394.2261.641.camel@mint-i7> On Mon, 2011-01-10 at 12:46 -0800, Jan Schenkel wrote: > --- On Sat, 1/8/11, David Bovill wrote: > > [snip] > > > > Thanks for taking the time to respond - my interest is in > > real business > > models built around licenses, or other legal innovations - > > and not the > > politics :)** > > > > Well, now that the topic has come up, I have a few questions regarding open source licenses which the community may provide better insight into. > > Let's assume I want to make available a new Quartam Smurf Library for LiveCode, as open source. Ignore the Intellectual Property rights of Peyo for a second, it's just the first thing I could think of - I'll leave it up to the psychologists on this list to examine my insanity from that :-) > > Anyway, Quartam Smurf Library offers a set of commands and functions to do with Smurfs. Let's say it covers the original 100 Smurfs. I want to give the rest of the community the opportunity to add support for the newer Smurfs that were added afterwards. The library has a number of 'core' commands and functions that are scripted as 'private' and are used by all 'public' commands and functions for the initial 100 Smurfs. > > My main goals: > - to make sure that I get proper attribution for my work > - to make sure that anyone who uses the library shares their modifications with the rest of the community > - to run an open community around the library to incorporate the welcome changes into new versions of the library > - to also accommodate those LiveCode-using developers whose corporate policy prevents them from using anything GPL/LGPL/AGPL, by offering it in a commercial license as well > > My main concerns: > - it needs to cover Desktop, Mobile, Server and Web plug-in deployments > - it shouldn't be a viral license that requires the whole program to be open source under the same license, just the modifications and extensions of the library > - it should prevent commercial 'wrapping' of the library (*) > > (*) what I mean by wrapping: some devious individual could decide to make a derivative version of Quartam Smurf Library, exposing just those core 'private' commands and functions by making them 'public' - thus enabling them to write a 'wrapper' library which is closed source and commercial, not sharing their extensions but making a profit of the work of the contributors. > > In short, I'm willing to share my initial work, but others should also share their modifications and extensions with the community. > > So far I haven't found the right license for this. > - MIT is too liberal for this, I think > - GPL is viral so out of the question > - LGPL is close but its goal conflicts with Server and Web plug-in > - AGPL has also turned out to be viral, after re-reading it a few times > - MPL might be a candidate, but I'm not sure if it covers all the concerns > > Can you guys and gals help me out? > > Thanks in advance for the feedback! > > Jan Schenkel. > ===== > Quartam Reports & PDF Library for LiveCode > www.quartam.com > Jan, If this is a new work which does not rely on other works, leaving you unencumbered by the terms of some other prior license, then you are free to take your terms to an IP attorney and have him or her create a license that imposes your terms and your terms alone. In this case, there is no need to handicap yourself or to accept any terms you really don't find desirable. While the idea of using an "established" license has some merit if we believe (imagine) that it means they are well understood, accepted and adhered to, it's foolish to view any of them as some kind of "Holy Grail", particularly if your circumstances don't seem appropriate. Warren From scott at tactilemedia.com Mon Jan 10 16:44:57 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 10 Jan 2011 13:44:57 -0800 Subject: Using shell to call Livecode In-Reply-To: <082413C3-E46A-4B09-A1F8-E3C6766CF39C@major.on-rev.com> Message-ID: Recently, Klaus on-rev wrote: >> David, you want $. > > C'mon, every american wants $! :-D Some of us want cheese. Regards, Scott Rossi Creative Director Tactile Media, UX Design From richmondmathewson at gmail.com Mon Jan 10 17:21:46 2011 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 11 Jan 2011 00:21:46 +0200 Subject: Time Limited Demo Message-ID: <4D2B867A.1090604@gmail.com> Is there a way to implment a time-limit within a Livecode standalone? AND . . . Is there a way to "poison someone's machine" so that they cannot just carry on downloading time-limited demos everytime one expires? From m.schonewille at economy-x-talk.com Mon Jan 10 17:25:17 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 10 Jan 2011 23:25:17 +0100 Subject: ANN: Installer Maker Plugin 1.5.3 Message-ID: <258C4DFD-24FE-4102-9568-27B05854CF19@economy-x-talk.com> Hello, I needed an installer protected by a password tonight and decided to update the Installer Maker Plugin to include this feature as an option. You can download it at http://rrinstallermaker.economy-x-talk.com . Enjoy. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce From josh at dvcreators.net Mon Jan 10 17:27:23 2011 From: josh at dvcreators.net (Josh Mellicker) Date: Mon, 10 Jan 2011 14:27:23 -0800 Subject: Using shell to call Livecode In-Reply-To: References: <9FC1C74A-4AD7-4BCF-80D8-9C8B589C3B3C@economy-x-talk.com> Message-ID: <962B8FA2-A397-42D2-AFA2-9C045456C9BF@dvcreators.net> What external program? On Jan 10, 2011, at 11:09 AM, David Bovill wrote: > I want to configure an external program to use LiveCode as a web browser > rather than a default browser - in the config options it allows you to > specify a command line that will open a browser of you choice with the given > url: > >> A shell command used to launch your preferred web browser when given a URL as an argument. >> Defaults to "start" on windows, "open" on Mac, and "firefox" on Unix. >> >> Similar things go for using Livecode as a built in editor for various > things. I don't want to use AppleScript as i want a cross-platform solution? > Any suggestions as to what i could try? > > On 10 January 2011 18:36, Mark Schonewille > wrote: > >> David, >> >> You can do really nice tricks with the shell and Revolution 3.5 and >> earlier. I'm not sure about 4 and later. >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Jan 10 17:50:28 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 10 Jan 2011 14:50:28 -0800 Subject: Time Limited Demo In-Reply-To: <4D2B867A.1090604@gmail.com> References: <4D2B867A.1090604@gmail.com> Message-ID: Only way I can think of is to put a file in some normally inaccessible place a user would not think to look that tells you the user has exceeded his allotment. There is nothing foolproof however, as we learned in High school, where if you build a better mouse trap, mother nature will build a better mouse. That is to say, all copy protection is by nature doomed to fail. Bob On Jan 10, 2011, at 2:21 PM, Richmond wrote: > Is there a way to implment a time-limit > within a Livecode standalone? > > AND . . . > > Is there a way to "poison someone's machine" > so that they cannot just carry on downloading > time-limited demos everytime one expires? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david at vaudevillecourt.tv Mon Jan 10 18:04:26 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Mon, 10 Jan 2011 23:04:26 +0000 Subject: Creative Common Copyright Notice in Standalones In-Reply-To: <981997.80296.qm@web65415.mail.ac4.yahoo.com> References: <981997.80296.qm@web65415.mail.ac4.yahoo.com> Message-ID: Hi Jan _ I don't quite get the exact nature of the private public distinction you are making - si the source code visible, or are you referring to a license distinction. From a casual reading it looks a bit like there is a contradiction in there somewhere - but that most of what you want can be got with dual licensing. On 10 January 2011 20:46, Jan Schenkel wrote: > --- On Sat, 1/8/11, David Bovill wrote: > > [snip] > > > > Thanks for taking the time to respond - my interest is in > > real business > > models built around licenses, or other legal innovations - > > and not the > > politics :)** > > > > Well, now that the topic has come up, I have a few questions regarding open > source licenses which the community may provide better insight into. > > Let's assume I want to make available a new Quartam Smurf Library for > LiveCode, as open source. Ignore the Intellectual Property rights of Peyo > for a second, it's just the first thing I could think of - I'll leave it up > to the psychologists on this list to examine my insanity from that :-) > > Anyway, Quartam Smurf Library offers a set of commands and functions to do > with Smurfs. Let's say it covers the original 100 Smurfs. I want to give the > rest of the community the opportunity to add support for the newer Smurfs > that were added afterwards. The library has a number of 'core' commands and > functions that are scripted as 'private' and are used by all 'public' > commands and functions for the initial 100 Smurfs. > > My main goals: > - to make sure that I get proper attribution for my work > - to make sure that anyone who uses the library shares their modifications > with the rest of the community > - to run an open community around the library to incorporate the welcome > changes into new versions of the library > - to also accommodate those LiveCode-using developers whose corporate > policy prevents them from using anything GPL/LGPL/AGPL, by offering it in a > commercial license as well > > My main concerns: > - it needs to cover Desktop, Mobile, Server and Web plug-in deployments > - it shouldn't be a viral license that requires the whole program to be > open source under the same license, just the modifications and extensions of > the library > - it should prevent commercial 'wrapping' of the library (*) > > (*) what I mean by wrapping: some devious individual could decide to make a > derivative version of Quartam Smurf Library, exposing just those core > 'private' commands and functions by making them 'public' - thus enabling > them to write a 'wrapper' library which is closed source and commercial, not > sharing their extensions but making a profit of the work of the > contributors. > > In short, I'm willing to share my initial work, but others should also > share their modifications and extensions with the community. > > So far I haven't found the right license for this. > - MIT is too liberal for this, I think > - GPL is viral so out of the question > - LGPL is close but its goal conflicts with Server and Web plug-in > - AGPL has also turned out to be viral, after re-reading it a few times > - MPL might be a candidate, but I'm not sure if it covers all the concerns > > Can you guys and gals help me out? > > Thanks in advance for the feedback! > > 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) > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 10 18:06:50 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 10 Jan 2011 15:06:50 -0800 Subject: DataGrid Drag and Drop with Move action Message-ID: <659CDA23-81D8-41FE-8269-A890E2EBEF6B@twft.com> Hello. Just thought I'd check to see if there is an easy way to move instead of copy data from one datagrid to another. I can hack a way I'm sure, but I figured that: set the dragAction to "move" -- instead of copy would do the trick, but no. Bob From bill at bluewatermaritime.com Mon Jan 10 18:18:15 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Mon, 10 Jan 2011 19:18:15 -0400 Subject: Stack shape In-Reply-To: References: Message-ID: Please Shao can you tell me how to buy this also? I'm trying to make an application window that adheres to the Mac OS X standards with fat title bar and rounded corners too. The link to your site's downloads no longer works. bill at rainforestinn.com On Fri, Jun 11, 2010 at 7:44 AM, Simon Lord wrote: > Bingo. Payment sent. > > Very impressive little external. :) > > > On Fri, Jun 11, 2010 at 4:15 AM, Shao Sean > wrote: > > > >> 2) Metal texture is very close but I can't get rid of those 4px wide > >> borders on either side of the stack. > > > > > > Try out my external http://shaosean.tk/ssMacWindows.html to see if it > does > > what you need it to do.. > > Set the metal window property to true > > Run the "ssSetWindowTexturedSquareCorners" command > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- http://www.bluewatermaritime.com From bobs at twft.com Mon Jan 10 18:57:48 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 10 Jan 2011 15:57:48 -0800 Subject: What does the DragData contain? Message-ID: Hi all. Well I know that I can put something into the dragData["private"] which either makes this a custom behavior, or else an array. I vote for the former. But is there any other "elements" that the dragData contains that I can use? For instance, the source object I drag from? I have 3 datagrids. I want to drag from grid1 into grid2 and have the value drop in the first column of grid2. I want to drag from grid3 into grid2 and have the value drop into the 3rd column of grid2. To do that properly, I need the dragDrop handler in grid2 to know where I am dragging from. Now I could simply make the dragData["private"] a comma delimited list and then parse it in grid2, but I was thinking there might be a cleaner way for grid2 to know what the source is. I would think the engine would know. I tried to create my own custom key, but of course I cannot do that. The structure seems to be read only. Bob From david at vaudevillecourt.tv Mon Jan 10 19:40:45 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Tue, 11 Jan 2011 00:40:45 +0000 Subject: Using shell to call Livecode In-Reply-To: <962B8FA2-A397-42D2-AFA2-9C045456C9BF@dvcreators.net> References: <9FC1C74A-4AD7-4BCF-80D8-9C8B589C3B3C@economy-x-talk.com> <962B8FA2-A397-42D2-AFA2-9C045456C9BF@dvcreators.net> Message-ID: On 10 January 2011 22:27, Josh Mellicker wrote: > What external program? > There's a couple of things in version control systems - command line utilities that invoke an external editor as part of the script - sometimes for images, text editors or in this particular case a browser. From davidocoker at gmail.com Mon Jan 10 22:17:54 2011 From: davidocoker at gmail.com (David C.) Date: Mon, 10 Jan 2011 21:17:54 -0600 Subject: [OT] time to change your iTunes password? In-Reply-To: References: <4D272DEC.8000806@fourthworld.com> <98741840-E1C8-4D5F-B2FF-C6FA4C01CA48@verizon.net> <70A1DEEB-350D-4B9F-901A-1DA1A4165391@clarkeandclarke.co.uk> <748284CB-05E4-4B2F-8D83-39A151A22177@twft.com> <3E7D9029-602F-456E-9B89-9B5D0466C1C3@twft.com> <1AEC1FE9-C97F-4539-AD1F-A9BA90A525C4@twft.com> <72461645-6E5C-4042-95D5-521ADF659830@altuit.com> Message-ID: > I'm gonna move to the United State of Texas! > > Bob Hummm... sorry, Bob. Officially it was named "The Republic Of Texas" and as a native Texan (currently transplanted north of the red river), I'm always ready to head back "home" should that name ever be applied again. Even better: Should it ever happen, maybe they will decide to initially use a Texas birth certificate as a prerequisite for terms of permanent citizenship. ;-) @Chipp: ...spoken like a true Texan. Love it! Best regards, David C. From mwieder at ahsoftware.net Mon Jan 10 22:47:24 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 10 Jan 2011 19:47:24 -0800 Subject: What does the DragData contain? In-Reply-To: References: Message-ID: <54491471406.20110110194724@ahsoftware.net> Bob- Monday, January 10, 2011, 3:57:48 PM, you wrote: > grid2. To do that properly, I need the dragDrop handler in grid2 to > know where I am dragging from. Here's a writeup I did a while back because I can never remember this stuff (sounds like you might want to query the dragSource): http://lessons.runrev.com/spaces/lessons/buckets/784/lessons/7124-Pinning-Drag-and-drop-to-the-mat-a-primer -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Mon Jan 10 22:51:54 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 10 Jan 2011 19:51:54 -0800 Subject: Major Problems with Find/Replace In-Reply-To: <037594C9-6B9E-4F48-9650-0DD44700EDCD@mollysrevenge.com> References: <3601B1EC-A873-4376-AC62-17949BFF7F47@mollysrevenge.com> <33403434812.20110109192008@ahsoftware.net> <037594C9-6B9E-4F48-9650-0DD44700EDCD@mollysrevenge.com> Message-ID: <120491741109.20110110195154@ahsoftware.net> Pete- Monday, January 10, 2011, 10:04:44 AM, you wrote: > Yeah, it's on the FInd/Replace dialog you get when the script > editor is either not open or not in Focus - a check box labelled > "Custom". Use it at your won risk though! I rolled my own script > to do it. I've seen the "Custom" checkbox before, but I didn't realize you could try to replace strings in customproperty names. -- -Mark Wieder mwieder at ahsoftware.net From stephenREVOLUTION2 at barncard.com Tue Jan 11 00:02:16 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 10 Jan 2011 21:02:16 -0800 Subject: Custom Print Dialog In-Reply-To: <4D2A4CC0.3070403@comcast.net> References: <4D2A4CC0.3070403@comcast.net> Message-ID: Quicken has these issues too - no custom dialog box for writing checks except one that opens before to the Print dialog that asks for the starting number and the app decides how many copies are needed. I've never changed the "number of copies" field when using Quicken, but I imagine printing dupicates of checks with wrong numbers would be bad so I don't do it. Quicken is a pretty popular app. My take is don't worry about it. You certainly won't be violating HUI 'standards' whaever they are. Perhaps we all should give users the benefit of the doubt - can't hand-hold everything, or provide for every eventuality. Print handlers are complex and best left to the system way. It would be more of a HUI mistake to make your own dialog that may throw the user. MacOS does allow for a special pane for the application - like used in Safari - and might be something that could be set up with an external. On 9 January 2011 16:03, Marty Knapp wrote: > Has anyone rolled their own print dialog for Mac? I'm working on an app > that I hope to get into the Mac App Store and am concerned about violating > the HIG. Currently my users have a choice of how many cards to print per > page, along with a few other options that need to be set before I call for > the print dialog. I have to inform the user not to change the quantity in > the subsequent standard mac print dialog, as that will potentially print > multiple copies of a multi-card page, which might confuse people. > > But looking at the dictionary, it doesn't look like there are too many > options when making you own print dialog. For instance, if you're printing > to an ink jet printer, I see the only color option is on or off - no control > over the type of paper (plain, high-gloss, etc). As my printers here don't > have multiple paper trays, I can't tell if that shows up in printerFeatures. > > Any advice for me? > > Thank you, > Marty Knapp > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Tue Jan 11 00:11:55 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 10 Jan 2011 21:11:55 -0800 Subject: Audioclips: can't get at the data? In-Reply-To: <1294633048500-3206597.post@n4.nabble.com> References: <7C79C759-264A-4406-B176-6AADE131E6E3@major.on-rev.com> <1294633048500-3206597.post@n4.nabble.com> Message-ID: I don't know about merging yet. I'll be happy to export individual files right now. Still working on how to determine the sample rate bit depth number of channels where the audio actually starts in the captured binary. These might all have to be saved as custom properties of the audioclip when embedding in the stack, because I'm not sure how Livecode determines these values before playing. In the past I've used CPs to save playloudness values in audioclips. Works great, and travels with the clip. I will work on this more when I return from Alabama. sqb On 9 January 2011 20:17, Alejandro Tejada wrote: > > Stephen, These are great news, indeed! :-D > > Could we merge many imported audioclips in a > single audio file? > > This would make a lot easier to recreate > apps like "Mozart's Musical Game" in this > platform > > These messages reads like the continuation > of this thread from last May: > > http://runtime-revolution.278305.n4.nabble.com/Rev-audio-clips-td2221758.html > > Al > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Audioclips-can-t-get-at-the-data-tp3179278p3206597.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From martyknapp at comcast.net Tue Jan 11 00:36:06 2011 From: martyknapp at comcast.net (Marty Knapp) Date: Mon, 10 Jan 2011 21:36:06 -0800 Subject: Custom Print Dialog In-Reply-To: References: <4D2A4CC0.3070403@comcast.net> Message-ID: <4D2BEC46.5080402@comcast.net> Thank you for your thoughts Stephen, I appreciate it. Marty Knapp > Quicken has these issues too - no custom dialog box for writing checks > except one that opens before to the Print dialog that asks for the starting > number and the app decides how many copies are needed. I've never changed > the "number of copies" field when using Quicken, but I imagine printing > dupicates of checks with wrong numbers would be bad so I don't do it. > Quicken is a pretty popular app. My take is don't worry about it. You > certainly won't be violating HUI 'standards' whaever they are. Perhaps we > all should give users the benefit of the doubt - can't hand-hold everything, > or provide for every eventuality. Print handlers are complex and best left > to the system way. It would be more of a HUI mistake to make your own dialog > that may throw the user. > > MacOS does allow for a special pane for the application - like used in > Safari - and might be something that could be set up with an external. > > On 9 January 2011 16:03, Marty Knapp wrote: > >> Has anyone rolled their own print dialog for Mac? I'm working on an app >> that I hope to get into the Mac App Store and am concerned about violating >> the HIG. Currently my users have a choice of how many cards to print per >> page, along with a few other options that need to be set before I call for >> the print dialog. I have to inform the user not to change the quantity in >> the subsequent standard mac print dialog, as that will potentially print >> multiple copies of a multi-card page, which might confuse people. >> >> But looking at the dictionary, it doesn't look like there are too many >> options when making you own print dialog. For instance, if you're printing >> to an ink jet printer, I see the only color option is on or off - no control >> over the type of paper (plain, high-gloss, etc). As my printers here don't >> have multiple paper trays, I can't tell if that shows up in printerFeatures. >> >> Any advice for me? >> >> Thank you, >> Marty Knapp From janschenkel at yahoo.com Tue Jan 11 01:02:36 2011 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 10 Jan 2011 22:02:36 -0800 (PST) Subject: Creative Common Copyright Notice in Standalones In-Reply-To: <1294694394.2261.641.camel@mint-i7> Message-ID: <758086.22899.qm@web65408.mail.ac4.yahoo.com> --- On Mon, 1/10/11, Warren Samples wrote: > On Mon, 2011-01-10 at 12:46 -0800, > Jan Schenkel wrote: > > --- On Sat, 1/8/11, David Bovill > wrote: > > > [snip] > > > > > > Thanks for taking the time to respond - my > interest is in > > > real business > > > models built around licenses, or other legal > innovations - > > > and not the > > > politics :)** > > > > > > > Well, now that the topic has come up, I have a few > questions regarding open source licenses which the community > may provide better insight into. > > > > [snip] > > > > In short, I'm willing to share my initial work, but > others should also share their modifications and extensions > with the community. > > > > So far I haven't found the right license for this. > > - MIT is too liberal for this, I think > > - GPL is viral so out of the question > > - LGPL is close but its goal conflicts with Server and > Web plug-in > > - AGPL has also turned out to be viral, after > re-reading it a few times > > - MPL might be a candidate, but I'm not sure if it > covers all the concerns > > > > Can you guys and gals help me out? > > > > Thanks in advance for the feedback! > > > > Jan Schenkel. > > > > > Jan, > > If this is a new work which does not rely on other works, > leaving you > unencumbered by the terms of some other prior license, then > you are free > to take your terms to an IP attorney and have him or her > create a > license that imposes your terms and your terms alone. In > this case, > there is no need to handicap yourself or to accept any > terms you really > don't find desirable. While the idea of using an > "established" license > has some merit if we believe (imagine) that it means they > are well > understood, accepted and adhered to, it's foolish to view > any of them as > some kind of "Holy Grail", particularly if your > circumstances don't seem > appropriate. > > Warren > Hi Warren, There is always the option of crafting a new license, but then compatibility questions arise, such as 'Is it GPL compatible?' for those that wish to combine the library with other works. So if there is an existing one out there that fits the bill, I would prefer to adopt that. 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 david at vaudevillecourt.tv Tue Jan 11 06:50:18 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Tue, 11 Jan 2011 11:50:18 +0000 Subject: Somewhat OT: Revolutionaries, Scotland and Texas Message-ID: As part of my ongoing research into the effects of coding practices, and legal frameworks, on serious crime rates around the world, I've dug up some surprising correlations. Many analysts have argued that the major factors in violent crime and property crime, have been due to factors such as drug use, penal policy, and the ability of citizens to provide an effective deterrent (such as gun possession). Please note that despite disproportionally affecting young males, "penal policy", has nothing whatsoever to do with the "male member". The Latin routes are quite distinct with penal deriving from from the "poenalis" - that is pertaining to punishment, and not "penis" (the male member or "tail"), whose proper adjective would be "penial" in any case. I digress. On 8 January 2011 06:13, Chipp Walters wrote: > > (In fact, in Texas, I'm allowed to shoot a robber as he's carrying out a > TV, in the back, who is robbing my neighbor's house...while they're away... > Yep, we don't have too many home invasions here. And we balance our budget > each year). > Unfortunately there are no good figures for distinguishing 'home invasion" from burglaries, and so in the interests of objectivity we are forced to discuss the more general category, which in the light of Chipps point is a pity. Interestingly despite popular opinion to the contrary, Texas does not fare as badly with regard to violent crime, as it does when it comes to burglary - coming 7th in the national league tablesfor burglary in 2005, and only 14th for violent crime. For reference the same figures for New York at that time were more even coming 46th and 48th respectively. Texan cities, feature heavily in the top league table slots for burglary, but again do not fare as badly for forcible rape (with the exception of Corpus Christi ), aggravated assault, or murder. It would seem that gun ownership, 3 strikes laws, and the like have little to do with burglary rates comparatively or absolutely. On the other hand this may not be the case for the ownership of a Revolution or LiveCode license. - Graph of Global Burglary Trends What is striking about this graph is both the extremely high burglary rates in Scotland, as well as the precipitate fall after mid 1992. Interestingly this is the exact same time (June 1992), that Metacard released version 1.0 of the language that we now all know and love as LiveCode. This explains many things. Why for instance do Scotland, Texas, Australia, and even Brazil feature so heavily in our community? Is there perhaps a rational explanation why adoption of Livecode is so strongly correlated with high property crime rates - and could this perhaps be the underlying reason for the re-branding of the language from Revolution to LiveCode? There are of course a number of things left unexplained by this analysis, why burglary rates failed to decrease after the introduction of MetaCard in Australia for instance (more recent figures may shed light on this). But in general it goes a long way to explain why such a uniquely skewed collection of crime plagued participants, have managed to create one of the most peaceful, and nurturing programming communities on the web. Long Live LiveCode! From benr_mc at cogapp.com Tue Jan 11 07:00:25 2011 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 11 Jan 2011 12:00:25 +0000 Subject: Somewhat OT: Revolutionaries, Scotland and Texas In-Reply-To: References: Message-ID: <4D2C4659.8080102@cogapp.com> David, I think I love you. Ben From david at vaudevillecourt.tv Tue Jan 11 07:12:47 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Tue, 11 Jan 2011 12:12:47 +0000 Subject: Somewhat OT: Revolutionaries, Scotland and Texas In-Reply-To: <4D2C4659.8080102@cogapp.com> References: <4D2C4659.8080102@cogapp.com> Message-ID: Send us your mobile and let's hook up. On 11 January 2011 12:00, Ben Rubinstein wrote: > David, > > I think I love you. > > Ben > From pmbrig at gmail.com Tue Jan 11 08:14:20 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Tue, 11 Jan 2011 08:14:20 -0500 Subject: [OT] time to change your iTunes password? In-Reply-To: References: <4D272DEC.8000806@fourthworld.com> <98741840-E1C8-4D5F-B2FF-C6FA4C01CA48@verizon.net> <70A1DEEB-350D-4B9F-901A-1DA1A4165391@clarkeandclarke.co.uk> <748284CB-05E4-4B2F-8D83-39A151A22177@twft.com> <3E7D9029-602F-456E-9B89-9B5D0466C1C3@twft.com> <1AEC1FE9-C97F-4539-AD1F-A9BA90A525C4@twft.com> <72461645-6E5C-4042-95D5-521ADF659830@altuit.com> Message-ID: On Jan 10, 2011, at 11:45 AM, Mike Kerner wrote: >> (In fact, in Texas, I'm allowed to shoot a robber as he's carrying >> out a >> TV, in the back, who is robbing my neighbor's house...while they're >> away... >> Yep, we don't have too many home invasions here. And we balance our >> budget >> each year). >> :-p >> >> > LIKE! Actually, Texans are about to discover that their state faces an enormous budget crisis stemming from their regressive tax policy. But this is getting waaaay off topic, and I think we should keep politics off this list. Besides, Texas doesn't have any cheese worth mentioning.... :-) (now I've crossed the line!) -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From alex at tweedly.net Tue Jan 11 11:16:34 2011 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 11 Jan 2011 16:16:34 +0000 Subject: Time Limited Demo In-Reply-To: References: <4D2B867A.1090604@gmail.com> Message-ID: <4D2C8262.3020504@tweedly.net> As Bob says, every scheme can be got around somehow; you just need to make your scheme strong enough to protect your demo. You could do something like: 1. Make two programs - an 'installer' and the actual demo. 2. Users download the installer; the installer downloads and decrypts the demo. (NB always in one step, don't allow the demo to be downloaded by other means and then decrypted). This ensures that the installer will always operate with an internet connection to do the download, therefore it can also do any checks you want it to do. 3. The installer gathers some info from the machine (say, all MAC addresses it can find, maybe public IP address). 4. It then uses a cgi program on the server to upload and compare these against a list of previous downloading machines. 5. If not found - add them to the list of machines, and proceed with the download. 6. If already there - give user a message saying that this appears to be a repeat of a previous download, and invite them to send a manual request for permission. If they have a good reason (and there might well be some cases of this), you can then remove the machine from the list and they can then download successfully. It goes without saying that any info about their machine that you intend to gather and upload must be described in the T&C and should be as 'non-personal' as possible (i.e. MAC address but not the machine's hostname or workgroup name), and for completeness I would suggest giving them the option of viewing the info before you upload it, and requiring them to give permission to proceed with the upload. -- Alex. On 10/01/2011 22:50, Bob Sneidar wrote: > Only way I can think of is to put a file in some normally inaccessible place a user would not think to look that tells you the user has exceeded his allotment. There is nothing foolproof however, as we learned in High school, where if you build a better mouse trap, mother nature will build a better mouse. That is to say, all copy protection is by nature doomed to fail. > > Bob > > > On Jan 10, 2011, at 2:21 PM, Richmond wrote: > >> Is there a way to implment a time-limit >> within a Livecode standalone? >> >> AND . . . >> >> Is there a way to "poison someone's machine" >> so that they cannot just carry on downloading >> time-limited demos everytime one expires? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sims at ezpzapps.com Tue Jan 11 12:13:26 2011 From: sims at ezpzapps.com (Jim Sims) Date: Tue, 11 Jan 2011 18:13:26 +0100 Subject: Commercial - Desktop vs Desktop ISV Message-ID: <9D387B9D-9D56-427D-96F0-3E0D6B20F154@ezpzapps.com> Can anyone explain the difference between: Commercial - Desktop vs Desktop ISV versions of LC to me? I'm not understanding it. sims From bobs at twft.com Tue Jan 11 12:21:35 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 11 Jan 2011 09:21:35 -0800 Subject: What does the DragData contain? In-Reply-To: <54491471406.20110110194724@ahsoftware.net> References: <54491471406.20110110194724@ahsoftware.net> Message-ID: Thanks Mark that clears a lot of things up. I found that by getting the short name of the source and destination, I can tell what column in each I am dragging from and to. One thing that would have been nice would have been to get a single column of data in a data grid with multiple columns. In fact, a command that gave me a column in ANY list or array would have been nice, but I know I will have to roll my own. Not a problem, just inconvenient. My goal is to drop a value onto a column in a multicolumn grid and have the value placed after the last value in that column. Picture something like Filemaker's data import dialog, where you can drag fields from the source and destination into a "merge table" and define the action by clicking a center column. That is what I am working on. While it's fun, I find myself spending an inordinate amount of time figuring out just how datagrids work, and how to implement drag and drop between them. Still, it's not time wasted, it's time spent getting an education. :-) Bob On Jan 10, 2011, at 7:47 PM, Mark Wieder wrote: > Bob- > > Monday, January 10, 2011, 3:57:48 PM, you wrote: > >> grid2. To do that properly, I need the dragDrop handler in grid2 to >> know where I am dragging from. > > Here's a writeup I did a while back because I can never remember this > stuff (sounds like you might want to query the dragSource): > > http://lessons.runrev.com/spaces/lessons/buckets/784/lessons/7124-Pinning-Drag-and-drop-to-the-mat-a-primer > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Jan 11 12:21:58 2011 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 11 Jan 2011 19:21:58 +0200 Subject: Time Limited Demo In-Reply-To: <4D2C8262.3020504@tweedly.net> References: <4D2B867A.1090604@gmail.com> <4D2C8262.3020504@tweedly.net> Message-ID: <4D2C91B6.4020609@gmail.com> Thanks both; I found out how to set up a time-limited demo from a fairly old postiing on the RunRev Forums. My problems now are: 1. I would rather the initiation time were the time the end-user downloads the thing rather than some absolute time. 2. The problem you talk about below: how to stop people returning for 'second helpings'. 3. Given the chance I would love to do the whole thing inside Livecode. On 01/11/2011 06:16 PM, Alex Tweedly wrote: > As Bob says, every scheme can be got around somehow; you just need to > make your scheme strong enough to protect your demo. > > You could do something like: > > 1. Make two programs - an 'installer' and the actual demo. > 2. Users download the installer; the installer downloads and decrypts > the demo. > (NB always in one step, don't allow the demo to be downloaded by > other means and then decrypted). > > This ensures that the installer will always operate with an internet > connection to do the download, therefore it can also do any checks you > want it to do. > > 3. The installer gathers some info from the machine (say, all MAC > addresses it can find, maybe public IP address). > 4. It then uses a cgi program on the server to upload and compare > these against a list of previous downloading machines. > 5. If not found - add them to the list of machines, and proceed with > the download. > 6. If already there - give user a message saying that this appears to > be a repeat of a previous download, and invite them to send a manual > request for permission. If they have a good reason (and there might > well be some cases of this), you can then remove the machine from the > list and they can then download successfully. > > It goes without saying that any info about their machine that you > intend to gather and upload must be described in the T&C and should be > as 'non-personal' as possible (i.e. MAC address but not the machine's > hostname or workgroup name), and for completeness I would suggest > giving them the option of viewing the info before you upload it, and > requiring them to give permission to proceed with the upload. > > -- Alex. > > > On 10/01/2011 22:50, Bob Sneidar wrote: >> Only way I can think of is to put a file in some normally >> inaccessible place a user would not think to look that tells you the >> user has exceeded his allotment. There is nothing foolproof however, >> as we learned in High school, where if you build a better mouse trap, >> mother nature will build a better mouse. That is to say, all copy >> protection is by nature doomed to fail. >> >> Bob >> >> >> On Jan 10, 2011, at 2:21 PM, Richmond wrote: >> >>> Is there a way to implment a time-limit >>> within a Livecode standalone? >>> >>> AND . . . >>> >>> Is there a way to "poison someone's machine" >>> so that they cannot just carry on downloading >>> time-limited demos everytime one expires? >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sims at ezpzapps.com Tue Jan 11 12:22:13 2011 From: sims at ezpzapps.com (Jim Sims) Date: Tue, 11 Jan 2011 18:22:13 +0100 Subject: Commercial - Desktop vs Desktop ISV Message-ID: <5C31C615-7429-4874-AB7A-FAEF494386F8@ezpzapps.com> On Jan 11, 2011, at 6:13 PM, Jim Sims wrote: > Can anyone explain the difference between: Commercial - Desktop vs Desktop ISV versions of LC to me? > > I'm not understanding it. I should have added, I can see that it adds Linux but what other differences are there? sims From bobs at twft.com Tue Jan 11 12:37:42 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 11 Jan 2011 09:37:42 -0800 Subject: [OT] time to change your iTunes password? In-Reply-To: References: <4D272DEC.8000806@fourthworld.com> <98741840-E1C8-4D5F-B2FF-C6FA4C01CA48@verizon.net> <70A1DEEB-350D-4B9F-901A-1DA1A4165391@clarkeandclarke.co.uk> <748284CB-05E4-4B2F-8D83-39A151A22177@twft.com> <3E7D9029-602F-456E-9B89-9B5D0466C1C3@twft.com> <1AEC1FE9-C97F-4539-AD1F-A9BA90A525C4@twft.com> <72461645-6E5C-4042-95D5-521ADF659830@altuit.com> Message-ID: <1843F227-6EFE-4815-BEA3-8FD9EE6348A1@twft.com> Waaaiiiit a doggone minute! Take your political shot and then call cooties?? NO FAIR! The budget crisis there, ANY government budget crisis ANYWHERE, is NEVER due to tax policies. It's due to insanely irresponsible politicians spending money they do not have, and then signing into law binding contracts to continue to spend money perpetually without funding it, in exchange for "favors" from the benefitting parties. Saying budget crises are the result of tax policies is like saying credit card debt is the result of low interest rates! IT'S THE RESULT OF THE CARDHOLDER SPENDING TOO MUCH!!! Okay now I'm done. Besides this is not a discussion about politics, it's a discussion about economics. Bob On Jan 11, 2011, at 5:14 AM, Peter Brigham MD wrote: > Actually, Texans are about to discover that their state faces an enormous budget crisis stemming from their regressive tax policy. But this is getting waaaay off topic, and I think we should keep politics off this list. > > Besides, Texas doesn't have any cheese worth mentioning.... :-) > > (now I've crossed the line!) > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig From devin_asay at byu.edu Tue Jan 11 12:56:31 2011 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 11 Jan 2011 10:56:31 -0700 Subject: [OT] time to change your iTunes password? In-Reply-To: <1843F227-6EFE-4815-BEA3-8FD9EE6348A1@twft.com> References: <4D272DEC.8000806@fourthworld.com> <98741840-E1C8-4D5F-B2FF-C6FA4C01CA48@verizon.net> <70A1DEEB-350D-4B9F-901A-1DA1A4165391@clarkeandclarke.co.uk> <748284CB-05E4-4B2F-8D83-39A151A22177@twft.com> <3E7D9029-602F-456E-9B89-9B5D0466C1C3@twft.com> <1AEC1FE9-C97F-4539-AD1F-A9BA90A525C4@twft.com> <72461645-6E5C-4042-95D5-521ADF659830@altuit.com> <1843F227-6EFE-4815-BEA3-8FD9EE6348A1@twft.com> Message-ID: <3E70268C-1ECF-4570-AFB6-1F8C9C7448DE@byu.edu> On Jan 11, 2011, at 10:37 AM, Bob Sneidar wrote: > Waaaiiiit a doggone minute! Take your political shot and then call cooties?? NO FAIR! The budget crisis there, ANY government budget crisis ANYWHERE, is NEVER due to tax policies. It's due to insanely irresponsible politicians spending money they do not have, and then signing into law binding contracts to continue to spend money perpetually without funding it, in exchange for "favors" from the benefitting parties. Saying budget crises are the result of tax policies is like saying credit card debt is the result of low interest rates! IT'S THE RESULT OF THE CARDHOLDER SPENDING TOO MUCH!!! > > Okay now I'm done. Besides this is not a discussion about politics, it's a discussion about economics. And cheese. Devin Asay Humanities Technology and Research Support Center Brigham Young University From bobs at twft.com Tue Jan 11 13:10:53 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 11 Jan 2011 10:10:53 -0800 Subject: [OT] time to change your iTunes password? In-Reply-To: <3E70268C-1ECF-4570-AFB6-1F8C9C7448DE@byu.edu> References: <4D272DEC.8000806@fourthworld.com> <98741840-E1C8-4D5F-B2FF-C6FA4C01CA48@verizon.net> <70A1DEEB-350D-4B9F-901A-1DA1A4165391@clarkeandclarke.co.uk> <748284CB-05E4-4B2F-8D83-39A151A22177@twft.com> <3E7D9029-602F-456E-9B89-9B5D0466C1C3@twft.com> <1AEC1FE9-C97F-4539-AD1F-A9BA90A525C4@twft.com> <72461645-6E5C-4042-95D5-521ADF659830@altuit.com> <1843F227-6EFE-4815-BEA3-8FD9EE6348A1@twft.com> <3E70268C-1ECF-4570-AFB6-1F8C9C7448DE@byu.edu> Message-ID: <432CB34D-F460-4B8C-BC71-9522DFB1727A@twft.com> By the by, I think that if a State is not allowed by law to declare bankruptcy, then it also should not be allowed to make binding contracts or borrow money. Furthermore, all previous contracts should be declared null and void. Let's vote THAT into our state constitutions and then we will be well on our way to recovery! Bob On Jan 11, 2011, at 9:56 AM, Devin Asay wrote: > > On Jan 11, 2011, at 10:37 AM, Bob Sneidar wrote: > >> Waaaiiiit a doggone minute! Take your political shot and then call cooties?? NO FAIR! The budget crisis there, ANY government budget crisis ANYWHERE, is NEVER due to tax policies. It's due to insanely irresponsible politicians spending money they do not have, and then signing into law binding contracts to continue to spend money perpetually without funding it, in exchange for "favors" from the benefitting parties. Saying budget crises are the result of tax policies is like saying credit card debt is the result of low interest rates! IT'S THE RESULT OF THE CARDHOLDER SPENDING TOO MUCH!!! >> >> Okay now I'm done. Besides this is not a discussion about politics, it's a discussion about economics. > > And cheese. > > > Devin Asay > Humanities Technology and Research Support Center > 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 jeff at siphonophore.com Tue Jan 11 14:31:32 2011 From: jeff at siphonophore.com (Jeff Reynolds) Date: Tue, 11 Jan 2011 14:31:32 -0500 Subject: [OT] time to change your iTunes password? In-Reply-To: References: Message-ID: <863796A5-18E1-4019-90B6-5E7217E79B9A@siphonophore.com> Peter, thats cause those cows are for eatin, not milkin! cheese is that yeller stuff you put on the burgers! cheers jeff (who has about 150 texan relatives) On Jan 11, 2011, at 1:00 PM, use-livecode-request at lists.runrev.com wrote: > Besides, Texas doesn't have any cheese worth mentioning.... :-) From capellan2000 at gmail.com Tue Jan 11 14:34:57 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 11 Jan 2011 11:34:57 -0800 (PST) Subject: Somewhat OT: Revolutionaries, Scotland and Texas In-Reply-To: References: Message-ID: <1294774497203-3209550.post@n4.nabble.com> Hi David, David Bovill-5 wrote: > > [snip] > But in general it goes a long way to explain why such a uniquely skewed > collection > of crime plagued participants, have managed to create one of the most > peaceful, and nurturing programming communities on the web. > The plain truth is that my participation within this Software developers community is my best experience of personal contact with people from other countries. :-D You do not want to hear about all foreign criminals that appear in this country, commit their crimes and leave unscathed... :-( or who knows, maybe you want to read about it. :-/ Better yet, read some thoughtful advice about what you should not do in other countries, or you run into the risk of being labelled as one of these criminals. ;-) Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Somewhat-OT-Revolutionaries-Scotland-and-Texas-tp3208840p3209550.html Sent from the Revolution - User mailing list archive at Nabble.com. From heather at runrev.com Tue Jan 11 14:44:36 2011 From: heather at runrev.com (Heather Nagey) Date: Tue, 11 Jan 2011 19:44:36 +0000 Subject: [OT] time to change your iTunes password? In-Reply-To: <863796A5-18E1-4019-90B6-5E7217E79B9A@siphonophore.com> References: <863796A5-18E1-4019-90B6-5E7217E79B9A@siphonophore.com> Message-ID: <41E2A588-8F76-42BD-A258-ED9E38BF4F3B@runrev.com> I distinctly heard the word cheese mentioned several times... You know the rules, no politics, no cheese! Shocked. Listmom On 11 Jan 2011, at 19:31, Jeff Reynolds wrote: > Peter, > > thats cause those cows are for eatin, not milkin! cheese is that > yeller stuff you put on the burgers! > > cheers > > jeff (who has about 150 texan relatives) > > > > On Jan 11, 2011, at 1:00 PM, use-livecode-request at lists.runrev.com > wrote: > >> Besides, Texas doesn't have any cheese worth mentioning.... :-) > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > Email has been scanned for viruses by Altman Technologies' email > management service - www.altman.co.uk/emailsystems Heather Nagey Customer Services Manager http://www.runrev.com/ LiveCode ? Realize fast, compile-free coding From janschenkel at yahoo.com Tue Jan 11 14:54:54 2011 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 11 Jan 2011 11:54:54 -0800 (PST) Subject: Creative Common Copyright Notice in Standalones Message-ID: <240417.76325.qm@web65405.mail.ac4.yahoo.com> --- On Mon, 1/10/11, David Bovill wrote: > Hi Jan _ I don't quite get the exact > nature of the private public > distinction you are making - si the source code visible, or > are you > referring to a license distinction. From a casual reading > it looks a bit > like there is a contradiction in there somewhere - but that > most of what you > want can be got with dual licensing. > Hi David, Maybe I was throwing a few too many things onto a single pile :-) Often library stacks use 'script local' variables to store data, and 'private' commands and functions to hide the innards. Example: ## --> constants and local variables local sSmurfsA -- internal smurf data array --> event handlers on libraryStack ? p_qrtSmurf_LoadCoreData ? pass ibraryStack end libraryStack --> public handlers command qrtSmurf_DoSmurf pSmurfName ? -- does something important based on pSmurfName and sSmurfsA end qrtSmurf_DoSmurf command qrtSmurf_UpdateSmurf pNewSmurfData ? -- does some sanity checking and then modifies sSmurfsA ? put line 3 of pToSmurfData into sSmurfsA[tIndex]["intelligence"] end qrtSmurf_UpdateSmurf command qrtSmurf_XYZ pX, pY, pZ ? -- does some sanity checking and calls private commands to do the work ? p_qrtSmurf_ABC pX, pY, p_qrtSmurf_BCD(pY, pZ) end qrtSmurf_XYZ --> private handlers private command p_qrtSmurf_LoadCoreData ? -- does all sort of things to fill the sSmurfsA variable end p_qrtSmurf_LoadCoreData private command p_qrtSmurf_ABC pX, pY ? -- no sanity checks ; subject to change in newer versions end p_qrtSmurf_ABC private function p_qrtSmurf_BCD pY, pZ ? -- no sanity checks ; subject to change in newer versions end p_qrtSmurf_BCD ## Outside of the script, you cannot access the 'script local' variables or call the 'private' handlers, as they are properly encapsulated. Only the rest of the handlers that are meant for 'public' use are not tagged 'private' and offer the official API of the library. All the rest is internal and subject to change. Now it may sound far-fetched, but suppose some enterprising individual says "Hmm, I really like that open source Smurf library, and I'm going to make some money - but I don't want to share back my extensions" What he can do, is take the library, remove the 'private' qualifier from the handlers that he needs access to, and add a few more commands and handlers to read/write the sSmurfsA variable as he sees fit. Then he wraps this modified version of Quartam Smurf Library, writing ACME Smurf Library with a few new commands and functions, using the now exposed handlers and variables to inject data. Meanwhile, the heavy lifting is still done by Quartam Smurf Library. And now he can even charge for his ACME Smurf Library. As long as he's sharing the 'cracked open' version of Quartam Smurf Library. From my reading of the more liberal FOSS licenses, there is nothing you can do: he's 'sharing his changes' to the Quartam Smurf Library, but morally he is clearly abusing it. The only option then becomes mucking around the internals in every release, to give the abuser a tough time, and meanwhile try to catch up with the extras he implemented but doesn't want to share. An annoying cat-and-mouse game... The LGPL license is rather close to what I'm looking for, as it does allow using the LGPL-ed library in commercial work, as long as you keep it external from the main program, allowing the user to re-link to a newer version of the library. Unfortunately, that's where the problem comes in for LiveCode Web plugin revlets: the stack and its substacks all become part of a single package that can't be taken apart by the end-user to re-link it with a newer version of the library. So technically, this would be a violation of the license. And for some advocates of the xGPL license series, that doesn't offer a real solution for the grey area of LiveCode Server either: as the end-user only has the finished html product, their freedom is limited. Frankly, I don't care so much about that as long as the changes to the library are shared and available, and the license documentation and copyright requirements are upheld. So it looks like there's no readily available FOSS license that covers these concerns; and would it even be feasible to enforce a different license per LiveCode deployment options? I'm not aiming to be a PITA for open source advocates. I'm willing to share, but want it done 'right' so that everyone can enjoy the benefits of my work, and hopefully contributors will join in to make it even better. Surely I can't be the only one in the community scratching their heads about these sort of FOSS license details? Thanks in advance for all your feedback, 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 keith.clarke at clarkeandclarke.co.uk Tue Jan 11 14:57:15 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Tue, 11 Jan 2011 19:57:15 +0000 Subject: [OT] time to change your iTunes password? In-Reply-To: <41E2A588-8F76-42BD-A258-ED9E38BF4F3B@runrev.com> References: <863796A5-18E1-4019-90B6-5E7217E79B9A@siphonophore.com> <41E2A588-8F76-42BD-A258-ED9E38BF4F3B@runrev.com> Message-ID: ...that's right, Gromit - there's no cheese here! http://www.youtube.com/watch?v=ciayqUMCViY&NR=1 On 11 Jan 2011, at 19:44, Heather Nagey wrote: > I distinctly heard the word cheese mentioned several times... > > You know the rules, no politics, no cheese! > > Shocked. > > Listmom > > > On 11 Jan 2011, at 19:31, Jeff Reynolds wrote: > >> Peter, >> >> thats cause those cows are for eatin, not milkin! cheese is that yeller stuff you put on the burgers! >> >> cheers >> >> jeff (who has about 150 texan relatives) >> >> >> >> On Jan 11, 2011, at 1:00 PM, use-livecode-request at lists.runrev.com wrote: >> >>> Besides, Texas doesn't have any cheese worth mentioning.... :-) >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> Email has been scanned for viruses by Altman Technologies' email management service - www.altman.co.uk/emailsystems > > Heather Nagey > Customer Services Manager > http://www.runrev.com/ > LiveCode ? Realize fast, compile-free coding > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Jan 11 15:05:01 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 11 Jan 2011 21:05:01 +0100 Subject: [OT] time to change your iTunes password? In-Reply-To: <41E2A588-8F76-42BD-A258-ED9E38BF4F3B@runrev.com> References: <863796A5-18E1-4019-90B6-5E7217E79B9A@siphonophore.com> <41E2A588-8F76-42BD-A258-ED9E38BF4F3B@runrev.com> Message-ID: <365C5200-F7C1-4BB3-B6C2-40F05108FF32@major.on-rev.com> Hi all, Am 11.01.2011 um 20:44 schrieb Heather Nagey: > I distinctly heard the word cheese mentioned several times... > You know the rules, no politics, no cheese! > Shocked. > > Listmom damn, I knew this wouldn't go unnoticed... :-D Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From david at vaudevillecourt.tv Tue Jan 11 16:10:59 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Tue, 11 Jan 2011 21:10:59 +0000 Subject: Creative Common Copyright Notice in Standalones In-Reply-To: <240417.76325.qm@web65405.mail.ac4.yahoo.com> References: <240417.76325.qm@web65405.mail.ac4.yahoo.com> Message-ID: In general Jan, I share your aims here, and there is I feel a clear solution, some of which can be addressed by choosing the right license, but I' still like to get clear about some of the things you are trying to do. Maybe we can talk on Skype, as I'm doing quite a lot of work in this area at the moment - and email is maybe better after a good chat? On 11 January 2011 19:54, Jan Schenkel wrote: > > Often library stacks use 'script local' variables to store data, and > 'private' commands and functions to hide the innards. Example: > Ah OK - got you.... > Now it may sound far-fetched, but suppose some enterprising individual says > "Hmm, I really like that open source Smurf library, and I'm going to make > some money - but I don't want to share back my extensions" > The only way to force sharing back is to "force sharing back" = viral GPL clause. There is no non-viral way to do this. > And now he can even charge for his ACME Smurf Library. That is of course always possible with open source licenses - though the non-commercial CC content licenses forbid this. > As long as he's sharing the 'cracked open' version of Quartam Smurf > Library. From my reading of the more liberal FOSS licenses, there is nothing > you can do: he's 'sharing his changes' to the Quartam Smurf Library, but > morally he is clearly abusing it. > Still not quite clear. Do you want people to be able to adapt / improve and change the private handlers? Or do you want these fixed under your control only? I'm assuming you want them open and the changes shared back - so it's his ability to copy and not share back that you want to prevent. Frankly, I don't care so much about that as long as the changes to the > library are shared and available, and the license documentation and > copyright requirements are upheld. > This sounds like the same mix of requirements that I think will work best for a number of developers. That is: 1. Open source libraries that you can use freely, modify, and combine with other peoples source code from the community 2. Ensure that accreditation is given to the main contributors 3. Give the maximum legal protection to the authors - so they can sleep at night But, I think we would agree that we'd also like: - To allow individuals and commercial companies to release software which combines their own closed code along side the above open source - without forcing them to open their code. - But to as strongly as possible encourage authors to feed back useful improvements to the core libraries, and not simply take the benefits without contributing back. It is that latter two points that tend to contradict each other. If you want to allow companies the (non-viral) freedom to release software that uses the library - then you can use a permissive (ie MIT/X11 style) license. But then this contradicts the second intention - and people can easily just take and not go to the trouble of feeding back. In this situation authors can take advantage of dual licensing. I'm not entirely sure, but it feels like this is the contradiction you are wrestling with? As an example of this, I'll be releasing my code under both GPL and a closed commercial license. Educators, hobbyists and members of the community can use all of it for free in commercial or non-commercial apps, but they must publish the full source code of their apps, so that any modifications or additions can be rolled back into core code by the community. This is fully viral. However, anyone wishing to include parts or all of this code in closed apps can do so by taking out a separate closed license, which will come as one of the benefits of taking out an annual subscription to the project. This can be done on a per-project basis, but I also think (for reasons of scale), it will be useful to have a general community owned project in which any commercial revenue is re-invested in new open source code paid directly to freelance members of the community. This community project is what I am working on as part of Live Code TV, with the aim of launching it at the forthcoming conference. A good chunk of it will be the legal framework needed to make this run smoothly, but there will also be a bunch of tools to make the sharing as painless and fun as possible. Stay tuned to LiveCode TV, and drop into ChatRev to get a sneak peak :) From richmondmathewson at gmail.com Tue Jan 11 17:08:11 2011 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 12 Jan 2011 00:08:11 +0200 Subject: Fit content Message-ID: <4D2CD4CB.7040700@gmail.com> On the 'Size & Position' Panel of the Prefs pane for a field there are 2 "Fit content" buttons; one for width and one for height. Does anybody know how to script a button to 'fit content' of a textField ? From dixonja at hotmail.co.uk Tue Jan 11 17:21:25 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Tue, 11 Jan 2011 22:21:25 +0000 Subject: Fit content In-Reply-To: <4D2CD4CB.7040700@gmail.com> References: <4D2CD4CB.7040700@gmail.com> Message-ID: Have a look at 'formattedHeight' and 'formattedWidth' in the dictionary... :-) > From: richmondmathewson at gmail.com > On the 'Size & Position' Panel of the Prefs pane for a field > there are 2 "Fit content" buttons; one for width and one for > height. > > Does anybody know how to script a button to 'fit content' > of a textField ? From richmondmathewson at gmail.com Tue Jan 11 17:26:33 2011 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 12 Jan 2011 00:26:33 +0200 Subject: Fit content In-Reply-To: References: <4D2CD4CB.7040700@gmail.com> Message-ID: <4D2CD919.5090207@gmail.com> On 01/12/2011 12:21 AM, John Dixon wrote: > Have a look at 'formattedHeight' and 'formattedWidth' in the dictionary... :-) > > Thanks a lot . .. :) From james at thehales.id.au Tue Jan 11 19:52:00 2011 From: james at thehales.id.au (James Hale) Date: Wed, 12 Jan 2011 11:52:00 +1100 Subject: sqLite in iOS?? Message-ID: <83EEDAB8-6A96-4302-8249-201A65C8B6D9@thehales.id.au> Hi Guys, A question for the iOS developers. Does iOS have sqLite available? In other words, if I have a desktop rev project that uses sqLite, will it port over to iOS? James james at thehales.id.au From tkuypers at telenet.be Tue Jan 11 20:42:12 2011 From: tkuypers at telenet.be (tkuypers at telenet.be) Date: Wed, 12 Jan 2011 02:42:12 +0100 Subject: Update screen during lengthy process Message-ID: Hi gang... I've created a hot-folder based app, that executes a few scripts when a file if dropped into a specific folder. But these scripts can take up to 4 minutes to end and during that period LiveCode is locked. I'm using a send command to watch the folder every few seconds, is a file is found then it is processed, but I want to show some kind of progress on screen to show the app is working. I've tried firing off a second event, to show a counter, but that doesn't do anything. And of course clicking on the "Stop Processing" button doesn't work as well :-( Any suggestions on how to show a progress, and how to make the "Stop" button to work during the execution of an applescript? Any suggestions are welcome. Met vriendelijke groeten, Ton Kuypers From mwieder at ahsoftware.net Tue Jan 11 21:14:55 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 11 Jan 2011 18:14:55 -0800 Subject: [OT] time to change your iTunes password? In-Reply-To: <41E2A588-8F76-42BD-A258-ED9E38BF4F3B@runrev.com> References: <863796A5-18E1-4019-90B6-5E7217E79B9A@siphonophore.com> <41E2A588-8F76-42BD-A258-ED9E38BF4F3B@runrev.com> Message-ID: <132572321828.20110111181455@ahsoftware.net> Heather- Tuesday, January 11, 2011, 11:44:36 AM, you wrote: > You know the rules, no politics, no cheese! No shirt, no service -- -Mark Wieder mwieder at ahsoftware.net From stephenREVOLUTION2 at barncard.com Wed Jan 12 02:34:07 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 12 Jan 2011 01:34:07 -0600 Subject: [OT] time to change your iTunes password? In-Reply-To: <132572321828.20110111181455@ahsoftware.net> References: <863796A5-18E1-4019-90B6-5E7217E79B9A@siphonophore.com> <41E2A588-8F76-42BD-A258-ED9E38BF4F3B@runrev.com> <132572321828.20110111181455@ahsoftware.net> Message-ID: No cover, no minimum, no floor. -- *Kelly Freas, Mad magazine* On 11 January 2011 20:14, Mark Wieder wrote: > Heather- > > Tuesday, January 11, 2011, 11:44:36 AM, you wrote: > > > You know the rules, no politics, no cheese! > > No shirt, no service > > -- > -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 revdev at pdslabs.net Wed Jan 12 02:47:55 2011 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 11 Jan 2011 23:47:55 -0800 Subject: [OT] time to change your iTunes password? In-Reply-To: References: <863796A5-18E1-4019-90B6-5E7217E79B9A@siphonophore.com> <41E2A588-8F76-42BD-A258-ED9E38BF4F3B@runrev.com> <132572321828.20110111181455@ahsoftware.net> Message-ID: <4D2D5CAB.7010902@pdslabs.net> No tickee, no washee. On 1/11/11 11:34 PM, stephen barncard wrote: > No cover, no minimum, no floor. > > -- *Kelly Freas, Mad magazine* > > On 11 January 2011 20:14, Mark Wieder wrote: > >> Heather- >> >> Tuesday, January 11, 2011, 11:44:36 AM, you wrote: >> >>> You know the rules, no politics, no cheese! >> No shirt, no service >> >> -- >> -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 >> > > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From shaosean at wehostmacs.com Wed Jan 12 02:51:57 2011 From: shaosean at wehostmacs.com (Shao Sean) Date: Wed, 12 Jan 2011 02:51:57 -0500 Subject: Update screen during lengthy process Message-ID: sadly with only one thread, you will need to wait for your external code to complete unless you do some funky coding using the open process command < http://docs.runrev.com/Command/open-process > From revdev at pdslabs.net Wed Jan 12 03:13:55 2011 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 12 Jan 2011 00:13:55 -0800 Subject: Update screen during lengthy process In-Reply-To: References: Message-ID: <4D2D62C3.90401@pdslabs.net> You might look at either (1) breaking your long process into a series of smaller handlers executed one after the other by "send to me in 6 ticks" at the end of each one; or (2) put some "wait 6 ticks with messages" statements at various places in your long handler. I usually do (1) instead of (2) if I can. I believe either approach will allow some interaction during the process - but it still may not give you what you want. Phil On 1/11/11 5:42 PM, tkuypers at telenet.be wrote: > Hi gang... > > I've created a hot-folder based app, that executes a few scripts when a file if dropped into a specific folder. > But these scripts can take up to 4 minutes to end and during that period LiveCode is locked. > > I'm using a send command to watch the folder every few seconds, is a file is found then it is processed, but I want to show some kind of progress on screen to show the app is working. > > I've tried firing off a second event, to show a counter, but that doesn't do anything. > And of course clicking on the "Stop Processing" button doesn't work as well :-( > > Any suggestions on how to show a progress, and how to make the "Stop" button to work during the execution of an applescript? > > Any suggestions are welcome. > > > Met vriendelijke groeten, > > Ton Kuypers > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From scott at tactilemedia.com Wed Jan 12 04:22:24 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 12 Jan 2011 01:22:24 -0800 Subject: Update screen during lengthy process In-Reply-To: Message-ID: In addition to the other suggestions, another option is to hand off the AppleScript launch to a separate LiveCode application. This way your hot-folder app remains independent of the launch app that gets locked up by the AppleScript process. Depending on what tasks are being completed, you may not be able to show specific progress, but at least your hot-folder app can show that it is operation (using an animation or similar), you can keep your hot-folder app responsive, and you can kill the AppleScript app if necessary. This may sound a bit extreme, but I've done it before with installers that needed to interact with other processes that would normally lock up LiveCode. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, tkuypers at telenet.be wrote: > Hi gang... > > I've created a hot-folder based app, that executes a few scripts when a file > if dropped into a specific folder. > But these scripts can take up to 4 minutes to end and during that period > LiveCode is locked. > > I'm using a send command to watch the folder every few seconds, is a file is > found then it is processed, but I want to show some kind of progress on screen > to show the app is working. > > I've tried firing off a second event, to show a counter, but that doesn't do > anything. > And of course clicking on the "Stop Processing" button doesn't work as well > :-( > > Any suggestions on how to show a progress, and how to make the "Stop" button > to work during the execution of an applescript? > > Any suggestions are welcome. > > > Met vriendelijke groeten, > > Ton Kuypers From williamdesmet at gmail.com Wed Jan 12 05:00:14 2011 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 12 Jan 2011 11:00:14 +0100 Subject: Easy way to create Win .ico on Mac? Message-ID: Hi there, I use FastIcns (great!) to create Mac icons but for Win I start Windows and use IcoFX (free). Now I am looking for an easy way to create a Win .ico files on a Mac. Anyone now a free Mac app that creates LC compatibel .ico files? greetings, William From psahores at free.fr Wed Jan 12 05:26:01 2011 From: psahores at free.fr (Pierre Sahores) Date: Wed, 12 Jan 2011 11:26:01 +0100 Subject: Easy way to create Win .ico on Mac? In-Reply-To: References: Message-ID: <3BB0624E-F830-4EEE-BB73-175DFDC6D474@free.fr> Graphic Converter is able to save images as ".ico" Best, P. Le 12 janv. 2011 ? 11:00, William de Smet a ?crit : > Hi there, > > I use FastIcns (great!) to create Mac icons but for Win I start > Windows and use IcoFX (free). > Now I am looking for an easy way to create a Win .ico files on a Mac. > > Anyone now a free Mac app that creates LC compatibel .ico files? > > greetings, > > William > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From richmondmathewson at gmail.com Wed Jan 12 05:33:48 2011 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 12 Jan 2011 12:33:48 +0200 Subject: Easy way to create Win .ico on Mac? In-Reply-To: References: Message-ID: <4D2D838C.20401@gmail.com> GIMP http://www.gimp.org/ is FREE, totally cross-platform, and can export Windows Icons files. On 01/12/2011 12:00 PM, William de Smet wrote: > Hi there, > > I use FastIcns (great!) to create Mac icons but for Win I start > Windows and use IcoFX (free). > Now I am looking for an easy way to create a Win .ico files on a Mac. > > Anyone now a free Mac app that creates LC compatibel .ico files? > > greetings, > > William > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david at vaudevillecourt.tv Wed Jan 12 06:37:28 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Wed, 12 Jan 2011 11:37:28 +0000 Subject: Some thoughts on duck typing Message-ID: If it quacks like a duck it is a duck. So I have some data in a variable that I want to display. I can use is an array/number/date - but for other types of data I'm wandering... xml should be easy, but harder would be to distinguish long text files from binary. Any ideas for hacks to distinguish: 1. images 2. sounds 3. video 4. binary blob 5. text 6. rtftext 7. utf8 I think a lot of these can be tested by trying them out in various containers - ie can I create an image? What happens if I set the unicodetext of a field... but some of the work needs to be done by looking at the data first. So what would a duck_Type handler look like for LiveCode: function duck_Type someData switch case someData is an array return "array" case someData is a date return "date" case someData is a number return "number" case ??? return "???" end switch end duck_Type Note - the idea is to work on data in a variable, not a file. I have a few handlers for looking at files - any suggestions / snippets of code? From andre at andregarzia.com Wed Jan 12 07:26:54 2011 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 12 Jan 2011 10:26:54 -0200 Subject: Some thoughts on duck typing In-Reply-To: References: Message-ID: David, Be aware that this type inference will cost you cpu and degrade performance if used constantly in the code like thousand steps in a loop. If it is a variable which you control all the lifecycle, then you could attach metadata to it and thus be able to create a little type system which I think is not the case here because if this was an option you would not be asking this list, so forgive my previous comments, they are just for archival benefit in case someone search for this kind of info. Now, about figuring out ducks from the rest of the fauna, I usually take some other approach. I don't do usual duck typing by using something like: "if it looks like a duck, if it quacks like a duck", I do extreme duck typing, which is: "Can I make it quack?", so what I do is try exclusive operations on the variable, if the operation succeeds, then it is a duck. If you can figure out some operation that can only be done on images, then, treat duck-to-be variable as image and try that operation, if it returns true, then it is an image for all that we care, if it fails, it is something else. This kind of inference by behaviour is easy to implement once you found some exclusive test operations but it is not error proof. For example, you can try setting a player video to the content of duck-to-be then check out the codec or the number of frames or something that only a real movie would have but before that, you need to make sure that setting the video player to random binary blobs will not yield results that can be tagged as false positives. PS: I coined the term extreme duck typing as I was writing this email, think I will write a book about it and market it not for monetary benefit but to have such thing next to all those agile books and other buzzword books... On Wed, Jan 12, 2011 at 9:37 AM, David Bovill wrote: > If it quacks like a duck it is a duck. > > So I have some data in a variable that I want to display. I can use is an > array/number/date - but for other types of data I'm wandering... xml should > be easy, but harder would be to distinguish long text files from binary. > Any > ideas for hacks to distinguish: > > 1. images > 2. sounds > 3. video > 4. binary blob > 5. text > 6. rtftext > 7. utf8 > > I think a lot of these can be tested by trying them out in various > containers - ie can I create an image? What happens if I set the > unicodetext > of a field... but some of the work needs to be done by looking at the data > first. So what would a duck_Type handler look like for LiveCode: > > function duck_Type someData > switch > case someData is an array > return "array" > case someData is a date > return "date" > case someData is a number > return "number" > case ??? > return "???" > end switch > end duck_Type > > Note - the idea is to work on data in a variable, not a file. I have a few > handlers for looking at files - any suggestions / snippets of 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 > -- http://www.andregarzia.com All We Do Is Code. From benr_mc at cogapp.com Wed Jan 12 07:51:02 2011 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 12 Jan 2011 12:51:02 +0000 Subject: Accessing 'ntext' fields from SQL Server over ODBC (Windows) Message-ID: <4D2DA3B6.1070906@cogapp.com> We've got a problem with reading data from an 'ntext' column in a MS SQL Server database. This has arisen in a client environment where they recently upgraded a third-party package. They use an app we wrote in Rev/LC which retrieves data from the backend database of this package; one of the fields we retrieve has changed from 'text' to 'ntext', and we're now only retrieving the first character in each case. (We of course have no control over the design of this database.) We've reproduced this locally, setting up a simple test database with one table, one ntext column: the table has three rows as follows: Row 1 here Row 2 here ?mlaut Using our app or Rev/LC in the IDE on Mac, this is retrieved as expected. Using either the app, Rev 4.0, or LC 4.5 on Windows, we get just R R ? (and the length of the data returned by revdb_columnbynumber is 1). On Mac we're using the ActualTech ODBC driver; on Windows the default supplied ODBC driver. In the DSN setup on windows we have unticked all options on the final config screen, so there is no character translation or any other options on. We have also tried various combinations of these options. What surprises me is that this works on Mac (using ODBC over the network to SQL Server running on Windows), but fails when LC is running on Windows (even on the machine that's hosting SQL Server). (Our test machine was Windows Server 2003, with SQL Server 2008; I'm not currently sure the details of the client's network.) Has anyone else worked successfully (or otherwise) with ntext fields over ODBC on Windows? TIA, Ben From bill at bluewatermaritime.com Wed Jan 12 07:57:18 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Wed, 12 Jan 2011 08:57:18 -0400 Subject: Some thoughts on duck typing In-Reply-To: References: Message-ID: Except that "extreme duck typing" sounds like something you would need to dress in camouflage clothing first and maybe build a blind. From andre at andregarzia.com Wed Jan 12 08:07:13 2011 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 12 Jan 2011 11:07:13 -0200 Subject: Some thoughts on duck typing In-Reply-To: References: Message-ID: On Wed, Jan 12, 2011 at 10:57 AM, william humphrey < bill at bluewatermaritime.com> wrote: > Except that "extreme duck typing" sounds like something you would need to > dress in camouflage clothing first and maybe build a blind. > camouflage is useless in extreme duck typing, it may not look like a duck but it will quack when I am finished with it!!!! (oops too much coffee) > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From andre.bisseret at wanadoo.fr Wed Jan 12 08:15:42 2011 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Wed, 12 Jan 2011 14:15:42 +0100 Subject: What does the DragData contain? In-Reply-To: References: <54491471406.20110110194724@ahsoftware.net> Message-ID: <90691418-F36B-4461-8681-EAD534C01712@wanadoo.fr> Le 11 janv. 2011 ? 18:21, Bob Sneidar a ?crit : > Thanks Mark that clears a lot of things up. I found that by getting the short name of the source and destination, I can tell what column in each I am dragging from and to. > > One thing that would have been nice would have been to get a single column of data in a data grid with multiple columns. In fact, a command that gave me a column in ANY list or array would have been nice, but I know I will have to roll my own. Not a problem, just inconvenient. > > My goal is to drop a value onto a column in a multicolumn grid and have the value placed after the last value in that column. Picture something like Filemaker's data import dialog, where you can drag fields from the source and destination into a "merge table" and define the action by clicking a center column. That is what I am working on. > > While it's fun, I find myself spending an inordinate amount of time figuring out just how datagrids work, and how to implement drag and drop between them. Still, it's not time wasted, it's time spent getting an education. :-) > Bonjour Bob, If you don't know it, you could catch a glance to "Experiment 015 - Drag & drop^in DG" from TheSlug here on his site: http://www.aslugontheroad.co.cc/index.php?option=com_content&view=section&layout=blog&id=6&Itemid=53 under "Experiments 012 to 016: Datagrids experiments" Seems possible to modify the scripts in order to drag only one value of a row of a Dg and drop it onto another Dg. Sure TheSlug would know how to do that far better than me ;-)) Best regards from Grenoble Andr? From andre at andregarzia.com Wed Jan 12 08:17:51 2011 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 12 Jan 2011 11:17:51 -0200 Subject: Accessing 'ntext' fields from SQL Server over ODBC (Windows) In-Reply-To: <4D2DA3B6.1070906@cogapp.com> References: <4D2DA3B6.1070906@cogapp.com> Message-ID: Ben, I have no clue whatsoever what ntext fields are but you could try a combination of the following stuff: You can try executing this Transact-SQL piece on a query to the server: SET TEXTSIZE 64512 This will change the amount of text returned by a SELECT into a ntext or nvarchar field. If you the upper limit of the size of your text, you can try selecting it as a substring such as: SELECT SUBSTRING(myfield, 1, 4096) AS myfield FROM mytable Now, I never faced such issues but then again, I seldon do windows and the last time I've dealt with MS SQL Server was in 1999... Andre From andre at andregarzia.com Wed Jan 12 08:22:37 2011 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 12 Jan 2011 11:22:37 -0200 Subject: Update screen during lengthy process In-Reply-To: References: Message-ID: On Wed, Jan 12, 2011 at 7:22 AM, Scott Rossi wrote: > In addition to the other suggestions, another option is to hand off the > AppleScript launch to a separate LiveCode application. ?This way your > hot-folder app remains independent of the launch app that gets locked up by > the AppleScript process. ?Depending on what tasks are being completed, you > may not be able to show specific progress, but at least your hot-folder app > can show that it is operation (using an animation or similar), you can keep > your hot-folder app responsive, and you can kill the AppleScript app if > necessary. > > This may sound a bit extreme, but I've done it before with installers that > needed to interact with other processes that would normally lock up > LiveCode. > a more extreme version of this is to use the 3.5 command line engine (aka cgi engine) and some scripts for the processing. This way, when your application wants to process a file it opens a new process to the script and executes it. You application will not lock and you will avoid launching another application and bloating the dock.... Same thing explained in steps: step #1: pick your processing code and refactor it into a text script file to be executed by 3.5 engine step #2: bundle engine and script with your app step #3: main application finds a new file step #4: main application uses a loop with open process and read/write to process to interact with script step #5: user is happy and you can even process more than one file at the same time. > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > > Recently, tkuypers at telenet.be wrote: > >> Hi gang... >> >> I've created a hot-folder based app, that executes a few scripts when a file >> if dropped into a specific folder. >> But these scripts can take up to 4 minutes to end and during that period >> LiveCode is locked. >> >> I'm using a send command to watch the folder every few seconds, is a file is >> found then it is processed, but I want to show some kind of progress on screen >> to show the app is working. >> >> I've tried firing off a second event, to show a counter, but that doesn't do >> anything. >> And of course clicking on the "Stop Processing" button doesn't work as well >> :-( >> >> Any suggestions on how to show a progress, and how to make the "Stop" button >> to work during the execution of an applescript? >> >> Any suggestions are welcome. >> >> >> Met vriendelijke groeten, >> >> Ton Kuypers > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Wed Jan 12 08:35:14 2011 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 12 Jan 2011 11:35:14 -0200 Subject: sqLite in iOS?? In-Reply-To: <83EEDAB8-6A96-4302-8249-201A65C8B6D9@thehales.id.au> References: <83EEDAB8-6A96-4302-8249-201A65C8B6D9@thehales.id.au> Message-ID: On Tue, Jan 11, 2011 at 10:52 PM, James Hale wrote: > Hi Guys, > > A question for the iOS developers. > > Does iOS have sqLite available? > > In other words, if I have a desktop rev project that uses sqLite, will it port over to iOS? > James, Right now the pre-release version of iOS deployment (aka revmobile) does not support externals, so no database access is possible but this will of course be implemented as soon as they are able since it is a crucial feature but as things stands, you can't access databases. andre > > James > > james at thehales.id.au > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From benr_mc at cogapp.com Wed Jan 12 08:41:13 2011 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 12 Jan 2011 13:41:13 +0000 Subject: Accessing 'ntext' fields from SQL Server over ODBC (Windows) In-Reply-To: References: <4D2DA3B6.1070906@cogapp.com> Message-ID: <4D2DAF79.5060106@cogapp.com> Thanks Andre. However, the size of these fields is not that great - probably less than 1K - and in our test database it's just a few bytes. Has anyone else experience with accessing ntext fields from SQL Server over ODBC - using Rev/LiveCode or anything else? TIA, Ben On 12/01/2011 13:17, Andre Garzia wrote: > Ben, > > I have no clue whatsoever what ntext fields are but you could try a > combination of the following stuff: > > You can try executing this Transact-SQL piece on a query to the server: > > SET TEXTSIZE 64512 > > This will change the amount of text returned by a SELECT into a ntext > or nvarchar field. > > If you the upper limit of the size of your text, you can try selecting > it as a substring such as: > > SELECT SUBSTRING(myfield, 1, 4096) AS myfield FROM mytable > > Now, I never faced such issues but then again, I seldon do windows and > the last time I've dealt with MS SQL Server was in 1999... > > Andre From ambassador at fourthworld.com Wed Jan 12 08:52:37 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 12 Jan 2011 05:52:37 -0800 Subject: Update screen during lengthy process Message-ID: <4D2DB225.1050607@fourthworld.com> tkuypers wrote: > I've created a hot-folder based app, that executes a few scripts when > a file if dropped into a specific folder. > But these scripts can take up to 4 minutes to end and during that > period LiveCode is locked. > > I'm using a send command to watch the folder every few seconds, is a > file is found then it is processed, but I want to show some kind of > progress on screen to show the app is working. > > I've tried firing off a second event, to show a counter, but that > doesn't do anything. > And of course clicking on the "Stop Processing" button doesn't work > as well :-( > > Any suggestions on how to show a progress, and how to make the "Stop" > button to work during the execution of an applescript? My WebMerge product has a similar challenge: for most folks it runs in just a few seconds, but it's sometimes used to process very large collections of product lists (300,000 or more) which can take a few minutes. So I needed both a way to indicate progress, and a way to cancel the task, just as you do. Here's what I did: In the main repeat loop I have a call to a CheckCancel handler, e.g.: ... global gProcessActive put true into gProcessActive show button "Cancel" -- repeat for each line tLine in tData CheckCancel -- Processs tLine end repeat ... Here's the CheckCancel handler: on CheckCancel global gProcessActive wait 0 with messages if gProcessActive <> true then DoCleanUpAndExit else ShowProgress end if end CheckCancel Then in a button labeled "Cancel" I have this script: on mouseUp global gProcessActive put false into gProcessActive end mouseUp So first the gProcessActive flag is set before entering the loop, and within the loop CheckCancel is called to do two things: 1. Allow messages to be sent ("wait 0 with messages") 2. Check if the flag has been set to false Because messages are processed thanks to the "with messages" modifier, if the user clicks on the "Cancel" button that button's script sets the flag to false, and the next call to CheckCancel will notice that and call DoCleanUpAndExit if it needs to. What happens in DoCleanUpAndExit will of course depend on what your program is doing (though you should include a "exit to top" statement to exit the loop from outside of it), and the same is true for ShowProgress. Because WebMerge's process is of a knowable length (the number of lines of the data it's working on) I use a progress bar, but you could use a spinning wheel or indeterminate progress bar or even just updating text in a field, whichever works for your UI. I've experimented with various methods of canceling long processes, and thus far this solution based around "wait 0 with messages" has shown itself to require the least overhead of the options I've tried. HTH - -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From andre at andregarzia.com Wed Jan 12 08:55:36 2011 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 12 Jan 2011 11:55:36 -0200 Subject: Accessing 'ntext' fields from SQL Server over ODBC (Windows) In-Reply-To: <4D2DAF79.5060106@cogapp.com> References: <4D2DA3B6.1070906@cogapp.com> <4D2DAF79.5060106@cogapp.com> Message-ID: Ben, have you tried the select with the substring? andre On Wed, Jan 12, 2011 at 11:41 AM, Ben Rubinstein wrote: > Thanks Andre. ?However, the size of these fields is not that great - > probably less than 1K - and in our test database it's just a few bytes. > > Has anyone else experience with accessing ntext fields from SQL Server over > ODBC - using Rev/LiveCode or anything else? > > TIA, > > Ben > > On 12/01/2011 13:17, Andre Garzia wrote: >> >> Ben, >> >> I have no clue whatsoever what ntext fields are but you could try a >> combination of the following stuff: >> >> You can try executing this Transact-SQL piece on a query to the server: >> >> SET TEXTSIZE 64512 >> >> This will change the amount of text returned by a SELECT into a ntext >> or nvarchar field. >> >> If you the upper limit of the size of your text, you can try selecting >> it as a substring such as: >> >> SELECT SUBSTRING(myfield, 1, 4096) AS myfield FROM mytable >> >> Now, I never faced such issues but then again, I seldon do windows and >> the last time I've dealt with MS SQL Server was in 1999... >> >> Andre > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Wed Jan 12 08:58:09 2011 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 12 Jan 2011 11:58:09 -0200 Subject: Update screen during lengthy process In-Reply-To: <4D2DB225.1050607@fourthworld.com> References: <4D2DB225.1050607@fourthworld.com> Message-ID: Richard, I like that! :-D > > My WebMerge product has a similar challenge: for most folks it runs in just > a few seconds, but it's sometimes used to process very large collections of > product lists (300,000 or more) which can take a few minutes. > > So I needed both a way to indicate progress, and a way to cancel the task, > just as you do. > > Here's what I did: > > In the main repeat loop I have a call to a CheckCancel handler, e.g.: > > ? ... > ? global gProcessActive > ? put true into gProcessActive > ? show button "Cancel" > ? -- > ? repeat for each line tLine in tData > ? ? ?CheckCancel > ? ? ?-- > ? ? ?Processs tLine > ? end repeat > ? ... > > Here's the CheckCancel handler: > > on CheckCancel > ? global gProcessActive > ? wait 0 with messages > ? if gProcessActive <> true then > ? ? DoCleanUpAndExit > ? else > ? ? ShowProgress > ? end if > end CheckCancel > > Then in a button labeled "Cancel" I have this script: > > on mouseUp > ? global gProcessActive > ? put false into gProcessActive > end mouseUp > > > So first the gProcessActive flag is set before entering the loop, and within > the loop CheckCancel is called to do two things: > > 1. Allow messages to be sent ("wait 0 with messages") > 2. Check if the flag has been set to false > > Because messages are processed thanks to the "with messages" modifier, if > the user clicks on the "Cancel" button that button's script sets the flag to > false, and the next call to CheckCancel will notice that and call > DoCleanUpAndExit if it needs to. > > What happens in DoCleanUpAndExit will of course depend on what your program > is doing (though you should include a "exit to top" statement to exit the > loop from outside of it), and the same is true for ShowProgress. ? Because > WebMerge's process is of a knowable length (the number of lines of the data > it's working on) I use a progress bar, but you could use a spinning wheel or > indeterminate progress bar or even just updating text in a field, whichever > works for your UI. > > I've experimented with various methods of canceling long processes, and thus > far this solution based around "wait 0 with messages" has shown itself to > require the least overhead of the options I've tried. > > HTH - > > -- > ?Richard Gaskin > ?Fourth World > ?LiveCode training and consulting: http://www.fourthworld.com > ?Webzine for LiveCode developers: http://www.LiveCodeJournal.com > ?LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From david at vaudevillecourt.tv Wed Jan 12 09:15:56 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Wed, 12 Jan 2011 14:15:56 +0000 Subject: Some thoughts on duck typing In-Reply-To: References: Message-ID: Ducks - are my big thing this year. I think they are going to be big. On 12 January 2011 13:07, Andre Garzia wrote: > On Wed, Jan 12, 2011 at 10:57 AM, william humphrey < > bill at bluewatermaritime.com> wrote: > > > Except that "extreme duck typing" sounds like something you would need to > > dress in camouflage clothing first and maybe build a blind. > > > > camouflage is useless in extreme duck typing, it may not look like a duck > but it will quack when I am finished with it!!!! > > (oops too much coffee) > From ambassador at fourthworld.com Wed Jan 12 09:37:02 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 12 Jan 2011 06:37:02 -0800 Subject: Some thoughts on duck typing Message-ID: <4D2DBC8E.2020101@fourthworld.com> David Bovill wrote: > If it quacks like a duck it is a duck. > > So I have some data in a variable that I want to display. I can use is an > array/number/date - but for other types of data I'm wandering... xml should > be easy, but harder would be to distinguish long text files from binary. Any > ideas for hacks to distinguish: > > 1. images > 2. sounds > 3. video > 4. binary blob > 5. text > 6. rtftext > 7. utf8 > > I think a lot of these can be tested by trying them out in various > containers - ie can I create an image? What happens if I set the unicodetext > of a field... but some of the work needs to be done by looking at the data > first. So what would a duck_Type handler look like for LiveCode: > > function duck_Type someData > switch > case someData is an array > return "array" > case someData is a date > return "date" > case someData is a number > return "number" > case ??? > return "???" > end switch > end duck_Type > > Note - the idea is to work on data in a variable, not a file. I have a few > handlers for looking at files - any suggestions / snippets of code? If such metadata are needed for the variables, what would be the downside of using an array? That way you could store/access the type metadata quickly: put tData into gMyDucksA["label"]["data"] put "rtfText" into gMyDucksA["label"]["type"] I realize that this is an obvious solution you've probably already considered, but given the difficulties of imposing types and OOP constructs in a typeless non-OOP language, for practical purposes such a Lua-metatable-esque option may provide a reasonable balance between performance and flexibility. If an array is unsuitable for your needs I would be interested in learning more about the problem being solved to see if there's an efficient solution. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From benr_mc at cogapp.com Wed Jan 12 09:53:01 2011 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 12 Jan 2011 14:53:01 +0000 Subject: Accessing 'ntext' fields from SQL Server over ODBC (Windows) In-Reply-To: References: <4D2DA3B6.1070906@cogapp.com> <4D2DAF79.5060106@cogapp.com> Message-ID: <4D2DC04D.80804@cogapp.com> Hi Andre, Tried it, no success. Thanks, Ben On 12/01/2011 13:55, Andre Garzia wrote: > Ben, > > have you tried the select with the substring? > > andre > > On Wed, Jan 12, 2011 at 11:41 AM, Ben Rubinstein wrote: >> Thanks Andre. However, the size of these fields is not that great - >> probably less than 1K - and in our test database it's just a few bytes. >> >> Has anyone else experience with accessing ntext fields from SQL Server over >> ODBC - using Rev/LiveCode or anything else? >> >> TIA, >> >> Ben >> >> On 12/01/2011 13:17, Andre Garzia wrote: >>> >>> Ben, >>> >>> I have no clue whatsoever what ntext fields are but you could try a >>> combination of the following stuff: >>> >>> You can try executing this Transact-SQL piece on a query to the server: >>> >>> SET TEXTSIZE 64512 >>> >>> This will change the amount of text returned by a SELECT into a ntext >>> or nvarchar field. >>> >>> If you the upper limit of the size of your text, you can try selecting >>> it as a substring such as: >>> >>> SELECT SUBSTRING(myfield, 1, 4096) AS myfield FROM mytable >>> >>> Now, I never faced such issues but then again, I seldon do windows and >>> the last time I've dealt with MS SQL Server was in 1999... >>> >>> Andre >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > From pmbrig at gmail.com Wed Jan 12 10:24:12 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Wed, 12 Jan 2011 10:24:12 -0500 Subject: Somewhat OT: Revolutionaries, Scotland and Texas In-Reply-To: References: Message-ID: On Jan 11, 2011, at 6:50 AM, David Bovill wrote: > ... "penal policy", has nothing whatsoever to do with the "male > member". The Latin routes are quite distinct with penal deriving > from from the "poenalis" - that is pertaining to punishment, and not > "penis" (the male member or "tail") "poenalis" -- those are on the little wiggly things on your feet, right? Different body part entirely. :-) -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From th.douez at sunnyrevtalk.com Wed Jan 12 11:45:03 2011 From: th.douez at sunnyrevtalk.com (Thierry) Date: Wed, 12 Jan 2011 17:45:03 +0100 Subject: Update screen during lengthy process In-Reply-To: <4D2DB225.1050607@fourthworld.com> References: <4D2DB225.1050607@fourthworld.com> Message-ID: <8DFEFD35-BEC9-4A98-8DB4-B70E9F089025@sunnyrevtalk.com> Le 12 janv. 2011 ? 14:52, Richard Gaskin a ?crit : > So I needed both a way to indicate progress, and a way to cancel the task, just as you do. Hi Richard, I had the same problem with one of my external written in C. and that's exactly what I've done. ( different context, but same solution ) The C code is using 100% of the CPU for quite a while, and with a user's option, there is a way to update a progress bar or whatever, and this works like a charm. on Progress x set the thumbposition of ... to x wait 1 milliseconds with message end Progress on mouseUp AbortProcess end mouseUp The Progress is called from the external, and AbortProcess is send to the external. Regards, Thierry From bobs at twft.com Wed Jan 12 12:08:25 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 12 Jan 2011 09:08:25 -0800 Subject: [OT] time to change your iTunes password? In-Reply-To: <132572321828.20110111181455@ahsoftware.net> References: <863796A5-18E1-4019-90B6-5E7217E79B9A@siphonophore.com> <41E2A588-8F76-42BD-A258-ED9E38BF4F3B@runrev.com> <132572321828.20110111181455@ahsoftware.net> Message-ID: <4132CB4A-E025-4E17-BF17-6249B946E034@twft.com> Not ticket, no laundry. Bob On Jan 11, 2011, at 6:14 PM, Mark Wieder wrote: > Heather- > > Tuesday, January 11, 2011, 11:44:36 AM, you wrote: > >> You know the rules, no politics, no cheese! > > No shirt, no service > > -- > -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 Jan 12 12:24:20 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 12 Jan 2011 09:24:20 -0800 Subject: Some thoughts on duck typing In-Reply-To: References: Message-ID: That's what all the dead duck thought just before that "big bang". Bob On Jan 12, 2011, at 3:37 AM, David Bovill wrote: > If it quacks like a duck it is a duck. From richmondmathewson at gmail.com Wed Jan 12 12:24:27 2011 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 12 Jan 2011 19:24:27 +0200 Subject: [OT] time to change your iTunes password? In-Reply-To: <4132CB4A-E025-4E17-BF17-6249B946E034@twft.com> References: <863796A5-18E1-4019-90B6-5E7217E79B9A@siphonophore.com> <41E2A588-8F76-42BD-A258-ED9E38BF4F3B@runrev.com> <132572321828.20110111181455@ahsoftware.net> <4132CB4A-E025-4E17-BF17-6249B946E034@twft.com> Message-ID: <4D2DE3CB.1070608@gmail.com> Lois, Le Corps Politique, et Fromage . . . :) C'est un fable ancien, mes vieux. On 01/12/2011 07:08 PM, Bob Sneidar wrote: > Not ticket, no laundry. > > Bob > > > On Jan 11, 2011, at 6:14 PM, Mark Wieder wrote: > >> Heather- >> >> Tuesday, January 11, 2011, 11:44:36 AM, you wrote: >> >>> You know the rules, no politics, no cheese! >> No shirt, no service >> >> -- >> -Mark Wieder >> mwieder at ahsoftware.net >> >> From tkuypers at telenet.be Wed Jan 12 12:27:15 2011 From: tkuypers at telenet.be (tkuypers at telenet.be) Date: Wed, 12 Jan 2011 18:27:15 +0100 Subject: Update screen during lengthy process In-Reply-To: <4D2DB225.1050607@fourthworld.com> References: <4D2DB225.1050607@fourthworld.com> Message-ID: Thanks all... I was getting desperate, but I think Richard's way will work... Will give it a try later this evening :-) But also Scott's solution, using a second app has some possibilities. Will take a look at that one, when the "Richard-trick" doesn't work! Met vriendelijke groeten, Ton Kuypers From massung at gmail.com Wed Jan 12 12:55:52 2011 From: massung at gmail.com (Jeff Massung) Date: Wed, 12 Jan 2011 10:55:52 -0700 Subject: Some thoughts on duck typing In-Reply-To: References: Message-ID: On Wed, Jan 12, 2011 at 4:37 AM, David Bovill wrote: > If it quacks like a duck it is a duck. > > So I have some data in a variable that I want to display. I can use is an > array/number/date - but for other types of data I'm wandering... xml should > be easy, but harder would be to distinguish long text files from binary. > Any > ideas for hacks to distinguish: > > 1. images > 2. sounds > 3. video > 4. binary blob > 5. text > 6. rtftext > 7. utf8 > > This is a pretty solved problem (except for the "array" part, which is a LC-specific data type/format). Wish I had some references for you at the moment, but here's some things to keep in mind: - First, use your OS when possible. Images, sounds, video, and often text is already done for you via registry on Windows or the 4-byte code on Mac (i.e. 'TEXT'). - Next, determine text vs. binary. This is usually done by just grabbing the first N (where N is ~1000) bytes and look for any that are < 10 or > 127. If you find any, it's binary - or unicode. - Binary starts the look at image vs. video vs. unicode. Image and video are pretty simple. You don't need to understand every form of image or video, just a handful that will hit 99% of all images/videos out there. And they all - very politely - have a nice header you can examine. For example, looking at PNG: http://en.wikipedia.org/wiki/Portable_Network_Graphics#File_header >From there, you can see that the first 4 bytes of a PNG file are 0x89 0x50 0x4E and 0x47 (where 50, 4E, and 47 are actually the ASCII letters 'PNG'). Almost every single image and video format you'll care about will have something very similar you can use. This is a great site you can reference: http://www.wotsit.org/ If you don't find a header that you understand, then you are looking at either a straight binary lump/blob or multi-byte text file (unicode). Remember that while UTF8 is not ASCII, it's designed to be indistinguishable from ASCII most of the time. I don't have any advice to give you here on how to determine if the file is unicode text or not... as I understand it this is really a difficult problem to solve. I'm sure Google can help, though. ;-) - At this point you've determined that the file is "text" in nature and you are trying to specifically figure out if it's RTF, XML, INI, whatever. This gets a little more tricky, as often times people skip what optional headers could be there (e.g. , , ...) and you are left with either taking your best guess or going off the file extension. - RTF - I don't believe - has an actual "header" that lets you know it is an RTF file. Instead, just scan it and look for "{\" in the file followed by some known RTF "tags". - XML/HTML/*ML, is a matter of scanning for some known tags (like , ) you know should be there near the top or - in the case of XML - checking for namespaces in the tag names. Hope this helps! Jeff M. From david at vaudevillecourt.tv Wed Jan 12 13:00:47 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Wed, 12 Jan 2011 18:00:47 +0000 Subject: Somewhat OT: Revolutionaries, Scotland and Texas In-Reply-To: References: Message-ID: On 12 January 2011 15:24, Peter Brigham MD wrote: > On Jan 11, 2011, at 6:50 AM, David Bovill wrote: > > ... "penal policy", has nothing whatsoever to do with the "male member". >> The Latin routes are quite distinct with penal deriving from from the >> "poenalis" - that is pertaining to punishment, and not "penis" (the male >> member or "tail") >> > > "poenalis" -- those are on the little wiggly things on your feet, right? > Different body part entirely. :-) > Don't be silly - what would they be doing there? From jhj at jhj.com Wed Jan 12 13:05:07 2011 From: jhj at jhj.com (Jerry J) Date: Wed, 12 Jan 2011 10:05:07 -0800 Subject: Some thoughts on duck typing In-Reply-To: References: Message-ID: <9A873508-65D7-4B85-BB00-296E3696184A@jhj.com> On Jan 12, 2011, at 4:26 AM, Andre Garzia wrote: > I do extreme duck typing, which is: "Can I make it quack?", so what I do is try exclusive > operations on the variable, if the operation succeeds, then it is a duck. "Quack, damn you!" --Jamie Hyneman, Mythbuster From david at vaudevillecourt.tv Wed Jan 12 13:08:08 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Wed, 12 Jan 2011 18:08:08 +0000 Subject: Some thoughts on duck typing In-Reply-To: References: Message-ID: It does Jeff - thanks lots of detail there to translate into good 'ol code :) On 12 January 2011 17:55, Jeff Massung wrote: > On Wed, Jan 12, 2011 at 4:37 AM, David Bovill >wrote: > > > If it quacks like a duck it is a duck. > > > > So I have some data in a variable that I want to display. I can use is an > > array/number/date - but for other types of data I'm wandering... xml > should > > be easy, but harder would be to distinguish long text files from binary. > > Any > > ideas for hacks to distinguish: > > > > 1. images > > 2. sounds > > 3. video > > 4. binary blob > > 5. text > > 6. rtftext > > 7. utf8 > > > > > This is a pretty solved problem (except for the "array" part, which is a > LC-specific data type/format). Wish I had some references for you at the > moment, but here's some things to keep in mind: > > - First, use your OS when possible. Images, sounds, video, and often text > is > already done for you via registry on Windows or the 4-byte code on Mac > (i.e. > 'TEXT'). > > - Next, determine text vs. binary. This is usually done by just grabbing > the > first N (where N is ~1000) bytes and look for any that are < 10 or > 127. > If > you find any, it's binary - or unicode. > > - Binary starts the look at image vs. video vs. unicode. Image and video > are > pretty simple. You don't need to understand every form of image or video, > just a handful that will hit 99% of all images/videos out there. And they > all - very politely - have a nice header you can examine. For example, > looking at PNG: > > http://en.wikipedia.org/wiki/Portable_Network_Graphics#File_header > > From there, you can see that the first 4 bytes of a PNG file are 0x89 0x50 > 0x4E and 0x47 (where 50, 4E, and 47 are actually the ASCII letters 'PNG'). > Almost every single image and video format you'll care about will have > something very similar you can use. This is a great site you can reference: > > http://www.wotsit.org/ > > If you don't find a header that you understand, then you are looking at > either a straight binary lump/blob or multi-byte text file (unicode). > Remember that while UTF8 is not ASCII, it's designed to be > indistinguishable > from ASCII most of the time. I don't have any advice to give you here on > how > to determine if the file is unicode text or not... as I understand it this > is really a difficult problem to solve. I'm sure Google can help, though. > ;-) > > - At this point you've determined that the file is "text" in nature and you > are trying to specifically figure out if it's RTF, XML, INI, whatever. This > gets a little more tricky, as often times people skip what optional headers > could be there (e.g. , , ...) and you are left > with > either taking your best guess or going off the file extension. > > - RTF - I don't believe - has an actual "header" that lets you know it is > an > RTF file. Instead, just scan it and look for "{\" in the file followed by > some known RTF "tags". > > - XML/HTML/*ML, is a matter of scanning for some known tags (like , > ) you know should be there near the top or - in the case of XML - > checking for namespaces in the tag names. > > Hope this helps! > > Jeff M. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From david at vaudevillecourt.tv Wed Jan 12 13:22:44 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Wed, 12 Jan 2011 18:22:44 +0000 Subject: Some thoughts on duck typing In-Reply-To: <4D2DBC8E.2020101@fourthworld.com> References: <4D2DBC8E.2020101@fourthworld.com> Message-ID: On 12 January 2011 14:37, Richard Gaskin wrote: > If such metadata are needed for the variables, what would be the downside > of using an array? That way you could store/access the type metadata > quickly: > > put tData into gMyDucksA["label"]["data"] > put "rtfText" into gMyDucksA["label"]["type"] > > I realize that this is an obvious solution you've probably already > considered, but given the difficulties of imposing types and OOP constructs > in a typeless non-OOP language, for practical purposes such a > Lua-metatable-esque option may provide a reasonable balance between > performance and flexibility. > Yes - your right Richard. I'm being a perfectionist - or just really lazy - in fact both at the same time :) Seriously, I want to end up with full typed data specifications in an array format of the form you describe, but tailored to be useful for internal use, and XML export to things like Django templating language or XForm type encoding - internally there would be a standard array format that would work with datagrids and other form widgets. The duck typing is for the defaults - that's the lazy bit, and the bit that takes the most effort at the same time. In general I've found getting the defaults right for things like this to be both incredibly useful in terms of future usability and incredibly difficult to get right. The usability I'm looking for internally is simply to create simple arrays, from data in LiveCode and external files, and not bother about the type of data. The duck typing would simply fill in the defaults, which you can use to create default forms for displaying or editing the data - I think this should cover 90% of the cases - for the rest you would manually script the data types to allow for the appropriate form elements to be selected to display the data. Indeed you would manually refine the data in all sorts of ways. Does anyone know of any good widely used or well designed formats for form representation - Django, HTML5, DOJO, and XForms are the things I've investigated - I'm not too sure how much traction XForms gets, and if HTML5 forms makes it redundant - but ideally I'd like to borrow from well thought out data structure designs in other frameworks and know that it is possible to export the core LiveCode layouts for use in a range of web applications. From support at ahsomme.com Wed Jan 12 14:20:47 2011 From: support at ahsomme.com (Paul Looney) Date: Wed, 12 Jan 2011 11:20:47 -0800 Subject: Layers, revNavigator, & DataGrids Message-ID: <8A54DDF6-0FD8-4987-87FE-7D45BF5F2022@ahsomme.com> Fellow Programmers, For many years I've used the revNavigator plugin to layer objects - to move objects to any layer, into and out of groups, from one group to another, etc. Somewhere around Rev 3.5 the revNavigator broke. Dragging objects in the list would only put bookmarks at the top of the list - leaving the selected object in its original layer. Using the Option key to move objects in groups (per the instructions) did not help. I am referring to revNavigator 3.0 RC 1. I can open the stack in an older version of Rev, with the older version of the Navigator and relayering works properly. BUT... Having adjusted the object layers in an older version of Rev, the DataGrids will not work on the stack when it is reopened in LC 4.0 or 4.5.1. All of the grid objects are there but they have no "intelligence": 1. setting the dgText of the grid group does nothing - does not produce an error, using a "try/catch" shows nothing 2. the columns are the same size but have no column widths in the Columns tab on the object inspector 3. "the behavior of group 'DataGrid'" returns empty, not "button id 1005 of stack "revDataGridLibrary"" The original grids in the stack are broken. I can add new grids and they work properly. BUT... If I replace the old grids with new ones, I have no way to put them in the proper layers - short of completely rebuilding a very complex stack. So, two questions: 1. Can you recommend something for layering objects in LC 4.5.1 and later? 2. Is there a way to fix the broken datagrid described above? FYI, LC 4.0 tested on OS X 10.4.11 on a G4 PowerBook and LC 4.5.1 tested on OS X 10.6.6 on an Intel Mac Mini. I really appreciate your help. Paul Looney From tereza at califex.com Wed Jan 12 14:43:35 2011 From: tereza at califex.com (Tereza Snyder) Date: Wed, 12 Jan 2011 13:43:35 -0600 Subject: Layers, revNavigator, & DataGrids In-Reply-To: <8A54DDF6-0FD8-4987-87FE-7D45BF5F2022@ahsomme.com> References: <8A54DDF6-0FD8-4987-87FE-7D45BF5F2022@ahsomme.com> Message-ID: On Jan 12, 2011, at 1:20 PM, Paul Looney wrote: > So, two questions: > 1. Can you recommend something for layering objects in LC 4.5.1 and later? Chipp?s AltLayerTools does it for me! > 2. Is there a way to fix the broken datagrid described above? Trevor knows all. t -- Tereza Snyder Califex Software, Inc. From bobs at twft.com Wed Jan 12 15:03:10 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 12 Jan 2011 12:03:10 -0800 Subject: Layers, revNavigator, & DataGrids In-Reply-To: References: <8A54DDF6-0FD8-4987-87FE-7D45BF5F2022@ahsomme.com> Message-ID: <68DCB5E5-36F2-482C-B07B-6D27236241CD@twft.com> Are we sure that Trevor is not a super intelligent albeit benevolent alien species sent here to hasten mankind's progress to interstellar status? Or maybe they were sent here to make us mind-fat so they could feed off our brain energy. Bob > Trevor knows all. > > > t > > -- > Tereza Snyder > Califex Software, Inc. > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From zryip.theslug at gmail.com Wed Jan 12 15:14:47 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 12 Jan 2011 21:14:47 +0100 Subject: Layers, revNavigator, & DataGrids In-Reply-To: <8A54DDF6-0FD8-4987-87FE-7D45BF5F2022@ahsomme.com> References: <8A54DDF6-0FD8-4987-87FE-7D45BF5F2022@ahsomme.com> Message-ID: On Wed, Jan 12, 2011 at 8:20 PM, Paul Looney wrote: Paul, > Having adjusted the object layers in an older version of Rev, the DataGrids > will not work on the stack when it is reopened in LC 4.0 or 4.5.1. All of > the grid objects are there but they have no "intelligence": Behave like the datagrid has lost its behavior link with the datagrid library > 1. setting the dgText of the grid group does nothing - does not produce an > error, using a "try/catch" shows nothing You should have the dgText nested in the custom properties of the group, with all the other properties you tried. > 2. the columns are the same size but have no column widths in the Columns > tab on the object inspector > 3. "the behavior of group 'DataGrid'" returns empty, not "button id 1005 of > stack "revDataGridLibrary"" Hum, You have probably thought to that, but what about trying to set the behavior of your group to the corresponding datagrid engine button? set the behavior of grp "myDataGrid" to "button id 1005 of stack " & quote & "revDataGridLibrary" & quote Then in the inspector, use the "Refresh datagrid" button Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From klaus at major.on-rev.com Wed Jan 12 15:24:09 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 12 Jan 2011 21:24:09 +0100 Subject: Layers, revNavigator, & DataGrids In-Reply-To: <68DCB5E5-36F2-482C-B07B-6D27236241CD@twft.com> References: <8A54DDF6-0FD8-4987-87FE-7D45BF5F2022@ahsomme.com> <68DCB5E5-36F2-482C-B07B-6D27236241CD@twft.com> Message-ID: Hi Bob, Am 12.01.2011 um 21:03 schrieb Bob Sneidar: > Are we sure that Trevor is not a super intelligent albeit benevolent alien species sent here to hasten mankind's progress to interstellar status? No! :-D > Or maybe they were sent here to make us mind-fat so they could feed off our brain energy. > > Bob > > Trevor knows all. >> >> t >> >> -- >> Tereza Snyder Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From peterwawood at gmail.com Wed Jan 12 18:26:33 2011 From: peterwawood at gmail.com (Peter W A Wood) Date: Thu, 13 Jan 2011 07:26:33 +0800 Subject: Some thoughts on duck typing In-Reply-To: References: Message-ID: On 13 Jan 2011, at 01:55, Jeff Massung wrote: > - Next, determine text vs. binary. This is usually done by just grabbing the > first N (where N is ~1000) bytes and look for any that are < 10 or > 127. If > you find any, it's binary - or unicode. This is only true if the text is 7-bit encoded which is very, very rare these days. (In fact, it isn't totally true as 0 to 9 are valid ASCII characters though not often found in files). The default text encoding on Mac Classic (MacRoman) and Windows (Codepage 1252 in US & Western Europe) are both 8-bit encoded. The above test would only work if no accented characters were used in text. > Remember that while UTF8 is not ASCII, it's designed to be indistinguishable > from ASCII most of the time. I don't have any advice to give you here on how > to determine if the file is unicode text or not... as I understand it this > is really a difficult problem to solve. I'm sure Google can help, though. > ;-) UTF-8 is designed to be indistinguishable from 7-bit encoded ASCII (characters 0 - 127 are identical in both encoding systems). However, the use of characters coded in the range 128 - 255 is very different between UTF-8, Windows Codepages and MacRoman). Regards Peter From gwolfgang at gaich.de Wed Jan 12 18:31:33 2011 From: gwolfgang at gaich.de (G. Wolfgang Gaich) Date: Thu, 13 Jan 2011 00:31:33 +0100 Subject: Accessing 'ntext' fields from SQL Server over ODBC (Windows) In-Reply-To: <4D2DA3B6.1070906@cogapp.com> References: <4D2DA3B6.1070906@cogapp.com> Message-ID: <4D2E39D5.7080204@gaich.de> Hi Ben, try to convert nstring to varchar in your sql query: select convert(varchar, yourNStringColumn) from table ... HTH Wolfgang Am 12.01.2011 13:51, schrieb Ben Rubinstein: > We've got a problem with reading data from an 'ntext' column in a MS > SQL Server database. > > This has arisen in a client environment where they recently upgraded a > third-party package. They use an app we wrote in Rev/LC which > retrieves data from the backend database of this package; one of the > fields we retrieve has changed from 'text' to 'ntext', and we're now > only retrieving the first character in each case. (We of course have > no control over the design of this database.) > > We've reproduced this locally, setting up a simple test database with > one table, one ntext column: the table has three rows as follows: > Row 1 here > Row 2 here > ?mlaut > > Using our app or Rev/LC in the IDE on Mac, this is retrieved as > expected. Using either the app, Rev 4.0, or LC 4.5 on Windows, we get > just > R > R > ? > > > (and the length of the data returned by revdb_columnbynumber is 1). > > On Mac we're using the ActualTech ODBC driver; on Windows the default > supplied ODBC driver. In the DSN setup on windows we have unticked > all options on the final config screen, so there is no character > translation or any other options on. We have also tried various > combinations of these options. > > What surprises me is that this works on Mac (using ODBC over the > network to SQL Server running on Windows), but fails when LC is > running on Windows (even on the machine that's hosting SQL Server). > > (Our test machine was Windows Server 2003, with SQL Server 2008; I'm > not currently sure the details of the client's network.) > > Has anyone else worked successfully (or otherwise) with ntext fields > over ODBC on Windows? > > TIA, > > Ben > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Wed Jan 12 20:29:06 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 12 Jan 2011 17:29:06 -0800 (PST) Subject: Some thoughts on duck typing In-Reply-To: References: <4D2DBC8E.2020101@fourthworld.com> Message-ID: <1294882146979-3215086.post@n4.nabble.com> Hi David, Recently, in other messages, you mentioned saving stacks as xml and using "git", the distributed revision control system. Now, this thread is about data type checking. Are you developing stacks as xml text files and using Livecode scripts to convert them in binary stacks? Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Some-thoughts-on-duck-typing-tp3213779p3215086.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at tactilemedia.com Wed Jan 12 21:07:18 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 12 Jan 2011 18:07:18 -0800 Subject: Import Snapshot Broken in 4.5.3? Message-ID: Houston, I think we have a problem. This script works in LC (Rev) 4 OS X but generates an error in 4.5.3: import snapshot from rect (rect of the selobj) of the selobj Message execution error: Error description: value: error executing expression Hint: import snapshot from rect (rect of the selobj) of the selobj Other variations also fail, ie: import snapshot from rect (rect of btn 1) of btn 1 Message execution error: Error description: value: error executing expression Hint: import snapshot from rect (rect of btn 1) of btn 1 import snapshot from rect (10,10,100,100) Message execution error: Error description: value: error executing expression Hint: import snapshot from rect (10,10,100,100) Can anybody else confirm this? Is it just me? If not, this seems like a pretty important issue. Regards, Scott Rossi Creative Director Tactile Media, UX Design From martyknapp at comcast.net Wed Jan 12 22:00:10 2011 From: martyknapp at comcast.net (Marty Knapp) Date: Wed, 12 Jan 2011 19:00:10 -0800 Subject: Import Snapshot Broken in 4.5.3? In-Reply-To: References: Message-ID: <4D2E6ABA.5090302@comcast.net> Hey Scott - tried your first script and it works fine for me. (LC 4.5.3 on OSX 10.6.6) Marty Knapp > Houston, I think we have a problem. > > This script works in LC (Rev) 4 OS X but generates an error in 4.5.3: > import snapshot from rect (rect of the selobj) of the selobj > > Message execution error: > Error description: value: error executing expression > Hint: import snapshot from rect (rect of the selobj) of the selobj > > Other variations also fail, ie: > > import snapshot from rect (rect of btn 1) of btn 1 > > Message execution error: > Error description: value: error executing expression > Hint: import snapshot from rect (rect of btn 1) of btn 1 > > > import snapshot from rect (10,10,100,100) > > Message execution error: > Error description: value: error executing expression > Hint: import snapshot from rect (10,10,100,100) > > Can anybody else confirm this? Is it just me? If not, this seems like a > pretty important issue. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design From irog at mac.com Wed Jan 12 22:13:57 2011 From: irog at mac.com (Roger Guay) Date: Wed, 12 Jan 2011 20:13:57 -0700 Subject: Vent! In-Reply-To: References: Message-ID: Hi Folks, The most annoying thing I experience with LiveCode is when stack properties get inadvertently changed after switching from the Pointer tool to the Browse tool and vice versa, whilst the Property Inspector is open. Can anyone suggest a way around this without locking or manually closing the inspector? I would prefer that the inspector automatically close when selecting the Browse tool instead of it reverting to the stack properties. Better yet, I would prefer it to not change and remain focussed on the last control! TIA. Thanks and cheers, Roger Guay From pmbrig at gmail.com Wed Jan 12 22:25:55 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Wed, 12 Jan 2011 22:25:55 -0500 Subject: Layers, revNavigator, & DataGrids In-Reply-To: References: <8A54DDF6-0FD8-4987-87FE-7D45BF5F2022@ahsomme.com> Message-ID: On Jan 12, 2011, at 2:43 PM, Tereza Snyder wrote: > On Jan 12, 2011, at 1:20 PM, Paul Looney wrote: > >> So, two questions: >> 1. Can you recommend something for layering objects in LC 4.5.1 and >> later? > > Chipp?s AltLayerTools does it for me! Is this still available? I can't find it on the Altuit website. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From massung at gmail.com Wed Jan 12 23:57:56 2011 From: massung at gmail.com (Jeff Massung) Date: Wed, 12 Jan 2011 21:57:56 -0700 Subject: Vent! In-Reply-To: References: Message-ID: I know it's a vent/rant, and while LC is completely awesome in -many- I have to completely agree with this... I don't know how many times I've been bitten switching to the pointer tool and think I'm typing something in a field only to change the name of the stack w/o realizing it and cause myself 15+ minutes worth of problems. I'm not sure closing the inspector makes sense, but certainly making it so I can't accidentally screw myself in pointer mode would be nice. ;-) Jeff M. On Wed, Jan 12, 2011 at 8:13 PM, Roger Guay wrote: > Hi Folks, > > The most annoying thing I experience with LiveCode is when stack properties > get inadvertently changed after switching from the Pointer tool to the > Browse tool and vice versa, whilst the Property Inspector is open. Can > anyone suggest a way around this without locking or manually closing the > inspector? I would prefer that the inspector automatically close when > selecting the Browse tool instead of it reverting to the stack properties. > Better yet, I would prefer it to not change and remain focussed on the last > control! TIA. > > From bobcole at earthlink.net Thu Jan 13 00:01:11 2011 From: bobcole at earthlink.net (Bob Cole) Date: Wed, 12 Jan 2011 23:01:11 -0600 Subject: Dictionary Random Picks - now on RevOnline Message-ID: Thanks to Jacque's suggestions, I was able to construct a stack that lets you display a random page from the Dictionary. I just uploaded it to RevOnline as "Dictionary Random Picks." It is a simple stack but there is always room for improvement. Please let me have your thoughts for any changes. Have fun exploring the Dictionary. Bob Message: 4 Date: Mon, 10 Jan 2011 13:26:16 -0600 From: "J. Landman Gay" Subject: Re: Random button for Dictionary On 1/9/11 9:47 PM, Bob Cole wrote: I am often delighted to learn new techniques through this livecode-dev list and the use-livecode list. There are many commands and features of LiveCode the I know well but I think there are numerous capabilities that I simply do not know, yet. In reading these lists, I use the dictionary frequently. There is so much information in it that I sometimes think it would be nice to have a "Random" button in the dictionary's tool bar that will display a random page. It would be a fun way to explore. Alternatively, is the Dictionary a stack (it does not show in the stacksInUse result) or does it have an API so we could create our own Random button? This sounded like a cool idea. It's easy to do. Make a stack with a list field and a button. Load the list field with dictionary entries (you can do this from the message box): put the commandnames &cr & the functionnames &cr& the propertynames into fld 1 That'll get most of the terms I think, except for control structures. In the button: on mouseUp set the hilitedline of fld 1 to random(the number of lines in fld 1) revDocumentationGo (the selectedtext of fld 1) end mouseUp I may use this myself in my copious free time. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Thu Jan 13 01:00:29 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 12 Jan 2011 22:00:29 -0800 Subject: Import Snapshot Broken in 4.5.3? In-Reply-To: <4D2E6ABA.5090302@comcast.net> Message-ID: Marty -- if you would, try running the script from the message box. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Marty Knapp wrote: > Hey Scott - tried your first script and it works fine for me. (LC 4.5.3 > on OSX 10.6.6) > > Marty Knapp >> Houston, I think we have a problem. >> >> This script works in LC (Rev) 4 OS X but generates an error in 4.5.3: >> import snapshot from rect (rect of the selobj) of the selobj >> >> Message execution error: >> Error description: value: error executing expression >> Hint: import snapshot from rect (rect of the selobj) of the selobj >> >> Other variations also fail, ie: >> >> import snapshot from rect (rect of btn 1) of btn 1 >> >> Message execution error: >> Error description: value: error executing expression >> Hint: import snapshot from rect (rect of btn 1) of btn 1 >> >> >> import snapshot from rect (10,10,100,100) >> >> Message execution error: >> Error description: value: error executing expression >> Hint: import snapshot from rect (10,10,100,100) >> >> Can anybody else confirm this? Is it just me? If not, this seems like a >> pretty important issue. From martyknapp at comcast.net Thu Jan 13 01:06:35 2011 From: martyknapp at comcast.net (Marty Knapp) Date: Wed, 12 Jan 2011 22:06:35 -0800 Subject: Import Snapshot Broken in 4.5.3? In-Reply-To: References: Message-ID: <4D2E966B.8020300@comcast.net> Yes - it fails from the message box here, but works if I put it into a button script. Marty > Marty -- if you would, try running the script from the message box. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > Recently, Marty Knapp wrote: > >> Hey Scott - tried your first script and it works fine for me. (LC 4.5.3 >> on OSX 10.6.6) >> >> Marty Knapp > >>> Houston, I think we have a problem. >>> >>> This script works in LC (Rev) 4 OS X but generates an error in 4.5.3: >>> import snapshot from rect (rect of the selobj) of the selobj >>> From scott at tactilemedia.com Thu Jan 13 01:08:26 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 12 Jan 2011 22:08:26 -0800 Subject: Import Snapshot Broken in 4.5.3? In-Reply-To: Message-ID: A bit more on this problem... When I run an "import snapshot..." script from a button placed in a stack, the script works as expected. When I run the script from the message box, LC generates an error. Anybody else see this? LC 4.5.3, OS X 10.6.6, all 3rd party plugins removed. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, I wrote: > Houston, I think we have a problem. > > This script works in LC (Rev) 4 OS X but generates an error in 4.5.3: > import snapshot from rect (rect of the selobj) of the selobj > > Message execution error: > Error description: value: error executing expression > Hint: import snapshot from rect (rect of the selobj) of the selobj > > Other variations also fail, ie: > > import snapshot from rect (rect of btn 1) of btn 1 > > Message execution error: > Error description: value: error executing expression > Hint: import snapshot from rect (rect of btn 1) of btn 1 > > > import snapshot from rect (10,10,100,100) > > Message execution error: > Error description: value: error executing expression > Hint: import snapshot from rect (10,10,100,100) > > Can anybody else confirm this? Is it just me? If not, this seems like a > pretty important issue. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design From martyknapp at comcast.net Thu Jan 13 01:36:12 2011 From: martyknapp at comcast.net (Marty Knapp) Date: Wed, 12 Jan 2011 22:36:12 -0800 Subject: Codesign Error Message-ID: <4D2E9D5C.8060008@comcast.net> This isn't strictly a LiveCode question but maybe someone here can help . . . I'm trying to use the terminal to codesign an app for the Mac app store and I'm getting an "identity not found" error. I have downloaded and installed the WWDR intermediate certificate into KeyChain, created, downloaded and installed the developer certificate into KeyChain. I have also added to the plist file: LSApplicationCategoryType public.app-category.productivity: Productivity I wasn't sure if I was supposed to add the whole category string, so I also tried setting the category to just "Productivity." I have also added the proper CFBundleIdentifier I've Googled the error code "identity not found" and am not coming up with much. Same on the Apple Dev support forum. I can't tell if this is a certificate issue, a plist issue, or "I'm just stupid issue!" Anybody wanna tell me where to go? Thanks, Marty Knapp From gcanyon+rev at gmail.com Thu Jan 13 02:17:19 2011 From: gcanyon+rev at gmail.com (Geoff Canyon Rev) Date: Thu, 13 Jan 2011 01:17:19 -0600 Subject: Layers, revNavigator, & DataGrids In-Reply-To: <8A54DDF6-0FD8-4987-87FE-7D45BF5F2022@ahsomme.com> References: <8A54DDF6-0FD8-4987-87FE-7D45BF5F2022@ahsomme.com> Message-ID: Hi Paul -- I, too, have been limping along with a revNavigator that I can't stop using but which has fallen behind the dev environment in a few areas. I should really talk to the developer and convince him to update that thing... I'll try to find some time this weekend to have a look at the layering code to see what's going wonky. The whole thing needs a re-write in the worst way. I hadn't done much development in Rev for several years, but in the past year I've built three tools critical to my place of employment. If I gave as much attention as I gave to those tools to revNavigator it would be shining your shoes right now. gc On Wed, Jan 12, 2011 at 1:20 PM, Paul Looney wrote: > Fellow Programmers, > For many years I've used the revNavigator plugin to layer objects - to move > objects to any layer, into and out of groups, from one group to another, > etc. > > Somewhere around Rev 3.5 the revNavigator broke. Dragging objects in the > list would only put bookmarks at the top of the list - leaving the selected > object in its original layer. Using the Option key to move objects in groups > (per the instructions) did not help. I am referring to revNavigator 3.0 RC > 1. > > I can open the stack in an older version of Rev, with the older version of > the Navigator and relayering works properly. BUT... > > Having adjusted the object layers in an older version of Rev, the DataGrids > will not work on the stack when it is reopened in LC 4.0 or 4.5.1. All of > the grid objects are there but they have no "intelligence": > 1. setting the dgText of the grid group does nothing - does not produce an > error, using a "try/catch" shows nothing > 2. the columns are the same size but have no column widths in the Columns > tab on the object inspector > 3. "the behavior of group 'DataGrid'" returns empty, not "button id 1005 of > stack "revDataGridLibrary"" > The original grids in the stack are broken. > > I can add new grids and they work properly. BUT... > If I replace the old grids with new ones, I have no way to put them in the > proper layers - short of completely rebuilding a very complex stack. > > So, two questions: > 1. Can you recommend something for layering objects in LC 4.5.1 and later? > 2. Is there a way to fix the broken datagrid described above? > > FYI, LC 4.0 tested on OS X 10.4.11 on a G4 PowerBook and LC 4.5.1 tested on > OS X 10.6.6 on an Intel Mac Mini. > > I really appreciate your help. > 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 rene.micout at numericable.com Thu Jan 13 03:34:53 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Thu, 13 Jan 2011 09:34:53 +0100 Subject: Import Snapshot Broken in 4.5.3? In-Reply-To: References: Message-ID: <3AFB86B6-3737-4088-BAD9-BC2433D6676F@numericable.com> Hello Scott, The same thing here (LC 4.5.2, OS X 10.6.6) with import snapshot, and : export snapshot from rect (rect of the selobj) of the selobj to file "nxFichier" as PNG generate error message : Message execution error: Error description: value: error executing expression Hint: export snapshot from rect (rect of the selobj) of the selobj to file "nxFichier" as PNG Rene(?) Le 13 janv. 2011 ? 07:08, Scott Rossi a ?crit : > A bit more on this problem... > > When I run an "import snapshot..." script from a button placed in a stack, > the script works as expected. When I run the script from the message box, > LC generates an error. > > Anybody else see this? > > LC 4.5.3, OS X 10.6.6, all 3rd party plugins removed. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > Recently, I wrote: > >> Houston, I think we have a problem. >> >> This script works in LC (Rev) 4 OS X but generates an error in 4.5.3: >> import snapshot from rect (rect of the selobj) of the selobj >> >> Message execution error: >> Error description: value: error executing expression >> Hint: import snapshot from rect (rect of the selobj) of the selobj >> >> Other variations also fail, ie: >> >> import snapshot from rect (rect of btn 1) of btn 1 >> >> Message execution error: >> Error description: value: error executing expression >> Hint: import snapshot from rect (rect of btn 1) of btn 1 >> >> >> import snapshot from rect (10,10,100,100) >> >> Message execution error: >> Error description: value: error executing expression >> Hint: import snapshot from rect (10,10,100,100) >> >> Can anybody else confirm this? Is it just me? If not, this seems like a >> pretty important issue. >> >> 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 david at vaudevillecourt.tv Thu Jan 13 07:19:30 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Thu, 13 Jan 2011 12:19:30 +0000 Subject: Some thoughts on duck typing In-Reply-To: <1294882146979-3215086.post@n4.nabble.com> References: <4D2DBC8E.2020101@fourthworld.com> <1294882146979-3215086.post@n4.nabble.com> Message-ID: On 13 January 2011 01:29, Alejandro Tejada wrote: > > Recently, in other messages, you mentioned > saving stacks as xml and using "git", the > distributed revision control system. > Now, this thread is about data type checking. > > Are you developing stacks as xml text files > and using Livecode scripts to convert them > in binary stacks? > Yes - well to be accurate revamping it. I've been storing scripts and staks in CVS / SVN and now GIT for the last 10 years. Originaaly I used a full XML based file structure, but did not need it, so for years I have been storing only the full stacks and the scripts (so I can diff the scripts). With recent changes to to engine so that you can set id properties of objects full text based stack representations are possible. As there are now a number of fairly large open source projects within the community with compatible licenses (revignitor / MetaCard / glxApp framework and GLX script editor), and I have a need to store the full behavior based widget components in a robust way - I'm putting in a bunch of work to release this for the conference. We are starting to cover some of these topics on www.livecode.tv, and also in ChatRev, and there is an open invitation for anyone interested in developing community resources to take part, show work, and contribute code. I'm putting the finishing touches to the file format now. It is not XML based, it is array based with a default text and folder based export format. There is an optional XML version of the format for projects that would want an XML based version. The format is optimised for speed and for utility when working with revision control systems. I'm currently adding (optional) aliases to the format - these are presently used internally in the stack format to store info about shared elements like backgrounds only once. However I want to extend them for globally shared elements, such as standardised view components from other stacks, and standardised handlers from libraries. This will be optional, but allow you to make it easier to maintain re-usable elements under version control that many projects and stack use - that way you can create stub stacks or handlers, and simply by the act of saving and reloading the stacks - they will pull in all the recent widgets and handlers. I hope to be previewing this the next LiveCode TV event - see you there! NB - Alejandro, I want to show and share the code for interfacing with WikiPedia some time. How did you get along with your offline WikiPedia project - maybe we could work together on a presentation - even if it is work-in-progress? From th.douez at sunnyrevtalk.com Thu Jan 13 07:59:52 2011 From: th.douez at sunnyrevtalk.com (Thierry) Date: Thu, 13 Jan 2011 13:59:52 +0100 Subject: Some thoughts on duck typing In-Reply-To: References: <4D2DBC8E.2020101@fourthworld.com> <1294882146979-3215086.post@n4.nabble.com> Message-ID: Le 13 janv. 2011 ? 13:19, David Bovill a ?crit : Hi David, > With recent changes to to engine > so that you can set id properties of objects full text based stack > representations are possible. ? Would be nice if you can elaborate this one, I can't follow you... Since when it was not possible ? Regards, Thierry From curry at pair.com Thu Jan 13 08:07:20 2011 From: curry at pair.com (Curry Kenworthy) Date: Thu, 13 Jan 2011 07:07:20 -0600 Subject: WordReport introductory sale ending In-Reply-To: References: Message-ID: <4D2EF908.2010905@pair.com> The intro sale on the WordReport library will end at midnight CST! (Approx. 17 hours remaining.) Try the demo or purchase here: http://curryk.com/wordreport.html Best wishes, Curry Kenworthy -- WordReport: Template-driven MS Word and OpenOffice reports, from invoices and worksheets to catalogs and mail merge http://curryk.com/wordreport.html From bvg at mac.com Thu Jan 13 08:18:43 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 13 Jan 2011 14:18:43 +0100 Subject: Live LiveCode Code Event #6 Message-ID: <69933438-B2B2-4051-876C-24B72743D7E1@mac.com> Dearest Livers As usual, the bestest grand and mostest exciting new online Event regarding LiveCode takes place on 20:00 CET this Saturday. ChatRev is highly suggested for asking questions and knowing when to switch stream. http://livecode.tv This time around, Mark will introduce you to "Creating your own Edit menu, specifically Copy, Paste, Cut and Clear, and Undo if there is time" David aims to woo people with a shorter presentation then last time, suggesting a topic of "CSS Style Sheets for LiveCode Projects" Other times: Zurich is within CET Buenos Aires: 16:00 New York: 14:00 San Francisco: 11:00 Sydney: 06:00 Vote on the poll for times that have not been voted on much: http://doodle.com/azvfdcvs7ew2imrx Make sure to use ChatRev during the happening, otherwise you might miss when you'll need to change to the other stream: http://bjoernke.com?target=chatrev or: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" If you want to get private, regular notification of this event, please subscribe to the rss feed of the blog (about 2 updates per week): feed://livecode.tv/feed/ Cheers Bjoernke -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From lists at mangomultimedia.com Thu Jan 13 08:21:15 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 13 Jan 2011 08:21:15 -0500 Subject: Layers, revNavigator, & DataGrids In-Reply-To: <8A54DDF6-0FD8-4987-87FE-7D45BF5F2022@ahsomme.com> References: <8A54DDF6-0FD8-4987-87FE-7D45BF5F2022@ahsomme.com> Message-ID: On Wed, Jan 12, 2011 at 2:20 PM, Paul Looney wrote: > Having adjusted the object layers in an older version of Rev, the DataGrids > will not work on the stack when it is reopened in LC 4.0 or 4.5.1. All of > the grid objects are there but they have no "intelligence": You probably opened the stack in a version of LiveCode that didn't support behaviors. When it was saved all of the links between objects contained in a data grid group and their respective behaviors were wiped out. There are a number of behaviors you would need to reset in the data grid. In case you want to try and reassign the behaviors I have included a list of controls and their behaviors. I dropped a data grid on a new stack and ran a script that generated a list of controls in the data grid and the behavior assigned to each one: behavior for group "DataGrid 1": button "Data Grid" of group "Behaviors" of card "card id 1002" of stack "revDataGridLibrary" behavior for button "dgTrackDragDrop" of group "DataGrid 1" of card id 1002 of stack "Untitled 1": button "Track Drag & Drop" of group "Behaviors" of card "card id 1002" of stack "revDataGridLibrary" behavior for group "dgList" of group "dgListMask" of group "DataGrid 1" of card id 1002 of stack "Untitled 1": button "dgList Message Catcher" of group "Behaviors" of card "card id 1002" of stack "revDataGridLibrary" behavior for group "dgDropIndicator" of group "dgListMask" of group "DataGrid 1" of card id 1002 of stack "Untitled 1": button "Drop Indicator" of group "Behaviors" of card "card id 1002" of stack "revDataGridLibrary" behavior for group "dgHeaderMask" of group "dgHeaderComponents" of group "DataGrid 1" of card id 1002 of stack "Untitled 1": button "Header Mask" of group "Behaviors" of card "card id 1002" of stack "revDataGridLibrary" behavior for group "dgHeader" of group "dgHeaderMask" of group "dgHeaderComponents" of group "DataGrid 1" of card id 1002 of stack "Untitled 1": button "Header" of group "Behaviors" of card "card id 1002" of stack "revDataGridLibrary" behavior for scrollbar "dgHScrollbar" of group "dgHorizontalComponents" of group "DataGrid 1" of card id 1002 of stack "Untitled 1": button "Horizontal Scrollbar" of group "Behaviors" of card "card id 1002" of stack "revDataGridLibrary" behavior for scrollbar "dgScrollbar" of group "DataGrid 1" of card id 1002 of stack "Untitled 1": button "Vertical Scrollbar" of group "Behaviors" of card "card id 1002" of stack "revDataGridLibrary" -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com From lists at mangomultimedia.com Thu Jan 13 08:26:41 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 13 Jan 2011 08:26:41 -0500 Subject: Layers, revNavigator, & DataGrids In-Reply-To: <68DCB5E5-36F2-482C-B07B-6D27236241CD@twft.com> References: <8A54DDF6-0FD8-4987-87FE-7D45BF5F2022@ahsomme.com> <68DCB5E5-36F2-482C-B07B-6D27236241CD@twft.com> Message-ID: On Wed, Jan 12, 2011 at 3:03 PM, Bob Sneidar wrote: > Are we sure that Trevor is not a super intelligent albeit benevolent alien > species sent here to hasten mankind's progress to interstellar status? > You wouldn't say such things if you knew how many times I've locked myself out of my house. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com LiveCode Resources for Developers: http://revolution.bluemangolearning.com From coiin at verizon.net Thu Jan 13 08:27:41 2011 From: coiin at verizon.net (Colin Holgate) Date: Thu, 13 Jan 2011 08:27:41 -0500 Subject: Codesign Error In-Reply-To: <4D2E9D5C.8060008@comcast.net> References: <4D2E9D5C.8060008@comcast.net> Message-ID: <152A6562-8047-4340-BCA2-AEB1A156BC61@verizon.net> Here are steps that someone doing a Unity app succeeded with, there may be something in the lines that stands out as being different to what you're doing: Permissions - Change permissions of Unity's Data folder - it has to get read rights for "everyone" chmod -R a+xr "Bubble Bang.app/Contents/Data" Code Signing: codesign -f -s "3rd Party Mac Developer Application: Martin Schultz" "Bubble Bang.app" Build package: productbuild --component "Bubble Bang.app" /Applications --sign "3rd Party Mac Developer Installer: Martin Schultz" --product "Bubble Bang.app/Contents/Info.plist" BubbleBang.pkg Testing: sudo installer -store -pkg "BubbleBang.pkg" -target / From lists at mangomultimedia.com Thu Jan 13 08:41:39 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 13 Jan 2011 08:41:39 -0500 Subject: DataGrid Drag and Drop with Move action In-Reply-To: <659CDA23-81D8-41FE-8269-A890E2EBEF6B@twft.com> References: <659CDA23-81D8-41FE-8269-A890E2EBEF6B@twft.com> Message-ID: On Mon, Jan 10, 2011 at 6:06 PM, Bob Sneidar wrote: > Just thought I'd check to see if there is an easy way to move instead of > copy data from one datagrid to another. I can hack a way I'm sure, but I > figured that: > > set the dragAction to "move" -- instead of copy > There is no built in way to do this. Changing properties of the dragAction only specifies what should be done when the user finishes dragging, it won't actually change any application behavior (besides changing the cursor). -- Trevor DeVore Blue Mango Learning Systems www.bluemangolearning.com - www.screensteps.com From lists at mangomultimedia.com Thu Jan 13 08:38:54 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 13 Jan 2011 08:38:54 -0500 Subject: Accessing 'ntext' fields from SQL Server over ODBC (Windows) In-Reply-To: <4D2DA3B6.1070906@cogapp.com> References: <4D2DA3B6.1070906@cogapp.com> Message-ID: On Wed, Jan 12, 2011 at 7:51 AM, Ben Rubinstein wrote: > > Has anyone else worked successfully (or otherwise) with ntext fields over > ODBC on Windows? > Which ODBC driver are you using? You mentioned the default driver so I assume the "SQL Server" one. Try installing the "SQL Server Native Client 10.0" driver and seeing if that fixes your problem. There is information on the driver and a link to the download page on a lesson in a manual on my company website: http://help.bluemangolearning.com/spaces/screensteps/manuals/screensteps-workgroup/lessons/17300-Creating-ODBC-Connections-on-Windows -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com LiveCode Resources for Developers: http://revolution.bluemangolearning.com From paolo.mazza at neol.it Thu Jan 13 08:49:01 2011 From: paolo.mazza at neol.it (paolo mazza) Date: Thu, 13 Jan 2011 14:49:01 +0100 Subject: Answer dialog and stack background color Message-ID: Hi all, I am working with LiveCode 4.5.3 / Mac and it happened to me something weird. If I set the background color of the stack to black, and then I send an "answer" command, using the IDE I get the standard grey answer dialog window. Fine. But, if I export the stack, and I send an "answer" command from the applications (mac and windows), the answer dialog window I get has a BLACK background color. In other words, the answer dialog windows in the applications are whole black !!! I think this is a bug. How can I fix it ?? All the best Paolo Mazza ****************************************** Paolo Mazza NEOL SRL Societ? partecipata da Universit? di Padova via Redipuglia 22 35131 - Padova (Italy) Tel 049 - 29 53 430 www.neol.it From klaus at major.on-rev.com Thu Jan 13 09:15:34 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 13 Jan 2011 15:15:34 +0100 Subject: Answer dialog and stack background color In-Reply-To: References: Message-ID: Buongiorno Paolo,: > Hi all, > I am working with LiveCode 4.5.3 / Mac and it happened to me something > weird. > > If I set the background color of the stack to black, and then I send an > "answer" command, using the IDE I get the standard grey answer dialog > window. Fine. > > But, if I export the stack, and I send an "answer" command from the > applications (mac and windows), the answer dialog window I get has a BLACK > background color. > > In other words, the answer dialog windows in the applications are whole > black !!! > > I think this is a bug. How can I fix it ?? it looks like a bug, but isn't :-) The Ask and Answer Dialog stacks do not have their background color property set! (Should they???) In the IDE they "inherit" this property from the "home" stack (? not sure) and in a standalone they "inherit" this property from your mainstack, which is black in your case. So you should do something like this: ... set the backgroundcolor of stack "Answer Dialog" to white ## or whatever answer ... ... Same for the ASK dialog. > All the best > > Paolo Mazza Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From mazzapaoloitaly at gmail.com Thu Jan 13 09:36:37 2011 From: mazzapaoloitaly at gmail.com (paolo mazza) Date: Thu, 13 Jan 2011 15:36:37 +0100 Subject: Answer dialog and stack background color In-Reply-To: References: Message-ID: Ok. We can fix it this way. Thank you Klaus. From andre at andregarzia.com Thu Jan 13 10:01:23 2011 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 13 Jan 2011 13:01:23 -0200 Subject: Some thoughts on duck typing In-Reply-To: References: <4D2DBC8E.2020101@fourthworld.com> <1294882146979-3215086.post@n4.nabble.com> Message-ID: On Thu, Jan 13, 2011 at 10:59 AM, Thierry wrote: > > Le 13 janv. 2011 ? 13:19, David Bovill a ?crit : > > > Hi David, > >> With recent changes to to engine >> so that you can set id properties of objects full text based stack >> representations are possible. > > ? > > Would be nice if you can elaborate this one, > I can't follow you... Since when it was not possible ? > till late 4.5.x we could not set ids for all objects by hand. That prevented textual representation of stacks because the restore operation would have different ids assigned by the engine which you could not change. Now you can. > 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 > -- http://www.andregarzia.com All We Do Is Code. From mark.hausmann at jessenlenz.com Thu Jan 13 10:23:29 2011 From: mark.hausmann at jessenlenz.com (mark.hausmann at jessenlenz.com) Date: Thu, 13 Jan 2011 16:23:29 +0100 Subject: =?ISO-8859-1?Q?AUTO=3A_Mark_Hausmann=2Fjl1_ist_au=DFer_Haus=2E_=28?= =?ISO-8859-1?Q?R=FCckkehr_am_14=2E01=2E2011=29?= Message-ID: Ich bin bis 14.01.2011 abwesend Ich werde Ihre Nachricht nach meiner R?ckkehr beantworten. In dringenden F?llen wenden Sie sich bitte an meinen Kollegen Horst Strohkirch, email: horst.strohkirch at pdap.de Hinweis: Dies ist eine automatische Antwort auf Ihre Nachricht "***WG-BULK*** Re: Some thoughts on duck typing" gesendet am 13.01.2011 13:19:30. Diese ist die einzige Benachrichtigung, die Sie empfangen werden, w?hrend diese Person abwesend ist. From th.douez at sunnyrevtalk.com Thu Jan 13 10:33:01 2011 From: th.douez at sunnyrevtalk.com (Thierry) Date: Thu, 13 Jan 2011 16:33:01 +0100 Subject: Some thoughts on duck typing In-Reply-To: References: <4D2DBC8E.2020101@fourthworld.com> <1294882146979-3215086.post@n4.nabble.com> Message-ID: <716FD92F-B093-4B94-ABD7-AA196DCD3C86@sunnyrevtalk.com> Le 13 janv. 2011 ? 16:01, Andre Garzia a ?crit : > till late 4.5.x we could not set ids for all objects by hand. Thanks Andre, I missed this new information... Great ! > That prevented textual representation of stacks because the restore > operation would have different ids assigned by the engine which you > could not change. Now you can. Umm, I've done those kinds of thing even at the Metacard days.... ( was a bit tricky, but it did work ). That's probably why I didn't understand this statement... I'll send you some really nice and smelly good French cheese :) Oups, I'll be in trouble soon... Thierry From davidocoker at gmail.com Thu Jan 13 10:50:47 2011 From: davidocoker at gmail.com (David C.) Date: Thu, 13 Jan 2011 09:50:47 -0600 Subject: Answer dialog and stack background color In-Reply-To: References: Message-ID: ...I never knew we could do that. Very helpful! As the old saying goes... learn something new every day. :) Thanks Klaus! Best regards, David C. From devin_asay at byu.edu Thu Jan 13 10:56:44 2011 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 13 Jan 2011 08:56:44 -0700 Subject: Vent! In-Reply-To: References: Message-ID: On Jan 12, 2011, at 9:57 PM, Jeff Massung wrote: > I know it's a vent/rant, and while LC is completely awesome in -many- I have > to completely agree with this... I don't know how many times I've been > bitten switching to the pointer tool and think I'm typing something in a > field only to change the name of the stack w/o realizing it and cause myself > 15+ minutes worth of problems. > > I'm not sure closing the inspector makes sense, but certainly making it so I > can't accidentally screw myself in pointer mode would be nice. ;-) > > Jeff M. > > On Wed, Jan 12, 2011 at 8:13 PM, Roger Guay wrote: > >> Hi Folks, >> >> The most annoying thing I experience with LiveCode is when stack properties >> get inadvertently changed after switching from the Pointer tool to the >> Browse tool and vice versa, whilst the Property Inspector is open. Can >> anyone suggest a way around this without locking or manually closing the >> inspector? I would prefer that the inspector automatically close when >> selecting the Browse tool instead of it reverting to the stack properties. >> Better yet, I would prefer it to not change and remain focussed on the last >> control! TIA. I agree, it's a problem, especially for new users. But even after 10 years it still rears up and bites me in the backside every once in a while. The results are never pretty. Still, it's a big improvement over early versions of Rev where it seemed I was always renaming stacks and wreaking havoc on my projects. A thought just occurred to me--what if you opened the property inspector for the stack and locked it? Then you could open a second, unlocked property inspector that would be live for other objects, but would not flip to the stack when you went into run mode. I haven't tested it, but it seems like that would at least reduce the likelihood of inadvertently changing stack properties. Regards, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From DunbarX at aol.com Thu Jan 13 11:02:11 2011 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 13 Jan 2011 11:02:11 EST Subject: ID's are settable??? Message-ID: <2c0f2.78944fa2.3a607c03@aol.com> Is it so? You can now set the id of any object, like a button? I tried it, and you can. Did I miss this somewhere? I think this is a terrible new feature, If I am not missing something. What is the point of the altID now, which used to be very cool? Craig Newman From ambassador at fourthworld.com Thu Jan 13 11:02:16 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 13 Jan 2011 08:02:16 -0800 Subject: Some thoughts on duck typing Message-ID: <4D2F2208.9080901@fourthworld.com> Thierry wrote: > Le 13 janv. 2011 ? 16:01, Andre Garzia a ?crit : >> till late 4.5.x we could not set ids for all objects by hand. ... >> That prevented textual representation of stacks because the restore >> operation would have different ids assigned by the engine which you >> could not change. Now you can. > > Umm, I've done those kinds of thing even at the Metacard days.... > ( was a bit tricky, but it did work ). How did you do that for any objects other than images? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From martyknapp at comcast.net Thu Jan 13 11:19:16 2011 From: martyknapp at comcast.net (Marty Knapp) Date: Thu, 13 Jan 2011 08:19:16 -0800 Subject: Codesign Error In-Reply-To: <152A6562-8047-4340-BCA2-AEB1A156BC61@verizon.net> References: <4D2E9D5C.8060008@comcast.net> <152A6562-8047-4340-BCA2-AEB1A156BC61@verizon.net> Message-ID: <4D2F2604.8080703@comcast.net> Hey Colin, My app doesn't have a data folder in the bundle, so it didn't do that step. The codesign command you suggested is exactly what I tried. As that didn't work, I didn't get any further. I need to get to the bottom of what "no identity found" is referring to - I'm assuming that it's either a certificate problem or a plist problem, though that's just a guess on my part. I tried the "Signing Assistant" program that you can download from the Rev newsletter of a few issues ago, in the article, 'LiveCode Apps for the Mac Store" but it isn't working for me either. I assume it's running into the same problem, though it does not appear to have any error reporting. I'm pretty new to using the Terminal and it seems to me that Apple should supply something a bit better for a routine task like this. Or do the codesigning themselves when you upload your app. So I'm stuck at this point. I've sent tech support questions to Apple in the past and I've never gotten a response, so haven't done that with this issue. Marty > Here are steps that someone doing a Unity app succeeded with, there may be something in the lines that stands out as being different to what you're doing: > > Permissions - Change permissions of Unity's Data folder - it has to get read rights for "everyone" > chmod -R a+xr "Bubble Bang.app/Contents/Data" > > Code Signing: > codesign -f -s "3rd Party Mac Developer Application: Martin Schultz" "Bubble Bang.app" > > Build package: > productbuild --component "Bubble Bang.app" /Applications --sign "3rd Party Mac Developer Installer: Martin Schultz" --product "Bubble Bang.app/Contents/Info.plist" BubbleBang.pkg > > Testing: > sudo installer -store -pkg "BubbleBang.pkg" -target / > From ambassador at fourthworld.com Thu Jan 13 11:21:37 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 13 Jan 2011 08:21:37 -0800 Subject: ID's are settable??? Message-ID: <4D2F2691.9050304@fourthworld.com> DunbarX wrote: > Is it so? You can now set the id of any object, like a button? Yep. > I tried it, and you can. Did I miss this somewhere? I believe it's in the Engine Change log, but comes with a caveat that it was added specifically to facilitate translating stacks to and from a textual format and any other use is unsupported and at your own risk. Given the power to completely muck up your work with ID conflicts, the caveat is understandable. > I think this is a terrible new feature, If I am not missing something. What > is the point of the altID now, which used to be very cool? The altID property was first implemented for importing SuperCard projects, for the benefit of those scripts that refer to objects by their ID. Back then Dr. Raney took a dim view of user-settable IDs, recognizing it as handing the scripter a gun and a map to one's foot. ;) That said, for the careful developer the ability to set IDs is a wonderful thing, and for the most part now obviates any need for altID. Side note: among the other caveats wisely applied with setting IDs, you'll want to be aware of the ID limit currently in LiveCode, which is a little over 2 billion. IDs begin by default at 1002 for the card, with any new object getting 1003 and so on. The stack ID has the unique role of being used only as the storage for the highest ID currently in use; you can expect it to change as you add new objects. Since IDs begin with 1002 it seems unlikely that anyone will ever exceed the 2 billion limit, but consider the DataGrid and other such things that may create and dispose of hundreds of objects at a time. Such things may over the course of several years raise the ID incrementer beyond 2 billion, sooner if you set the ID to a very high number manually. In testing out what happens when the ID limit is reached, I found a curious thing: you can continue to create new objects, but once their IDs pass the limit they will no longer respond to the pointer tool, and may eventually make a stack unopenable. The good news is that the workaround is relatively simple: if you see a stack moving its IDs toward the limit, you can make a new stack and copy the objects from the old one to the new one, effectively resetting their IDs to start at 1002 again. It might be nice to have the ID limit raised, or to find some method to roll over and reuse unused IDs, but I recognize these options would be costly to implement and indeed it's a rare case where one would need to be concerned about it anyway. But that said, I have one project which uses two data grids and a custom control comprised of a few hundred objects which is rebuilt dynamically with certain user actions. In that project the IDs are currently over 2 million. The good news is that the stack is never saved when running in the standalone (the data is stored separately from the UI), so the IDs only increment in development. Still, I can expect that during the life cycle of the project we will need to do the copy-and-paste to reset the IDs. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From chipp at chipp.com Thu Jan 13 11:25:28 2011 From: chipp at chipp.com (Chipp Walters) Date: Thu, 13 Jan 2011 10:25:28 -0600 Subject: Layers, revNavigator, & DataGrids In-Reply-To: References: <8A54DDF6-0FD8-4987-87FE-7D45BF5F2022@ahsomme.com> Message-ID: AltLayerTools http://www.gadgetplugins.com/altplugins/altLayerTools.rev It keeps you from moving objects in and out of groups. It only move groups around. just put in msg box: go URL "http://www.gadgetplugins.com/altplugins/altLayerTools.rev" then save to plugins. I use with my toolbar palette. here's another which is most helpful: AltGroupMgr http://www.gadgetplugins.com/altplugins/altGroupMgr.txt It does a great job of placing and removing groups on different cards. Both use ZERO frontscripts in favor of a 'refresh button,' mostly for robustness and lack of conflict with some of my other frontscripts. I really need to create a single frontscript library which manages everything. C'est la vie. On Wed, Jan 12, 2011 at 9:25 PM, Peter Brigham MD wrote: > On Jan 12, 2011, at 2:43 PM, Tereza Snyder wrote: > > On Jan 12, 2011, at 1:20 PM, Paul Looney wrote: >> >> So, two questions: >>> 1. Can you recommend something for layering objects in LC 4.5.1 and >>> later? >>> >> >> Chipp?s AltLayerTools does it for me! >> > > Is this still available? I can't find it on the Altuit website. > > -- 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 > -- Chipp Walters CEO, Shafer Walters Group, Inc. From david at vaudevillecourt.tv Thu Jan 13 12:12:19 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Thu, 13 Jan 2011 17:12:19 +0000 Subject: ID's are settable??? In-Reply-To: <4D2F2691.9050304@fourthworld.com> References: <4D2F2691.9050304@fourthworld.com> Message-ID: Richard - what happens in your test if you reset the ids of objects - can you reset the stack ID and hence that of all newly created objects by some combination of setting all the obects say back to their fressh id status? That is is the stack id not automatically created as the incremental increase of the biggest real id - and not stored as a prop? If so it should work to reset the ids back to 1002++ with or without resetting the stack id? On 13 January 2011 16:21, Richard Gaskin wrote: > The good news is that the workaround is relatively simple: if you see a > stack moving its IDs toward the limit, you can make a new stack and copy the > objects from the old one to the new one, effectively resetting their IDs to > start at 1002 again. > > It might be nice to have the ID limit raised, or to find some method to > roll over and reuse unused IDs, but I recognize these options would be > costly to implement and indeed it's a rare case where one would need to be > concerned about it anyway. > > But that said, I have one project which uses two data grids and a custom > control comprised of a few hundred objects which is rebuilt dynamically with > certain user actions. In that project the IDs are currently over 2 million. > The good news is that the stack is never saved when running in the > standalone (the data is stored separately from the UI), so the IDs only > increment in development. Still, I can expect that during the life cycle of > the project we will need to do the copy-and-paste to reset the IDs. > From JRARICK at hpsk12.net Thu Jan 13 12:18:50 2011 From: JRARICK at hpsk12.net (JACK RARICK) Date: Thu, 13 Jan 2011 12:18:50 -0500 Subject: data transfer with webDAV In-Reply-To: References: <4D288DB7.809@gmail.com> <4D289394.5000607@gmail.com> <4D289A77.4050700@gmail.com> Message-ID: Hi all! I am writing a program that moves data (TEXT FILES) across the 'net - usually from schools. Most of these schools have pretty restrictive firewalls. I am able to use webDAV - but am totally confused on the correct line/lines of code to use to send data out and get data back. I would have liked to use FTP ... but alas, I can't get through. Any help, ideas, places to look would be greatly appreciated. Jack Rarick Freshmen Center - Holt Public Schools Earth Science Technology Coodinator Varsity Men's Track & Field Varsity Football - Offensive Line Coach, Peanut Butter Coordinator From bobs at twft.com Thu Jan 13 12:39:39 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 13 Jan 2011 09:39:39 -0800 Subject: Layers, revNavigator, & DataGrids In-Reply-To: References: <8A54DDF6-0FD8-4987-87FE-7D45BF5F2022@ahsomme.com> <68DCB5E5-36F2-482C-B07B-6D27236241CD@twft.com> Message-ID: <747589FC-F29C-4CDF-B59D-A55F3158AEC8@twft.com> That's exactly what a super intelligent albeit benevolent alien would say! Bob On Jan 13, 2011, at 5:26 AM, Trevor DeVore wrote: > On Wed, Jan 12, 2011 at 3:03 PM, Bob Sneidar wrote: > >> Are we sure that Trevor is not a super intelligent albeit benevolent alien >> species sent here to hasten mankind's progress to interstellar status? >> > > You wouldn't say such things if you knew how many times I've locked myself > out of my house. > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > LiveCode Resources for Developers: http://revolution.bluemangolearning.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Jan 13 12:44:46 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 13 Jan 2011 09:44:46 -0800 Subject: ID's are settable??? In-Reply-To: References: <4D2F2691.9050304@fourthworld.com> Message-ID: I recall in a thread a while back someone was trying to set the stack ID and was having trouble. I think the engine reverts it. Bob On Jan 13, 2011, at 9:12 AM, David Bovill wrote: > Richard - what happens in your test if you reset the ids of objects - can > you reset the stack ID and hence that of all newly created objects by some > combination of setting all the obects say back to their fressh id status? > > That is is the stack id not automatically created as the incremental > increase of the biggest real id - and not stored as a prop? If so it should > work to reset the ids back to 1002++ with or without resetting the stack id? > > On 13 January 2011 16:21, Richard Gaskin wrote: > >> The good news is that the workaround is relatively simple: if you see a >> stack moving its IDs toward the limit, you can make a new stack and copy the >> objects from the old one to the new one, effectively resetting their IDs to >> start at 1002 again. >> >> It might be nice to have the ID limit raised, or to find some method to >> roll over and reuse unused IDs, but I recognize these options would be >> costly to implement and indeed it's a rare case where one would need to be >> concerned about it anyway. >> >> But that said, I have one project which uses two data grids and a custom >> control comprised of a few hundred objects which is rebuilt dynamically with >> certain user actions. In that project the IDs are currently over 2 million. >> The good news is that the stack is never saved when running in the >> standalone (the data is stored separately from the UI), so the IDs only >> increment in development. Still, I can expect that during the life cycle of >> the project we will need to do the copy-and-paste to reset the IDs. >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 13 12:46:57 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 13 Jan 2011 09:46:57 -0800 Subject: ID's are settable??? Message-ID: <4D2F3A91.3030701@fourthworld.com> David Bovill wrote: > Richard - what happens in your test if you reset the ids of objects - can > you reset the stack ID and hence that of all newly created objects by some > combination of setting all the obects say back to their fressh id status? > > That is is the stack id not automatically created as the incremental > increase of the biggest real id - and not stored as a prop? If so it should > work to reset the ids back to 1002++ with or without resetting the stack id? Apparently you can set the ID of a stack to a higher number than it currently is, but attempting to set it to a lower number will generate an error stating "invalid id (must be greater than current id)". This is reasonable to expect given the stack's unique role as the arbiter of IDs: as long as there's no internal list of all IDs currently in use (and given the compact size of stack files I certainly don't mind that there isn't), if you could set the stack ID lower you would risk creating a new object whose ID would conflict with an existing one. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From DunbarX at aol.com Thu Jan 13 13:02:11 2011 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 13 Jan 2011 13:02:11 EST Subject: ID's are settable??? Message-ID: <34c22.76ead24f.3a609823@aol.com> Richard. So the id of a new object is indexed from the current stack ID. I thought (for no reason at all) it was the other way around, that the stack took on the id of a new object. I guess this way is more compact; the stack id property is the id counter. Anyway, I will just do what I always did, never think about setting an id, and the issue (feature?) goes away. I use altID's, and they can continue to do their thing. Craig In a message dated 1/13/11 12:50:47 PM, ambassador at fourthworld.com writes: > This is reasonable to expect given the stack's unique role as the > arbiter of IDs:? as long as there's no internal list of all IDs > currently in use (and given the compact size of stack files I certainly > don't mind that there isn't), if you could set the stack ID lower you > would risk creating a new object whose ID would conflict with an > existing one. > From pete at mollysrevenge.com Thu Jan 13 13:15:33 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 13 Jan 2011 10:15:33 -0800 Subject: Vent! In-Reply-To: References: Message-ID: <18BE586E-404E-49A9-BCED-2D54C96946B6@mollysrevenge.com> Livecode is a great tool but the IDE is full of user interface weirdnesses as far as I'm concerned. There are three different Find/Replace dialogs and you're never sure which one will pop up when you press command-F. The File menu contents are completely different depending on which window is active. The message box appears and disappears at what seem to be completely random intervals. How nice would it be to have an Application Browser option to list stacks, not cards, in alphabetical order. You get used to all that stuff over time but it can be a nightmare for new users (at least it was for me). Pete Haworth On Jan 12, 2011, at 7:13 PM, Roger Guay wrote: > Hi Folks, > > The most annoying thing I experience with LiveCode is when stack properties get inadvertently changed after switching from the Pointer tool to the Browse tool and vice versa, whilst the Property Inspector is open. Can anyone suggest a way around this without locking or manually closing the inspector? I would prefer that the inspector automatically close when selecting the Browse tool instead of it reverting to the stack properties. Better yet, I would prefer it to not change and remain focussed on the last control! TIA. > > Thanks and cheers, > Roger Guay > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 13 13:26:40 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 13 Jan 2011 10:26:40 -0800 Subject: ID's are settable??? Message-ID: <4D2F43E0.7060508@fourthworld.com> DunbarX wrote: > So the id of a new object is indexed from the current stack ID. I thought > (for no reason at all) it was the other way around, that the stack took on > the id of a new object. I guess this way is more compact; the stack id > property is the id counter. Unless I misunderstand, I think the difference is semantic/philosophical. Whether the stack ID is incremented before an object is created, or whether it's after, I don't know. I just know that by the time we have any way to know, both are in synch, and as you say the stack ID is the ID counter. > Anyway, I will just do what I always did, never think about setting an id, > and the issue (feature?) goes away. I use altID's, and they can continue to > do their thing. They continue to work, AFAIK, but have similar limitations in range so it may be useful to keep that in mind if you create and delete many objects at a time. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From revdev at pdslabs.net Thu Jan 13 13:38:35 2011 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 13 Jan 2011 10:38:35 -0800 Subject: data transfer with webDAV In-Reply-To: References: <4D288DB7.809@gmail.com> <4D289394.5000607@gmail.com> <4D289A77.4050700@gmail.com> Message-ID: <4D2F46AB.3000204@pdslabs.net> Hi Jack, On Mac or Windows, you can navigate to files on a mounted WebDAV server like you would to a file on any other mounted volume (e.g. external HD). answer file "Pick a file:" if it = empty then exit to top put it into fld "pickedFileName" If you do this once, then you'll see the path as LC sees it and can move forward from there. On Mac, mounted webDAV servers are listed in "the volumes" and can be treated like any other mounted drive. On Windows 7 (after you have modified registry settings so it lets you use webDAV servers), webDAV server names don't show up in "the volumes" as far as I can tell. But you can access files on a mounted webDAV server by using the file's UNC path, like this (after LC converts the slashes): //projects.myserver.com/DavWWWRoot/MountedVolumeName/MyFolder/MyFile.pdf I forget exactly how webDAV access works on earlier Windows versions, but it's all doable. (Digging around...) Here's the step-by-step I set up for the customers of one client - use at your own risk, but I've never received a trouble report on it: http://projects.nweta.com/ Maybe these hints will get you started. Phil Davis On 1/13/11 9:18 AM, JACK RARICK wrote: > Hi all! > > I am writing a program that moves data (TEXT FILES) across the 'net - usually from schools. Most of these schools have pretty restrictive firewalls. I am able to use webDAV - but am totally confused on the correct line/lines of code to use to send data out and get data back. > > I would have liked to use FTP ... but alas, I can't get through. > > Any help, ideas, places to look would be greatly appreciated. > > > Jack Rarick > Freshmen Center - Holt Public Schools > Earth Science > Technology Coodinator > Varsity Men's Track& Field > Varsity Football - Offensive Line Coach, Peanut Butter Coordinator > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From pmbrig at gmail.com Thu Jan 13 13:43:25 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Thu, 13 Jan 2011 13:43:25 -0500 Subject: Layers, revNavigator, & DataGrids In-Reply-To: References: <8A54DDF6-0FD8-4987-87FE-7D45BF5F2022@ahsomme.com> Message-ID: On Jan 13, 2011, at 11:25 AM, Chipp Walters wrote: > AltLayerTools > http://www.gadgetplugins.com/altplugins/altLayerTools.rev > It keeps you from moving objects in and out of groups. It only move > groups > around. > > just put in msg box: > go URL "http://www.gadgetplugins.com/altplugins/altLayerTools.rev" > then save to plugins. I use with my toolbar palette. > > here's another which is most helpful: > AltGroupMgr > http://www.gadgetplugins.com/altplugins/altGroupMgr.txt > > It does a great job of placing and removing groups on different cards. > > Both use ZERO frontscripts in favor of a 'refresh button,' mostly for > robustness and lack of conflict with some of my other frontscripts. > I really > need to create a single frontscript library which manages > everything. C'est > la vie. But no replacement for the really great ability that revNavigator used to have, of moving a control (or a group) in or out of a group? That's what I miss! Geoff Canyon, can you convince that developer of yours to do something about this...? :-) -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pmbrig at gmail.com Thu Jan 13 13:50:04 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Thu, 13 Jan 2011 13:50:04 -0500 Subject: Import Snapshot Broken in 4.5.3? In-Reply-To: References: Message-ID: <07831CB1-9F27-49D5-A585-4F876BC20B24@gmail.com> On Jan 12, 2011, at 9:07 PM, Scott Rossi wrote: > Houston, I think we have a problem. > > This script works in LC (Rev) 4 OS X but generates an error in 4.5.3: > import snapshot from rect (rect of the selobj) of the selobj > > Message execution error: > Error description: value: error executing expression > Hint: import snapshot from rect (rect of the selobj) of the selobj I must be missing something: the the syntax "rect of the selobj" seems to be what you would use for a LC property. If selobj is a variable then this would not be expected to work, and if it's a customprop then it should be "rect of the selobj of this stack" or some such. If on the other hand selobj contains a long id then shouldn't you use "rect of selobj" ? As it stands now, this is new syntax to me.... -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From support at ahsomme.com Thu Jan 13 13:53:48 2011 From: support at ahsomme.com (Paul Looney) Date: Thu, 13 Jan 2011 10:53:48 -0800 Subject: Slug saves the day. Was Layers, revNavigator, & DataGrids Message-ID: <7F00B37B-AD24-4B1C-AD1E-8369C9BC8A83@ahsomme.com> Thank you all! To summarize since yesterday morning: Question #1 I asked "Can you recommend something for layering objects in LC 4.5.1 and later?" Tereza suggested using Chipp's altLayer Tool and showed me where to find it (I had the same problem that Bob and Phil had locating it). I emailed Chipp to arrange payment; he replied that it was free!?! Unfortunately, while this utility moves objects within groups, it does not move them into, out of, or between groups - which is what I need (more on that in a moment). I do appreciate Chipp's (typical) generosity regarding this and would like to note that we use his Magic Carpet for every change in any of our programs - often many times a day. Geoff confirmed that the problems with the current revNavigator were not my imagination. So it appears that there is no way to adjust layers into, out of, or between groups in the LC world today. Why do I care? My major use of LC is for the Ahsomme Business System. It does order processing, accounting, purchasing, inventory control, job costing, machine-loading, employee scheduling, material requirement planning, etc. It is complex; there are over 20 databases, over 50 standard report templates (plus a report maker), and more than 50 auxillary programs. Some of these individual programs are also complex; the Orders Editor, for example, has 144 buttons and 436 fields (not counting objects in datagrid groups). Right now I am working on a Production Status program for a company in New Zealand. This program uses multiple datagrids. There is a grid for pending orders, a grid showing the orders selected to be put in process, grids for materials required to support production, a grid comparing required material to uncommitted materials on hand and purchased materials due in, and several more. Obviously it is not possible to display everything on the screen at the same time. So, we hide and show groups - a lot. Usually these groups will contain one or more datagrids, plus additional fields or buttons. It is critical to have the ability to quickly and easily move newly created objects into the proper group. revNavigator did this perfectly, I can not begin to say how grateful I am to have had it! Quoting Peter: Geoff Canyon, can you convince that developer of yours to do something about this...? :-) Question #2 I asked "Is there a way to fix the broken datagrid?" I had already concluded that the grid was broken because the behavior of the grid was no longer linked - as the Slug and Trevor suggested. I had tried: set the behavior of grp "myDataGrid" to button id 1005 of stack revDataGridLibrary which did nothing, not even an error. I had also tried: set the behavior of grp "myDataGrid" to button id 1005 of stack & quote & "revDataGridLibrary" & quote which gave a binary error. The Slug's recipe: set the behavior of grp "myDataGrid" to "button id 1005 of stack " & quote & "revDataGridLibrary" & quote worked. With that fix the grid started displaying the text from dgText. This also reverted other properties to their defaults, for example, before the fix the columns were their original and proper width but the columnWidth properties were empty; after the fix the columnWidth properties (and the columns themselves) were all "100". This is actually a minor problem for us and we can easily make manual repairs to these properties. Trevor's list of Behaviors will help us reset all of default links without completely rebuilding the stack (an unimaginable exercise). Thank you all. Paul Looney From irog at mac.com Thu Jan 13 13:56:42 2011 From: irog at mac.com (Roger Guay) Date: Thu, 13 Jan 2011 11:56:42 -0700 Subject: Vent! In-Reply-To: References: Message-ID: <080A7FD6-2481-4A04-A5BB-518136D378B3@mac.com> On Jan 13, 2011, at 11:00 AM, use-livecode-request at lists.runrev.com wrote: > Message: 12 > Date: Thu, 13 Jan 2011 08:56:44 -0700 > From: Devin Asay > To: How to use LiveCode > Subject: Re: Vent! > Message-ID: > Content-Type: text/plain; charset="us-ascii" > > On Jan 12, 2011, at 9:57 PM, Jeff Massung wrote: > >> I know it's a vent/rant, and while LC is completely awesome in -many- I have >> to completely agree with this... I don't know how many times I've been >> bitten switching to the pointer tool and think I'm typing something in a >> field only to change the name of the stack w/o realizing it and cause myself >> 15+ minutes worth of problems. >> >> I'm not sure closing the inspector makes sense, but certainly making it so I >> can't accidentally screw myself in pointer mode would be nice. ;-) >> >> Jeff M. >> >> On Wed, Jan 12, 2011 at 8:13 PM, Roger Guay wrote: >> >>> Hi Folks, >>> >>> The most annoying thing I experience with LiveCode is when stack properties >>> get inadvertently changed after switching from the Pointer tool to the >>> Browse tool and vice versa, whilst the Property Inspector is open. Can >>> anyone suggest a way around this without locking or manually closing the >>> inspector? I would prefer that the inspector automatically close when >>> selecting the Browse tool instead of it reverting to the stack properties. >>> Better yet, I would prefer it to not change and remain focussed on the last >>> control! TIA. > > I agree, it's a problem, especially for new users. But even after 10 years it still rears up and bites me in the backside every once in a while. The results are never pretty. Still, it's a big improvement over early versions of Rev where it seemed I was always renaming stacks and wreaking havoc on my projects. > > A thought just occurred to me--what if you opened the property inspector for the stack and locked it? Then you could open a second, unlocked property inspector that would be live for other objects, but would not flip to the stack when you went into run mode. I haven't tested it, but it seems like that would at least reduce the likelihood of inadvertently changing stack properties. > > Regards, > > Devin > > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University Good thought, Devin. Unfortunately it doesn't work. The inadvertent name change is still made to the stake, and the Inspector reads "Another inspector is operating on this object". BTW, I have determined that this problem always occurs if I use the CommandKey+9 keys to go to the Browse tool when the Pointer tool is over the Inspector. Do you think I could train myself to not do that? Not gonna happen!! Thanks and cheers, Roger From pete at mollysrevenge.com Thu Jan 13 14:04:01 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 13 Jan 2011 11:04:01 -0800 Subject: Slug saves the day. Was Layers, revNavigator, & DataGrids In-Reply-To: <7F00B37B-AD24-4B1C-AD1E-8369C9BC8A83@ahsomme.com> References: <7F00B37B-AD24-4B1C-AD1E-8369C9BC8A83@ahsomme.com> Message-ID: <2FFACA9E-28D7-4C95-9876-4F06607BAE16@mollysrevenge.com> I second this! My ap uses extensive use of groups, often nested within each other and it is anight mare to move controls in and out of them. Pete Haworth -------------- next part -------------- http://www.mollysrevenge.com http://www.sonicbids.com/MollysRevenge http://www.myspace.com/mollysrevengeband On Jan 13, 2011, at 10:53 AM, Paul Looney wrote: > It is critical to have the ability to quickly and easily move newly created objects into the proper group. revNavigator did this perfectly, I can not begin to say how grateful I am to have had it! > > Quoting Peter: Geoff Canyon, can you convince that developer of yours to do something about this...? :-) From simplsol at aol.com Thu Jan 13 14:14:36 2011 From: simplsol at aol.com (Paul Looney) Date: Thu, 13 Jan 2011 11:14:36 -0800 Subject: Vent! In-Reply-To: <18BE586E-404E-49A9-BCED-2D54C96946B6@mollysrevenge.com> References: <18BE586E-404E-49A9-BCED-2D54C96946B6@mollysrevenge.com> Message-ID: And Peter, Let's not forget: You click a down arrow to make objects move up. You click an up arrow to make objects move down. You click an up arrow to make objects move right. You click an up arrow to make objects wider. You adjust the type size on the last panel but you adjust the leading on the first panel. The IDE is long overdue for an extensive overhaul. I hope this will be done BEFORE the next re-branding. Paul Looney On Jan 13, 2011, at 10:15 AM, Peter Haworth wrote: > Livecode is a great tool but the IDE is full of user interface > weirdnesses as far as I'm concerned. There are three different > Find/Replace dialogs and you're never sure which one will pop up > when you press command-F. The File menu contents are completely > different depending on which window is active. The message box > appears and disappears at what seem to be completely random > intervals. How nice would it be to have an Application Browser > option to list stacks, not cards, in alphabetical order. > > You get used to all that stuff over time but it can be a nightmare > for new users (at least it was for me). > > Pete Haworth From scott at tactilemedia.com Thu Jan 13 14:25:30 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 13 Jan 2011 11:25:30 -0800 Subject: Import Snapshot Broken in 4.5.3? In-Reply-To: <07831CB1-9F27-49D5-A585-4F876BC20B24@gmail.com> Message-ID: Hi Peter: "the selObj" is short for "the selectedObject". It returns the long id of whatever object is selected. Like other LC functions, you must either use the form "the xyz" or "xyz()". In this case, both "the selObj" and "selObj()" are the correct forms. I found that the script works as expected when run from a control on the current card, but fails when run from the message box, so it seems something has broken in recent versions of the message box's script processing. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Peter Brigham MD wrote: > On Jan 12, 2011, at 9:07 PM, Scott Rossi wrote: > >> Houston, I think we have a problem. >> >> This script works in LC (Rev) 4 OS X but generates an error in 4.5.3: >> import snapshot from rect (rect of the selobj) of the selobj >> >> Message execution error: >> Error description: value: error executing expression >> Hint: import snapshot from rect (rect of the selobj) of the selobj > > I must be missing something: the the syntax "rect of the selobj" seems > to be what you would use for a LC property. If selobj is a variable > then this would not be expected to work, and if it's a customprop then > it should be "rect of the selobj of this stack" or some such. If on > the other hand selobj contains a long id then shouldn't you use "rect > of selobj" ? As it stands now, this is new syntax to me.... > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig From bobs at twft.com Thu Jan 13 14:44:53 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 13 Jan 2011 11:44:53 -0800 Subject: ID's are settable??? In-Reply-To: <4D2F3A91.3030701@fourthworld.com> References: <4D2F3A91.3030701@fourthworld.com> Message-ID: <981C815F-F2E7-4B48-A0C2-A30DC775DF2C@twft.com> My personal opinion is that this is a bit of a kludge. Stacks should have their own unique ID like any other object, and internal objects should have their own unique ID inside each stack. The ID should be read only. If users want their own ID system, the AltID was a perfect solution for that. The ID counter could have been implemented as some kind of read only property of the stack. But that is all water under the bridge now. Bob On Jan 13, 2011, at 9:46 AM, Richard Gaskin wrote: > Apparently you can set the ID of a stack to a higher number than it currently is, but attempting to set it to a lower number will generate an error stating "invalid id (must be greater than current id)". > > This is reasonable to expect given the stack's unique role as the arbiter of IDs: as long as there's no internal list of all IDs currently in use (and given the compact size of stack files I certainly don't mind that there isn't), if you could set the stack ID lower you would risk creating a new object whose ID would conflict with an existing one. From bobs at twft.com Thu Jan 13 14:47:31 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 13 Jan 2011 11:47:31 -0800 Subject: ID's are settable??? In-Reply-To: <4D2F43E0.7060508@fourthworld.com> References: <4D2F43E0.7060508@fourthworld.com> Message-ID: Not really imho. The engine looks at the stack ID, creates a new object, gives it that ID then increments the stack ID. Otherwise it would be like arguing whether an increase in the bank balance caused a deposit, or the deposit changed the bank balance. :-) (GOD I love analogies!) Bob On Jan 13, 2011, at 10:26 AM, Richard Gaskin wrote: > Unless I misunderstand, I think the difference is semantic/philosophical. From bobs at twft.com Thu Jan 13 14:58:21 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 13 Jan 2011 11:58:21 -0800 Subject: Vent! In-Reply-To: <18BE586E-404E-49A9-BCED-2D54C96946B6@mollysrevenge.com> References: <18BE586E-404E-49A9-BCED-2D54C96946B6@mollysrevenge.com> Message-ID: <20933906-53FE-494E-9F4E-DE488939C5CC@twft.com> I personally find the property inspector a bit annoying too. GLX2 had a pretty good property inspector, and Remo has a way to insert basic properties into the script of the object. Really nice! And you can add other properties by typing in the name using the same syntax as the other ones. All that said, I get the way the default property inspector works. I would find it exceptionally tedious to have to double click an object and get a fresh property inspector and then navigate to the particular tab each time I wanted to change something like the font! It works like the Adobe Property Panels or the Microsoft Property Panels work. It reflects the object(s) you currently have selected. For me, this is vastly superior as the tab does not revert simply because you selected another object. To each his own. Bob On Jan 13, 2011, at 10:15 AM, Peter Haworth wrote: > Livecode is a great tool but the IDE is full of user interface weirdnesses as far as I'm concerned. There are three different Find/Replace dialogs and you're never sure which one will pop up when you press command-F. The File menu contents are completely different depending on which window is active. The message box appears and disappears at what seem to be completely random intervals. How nice would it be to have an Application Browser option to list stacks, not cards, in alphabetical order. > > You get used to all that stuff over time but it can be a nightmare for new users (at least it was for me). > > Pete Haworth > > On Jan 12, 2011, at 7:13 PM, Roger Guay wrote: > >> Hi Folks, >> >> The most annoying thing I experience with LiveCode is when stack properties get inadvertently changed after switching from the Pointer tool to the Browse tool and vice versa, whilst the Property Inspector is open. Can anyone suggest a way around this without locking or manually closing the inspector? I would prefer that the inspector automatically close when selecting the Browse tool instead of it reverting to the stack properties. Better yet, I would prefer it to not change and remain focussed on the last control! TIA. >> >> Thanks and cheers, >> Roger Guay >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 13 15:02:05 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 13 Jan 2011 12:02:05 -0800 Subject: Vent! In-Reply-To: <18BE586E-404E-49A9-BCED-2D54C96946B6@mollysrevenge.com> References: <18BE586E-404E-49A9-BCED-2D54C96946B6@mollysrevenge.com> Message-ID: <8BA8CBBB-6AFA-4167-BD95-1EC3E9E6A60B@twft.com> I'll be daggummed. I checked the short name of one of my stacks, and it was Datagrid 1! LOL! Apparently I was bitten in the butt by this same anomaly. Too funny. Bob > I personally find the property inspector a bit annoying too. GLX2 had a pretty good property inspector, and Remo has a way to insert basic properties into the script of the object. Really nice! And you can add other properties by typing in the name using the same syntax as the other ones. > > All that said, I get the way the default property inspector works. I would find it exceptionally tedious to have to double click an object and get a fresh property inspector and then navigate to the particular tab each time I wanted to change something like the font! It works like the Adobe Property Panels or the Microsoft Property Panels work. It reflects the object(s) you currently have selected. For me, this is vastly superior as the tab does not revert simply because you selected another object. > > To each his own. > > Bob > From lists at mangomultimedia.com Thu Jan 13 15:03:19 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 13 Jan 2011 15:03:19 -0500 Subject: Slug saves the day. Was Layers, revNavigator, & DataGrids In-Reply-To: <7F00B37B-AD24-4B1C-AD1E-8369C9BC8A83@ahsomme.com> References: <7F00B37B-AD24-4B1C-AD1E-8369C9BC8A83@ahsomme.com> Message-ID: On Thu, Jan 13, 2011 at 1:53 PM, Paul Looney wrote: > > So it appears that there is no way to adjust layers into, out of, or > between groups in the LC world today. > There may not be a tool but I have a stack on revOnline that has handlers for reordering into, out of or between groups. You probably want a tool but just in case here is where you can find the handlers. 1) Download the stack at this url: http://revonline2.runrev.com/stack/299/Relayer-Selected-Control 2) Look at the stack script. Here are the handlers you will find. Perhaps they will help. MoveControlAfterControl MoveControlBeforeControl MoveControlToBeginningOfGroup MoveControlToBeginningOfParent MoveControlToEndOfGroup MoveControlToEndOfParent MoveControlTowardsBackOfParent MoveControlTowardsBeginningOfParent -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com LiveCode Resources for Developers: http://livecode.bluemangolearning.com From niggemann at uni-wh.de Thu Jan 13 15:11:37 2011 From: niggemann at uni-wh.de (BNig) Date: Thu, 13 Jan 2011 12:11:37 -0800 (PST) Subject: Slug saves the day. Was Layers, revNavigator, & DataGrids In-Reply-To: <7F00B37B-AD24-4B1C-AD1E-8369C9BC8A83@ahsomme.com> References: <7F00B37B-AD24-4B1C-AD1E-8369C9BC8A83@ahsomme.com> Message-ID: <1294949497109-3216576.post@n4.nabble.com> Hi Paul, If you use MacOSX 10.5 or higher you could use Jerry Daniels Remo to move things into and out of groups and change layering. As an aside you would have a very nice script editor replacement. :) I like it a lot more than the application browser. http://remoeditor.com/ no affiliation, just using it. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Slug-saves-the-day-Was-Layers-revNavigator-DataGrids-tp3216430p3216576.html Sent from the Revolution - User mailing list archive at Nabble.com. From chipp at altuit.com Thu Jan 13 15:12:13 2011 From: chipp at altuit.com (Chipp Walters) Date: Thu, 13 Jan 2011 12:12:13 -0800 Subject: Slug saves the day. Was Layers, revNavigator, & DataGrids In-Reply-To: <7F00B37B-AD24-4B1C-AD1E-8369C9BC8A83@ahsomme.com> References: <7F00B37B-AD24-4B1C-AD1E-8369C9BC8A83@ahsomme.com> Message-ID: <3315846C-7FED-4C30-A830-3F51610BC3B4@altuit.com> Paul, Moving controls into to and out of groups is as simple as just setting the layer one number higher and/or lower outside the range of the group. And at the time I wrote altLayer, this was easily accomplished by using the relayer tools in Rev-- not sure how that works these days. Chipp Walters CEO, Shafer Walters Group, Inc On Jan 13, 2011, at 10:53 AM, Paul Looney wrote: > Thank you all! > > To summarize since yesterday morning: > > Question #1 > I asked "Can you recommend something for layering objects in LC 4.5.1 and later?" > > Tereza suggested using Chipp's altLayer Tool and showed me where to find it (I had the same problem that Bob and Phil had locating it). I emailed Chipp to arrange payment; he replied that it was free!?! Unfortunately, while this utility moves objects within groups, it does not move them into, out of, or between groups - which is what I need (more on that in a moment). I do appreciate Chipp's (typical) generosity regarding this and would like to note that we use his Magic Carpet for every change in any of our programs - often many times a day. > > Geoff confirmed that the problems with the current revNavigator were not my imagination. > > So it appears that there is no way to adjust layers into, out of, or between groups in the LC world today. > > Why do I care? > My major use of LC is for the Ahsomme Business System. It does order processing, accounting, purchasing, inventory control, job costing, machine-loading, employee scheduling, material requirement planning, etc. It is complex; there are over 20 databases, over 50 standard report templates (plus a report maker), and more than 50 auxillary programs. Some of these individual programs are also complex; the Orders Editor, for example, has 144 buttons and 436 fields (not counting objects in datagrid groups). > Right now I am working on a Production Status program for a company in New Zealand. This program uses multiple datagrids. There is a grid for pending orders, a grid showing the orders selected to be put in process, grids for materials required to support production, a grid comparing required material to uncommitted materials on hand and purchased materials due in, and several more. Obviously it is not possible to display everything on the screen at the same time. So, we hide and show groups - a lot. Usually these groups will contain one or more datagrids, plus additional fields or buttons. It is critical to have the ability to quickly and easily move newly created objects into the proper group. revNavigator did this perfectly, I can not begin to say how grateful I am to have had it! > > Quoting Peter: Geoff Canyon, can you convince that developer of yours to do something about this...? :-) > > Question #2 > I asked "Is there a way to fix the broken datagrid?" > > I had already concluded that the grid was broken because the behavior of the grid was no longer linked - as the Slug and Trevor suggested. I had tried: > > set the behavior of grp "myDataGrid" to button id 1005 of stack revDataGridLibrary > > which did nothing, not even an error. > > I had also tried: > > set the behavior of grp "myDataGrid" to button id 1005 of stack & > quote & "revDataGridLibrary" & quote > > which gave a binary error. > > The Slug's recipe: > > set the behavior of grp "myDataGrid" to "button id 1005 of stack " & > quote & "revDataGridLibrary" & quote > > worked. With that fix the grid started displaying the text from dgText. > This also reverted other properties to their defaults, for example, before the fix the columns were their original and proper width but the columnWidth properties were empty; after the fix the columnWidth properties (and the columns themselves) were all "100". This is actually a minor problem for us and we can easily make manual repairs to these properties. > > Trevor's list of Behaviors will help us reset all of default links without completely rebuilding the stack (an unimaginable exercise). > > Thank you all. > 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 ambassador at fourthworld.com Thu Jan 13 15:20:26 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 13 Jan 2011 12:20:26 -0800 Subject: ID's are settable??? Message-ID: <4D2F5E8A.90604@fourthworld.com> Bob Sneidar wrote: > On Jan 13, 2011, at 10:26 AM, Richard Gaskin wrote: >> DunbarX wrote: >> So the id of a new object is indexed from the current stack ID. >> I thought (for no reason at all) it was the other way around, >> that the stack took on the id of a new object. > >> Unless I misunderstand, I think the difference is >> semantic/philosophical. > > Not really imho. The engine looks at the stack ID, creates a new > object, gives it that ID then increments the stack ID. Otherwise > it would be like arguing whether an increase in the bank balance > caused a deposit, or the deposit changed the bank balance. :-) > (GOD I love analogies!) I think we're at the point, as Paul might say, where we're picking fly poop out of pepper, but since we've already gone this far: Your sense of this seems to mirror my own, in which the stack "gives" the ID to the object, rather than that the stack "took" the ID from the object. For any practical purpose, it doesn't matter and we can't know which occurs first (though I suppose Mark Waddingham could chime in here and tell us which line in the source occurs before the other). All I know is that by the time we're able to know anything about the IDs, both the most highest-ID object in the stack and the stack itself have the same ID. I'll leave it to the philosophers to determine which "gives" the ID to the other, spending my time instead pondering the bigger question: if a stack crashes on a machine that isn't running, does it make a noise? ;) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From scott at tactilemedia.com Thu Jan 13 15:27:55 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 13 Jan 2011 12:27:55 -0800 Subject: ID's are settable??? In-Reply-To: <4D2F5E8A.90604@fourthworld.com> Message-ID: Recently, Richard Gaskin wrote: > I'll leave it to the philosophers to determine which "gives" the ID to > the other, spending my time instead pondering the bigger question: if a > stack crashes on a machine that isn't running, does it make a noise? ;) It makes the same sound as one hand clapping. In the middle of a forest. Oh, and there's a bear. And it's eating cheese. Regards, Scott Rossi Creative Director Tactile Media, UX Design From ambassador at fourthworld.com Thu Jan 13 15:42:44 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 13 Jan 2011 12:42:44 -0800 Subject: ID's are settable??? Message-ID: <4D2F63C4.9080308@fourthworld.com> Bob Sneidar wrote: > On Jan 13, 2011, at 9:46 AM, Richard Gaskin wrote: > >> Apparently you can set the ID of a stack to a higher number than >> it currently is, but attempting to set it to a lower number will >> generate an error stating "invalid id (must be greater than current >> id)". >> >> This is reasonable to expect given the stack's unique role as the >> arbiter of IDs: as long as there's no internal list of all IDs >> currently in use (and given the compact size of stack files I >> certainly don't mind that there isn't), if you could set the stack >> ID lower you would risk creating a new object whose ID would >> conflict with an existing one. > > My personal opinion is that this is a bit of a kludge. Stacks should > have their own unique ID like any other object, and internal objects > should have their own unique ID inside each stack. The ID should be > read only. If users want their own ID system, the AltID was a perfect > solution for that. The ID counter could have been implemented as some > kind of read only property of the stack. But that is all water under > the bridge now. Looks like we're looking at two different issues: I was describing the limit on the ID range, and here you're covering the virtue of altID instead of having settable IDs, and the absence of a true stack ID. Yours is a more interesting topic, so let's go with that: For settable IDs, Mark Wieder could make a stronger case than I could, since this feature was added to support a nifty new tool he's been working on. Even though I don't use stack-to-text-and-back translators myself I can see the value of them for some workflows. As wonderfully compact as the binary stack format is, if you want to take advantage of existing enterprise-level version control tools you'll need textual source for your project. Without being able to set the ID it would be impossible to accurately reproduce an object. But with that, you should be able to make a bit-for-bit copy of darn near anything, and the implications can be quite powerfully useful if used with care. As for it being a kludge that the stack ID is an incrementer rather than an immutable reference that could be used like any other ID, for the sake of consistency in the language I'd tend to agree, esp. given the low cost of storing that integer in some other place. I suspect it was one of those late-night decisions for Dr. Raney, probably something that made his hashing scheme more convenient, and since stack names serve as unique identifiers he probably felt that was an okay design decision. Weird, and one more anomaly that increases the angle of the learning curve, but not the least of them (my favorite being "destroyStack" which doesn't actually destroy the stack at all ). -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From jacque at hyperactivesw.com Thu Jan 13 15:47:21 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 13 Jan 2011 14:47:21 -0600 Subject: Slug saves the day. Was Layers, revNavigator, & DataGrids In-Reply-To: <7F00B37B-AD24-4B1C-AD1E-8369C9BC8A83@ahsomme.com> References: <7F00B37B-AD24-4B1C-AD1E-8369C9BC8A83@ahsomme.com> Message-ID: <4D2F64D9.4050408@hyperactivesw.com> On 1/13/11 12:53 PM, Paul Looney wrote: > So it appears that there is no way to adjust layers into, out of, or > between groups in the LC world today. Set the relayerGroupedControls to true and assign a layer number at will. That ignores group layers. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Jan 13 15:52:53 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 13 Jan 2011 14:52:53 -0600 Subject: Vent! In-Reply-To: <18BE586E-404E-49A9-BCED-2D54C96946B6@mollysrevenge.com> References: <18BE586E-404E-49A9-BCED-2D54C96946B6@mollysrevenge.com> Message-ID: <4D2F6625.9060304@hyperactivesw.com> On 1/13/11 12:15 PM, Peter Haworth wrote: > Livecode is a great tool but the IDE is full of user interface > weirdnesses as far as I'm concerned. There are three different > Find/Replace dialogs and you're never sure which one will pop up when > you press command-F. They're contextual. The right one appears depending on what you're doing. I can only think of two though, the one in the script editor and the general one for stack searches. > The File menu contents are completely different > depending on which window is active. Menus are contextual too. It's only an issue on OS X, which doesn't have menu bars in the windows. On other operating systems it's pretty clear because the menu is part of the window; script editor menus are attached to the script editor window, for example. > The message box appears and > disappears at what seem to be completely random intervals. It isn't really random, it's whether a script editor has the focus or not. You can turn off that behavior in preferences. On small monitors, it's convenient to hide the message box and other palettes when a script is open to save screen space. On larger monitors it isn't necessary. I always turn off hiding. > How nice > would it be to have an Application Browser option to list stacks, not > cards, in alphabetical order. For mainstacks that would be nice. I'd like to keep the substacks attached to them the way they are now though. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Jan 13 16:00:23 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 13 Jan 2011 15:00:23 -0600 Subject: Vent! In-Reply-To: References: <18BE586E-404E-49A9-BCED-2D54C96946B6@mollysrevenge.com> Message-ID: <4D2F67E7.70205@hyperactivesw.com> On 1/13/11 1:14 PM, Paul Looney wrote: > And Peter, > Let's not forget: > > You click a down arrow to make objects move up. > You click an up arrow to make objects move down. > You click an up arrow to make objects move right. > You click an up arrow to make objects wider. I wouldn't change this because it reinforces how pixel counting works; up and left are less, down and right are more. As developers, we should understand that stuff. (Clicking the down arrow in any scrollbar makes the contents move up on every OS too.) > > You adjust the type size on the last panel but > you adjust the leading on the first panel. You have to go to the Table pane to set tabstops too. Even though some properties apply more to one thing than another, I'd like to see them duplicated on every pane where they apply. Tabstops should appear on both the Table pane and the Text pane, for example. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at mollysrevenge.com Thu Jan 13 16:22:09 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 13 Jan 2011 13:22:09 -0800 Subject: Vent! In-Reply-To: <4D2F6625.9060304@hyperactivesw.com> References: <18BE586E-404E-49A9-BCED-2D54C96946B6@mollysrevenge.com> <4D2F6625.9060304@hyperactivesw.com> Message-ID: On Jan 13, 2011, at 12:52 PM, J. Landman Gay wrote: > On 1/13/11 12:15 PM, Peter Haworth wrote: >> Livecode is a great tool but the IDE is full of user interface >> weirdnesses as far as I'm concerned. There are three different >> Find/Replace dialogs and you're never sure which one will pop up when >> you press command-F. > > They're contextual. The right one appears depending on what you're doing. I can only think of two though, the one in the script editor and the general one for stack searches. The script editor find has a variation when you click the "More..." button. I've seen that window come up sometimes when I select Find from the edit menu but can't pin down just when that happens. > >> The File menu contents are completely different >> depending on which window is active. > > Menus are contextual too. It's only an issue on OS X, which doesn't have menu bars in the windows. On other operating systems it's pretty clear because the menu is part of the window; script editor menus are attached to the script editor window, for example. Sure I understand that. But there are only four options on the File Menu when the script editor window is active - Apply, Save, Close, and Print. Apply has a button on the script editor window so why not have buttons for the other functions on the script editor window and leave the File menu as it is when a stack window has focus. I shouldn't have to switch to a stack window in order to open another stack file. Or open the Message Box or the Application Browser. > >> The message box appears and >> disappears at what seem to be completely random intervals. > > It isn't really random, it's whether a script editor has the focus or not. You can turn off that behavior in preferences. On small monitors, it's convenient to hide the message box and other palettes when a script is open to save screen space. On larger monitors it isn't necessary. I always turn off hiding. > >> How nice >> would it be to have an Application Browser option to list stacks, not >> cards, in alphabetical order. > > For mainstacks that would be nice. I'd like to keep the substacks attached to them the way they are now though. That's why I said it should be an option :-) I have around 40 substacks in my application and trying to find a specific one in the Application Browser is a pain, particularly since I can;t tell what order they are in - maybe sorted by the date they were created? > > -- > 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 capellan2000 at gmail.com Thu Jan 13 16:22:55 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 13 Jan 2011 13:22:55 -0800 (PST) Subject: Some thoughts on duck typing In-Reply-To: References: <4D2DBC8E.2020101@fourthworld.com> <1294882146979-3215086.post@n4.nabble.com> Message-ID: <1294953775272-3216692.post@n4.nabble.com> Hi David, Yes - well to be accurate revamping it. I've been storing scripts and staks in CVS / SVN and now GIT for the last 10 years. Originally I used a full XML based file structure, but did not need it, so for years I have been storing only the full stacks and the scripts (so I can diff the scripts). Great! :-D If I remember well, Andre is using Dropbox features for a simplified Version control of his stacks: https://www.dropbox.com/help/11 Certainly, compiling stacks from text sources would make a lot easier to colaborate and test libraries, projects and widgets. When i had show this platform to developers in Delphi, C++ or .NET, some of the inevitable questions are: "Could you work in your code without first building an interface?" "How could work a developer team's (at the same time) in the same stack and scripts?" If we could compile or rebuild stacks from text sources, all these questions could have a simple and straight answer... David Bovill-5 wrote: > > With recent changes to engine so that you can set id properties of > objects full text based stack representations are possible. As there are > now > a number of fairly large open source projects within the community with > compatible licenses (revignitor / MetaCard / glxApp framework and GLX > script > editor), and I have a need to store the full behavior based widget > components in a robust way - I'm putting in a bunch of work to release > this > for the conference. > Excellent news! :-D David Bovill-5 wrote: > > We are starting to cover some of these topics on www.livecode.tv, and also > in ChatRev, and there is an open invitation for anyone interested in > developing community resources to take part, show work, and contribute > code. > I'm putting the finishing touches to the file format now. It is not XML > based, it is array based with a default text and folder based export > format. > There is an optional XML version of the format for projects that would > want > an XML based version. The format is optimised for speed and for utility > when > working with revision control systems. > This would be a landmarking moment in this platform. A complete game changer. Hopefully I would find enough time to learn the framework and participate. David Bovill-5 wrote: > > Alejandro, I want to show and share the code for interfacing with > WikiPedia some time. How did you get along with your offline WikiPedia > project - maybe we could work together on a presentation - even if it is > work-in-progress? > The offline Wikipedia project is stored away (with some other ideas and projects) in some backup DVD. I would like to work on this Wikipedia Offline reader as part of a team, but I do not have the resources to create the required infrastructure for this project. Hopefully, someone with enough resources and time would open this project and then I could participate. These were the functional, but not optimized, scripts for this Wikipedia Offline Reader project, 1) The Gzip Compressed XML Database. 2) Scripts to create multiple Indexes from this database 3) Scripts to search the Indexes 4) Scripts to convert and display the XML article inside a text field 5) Scripts to convert the XML article to HTML and display it inside a browser window (using the DLL within Livecode) 6) Scripts to enable clicking a link inside the article and open the linked article. 7) Scripts to keep an history of previous visited articles. (and store them for faster access) Probably there was more, but these are the features that I remember well. Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Some-thoughts-on-duck-typing-tp3213779p3216692.html Sent from the Revolution - User mailing list archive at Nabble.com. From zryip.theslug at gmail.com Thu Jan 13 16:35:53 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Thu, 13 Jan 2011 22:35:53 +0100 Subject: What does the DragData contain? In-Reply-To: References: Message-ID: On Tue, Jan 11, 2011 at 12:57 AM, Bob Sneidar wrote: Hi Bob, > Well I know that I can put something into the dragData["private"] which either makes this a custom behavior, or else an array. I vote for the former. But is there any other "elements" that the dragData contains that I can use? For instance, the source object I drag from? > > I have 3 datagrids. I want to drag from grid1 into grid2 and have the value drop in the first column of grid2. I want to drag from grid3 into grid2 and have the value drop into the 3rd column of grid2. To do that properly, I need the dragDrop handler in grid2 to know where I am dragging from. > > Now I could simply make the dragData["private"] a comma delimited list and then parse it in grid2, but I was thinking there might be a cleaner way for grid2 to know what the source is. I would think the engine would know. I tried to create my own custom key, but of course I cannot do that. The structure seems to be read only. The dragSource contains information about the source datagrid. We have 4 levels of object to resolve to have the name of the datagrid. 1. The name of the target field you started dropping 2. The name of the col group where the field is (it is the name of the column) 3. The dgList object 4. The mask So we could have something like this: put the dragSource into tTheSource put the short name of the owner of the owner of the owner of the owner of tTheSource That is not totally readable in time, I think. You will prefer to have the name of the source datagrid somewhere in the dragData. It was an interesting exercice, so I tested replacing the content of a column in a grid by dropping a line of another datagrid. The idea was to use the dgTrackDragReorder property in the destination datagrid for scrolling the dg during the dragMove, and to replace a value in a column by using the DragReorderDrop event of the datagrid messages. By testing the name of the datagrid source, the DragReorderDrop is capable to behave normally when one want to reorder the lines in the dg. The resulting experiment is available here: http://www.aslugontheroad.co.cc/index.php?option=com_phocadownload&view=category&download=19:experiment-19-drag-drop-in-dg-replacing-a-value-in-a-column&id=7:data-grid&Itemid=63 Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From pete at mollysrevenge.com Thu Jan 13 16:37:36 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 13 Jan 2011 13:37:36 -0800 Subject: Slug saves the day. Was Layers, revNavigator, & DataGrids In-Reply-To: <1294949497109-3216576.post@n4.nabble.com> References: <7F00B37B-AD24-4B1C-AD1E-8369C9BC8A83@ahsomme.com> <1294949497109-3216576.post@n4.nabble.com> Message-ID: <1D0A31DE-0C5D-49A0-8D04-AFEE312FC715@mollysrevenge.com> I'm giving this a try. Yes it does allow easy relayering of objects, glad to see that. I'm sure it does lots of other great things too but there's not a shred of documentation that I can find either on the web site or built into the product. Maybe a lot of it is intuitive but sure would be nice to know if I'm missing some great feature that isn;t intuitive to me! It would have been really cool if the concept of the browser could have been extended to include a properties pane that listed all the properties associated with a control and their values when you clicked on it. Pete Haworth On Jan 13, 2011, at 12:11 PM, BNig wrote: > > Hi Paul, > > If you use MacOSX 10.5 or higher you could use Jerry Daniels Remo to move > things into and out of groups and change layering. > As an aside you would have a very nice script editor replacement. :) > I like it a lot more than the application browser. > > http://remoeditor.com/ > > no affiliation, just using it. > > Kind regards > > Bernd > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Slug-saves-the-day-Was-Layers-revNavigator-DataGrids-tp3216430p3216576.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 ambassador at fourthworld.com Thu Jan 13 16:37:29 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 13 Jan 2011 13:37:29 -0800 Subject: Vent! Message-ID: <4D2F7099.6000507@fourthworld.com> Peter Haworth wrote: > I have around 40 substacks in my application and trying to find a > specific one in the Application Browser is a pain, particularly > since I can;t tell what order they are in - maybe sorted by the > date they were created? Should be easy to do, since when you query "the substacks of stack " the list you get is indeed in creation order. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From cjw at eml.cc Thu Jan 13 16:44:50 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Thu, 13 Jan 2011 15:44:50 -0600 Subject: LiveCode Newbie questions Message-ID: <4D2F7252.6070208@eml.cc> Hi, I have just begun in LC and frankly, some of the comments in the "Vent!" thread scares me! Also, I have/am reading all the FAQ stuff I can, but it's tough to sort it all out at his time, so if I ask a inappropriate(read: "dumb")question, just send me to my room. PLEASE don't hit me?!? I have a graphics-dragging app that has been coded and complies into a single exec. Do all apps created in LC compile to a single exec, say an app that has a database? Thanks for the help... I'm gonna need it! Calvin From massung at gmail.com Thu Jan 13 16:50:31 2011 From: massung at gmail.com (Jeff Massung) Date: Thu, 13 Jan 2011 14:50:31 -0700 Subject: LiveCode Newbie questions In-Reply-To: <4D2F7252.6070208@eml.cc> References: <4D2F7252.6070208@eml.cc> Message-ID: Calvin, Don't let the vent thread scare you. Some here have been using LC for quite a while, and usually it's the little things that make you want to vent. The big things Rev has been doing a great job with! LC apps do compile to an EXE. It's not 100% self-encompassing, though, meaning it may need some DLLs that live next to it (in an "externals" folder); In your DB example, there'd be a DLL for the database functions in there, but LC takes care of all of this for you. Your end-user will never be the wiser, and there's no runtime to install. Jeff M. On Thu, Jan 13, 2011 at 2:44 PM, Calvin Waterbury wrote: > Hi, > > I have just begun in LC and frankly, some of the comments in the "Vent!" > thread scares me! Also, I have/am reading all the FAQ stuff I can, but it's > tough to sort it all out at his time, so if I ask a inappropriate(read: > "dumb")question, just send me to my room. PLEASE don't hit me?!? > > I have a graphics-dragging app that has been coded and complies into a > single exec. Do all apps created in LC compile to a single exec, say an > app that has a database? > > Thanks for the help... I'm gonna need it! > Calvin > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From runrevplanet at smpcs.server101.com Thu Jan 13 16:57:04 2011 From: runrevplanet at smpcs.server101.com (RunRevPlanet) Date: Fri, 14 Jan 2011 08:57:04 +1100 Subject: [OT] Looking for Beta Testers In-Reply-To: References: Message-ID: <4D2F7530.2080503@smpcs.server101.com> Hi All, I have a "shrink-wrap" application written in LiveCode that has been successfully sold for Macs. Now I plan to release a Windows version of the same software on the Intel AppUp store. The application itself doesn't need beta testing, but what does require testing is the download/install/run procedure from the Intel AppUp client. This is an invitation for a few users to test the running of a LiveCode application (built with help from the excellent AppAble in the LiveCode marketplace) from the Intel AppUp client. This does not require a big investment in time. If you already have an Intel AppUp account, then it should take only a few minutes during next week -- assuming it all works. (If you do not have, or do not want, an Intel AppUp account, it is possible to open a Beta Tester account with Intel AppUp -- which does not require a netbook computer, but is for Windows only.) If you are interested in being a tester, please contact me off-list using the email address on this webpage: http://www.teacherspersonalmarkbook.com/support.html Which co-incidentally, is the website of the application that requires testing. -- Scott McDonald RunRevPlanet "Components, Controls, Tools and Resources for LiveCode" www.runrevplanet.com From niggemann at uni-wh.de Thu Jan 13 17:04:36 2011 From: niggemann at uni-wh.de (BNig) Date: Thu, 13 Jan 2011 14:04:36 -0800 (PST) Subject: Slug saves the day. Was Layers, revNavigator, & DataGrids In-Reply-To: <1D0A31DE-0C5D-49A0-8D04-AFEE312FC715@mollysrevenge.com> References: <7F00B37B-AD24-4B1C-AD1E-8369C9BC8A83@ahsomme.com> <1294949497109-3216576.post@n4.nabble.com> <1D0A31DE-0C5D-49A0-8D04-AFEE312FC715@mollysrevenge.com> Message-ID: <1294956276439-3216790.post@n4.nabble.com> Hi Pete, in Remo look under Help -> Quickstart Docs. It explains quite a bit. You should look at this since some things are not self-evident and very useful. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Slug-saves-the-day-Was-Layers-revNavigator-DataGrids-tp3216430p3216790.html Sent from the Revolution - User mailing list archive at Nabble.com. From cjw at eml.cc Thu Jan 13 17:05:36 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Thu, 13 Jan 2011 16:05:36 -0600 Subject: LiveCode Newbie questions In-Reply-To: References: <4D2F7252.6070208@eml.cc> Message-ID: <4D2F7730.9020200@eml.cc> Hi Jeff, Thanks for the boost. I really do feel quite overwhelmed (see more below*)! In regard to the end product, the user doesn't even have to install anything? Simply zip the exec and the "externals" folder and send it? Am I understanding you correctly? *"Overwhelmed" is my mental state at present. I coded in Visual Basic for a few years and making the paradigm shift to LC is weird. I am only coding with a trial license and it is going to run out and LC ain't cheap. Also, I have mentors offering to assist in learning VisualBASIC.NET and C#.NET and there is no cost to do this. I wish LC had a 90-day trial. :( A couple of questions.. Do you know if I purchase the personal license and code in it until I am ready to go commercial and *then* upgrade to a commercial license, will my apps upgrade too or will I have to recode/recompile?? Hmm... I forgot the other question. Maybe this is not the place to ask these questions, but I have to start somewhere. Thanks for the help, Calvin > ------------------------------------------------------------------------ > > Jeff Massung > Thursday, January 13, 2011 3:50 PM > > > Calvin, > > Don't let the vent thread scare you. Some here have been using LC for > quite > a while, and usually it's the little things that make you want to > vent. The > big things Rev has been doing a great job with! > > LC apps do compile to an EXE. It's not 100% self-encompassing, though, > meaning it may need some DLLs that live next to it (in an "externals" > folder); In your DB example, there'd be a DLL for the database > functions in > there, but LC takes care of all of this for you. Your end-user will > never be > the wiser, and there's no runtime to install. > > Jeff M. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ------------------------------------------------------------------------ > > Calvin Waterbury > Thursday, January 13, 2011 3:44 PM > > > Hi, > > I have just begun in LC and frankly, some of the comments in the > "Vent!" thread scares me! Also, I have/am reading all the FAQ stuff I > can, but it's tough to sort it all out at his time, so if I ask a > inappropriate(read: "dumb")question, just send me to my room. PLEASE > don't hit me?!? > > I have a graphics-dragging app that has been coded and complies into a > single exec. Do all apps created in LC compile to a single exec, say > an app that has a database? > > Thanks for the help... I'm gonna need it! > Calvin > From DunbarX at aol.com Thu Jan 13 17:14:11 2011 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 13 Jan 2011 17:14:11 EST Subject: Global in debugger redux Message-ID: <4658d.2619dded.3a60d333@aol.com> Per Thierry, I made the hack he suggested in the revDebugger stack script to filter out those unfilterable globals. I tried it earlier but must have done something wrong. Anyway, it works, and is a pleasure to have only your own declared globals appear when debugging. This was discussed a bit last October/November. I still wonder why unHilliting "show globals" in the script editor preferences will not do its job. I modified his script slightly, and if anyone is interested, again, per his very astute hack: Replace the existing function "revDebuggerValidGlobalNames" at line 225 in the stack script with: function revDebuggerValidGlobalNames local tGlobalsRaw put the globals into tGlobalsRaw replace comma with return in tGlobalsRaw filter tGlobalsRaw without "*(x86)" filter tGlobalsRaw without "$*" filter tGlobalsRaw without "grev*" replace return with comma in tGlobalsRaw return tGlobalsRaw end revDebuggerValidGlobalNames Thank goodness. Craig Newman From DunbarX at aol.com Thu Jan 13 17:19:54 2011 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 13 Jan 2011 17:19:54 EST Subject: LiveCode Newbie questions Message-ID: <46ab9.17000ace.3a60d48a@aol.com> You will be a fanatical adherent in about two weeks. Make a few play stacks. An address book and a metric conversion calculator. Embellish them endlessly. Join the revolution. Craig Newman From massung at gmail.com Thu Jan 13 17:26:50 2011 From: massung at gmail.com (Jeff Massung) Date: Thu, 13 Jan 2011 15:26:50 -0700 Subject: LiveCode Newbie questions In-Reply-To: <4D2F7730.9020200@eml.cc> References: <4D2F7252.6070208@eml.cc> <4D2F7730.9020200@eml.cc> Message-ID: Calvin, On Thu, Jan 13, 2011 at 3:05 PM, Calvin Waterbury wrote: > Hi Jeff, > > In regard to the end product, the user doesn't even have to install > anything? Simply zip the exec and the "externals" folder and send it? Am I > understanding you correctly? > Yes, that's all I do. You can write a separate installer for your app as well, but there's no need to if you don't want. > *"Overwhelmed" is my mental state at present. I coded in Visual Basic for > a few years and making the paradigm shift to LC is weird. I am only coding > with a trial license and it is going to run out and LC ain't cheap. Also, I > have mentors offering to assist in learning VisualBASIC.NET and C#.NET and > there is no cost to do this. I wish LC had a 90-day trial. :( > My recommendation would be the following: 1. Is the LC price a major barrier for you, which - even if the perfect tool for your needs (note: no such tool exists) - would still be a major purchase. - If yes, then put it off to the side for now and see what's possible with VB.NET or C#.NET. - If not, then continue... 2. Create something that isn't big, but also hits many of the major features you'll need to use in your app. Find out if LC has the basic features you'll need to make forward progress on your project. - Do you have graphical rendering needs? 3D? - Internet accessibility needs? Secure communication (i.e. SSL)? - XML parsing? - Rich text formatting? - Database accessibility? - Native UI look/feel (possibly an issue on OS X w/ toolbars)? These are just a few possibilities. But during the course of putting together some really trivial programs that teach you LC and make use of each of the major components of your project, you'll be able to best decide what to do for yourself. > A couple of questions.. > [[.. license questions snipped ..]] I would email these concerns/questions directly to RunRev. They've always been great working with me (and others here). I think you might be pleasantly surprised how easy they are to work with. Jeff M. From ambassador at fourthworld.com Thu Jan 13 17:40:16 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 13 Jan 2011 14:40:16 -0800 Subject: LiveCode Newbie questions Message-ID: <4D2F7F50.5000802@fourthworld.com> Welcome aboard, Calvin. Calvin Waterbury wrote: > In regard to the end product, the user doesn't even have to install > anything? Simply zip the exec and the "externals" folder and send it? > Am I understanding you correctly? Yep. I understand that's sometimes shocking to VB devs, and more so to folks who've used TookBook, which throws DLLs and .tb files all over the system (I liked many things about ToolBook, but their installation complexity wasn't one of them). The LiveCode engine packs a lot into its modest 2.5MB size, and has no dependencies on anything else except for any optional DLL externals you may choose to use. The most frequent tech support question I get from the institutional customers I support is from IT staffers who can't believe that installing our LiveCode-based app is as simple as we describe it. When I tell them it has no dependencies on any DLLs, and runs on every Win system from 2000 through 7, they still keep asking, "What else does it need to install?" When I finally convince them to to just try using the simple instructions we provide, most of the time they write me back with something like, "Wow, so simple. Never seen anything like that." This is one of the benefits of cross-platform computing, at least with LiveCode. While multiple DLL dependencies are common in Windows apps, Linux handles things differently and Mac users have no patience with that sort of thing. Yes, using LiveCode is definitely weird, but in the literal sense: of or pertaining to the supernatural. :) It can be a mind-bender to get used to, but once you do I suspect you'll find a lot of things surprisingly easy. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From jrosat at mac.com Thu Jan 13 17:45:20 2011 From: jrosat at mac.com (=?iso-8859-1?Q?J=E9r=F4me_Rosat?=) Date: Thu, 13 Jan 2011 23:45:20 +0100 Subject: Fuzzy text on my iPhone 4 with LiveCode iOS Message-ID: <3696A640-34D9-40B0-948C-40B00D21EDFA@mac.com> Hi, I have just created my first application with LiveCode iOS (a kind of calculator). When I test it on my iPhone 4, I notice that the text which is displayed in a field is not "sharp". As if the text is "fuzzy". I use Helvetica. But, when I use it on a iPhone 3GS or on a iPad, the text looks great. Is it a bug or I missed something ? Thank you for your answers. Jerome From pete at mollysrevenge.com Thu Jan 13 17:45:45 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 13 Jan 2011 14:45:45 -0800 Subject: Slug saves the day. Was Layers, revNavigator, & DataGrids In-Reply-To: <1294956276439-3216790.post@n4.nabble.com> References: <7F00B37B-AD24-4B1C-AD1E-8369C9BC8A83@ahsomme.com> <1294949497109-3216576.post@n4.nabble.com> <1D0A31DE-0C5D-49A0-8D04-AFEE312FC715@mollysrevenge.com> <1294956276439-3216790.post@n4.nabble.com> Message-ID: Thanks you Bernd, I obviously didn't look hard enough! There are indeed a lot of cool features in Remo. Pete Haworth On Jan 13, 2011, at 2:04 PM, BNig wrote: > > Hi Pete, > > in Remo look under Help -> Quickstart Docs. > > It explains quite a bit. You should look at this since some things are not > self-evident and very useful. > > Kind regards > > Bernd > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Slug-saves-the-day-Was-Layers-revNavigator-DataGrids-tp3216430p3216790.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 cjw at eml.cc Thu Jan 13 17:46:29 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Thu, 13 Jan 2011 16:46:29 -0600 Subject: LiveCode Newbie questions In-Reply-To: <46ab9.17000ace.3a60d48a@aol.com> References: <46ab9.17000ace.3a60d48a@aol.com> Message-ID: <4D2F80C5.7060101@eml.cc> Hi Craig, I think I understand what you mean? Fair winds, Calvin > ------------------------------------------------------------------------ > > DunbarX at aol.com > Thursday, January 13, 2011 4:19 PM > > > You will be a fanatical adherent in about two weeks. Make a few play > stacks. An address book and a metric conversion calculator. Embellish > them > endlessly. Join the revolution. > > 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 jacque at hyperactivesw.com Thu Jan 13 17:50:22 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 13 Jan 2011 16:50:22 -0600 Subject: LiveCode Newbie questions In-Reply-To: <4D2F7730.9020200@eml.cc> References: <4D2F7252.6070208@eml.cc> <4D2F7730.9020200@eml.cc> Message-ID: <4D2F81AE.7010202@hyperactivesw.com> On 1/13/11 4:05 PM, Calvin Waterbury wrote: > Hi Jeff, > > Thanks for the boost. I really do feel quite overwhelmed (see more below*)! It's normal. LC is fairly unique, and you need a certain critical mass of info before it falls into place. That doesn't take a whole lot of time, but there's a paradigm shift. Once it happens, it's all "voila" from there. And regarding your first note: we won't hit you. In fact, we'll embrace you. We love newcomers, and most of us will fall over backward to help. This is the right place to ask anything, no matter how stupid you think it is, because for every "dumb" question you're brave enough to post there will be a dozen other lurkers who want to know too. Ask anything. > > In regard to the end product, the user doesn't even have to install > anything? Simply zip the exec and the "externals" folder and send it? Am > I understanding you correctly? Yup, for the most part, with rare exceptions you probably don't need to worry about. > *"Overwhelmed" is my mental state at present. I coded in Visual Basic > for a few years and making the paradigm shift to LC is weird. I am only > coding with a trial license and it is going to run out and LC ain't > cheap. Also, I have mentors offering to assist in learning > VisualBASIC.NET and C#.NET and there is no cost to do this. I wish LC > had a 90-day trial. :( You probably won't need 90 days if you work a little bit every day and ask us stuff as you go. You're at the very best mentoring place RR offers -- this list. And we're free too. > > A couple of questions.. > > Do you know if I purchase the personal license and code in it until I am > ready to go commercial and *then* upgrade to a commercial license, will > my apps upgrade too or will I have to recode/recompile?? Your apps are good no matter what. I think a good move is to buy the personal license if you're not sure, because you can always upgrade later at no extra cost. > > Hmm... I forgot the other question. > > Maybe this is not the place to ask these questions, but I have to start > somewhere. It's exactly the right place. Let us know when you remember the other question. Oh, about the "venting" thread -- it's nothing. The vents are about some minor things in the interface that some people would like implemented differently. Little stuff. Should a list be displayed alphabetically or in order of creation? How should a find dialog be presented? That kind of thing. Until you know the interface better you probably won't even notice. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From cjw at eml.cc Thu Jan 13 17:50:25 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Thu, 13 Jan 2011 16:50:25 -0600 Subject: LiveCode Newbie questions In-Reply-To: <4D2F7F50.5000802@fourthworld.com> References: <4D2F7F50.5000802@fourthworld.com> Message-ID: <4D2F81B1.2010204@eml.cc> Hi Richard, Ye Sir! Your tone and attitude, as well as the content reflect exactly that of my mentor. He's been at it about two years. He goes by "Doc." At least that was his moniker when I became acquainted with him. He's a great guy! Thanks for the encouragement. Fair winds, Calvin > ------------------------------------------------------------------------ > > Richard Gaskin > Thursday, January 13, 2011 4:40 PM > > > Welcome aboard, Calvin. > > Calvin Waterbury wrote: > > > Yep. I understand that's sometimes shocking to VB devs, and more so > to folks who've used TookBook, which throws DLLs and .tb files all > over the system (I liked many things about ToolBook, but their > installation complexity wasn't one of them). > > The LiveCode engine packs a lot into its modest 2.5MB size, and has no > dependencies on anything else except for any optional DLL externals > you may choose to use. > > The most frequent tech support question I get from the institutional > customers I support is from IT staffers who can't believe that > installing our LiveCode-based app is as simple as we describe it. > When I tell them it has no dependencies on any DLLs, and runs on every > Win system from 2000 through 7, they still keep asking, "What else > does it need to install?" > > When I finally convince them to to just try using the simple > instructions we provide, most of the time they write me back with > something like, "Wow, so simple. Never seen anything like that." > > > This is one of the benefits of cross-platform computing, at least with > LiveCode. While multiple DLL dependencies are common in Windows apps, > Linux handles things differently and Mac users have no patience with > that sort of thing. > > Yes, using LiveCode is definitely weird, but in the literal sense: of > or pertaining to the supernatural. :) > > It can be a mind-bender to get used to, but once you do I suspect > you'll find a lot of things surprisingly easy. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Jan 13 17:59:38 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 13 Jan 2011 16:59:38 -0600 Subject: Vent! In-Reply-To: References: <18BE586E-404E-49A9-BCED-2D54C96946B6@mollysrevenge.com> <4D2F6625.9060304@hyperactivesw.com> Message-ID: <4D2F83DA.6050207@hyperactivesw.com> On 1/13/11 3:22 PM, Peter Haworth wrote: > > > The script editor find has a variation when you click the "More..." > button. I've seen that window come up sometimes when I select Find > from the edit menu but can't pin down just when that happens. Oh, I see. That's actually the same Find window, the "more" option expands it. The shortcut for showing the fully expanded Find is Shift-Cmd-F, so maybe you hit that instead of plain Cmd-F. > I have around 40 > substacks in my application and trying to find a specific one in the > Application Browser is a pain, particularly since I can;t tell what > order they are in - maybe sorted by the date they were created? After I answered last time I noticed the mainstacks *are* in alphabetical order, which I like. It took till now for me to understand that you want the substacks sorted too. I guess I wouldn't mind that, I'd probably choose it, as long as the substacks remain stuck to their mainstacks in the app browser list. It's important to me to know which stacks are in the stackfile. I'm pretty sure that alpha sorting the substack list would be a 2-second fix. A feature request would be in order. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Thu Jan 13 18:06:55 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 13 Jan 2011 15:06:55 -0800 Subject: ID's are settable??? In-Reply-To: References: Message-ID: Don't forget the pope. He's supposed to be somewhere there too. And BTW the bear can eat cheese anywhere he likes, but you already knew that. Bob On Jan 13, 2011, at 12:27 PM, Scott Rossi wrote: > Recently, Richard Gaskin wrote: > >> I'll leave it to the philosophers to determine which "gives" the ID to >> the other, spending my time instead pondering the bigger question: if a >> stack crashes on a machine that isn't running, does it make a noise? ;) > > It makes the same sound as one hand clapping. In the middle of a forest. > Oh, and there's a bear. And it's eating cheese. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Jan 13 18:20:35 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 13 Jan 2011 15:20:35 -0800 Subject: LiveCode Newbie questions In-Reply-To: <4D2F7730.9020200@eml.cc> References: <4D2F7252.6070208@eml.cc> <4D2F7730.9020200@eml.cc> Message-ID: The hardest thing is to untrain your mind about the complexities you are used to. It's easy to overthink things coming from another high level language. You are probably used to having to write everything from scratch, as though a plane manufacturer had to design and manufacture all the parts and make sure they all fit together, as well as perform their functions. In LiveCode, someone else has already designed all the parts, and already made sure they fit. What kind of plane you want to build, and where it goes is up to you. Bob On Jan 13, 2011, at 2:05 PM, Calvin Waterbury wrote: > *"Overwhelmed" is my mental state at present. I coded in Visual Basic for a few years and making the paradigm shift to LC is weird. From bobs at twft.com Thu Jan 13 18:23:06 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 13 Jan 2011 15:23:06 -0800 Subject: LiveCode Newbie questions In-Reply-To: <4D2F81AE.7010202@hyperactivesw.com> References: <4D2F7252.6070208@eml.cc> <4D2F7730.9020200@eml.cc> <4D2F81AE.7010202@hyperactivesw.com> Message-ID: And besides, we have a lot of dumb answers as well. If we're going to have fisticuffs each time that happened we'd never get any work done. Bob On Jan 13, 2011, at 2:50 PM, J. Landman Gay wrote: > On 1/13/11 4:05 PM, Calvin Waterbury wrote: >> Hi Jeff, >> >> Thanks for the boost. I really do feel quite overwhelmed (see more below*)! > > It's normal. LC is fairly unique, and you need a certain critical mass of info before it falls into place. That doesn't take a whole lot of time, but there's a paradigm shift. Once it happens, it's all "voila" from there. > > And regarding your first note: we won't hit you. In fact, we'll embrace you. We love newcomers, and most of us will fall over backward to help. This is the right place to ask anything, no matter how stupid you think it is, because for every "dumb" question you're brave enough to post there will be a dozen other lurkers who want to know too. Ask anything. From dougtechie at tiscali.co.uk Thu Jan 13 18:29:42 2011 From: dougtechie at tiscali.co.uk (Douglas) Date: Thu, 13 Jan 2011 23:29:42 +0000 Subject: OT: Are Microsoft really at it again! Message-ID: <4D2F8AE6.9070707@tiscali.co.uk> Remember when Microsoft lost their European court cases about unfair business practices etc.? One of the conditions of being allowed to continue to supply Internet Explorer in boxed Windows 7 packs in the EU. was that they would add a "Browser Choice" page that would allow the user to choose any of the big 5 browsers to install on their new setup. Nice idea, but I just installed a clean Win7 setup and all the other browsers are available EXCEPT FireFox ! Clicking on "Install" just goes to a dead link and the "Tell Me More" button goes to a download page that also uses a dead link! (I checked the mozilla sites and they are up and running perfectly OK!) How many people think that this is an unfortunate "mistake" on Microsoft's part? Maybe the Firefox team decided to shoot themselves by closing a server that they had advertised to Microsoft? Or.... How about the Firefox team set up Microsoft to look bad by giving them bad links Douglas From capellan2000 at gmail.com Thu Jan 13 18:30:27 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 13 Jan 2011 15:30:27 -0800 (PST) Subject: LiveCode Newbie questions In-Reply-To: <4D2F81B1.2010204@eml.cc> References: <4D2F7252.6070208@eml.cc> <4D2F7F50.5000802@fourthworld.com> <4D2F81B1.2010204@eml.cc> Message-ID: <1294961427639-3216935.post@n4.nabble.com> Hi Calvin, Did you created a flowchart of the software that you want to create? http://en.wikipedia.org/wiki/Flowchart Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-Newbie-questions-tp3216739p3216935.html Sent from the Revolution - User mailing list archive at Nabble.com. From cjw at eml.cc Thu Jan 13 18:30:48 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Thu, 13 Jan 2011 17:30:48 -0600 Subject: Your message to use-livecode awaits moderator approval In-Reply-To: References: Message-ID: <4D2F8B28.6020205@eml.cc> Any one? Hmm... I keep getting the below message, but I don't understand why? Is it because it is a reply within reply withing reply...? TIA Calvin > ------------------------------------------------------------------------ > > use-livecode-bounces at lists.runrev.com > > Thursday, January 13, 2011 5:26 PM > > > Your mail to 'use-livecode' with the subject > > Re: LiveCode Newbie questions > > Is being held until the list moderator can review it for approval. > > The reason it is being held: > > Message body is too big: 20967 bytes with a limit of 15 KB > > Either the message will get posted to the list, or you will receive > notification of the moderator's decision. If you would like to cancel > this posting, please visit the following URL: > > http://lists.runrev.com/mailman/confirm/use-livecode/c0d8f65cc2d17ad8116070c6472553fb7eb4483c > From dave.cragg at lacscentre.co.uk Thu Jan 13 18:33:22 2011 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 13 Jan 2011 23:33:22 +0000 Subject: OT: Are Microsoft really at it again! In-Reply-To: <4D2F8AE6.9070707@tiscali.co.uk> References: <4D2F8AE6.9070707@tiscali.co.uk> Message-ID: <084488CD-DD8E-46F9-A908-1EA1F94877CA@lacscentre.co.uk> On 13 Jan 2011, at 23:29, Douglas wrote: > How many people think that this is an unfortunate "mistake" on Microsoft's part? 27 Cheers Dave :-) From pete at mollysrevenge.com Thu Jan 13 18:34:17 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 13 Jan 2011 15:34:17 -0800 Subject: Vent! In-Reply-To: <4D2F83DA.6050207@hyperactivesw.com> References: <18BE586E-404E-49A9-BCED-2D54C96946B6@mollysrevenge.com> <4D2F6625.9060304@hyperactivesw.com> <4D2F83DA.6050207@hyperactivesw.com> Message-ID: Absolutely, the substacks should stay listed under their main stack, would be chaos otherwise I think! So it would be a 2-level sort, mainstack as the first level, then substacks within each main stack as the second level. I'll put in a feature request. Pete Haworth On Jan 13, 2011, at 2:59 PM, J. Landman Gay wrote: > After I answered last time I noticed the mainstacks *are* in alphabetical order, which I like. It took till now for me to understand that you want the substacks sorted too. I guess I wouldn't mind that, I'd probably choose it, as long as the substacks remain stuck to their mainstacks in the app browser list. It's important to me to know which stacks are in the stackfile. > > I'm pretty sure that alpha sorting the substack list would be a 2-second fix. A feature request would be in order. From cjw at eml.cc Thu Jan 13 18:34:28 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Thu, 13 Jan 2011 17:34:28 -0600 Subject: OT: Are Microsoft really at it again! In-Reply-To: <4D2F8AE6.9070707@tiscali.co.uk> References: <4D2F8AE6.9070707@tiscali.co.uk> Message-ID: <4D2F8C04.2020901@eml.cc> Justices directives aside, Microsoft will *not* do anything to help the other guys, so if some little omission or other "mistake" slips by their QC folks... oh well. Fair winds, Calvin > ------------------------------------------------------------------------ > > Douglas > Thursday, January 13, 2011 5:29 PM > > > Remember when Microsoft lost their European court cases about unfair > business practices etc.? > > One of the conditions of being allowed to continue to supply Internet > Explorer in boxed Windows 7 packs in the EU. was that they would add a > "Browser Choice" page that would allow the user to choose any of the > big 5 browsers to install on their new setup. > > Nice idea, but I just installed a clean Win7 setup and all the other > browsers are available EXCEPT FireFox ! > Clicking on "Install" just goes to a dead link and the "Tell Me More" > button goes to a download page that also uses a dead link! > > (I checked the mozilla sites and they are up and running perfectly OK!) > > How many people think that this is an unfortunate "mistake" on > Microsoft's part? > Maybe the Firefox team decided to shoot themselves by closing a server > that they had advertised to Microsoft? > Or.... How about the Firefox team set up Microsoft to look bad by > giving them bad links > > Douglas > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revdev at pdslabs.net Thu Jan 13 18:35:16 2011 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 13 Jan 2011 15:35:16 -0800 Subject: Your message to use-livecode awaits moderator approval In-Reply-To: <4D2F8B28.6020205@eml.cc> References: <4D2F8B28.6020205@eml.cc> Message-ID: <4D2F8C34.8090209@pdslabs.net> Hi Calvin, Try sending emails to the list as plain text or simple HTML, with no images or attachments. That might do it. On 1/13/11 3:30 PM, Calvin Waterbury wrote: > The reason it is being held: > > Message body is too big: 20967 bytes with a limit of 15 KB -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From m.schonewille at economy-x-talk.com Thu Jan 13 18:43:07 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 14 Jan 2011 00:43:07 +0100 Subject: Your message to use-livecode awaits moderator approval In-Reply-To: <4D2F8B28.6020205@eml.cc> References: <4D2F8B28.6020205@eml.cc> Message-ID: <41A7AFD3-F5AE-4C98-8487-FBD1B3066AAE@economy-x-talk.com> > Message body is too big: 20967 bytes with a limit of 15 KB -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 14 jan 2011, at 00:30, Calvin Waterbury wrote: > Any one? > > Hmm... I keep getting the below message, but I don't understand why? Is it because it is a reply within reply withing reply...? > > TIA > Calvin From DunbarX at aol.com Thu Jan 13 18:52:10 2011 From: DunbarX at aol.com (DunbarX at aol.com) Date: Thu, 13 Jan 2011 18:52:10 EST Subject: Your message to use-livecode awaits moderator approval Message-ID: <4c68a.7482b02c.3a60ea2a@aol.com> This used to happen to me when I sent code snippets by simply copying and pasting the styled text taken from the script editor into the body of an email message. The styled text makes a much larger file than you would think. I always convert to plain text before I paste. Is this the culprit? Craig Newman From ambassador at fourthworld.com Thu Jan 13 18:59:29 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 13 Jan 2011 15:59:29 -0800 Subject: OT: Are Microsoft really at it again! Message-ID: <4D2F91E1.5050006@fourthworld.com> Douglas wrote: > Remember when Microsoft lost their European court cases about unfair > business practices etc.? > > One of the conditions of being allowed to continue to supply Internet > Explorer in boxed Windows 7 packs in the EU. was that they would add a > "Browser Choice" page that would allow the user to choose any of the big > 5 browsers to install on their new setup. > > Nice idea, but I just installed a clean Win7 setup and all the other > browsers are available EXCEPT FireFox ! Apparently that hasn't slowed Firefox down: Microsoft Browser Dethroned in Europe by Mozilla Firefox, StatCounter Says I'm not sure which should die first: the CSV file format, or all non-standard implementations in IE. Man, that would be a tough choice... -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From bobs at twft.com Thu Jan 13 19:02:20 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 13 Jan 2011 16:02:20 -0800 Subject: OT: Are Microsoft really at it again! In-Reply-To: <4D2F8AE6.9070707@tiscali.co.uk> References: <4D2F8AE6.9070707@tiscali.co.uk> Message-ID: <84F927A9-167A-4124-88F5-C44C31D4904B@twft.com> It's been like that for a long time. I had to download Firefox for Windows from a Mac or other PC that already had Firefox and then copy the installer to the Explorer only desktop. I have no doubts in my own mind about this. Bob On Jan 13, 2011, at 3:29 PM, Douglas wrote: > Remember when Microsoft lost their European court cases about unfair business practices etc.? > > One of the conditions of being allowed to continue to supply Internet Explorer in boxed Windows 7 packs in the EU. was that they would add a "Browser Choice" page that would allow the user to choose any of the big 5 browsers to install on their new setup. > > Nice idea, but I just installed a clean Win7 setup and all the other browsers are available EXCEPT FireFox ! > Clicking on "Install" just goes to a dead link and the "Tell Me More" button goes to a download page that also uses a dead link! > > (I checked the mozilla sites and they are up and running perfectly OK!) > > How many people think that this is an unfortunate "mistake" on Microsoft's part? > Maybe the Firefox team decided to shoot themselves by closing a server that they had advertised to Microsoft? > Or.... How about the Firefox team set up Microsoft to look bad by giving them bad links > > Douglas > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From cjw at eml.cc Thu Jan 13 19:17:22 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Thu, 13 Jan 2011 18:17:22 -0600 Subject: Your message to use-livecode awaits moderator approval In-Reply-To: <4c68a.7482b02c.3a60ea2a@aol.com> References: <4c68a.7482b02c.3a60ea2a@aol.com> Message-ID: <4D2F9612.80505@eml.cc> Hi Craig, I think you may be right. I'll wait and see if the mods go ahead and send the messages through. They might be a touch dated by then, but it won't clog the list with dupes. This list is *busy* enough without those kind of shenanigans. :) Fair winds, Calvin > ------------------------------------------------------------------------ > > DunbarX at aol.com > Thursday, January 13, 2011 5:52 PM > > > This used to happen to me when I sent code snippets by simply copying and > pasting the styled text taken from the script editor into the body of an > email message. The styled text makes a much larger file than you would > think. I > always convert to plain text before I paste. > > Is this the culprit? > > 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 davidocoker at gmail.com Thu Jan 13 19:20:39 2011 From: davidocoker at gmail.com (David C.) Date: Thu, 13 Jan 2011 18:20:39 -0600 Subject: OT: Are Microsoft really at it again! In-Reply-To: <4D2F91E1.5050006@fourthworld.com> References: <4D2F91E1.5050006@fourthworld.com> Message-ID: > I'm not sure which should die first: ?the CSV file format, or all > non-standard implementations in IE. ?Man, that would be a tough choice... Let's all hope it's the CSV format! ...where do we vote? Best regards, David C. From massung at gmail.com Thu Jan 13 19:25:42 2011 From: massung at gmail.com (Jeff Massung) Date: Thu, 13 Jan 2011 17:25:42 -0700 Subject: OT: Are Microsoft really at it again! In-Reply-To: <4D2F8AE6.9070707@tiscali.co.uk> References: <4D2F8AE6.9070707@tiscali.co.uk> Message-ID: On Thu, Jan 13, 2011 at 4:29 PM, Douglas wrote: > Remember when Microsoft lost their European court cases about unfair > business practices etc.? > > One of the conditions of being allowed to continue to supply Internet > Explorer in boxed Windows 7 packs in the EU. was that they would add a > "Browser Choice" page that would allow the user to choose any of the big 5 > browsers to install on their new setup. > > Nice idea, but I just installed a clean Win7 setup and all the other > browsers are available EXCEPT FireFox ! > > Honestly, I just think that's silly. When I start up OS X for the first time it doesn't ask me if I'd like to use Opera, Chrome, or FF instead of Safari. IMO, the only real annoyance w/ IE was that Explorer (the file browser) was - for all intensive purposes - Explorer (the internet browser). They were the same thing disguised as two separate apps. I believe that is no longer true. It takes me all of 3 minutes to use IE to download a different browser and set it as my default. Oh, and making Windows Update require IE sucks, too, though. ;-) Jeff M. From cjw at eml.cc Thu Jan 13 19:30:29 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Thu, 13 Jan 2011 18:30:29 -0600 Subject: Debugging VB vs LC Message-ID: <4D2F9925.8050904@eml.cc> Hi, My history has a lot of VB involved. I must admit, I really "loved" the VB debugger and tools. I have done some testing in LC with the debugger, but it is a different animal, which we all know. Given one can code in a few hours and the spend days(weeks?) debugging complex code, I would appreciate any comparative experience, if any and just your thoughts on the debugger. TIA, Calvin From bobs at twft.com Thu Jan 13 19:43:05 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 13 Jan 2011 16:43:05 -0800 Subject: Your message to use-livecode awaits moderator approval In-Reply-To: <4D2F9612.80505@eml.cc> References: <4c68a.7482b02c.3a60ea2a@aol.com> <4D2F9612.80505@eml.cc> Message-ID: Mine never have gone through. I just repost. Bob On Jan 13, 2011, at 4:17 PM, Calvin Waterbury wrote: > Hi Craig, > > I think you may be right. I'll wait and see if the mods go ahead and send the messages through. They might be a touch dated by then, but it won't clog the list with dupes. This list is *busy* enough without those kind of shenanigans. :) > > Fair winds, > Calvin > >> ------------------------------------------------------------------------ >> >> DunbarX at aol.com >> Thursday, January 13, 2011 5:52 PM >> >> >> This used to happen to me when I sent code snippets by simply copying and >> pasting the styled text taken from the script editor into the body of an >> email message. The styled text makes a much larger file than you would think. I >> always convert to plain text before I paste. >> >> Is this the culprit? >> >> 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 bobs at twft.com Thu Jan 13 19:49:08 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 13 Jan 2011 16:49:08 -0800 Subject: OT: Are Microsoft really at it again! In-Reply-To: References: <4D2F8AE6.9070707@tiscali.co.uk> Message-ID: Actually, I don't think it does require IE. You can have updates download and install automatically, or you can use the command line tool wuauclt. The switch you want is /detectnow. There is no /installnow though. Odd huh? Instead there is a script someone wrote that will force Windows Update Services to do the update. It's called updatehfhf.vbs. You would launch it from a command line using cscript.exe . I use it in conjunction with PSTools (psexec) to force an update of Windows for all my domain computers. One caveat though. It appears that certain updates cannot be received until you run the Windows Genuine Advantage update which ONLY runs from IE. At least it will not download in the WSUS server (local instance of Windows Update Server). Bob On Jan 13, 2011, at 4:25 PM, Jeff Massung wrote: > Oh, and making Windows Update require IE sucks, too, though. ;-) > > Jeff M. From jacque at hyperactivesw.com Thu Jan 13 20:04:08 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 13 Jan 2011 19:04:08 -0600 Subject: Windows code signing Message-ID: <4D2FA108.6060709@hyperactivesw.com> I'm in the position of wanting to release a no-cost or low-cost app for Windows, but without a code-signing certificate Windows puts up the scary "untrusted publisher" notification every time the app launches. Certificates cost a couple hundred dollars and I don't want to do that. So the question is, how do other shareware or freeware authors deal with it? Are users so used to it by now they'll just click OK and proceed? What do you guys do? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From massung at gmail.com Thu Jan 13 20:07:28 2011 From: massung at gmail.com (Jeff Massung) Date: Thu, 13 Jan 2011 18:07:28 -0700 Subject: Debugging VB vs LC In-Reply-To: <4D2F9925.8050904@eml.cc> References: <4D2F9925.8050904@eml.cc> Message-ID: Calvin, I think you'll be pleasantly surprised at how much less debugging you'll be spending in LC vs. VB (or C# or other compiled languages). Most debugging (in VB, ...) is based around inspecting variables and objects, because those things are only available to you while the program is actually running. Let's take something that I've done recently and I'll walk you through what I mean. Let's say you wanted to make a simple RSS reader. Assuming you've laid out your controls and are actually "programming" now. In VB you'd do something like this in the script for a button: sub OnClick() dim socket as RssSocket = new RssSocket() socket.Load("http://foo.com/rss.xml") end ' in RssSocket, which is a subclass of HttpSocket sub OnLoadComplete(content as string) dim doc as XmlDocument = new XmlDocument() doc.Load(content) foreach(item in doc.FindElement("/channel/item")) ' ... next end Let's look at this a bit more. First, you had to write code to subclass HttpSocket to make RssSocket so you could override OnLoadComplete. Now, you discover that somewhere in all of this is a bug. So you sent breakpoints in OnClick() and OnLoadComplete(). Breakpoints hit, you examine the socket object, the document object, maybe you find a bug. You stop the debugger (and the program), you edit some code, recompile, try again. Now let's look at the same process in LC (again, like th VB this is pseudo code)... on mouseUp get url "http://foo.com/rss.xml" set the cRssText of field "Headlines" to it parseHeadlines end mouseUp command parseHeadlines put revXMLCreateTree(the cRssText of field "Headlines") into tDoc put revXMLChildItems(tDoc, "/channel/items") into tItems repeat for each line tItem in tItems # ... end repeat end parseHeadlines I tried to keep the spirit of the VB code alive in the Rev code. First off, we didn't have to subclass anything. We just created a custom property of the field control on a whim because it was convenient. Second, there's no "debugging" yet. Sure, we can set breakpoints if we needed to, but there's no real separation of code-time and run-time, because there's no compile-time like there is in the VB. Let's say we click the button but we don't see any headlines? We just open up the inspector for our field control and look at the cRssText property we set. Does it have XML in it? If not, we'll what is there instead (maybe an error message). Maybe there is XML in the property -- so downloading the RSS worked, but there's something wrong with our parsing code. So, we set breakpoints check some stuff out and modify code. But there's no need to click the button and try again. Instead, just r-click the field and send the "parseHeadlines" message to it. After all, you never actually stopped running your program and the RSS XML data never went away. Just try parsing it again. That's a trivial example. But the principle holds true for much larger projects. Imagine you wrote some code that took a whole ton of data and did a lot of processing on it. At the end of that processing (let's say 10 minutes later), something didn't work. Making a change, recompiling, and running through that 10 minute wait again just to see if your change worked would be horrible - talk about wasting time/money! With LC you don't have that problem. You just make a change and continue from where you left off. Try it yourself. A friend of mine finally grokked LC once he made something stupidly simple: and RPN calculator in LC (which he didn't know) and then remade it C# (which he did know). After a little while in LC and he just figured out that his program was live (pun intended) all the time, remaking the app in C# was just a painful experience. Jeff M. From dr.alistair at gmail.com Thu Jan 13 20:16:45 2011 From: dr.alistair at gmail.com (planix) Date: Thu, 13 Jan 2011 17:16:45 -0800 (PST) Subject: WordReport introductory sale ending In-Reply-To: <4D2EF908.2010905@pair.com> References: <4D2EF908.2010905@pair.com> Message-ID: <1294967805030-3217043.post@n4.nabble.com> Hi Curry, This is just what I've been waiting for. I have downloaded and will get started on my new app including this. Thanks and congratulations Alistair -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/WordReport-introductory-sale-ending-tp3215800p3217043.html Sent from the Revolution - User mailing list archive at Nabble.com. From dougtechie at tiscali.co.uk Thu Jan 13 20:48:02 2011 From: dougtechie at tiscali.co.uk (Douglas) Date: Fri, 14 Jan 2011 01:48:02 +0000 Subject: OT: Are Microsoft really at it again! In-Reply-To: References: <4D2F8AE6.9070707@tiscali.co.uk> Message-ID: <4D2FAB52.3060005@tiscali.co.uk> On 14/01/2011 00:25, Jeff Massung wrote: > Honestly, I just think that's silly. When I start up OS X for the first time > it doesn't ask me if I'd like to use Opera, Chrome, or FF instead of > Safari. > I agree, and also find it annoying that Apple are allowed to bundle Safari without a similar notification at least. Also, I think it odd that Apple can bundle Safari and disallow other browsers on the iPad due to the approval system. I have tried a few "alternative" browsers on iPad and they were completely unreliable, but so is Safari on some websites! (That is completely aside from the Flash issue.) Douglas From cjw at eml.cc Thu Jan 13 21:19:00 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Thu, 13 Jan 2011 20:19:00 -0600 Subject: Debugging VB vs LC In-Reply-To: References: <4D2F9925.8050904@eml.cc> Message-ID: <4D2FB294.6060302@eml.cc> Hi Jeff, Very nice! I really appreciate your taking the time to compose such an illustrative post. I'm not sure I understood every step, but I do understand how to compare. This has been a most enlightening exercise. Fair winds, Calvin > ------------------------------------------------------------------------ > > Jeff Massung > Thursday, January 13, 2011 7:07 PM > > > Calvin, > > I think you'll be pleasantly surprised at how much less debugging > you'll be > spending in LC vs. VB (or C# or other compiled languages). > > Most debugging (in VB, ...) is based around inspecting variables and > objects, because those things are only available to you while the > program is > actually running. Let's take something that I've done recently and > I'll walk > you through what I mean. > > Let's say you wanted to make a simple RSS reader. Assuming you've laid out > your controls and are actually "programming" now. In VB you'd do something > like this in the script for a button: > > sub OnClick() > dim socket as RssSocket = new RssSocket() > socket.Load("http://foo.com/rss.xml") > end > > ' in RssSocket, which is a subclass of HttpSocket > sub OnLoadComplete(content as string) > dim doc as XmlDocument = new XmlDocument() > doc.Load(content) > foreach(item in doc.FindElement("/channel/item")) > ' ... > next > end > > Let's look at this a bit more. First, you had to write code to subclass > HttpSocket to make RssSocket so you could override OnLoadComplete. > Now, you > discover that somewhere in all of this is a bug. So you sent > breakpoints in > OnClick() and OnLoadComplete(). Breakpoints hit, you examine the socket > object, the document object, maybe you find a bug. You stop the debugger > (and the program), you edit some code, recompile, try again. > > Now let's look at the same process in LC (again, like th VB this is pseudo > code)... > > on mouseUp > get url "http://foo.com/rss.xml" > set the cRssText of field "Headlines" to it > parseHeadlines > end mouseUp > > command parseHeadlines > put revXMLCreateTree(the cRssText of field "Headlines") into tDoc > put revXMLChildItems(tDoc, "/channel/items") into tItems > > repeat for each line tItem in tItems > # ... > end repeat > end parseHeadlines > > I tried to keep the spirit of the VB code alive in the Rev code. First > off, > we didn't have to subclass anything. We just created a custom property of > the field control on a whim because it was convenient. > > Second, there's no "debugging" yet. Sure, we can set breakpoints if we > needed to, but there's no real separation of code-time and run-time, > because > there's no compile-time like there is in the VB. Let's say we click the > button but we don't see any headlines? We just open up the inspector > for our > field control and look at the cRssText property we set. Does it have > XML in > it? If not, we'll what is there instead (maybe an error message). > > Maybe there is XML in the property -- so downloading the RSS worked, but > there's something wrong with our parsing code. So, we set breakpoints > check > some stuff out and modify code. But there's no need to click the > button and > try again. Instead, just r-click the field and send the "parseHeadlines" > message to it. After all, you never actually stopped running your program > and the RSS XML data never went away. Just try parsing it again. > > That's a trivial example. But the principle holds true for much larger > projects. Imagine you wrote some code that took a whole ton of data > and did > a lot of processing on it. At the end of that processing (let's say 10 > minutes later), something didn't work. Making a change, recompiling, and > running through that 10 minute wait again just to see if your change > worked > would be horrible - talk about wasting time/money! With LC you don't have > that problem. You just make a change and continue from where you left off. > > Try it yourself. A friend of mine finally grokked LC once he made > something > stupidly simple: and RPN calculator in LC (which he didn't know) and then > remade it C# (which he did know). After a little while in LC and he just > figured out that his program was live (pun intended) all the time, > remaking > the app in C# was just a painful experience. > > Jeff M. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ------------------------------------------------------------------------ > > Calvin Waterbury > Thursday, January 13, 2011 6:30 PM > > > Hi, > > My history has a lot of VB involved. I must admit, I really "loved" > the VB debugger and tools. I have done some testing in LC with the > debugger, but it is a different animal, which we all know. > > Given one can code in a few hours and the spend days(weeks?) debugging > complex code, I would appreciate any comparative experience, if any > and just your thoughts on the debugger. > > TIA, > Calvin From mwieder at ahsoftware.net Thu Jan 13 21:44:09 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 13 Jan 2011 18:44:09 -0800 Subject: Global in debugger redux In-Reply-To: <4658d.2619dded.3a60d333@aol.com> References: <4658d.2619dded.3a60d333@aol.com> Message-ID: <39746876656.20110113184409@ahsoftware.net> Craig- You might want to try ... if gREVDevelopment is false then filter tGlobalsRaw without "grev*" end if ... -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Jan 13 21:48:26 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 13 Jan 2011 18:48:26 -0800 Subject: Some thoughts on duck typing In-Reply-To: <4D2F2208.9080901@fourthworld.com> References: <4D2F2208.9080901@fourthworld.com> Message-ID: <56747133187.20110113184826@ahsoftware.net> Richard- Thursday, January 13, 2011, 8:02:16 AM, you wrote: > How did you do that for any objects other than images? It can be done, but it's *really* ugly. Determine the ID you want to create (it's best to create a numerically-sorted list if you're doing more than one), then start creating and deleting objects until you've created one with an ID one less than that. Then go ahead and create your new object. Rinse and repeat. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Jan 13 21:51:11 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 13 Jan 2011 18:51:11 -0800 Subject: ID's are settable??? In-Reply-To: <4D2F63C4.9080308@fourthworld.com> References: <4D2F63C4.9080308@fourthworld.com> Message-ID: <189747298203.20110113185111@ahsoftware.net> Richard- Thursday, January 13, 2011, 12:42:44 PM, you wrote: > For settable IDs, Mark Wieder could make a stronger case than I could, > since this feature was added to support a nifty new tool he's been > working on. Yep, you can all thank me for lobbying to get this implemented. If you don't absolutely need this feature (and it's pretty obvious that since nobody noticed its appearance that nobody really needs it) then don't mess with it. Please. You can get into all sorts of trouble. It is indeed the pistol-and-map-to-foot syndrome. But it's absolutely essential for version control and had to be implemented at the engine level. -- -Mark Wieder mwieder at ahsoftware.net From stephenREVOLUTION2 at barncard.com Thu Jan 13 21:55:36 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 13 Jan 2011 20:55:36 -0600 Subject: Your message to use-livecode awaits moderator approval In-Reply-To: <4D2F9612.80505@eml.cc> References: <4c68a.7482b02c.3a60ea2a@aol.com> <4D2F9612.80505@eml.cc> Message-ID: sometimes it's the quoting - every reply adds more text if you don't clean it up. Attachments will not work, just links. On 13 January 2011 18:17, Calvin Waterbury wrote: > Hi Craig, > > I think you may be right. I'll wait and see if the mods go ahead and send > the messages through. They might be a touch dated by then, but it won't > clog the list with dupes. This list is *busy* enough without those kind of > shenanigans. :) > > Fair winds, > Calvin > > ------------------------------------------------------------------------ >> >> DunbarX at aol.com >> Thursday, January 13, 2011 5:52 PM >> >> >> >> This used to happen to me when I sent code snippets by simply copying and >> pasting the styled text taken from the script editor into the body of an >> email message. The styled text makes a much larger file than you would >> think. I >> always convert to plain text before I paste. >> >> Is this the culprit? >> >> 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From stephenREVOLUTION2 at barncard.com Thu Jan 13 21:56:14 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 13 Jan 2011 20:56:14 -0600 Subject: Windows code signing In-Reply-To: <4D2FA108.6060709@hyperactivesw.com> References: <4D2FA108.6060709@hyperactivesw.com> Message-ID: sounds like a hostage situation. On 13 January 2011 19:04, J. Landman Gay wrote: > I'm in the position of wanting to release a no-cost or low-cost app for > Windows, but without a code-signing certificate Windows puts up the scary > "untrusted publisher" notification every time the app launches. Certificates > cost a couple hundred dollars and I don't want to do that. > > So the question is, how do other shareware or freeware authors deal with > it? Are users so used to it by now they'll just click OK and proceed? What > do you guys do? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From cjw at eml.cc Thu Jan 13 21:57:47 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Thu, 13 Jan 2011 20:57:47 -0600 Subject: LiveCode Newbie questions In-Reply-To: <1294961427639-3216935.post@n4.nabble.com> References: <4D2F7252.6070208@eml.cc> <4D2F7F50.5000802@fourthworld.com> <4D2F81B1.2010204@eml.cc> <1294961427639-3216935.post@n4.nabble.com> Message-ID: <4D2FBBAB.5080303@eml.cc> Hi Alejandro, FYI - I found this in my "Drafts" folder. If I sent it previously, please accept my apologies. > -------------------------------------------------------------------------------- > > Alejandro Tejada > Thursday, January 13, 2011 5:30 PM > > > Hi Calvin, > > Did you created a flowchart > of the software that you > want to create? > > http://en.wikipedia.org/wiki/Flowchart > > Alejandro > -------------------------------------------------------------------------------- > > Calvin Waterbury > Thursday, January 13, 2011 4:50 PM > > > Hi Richard, > > Ye Sir! Your tone and attitude, as well as the content reflect exactly that of > my mentor. He's been at it about two years. He goes by "Doc." At least that was > his moniker when I became acquainted with him. He's a great guy! > > Thanks for the encouragement. > > Fair winds, > Calvin > > > -------------------------------------------------------------------------------- > > > > Richard Gaskin > > Thursday, January 13, 2011 4:40 PM > > > > > > Welcome aboard, Calvin. > > > > Calvin Waterbury wrote: > > > > > > Yep. I understand that's sometimes shocking to VB devs, and more so to folks > > who've used TookBook, which throws DLLs and .tb files all over the system (I > > liked many things about ToolBook, but their installation complexity wasn't one > > of them). > > > > The LiveCode engine packs a lot into its modest 2.5MB size, and has no > > dependencies on anything else except for any optional DLL externals you may > > choose to use. > > > > The most frequent tech support question I get from the institutional customers > > I support is from IT staffers who can't believe that installing our > > LiveCode-based app is as simple as we describe it. When I tell them it has no > > dependencies on any DLLs, and runs on every Win system from 2000 through 7, > > they still keep asking, "What else does it need to install?" > > > > When I finally convince them to to just try using the simple instructions we > > provide, most of the time they write me back with something like, "Wow, so > > simple. Never seen anything like that." > > > > > > This is one of the benefits of cross-platform computing, at least with > > LiveCode. While multiple DLL dependencies are common in Windows apps, Linux > > handles things differently and Mac users have no patience with that sort of > > thing. > > > > Yes, using LiveCode is definitely weird, but in the literal sense: of or > > pertaining to the supernatural. :) > > > > It can be a mind-bender to get used to, but once you do I suspect you'll find > > a lot of things surprisingly easy. > > > > -- > > Richard Gaskin > > Fourth World > > LiveCode training and consulting: http://www.fourthworld.com > > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > -------------------------------------------------------------------------------- > > Calvin Waterbury > Thursday, January 13, 2011 3:44 PM > > > Hi, > > I have just begun in LC and frankly, some of the comments in the "Vent!" > thread scares me! Also, I have/am reading all the FAQ stuff I can, but it's > tough to sort it all out at his time, so if I ask a inappropriate(read: > "dumb")question, just send me to my room. PLEASE don't hit me?!? > > I have a graphics-dragging app that has been coded and complies into a single > exec. Do all apps created in LC compile to a single exec, say an app that has > a database? > > Thanks for the help... I'm gonna need it! > Calvin > From mwieder at ahsoftware.net Thu Jan 13 21:59:32 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 13 Jan 2011 18:59:32 -0800 Subject: LiveCode Newbie questions In-Reply-To: <4D2F7730.9020200@eml.cc> References: <4D2F7252.6070208@eml.cc> <4D2F7730.9020200@eml.cc> Message-ID: <180747798968.20110113185932@ahsoftware.net> Calvin- Thursday, January 13, 2011, 2:05:36 PM, you wrote: > I coded in Visual Basic for a few years and making the paradigm > shift to LC is weird. Now *there's* an understatement... > Do you know if I purchase the personal license and code in it until I > am ready to go commercial and *then* upgrade to a commercial license, > will my apps upgrade too or will I have to recode/recompile?? That's the way I'd go, given your situation. Get the personal license now, upgrade later. Have fun playing around with it until you're ready to build something commercial and do the upgrade then. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Jan 13 21:59:35 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 13 Jan 2011 18:59:35 -0800 Subject: Debugging VB vs LC In-Reply-To: <4D2F9925.8050904@eml.cc> References: <4D2F9925.8050904@eml.cc> Message-ID: <108747802562.20110113185935@ahsoftware.net> Calvin- Thursday, January 13, 2011, 4:30:29 PM, you wrote: > My history has a lot of VB involved. I must admit, I really "loved" > the VB debugger and tools. I have done some testing in LC with the > debugger, but it is a different animal, which we all know. > Given one can code in a few hours and the spend days(weeks?) debugging > complex code, I would appreciate any comparative experience, if any and > just your thoughts on the debugger. At this point I would be remiss not mentionin PowerDebug. There's a nag-but-otherwise-fully-functional version on revOnline, a walkthrough demo at http://www.ahsoftware.net/PowerTools/PowerDebug/PDDemo.html, and you can buy the full version at http://www.ahsoftware.net/PowerTools/BuyPowerDebug.irev Oh...and welcome to the list. -- -Mark Wieder mwieder at ahsoftware.net From cjw at eml.cc Thu Jan 13 22:03:44 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Thu, 13 Jan 2011 21:03:44 -0600 Subject: Your message to use-livecode awaits moderator approval In-Reply-To: References: <4c68a.7482b02c.3a60ea2a@aol.com> <4D2F9612.80505@eml.cc> Message-ID: <4D2FBD10.5070301@eml.cc> Hi Stephen, I read you. I'll have to check and see if my email client (Postbox) has a setting to include only the last XX characters, lines, etc. Thanks for the heads-up! Calvin From cjw at eml.cc Thu Jan 13 22:13:24 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Thu, 13 Jan 2011 21:13:24 -0600 Subject: LiveCode Newbie questions In-Reply-To: <180747798968.20110113185932@ahsoftware.net> References: <4D2F7252.6070208@eml.cc> <4D2F7730.9020200@eml.cc> <180747798968.20110113185932@ahsoftware.net> Message-ID: <4D2FBF54.1010308@eml.cc> Hi Mark, Thanks for the reply. Unfortunately, I can't wait. I have an app out there right now. Someone migrated my BASIC code to LiveCode and compiled it to get it up before a deadline. The app seems to be well received, so I don't want to mess up the reception with the nag screens the Personal License applies. FYI - Oddly, at this time, cash flow is not an issue, so getting the commercial license would not be a problem. I am not in a hurry, even though I *really* am! FYI - Here is the link to the app. I call it, "VeggieSquares." It is in a pre-release version, so don't look at it too close. http://www.donationcoder.com/forum/index.php?topic=23881.msg216792#msg216792 Fair winds, Calvin From jacque at hyperactivesw.com Thu Jan 13 22:33:16 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 13 Jan 2011 21:33:16 -0600 Subject: ID's are settable??? In-Reply-To: <189747298203.20110113185111@ahsoftware.net> References: <4D2F63C4.9080308@fourthworld.com> <189747298203.20110113185111@ahsoftware.net> Message-ID: <4D2FC3FC.6050200@hyperactivesw.com> On 1/13/11 8:51 PM, Mark Wieder wrote: > If you > don't absolutely need this feature (and it's pretty obvious that since > nobody noticed its appearance that nobody really needs it) then don't > mess with it. Please. You can get into all sorts of trouble. It is > indeed the pistol-and-map-to-foot syndrome. I second that. RR is getting tech queue questions from people who are changing IDs without realizing they can now conflict with card IDs. Eventually their stack is a mess and starts failing to recognize cards, or showing wrong images, or appearing to have "lost" images. The ability should come with a big circle/slash over it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Jan 13 22:34:25 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 13 Jan 2011 21:34:25 -0600 Subject: Windows code signing In-Reply-To: References: <4D2FA108.6060709@hyperactivesw.com> Message-ID: <4D2FC441.2070501@hyperactivesw.com> On 1/13/11 8:56 PM, stephen barncard wrote: > sounds like a hostage situation. Well, to be fair, Verisign gets the money. But still. > > On 13 January 2011 19:04, J. Landman Gay wrote: > >> I'm in the position of wanting to release a no-cost or low-cost app for >> Windows, but without a code-signing certificate Windows puts up the scary >> "untrusted publisher" notification every time the app launches. Certificates >> cost a couple hundred dollars and I don't want to do that. >> >> So the question is, how do other shareware or freeware authors deal with >> it? Are users so used to it by now they'll just click OK and proceed? What >> do you guys do? >> >> -- >> 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 >> > > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From katir at hindu.org Thu Jan 13 23:08:36 2011 From: katir at hindu.org (Web Admin Himalayan Academy) Date: Thu, 13 Jan 2011 18:08:36 -1000 Subject: Windows code signing In-Reply-To: <4D2FC441.2070501@hyperactivesw.com> References: <4D2FA108.6060709@hyperactivesw.com> <4D2FC441.2070501@hyperactivesw.com> Message-ID: <4D2FCC44.6040202@hindu.org> On 1/13/11 5:34 PM, J. Landman Gay wrote: > On 1/13/11 8:56 PM, stephen barncard wrote: >> sounds like a hostage situation. > > Well, to be fair, Verisign gets the money. But still. Yep, freeware, non-profits deploying simply utilities to volunteers have to bite the bullet: Tucows is as about as cheap as it gets: 1 year Comodo Code Signing Certificate: $75 2 year Comodo Code Signing Certificate: $140 3 year Comodo Code Signing Certificate: $195 From bvlahos at mac.com Thu Jan 13 23:09:50 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 13 Jan 2011 20:09:50 -0800 Subject: Windows code signing In-Reply-To: <4D2FA108.6060709@hyperactivesw.com> References: <4D2FA108.6060709@hyperactivesw.com> Message-ID: Jaqui, I think most users won't care and I've certainly run such software myself. The version of InfoWallet that is downloadable from the web site is still not signed (I plan on making the signed version available in the near future) and I haven't had anyone complain except when Norton flagged it as suspect. Signing it solved that problem immediately. I have successfully code signed InfoWallet with a TUCOWS/Comodo certificate which only costs $75 (what a deal). The process is very difficult, tedious, and time consuming to set up for any of the sources. Once set up as a batch file it is now trivially simple for me to sign apps - just drag and drop. When I get some time I will try to document the procedure. Here are some links that were instrumental to me and one of them has a link to a $49 commercial application to help make is easier. I haven't looked at it (doing it the hard way myself) but if it is half as good as they describe it would be worth it. http://www.wiscocomputing.com/articles/code-signing.htm http://msdn.microsoft.com/en-us/library/8s9b9yaz(VS.80).aspx http://help.godaddy.com/article/4782 Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Jan 13, 2011, at 5:04 PM, J. Landman Gay wrote: > I'm in the position of wanting to release a no-cost or low-cost app for Windows, but without a code-signing certificate Windows puts up the scary "untrusted publisher" notification every time the app launches. Certificates cost a couple hundred dollars and I don't want to do that. > > So the question is, how do other shareware or freeware authors deal with it? Are users so used to it by now they'll just click OK and proceed? What do you guys do? > > -- > 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 bvlahos at mac.com Thu Jan 13 23:42:39 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 13 Jan 2011 20:42:39 -0800 Subject: OT: Are Microsoft really at it again! In-Reply-To: <4D2F91E1.5050006@fourthworld.com> References: <4D2F91E1.5050006@fourthworld.com> Message-ID: <61A35F7F-BEA0-47D6-A5F4-D517A9908A04@mac.com> Yeah its a tough choice. I was astounded the other day when I was talking with a co-worker about him giving me a tab delimited text export and he went on and on about how he loved CSV. Bonkers! Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Jan 13, 2011, at 3:59 PM, Richard Gaskin wrote: > I'm not sure which should die first: the CSV file format, or all non-standard implementations in IE. Man, that would be a tough choice... From pete at mollysrevenge.com Fri Jan 14 01:44:22 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Thu, 13 Jan 2011 22:44:22 -0800 Subject: Saving data in standalones Message-ID: I'd like to double check something on the issue of saving data in standalones so I don't go charging down the wrong path. I'm specifically interested in saving the values of custom properties. I know their values won't survive across runs of the standalone but are they maintained while the standalone is running? In other words, if I set the value of a custom property and later try to get it back in the same run of the standalone, will I get the value I saved? Thanks, Pete Haworth From cjw at eml.cc Fri Jan 14 01:45:56 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Fri, 14 Jan 2011 00:45:56 -0600 Subject: Newbie Q: LiveCode Forum Message-ID: <4D2FF124.2050302@eml.cc> Hi, I was wondering who here frequents the LC forum? I'm curious because I have tried to keep up with this list. It reminds me of 1982 when I tried to read every article in the "Wall Street Journal!" Whoosh! I never made through one issue and once, I started "stacking up for the weekend," it was all over! :) Anyway, I'm just wondering if I might get the same help on the forum? Thanks for the help, Calvin From mwieder at ahsoftware.net Fri Jan 14 02:12:54 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 13 Jan 2011 23:12:54 -0800 Subject: Saving data in standalones In-Reply-To: References: Message-ID: <2763001000.20110113231254@ahsoftware.net> Pete- Thursday, January 13, 2011, 10:44:22 PM, you wrote: > In other words, if I set the value of a custom property and later > try to get it back in the same run of the standalone, will I get the > value I saved? Yes. No worries. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Jan 14 02:14:48 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 13 Jan 2011 23:14:48 -0800 Subject: Newbie Q: LiveCode Forum In-Reply-To: <4D2FF124.2050302@eml.cc> References: <4D2FF124.2050302@eml.cc> Message-ID: <159763115531.20110113231448@ahsoftware.net> Calvin- Thursday, January 13, 2011, 10:45:56 PM, you wrote: > Anyway, I'm just wondering if I might get the same help on the forum? Don't know, but are you aware that this group is also archived on gmane? Not only is it a good way to read the group, you can also search posts back to 2005 or so. -- -Mark Wieder mwieder at ahsoftware.net From cjw at eml.cc Fri Jan 14 02:43:57 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Fri, 14 Jan 2011 01:43:57 -0600 Subject: Newbie Q: LiveCode Forum In-Reply-To: <159763115531.20110113231448@ahsoftware.net> References: <4D2FF124.2050302@eml.cc> <159763115531.20110113231448@ahsoftware.net> Message-ID: <4D2FFEBD.8090907@eml.cc> Hi Mark, What and/or where is "gmane?" Thanks, Calvin From mwieder at ahsoftware.net Fri Jan 14 02:51:12 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 13 Jan 2011 23:51:12 -0800 Subject: Newbie Q: LiveCode Forum In-Reply-To: <4D2FFEBD.8090907@eml.cc> References: <4D2FF124.2050302@eml.cc> <159763115531.20110113231448@ahsoftware.net> <4D2FFEBD.8090907@eml.cc> Message-ID: <63765299046.20110113235112@ahsoftware.net> Calvin- Thursday, January 13, 2011, 11:43:57 PM, you wrote: > What and/or where is "gmane?" http://news.gmane.org/gmane.comp.ide.revolution.user Have fun. -- -Mark Wieder mwieder at ahsoftware.net From cjw at eml.cc Fri Jan 14 04:00:14 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Fri, 14 Jan 2011 03:00:14 -0600 Subject: Newbie Q: LiveCode Forum In-Reply-To: <63765299046.20110113235112@ahsoftware.net> References: <4D2FF124.2050302@eml.cc> <159763115531.20110113231448@ahsoftware.net> <4D2FFEBD.8090907@eml.cc> <63765299046.20110113235112@ahsoftware.net> Message-ID: <4D30109E.1080909@eml.cc> Hi Mark, Thank you for the link! Take care, Calvin From admin at FlexibleLearning.com Fri Jan 14 04:01:36 2011 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Fri, 14 Jan 2011 09:01:36 -0000 Subject: [ANN] ChartMaker update In-Reply-To: Message-ID: An update to ChartMaker is available, including a new playground stack demonstrating on-screen data input. Click the 'Check for updates...' link in the program, or read about this library and download a free trial copy here: http://www.runrev.com/store/product/chartmaker About... ChartMaker - A library solution with wizard to present and manipulate charts ChartMaker from The Flexible Learning Company is a fully featured cross-platform library solution designed to create professional charts in your own work. The download includes a wizard, fully annotated documentation and unlocked example Playgrounds. Hugh Senior FLCo From david at dvglasgow.wanadoo.co.uk Fri Jan 14 05:10:42 2011 From: david at dvglasgow.wanadoo.co.uk (David Glasgow) Date: Fri, 14 Jan 2011 10:10:42 +0000 Subject: use-livecode Digest, Vol 88, Issue 22 In-Reply-To: References: Message-ID: <7DA37554-2D47-4849-83DD-097614642494@dvglasgow.wanadoo.co.uk> On 11 Jan 2011, at 5:36 am, use-livecode-request at lists.runrev.com wrote: > I'll leave it up to the psychologists on this list to examine my insanity from that :-) 'Fraid that's it. Certified Mental ;-) (for a framed copy of the certificate for only $99.99, contact me off list) Best Wishes, David Glasgow Carlton Glasgow Partnership i-psych.co.uk From bill at bluewatermaritime.com Fri Jan 14 07:35:34 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Fri, 14 Jan 2011 08:35:34 -0400 Subject: Rev Icons In-Reply-To: <4871334F.9070706@hyperactivesw.com> References: <4871049B.80805@hyperactivesw.com> <4871334F.9070706@hyperactivesw.com> Message-ID: --Rev's icon picker will display images that appear in the current stack if you choose "This Stack" from the ---popup menu. But (if I remember right) it won't display images in any other stacks, even if they are in the ----message hierarchy. You need to make a stack the current one to see what images it contains. I'm storing all my icon images in a card in the main stack of my application. When I'm in other sub-stacks and try to use that image in a new button it's not only not visible but sometimes even pasting in the ID doesn't work. Is there a better way to store all your icons? Ideally I'd like to have a particular ID be an "edit" icon the same throughout every card and substack and then if I decide to change that icon slightly I would like to do that in the place it is stored and then see those changes reflected everywhere that ID is. Presently what happens is putting a replacement image in increments to a new ID and then changing the ID in that image makes no difference or a confusing hodge-podge of difference. Any suggestions on a better way to catalogue the interface elements in a project and be able to make adjustments in the design easily? From david at vaudevillecourt.tv Fri Jan 14 08:54:40 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Fri, 14 Jan 2011 13:54:40 +0000 Subject: Required: shell scripting wizard! Message-ID: Actually maybe it is not so hard :) I want to create a way to launch LiveCode using shell, but also to pass to it a url in the first param of the shell command. As I don't think you can do this directly anymore using shell scritps written in LiveCode - I think I need to write a bash script and set an environmental variable which I can then access using $ in Livecode? This is what I need to do: A shell command used to launch your preferred web browser when given a URL as an argument. > > Defaults to "start" on windows, "open" on Mac, and "firefox" on Unix. > > Any thoughts? From bonnmike at gmail.com Fri Jan 14 09:21:42 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 14 Jan 2011 07:21:42 -0700 Subject: Required: shell scripting wizard! In-Reply-To: References: Message-ID: >From the command line if you do yourApp http://www.google.com $1 will contain the url. Works the same from a bash script. #!/bin/bash path/to/yourApp $1 -- will call your app using parameter 1 as parameter 1 inside the app. -- Access it the same way within the app itself using $1 $1 is actually the 2nd parameter, $0 will contain the name of the app (or shell script depending) On Fri, Jan 14, 2011 at 6:54 AM, David Bovill wrote: > Actually maybe it is not so hard :) I want to create a way to launch > LiveCode using shell, but also to pass to it a url in the first param of > the > shell command. As I don't think you can do this directly anymore using > shell > scritps written in LiveCode - I think I need to write a bash script and set > an environmental variable which I can then access using $ in Livecode? > > This is what I need to do: > > A shell command used to launch your preferred web browser when given a > URL as an argument. > > > > Defaults to "start" on windows, "open" on Mac, and "firefox" on Unix. > > > > Any thoughts? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Fri Jan 14 09:30:02 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 14 Jan 2011 07:30:02 -0700 Subject: Required: shell scripting wizard! In-Reply-To: References: Message-ID: Nvm, its early and I just re-iterated what you aleady know you need to do. *goes back to bed* On Fri, Jan 14, 2011 at 7:21 AM, Mike Bonner wrote: > From the command line if you do yourApp http://www.google.com > > $1 will contain the url. Works the same from a bash script. > > #!/bin/bash > path/to/yourApp $1 > -- will call your app using parameter 1 as parameter 1 inside the app. > -- Access it the same way within the app itself using $1 > > $1 is actually the 2nd parameter, $0 will contain the name of the app (or > shell script depending) > > On Fri, Jan 14, 2011 at 6:54 AM, David Bovill wrote: > >> Actually maybe it is not so hard :) I want to create a way to launch >> LiveCode using shell, but also to pass to it a url in the first param of >> the >> shell command. As I don't think you can do this directly anymore using >> shell >> scritps written in LiveCode - I think I need to write a bash script and >> set >> an environmental variable which I can then access using $ in Livecode? >> >> This is what I need to do: >> >> A shell command used to launch your preferred web browser when given a >> URL as an argument. >> > >> > Defaults to "start" on windows, "open" on Mac, and "firefox" on Unix. >> > >> > Any thoughts? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From DunbarX at aol.com Fri Jan 14 09:37:14 2011 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 14 Jan 2011 09:37:14 EST Subject: Global in debugger redux Message-ID: <69c8f.2948e131.3a61b99a@aol.com> Mark. Good point. Is there a document somewhere that, like the dictionary, explains these UI variables? Craig In a message dated 1/13/11 9:46:03 PM, mwieder at ahsoftware.net writes: > gREVDevelopment > From rjb at robelko.com Fri Jan 14 10:12:33 2011 From: rjb at robelko.com (Robert Brenstein) Date: Fri, 14 Jan 2011 16:12:33 +0100 Subject: LiveCode Newbie questions In-Reply-To: <4D2F7730.9020200@eml.cc> References: <4D2F7252.6070208@eml.cc> <4D2F7730.9020200@eml.cc> Message-ID: On 13.01.2011 at 16:05 Uhr -0600 Calvin Waterbury apparently wrote: > > Do you know if I purchase the personal license and code in it until >I am ready to go commercial and *then* upgrade to a commercial >license, will my apps upgrade too or will I have to >recode/recompile?? > Calvin, As far as I know, whatever license is active at the time you produce the standalone, its rules apply. Certainly no need to recode anything. You can confirm that with support but I believe that you can develop on personal license and switch to commercial before producing the final app for distribution. Robert From andre at andregarzia.com Fri Jan 14 10:29:43 2011 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 14 Jan 2011 13:29:43 -0200 Subject: Required: shell scripting wizard! In-Reply-To: References: Message-ID: David, I don't understand. Do you want to launch livecode or a web browser? Andre On Fri, Jan 14, 2011 at 11:54 AM, David Bovill wrote: > Actually maybe it is not so hard :) I want to ?create a way to launch > LiveCode using shell, but also to pass to it a url in the first param of the > shell command. As I don't think you can do this directly anymore using shell > scritps written in LiveCode - I think I need to write a bash script and set > an environmental variable which I can then access using $ in Livecode? > > This is what I need to do: > > A shell command used to launch your preferred web browser when given a > URL as an argument. >> >> Defaults to "start" on windows, "open" on Mac, and "firefox" on Unix. >> >> Any thoughts? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From ambassador at fourthworld.com Fri Jan 14 10:37:08 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 14 Jan 2011 07:37:08 -0800 Subject: Newbie Q: LiveCode Forum Message-ID: <4D306DA4.1040607@fourthworld.com> Calvin Waterbury wrote: > I was wondering who here frequents the LC forum? > > I'm curious because I have tried to keep up with this list. It reminds > me of 1982 when I tried to read every article in the "Wall Street > Journal!" Whoosh! I never made through one issue and once, I started > "stacking up for the weekend," it was all over! :) I used to have that feeling with Harper's and Wired. Had to stop reading them both. I find myself reading Linux Journal cover to cover, but thankfully the articles are shorter so I can also get some work done. :) > Anyway, I'm just wondering if I might get the same help on the forum? A good many of us frequent the forums. But because this list predates the forums by several years, I find a lot of the people who've been using LiveCode the longest are here rather than there. This list can indeed be overwhelming, but using GMane as Mark Wieder suggested is a good option, or switching your subscription to digest mode can also be helpful (mine is set for digest). The forum is good too. In fact, it has one feature not available on this list: Bernd's attachments. Like many here and there, Bernd is a very helpful fella who's quick to offer code examples to answer questions. But since the forum allows attachments, while most of us merely post a relevant line or two of a code example, Bernd often goes the extra mile to put his helpful tips into a fully functional demo stack and attaching it to his reply. He's been amazingly generous with his time, and it's much appreciated by all the forum members there. Since you're learning LC as a second language, I hope the readers here will indulge another copy of what I've found, after teaching this tool and related dialects for so long, to be the progression through the learning curve for getting started with this weird beast: Day one: "What the hell is going on? Why doesn't anything work like I expect? I hate this damn thing." Two days: "Omigawd, the potential is incredible! If only I knew how to use it all..." Two weeks: "After reading the language guide and trying some things out, I'm able to do truly productive work." One month: "Now I can do productive work efficiently." Three months: "With the flexibility of the language and the handy tools in LiveCode, I'm seeing slightly greater productivity than in my formerly-favorite tool I'd used for years." Six months: "I love this thing." One year: "I love this thing like no other." :) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From david at vaudevillecourt.tv Fri Jan 14 10:57:20 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Fri, 14 Jan 2011 15:57:20 +0000 Subject: Required: shell scripting wizard! In-Reply-To: References: Message-ID: Thanks Mike - can't I get paid more than that? What about $2 :) Now I wonder what happens if Livecode is already open.... hmmm that's not going to work - it just opens another instance... is usppose the only way is to have LiveCode Run a server? On 14 January 2011 15:29, Andre Garzia wrote: > David, > > I don't understand. Do you want to launch livecode or a web browser? > Both :) I'm exploring your suggestion of using Fossil for documentation. Normally it displays stuff in the default browser - but you can set it up so that it instead calls a browser of your choice. I'd like to set things up so that a shell call would get an already open copy of Livecode to pass a message to a handler - just like you do with AppleScript events - but something that would work on other platforms. From bonnmike at gmail.com Fri Jan 14 10:57:47 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 14 Jan 2011 08:57:47 -0700 Subject: Required: shell scripting wizard! In-Reply-To: References: Message-ID: Since i've realized I'm not sure what you mean, i'll cover more bases. In windows a batch file like the following: start /D"C:\Program Files (x86)\RunRev\LiveCode 4.5.3" livecode.exe %1 start %1 Will on the first line, launch livecode (first define the directory, then the executable itself, then the passed parameter) In this case, livecode will start, and $0 will contain whatever url is passed. The 2nd line opens whatever url was passed. If no parameter was passed, livecode will still open, so that part is fine as is, but the 2nd line that starts a browser with the url will need to be checked to make sure it's not empty, otherwise it will open a new empty shell window. Again, wasn't exactly sure what you were shooting for, but hope this helps. On the linux front you can try something like this if you want their default browser. #!/bin/bash x-www-browser $1 || { firefox $1; } This will check to see if x-www-browser exists and if so it runs whatever is the default. If not, it tries to run firefox. And still stuck on Mac since I don't have one anymore. On Fri, Jan 14, 2011 at 7:30 AM, Mike Bonner wrote: > Nvm, its early and I just re-iterated what you aleady know you need to do. > *goes back to bed* > > > On Fri, Jan 14, 2011 at 7:21 AM, Mike Bonner wrote: > >> From the command line if you do yourApp http://www.google.com >> >> $1 will contain the url. Works the same from a bash script. >> >> #!/bin/bash >> path/to/yourApp $1 >> -- will call your app using parameter 1 as parameter 1 inside the app. >> -- Access it the same way within the app itself using $1 >> >> $1 is actually the 2nd parameter, $0 will contain the name of the app (or >> shell script depending) >> >> On Fri, Jan 14, 2011 at 6:54 AM, David Bovill wrote: >> >>> Actually maybe it is not so hard :) I want to create a way to launch >>> LiveCode using shell, but also to pass to it a url in the first param of >>> the >>> shell command. As I don't think you can do this directly anymore using >>> shell >>> scritps written in LiveCode - I think I need to write a bash script and >>> set >>> an environmental variable which I can then access using $ in Livecode? >>> >>> This is what I need to do: >>> >>> A shell command used to launch your preferred web browser when given a >>> URL as an argument. >>> > >>> > Defaults to "start" on windows, "open" on Mac, and "firefox" on Unix. >>> > >>> > Any thoughts? >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> > From davidocoker at gmail.com Fri Jan 14 11:01:48 2011 From: davidocoker at gmail.com (David C.) Date: Fri, 14 Jan 2011 10:01:48 -0600 Subject: Newbie Q: LiveCode Forum In-Reply-To: <4D306DA4.1040607@fourthworld.com> References: <4D306DA4.1040607@fourthworld.com> Message-ID: > Since you're learning LC as a second language, I hope the readers here will > indulge another copy of what I've found, after teaching this tool and > related dialects for so long, to be the progression through the learning > curve for getting started with this weird beast: > > ? Day one: ? ? "What the hell is going on? ?Why doesn't anything work > ? ? ? ? ? ? ? ? like I expect? ?I hate this damn thing." > > ? Two days: ? ?"Omigawd, the potential is incredible! If only I knew > ? ? ? ? ? ? ? ? how to use it all..." > > ? Two weeks: ? ?"After reading the language guide and trying some > ? ? ? ? ? ? ? ? things out, I'm able to do truly productive work." > > ? One month: ? ?"Now I can do productive work efficiently." > > ? Three months: "With the flexibility of the language and the handy > ? ? ? ? ? ? ? ? ?tools in LiveCode, I'm seeing slightly greater > ? ? ? ? ? ? ? ? ?productivity than in my formerly-favorite tool I'd > ? ? ? ? ? ? ? ? ?used for years." > > ? Six months: ? "I love this thing." > > ? One year: ? ? "I love this thing like no other." > > > :) > > -- > ?Richard Gaskin Thanks for posting that for him Richard! You posted that to me some years ago and I've found it to be close to my exact experience once I made the decision to use Rev/LC in earnest. Best description of the process I've seen anywhere. Best regards, David C. From andre at andregarzia.com Fri Jan 14 11:01:09 2011 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 14 Jan 2011 14:01:09 -0200 Subject: Newbie Q: LiveCode Forum In-Reply-To: <4D306DA4.1040607@fourthworld.com> References: <4D306DA4.1040607@fourthworld.com> Message-ID: On Fri, Jan 14, 2011 at 1:37 PM, Richard Gaskin wrote: > Calvin Waterbury wrote: > >> I was wondering who here frequents the LC forum? >> >> I'm curious because I have tried to keep up with this list. ?It reminds >> me of 1982 when I tried to read every article in the "Wall Street >> Journal!" ?Whoosh! ?I never made through one issue and once, I started >> "stacking up for the weekend," it was all over! ?:) > > I used to have that feeling with Harper's and Wired. ?Had to stop reading > them both. ?I find myself reading Linux Journal cover to cover, but > thankfully the articles are shorter so I can also get some work done. :) > >> Anyway, I'm just wondering if I might get the same help on the forum? > > A good many of us frequent the forums. But because this list predates the > forums by several years, I find a lot of the people who've been using > LiveCode the longest are here rather than there. > > This list can indeed be overwhelming, but using GMane as Mark Wieder > suggested is a good option, or switching your subscription to digest mode > can also be helpful (mine is set for digest). > > The forum is good too. ?In fact, it has one feature not available on this > list: ?Bernd's attachments. ? Like many here and there, Bernd is a very > helpful fella who's quick to offer code examples to answer questions. ? But > since the forum allows attachments, while most of us merely post a relevant > line or two of a code example, Bernd often goes the extra mile to put his > helpful tips into a fully functional demo stack and attaching it to his > reply. ?He's been amazingly generous with his time, and it's much > appreciated by all the forum members there. > > > Since you're learning LC as a second language, I hope the readers here will > indulge another copy of what I've found, after teaching this tool and > related dialects for so long, to be the progression through the learning > curve for getting started with this weird beast: > > ? Day one: ? ? "What the hell is going on? ?Why doesn't anything work > ? ? ? ? ? ? ? ? like I expect? ?I hate this damn thing." > > ? Two days: ? ?"Omigawd, the potential is incredible! If only I knew > ? ? ? ? ? ? ? ? how to use it all..." > > ? Two weeks: ? ?"After reading the language guide and trying some > ? ? ? ? ? ? ? ? things out, I'm able to do truly productive work." > > ? One month: ? ?"Now I can do productive work efficiently." > > ? Three months: "With the flexibility of the language and the handy > ? ? ? ? ? ? ? ? ?tools in LiveCode, I'm seeing slightly greater > ? ? ? ? ? ? ? ? ?productivity than in my formerly-favorite tool I'd > ? ? ? ? ? ? ? ? ?used for years." > > ? Six months: ? "I love this thing." > > ? One year: ? ? "I love this thing like no other." Six years: "I want a message path for my LIFE!" > > > :) > > -- > ?Richard Gaskin > ?Fourth World > ?LiveCode training and consulting: http://www.fourthworld.com > ?Webzine for LiveCode developers: http://www.LiveCodeJournal.com > ?LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From bonnmike at gmail.com Fri Jan 14 11:11:17 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 14 Jan 2011 09:11:17 -0700 Subject: Required: shell scripting wizard! In-Reply-To: References: Message-ID: Ah. Maybe a plugin thats set to start with LC that listens to a socket? Or checks an env variable ever so often, or a file for changes, or a combination of these such as hit a listening port in your plugin and check a file/var whatever. As for the multiple instances problem, if you go with the plugin route, could have it create a tmp file to indicate running status, delete it on close so you know whether to start up rev or not. Both :) I'm exploring your suggestion of using Fossil for documentation. Normally it displays stuff in the default browser - but you can set it up so that it instead calls a browser of your choice. I'd like to set things up so that a shell call would get an already open copy of Livecode to pass a message to a handler - just like you do with AppleScript events - but something that would work on other platforms. From liste.revo at medard.on-rev.com Fri Jan 14 11:14:24 2011 From: liste.revo at medard.on-rev.com (Medard) Date: Fri, 14 Jan 2011 17:14:24 +0100 Subject: Dictionary Random Picks - now on RevOnline In-Reply-To: Message-ID: <1jv1vfd.8wqoifoqfirkM%liste.revo@medard.on-rev.com> Bob Cole wrote: > I may use this myself in my copious free time. :) Funny -- and informative :-) in the field script, add: on mouseup revDocumentationGo (the selectedtext of me) end mouseup and add a vertical scrollbar to that field From sims at ezpzapps.com Fri Jan 14 11:20:49 2011 From: sims at ezpzapps.com (Jim Sims) Date: Fri, 14 Jan 2011 17:20:49 +0100 Subject: Newbie Q: LiveCode Forum In-Reply-To: References: <4D306DA4.1040607@fourthworld.com> Message-ID: <54C97166-9C19-4396-B3CE-AD56E9F6B228@ezpzapps.com> On Jan 14, 2011, at 5:01 PM, Andre Garzia wrote: > Six years: "I want a message path for my LIFE!" Naaaa.... Surprises can be a fun. A scripted life might be boring. Life is Good, sims From williamdesmet at gmail.com Fri Jan 14 11:26:06 2011 From: williamdesmet at gmail.com (William de Smet) Date: Fri, 14 Jan 2011 17:26:06 +0100 Subject: LiveCode Player news? Message-ID: Hi there, Is there any news on the new LiveCode Player? Development or possible release date? Or is that not to be discussed on this list? I really want it :-) Greetings, William From bobs at twft.com Fri Jan 14 12:20:08 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 14 Jan 2011 09:20:08 -0800 Subject: Windows code signing In-Reply-To: References: <4D2FA108.6060709@hyperactivesw.com> Message-ID: <1E0D4E45-BA8D-4F19-AAB1-F2D671149692@twft.com> This is one of the reasons we did not switch to Vista or Windows 7. In XP signing was optional. In Vista and 7 it is mandatory. This is akin to malware infecting your computer and then charging you for a utility to "fix" it. It's only slightly better in that it will run without continually nagging you and getting in your way. But it's still an abominable practice. Bob On Jan 13, 2011, at 8:09 PM, Bill Vlahos wrote: > Jaqui, > > I think most users won't care and I've certainly run such software myself. The version of InfoWallet that is downloadable from the web site is still not signed (I plan on making the signed version available in the near future) and I haven't had anyone complain except when Norton flagged it as suspect. Signing it solved that problem immediately. > > I have successfully code signed InfoWallet with a TUCOWS/Comodo certificate which only costs $75 (what a deal). The process is very difficult, tedious, and time consuming to set up for any of the sources. Once set up as a batch file it is now trivially simple for me to sign apps - just drag and drop. > > When I get some time I will try to document the procedure. Here are some links that were instrumental to me and one of them has a link to a $49 commercial application to help make is easier. I haven't looked at it (doing it the hard way myself) but if it is half as good as they describe it would be worth it. > http://www.wiscocomputing.com/articles/code-signing.htm > http://msdn.microsoft.com/en-us/library/8s9b9yaz(VS.80).aspx > http://help.godaddy.com/article/4782 > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. > > On Jan 13, 2011, at 5:04 PM, J. Landman Gay wrote: > >> I'm in the position of wanting to release a no-cost or low-cost app for Windows, but without a code-signing certificate Windows puts up the scary "untrusted publisher" notification every time the app launches. Certificates cost a couple hundred dollars and I don't want to do that. >> >> So the question is, how do other shareware or freeware authors deal with it? Are users so used to it by now they'll just click OK and proceed? What do you guys do? >> >> -- >> 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 pete at mollysrevenge.com Fri Jan 14 12:26:49 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 14 Jan 2011 09:26:49 -0800 Subject: Rev Icons In-Reply-To: References: <4871049B.80805@hyperactivesw.com> <4871334F.9070706@hyperactivesw.com> Message-ID: <147F6608-DA10-45E4-A53F-A486C81982BE@mollysrevenge.com> Have you looked at the Image Library under the development menu? I imported a set of icons that I use across several applications. From the library, you can place either an image or a button with it's icon set to an image on any card in your app. I don;t think you can edit the image from within the library so you'd have to edit it's original file then re-import the image set. Pete Haworth On Jan 14, 2011, at 4:35 AM, william humphrey wrote: > --Rev's icon picker will display images that appear in the current stack if > you choose "This Stack" from the ---popup menu. But (if I remember right) it > won't display images in any other stacks, even if they are in the > ----message hierarchy. You need to make a stack the current one to see what > images it contains. > > I'm storing all my icon images in a card in the main stack of my > application. When I'm in other sub-stacks and try to use that image in a new > button it's not only not visible but sometimes even pasting in the ID > doesn't work. > > Is there a better way to store all your icons? Ideally I'd like to have a > particular ID be an "edit" icon the same throughout every card and substack > and then if I decide to change that icon slightly I would like to do that in > the place it is stored and then see those changes reflected everywhere that > ID is. Presently what happens is putting a replacement image in increments > to a new ID and then changing the ID in that image makes no difference or a > confusing hodge-podge of difference. > > Any suggestions on a better way to catalogue the interface elements in a > project and be able to make adjustments in the design easily? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From baccheschi at tin.it Fri Jan 14 12:38:47 2011 From: baccheschi at tin.it (baccheschi at tin.it) Date: Fri, 14 Jan 2011 18:38:47 +0100 (CET) Subject: a help .. Message-ID: <12d859baaa3.baccheschi@tin.it> i am at the beginning....... p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px} p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial} p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Arial; min-height: 14.0px} span.s1 {font: 12.0px Arial} i would like to "manage" the "About This Application" menu item I tried to do somthing with Menu builder, but in a StandAlone appllication nothing goes as i would If somebody may give me indications i'll be infinitely grateful to him thanks again mario From pete at mollysrevenge.com Fri Jan 14 13:24:26 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 14 Jan 2011 10:24:26 -0800 Subject: Getprop/Setprop question Message-ID: <85BBFE82-1C77-4D0F-A8F2-A1D73583250D@mollysrevenge.com> I'm probably missing something obvious here but in a setprop or getprop handler, how can I find out the object whose property is being set/get, assuming the getprop/setprop is not in property owner's script? For example, if I have the following line of code in a script: put the xyz of field "abc" into ttemp ... and my getprop handler for xyz is in the script of the card that field "abc" is on, how can I discover in getprop that I'm dealing with property xyz of field "abc"? Thanks, Pete Haworth From jacque at hyperactivesw.com Fri Jan 14 13:34:44 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Jan 2011 12:34:44 -0600 Subject: Dictionary Random Picks - now on RevOnline In-Reply-To: References: Message-ID: <4D309744.9030005@hyperactivesw.com> On 1/12/11 11:01 PM, Bob Cole wrote: > Thanks to Jacque's suggestions, I was able to construct a stack that lets you display a random page from the Dictionary. > I just uploaded it to RevOnline as "Dictionary Random Picks." I finally got around to taking a look. Nice job. In fact, I accidentally discovered "synchrate"** which I never knew existed. :) I bet there's something in this for everyone, including the pros. ** "Specifies how often the display is updated during visual effect, drag, and move commands. Use the syncRate property to specify how often the screen is redrawn." -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Fri Jan 14 13:39:06 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 14 Jan 2011 10:39:06 -0800 Subject: Rev Icons In-Reply-To: <147F6608-DA10-45E4-A53F-A486C81982BE@mollysrevenge.com> References: <4871049B.80805@hyperactivesw.com> <4871334F.9070706@hyperactivesw.com> <147F6608-DA10-45E4-A53F-A486C81982BE@mollysrevenge.com> Message-ID: <4D22DBD6-99B5-4224-BACA-A4EF1355BCB3@twft.com> I think he is after a kind of Adobe approach where you edit a linked file and every document that uses that file updates itself. The only thing I can think of is to name the icon image, and in a preOpencard handler (maybe in the stack script) set the icon of the buttons to the image name. If you want to be particular about which buttons have "linked" icons then use a custom prop in each of the buttons that you can query in your preOpenCard handler. It's a bit klunky, but I don't know any other way to do it. Bob On Jan 14, 2011, at 9:26 AM, Peter Haworth wrote: > Have you looked at the Image Library under the development menu? I imported a set of icons that I use across several applications. From the library, you can place either an image or a button with it's icon set to an image on any card in your app. I don;t think you can edit the image from within the library so you'd have to edit it's original file then re-import the image set. > > Pete Haworth > > On Jan 14, 2011, at 4:35 AM, william humphrey wrote: > >> --Rev's icon picker will display images that appear in the current stack if >> you choose "This Stack" from the ---popup menu. But (if I remember right) it >> won't display images in any other stacks, even if they are in the >> ----message hierarchy. You need to make a stack the current one to see what >> images it contains. >> >> I'm storing all my icon images in a card in the main stack of my >> application. When I'm in other sub-stacks and try to use that image in a new >> button it's not only not visible but sometimes even pasting in the ID >> doesn't work. >> >> Is there a better way to store all your icons? Ideally I'd like to have a >> particular ID be an "edit" icon the same throughout every card and substack >> and then if I decide to change that icon slightly I would like to do that in >> the place it is stored and then see those changes reflected everywhere that >> ID is. Presently what happens is putting a replacement image in increments >> to a new ID and then changing the ID in that image makes no difference or a >> confusing hodge-podge of difference. >> >> Any suggestions on a better way to catalogue the interface elements in a >> project and be able to make adjustments in the design easily? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Fri Jan 14 13:40:33 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 14 Jan 2011 10:40:33 -0800 Subject: Dictionary Random Picks - now on RevOnline In-Reply-To: <4D309744.9030005@hyperactivesw.com> Message-ID: Recently, Jacque Landman Gay wrote: > I finally got around to taking a look. Nice job. In fact, I accidentally > discovered "synchrate"** which I never knew existed. :) And blinkRate! My blinkRate increased after reading about the synchRate. Regards, Scott Rossi Creative Director Tactile Media, UX Design From DunbarX at aol.com Fri Jan 14 13:42:46 2011 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 14 Jan 2011 13:42:46 EST Subject: Getprop/Setprop question Message-ID: <791d3.19a80c4d.3a61f326@aol.com> Ask for the target in your handler. on mouseUp set the superDuper of this card to "" end mouseUp on setProp superDuper put the target end setProp From ambassador at fourthworld.com Fri Jan 14 13:51:16 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 14 Jan 2011 10:51:16 -0800 Subject: Windows code signing Message-ID: <4D309B24.1080708@fourthworld.com> Bob Sneidar wrote: > This is one of the reasons we did not switch to Vista or Windows 7. > In XP signing was optional. In Vista and 7 it is mandatory. This is > akin to malware infecting your computer and then charging you for a > utility to "fix" it. It's only slightly better in that it will run > without continually nagging you and getting in your way. But it's > still an abominable practice. Personally, I think that's one of the thing MS did well. Security is a real issue on all OSes, and this provide one way to certify that an app is what it says it is for just a one-time fee, without having to give up 30% of your annual income to the OS vendor in perpetuity. ;) I wish that was an option for OS X as well. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From lists at mangomultimedia.com Fri Jan 14 14:00:34 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 14 Jan 2011 14:00:34 -0500 Subject: Windows code signing In-Reply-To: <4D309B24.1080708@fourthworld.com> References: <4D309B24.1080708@fourthworld.com> Message-ID: On Fri, Jan 14, 2011 at 1:51 PM, Richard Gaskin wrote: > Security is a real issue on all OSes, and this provide one way to certify > that an app is what it says it is for just a one-time fee, without having to > give up 30% of your annual income to the OS vendor in perpetuity. ;) > It is actually more than a one-time fee. You need to renew your certificate every year if you want to keep signing applications (I just had to renew mine). -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com LiveCode Resources for Developers: http://livecode.bluemangolearning.com From pete at mollysrevenge.com Fri Jan 14 14:07:30 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 14 Jan 2011 11:07:30 -0800 Subject: Getprop/Setprop question In-Reply-To: <791d3.19a80c4d.3a61f326@aol.com> References: <791d3.19a80c4d.3a61f326@aol.com> Message-ID: Thanks. I knew I was missing something obvious! Pete Haworth On Jan 14, 2011, at 10:42 AM, DunbarX at aol.com wrote: > Ask for the target in your handler. > > on mouseUp > set the superDuper of this card to "" > end mouseUp > > on setProp superDuper > put the target > end setProp > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 14 14:14:17 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 14 Jan 2011 11:14:17 -0800 Subject: Windows code signing In-Reply-To: <4D309B24.1080708@fourthworld.com> References: <4D309B24.1080708@fourthworld.com> Message-ID: <0655E4D6-2391-4AD9-A0F4-5A88C7130F11@twft.com> Whoa a one time fee? I thought the certificate was a one year certificate? Bob On Jan 14, 2011, at 10:51 AM, Richard Gaskin wrote: > Bob Sneidar wrote: > > > This is one of the reasons we did not switch to Vista or Windows 7. > > In XP signing was optional. In Vista and 7 it is mandatory. This is > > akin to malware infecting your computer and then charging you for a > > utility to "fix" it. It's only slightly better in that it will run > > without continually nagging you and getting in your way. But it's > > still an abominable practice. > > Personally, I think that's one of the thing MS did well. > > Security is a real issue on all OSes, and this provide one way to certify that an app is what it says it is for just a one-time fee, without having to give up 30% of your annual income to the OS vendor in perpetuity. ;) > > I wish that was an option for OS X as well. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Fri Jan 14 14:16:33 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 14 Jan 2011 11:16:33 -0800 Subject: Windows code signing In-Reply-To: <4D309B24.1080708@fourthworld.com> References: <4D309B24.1080708@fourthworld.com> Message-ID: <0DB5AD31-FC4F-4668-A973-2CDEC530501D@twft.com> In a sense, all retailers work like that. If I decide to retail my product for $100, there's no way the retail outlet is going to want to pay that much. They will want to buy it for significantly less. If you want to compensate for what Apple charges to retail your products, simply charge 30% more for it. Bob On Jan 14, 2011, at 10:51 AM, Richard Gaskin wrote: > Bob Sneidar wrote: > > > This is one of the reasons we did not switch to Vista or Windows 7. > > In XP signing was optional. In Vista and 7 it is mandatory. This is > > akin to malware infecting your computer and then charging you for a > > utility to "fix" it. It's only slightly better in that it will run > > without continually nagging you and getting in your way. But it's > > still an abominable practice. > > Personally, I think that's one of the thing MS did well. > > Security is a real issue on all OSes, and this provide one way to certify that an app is what it says it is for just a one-time fee, without having to give up 30% of your annual income to the OS vendor in perpetuity. ;) > > I wish that was an option for OS X as well. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Jan 14 14:23:34 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Jan 2011 13:23:34 -0600 Subject: Dictionary Random Picks - now on RevOnline In-Reply-To: References: Message-ID: <4D30A2B6.7040900@hyperactivesw.com> On 1/14/11 12:40 PM, Scott Rossi wrote: > Recently, Jacque Landman Gay wrote: > >> I finally got around to taking a look. Nice job. In fact, I accidentally >> discovered "synchrate"** which I never knew existed. :) > > And blinkRate! My blinkRate increased after reading about the synchRate. Wow. Me either. Knowing you, it'll show up in some fancy stack you write next. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Fri Jan 14 14:31:41 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 14 Jan 2011 11:31:41 -0800 Subject: Dictionary Random Picks - now on RevOnline In-Reply-To: <4D30A2B6.7040900@hyperactivesw.com> References: <4D30A2B6.7040900@hyperactivesw.com> Message-ID: <5770C96E-D2A8-4C0F-BD4B-299125286E32@twft.com> I wonder if we could make this work for some kind of mind control stack... Bob On Jan 14, 2011, at 11:23 AM, J. Landman Gay wrote: > On 1/14/11 12:40 PM, Scott Rossi wrote: >> Recently, Jacque Landman Gay wrote: >> >>> I finally got around to taking a look. Nice job. In fact, I accidentally >>> discovered "synchrate"** which I never knew existed. :) >> >> And blinkRate! My blinkRate increased after reading about the synchRate. > > Wow. Me either. Knowing you, it'll show up in some fancy stack you write next. > > -- > 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 davidocoker at gmail.com Fri Jan 14 14:33:52 2011 From: davidocoker at gmail.com (David C.) Date: Fri, 14 Jan 2011 13:33:52 -0600 Subject: Windows code signing In-Reply-To: <0DB5AD31-FC4F-4668-A973-2CDEC530501D@twft.com> References: <4D309B24.1080708@fourthworld.com> <0DB5AD31-FC4F-4668-A973-2CDEC530501D@twft.com> Message-ID: On Fri, Jan 14, 2011 at 1:16 PM, Bob Sneidar wrote: >> If you want to compensate for what Apple charges to retail your products, >> simply charge 30% more for it. > > Bob ...or tell Apple and/or the visionary Mr. Jobs to mind his/their own business, continuing to do what developers have done for the last 30 years that was working very well. ;-) App Store: Completely unnecessary, innovation stifling and just plain abusive toward third party developers. Best regards, David C. From jacque at hyperactivesw.com Fri Jan 14 14:37:32 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Jan 2011 13:37:32 -0600 Subject: Windows code signing In-Reply-To: <0655E4D6-2391-4AD9-A0F4-5A88C7130F11@twft.com> References: <4D309B24.1080708@fourthworld.com> <0655E4D6-2391-4AD9-A0F4-5A88C7130F11@twft.com> Message-ID: <4D30A5FC.7070706@hyperactivesw.com> On 1/14/11 1:14 PM, Bob Sneidar wrote: > Whoa a one time fee? I thought the certificate was a one year certificate? According to what I've read, you do need to renew the certificate after it expires. You can purchase certificates for 1,2, or 3 year periods. But if you date your app (there's some approved way to do that, it embeds a date into certification) then you don't have to renew, the embedded date will allow your certificate to continue working after it expires -- or at least, no warning appears. I appreciate everyone's comments. I just can't see spending much money on an app that I won't get any return from, even if it's just the $75 one-year certificate. I have myself run so-called untrusted Windows apps and I'm hoping most people do what I do: trust their virus software and click "Continue". Bill, I hope you do write up the code-signing process though. Eventually we'll all need to do it and anything you can provide will help. I was reading the requirements and if the cost hadn't put me off, the procedure certainly would. It's complex and ugly. I understand why MS needs to do this, given the tremendous amount of malware aimed at that OS, but I feel abused by it and I want to be mad at somebody -- only there isn't anyone to be angry at. Microsoft for allowing the situation in the first place? That's blood under the bridge. The malware authors who took advantage of the situation? It would happen on any OS. I suppose I could holler at my husband, he's pretty used to it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From capellan2000 at gmail.com Fri Jan 14 14:46:51 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 14 Jan 2011 11:46:51 -0800 (PST) Subject: LiveCode Newbie questions In-Reply-To: <4D2FBF54.1010308@eml.cc> References: <4D2F7252.6070208@eml.cc> <4D2F7730.9020200@eml.cc> <180747798968.20110113185932@ahsoftware.net> <4D2FBF54.1010308@eml.cc> Message-ID: <1295034411349-3218262.post@n4.nabble.com> Hi Calvin, Congratulations for this first version of your application! :-D I noticed that you wrote in this page: http://www.donationcoder.com/forum/index.php?topic=23881.0 "Attention: If anyone who is fluent in foreign language would be interested in making a non-English version, I would be happy to discuss it. Children everywhere should know how to grow things!" If I send you an spanish translation, would you create an spanish version? By the way, I do not understand your answer to my question: "Did you created a flowchart for this application?". Thanks in advance! Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-Newbie-questions-tp3216739p3218262.html Sent from the Revolution - User mailing list archive at Nabble.com. From cjw at eml.cc Fri Jan 14 14:53:09 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Fri, 14 Jan 2011 13:53:09 -0600 Subject: Windows code signing and *Sales* In-Reply-To: <0DB5AD31-FC4F-4668-A973-2CDEC530501D@twft.com> References: <4D309B24.1080708@fourthworld.com> <0DB5AD31-FC4F-4668-A973-2CDEC530501D@twft.com> Message-ID: <4D30A9A5.70507@eml.cc> Hello Product Developers, I think I'll jump in here... Why not just open your own store? Yes, it is slow starting out, but word-of-mouth is the best advertising around. Do a spread sheet and see if the lack of income in the beginning would be made up for once you start getting some sales where *YOU* keep all the profit. As far as advertising goes... <> Create useful utilities with your own particular personality for the genre you are targeting as freeware with subtle connections to your, more advanced offerings. <> Sell some items on eBay, craigslist, etc. and include pictures that have "www.mygreatproducts.com" in text at the bottom of the pic. Be creative! [PS - Please forgive my ignorance of venues beyond the USA.] <> After setting up your store, sign up and be somewhat active on forums in your genre. Include simple links in your signatures. (Make sure it isn't against the rules.) :) <> Enter into "handshake agreements" with other developers here that have their own stores and symbiotically put links to their stores on your page and visa-versa. <> [Place your creative selling technique here.] This is my marketing scheme, unfortunately all of our businesses are being developed. We *will* be operational and viable by summertime, so I guess check back with me in a year. :) Hope this inspires someone? (If it does, please post back with your own ideas! :) Fair winds, Calvin From jacque at hyperactivesw.com Fri Jan 14 15:00:40 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Jan 2011 14:00:40 -0600 Subject: a help .. In-Reply-To: <12d859baaa3.baccheschi@tin.it> References: <12d859baaa3.baccheschi@tin.it> Message-ID: <4D30AB68.5090001@hyperactivesw.com> On 1/14/11 11:38 AM, baccheschi at tin.it wrote: > i am at the beginning....... p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; > font: 12.0px Helvetica} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: > 12.0px Helvetica; min-height: 14.0px} p.p3 {margin: 0.0px 0.0px 0.0px > 0.0px; font: 12.0px Arial} p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; > font: 12.0px Arial; min-height: 14.0px} span.s1 {font: 12.0px Arial} > > > > i would like to "manage" the "About This Application" menu item I > tried to do somthing with Menu builder, but in a StandAlone > appllication nothing goes as i would > > > If somebody may give me indications i'll be infinitely grateful to > him Can you explain more about what you want to do? I don't understand why you have css, or how css should apply to an About box. Your About box should be a substack of the main app stack. Place text fields, images, or other controls in it. Then show that stack when a user chooses "About" from the application menu. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bvlahos at mac.com Fri Jan 14 15:05:23 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Fri, 14 Jan 2011 12:05:23 -0800 Subject: Windows code signing In-Reply-To: <0655E4D6-2391-4AD9-A0F4-5A88C7130F11@twft.com> References: <4D309B24.1080708@fourthworld.com> <0655E4D6-2391-4AD9-A0F4-5A88C7130F11@twft.com> Message-ID: <514CEA9C-4CF9-4FB9-A1EE-492A7C92610D@mac.com> The renewal is for the ability to sign apps. Once an executable is signed it is signed forever. If you make a new standalone that will need to be signed. Bill Sent from my iPhone On Jan 14, 2011, at 11:14 AM, Bob Sneidar wrote: > Whoa a one time fee? I thought the certificate was a one year certificate? > > Bob > > > On Jan 14, 2011, at 10:51 AM, Richard Gaskin wrote: > >> Bob Sneidar wrote: >> >>> This is one of the reasons we did not switch to Vista or Windows 7. >>> In XP signing was optional. In Vista and 7 it is mandatory. This is >>> akin to malware infecting your computer and then charging you for a >>> utility to "fix" it. It's only slightly better in that it will run >>> without continually nagging you and getting in your way. But it's >>> still an abominable practice. >> >> Personally, I think that's one of the thing MS did well. >> >> Security is a real issue on all OSes, and this provide one way to certify that an app is what it says it is for just a one-time fee, without having to give up 30% of your annual income to the OS vendor in perpetuity. ;) >> >> I wish that was an option for OS X as well. >> >> -- >> Richard Gaskin >> Fourth World >> LiveCode training and consulting: http://www.fourthworld.com >> Webzine for LiveCode developers: http://www.LiveCodeJournal.com >> LiveCode Journal blog: http://LiveCodejournal.com/blog.irv >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lists at mangomultimedia.com Fri Jan 14 15:08:30 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 14 Jan 2011 15:08:30 -0500 Subject: Windows code signing In-Reply-To: <514CEA9C-4CF9-4FB9-A1EE-492A7C92610D@mac.com> References: <4D309B24.1080708@fourthworld.com> <0655E4D6-2391-4AD9-A0F4-5A88C7130F11@twft.com> <514CEA9C-4CF9-4FB9-A1EE-492A7C92610D@mac.com> Message-ID: On Fri, Jan 14, 2011 at 3:05 PM, Bill Vlahos wrote: > The renewal is for the ability to sign apps. Once an executable is signed > it is signed forever. > One caveat - It is signed forever as long as you use the timestamp server. If you forget to do that during the code signing process then the app expires when your certificate does. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com LiveCode Resources for Developers: http://livecode.bluemangolearning.com From ambassador at fourthworld.com Fri Jan 14 15:08:48 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 14 Jan 2011 12:08:48 -0800 Subject: Windows code signing Message-ID: <4D30AD50.5090006@fourthworld.com> Trevor DeVore wrote: > On Fri, Jan 14, 2011 at 1:51 PM, Richard Gaskin > wrote: > >> Security is a real issue on all OSes, and this provide one way to certify >> that an app is what it says it is for just a one-time fee, without having to >> give up 30% of your annual income to the OS vendor in perpetuity. ;) >> > > It is actually more than a one-time fee. You need to renew your certificate > every year if you want to keep signing applications (I just had to renew > mine). Yes, it's once per year/two years/three years, whichever you choose. Rather like Apple's annual developer program fee. But it's not 30% each time you make a sale. ;) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From cjw at eml.cc Fri Jan 14 15:14:26 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Fri, 14 Jan 2011 14:14:26 -0600 Subject: LiveCode Newbie questions In-Reply-To: <1295034411349-3218262.post@n4.nabble.com> References: <4D2F7252.6070208@eml.cc> <4D2F7730.9020200@eml.cc> <180747798968.20110113185932@ahsoftware.net> <4D2FBF54.1010308@eml.cc> <1295034411349-3218262.post@n4.nabble.com> Message-ID: <4D30AEA2.9090709@eml.cc> Hi Alejandro, Thank you for trying it out and I am glad you liked it. Yes, I would be very happy to collaborate on this, but let's hold off until I get "VeggieSquares" to v.1.00. When the time comes, I can send you all the related text{?} files for you to translate. Be advised the existing text is *not* what the final text will look like. You can expect us to move forward with the Spanish version immediately after I post v.1.00, but I'll give you a heads-up when the time comes. I have this on my list. On the flowchart question... I have not created a full and complete flowchart. I have only made some "doodles" here and there to work out some logic. Fair winds, Calvin > ------------------------------------------------------------------------ > > Alejandro Tejada > Friday, January 14, 2011 1:46 PM > > > Hi Calvin, > > Congratulations for this first version of your application! :-D > > I noticed that you wrote in this page: > http://www.donationcoder.com/forum/index.php?topic=23881.0 > > "Attention: If anyone who is fluent in foreign language would be > interested in making a non-English version, I would be happy to > discuss it. Children everywhere should know how to grow things!" > > If I send you an spanish translation, would you create an > spanish version? > > By the way, I do not understand your answer to my question: > "Did you created a flowchart for this application?". > > Thanks in advance! > > Alejandro > > ------------------------------------------------------------------------ > > Calvin Waterbury > Thursday, January 13, 2011 9:13 PM > > > Hi Mark, > > Thanks for the reply. Unfortunately, I can't wait. I have an app out > there right now. Someone migrated my BASIC code to LiveCode and > compiled it to get it up before a deadline. The app seems to be well > received, so I don't want to mess up the reception with the nag > screens the Personal License applies. > FYI - Oddly, at this time, cash flow is not an issue, so getting the > commercial license would not be a problem. I am not in a hurry, even > though I *really* am! > > FYI - Here is the link to the app. I call it, "VeggieSquares." It is > in a pre-release version, so don't look at it too close. > > http://www.donationcoder.com/forum/index.php?topic=23881.msg216792#msg216792 > > > Fair winds, > Calvin From ambassador at fourthworld.com Fri Jan 14 15:14:39 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 14 Jan 2011 12:14:39 -0800 Subject: Windows code signing Message-ID: <4D30AEAF.9070503@fourthworld.com> David C. wrote: > On Fri, Jan 14, 2011 at 1:16 PM, Bob Sneidar wrote: >>> If you want to compensate for what Apple charges to retail your products, >>> simply charge 30% more for it. >> >> Bob More than a few are considering it, or dropping features in the App Store version and offering a more attractive "pro" version at their site. I'm seeing some very creative strategies for paying that tax. > ...or tell Apple and/or the visionary Mr. Jobs to mind his/their own > business, continuing to do what developers have done for the last 30 > years that was working very well. ;-) > > App Store: Completely unnecessary, innovation stifling and just plain > abusive toward third party developers. "Unnecessary" depends on your goals. Personally, I've enjoyed getting software for my Mac from the web, even though it's far less secure than how Android users get software (Mac apps don't disclose the range of things they'll do on your system). But iOS has changed expectations among a large segment of Apple's customers, so that today a great many of them would prefer a completely curated experience in order to feel more secure. You and I may feel differently, and I would enjoy having the option of using signed apps as we can on Windows, but iOS customers have spoken, loudly and clearly, so we can expect that part of the iOS experience to come "back to the Mac" in due time. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From keith.clarke at clarkeandclarke.co.uk Fri Jan 14 15:14:45 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 14 Jan 2011 20:14:45 +0000 Subject: Dictionary Random Picks - now on RevOnline In-Reply-To: <5770C96E-D2A8-4C0F-BD4B-299125286E32@twft.com> References: <4D30A2B6.7040900@hyperactivesw.com> <5770C96E-D2A8-4C0F-BD4B-299125286E32@twft.com> Message-ID: ...you already have it installed, Neo. ...the Matrix has you. On 14 Jan 2011, at 19:31, Bob Sneidar wrote: > I wonder if we could make this work for some kind of mind control stack... > > Bob > > > On Jan 14, 2011, at 11:23 AM, J. Landman Gay wrote: > >> On 1/14/11 12:40 PM, Scott Rossi wrote: >>> Recently, Jacque Landman Gay wrote: >>> >>>> I finally got around to taking a look. Nice job. In fact, I accidentally >>>> discovered "synchrate"** which I never knew existed. :) >>> >>> And blinkRate! My blinkRate increased after reading about the synchRate. >> >> Wow. Me either. Knowing you, it'll show up in some fancy stack you write next. >> >> -- >> 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 david at vaudevillecourt.tv Fri Jan 14 15:31:05 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Fri, 14 Jan 2011 20:31:05 +0000 Subject: Required: shell scripting wizard! In-Reply-To: References: Message-ID: Hmmm... I wander if simply polling for an environmental variable change will work. In the current case I know that LiveCode is open - I just want the external command line program to redirect the browser call back to Livecode and not open up another browser. On 14 January 2011 16:11, Mike Bonner wrote: > Ah. Maybe a plugin thats set to start with LC that listens to a socket? Or > checks an env variable ever so often, or a file for changes, or a > combination of these such as hit a listening port in your plugin and check > a > file/var whatever. > > As for the multiple instances problem, if you go with the plugin route, > could have it create a tmp file to indicate running status, delete it on > close so you know whether to start up rev or not. NB - on OSX you use "launch" rather than "start".... Makes me think though is there any way to have a compiled Livecode app act as a cli? From lists at mangomultimedia.com Fri Jan 14 15:41:35 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 14 Jan 2011 15:41:35 -0500 Subject: Windows code signing In-Reply-To: <4D30AD50.5090006@fourthworld.com> References: <4D30AD50.5090006@fourthworld.com> Message-ID: On Fri, Jan 14, 2011 at 3:08 PM, Richard Gaskin wrote: > >> Yes, it's once per year/two years/three years, whichever you choose. > Rather like Apple's annual developer program fee. > > But it's not 30% each time you make a sale. ;) True, but Commodo isn't helping me sell my product to every mac user going forward either :-) Personally I don't think that 30% is a big deal. When pricing your software you always take into account that you want to be able to have sales, offer coupons, etc. and still make enough money for it to be worth it. As much of a departure as the App Store is from what we are accustomed to as developers, the reality is that the App Store is a really good experience for the buyer. It is simple to use and it is easy to press that little "Buy" button and have it charged to that credit card that Apple already has on file. Will the App Store be worth it for developers in the end? We will see. I want to be in there to find out though. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com LiveCode Resources for Developers: http://livecode.bluemangolearning.com From bobs at twft.com Fri Jan 14 15:50:41 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 14 Jan 2011 12:50:41 -0800 Subject: Windows code signing In-Reply-To: References: <4D309B24.1080708@fourthworld.com> <0DB5AD31-FC4F-4668-A973-2CDEC530501D@twft.com> Message-ID: <418B67B7-44EF-43BD-90B2-215441AB9C17@twft.com> Then developers won't use it, end users won't like it, and all will be well with the world. What's wrong with that? Steve Jobs is not FORCING people to sell their software this way. If he was, THEN you would have a gripe. You may as well complain that you can get food online now, instead of the "old model" of getting it in supermarkets, which worked perfectly well. Honestly, I don't get the angst. Bob On Jan 14, 2011, at 11:33 AM, David C. wrote: > On Fri, Jan 14, 2011 at 1:16 PM, Bob Sneidar wrote: >>> If you want to compensate for what Apple charges to retail your products, >>> simply charge 30% more for it. >> >> Bob > > ...or tell Apple and/or the visionary Mr. Jobs to mind his/their own > business, continuing to do what developers have done for the last 30 > years that was working very well. ;-) > > App Store: Completely unnecessary, innovation stifling and just plain > abusive toward third party developers. > > 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 bobs at twft.com Fri Jan 14 15:52:36 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 14 Jan 2011 12:52:36 -0800 Subject: Windows code signing In-Reply-To: <4D30A5FC.7070706@hyperactivesw.com> References: <4D309B24.1080708@fourthworld.com> <0655E4D6-2391-4AD9-A0F4-5A88C7130F11@twft.com> <4D30A5FC.7070706@hyperactivesw.com> Message-ID: I bet he was hoping that Software Certification was going to take some heat off of himself! Bob On Jan 14, 2011, at 11:37 AM, J. Landman Gay wrote: > I understand why MS needs to do this, given the tremendous amount of malware aimed at that OS, but I feel abused by it and I want to be mad at somebody -- only there isn't anyone to be angry at. Microsoft for allowing the situation in the first place? That's blood under the bridge. The malware authors who took advantage of the situation? It would happen on any OS. I suppose I could holler at my husband, he's pretty used to it. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From ray at linkit.com Fri Jan 14 16:15:07 2011 From: ray at linkit.com (Ray Horsley) Date: Fri, 14 Jan 2011 16:15:07 -0500 Subject: Printing and RevBrowser Message-ID: <003501cbb430$1f6eb510$5e4c1f30$@LinkIt.Com> Greetings, Anybody know how to work this with 'open printing' or even better, with with 'open printing to PDF'? My main goal is to suppress the print dialog window for each call in a repeat loop to revBrowserPrint. Thanks, Ra Horsley LinkIt! Software From davidocoker at gmail.com Fri Jan 14 16:15:51 2011 From: davidocoker at gmail.com (David C.) Date: Fri, 14 Jan 2011 15:15:51 -0600 Subject: Windows code signing In-Reply-To: <418B67B7-44EF-43BD-90B2-215441AB9C17@twft.com> References: <4D309B24.1080708@fourthworld.com> <0DB5AD31-FC4F-4668-A973-2CDEC530501D@twft.com> <418B67B7-44EF-43BD-90B2-215441AB9C17@twft.com> Message-ID: On Fri, Jan 14, 2011 at 2:50 PM, Bob Sneidar wrote: > Then developers won't use it, end users won't like it, and all will be well with the world. What's wrong with that? Steve Jobs is not FORCING people to sell their software this way. If he was, THEN you would have a gripe. You may as well complain that you can get food online now, instead of the "old model" of getting it in supermarkets, which worked perfectly well. > > Honestly, I don't get the angst. > > Bob Hey Bob, I probably worded my reply "heavier" than it was actually intended... ...I just love as much freedom as possible, in all that I do. Hopefully without stirring up a hornets nest, I'll add that I see very little difference between Apple and Microsoft in terms of how they treat their users in general. Although Apple has a much better (and deserved) reputation overall, they are extremely "closed up" and "walled in" in terms of the rights of the end user. That's you, I and our neighbors. The app store I see as little more than an additional battening down of hatches, as in: You WILL use OUR operating system on OUR hardware from OUR store from OUR approved applications list, made available from OUR approved developers... and you WILL like it. I understand that the "user experience" is a huge draw for anything Apple, but is that really worth having every detail in the process dictated? Food for thought. Best regards, David C. From ambassador at fourthworld.com Fri Jan 14 16:48:32 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 14 Jan 2011 13:48:32 -0800 Subject: Windows code signing Message-ID: <4D30C4B0.8060500@fourthworld.com> Trevor DeVore wrote: > Will the App Store be worth it for developers in the end? We will see. I > want to be in there to find out though. Me too. Your question answers itself in the long view: As the months become years, there will be no viable alternative for those who wish to include the Mac among the platforms they support. As loyal to our Mac customers as they are to us, we will embrace the App Store as long as it provides a positive ROI, just as we've always tried to adhere to the HIG as much as practical. Apple customers want a curated experience, so the App Store isn't going away; its role will only become more central. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From bobs at twft.com Fri Jan 14 17:37:01 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 14 Jan 2011 14:37:01 -0800 Subject: Windows code signing In-Reply-To: References: <4D309B24.1080708@fourthworld.com> <0DB5AD31-FC4F-4668-A973-2CDEC530501D@twft.com> <418B67B7-44EF-43BD-90B2-215441AB9C17@twft.com> Message-ID: <120FEDA7-4771-4DD8-A94C-49BD0B1E268C@twft.com> On Jan 14, 2011, at 1:15 PM, David C. wrote: > Hey Bob, > I probably worded my reply "heavier" than it was actually intended... > ...I just love as much freedom as possible, in all that I do. No worries. I love freedom too, I just hate the freedom that those who write malware seem to feel they have. Actually, I have a whole list of people who are so bad that I think we should restrict their freedoms, but that is treading dangerously close to violating forum rules. And what about these forum rules? Pretty restrictive wouldn't you say? I think I should demand my rights to talk about Jesu... well never mind. I understand the need for restrictions. There's a time and place for everything, isn't there? > > Hopefully without stirring up a hornets nest, I'll add that I see very > little difference between Apple and Microsoft in terms of how they > treat their users in general. Although Apple has a much better (and > deserved) reputation overall, they are extremely "closed up" and > "walled in" in terms of the rights of the end user. That's you, I and > our neighbors. I'm an IT guy and I see a HUGE difference. Before there were Windows Updates, it was Microsoft's policy that security was the responsibility of the end user. It wasn't until the major public outcry that Microsoft decided to "help" us by trying to close up some of the security issues in their own OS. They in fact began to do some pretty hefty walling in of their own, because people demanded it. And the philosophy that things shouldn't be "walled in" would not have gone over well in ancient civilizations. Cities that were not "walled in" got "swallowed up" by the next tyrant who wanted to rule the world. Also, I am one of those guys who don't think anything is a "right" that isn't in the Constitution (only because we all agree to abide by it) (foreign citizens I apologize) or is spelled out in whatever form of contract we have made. In the words of a very good man, "While the money was in my hand, was it not mine to do with as I wished? I have not wronged you. Take your money and go your way." I can't tell you who said that or what parable it was, because that would violate forum rules. But I think He must have liked cheese... > > The app store I see as little more than an additional battening down > of hatches, as in: > > You WILL use OUR operating system on OUR hardware from OUR store from > OUR approved applications list, made available from OUR approved > developers... and you WILL like it. More like, "You CAN use OUR operating system on OUR hardware from OUR store from OUR approved applications list, made available from OUR approved developers, IF you like the look and feel of it and how things work, and if not you can still go to the local store and do it the old fashioned way. It's totally up to you." I think that a lot of issues in the world are drummed up by misrepresenting the position of the opponent, and then vilifying that opponent for maintaining that drummed up position. I know people who think I want to let old people die and I want to take over the world with the military simply because I am conservative. That is not the least bit fair to me and I resent it, but I cannot change their minds. It's too convenient for them to think the way they do about me. If you talk long and loud enough about what is "wrong" with someone else, most people will think that you must be on to something because they think you could not be that upset about something unless you know what you are talking about. So others don't bother to consider the position of the opponent, and so take sides thinking they have it right. In this way you can start whole movements, even cults, because people are basically intellectually lazy and don't want to take the time to think things through and try to see all points of view. The German people were perfectly happy to believe that Jews were trying to take over the world, because the people telling them so were also the ones making it possible for bread and milk to be on the table each night. I think you are misrepresenting Apple's position here. No one is forcing anyone to do anything. Everyone still has a choice. Of all people, I don't think you can accuse the very liberal Steve Jobs of wanting to abolish freedom in regards to our choices in technology. He strikes me as someone who genuinely enjoys making cool things that other people like. People clearly like the App Store model, because inordinate amounts of money have been spent by consumers and wise developers have become hugely successful using this model. > > I understand that the "user experience" is a huge draw for anything > Apple, but is that really worth having every detail in the process > dictated? Food for thought. Dictated? Again, that is pretty clearly a misrepresentation. I beg to differ. > > > Best regards, > David C. Bob From harald at etcpp.de Fri Jan 14 18:19:43 2011 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Sat, 15 Jan 2011 00:19:43 +0100 Subject: Export Snapshot (iOS) In-Reply-To: <120FEDA7-4771-4DD8-A94C-49BD0B1E268C@twft.com> References: <4D309B24.1080708@fourthworld.com> <0DB5AD31-FC4F-4668-A973-2CDEC530501D@twft.com> <418B67B7-44EF-43BD-90B2-215441AB9C17@twft.com> <120FEDA7-4771-4DD8-A94C-49BD0B1E268C@twft.com> Message-ID: Hi all. In a script I want to export a screenshot to a file. This works fine and without any problem until I leave the card, go to a special other card and then turn back. Then the export fails and the script stops without any info in "the result". This happens with JPEG and PNG, I tried both: export snapshot from this card to file as jpeg The path never changes, only the contents of the card change. The export only fails (no matter what the card contains) when I visited this special other card. Could this be a memory problem? Any idea? Best regards, Harald. | Harald M?ller (www.etcpp.de) | Theodor-K?rner-Stra?e 4, 97072 W?rzburg | Telefon + 49-[0]931-329090-42 From martyknapp at comcast.net Fri Jan 14 19:03:28 2011 From: martyknapp at comcast.net (Marty Knapp) Date: Fri, 14 Jan 2011 16:03:28 -0800 Subject: Codesign Error (Mac) In-Reply-To: <4D2E9D5C.8060008@comcast.net> References: <4D2E9D5C.8060008@comcast.net> Message-ID: <4D30E450.9000008@comcast.net> Well I've finally worked some things out, so thought I'd share them here to possibly spare someone else a trip to the Hair Loss Clinic. My code signing issue had to do with my certificates. I went into Keychain and on my certificates from Apple I changed the "Trust" setting to "Use System Defaults." Thanks to Obleo Beck for helping me track this down. BTW Obleo has just uploaded to Rev Online a new version of his Signing Assistant, which was sited in his recent Rev Newsletter article, "LiveCode Apps for Mac Store." It's now in stack form - check it out, it's a very handy utility. Much faster and much easier than a trip to the Terminal. It will sign your app, create the pkg file and sign it. It's the kind of app that Apple should provide for this. In the "Certificate Name" field be sure to enter just the last part of the certificate name, not the whole "3rd Party Developer Application: " part. I hope that helps someone out there. Marty "My head sure is cold" Knapp > This isn't strictly a LiveCode question but maybe someone here can > help . . . > > I'm trying to use the terminal to codesign an app for the Mac app > store and I'm getting an "identity not found" error. I have downloaded > and installed the WWDR intermediate certificate into KeyChain, > created, downloaded and installed the developer certificate into > KeyChain. I have also added to the plist file: > LSApplicationCategoryType public.app-category.productivity: Productivity > > I wasn't sure if I was supposed to add the whole category string, so I > also tried setting the category to just "Productivity." > > I have also added the proper CFBundleIdentifier > > I've Googled the error code "identity not found" and am not coming up > with much. Same on the Apple Dev support forum. I can't tell if this > is a certificate issue, a plist issue, or "I'm just stupid issue!" > Anybody wanna tell me where to go? > From david at vaudevillecourt.tv Fri Jan 14 19:10:23 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Sat, 15 Jan 2011 00:10:23 +0000 Subject: Incrementing indexes or putting empty into an array Message-ID: For a long time I've incremente indexes with a line_Add or line_Insert function - now that I'm optimising things for release I've started doing the following: repeat for each line someLine in someText process someLine put empty into lineArray [someLine] end repeat put keys (lineArray) into unsortedindex It's nice and convenient to write, but I wonder how fast it is... From cjw at eml.cc Fri Jan 14 19:29:59 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Fri, 14 Jan 2011 18:29:59 -0600 Subject: Is this doable at a newbie level? Message-ID: <4D30EA87.9090603@eml.cc> Hi, The below features list is for a small utility I *need* right now, but I can wait long enough to code it. ;) Please, resist the urge to whip out the code and post it. I want to try something myself. I *know* this can be done in LC. What I am asking is if you think the following can be done by a newbie to LC? Thanks, Calvin PS - Don't go away... I may *need* you to "whip out" some syntax later! Here's the list... Here is a list of requested features... * "Always On Top" option * Three Buttons. o Date o Time o Date and Time + The "Date and Time" button to include date, at least in this specific format, but others can be included... "Nov 15, 2010 02:43 PM" (color only for reference, not needed in app.) Please ask me for other formats, if you want to include them? * Optional Radio buttons to select Date/Time formats *if* you have the time and inclination. The Date & Time format above,"Nov 15, 2010 02:43 PM," is my only immediate need. o "Date & Time" Mmm DD, YYYY HH:MM AM (the same as the above exact example that is really the most important format.) o Another Date format MM/DD/YY (Example: 01/14/11) o Time format 1: HH:MM (24 Hr Clock) o Time format 2: HH:MM AM (12 Hr Clock) o YYYYMMDDHHSS - I use this to prefix file names as a simple date tagging system. * It would be nice to be typing in a text editor and just click the "Insert Date" button and populate it in the document I am working on, but I can settle for sending it to the clipboard if that is all that can be done easily. * Small footprint o Just big enough for the radio buttons (for the format selections) and the three "Date," Time" and "Date & Time" insertion buttons. o Menu in Right-Click menu, if easier. From bobs at twft.com Fri Jan 14 19:51:43 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 14 Jan 2011 16:51:43 -0800 Subject: Is this doable at a newbie level? In-Reply-To: <4D30EA87.9090603@eml.cc> References: <4D30EA87.9090603@eml.cc> Message-ID: <5D5829D8-8783-4ABB-9226-E8D5E05D5E41@twft.com> If you look in the Dictionary, under date you will find several items, the date function, the dateFormat function, the datetime keyword, and the dateItems keyword. Also, if you look for clipboard you will find the clipBoardData property. Between all this and some experimentation you should be able to come up with a button that will take the current date and or time in whatever format you desire and set the clipBoardData to that. Note that setting properties is not the same syntax as creating or altering variables. You set a property using the set command. You alter variables by using the put into form. If you wanted to get really fancy, you could build an appleScript into a variable and then do as appleScript to query the system for the foreground application and then tell that application to paste after all that. But that's just for extra credit. Your stack should have it's systemWindow property set to true, but this will only float it above other LiveCode stacks. I don't think there is a way to make it float above every application in the OS, but I might be wrong there. I don't think this will take long for you to do if you try. Dropping the date/time into a selected field of another LiveCode stack would be easy. If you want to drop a date/time stack at the cursor of another application, that could prove more difficult. Bob On Jan 14, 2011, at 4:29 PM, Calvin Waterbury wrote: > Hi, > > The below features list is for a small utility I *need* right now, but I can wait long enough to code it. ;) > > Please, resist the urge to whip out the code and post it. I want to try something myself. I *know* this can be done in LC. What I am asking is if you think the following can be done by a newbie to LC? > > Thanks, Calvin > > PS - Don't go away... I may *need* you to "whip out" some syntax later! Here's the list... > > Here is a list of requested features... > > * "Always On Top" option > * Three Buttons. > o Date > o Time > o Date and Time > + The "Date and Time" button to include date, at least in this specific format, but others can be included... > "Nov 15, 2010 02:43 PM" (color only for reference, not needed in app.) > Please ask me for other formats, if you want to include them? > > * Optional Radio buttons to select Date/Time formats *if* you have the time and inclination. The Date & Time format above,"Nov 15, 2010 02:43 PM," is my only immediate need. > o "Date & Time" Mmm DD, YYYY HH:MM AM (the same as the above exact example that is really the most important format.) > o Another Date format MM/DD/YY (Example: 01/14/11) > o Time format 1: HH:MM (24 Hr Clock) > o Time format 2: HH:MM AM (12 Hr Clock) > o YYYYMMDDHHSS - I use this to prefix file names as a simple date tagging system. > > * It would be nice to be typing in a text editor and just click the "Insert Date" button and populate it in the document I am working on, but I can settle for sending it to the clipboard if that is all that can be done easily. > > * Small footprint > o Just big enough for the radio buttons (for the format selections) and the three "Date," Time" and "Date & Time" insertion buttons. > o Menu in Right-Click menu, if easier. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Fri Jan 14 20:01:44 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 14 Jan 2011 17:01:44 -0800 Subject: Is this doable at a newbie level? Message-ID: <4D30F1F8.4030205@fourthworld.com> Bob Sneidar wrote: > Your stack should have it's systemWindow property set to true, but > this will only float it above other LiveCode stacks. I don't think > there is a way to make it float above every application in the OS, > but I might be wrong there. Floats above all windows, even those from other apps, in OS X, Windows, and Linux (at least on Ubuntu; haven't tested it elsewhere). -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From cjw at eml.cc Fri Jan 14 20:06:43 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Fri, 14 Jan 2011 19:06:43 -0600 Subject: Is this doable at a newbie level? In-Reply-To: <5D5829D8-8783-4ABB-9226-E8D5E05D5E41@twft.com> References: <4D30EA87.9090603@eml.cc> <5D5829D8-8783-4ABB-9226-E8D5E05D5E41@twft.com> Message-ID: <4D30F323.10009@eml.cc> Hi Bob - See below... > ------------------------------------------------------------------------ > > Bob Sneidar > Friday, January 14, 2011 6:51 PM > > > If you look in the Dictionary, under date you will find several items, > the date function, the dateFormat function, the datetime keyword, and > the dateItems keyword. Also, if you look for clipboard you will find > the clipBoardData property. > > Between all this and some experimentation you should be able to come > up with a button that will take the current date and or time in > whatever format you desire and set the clipBoardData to that. I've already started the stack, complete with... <> radio buttons for format selection <> 3 buttons to enter "Date & Time," "Date" and "Time" <> YYYY MM DD HH mm ss label fields, just to "see" the realtime values. > > Note that setting properties is not the same syntax as creating or > altering variables. You set a property using the set command. You > alter variables by using the put into form. I may need some help with this, but let me struggle with it a little. I'll ask if I get stuck. > > If you wanted to get really fancy, you could build an appleScript into > a variable and then do as appleScript to query the system for the > foreground application and then tell that application to paste after > all that. But that's just for extra credit. Actually, *this* is exactly what I want to do, but I'm on Windows 7. > > Your stack should have it's systemWindow property set to true, but > this will only float it above other LiveCode stacks. I don't think > there is a way to make it float above every application in the OS, but > I might be wrong there. Hmmm... it needs to have the "Always On Top" option available, or I could try to program it into the Windows 7 Right-Click context menu, but that sounds advanced, I think? > > I don't think this will take long for you to do if you try. Dropping > the date/time into a selected field of another LiveCode stack would be > easy. If you want to drop a date/time stack at the cursor of another > application, that could prove more difficult. > > Bob Again, the need to drop into the focused application is important, but I'll get it working on the clipboard usefulness first then move on to the next level. Thanks for the reminder on the "Dictionary." I'm going to have to create a new mantra for myself, "Look in the Dictionary, Look in the Dictionary, Look in the Dictionary,...." Fair winds, Calvin > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ------------------------------------------------------------------------ > > Calvin Waterbury > Friday, January 14, 2011 6:29 PM > > > Hi, > > The below features list is for a small utility I *need* right now, but > I can wait long enough to code it. ;) > > Please, resist the urge to whip out the code and post it. I want to > try something myself. I *know* this can be done in LC. What I am > asking is if you think the following can be done by a newbie to LC? > > Thanks, Calvin > > PS - Don't go away... I may *need* you to "whip out" some syntax > later! Here's the list... > > Here is a list of requested features... > > * "Always On Top" option > * Three Buttons. > o Date > o Time > o Date and Time > + The "Date and Time" button to include date, at least in > this specific format, but others can be included... > "Nov 15, 2010 02:43 PM" (color only for reference, > not needed in app.) > Please ask me for other formats, if you want to > include them? > > * Optional Radio buttons to select Date/Time formats *if* you have the > time and inclination. The Date & Time format above,"Nov 15, 2010 > 02:43 PM," is my only immediate need. > o "Date & Time" Mmm DD, YYYY HH:MM AM (the same as the above > exact example that is really the most important format.) > o Another Date format MM/DD/YY (Example: 01/14/11) > o Time format 1: HH:MM (24 Hr Clock) > o Time format 2: HH:MM AM (12 Hr Clock) > o YYYYMMDDHHSS - I use this to prefix file names as a simple > date tagging system. > > * It would be nice to be typing in a text editor and just click the > "Insert Date" button and populate it in the document I am working on, > but I can settle for sending it to the clipboard if that is all that > can be done easily. > > * Small footprint > o Just big enough for the radio buttons (for the format > selections) and the three "Date," Time" and "Date & Time" insertion > buttons. > o Menu in Right-Click menu, if easier. From cjw at eml.cc Fri Jan 14 20:09:02 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Fri, 14 Jan 2011 19:09:02 -0600 Subject: Is this doable at a newbie level? In-Reply-To: <4D30F1F8.4030205@fourthworld.com> References: <4D30F1F8.4030205@fourthworld.com> Message-ID: <4D30F3AE.9020600@eml.cc> Great! Another item off my todo list! Thanks, Richard! Calvin > ------------------------------------------------------------------------ > > Richard Gaskin > Friday, January 14, 2011 7:01 PM > > > Bob Sneidar wrote: > > > Your stack should have it's systemWindow property set to true, but > > this will only float it above other LiveCode stacks. I don't think > > there is a way to make it float above every application in the OS, > > but I might be wrong there. > > Floats above all windows, even those from other apps, in OS X, > Windows, and Linux (at least on Ubuntu; haven't tested it elsewhere). > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From cjw at eml.cc Fri Jan 14 20:14:40 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Fri, 14 Jan 2011 19:14:40 -0600 Subject: Any Convention on Naming Conventions? Message-ID: <4D30F500.1050302@eml.cc> Hello, I have spent some time perusing the articles on "Naming Conventions," but I did not discover anything about mutual agreement on the subject (maybe I missed it?). Is there any universally accepted and agreed on "Naming Convention" I should adopt? Thank you, Calvin From capellan2000 at gmail.com Fri Jan 14 20:33:03 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 14 Jan 2011 17:33:03 -0800 (PST) Subject: Dictionary Random Picks - now on RevOnline In-Reply-To: <4D309744.9030005@hyperactivesw.com> References: <4D309744.9030005@hyperactivesw.com> Message-ID: <1295055183709-3218624.post@n4.nabble.com> Really nice! :-) I downloaded it from this page: http://revonline2.runrev.com/stack/537/Dictionary-Random-Picks Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Dictionary-Random-Picks-now-on-RevOnline-tp3215244p3218624.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Fri Jan 14 20:36:50 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 14 Jan 2011 17:36:50 -0800 Subject: Any Convention on Naming Conventions? In-Reply-To: <4D30F500.1050302@eml.cc> References: <4D30F500.1050302@eml.cc> Message-ID: <7551480B-1ED3-4607-8AAF-DCD79EB523EE@twft.com> Everyone has their own. I name variables beginning with the, as in theSQL, but others will tell you this is bad practice because if I put a space between the and everything else, LiveCode will think I am talking about a property! DOH! I'm a bad, bad programmer. SBT Accounting used to have all variables begin with m (for Memory I guess), arrays began with a, global variables began with m0 (or a0 for global arrays) etc. Besides that, I preface data grids with dg, groups with grp, labels with lbl, data fields with fld, buttons with btn, etc. Why you ask? Because the Application Browser sorts by name, and this way I can have all my like objects sorted together whilst still maintaining the tree format it uses. Also, when searching, I can find all references to buttons by searching my scripts for btn. I also try to make it a habit to enclose object names in quotes. It isn't strictly necessary, as LiveCode is very forgiving in this respect, but it avoids any conflicts and actually makes it a bit easier to distinguish variables from object names in my code. Bob On Jan 14, 2011, at 5:14 PM, Calvin Waterbury wrote: > Hello, > > I have spent some time perusing the articles on "Naming Conventions," but I did not discover anything about mutual agreement on the subject (maybe I missed it?). > > Is there any universally accepted and agreed on "Naming Convention" I should adopt? > > Thank you, > Calvin > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 14 20:40:17 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 14 Jan 2011 17:40:17 -0800 Subject: Dictionary Random Picks - now on RevOnline In-Reply-To: <1295055183709-3218624.post@n4.nabble.com> References: <4D309744.9030005@hyperactivesw.com> <1295055183709-3218624.post@n4.nabble.com> Message-ID: <664470F5-2FB5-4946-80B7-925F20D77B4B@twft.com> Wow! I just discovered the "if" command! What a powerful thing this is! Why this opens up a whole new world of possibil... ok none of you are buying this are you? Bob On Jan 14, 2011, at 5:33 PM, Alejandro Tejada wrote: > > Really nice! :-) > > I downloaded it from this page: > http://revonline2.runrev.com/stack/537/Dictionary-Random-Picks > > Alejandro > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Dictionary-Random-Picks-now-on-RevOnline-tp3215244p3218624.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 cjw at eml.cc Fri Jan 14 20:49:06 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Fri, 14 Jan 2011 19:49:06 -0600 Subject: No Check Box in the Dictionary?? Message-ID: <4D30FD12.204@eml.cc> Hi, I don't mean to be picky, but neither "checkbox" nor "check box" is in the dictionary. If I missed something, please tell me? FYI - I only have access to the trial version. Fair winds, Calvin From capellan2000 at gmail.com Fri Jan 14 20:53:32 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 14 Jan 2011 17:53:32 -0800 (PST) Subject: Dictionary Random Picks - now on RevOnline In-Reply-To: <664470F5-2FB5-4946-80B7-925F20D77B4B@twft.com> References: <4D309744.9030005@hyperactivesw.com> <1295055183709-3218624.post@n4.nabble.com> <664470F5-2FB5-4946-80B7-925F20D77B4B@twft.com> Message-ID: <1295056412118-3218643.post@n4.nabble.com> Bob, many programs shows, at start up a Window with Tips and Tricks. A window that shows a random page of the dictionary is fine too, at least from my point of view. :-) Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Dictionary-Random-Picks-now-on-RevOnline-tp3215244p3218643.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Fri Jan 14 20:54:07 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 14 Jan 2011 17:54:07 -0800 Subject: Any Convention on Naming Conventions? In-Reply-To: <4D30F500.1050302@eml.cc> References: <4D30F500.1050302@eml.cc> Message-ID: <172830274593.20110114175407@ahsoftware.net> Calvin- Friday, January 14, 2011, 5:14:40 PM, you wrote: > Hello, > I have spent some time perusing the articles on "Naming Conventions," > but I did not discover anything about mutual agreement on the subject > (maybe I missed it?). > Is there any universally accepted and agreed on "Naming Convention" I > should adopt? Some weekend reading for you: http://www.fourthworld.com/embassy/articles/scriptstyle.html http://www.fourthworld.com/embassy/articles/revolution_message_path.html -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Jan 14 20:57:06 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 14 Jan 2011 17:57:06 -0800 Subject: Dictionary Random Picks - now on RevOnline In-Reply-To: References: Message-ID: <183830453671.20110114175706@ahsoftware.net> Scott- Friday, January 14, 2011, 10:40:33 AM, you wrote: > Recently, Jacque Landman Gay wrote: >> I finally got around to taking a look. Nice job. In fact, I accidentally >> discovered "synchrate"** which I never knew existed. :) > And blinkRate! My blinkRate increased after reading about the synchRate. I thought you were kidding about this, so I looked it up. And the blinkrate should be a multiple of the idleRate. I didn't realize you could change that either. -- -Mark Wieder mwieder at ahsoftware.net From cjw at eml.cc Fri Jan 14 21:01:07 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Fri, 14 Jan 2011 20:01:07 -0600 Subject: Any Convention on Naming Conventions? In-Reply-To: <172830274593.20110114175407@ahsoftware.net> References: <4D30F500.1050302@eml.cc> <172830274593.20110114175407@ahsoftware.net> Message-ID: <4D30FFE3.5050505@eml.cc> Hey Mark, Thanks! I had already read the first one, courtesy of David C., but the second link is fresh territory! @Richard - Nice! Fair winds, Calvin > ------------------------------------------------------------------------ > > Mark Wieder > Friday, January 14, 2011 7:54 PM > > > Calvin- > > Friday, January 14, 2011, 5:14:40 PM, you wrote: > >> Hello, > >> I have spent some time perusing the articles on "Naming Conventions," >> but I did not discover anything about mutual agreement on the subject >> (maybe I missed it?). > >> Is there any universally accepted and agreed on "Naming Convention" I >> should adopt? > > Some weekend reading for you: > > http://www.fourthworld.com/embassy/articles/scriptstyle.html > http://www.fourthworld.com/embassy/articles/revolution_message_path.html > > ------------------------------------------------------------------------ > > Calvin Waterbury > Friday, January 14, 2011 7:14 PM > > > Hello, > > I have spent some time perusing the articles on "Naming Conventions," > but I did not discover anything about mutual agreement on the subject > (maybe I missed it?). > > Is there any universally accepted and agreed on "Naming Convention" I > should adopt? > > Thank you, > Calvin From revdev at pdslabs.net Fri Jan 14 21:33:30 2011 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 14 Jan 2011 18:33:30 -0800 Subject: No Check Box in the Dictionary?? In-Reply-To: <4D30FD12.204@eml.cc> References: <4D30FD12.204@eml.cc> Message-ID: <4D31077A.4010406@pdslabs.net> Look at "style" - it's a button style. Phil On 1/14/11 5:49 PM, Calvin Waterbury wrote: > Hi, > > I don't mean to be picky, but neither "checkbox" nor "check box" is in the > dictionary. If I missed something, please tell me? > > FYI - I only have access to the trial version. > > Fair winds, > Calvin > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From scott at tactilemedia.com Fri Jan 14 21:37:15 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 14 Jan 2011 18:37:15 -0800 Subject: Dictionary Random Picks - now on RevOnline In-Reply-To: <183830453671.20110114175706@ahsoftware.net> Message-ID: Recently, Mark Wieder wrote: > Friday, January 14, 2011, 10:40:33 AM, you wrote: > >> Recently, Jacque Landman Gay wrote: > >>> I finally got around to taking a look. Nice job. In fact, I accidentally >>> discovered "synchrate"** which I never knew existed. :) > >> And blinkRate! My blinkRate increased after reading about the synchRate. > > I thought you were kidding about this, so I looked it up. And the > blinkrate should be a multiple of the idleRate. I didn't realize you > could change that either. Along with the moveRate, how many "rates" are there? There should be a berRate -- how often the engine gets mad at you when you do something wrong. Wondering now if there's a rateRate hidden in there... Regards, Scott Rossi Creative Director Tactile Media, UX Design From jacque at hyperactivesw.com Fri Jan 14 21:39:55 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Jan 2011 20:39:55 -0600 Subject: Is this doable at a newbie level? In-Reply-To: <4D30F323.10009@eml.cc> References: <4D30EA87.9090603@eml.cc> <5D5829D8-8783-4ABB-9226-E8D5E05D5E41@twft.com> <4D30F323.10009@eml.cc> Message-ID: <4D3108FB.5010703@hyperactivesw.com> On 1/14/11 7:06 PM, Calvin Waterbury wrote: > > Hmmm... it needs to have the "Always On Top" option available, or I > could try to program it into the Windows 7 Right-Click context menu, but > that sounds advanced, I think? I think you already have a lead on the "always on top" part, but I just wanted to add that setting up a right-click behavior is very easy. Setting up a whole right-click menu is a little more work, but if all you want to do is see if a button press was a right-click, it's all built in. The mouseup message provides a parameter that tells you which mouse button was down when it was clicked. BTW, I think this is a great first project. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Jan 14 21:49:45 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Jan 2011 20:49:45 -0600 Subject: No Check Box in the Dictionary?? In-Reply-To: <4D30FD12.204@eml.cc> References: <4D30FD12.204@eml.cc> Message-ID: <4D310B49.1040009@hyperactivesw.com> On 1/14/11 7:49 PM, Calvin Waterbury wrote: > Hi, > > I don't mean to be picky, but neither "checkbox" nor "check box" is in > the dictionary. If I missed something, please tell me? It isn't obvious. Those are button styles, so search for "style", though that won't tell you too much. Anything in particular you wanted to know about them? While the tool palette makes the different button styles look like different objects, they're really just variations of the basic button object but with different properties set. (Same for fields and scrollbars.) The tool palette is more of a shortcut device so you don't have to set all the properties yourself. You can change any kind of button into any other kind by changing its properties, though the inspector doesn't always let you do that (forcing you to use the message box instead.) The inspectors reinforce the concept of different kinds of buttons, rather than a single button object with different properties. So, checkboxes and radio buttons are very much the same object, respond to the same commands and events, and really the only difference in this case is how their hilites are drawn -- which you don't need to worry about because the engine does that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Jan 14 22:11:07 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 14 Jan 2011 21:11:07 -0600 Subject: Dictionary Random Picks - now on RevOnline In-Reply-To: References: Message-ID: <4D31104B.2050501@hyperactivesw.com> On 1/14/11 8:37 PM, Scott Rossi wrote: > Recently, Mark Wieder wrote: > >> Friday, January 14, 2011, 10:40:33 AM, you wrote: >> >>> Recently, Jacque Landman Gay wrote: >> >>>> I finally got around to taking a look. Nice job. In fact, I accidentally >>>> discovered "synchrate"** which I never knew existed. :) >> >>> And blinkRate! My blinkRate increased after reading about the synchRate. >> >> I thought you were kidding about this, so I looked it up. And the >> blinkrate should be a multiple of the idleRate. I didn't realize you >> could change that either. > > Along with the moveRate, how many "rates" are there? > > There should be a berRate -- how often the engine gets mad at you when you > do something wrong. HyperCard had an error message that said, "Script too silly to execute". No, really. It did. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Fri Jan 14 23:43:12 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 14 Jan 2011 20:43:12 -0800 Subject: Global in debugger redux In-Reply-To: <69c8f.2948e131.3a61b99a@aol.com> References: <69c8f.2948e131.3a61b99a@aol.com> Message-ID: <64840419359.20110114204312@ahsoftware.net> Craig- Friday, January 14, 2011, 6:37:14 AM, you wrote: > Is there a document somewhere that, like the dictionary, explains these UI > variables? Ho - then they wouldn't be undocumented, would they? Gotta have *some* secrets. -- -Mark Wieder mwieder at ahsoftware.net From alessandro at system-ini.it Sat Jan 15 03:42:37 2011 From: alessandro at system-ini.it (Alessandro Pisoni) Date: Sat, 15 Jan 2011 09:42:37 +0100 Subject: Sqlite connection problem Message-ID: <092DD45A-ED2A-4182-BAB7-20AB1A7ED483@system-ini.it> I have serius connection problem with my database sqlite. my code is this: on mouseUp put tAppPath() & "GestPres.db" into tDB put revOpenDatabase("sqlite",tDB,,,,,) into mydb revCloseDatabase mydb end mouseUp function tAppPath put effective filename of this stack into tFilename set itemdel to "/" if the platform = "MacOS" AND the environment <> "development" then ##!! delete item -4 to -1 of tFileName ## MacApp.app/Contents/MacOS/Standalonestack else delete item 1 of tFileName end if return tFilename & "/" end tAppPath this is the error: Database error:Unable to open the database file I have created the db with Sqlite Manger . I open the db with the Sqlite Manager. thanks Cordiali Saluti Alessandro Pisoni System.ini di Pisoni Alessandro Via Grandi,5 20062 Cassano d'Adda (MI) Tel 0363-361487 Fax 1782260060 Cell. 335440150 email:info at system-ini.it www.system-ini.it From richmondmathewson at gmail.com Sat Jan 15 03:50:25 2011 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 15 Jan 2011 10:50:25 +0200 Subject: [OT] HIG & Free books. Message-ID: <4D315FD1.3030009@gmail.com> After 12 hours straight sleep I feel human again; the compounded effects of wrestling with bucketloads of Beta-tester feedback on my Devawriter Pro and teaching from 8 am to 6.30 pm were getting "a bit much". However, as I, phoenix-like, arise from the ashes; I am inevitably spitting my usual fire, so, during a walk over to a local hotel to cheer on some of my pupils in a chess olympiad I started musing about LIvecode and Human Interface Guidelines (HIG) and, on returning, found these: Windows; http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=e49820cb-954d-45ae-9cb3-1b9e8ea7fe8c (PDF) Macintosh; http://developer.apple.com/library/mac/#documentation/UserExperience/Conceptual/AppleHIGuidelines/XHIGIntro/XHIGIntro.html GNOME; http://library.gnome.org/devel/hig-book/stable/ KDE; http://techbase.kde.org/Projects/Usability/HIG OLPC; http://wiki.sugarlabs.org/go/Human_Interface_Guidelines ECLIPSE; http://wiki.eclipse.org/User_Interface_Guidelines &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& Kaplan seem to be giving away books about the iOS HIG until 17 January; time to shift oneself pretty quickly . . . :) http://www.pupuweb.com/blog/search/ibook-ios-hig/ Love, Richmond. From klaus at major.on-rev.com Sat Jan 15 06:10:59 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sat, 15 Jan 2011 12:10:59 +0100 Subject: Sqlite connection problem In-Reply-To: <092DD45A-ED2A-4182-BAB7-20AB1A7ED483@system-ini.it> References: <092DD45A-ED2A-4182-BAB7-20AB1A7ED483@system-ini.it> Message-ID: <55EDAAB5-8B3C-4785-A535-F770E0CE00AF@major.on-rev.com> Buongiorno Alessandro, > I have serius connection problem with my database sqlite. > > my code is this: > > on mouseUp > put tAppPath() & "GestPres.db" into tDB > put revOpenDatabase("sqlite",tDB,,,,,) into mydb > revCloseDatabase mydb > end mouseUp > > function tAppPath > put effective filename of this stack into tFilename > set itemdel to "/" > if the platform = "MacOS" AND the environment <> "development" then > ##!! > delete item -4 to -1 of tFileName > ## MacApp.app/Contents/MacOS/Standalonestack > else > delete item 1 of tFileName > end if > return tFilename & "/" > end tAppPath > > this is the error: > Database error:Unable to open the database file > I have created the db with Sqlite Manger . I open the db with the Sqlite Manager. Does the current user of your standalone have ADMIN rights? Only users with ADMIN privileges are allowed to WRITE in the application folder! > thanks > > > Cordiali Saluti > Alessandro Pisoni Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From harald at etcpp.de Sat Jan 15 06:13:37 2011 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Sat, 15 Jan 2011 12:13:37 +0100 Subject: different screen resolutions (iOS) In-Reply-To: References: <4D309B24.1080708@fourthworld.com> <0DB5AD31-FC4F-4668-A973-2CDEC530501D@twft.com> <418B67B7-44EF-43BD-90B2-215441AB9C17@twft.com> <120FEDA7-4771-4DD8-A94C-49BD0B1E268C@twft.com> Message-ID: <4BCC3CD9-D261-42AF-BF97-565062E74B6C@etcpp.de> With the upcoming iPad 2 and its once again new screen resolution it will be more difficult to support all devices. As it looks there will be two "logical" resolutions each with two "physical" resolutions on the iOS, perhaps more to come. As far as I know it is much easier to support those differing "physical" resolutions with the syntax "@2x" for high resolution graphics which will be used when the screen is a retina display. If Apple also doubles in "physical" resolution of the iPad 2 the technic to support this new resolution would be the same. When I think about handling all this with LiveCode (which i love) and the need to make so many different versions I would like to have a "tool" or something which automates this. Thought about use all shown graphics via functions which do the same "@2x"-thing. Haven't found out yet how I could make a clean "double the whole stack in size" without visual or logical errors (text sizes, perfect element positions and so on). Wouldn't it be a good idea to make a tool or bundle of functions which handle this "doubling of resolution"? How are you all handling this? Best regards, Harald. | Harald M?ller (www.etcpp.de) | Theodor-K?rner-Stra?e 4, 97072 W?rzburg | Telefon + 49-[0]931-329090-42 From ambassador at fourthworld.com Sat Jan 15 09:09:40 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 15 Jan 2011 06:09:40 -0800 Subject: Dictionary Random Picks - now on RevOnline Message-ID: <4D31AAA4.7080402@fourthworld.com> Jacque wrote: > HyperCard had an error message that said, "Script too silly to > execute". > No, really. It did. What would trigger that? I want to submit a feature request to add that. :) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From coiin at verizon.net Sat Jan 15 09:15:36 2011 From: coiin at verizon.net (Colin Holgate) Date: Sat, 15 Jan 2011 09:15:36 -0500 Subject: different screen resolutions (iOS) In-Reply-To: <4BCC3CD9-D261-42AF-BF97-565062E74B6C@etcpp.de> References: <4D309B24.1080708@fourthworld.com> <0DB5AD31-FC4F-4668-A973-2CDEC530501D@twft.com> <418B67B7-44EF-43BD-90B2-215441AB9C17@twft.com> <120FEDA7-4771-4DD8-A94C-49BD0B1E268C@twft.com> <4BCC3CD9-D261-42AF-BF97-565062E74B6C@etcpp.de> Message-ID: On Jan 15, 2011, at 6:13 AM, Harald M?ller wrote: > With the upcoming iPad 2 and its once again new screen resolution it will be more difficult to support all devices. As it looks there will be two "logical" resolutions each with two "physical" resolutions on the iOS, perhaps more to come. Can you point to the specifications page, where they say that the resolution is different? This article here: http://www.ilounge.com/index.php/articles/comments/new-in-ios-4.3-the-full-breakdown-with-screenshots/ looks at the various art inside iOS 4.3, and that art suggests that the new iPad would be the same resolution as the current one. About your overall point of dealing with different screen sizes, there are a few difficulties. With Flash I do use the kind of approach you're suggesting, where my single sized iPhone stage gets scaled up to fill the iPad screen, but there are a good amount of hoops I have to jump through to make sure that the quality remains good. The larger screen size isn't as big a problem as the different aspect ratios. In Flash I get away with it by having extra content above and below the stage, and when it's blown up to fill the iPad, that extra content becomes visible. With LC, so far at least, the content seems to be aligned top left. That could work out ok, if you have bitmap versions of the different size backgrounds you could jump to the card that has the corresponding sized art, and button layout, etc. With that way of working you could take care of 480x320, 1024x768, and the other device sizes of 800x480 and 1024x600. Any time you learn about a new screen size that you want to support you would need to make a card, or cards, that are laid out for that new size. Or you might be able to do a lot of the work using code. From baccheschi at tin.it Sat Jan 15 09:37:27 2011 From: baccheschi at tin.it (baccheschi at tin.it) Date: Sat, 15 Jan 2011 15:37:27 +0100 (CET) Subject: R: Re: a help .. Message-ID: <12d8a1c02d3.baccheschi@tin.it> ----Messaggio originale---- Da: jacque at hyperactivesw.com Data: 14-gen-2011 21.00 A: "How to use LiveCode" Ogg: Re: a help .. On 1/14/11 11:38 AM, baccheschi at tin.it wrote: > i am at the beginning....... p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; > font: 12.0px Helvetica} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: > 12.0px Helvetica; min-height: 14.0px} p.p3 {margin: 0.0px 0.0px 0.0px > 0.0px; font: 12.0px Arial} p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; > font: 12.0px Arial; min-height: 14.0px} span.s1 {font: 12.0px Arial} > > > > i would like to "manage" the "About This Application" menu item I > tried to do somthing with Menu builder, but in a StandAlone > appllication nothing goes as i would > > > If somebody may give me indications i'll be infinitely grateful to > him Can you explain more about what you want to do? I don't understand why you have css, or how css should apply to an About box. Your About box should be a substack of the main app stack. Place text fields, images, or other controls in it. Then show that stack when a user chooses "About" from the application menu. -- 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 p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica} the question is how realize that an user chooses "About" from the application menu.... From bill at bluewatermaritime.com Sat Jan 15 09:42:49 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Sat, 15 Jan 2011 10:42:49 -0400 Subject: LiveCode Newbie questions In-Reply-To: <4D30AEA2.9090709@eml.cc> References: <4D2F7252.6070208@eml.cc> <4D2F7730.9020200@eml.cc> <180747798968.20110113185932@ahsoftware.net> <4D2FBF54.1010308@eml.cc> <1295034411349-3218262.post@n4.nabble.com> <4D30AEA2.9090709@eml.cc> Message-ID: I just tried to "make an application" from my program that I've been working on and using for the last seven or eight years. I'm on Mac OS. I was surprised to find out that the application it created with the defaults in place was a windows exe program. From ambassador at fourthworld.com Sat Jan 15 09:51:01 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 15 Jan 2011 06:51:01 -0800 Subject: No Check Box in the Dictionary?? Message-ID: <4D31B455.4000200@fourthworld.com> Calvin Waterbury wrote: > I don't mean to be picky, but neither "checkbox" nor "check box" is in > the dictionary. If I missed something, please tell me? By default the IDE is set to what an occasionally-rude person like myself might call "Lie Mode", in which the names it displays in the Property Inspectors aren't the actual "English-like" tokens used in the language itself, but presumably some more-English-like-than-English-like label that attempts to be more descriptive. My personal problem with that is that I find it slows rather than smooths the experience of getting started with the tool, since using the GUI is a much smaller part of the experience than coding, and for coding you need to know the actual token. As Phil noted that's a button style, so you can turn it up in the Dictionary entry for "style". Two tips to shorten the distance between "Whiskey Tango Foxtrot?" and "Ah, I get it" going forward: 1. In LC's Preferences window, at the top of the first pane is an option labeled "Property labels are:" with the default setting of "Description of option". If you change that to "Name of LiveTalk property" you'll pick up the language just a little faster, since the GUI will then reflect the tokens you'll be using in your scripts. 2. Those coming from a background in VB, ToolBook, or a good many other IDEs are accustomed to finding a property sheet tool, which lists all of the properties for a selected object and allows a means of editing them. The Property Inspector does a fine job of providing convenient ways to edit a subset of these, but for learning the language it can be very helpful to see a list of all of them. Got you covered there: 4W Props is a simple property sheet tool for LiveCode, available through the Stacks section in RevNet - in the IDE see: Development->Plugins->GoRevNet HTH - -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From ambassador at fourthworld.com Sat Jan 15 09:58:41 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 15 Jan 2011 06:58:41 -0800 Subject: Any Convention on Naming Conventions? Message-ID: <4D31B621.7020006@fourthworld.com> Calvin Waterbury wrote: >> ------------------------------------------------------------------------ >> Mark Wieder >> Friday, January 14, 2011 7:54 PM ... >> Some weekend reading for you: >> >> http://www.fourthworld.com/embassy/articles/scriptstyle.html >> http://www.fourthworld.com/embassy/articles/revolution_message_path.html > > Thanks! I had already read the first one, courtesy of David C., but > the second link is fresh territory! > > @Richard - Nice! Thank you for the kind word, but you should be warned: If you advocate the use of Hungarian-lite notation you put yourself at risk of being pelted with small packets of M&Ms. :) Long story. I'll tell you over a pint at the next RevCon if you're there, or next time you're passing through Los Angeles. (Man, I miss Dar being on this list more regularly....) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From bill at bluewatermaritime.com Sat Jan 15 10:29:52 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Sat, 15 Jan 2011 11:29:52 -0400 Subject: No Check Box in the Dictionary?? In-Reply-To: <4D31B455.4000200@fourthworld.com> References: <4D31B455.4000200@fourthworld.com> Message-ID: Richard Thanks for these tips! On Sat, Jan 15, 2011 at 10:51 AM, Richard Gaskin wrote: > Calvin Waterbury wrote: > > I don't mean to be picky, but neither "checkbox" nor "check box" is in >> the dictionary. If I missed something, please tell me? >> > > By default the IDE is set to what an occasionally-rude person like myself > might call "Lie Mode", in which the names it displays in the Property > Inspectors aren't the actual "English-like" tokens used in the language > itself, but presumably some more-English-like-than-English-like label that > attempts to be more descriptive. > > My personal problem with that is that I find it slows rather than smooths > the experience of getting started with the tool, since using the GUI is a > much smaller part of the experience than coding, and for coding you need to > know the actual token. > > As Phil noted that's a button style, so you can turn it up in the > Dictionary entry for "style". > > > Two tips to shorten the distance between "Whiskey Tango Foxtrot?" and "Ah, > I get it" going forward: > > 1. In LC's Preferences window, at the top of the first pane is an option > labeled "Property labels are:" with the default setting of "Description of > option". If you change that to "Name of LiveTalk property" you'll pick up > the language just a little faster, since the GUI will then reflect the > tokens you'll be using in your scripts. > > 2. Those coming from a background in VB, ToolBook, or a good many other > IDEs are accustomed to finding a property sheet tool, which lists all of the > properties for a selected object and allows a means of editing them. The > Property Inspector does a fine job of providing convenient ways to edit a > subset of these, but for learning the language it can be very helpful to see > a list of all of them. > > Got you covered there: > > 4W Props is a simple property sheet tool for LiveCode, available through > the Stacks section in RevNet - in the IDE see: > > Development->Plugins->GoRevNet > > HTH - > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.bluewatermaritime.com From bvg at mac.com Sat Jan 15 11:16:27 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 15 Jan 2011 17:16:27 +0100 Subject: Required: shell scripting wizard! In-Reply-To: References: Message-ID: does the relaunch message not work on command line apps in windows? On 14 Jan 2011, at 21:31, David Bovill wrote: > Hmmm... I wander if simply polling for an environmental variable change will > work. In the current case I know that LiveCode is open - I just want the > external command line program to redirect the browser call back to Livecode > and not open up another browser. > > On 14 January 2011 16:11, Mike Bonner wrote: > >> Ah. Maybe a plugin thats set to start with LC that listens to a socket? Or >> checks an env variable ever so often, or a file for changes, or a >> combination of these such as hit a listening port in your plugin and check >> a >> file/var whatever. >> >> As for the multiple instances problem, if you go with the plugin route, >> could have it create a tmp file to indicate running status, delete it on >> close so you know whether to start up rev or not. > > > NB - on OSX you use "launch" rather than "start".... > > Makes me think though is there any way to have a compiled Livecode app act > as a cli? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Sat Jan 15 11:18:26 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 15 Jan 2011 11:18:26 -0500 Subject: usb driver problem Message-ID: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> I am having trouble accessing an Arduino Uno attached to my computer via USB. The device driver shows up as "/dev/tty.usbmodem1a21" I tried a simple open driver then read from driver then close driver. But Livecode keeps crashing or worse my computer panics and dies. on mouseUp put "" into field "IOresult" open driver "/dev/tty.usbmodem1a21" for binary read // tried text read, text update, binary update wait 50 read from driver "/dev/tty.usbmodem1a21" for 1 line in 4 second // tried for 3 char in 3 seconds, tried until eof if it is not "" then put "it: " & it into field "IOresult" else put "result: " & the result into field "IOresult" end if wait 50 close driver "/dev/tty.usbmodem1a21" end mouseUp I just want to read data that is being sent from the board. In Arduino there is a serial monitor which does read the data coming from the board. It is a bunch of numbers one per line as in 1023 then 992 then 992 etc. I can't seem to figure out what I am doing wrong. This seems pretty straight forward. I sent an email to Mark Weider but then thought that others might also have ideas. Thanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net From bvg at mac.com Sat Jan 15 11:26:59 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 15 Jan 2011 17:26:59 +0100 Subject: Dictionary Random Picks - now on RevOnline In-Reply-To: References: Message-ID: <3AA6DF18-4A4D-4C4E-9986-8250D67D6CE0@mac.com> On 15 Jan 2011, at 03:37, Scott Rossi wrote: > Along with the moveRate, how many "rates" are there? I entered "*rate" into the BvG Docu search field: blinkRate property effectRate property frameRate property idleRate property playRate property qtIdleRate property recordRate property repeatRate property revZipEnumerateItems function syncRate property typingRate property so it'll be 10, when not counting the enumeRate. -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From davidocoker at gmail.com Sat Jan 15 11:42:10 2011 From: davidocoker at gmail.com (David C.) Date: Sat, 15 Jan 2011 10:42:10 -0600 Subject: a help .. In-Reply-To: <12d8a1c02d3.baccheschi@tin.it> References: <12d8a1c02d3.baccheschi@tin.it> Message-ID: Hello, I have uploaded a *very plain* sample stack that has little more than a menu and "About" box pointing to a substack, that you should be able to use as a rough guide: http://www.docstoolchest.com/catch_all/TestMenu.rev Hope that is what you are looking for, David C. On Sat, Jan 15, 2011 at 8:37 AM, baccheschi at tin.it wrote: > > > > > ----Messaggio originale---- > Da: jacque at hyperactivesw.com > Data: 14-gen-2011 21.00 > A: "How to use LiveCode" > Ogg: Re: a help .. > > On 1/14/11 11:38 AM, baccheschi at tin.it wrote: >> i am at the beginning....... p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; >> font: 12.0px Helvetica} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: >> 12.0px Helvetica; min-height: 14.0px} p.p3 {margin: 0.0px 0.0px 0.0px >> 0.0px; font: 12.0px Arial} p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; >> font: 12.0px Arial; min-height: 14.0px} span.s1 {font: 12.0px Arial} >> >> >> >> i would like to "manage" the "About This Application" menu item I >> tried to do somthing with Menu builder, ?but in a StandAlone >> appllication nothing goes as i would >> >> >> If ?somebody may give me indications i'll be infinitely grateful to >> him > > Can you explain more about what you want to do? I don't understand why > you have css, or how css should apply to an About box. > > Your About box should be a substack of the main app stack. Place text > fields, images, or other controls in it. Then show that stack when a > user chooses "About" from the application menu. > > -- > 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 > > > > > > > > p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica} > > > > the question is ?how realize that an user chooses "About" from the application menu.... > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Sat Jan 15 11:54:01 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 15 Jan 2011 11:54:01 -0500 Subject: usb driver problem In-Reply-To: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> Message-ID: I now keep getting "file is not open for read" on the cu.usbmodem1a21 and "eof" on the tty.usbmodem1a21 What am I missing here? -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 15, 2011, at 11:18 AM, Thomas McGrath III wrote: > I am having trouble accessing an Arduino Uno attached to my computer via USB. > > The device driver shows up as "/dev/tty.usbmodem1a21" > > I tried a simple open driver then read from driver then close driver. But Livecode keeps crashing or worse my computer panics and dies. > > on mouseUp > put "" into field "IOresult" > open driver "/dev/tty.usbmodem1a21" for binary read // tried text read, text update, binary update > wait 50 > read from driver "/dev/tty.usbmodem1a21" for 1 line in 4 second // tried for 3 char in 3 seconds, tried until eof > if it is not "" then > put "it: " & it into field "IOresult" > else > put "result: " & the result into field "IOresult" > end if > wait 50 > close driver "/dev/tty.usbmodem1a21" > end mouseUp > > I just want to read data that is being sent from the board. In Arduino there is a serial monitor which does read the data coming from the board. It is a bunch of numbers one per line as in 1023 then 992 then 992 etc. > > I can't seem to figure out what I am doing wrong. This seems pretty straight forward. > > I sent an email to Mark Weider but then thought that others might also have ideas. > > Thanks > > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.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 harald at etcpp.de Sat Jan 15 12:42:10 2011 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Sat, 15 Jan 2011 18:42:10 +0100 Subject: Export Snapshot (iOS) In-Reply-To: References: <4D309B24.1080708@fourthworld.com> <0DB5AD31-FC4F-4668-A973-2CDEC530501D@twft.com> <418B67B7-44EF-43BD-90B2-215441AB9C17@twft.com> <120FEDA7-4771-4DD8-A94C-49BD0B1E268C@twft.com> Message-ID: Even when nobody ever will be facing this special problem I want to share the workaround I found: When I place "reset the templateimage" before the line where the export happens, then all seems to work fine. Strange. Have a nice weekend, Harald. | Harald M?ller (www.etcpp.de) | Theodor-K?rner-Stra?e 4, 97072 W?rzburg | Telefon + 49-[0]931-329090-42 Am 15.01.2011 um 00:19 schrieb Harald M?ller: > Hi all. > > In a script I want to export a screenshot to a file. This works fine and > without any problem until I leave the card, go to a special other card > and then turn back. Then the export fails and the script stops without > any info in "the result". This happens with JPEG and PNG, I tried both: > > export snapshot from this card to file as jpeg > > The path never changes, only the contents of the card change. The > export only fails (no matter what the card contains) when I visited this > special other card. Could this be a memory problem? > > Any idea? > > Best regards, > Harald. > > | Harald M?ller (www.etcpp.de) > | Theodor-K?rner-Stra?e 4, 97072 W?rzburg > | Telefon + 49-[0]931-329090-42 > > > > From pete at mollysrevenge.com Sat Jan 15 12:44:35 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Sat, 15 Jan 2011 09:44:35 -0800 Subject: No Check Box in the Dictionary?? In-Reply-To: <4D31B455.4000200@fourthworld.com> References: <4D31B455.4000200@fourthworld.com> Message-ID: <627F1DEB-7844-4071-B07D-47568288D84A@mollysrevenge.com> This thread reminds me so much of going through all the same questions when I first started using LC. Seems like a document that listed all these little idiosyncracies of LC, specifically targeted at newbies, would be extremely useful. Maybe one already exists somewhere? One thing I'd add to Calvin's list of gotchas is to realise that you cannot permanently store data in a stack in a standalone program. Lots of recommended workarounds of course but this is something you don't typically find out about until well down the development path (at least I didn't) because it's not a problem when working in the IDE, and it can mean fairly major changes to your application. Pete Haworth On Jan 15, 2011, at 6:51 AM, Richard Gaskin wrote: > Calvin Waterbury wrote: > >> I don't mean to be picky, but neither "checkbox" nor "check box" is in >> the dictionary. If I missed something, please tell me? > > By default the IDE is set to what an occasionally-rude person like myself might call "Lie Mode", in which the names it displays in the Property Inspectors aren't the actual "English-like" tokens used in the language itself, but presumably some more-English-like-than-English-like label that attempts to be more descriptive. > > My personal problem with that is that I find it slows rather than smooths the experience of getting started with the tool, since using the GUI is a much smaller part of the experience than coding, and for coding you need to know the actual token. > > As Phil noted that's a button style, so you can turn it up in the Dictionary entry for "style". > > > Two tips to shorten the distance between "Whiskey Tango Foxtrot?" and "Ah, I get it" going forward: > > 1. In LC's Preferences window, at the top of the first pane is an option labeled "Property labels are:" with the default setting of "Description of option". If you change that to "Name of LiveTalk property" you'll pick up the language just a little faster, since the GUI will then reflect the tokens you'll be using in your scripts. > > 2. Those coming from a background in VB, ToolBook, or a good many other IDEs are accustomed to finding a property sheet tool, which lists all of the properties for a selected object and allows a means of editing them. The Property Inspector does a fine job of providing convenient ways to edit a subset of these, but for learning the language it can be very helpful to see a list of all of them. > > Got you covered there: > > 4W Props is a simple property sheet tool for LiveCode, available through the Stacks section in RevNet - in the IDE see: > > Development->Plugins->GoRevNet > > HTH - > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bvg at mac.com Sat Jan 15 12:55:14 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 15 Jan 2011 18:55:14 +0100 Subject: Live LiveCode Code Event #6 In-Reply-To: <69933438-B2B2-4051-876C-24B72743D7E1@mac.com> References: <69933438-B2B2-4051-876C-24B72743D7E1@mac.com> Message-ID: <70A25481-9322-4BF9-A9C1-A7CC4E2E0CA2@mac.com> Hi Livers the event will start in about an hour. Don't forget to join chatrev, so you can participate in the giveaway of an eBook about iDevice programming! livecode.tv On 13 Jan 2011, at 14:18, Bj?rnke von Gierke wrote: > Dearest Livers > > As usual, the bestest grand and mostest exciting new online Event regarding LiveCode takes place on 20:00 CET this Saturday. ChatRev is highly suggested for asking questions and knowing when to switch stream. > > http://livecode.tv > > This time around, Mark will introduce you to "Creating your own Edit menu, specifically Copy, Paste, Cut and Clear, and Undo if there is time" > > David aims to woo people with a shorter presentation then last time, suggesting a topic of "CSS Style Sheets for LiveCode Projects" > > Other times: > Zurich is within CET > Buenos Aires: 16:00 > New York: 14:00 > San Francisco: 11:00 > Sydney: 06:00 > > Vote on the poll for times that have not been voted on much: > http://doodle.com/azvfdcvs7ew2imrx > > Make sure to use ChatRev during the happening, otherwise you might miss when you'll need to change to the other stream: > http://bjoernke.com?target=chatrev > or: > go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" > > If you want to get private, regular notification of this event, please subscribe to the rss feed of the blog (about 2 updates per week): > feed://livecode.tv/feed/ > > Cheers > Bjoernke > > > -- > > official ChatRev page: > http://bjoernke.com?target=chatrev > > Chat with other RunRev developers: > go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From baccheschi at tin.it Sat Jan 15 13:02:49 2011 From: baccheschi at tin.it (baccheschi at tin.it) Date: Sat, 15 Jan 2011 19:02:49 +0100 (CET) Subject: R: Re: Re: a help .. Message-ID: <12d8ad807f8.baccheschi@tin.it> ----Messaggio originale---- Da: davidocoker at gmail.com Data: 15-gen-2011 17.42 A: "How to use LiveCode" Ogg: Re: Re: a help .. Hello, I have uploaded a *very plain* sample stack that has little more than A mountain of thanks DAVID your is a great help for a beginner mario a menu and "About" box pointing to a substack, that you should be able to use as a rough guide: http://www.docstoolchest.com/catch_all/TestMenu.rev Hope that is what you are looking for, David C. On Sat, Jan 15, 2011 at 8:37 AM, baccheschi at tin.it wrote: > > > > > ----Messaggio originale---- > Da: jacque at hyperactivesw.com > Data: 14-gen-2011 21.00 > A: "How to use LiveCode" > Ogg: Re: a help .. > > On 1/14/11 11:38 AM, baccheschi at tin.it wrote: >> i am at the beginning....... p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; >> font: 12.0px Helvetica} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: >> 12.0px Helvetica; min-height: 14.0px} p.p3 {margin: 0.0px 0.0px 0.0px >> 0.0px; font: 12.0px Arial} p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; >> font: 12.0px Arial; min-height: 14.0px} span.s1 {font: 12.0px Arial} >> >> >> >> i would like to "manage" the "About This Application" menu item I >> tried to do somthing with Menu builder, but in a StandAlone >> appllication nothing goes as i would >> >> >> If somebody may give me indications i'll be infinitely grateful to >> him > > Can you explain more about what you want to do? I don't understand why > you have css, or how css should apply to an About box. > > Your About box should be a substack of the main app stack. Place text > fields, images, or other controls in it. Then show that stack when a > user chooses "About" from the application menu. > > -- > 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 > > > > > > > > p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica} > > > > the question is how realize that an user chooses "About" from the application menu.... > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Sat Jan 15 13:31:29 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 15 Jan 2011 19:31:29 +0100 Subject: Live LiveCode Code Event #6 In-Reply-To: <70A25481-9322-4BF9-A9C1-A7CC4E2E0CA2@mac.com> References: <69933438-B2B2-4051-876C-24B72743D7E1@mac.com> <70A25481-9322-4BF9-A9C1-A7CC4E2E0CA2@mac.com> Message-ID: <8B3866DE-DA05-4E9E-90B7-D71BED3B2112@economy-x-talk.com> Hi, I need to post a small correction: At the end of the event (? 2 hours) eHUG will raffle off "Macworld iPhone & iPod touch Superguide (4.0).zip" eBook courtesy of TidBITS' Take Control Series. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 15 jan 2011, at 18:55, Bj?rnke von Gierke wrote: > Hi Livers > > the event will start in about an hour. Don't forget to join chatrev, so you can participate in the giveaway of an eBook about iDevice programming! > > livecode.tv > > On 13 Jan 2011, at 14:18, Bj?rnke von Gierke wrote: > >> Dearest Livers >> >> As usual, the bestest grand and mostest exciting new online Event regarding LiveCode takes place on 20:00 CET this Saturday. ChatRev is highly suggested for asking questions and knowing when to switch stream. >> >> http://livecode.tv >> >> This time around, Mark will introduce you to "Creating your own Edit menu, specifically Copy, Paste, Cut and Clear, and Undo if there is time" >> >> David aims to woo people with a shorter presentation then last time, suggesting a topic of "CSS Style Sheets for LiveCode Projects" >> >> Other times: >> Zurich is within CET >> Buenos Aires: 16:00 >> New York: 14:00 >> San Francisco: 11:00 >> Sydney: 06:00 >> >> Vote on the poll for times that have not been voted on much: >> http://doodle.com/azvfdcvs7ew2imrx >> >> Make sure to use ChatRev during the happening, otherwise you might miss when you'll need to change to the other stream: >> http://bjoernke.com?target=chatrev >> or: >> go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" >> >> If you want to get private, regular notification of this event, please subscribe to the rss feed of the blog (about 2 updates per week): >> feed://livecode.tv/feed/ >> >> Cheers >> Bjoernke >> >> >> -- >> >> official ChatRev page: >> http://bjoernke.com?target=chatrev >> >> Chat with other RunRev developers: >> go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From jacque at hyperactivesw.com Sat Jan 15 14:23:21 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 15 Jan 2011 13:23:21 -0600 Subject: Export Snapshot (iOS) In-Reply-To: References: <4D309B24.1080708@fourthworld.com> <0DB5AD31-FC4F-4668-A973-2CDEC530501D@twft.com> <418B67B7-44EF-43BD-90B2-215441AB9C17@twft.com> <120FEDA7-4771-4DD8-A94C-49BD0B1E268C@twft.com> Message-ID: <4D31F429.7000004@hyperactivesw.com> On 1/15/11 11:42 AM, Harald M?ller wrote: > Even when nobody ever will be facing this special problem I > want to share the workaround I found: > > When I place "reset the templateimage" before the line where > the export happens, then all seems to work fine. Strange. It would be interesting to know what was special about the card that failed. That might help others. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Jan 15 14:25:57 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 15 Jan 2011 13:25:57 -0600 Subject: Dictionary Random Picks - now on RevOnline In-Reply-To: <4D31AAA4.7080402@fourthworld.com> References: <4D31AAA4.7080402@fourthworld.com> Message-ID: <4D31F4C5.6030704@hyperactivesw.com> On 1/15/11 8:09 AM, Richard Gaskin wrote: > Jacque wrote: > > HyperCard had an error message that said, "Script too silly to > > execute". > > No, really. It did. > > What would trigger that? I want to submit a feature request to add that. :) I wish I could remember. I only saw it once and it was a thousand years ago. Probably something to do with run-time compiling using "do" would be my guess. There's also an error message that says, "Oh yeah?" but I don't know anyone who's ever seen it. It's in the error list though. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sat Jan 15 15:06:38 2011 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 15 Jan 2011 22:06:38 +0200 Subject: Going Metallic? Message-ID: <4D31FE4E.8090102@gmail.com> On Mac one can set one's stack to have a metallic background. Is there a way to: 1. Leverage this on other platforms (Win, Linux)? 2. Leverage for obejects/controls? Presumably the metallic effect relies on an image file buried somewhere in the recesses of the RunRev Runtime? From ambassador at fourthworld.com Sat Jan 15 15:28:25 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 15 Jan 2011 12:28:25 -0800 Subject: Going Metallic? Message-ID: <4D320369.6050709@fourthworld.com> Richmond wrote: > On Mac one can set one's stack to have a metallic background. > > Is there a way to: > > 1. Leverage this on other platforms (Win, Linux)? > > 2. Leverage for obejects/controls? > > Presumably the metallic effect relies on an image file buried > somewhere in the recesses of the RunRev Runtime? I think it was an OS call, which is why it looks funky under the latest versions of OS X; with Leopard forward Apple has deprecated the metallic appearance. The good news is that if you really want it you can mock it up in Rev is a way that'll work everywhere. Just don't expect it to be accepted into the App Store. :) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From gbojsza at gmail.com Sat Jan 15 17:07:45 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Sat, 15 Jan 2011 15:07:45 -0700 Subject: How to uninstall Livecode from a Linux system Message-ID: Hello everyone, Are there standard steps in properly uninstalling Livecode for a Linux system (I'm using Fedora 13). I know I can delete files but I would like the menu to not show Livecode if it is not installed. thanks, Glen From iangmcknight at gmail.com Sat Jan 15 17:21:35 2011 From: iangmcknight at gmail.com (Ian McKnight) Date: Sat, 15 Jan 2011 22:21:35 +0000 Subject: problem importing tab delimited text files Message-ID: Hi all I have a table of data in an excel spreadsheet.40 rows x 30 columns approx. I save the file as a tab delimited text file for import into LC. I import the file and its empty - nothing there in LC. I open the text file in Notepad and save it again, making no changes. I import the same file into LC again and all the data is where it should be. My question is what could be preventing LC from importing an 'Excel' text file (or perhaps failing to detect the information it contains) since there are no errors generated. I thought that this problem was an aberration on my part but no it has reappeared this evening. Any pointers would be greatly appreciated. Using LC 4.5.1 on Win 7 -- Regards Ian McKnight iangmcknight at gmail.com ======================= From mwieder at ahsoftware.net Sat Jan 15 17:30:45 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 15 Jan 2011 14:30:45 -0800 Subject: How to uninstall Livecode from a Linux system In-Reply-To: References: Message-ID: <59904472265.20110115143045@ahsoftware.net> Glen- Saturday, January 15, 2011, 2:07:45 PM, you wrote: > Hello everyone, > Are there standard steps in properly uninstalling Livecode for a Linux > system (I'm using Fedora 13). > I know I can delete files but I would like the menu to not show Livecode if > it is not installed. I'm not in front of my Fedora system at the moment, but from memory if you navigate into the folder where it's installed (if you opted for "all users" it's in /opt/runrev) you'll find an executable program that is not livecode. Run that from a commandline with an argument of "/uninstall". That *should* uninstall it, including the menu item. And, of course, you'll need to su to do this. -- -Mark Wieder mwieder at ahsoftware.net From gbojsza at gmail.com Sat Jan 15 17:34:57 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Sat, 15 Jan 2011 15:34:57 -0700 Subject: How to uninstall Livecode from a Linux system In-Reply-To: <59904472265.20110115143045@ahsoftware.net> References: <59904472265.20110115143045@ahsoftware.net> Message-ID: Great... thanks. On Sat, Jan 15, 2011 at 3:30 PM, Mark Wieder wrote: > Glen- > > Saturday, January 15, 2011, 2:07:45 PM, you wrote: > > > Hello everyone, > > > Are there standard steps in properly uninstalling Livecode for a Linux > > system (I'm using Fedora 13). > > > I know I can delete files but I would like the menu to not show Livecode > if > > it is not installed. > > I'm not in front of my Fedora system at the moment, but from memory if > you navigate into the folder where it's installed (if you opted for > "all users" it's in /opt/runrev) you'll find an executable program > that is not livecode. Run that from a commandline with an argument of > "/uninstall". That *should* uninstall it, including the menu item. > And, of course, you'll need to su to do this. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From davidocoker at gmail.com Sat Jan 15 17:53:10 2011 From: davidocoker at gmail.com (David C.) Date: Sat, 15 Jan 2011 16:53:10 -0600 Subject: problem importing tab delimited text files In-Reply-To: References: Message-ID: On Sat, Jan 15, 2011 at 4:21 PM, Ian McKnight wrote: > Hi all > > I have a table of data in an excel spreadsheet.40 rows x 30 columns approx. > I save the file as a tab delimited text file for import into LC. > I import the file and its empty - nothing there in LC. > I open the text file in Notepad and save it again, making no changes. > I import the same file into LC again and all the data is where it should be. > > My question is what could be preventing LC from importing an 'Excel' text > file (or perhaps failing to detect the information it contains) since there > are no errors generated. > > I thought that this problem was an aberration on my part but no it has > reappeared this evening. > > Any pointers would be greatly appreciated. > > Using LC 4.5.1 on Win 7 > > > > -- > Regards > > > Ian McKnight > > iangmcknight at gmail.com > ======================= > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Hello Ian, I use tab delimited files from excel all the time without any difficulties... same exact platform and LC version. Based on your description, I'd try to open just a simple text file without tabs, just to verify that the intended file is being opened successfully. (Been there, done that, more than once) Also, make sure to set the itemdelimiter to tab. (Been there, done that also) It has always been solid as a rock for me on this end and I cannot imagine any other scenario where it would fail. Best regards, David C. From iangmcknight at gmail.com Sat Jan 15 18:16:20 2011 From: iangmcknight at gmail.com (Ian McKnight) Date: Sat, 15 Jan 2011 23:16:20 +0000 Subject: problem importing tab delimited text files In-Reply-To: References: Message-ID: Thanks for the advice David. I went back and checked. As I still had the text file open in Excel when I was trying to import it into LC the file must have been locked in some way by Excel - as soon as I closed the file in XL it worked perfectly. Makes perfect sense really. I think I'll start writing down my gaffs down in a notebook to try and save time in future :) Thanks again. On 15 January 2011 22:53, David C. wrote: > On Sat, Jan 15, 2011 at 4:21 PM, Ian McKnight > wrote: > > Hi all > > > > I have a table of data in an excel spreadsheet.40 rows x 30 columns > approx. > > I save the file as a tab delimited text file for import into LC. > > I import the file and its empty - nothing there in LC. > > I open the text file in Notepad and save it again, making no changes. > > I import the same file into LC again and all the data is where it should > be. > > > > My question is what could be preventing LC from importing an 'Excel' text > > file (or perhaps failing to detect the information it contains) since > there > > are no errors generated. > > > > I thought that this problem was an aberration on my part but no it has > > reappeared this evening. > > > > Any pointers would be greatly appreciated. > > > > Using LC 4.5.1 on Win 7 > > > > > > > > -- > > Regards > > > > > > Ian McKnight > > > > iangmcknight at gmail.com > > ======================= > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > Hello Ian, > I use tab delimited files from excel all the time without any > difficulties... same exact platform and LC version. > > Based on your description, I'd try to open just a simple text file > without tabs, just to verify that the intended file is being opened > successfully. (Been there, done that, more than once) > > Also, make sure to set the itemdelimiter to tab. (Been there, done that > also) > > It has always been solid as a rock for me on this end and I cannot > imagine any other scenario where it would fail. > > 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 > -- Regards Ian McKnight iangmcknight at gmail.com ======================= From ambassador at fourthworld.com Sat Jan 15 18:37:12 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 15 Jan 2011 15:37:12 -0800 Subject: problem importing tab delimited text files Message-ID: <4D322FA8.60402@fourthworld.com> Ian McKnight wrote: > Thanks for the advice David. I went back and checked. As I still had the > text file open in Excel when I was trying to import it into LC the file must > have been locked in some way by Excel - as soon as I closed the file in XL > it worked perfectly. Makes perfect sense really. > > I think I'll start writing down my gaffs down in a notebook to try and save > time in future :) Why write them down when you can have LiveCode write them for you? :) If you check "the result" after a command is run, a non-empty value will usually contain an error string. If you also include a call to the sysError function, you get the system's error code to guide you to the specifics of the error. And if you include all that in a handler call, you only need to write it once, e.g.: on SomeHandler ... put url ("file:"& tMyExportedDataFile) into tData Err the result ... end SomeHandler on Err s if s is not empty then put sysError() into tSysError answer "An error occured: "& s &"(" &tSysError& ")" exit to top end if end Err -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From cjw at eml.cc Sat Jan 15 18:55:15 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Sat, 15 Jan 2011 17:55:15 -0600 Subject: Setting visibility on start up Message-ID: <4D3233E3.9070806@eml.cc> Hi, I need some guidance of the LC parlance when making objects visible/invisible on start up. I've tried some experiments, but nothing works. FYI - for anyone that is interested, I *really* learned a lot from Mark's presentation/chat (I couldn't get good video consistently on David's). A number of things congealed in my mind. I'm still scraping around on some of the syntax "particulars," but what I am coding is working great for pseudocode until I figure out the real syntax. :) Standing by... Calvin From davidocoker at gmail.com Sat Jan 15 19:06:11 2011 From: davidocoker at gmail.com (David C.) Date: Sat, 15 Jan 2011 18:06:11 -0600 Subject: Setting visibility on start up In-Reply-To: <4D3233E3.9070806@eml.cc> References: <4D3233E3.9070806@eml.cc> Message-ID: > Hi, > > I need some guidance of the LC parlance when making objects > visible/invisible on start up. ?I've tried some experiments, but nothing > works. > > FYI - for anyone that is interested, I *really* learned a lot from Mark's > presentation/chat (I couldn't get good video consistently on David's). ?A > number of things congealed in my mind. ?I'm still scraping around on some of > the syntax "particulars," but what I am coding is working great for > pseudocode until I figure out the real syntax. :) > > Standing by... > Calvin Hey Calvin, Try this: set the visible of object "ObjectName" to true/false As in... set the visible of button "YourButton" to true set the visible of field "MyField" to true -or- set the visible of button "YourButton" to false set the visible of field "MyField" to false ..where button/field can be any object selected on your card Best regards, David C. From mwieder at ahsoftware.net Sat Jan 15 19:10:12 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 15 Jan 2011 16:10:12 -0800 Subject: Setting visibility on start up In-Reply-To: <4D3233E3.9070806@eml.cc> References: <4D3233E3.9070806@eml.cc> Message-ID: <186910439203.20110115161012@ahsoftware.net> Calvin- Saturday, January 15, 2011, 3:55:15 PM, you wrote: > Hi, > I need some guidance of the LC parlance when making objects > visible/invisible on start up. I've tried some experiments, but nothing > works. Hmmm... startup of a standalone app or startup in the IDE? In the script of the first card of the stack (not in the stack script itself) you can do the following: on startup -- the startup message is only sent to standalone apps -- make some things invisible -- set the visible of someObject to false -- set the visible of group lotsOfObjects to false end startup on preOpenStack -- this one works in the IDE -- make some things invisible end preOpenStack -- -Mark Wieder mwieder at ahsoftware.net From cjw at eml.cc Sat Jan 15 19:12:19 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Sat, 15 Jan 2011 18:12:19 -0600 Subject: Setting visibility on start up In-Reply-To: References: <4D3233E3.9070806@eml.cc> Message-ID: <4D3237E3.9090006@eml.cc> Hi David C., Would this mean for start up I would code in the stack script... on openStack set the visible of button "YourButton" to true set the visible of field "MyField" to true end openStack Am I on the right track? Thanks, Calvin > ------------------------------------------------------------------------ > > David C. > Saturday, January 15, 2011 6:06 PM > > > > > Hey Calvin, > Try this: set the visible of object "ObjectName" to true/false > As in... > > set the visible of button "YourButton" to true > set the visible of field "MyField" to true > -or- > set the visible of button "YourButton" to false > set the visible of field "MyField" to false > > ..where button/field can be any object selected on your card > > 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 > ------------------------------------------------------------------------ > > Calvin Waterbury > Saturday, January 15, 2011 5:55 PM > > > Hi, > > I need some guidance of the LC parlance when making objects > visible/invisible on start up. I've tried some experiments, but > nothing works. > > FYI - for anyone that is interested, I *really* learned a lot from Mark's > presentation/chat (I couldn't get good video consistently on > David's). A number of things congealed in my mind. I'm still > scraping around on some of the syntax "particulars," but what I am > coding is working great for pseudocode until I figure out the real > syntax. :) > > Standing by... > Calvin From cjw at eml.cc Sat Jan 15 19:13:48 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Sat, 15 Jan 2011 18:13:48 -0600 Subject: Setting visibility on start up In-Reply-To: <186910439203.20110115161012@ahsoftware.net> References: <4D3233E3.9070806@eml.cc> <186910439203.20110115161012@ahsoftware.net> Message-ID: <4D32383C.7010508@eml.cc> Hi Mark, I was referring to "standalone," but I got a bonus on this one! ;) Thanks, Calvin > ------------------------------------------------------------------------ > > Mark Wieder > Saturday, January 15, 2011 6:10 PM > > > Calvin- > > Saturday, January 15, 2011, 3:55:15 PM, you wrote: > >> Hi, > >> I need some guidance of the LC parlance when making objects >> visible/invisible on start up. I've tried some experiments, but nothing >> works. > > Hmmm... startup of a standalone app or startup in the IDE? In the > script of the first card of the stack (not in the stack script itself) > you can do the following: > > on startup > -- the startup message is only sent to standalone apps > -- make some things invisible > -- set the visible of someObject to false > -- set the visible of group lotsOfObjects to false > end startup > > on preOpenStack > -- this one works in the IDE > -- make some things invisible > end preOpenStack > > ------------------------------------------------------------------------ > > Calvin Waterbury > Saturday, January 15, 2011 5:55 PM > > > Hi, > > I need some guidance of the LC parlance when making objects > visible/invisible on start up. I've tried some experiments, but > nothing works. > > FYI - for anyone that is interested, I *really* learned a lot from Mark's > presentation/chat (I couldn't get good video consistently on > David's). A number of things congealed in my mind. I'm still > scraping around on some of the syntax "particulars," but what I am > coding is working great for pseudocode until I figure out the real > syntax. :) > > Standing by... > Calvin From mwieder at ahsoftware.net Sat Jan 15 19:19:00 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 15 Jan 2011 16:19:00 -0800 Subject: Setting visibility on start up In-Reply-To: <4D32383C.7010508@eml.cc> References: <4D3233E3.9070806@eml.cc> <186910439203.20110115161012@ahsoftware.net> <4D32383C.7010508@eml.cc> Message-ID: <192910967015.20110115161900@ahsoftware.net> Calvin- Saturday, January 15, 2011, 4:13:48 PM, you wrote: > Hi Mark, > I was referring to "standalone," but I got a bonus on this one! ;) part of the bonus is that the startup and preopenstack are both sent before the stack is visible, so you don't have to worry about any flashing on the screen while you're making changes. OTOH you do have to worry about some libraries not having been loaded yet, so there are some things you can't do in those handlers and should be deferred. YMMV. -- -Mark Wieder mwieder at ahsoftware.net From cjw at eml.cc Sat Jan 15 19:24:40 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Sat, 15 Jan 2011 18:24:40 -0600 Subject: Line Hint Message-ID: <4D323AC8.4010606@eml.cc> Hi, I can find nothing in the dictionary nor the user guide... what exactly is a "line hint?" Thanks, Calvin From mwieder at ahsoftware.net Sat Jan 15 19:26:33 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 15 Jan 2011 16:26:33 -0800 Subject: usb driver problem In-Reply-To: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> Message-ID: <112911420359.20110115162633@ahsoftware.net> Tom- Saturday, January 15, 2011, 8:18:26 AM, you wrote: > I am having trouble accessing an Arduino Uno attached to my computer via USB. I haven't looked at the Arduino since they changed the chipset, but it *should* be straightforward. I realize that's no help, and crashing LC is something that shouldn't happen. Is there a crashlog? I helped fund this project on kickstarter, and I'm watching it eagerly, waiting for the boards to be ready: http://www.kickstarter.com/projects/bushing/openvizsla-open-source-usb-protocol-analyzer -- -Mark Wieder mwieder at ahsoftware.net From davidocoker at gmail.com Sat Jan 15 19:28:53 2011 From: davidocoker at gmail.com (David C.) Date: Sat, 15 Jan 2011 18:28:53 -0600 Subject: Setting visibility on start up In-Reply-To: <4D3237E3.9090006@eml.cc> References: <4D3233E3.9070806@eml.cc> <4D3237E3.9090006@eml.cc> Message-ID: > Hi David C., > > Would this mean for start up I would code in the stack script... > > on openStack > ? ?set the visible of button "YourButton" to true > ? ?set the visible of field "MyField" to true > end openStack > > Am I on the right track? > > Thanks, > Calvin As Mark mentioned, there are some variances depending on what you are doing, but yes, you are in the groove. :-) Best regards, David C. From davidocoker at gmail.com Sat Jan 15 19:32:14 2011 From: davidocoker at gmail.com (David C.) Date: Sat, 15 Jan 2011 18:32:14 -0600 Subject: Line Hint In-Reply-To: <4D323AC8.4010606@eml.cc> References: <4D323AC8.4010606@eml.cc> Message-ID: > Hi, > > I can find nothing in the dictionary nor the user guide... what exactly is a > "line hint?" > > Thanks, > Calvin > Calvin, Not sure that I understand..... are you asking about "toolTips" that are display when you hover over an object of some type? Best regards, David C. From cjw at eml.cc Sat Jan 15 19:41:00 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Sat, 15 Jan 2011 18:41:00 -0600 Subject: Line Hint In-Reply-To: References: <4D323AC8.4010606@eml.cc> Message-ID: <4D323E9C.8010005@eml.cc> Hi David C., Nope. I'm referring to the "Errors" window when something flubs. It says on the left side of that dialog... Type Object Line Hint I know this is an error message, but does "line hint" mean anything else? Thanks, Calvin > ------------------------------------------------------------------------ > > David C. > Saturday, January 15, 2011 6:32 PM > > > > > Calvin, > Not sure that I understand..... are you asking about "toolTips" that > are display when you hover over an object of some type? > > > 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 > ------------------------------------------------------------------------ > > Calvin Waterbury > Saturday, January 15, 2011 6:24 PM > > > Hi, > > I can find nothing in the dictionary nor the user guide... what > exactly is a "line hint?" > > Thanks, > Calvin From davidocoker at gmail.com Sat Jan 15 19:49:02 2011 From: davidocoker at gmail.com (David C.) Date: Sat, 15 Jan 2011 18:49:02 -0600 Subject: Line Hint In-Reply-To: <4D323E9C.8010005@eml.cc> References: <4D323AC8.4010606@eml.cc> <4D323E9C.8010005@eml.cc> Message-ID: On Sat, Jan 15, 2011 at 6:41 PM, Calvin Waterbury wrote: > Hi David C., > > Nope. ?I'm referring to the "Errors" window when something flubs. ?It says > on the left side of that dialog... > > Type > Object > Line > Hint > > I know this is an error message, but does "line hint" mean anything else? > > Thanks, > Calvin I guess you've lost me in this case... maybe one of the guru's will chime in with words of wisdom. Sorry. Best regards, David C. From massung at gmail.com Sat Jan 15 20:12:59 2011 From: massung at gmail.com (Jeffrey Massung) Date: Sat, 15 Jan 2011 18:12:59 -0700 Subject: Line Hint In-Reply-To: <4D323E9C.8010005@eml.cc> References: <4D323AC8.4010606@eml.cc> <4D323E9C.8010005@eml.cc> Message-ID: <58F6C924-E503-48F4-9BC8-1C694FBE3193@gmail.com> On Jan 15, 2011, at 5:41 PM, Calvin Waterbury wrote: > Hi David C., > > Nope. I'm referring to the "Errors" window when something flubs. It says on the left side of that dialog... > > Type > Object > Line > Hint > > I know this is an error message, but does "line hint" mean anything else? Well, "line hint" isn't really accurate, because aren't they two separate items? So "line" would be the line # the error occurred on and "hint" would be something like "Field 'hoohaw' doesn't exist," right? I haven't done hardly anything with error decoding in LC, but that would make sense to me. Jeff M. From cjw at eml.cc Sat Jan 15 20:17:46 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Sat, 15 Jan 2011 19:17:46 -0600 Subject: Line Hint In-Reply-To: <58F6C924-E503-48F4-9BC8-1C694FBE3193@gmail.com> References: <4D323AC8.4010606@eml.cc> <4D323E9C.8010005@eml.cc> <58F6C924-E503-48F4-9BC8-1C694FBE3193@gmail.com> Message-ID: <4D32473A.6000403@eml.cc> We have a winner! Boy! do I feel like a schmolez! Thanks for the clarification, Jeff. Calvin > ------------------------------------------------------------------------ > > Jeffrey Massung > Saturday, January 15, 2011 7:12 PM > > > > > > Well, "line hint" isn't really accurate, because aren't they two > separate items? So "line" would be the line # the error occurred on > and "hint" would be something like "Field 'hoohaw' doesn't exist," right? > > I haven't done hardly anything with error decoding in LC, but that > would make sense to me. > > Jeff M. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ------------------------------------------------------------------------ > > Calvin Waterbury > Saturday, January 15, 2011 6:41 PM > > > Hi David C., > > Nope. I'm referring to the "Errors" window when something flubs. It > says on the left side of that dialog... > > Type > Object > Line > Hint > > I know this is an error message, but does "line hint" mean anything else? > > Thanks, > Calvin > From mwieder at ahsoftware.net Sat Jan 15 20:37:02 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 15 Jan 2011 17:37:02 -0800 Subject: Open Source Licenses (yet again) Message-ID: <155915649468.20110115173702@ahsoftware.net> All- I notice that Adobe/O'Reilly posts Actionscript snippets using the Creative Commons 3.0 license: http://creativecommons.org/licenses/by-nc-sa/3.0/ example (which btw is an easy example showing how to use OAuth to access foursquare.com data): http://cookbooks.adobe.com/post_Accessing_a_OAuth_secured_API_via_Flash_Actionscri-18036.html -- -Mark Wieder mwieder at ahsoftware.net From gcanyon+rev at gmail.com Sat Jan 15 20:57:08 2011 From: gcanyon+rev at gmail.com (Geoff Canyon Rev) Date: Sat, 15 Jan 2011 19:57:08 -0600 Subject: Layers, revNavigator, & DataGrids In-Reply-To: References: <8A54DDF6-0FD8-4987-87FE-7D45BF5F2022@ahsomme.com> Message-ID: I'm looking at it now... On Thu, Jan 13, 2011 at 12:43 PM, Peter Brigham MD wrote: > On Jan 13, 2011, at 11:25 AM, Chipp Walters wrote: > > AltLayerTools >> http://www.gadgetplugins.com/altplugins/altLayerTools.rev >> It keeps you from moving objects in and out of groups. It only move groups >> around. >> >> just put in msg box: >> go URL "http://www.gadgetplugins.com/altplugins/altLayerTools.rev" >> then save to plugins. I use with my toolbar palette. >> >> here's another which is most helpful: >> AltGroupMgr >> http://www.gadgetplugins.com/altplugins/altGroupMgr.txt >> >> It does a great job of placing and removing groups on different cards. >> >> Both use ZERO frontscripts in favor of a 'refresh button,' mostly for >> robustness and lack of conflict with some of my other frontscripts. I >> really >> need to create a single frontscript library which manages everything. >> C'est >> la vie. >> > > But no replacement for the really great ability that revNavigator used to > have, of moving a control (or a group) in or out of a group? That's what I > miss! > > Geoff Canyon, can you convince that developer of yours to do something > about this...? :-) > > > -- 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 bill at bluewatermaritime.com Sat Jan 15 21:33:19 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Sat, 15 Jan 2011 22:33:19 -0400 Subject: Setting visibility on start up In-Reply-To: <186910439203.20110115161012@ahsoftware.net> References: <4D3233E3.9070806@eml.cc> <186910439203.20110115161012@ahsoftware.net> Message-ID: preOpenStack works in both the IDE and in a standalone while "on startup" only works when compiled to a standalone? That's good to know. I wonder why any one would use startup? On Sat, Jan 15, 2011 at 8:10 PM, Mark Wieder wrote: > on startup > -- the startup message is only sent to standalone apps > -- make some things invisible > -- set the visible of someObject to false > -- set the visible of group lotsOfObjects to false > end startup > > on preOpenStack > -- this one works in the IDE > -- make some things invisible > end preOpenStack > -- http://www.bluewatermaritime.com From jimaultwins at yahoo.com Sat Jan 15 21:38:19 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Sat, 15 Jan 2011 18:38:19 -0800 Subject: Line Hint In-Reply-To: <4D32473A.6000403@eml.cc> References: <4D323AC8.4010606@eml.cc> <4D323E9C.8010005@eml.cc> <58F6C924-E503-48F4-9BC8-1C694FBE3193@gmail.com> <4D32473A.6000403@eml.cc> Message-ID: Try creating know errors, then observe the error reporting. Start with small scripts, misspell, mis-reference, etc to get a feel for this. On Jan 15, 2011, at 5:17 PM, Calvin Waterbury wrote: > We have a winner! > > Boy! do I feel like a schmolez! > > Thanks for the clarification, Jeff. > Calvin > >> >> Jeffrey Massung >> Saturday, January 15, 2011 7:12 PM >> >> Well, "line hint" isn't really accurate, because aren't they two >> separate items? So "line" would be the line # the error occurred on >> and "hint" would be something like "Field 'hoohaw' doesn't exist," >> right? >> >> I haven't done hardly anything with error decoding in LC, but that >> would make sense to me. >> >> Jeff M. >> >> Calvin Waterbury >> Saturday, January 15, 2011 6:41 PM >> >> >> Hi David C., >> >> Nope. I'm referring to the "Errors" window when something flubs. >> It says on the left side of that dialog... >> >> Type >> Object >> Line >> Hint >> >> I know this is an error message, but does "line hint" mean anything >> else? Jim Ault Las Vegas From harald at etcpp.de Sat Jan 15 21:49:01 2011 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Sun, 16 Jan 2011 03:49:01 +0100 Subject: datagrid (loc of elements) In-Reply-To: References: <4D323AC8.4010606@eml.cc> <4D323E9C.8010005@eml.cc> <58F6C924-E503-48F4-9BC8-1C694FBE3193@gmail.com> <4D32473A.6000403@eml.cc> Message-ID: <0B79DDCE-AD1B-4FB8-A2BC-14F5A13F35DA@etcpp.de> Hi all. I try to show an card element at the loc of the selected line of a datagrid form. Is there a way to get the loc of datagrid element or will I have to put it inside the datagrid and toggle the visible when a line is hilted? Best regards, Harald M?ller. | Harald M?ller (www.etcpp.de) | Theodor-K?rner-Stra?e 4, 97072 W?rzburg | Telefon + 49-[0]931-329090-42 From cjw at eml.cc Sat Jan 15 21:49:29 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Sun, 16 Jan 2011 02:49:29 +0000 Subject: Line Hint In-Reply-To: References: <4D323AC8.4010606@eml.cc> <4D323E9C.8010005@eml.cc><58F6C924-E503-48F4-9BC8-1C694FBE3193@gmail.com><4D32473A.6000403@eml.cc> Message-ID: <1461222291-1295146168-cardhu_decombobulator_blackberry.rim.net-1951319085-@bda876.bisx.prod.on.blackberry> Hi Jim, I did this somewhat, but the idea of matching errors with error messages is certainly wise. Thank you, Calvin Sent from my Verizon Wireless BlackBerry -----Original Message----- From: Jim Ault Sender: use-livecode-bounces at lists.runrev.com Date: Sat, 15 Jan 2011 18:38:19 To: How to use LiveCode Reply-To: How to use LiveCode Subject: Re: Line Hint Try creating know errors, then observe the error reporting. Start with small scripts, misspell, mis-reference, etc to get a feel for this. On Jan 15, 2011, at 5:17 PM, Calvin Waterbury wrote: > We have a winner! > > Boy! do I feel like a schmolez! > > Thanks for the clarification, Jeff. > Calvin > >> >> Jeffrey Massung >> Saturday, January 15, 2011 7:12 PM >> >> Well, "line hint" isn't really accurate, because aren't they two >> separate items? So "line" would be the line # the error occurred on >> and "hint" would be something like "Field 'hoohaw' doesn't exist," >> right? >> >> I haven't done hardly anything with error decoding in LC, but that >> would make sense to me. >> >> Jeff M. >> >> Calvin Waterbury >> Saturday, January 15, 2011 6:41 PM >> >> >> Hi David C., >> >> Nope. I'm referring to the "Errors" window when something flubs. >> It says on the left side of that dialog... >> >> Type >> Object >> Line >> Hint >> >> I know this is an error message, but does "line hint" mean anything >> else? Jim Ault Las Vegas _______________________________________________ use-livecode mailing list use-livecode at 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 Jan 15 21:58:56 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 15 Jan 2011 18:58:56 -0800 Subject: Setting visibility on start up In-Reply-To: References: <4D3233E3.9070806@eml.cc> <186910439203.20110115161012@ahsoftware.net> Message-ID: <19920565984.20110115185856@ahsoftware.net> william- Saturday, January 15, 2011, 6:33:19 PM, you wrote: > preOpenStack works in both the IDE and in a standalone while "on startup" > only works when compiled to a standalone? That's good to know. I wonder why > any one would use startup? I parse commandline arguments there for a standalone. It's also useful for loading libraries that the IDE would normally already have loaded for you. -- -Mark Wieder mwieder at ahsoftware.net From harald at etcpp.de Sat Jan 15 22:00:01 2011 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Sun, 16 Jan 2011 04:00:01 +0100 Subject: different screen resolutions (iOS) In-Reply-To: References: <4D309B24.1080708@fourthworld.com> <0DB5AD31-FC4F-4668-A973-2CDEC530501D@twft.com> <418B67B7-44EF-43BD-90B2-215441AB9C17@twft.com> <120FEDA7-4771-4DD8-A94C-49BD0B1E268C@twft.com> <4BCC3CD9-D261-42AF-BF97-565062E74B6C@etcpp.de> Message-ID: <85B8B51F-2676-4F83-BFE9-F6065E0CCDCF@etcpp.de> There were many articles and speculations. The last one: http://www.macrumors.com/2011/01/15/ipad-2-screen-likely-to-have-2048x1536-resolution/ (As the dreamer that I am I would love it when the engine could blow up a "normal" card to the double size and would search for corresponding @2x" graphics for every referenced image.) Am 15.01.2011 um 15:15 schrieb Colin Holgate: > > On Jan 15, 2011, at 6:13 AM, Harald M?ller wrote: > >> With the upcoming iPad 2 and its once again new screen resolution it will be more difficult to support all devices. As it looks there will be two "logical" resolutions each with two "physical" resolutions on the iOS, perhaps more to come. > > Can you point to the specifications page, where they say that the resolution is different? This article here: > > http://www.ilounge.com/index.php/articles/comments/new-in-ios-4.3-the-full-breakdown-with-screenshots/ > > looks at the various art inside iOS 4.3, and that art suggests that the new iPad would be the same resolution as the current one. > > About your overall point of dealing with different screen sizes, there are a few difficulties. With Flash I do use the kind of approach you're suggesting, where my single sized iPhone stage gets scaled up to fill the iPad screen, but there are a good amount of hoops I have to jump through to make sure that the quality remains good. > > The larger screen size isn't as big a problem as the different aspect ratios. In Flash I get away with it by having extra content above and below the stage, and when it's blown up to fill the iPad, that extra content becomes visible. With LC, so far at least, the content seems to be aligned top left. That could work out ok, if you have bitmap versions of the different size backgrounds you could jump to the card that has the corresponding sized art, and button layout, etc. With that way of working you could take care of 480x320, 1024x768, and the other device sizes of 800x480 and 1024x600. Any time you learn about a new screen size that you want to support you would need to make a card, or cards, that are laid out for that new size. Or you might be able to do a lot of the work using 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 jacque at hyperactivesw.com Sat Jan 15 22:31:30 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 15 Jan 2011 21:31:30 -0600 Subject: usb driver problem In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> Message-ID: <4D326692.4030608@hyperactivesw.com> On 1/15/11 10:54 AM, Thomas McGrath III wrote: > I now keep getting "file is not open for read" on the cu.usbmodem1a21 > and "eof" on the tty.usbmodem1a21 > > What am I missing here? > > > -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net > > On Jan 15, 2011, at 11:18 AM, Thomas McGrath III wrote: > >> I am having trouble accessing an Arduino Uno attached to my >> computer via USB. >> >> The device driver shows up as "/dev/tty.usbmodem1a21" >> >> I tried a simple open driver then read from driver then close >> driver. But Livecode keeps crashing or worse my computer panics and >> dies. This came up in the support queue. Basically "open driver" is only for (real) serial devices. To open a usb device that is posing as a serial device (i.e., you have a usb/serial port adapter) then you should use "open file" instead. Treat the port just as you would a regular file. There's no USB support per se, so if the device doesn't present itself as a serial port device it won't work. The path you use when you open a serial port as a file is the same one you'd use in shell -- use the "/dev/tty.usbmodem1a21" path you mentioned. Also, see if you can talk to it in shell just as a test. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sat Jan 15 22:37:59 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 15 Jan 2011 19:37:59 -0800 Subject: usb driver problem In-Reply-To: <4D326692.4030608@hyperactivesw.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> Message-ID: <91922909312.20110115193759@ahsoftware.net> Jacque- Saturday, January 15, 2011, 7:31:30 PM, you wrote: > There's no USB support per se, so if the device doesn't present itself > as a serial port device it won't work. > The path you use when you open a serial port as a file is the same one > you'd use in shell -- use the "/dev/tty.usbmodem1a21" path you > mentioned. Also, see if you can talk to it in shell just as a test. That should work then, since the Arduino driver has always presented itself as a serial port. -- -Mark Wieder mwieder at ahsoftware.net From lvhdgc7 at gmail.com Sat Jan 15 23:13:47 2011 From: lvhdgc7 at gmail.com (tbodine) Date: Sat, 15 Jan 2011 20:13:47 -0800 (PST) Subject: Live LiveCode Code Event #6 In-Reply-To: <69933438-B2B2-4051-876C-24B72743D7E1@mac.com> References: <69933438-B2B2-4051-876C-24B72743D7E1@mac.com> Message-ID: <1295151227707-3219718.post@n4.nabble.com> For those of us who missed it, is there an archive of past presentations? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Live-LiveCode-Code-Event-6-tp3215816p3219718.html Sent from the Revolution - User mailing list archive at Nabble.com. From warrenkuhl at gmail.com Sun Jan 16 01:53:58 2011 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Sun, 16 Jan 2011 00:53:58 -0600 Subject: Groups - Lock Size and Position Message-ID: I have some groups within a Tab Menu. I am trying to make the tab menu and groups scalable based on the size of the stack. When I test this, it keeps setting on the lock size and position on for the groups. What would cause this when I keep unhiliting the lock size and position of the groups? I don't have any code within my stack to lock the size. Thanks for any help! Warren From david at vaudevillecourt.tv Sun Jan 16 03:33:41 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Sun, 16 Jan 2011 08:33:41 +0000 Subject: Required: shell scripting wizard! In-Reply-To: References: Message-ID: What is required to create a cli for an executable? AFAIK it's not something you could achieve with an external? From bvg at mac.com Sun Jan 16 06:04:40 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 16 Jan 2011 12:04:40 +0100 Subject: Live LiveCode Code Event #6 In-Reply-To: <69933438-B2B2-4051-876C-24B72743D7E1@mac.com> References: <69933438-B2B2-4051-876C-24B72743D7E1@mac.com> Message-ID: It was yet again a lot of fun. Mark showed that cut/copy/paste is not very hard, if you stick to the basics: http://www.ustream.tv/recorded/12034326 see also his example materials: http://blog.livecode.tv/wp-content/uploads/2011/01/edit_menu.zip David showed off his automatic script-to-object parsing code, setting a menus style and populating its contents by parsing code (two parts): http://www.ustream.tv/recorded/12035706 http://www.ustream.tv/recorded/12036243 This time we gave away an eBook, organised by Mark, supplied by http://www.ehug.info, courtesy of http://www.tidbits.com and part of their http://www.takecontrolbooks.com. Howlernator won it! On 13 Jan 2011, at 14:18, Bj?rnke von Gierke wrote: > Dearest Livers > > As usual, the bestest grand and mostest exciting new online Event regarding LiveCode takes place on 20:00 CET this Saturday. ChatRev is highly suggested for asking questions and knowing when to switch stream. > > http://livecode.tv > > This time around, Mark will introduce you to "Creating your own Edit menu, specifically Copy, Paste, Cut and Clear, and Undo if there is time" > > David aims to woo people with a shorter presentation then last time, suggesting a topic of "CSS Style Sheets for LiveCode Projects" > > Other times: > Zurich is within CET > Buenos Aires: 16:00 > New York: 14:00 > San Francisco: 11:00 > Sydney: 06:00 > > Vote on the poll for times that have not been voted on much: > http://doodle.com/azvfdcvs7ew2imrx > > Make sure to use ChatRev during the happening, otherwise you might miss when you'll need to change to the other stream: > http://bjoernke.com?target=chatrev > or: > go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" > > If you want to get private, regular notification of this event, please subscribe to the rss feed of the blog (about 2 updates per week): > feed://livecode.tv/feed/ > > Cheers > Bjoernke > > > -- > > official ChatRev page: > http://bjoernke.com?target=chatrev > > Chat with other RunRev developers: > go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvg at mac.com Sun Jan 16 06:32:15 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 16 Jan 2011 12:32:15 +0100 Subject: Live LiveCode Code Event #6 In-Reply-To: <1295151227707-3219718.post@n4.nabble.com> References: <69933438-B2B2-4051-876C-24B72743D7E1@mac.com> <1295151227707-3219718.post@n4.nabble.com> Message-ID: There's no single site, but you can go to the forum, and there's links to all the recordings there. I've added a category to all posts that contain links to recordings: http://blog.livecode.tv/category/archived_streams/ Note that due to horrible gui choices on ustreams client, often people forget to record, so what's not listed, was not recorded. Additionally, my first talk was recorded, but split into about 10 different recordings. They are not linked anywhere, but can be found on my ustream channel: http://www.ustream.tv/channel/live-code On 16 Jan 2011, at 05:13, tbodine wrote: > > For those of us who missed it, is there an archive of past presentations? > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Live-LiveCode-Code-Event-6-tp3215816p3219718.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 iangmcknight at gmail.com Sun Jan 16 07:02:41 2011 From: iangmcknight at gmail.com (Ian McKnight) Date: Sun, 16 Jan 2011 12:02:41 +0000 Subject: problem importing tab delimited text files In-Reply-To: <4D322FA8.60402@fourthworld.com> References: <4D322FA8.60402@fourthworld.com> Message-ID: Thanks Richard I just included your handler in my test stack and it returned "can't open file(32)" - very useful indeed. I didn't think about sysError being used in that way - message to self - must spend more time reading the dictionary! :) On 15 January 2011 23:37, Richard Gaskin wrote: > Ian McKnight wrote: > > Thanks for the advice David. I went back and checked. As I still had the >> text file open in Excel when I was trying to import it into LC the file >> must >> have been locked in some way by Excel - as soon as I closed the file in XL >> it worked perfectly. Makes perfect sense really. >> >> I think I'll start writing down my gaffs down in a notebook to try and >> save >> time in future :) >> > > Why write them down when you can have LiveCode write them for you? :) > > If you check "the result" after a command is run, a non-empty value will > usually contain an error string. > > If you also include a call to the sysError function, you get the system's > error code to guide you to the specifics of the error. > > And if you include all that in a handler call, you only need to write it > once, e.g.: > > on SomeHandler > ... > put url ("file:"& tMyExportedDataFile) into tData > Err the result > ... > end SomeHandler > > on Err s > if s is not empty then > put sysError() into tSysError > answer "An error occured: "& s &"(" &tSysError& ")" > exit to top > end if > end Err > > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards Ian McKnight iangmcknight at gmail.com ======================= From effendi at wanadoo.fr Sun Jan 16 07:21:49 2011 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sun, 16 Jan 2011 13:21:49 +0100 Subject: List of objects in a group ? Message-ID: Hi from Beautiful Britanny, I've looked everywhere in the Dictionary, but can't find the answer. I want a list of all the objects (fields and buttons - by name) in a specific group. Can I ? -Francis From m.schonewille at economy-x-talk.com Sun Jan 16 07:31:08 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 16 Jan 2011 13:31:08 +0100 Subject: List of objects in a group ? In-Reply-To: References: Message-ID: Francis, http://runrev.info/Objects%20list.htm -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 16 jan 2011, at 13:21, Francis Nugent Dixon wrote: > Hi from Beautiful Britanny, > > I've looked everywhere in the Dictionary, but > can't find the answer. > > I want a list of all the objects (fields and > buttons - by name) in a specific group. > > Can I ? > > -Francis From klaus at major.on-rev.com Sun Jan 16 07:31:53 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sun, 16 Jan 2011 13:31:53 +0100 Subject: List of objects in a group ? In-Reply-To: References: Message-ID: Hi Francis, > Hi from Beautiful Britanny, > > I've looked everywhere in the Dictionary, but > can't find the answer. > > I want a list of all the objects (fields and > buttons - by name) in a specific group. > > Can I ? You can loop through "the num of controls of grp XYZ" and get "the name of control X of grp XYZ" Will give you a list like: button "name of btn 1" field "whatsoever" etc... > -Francis Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From janschenkel at yahoo.com Sun Jan 16 08:14:51 2011 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 16 Jan 2011 05:14:51 -0800 (PST) Subject: Groups - Lock Size and Position In-Reply-To: Message-ID: <636783.37164.qm@web65404.mail.ac4.yahoo.com> --- On Sat, 1/15/11, Warren Kuhl wrote: > I have some groups within a Tab > Menu.? I am trying to make the tab menu and > groups scalable based on the size of the stack.? When > I test this, it keeps > setting on the lock size and position on for the > groups.? What would cause > this when I keep unhiliting the lock size and position of > the groups? > > I don't have any code within my stack to lock the size. > > Thanks for any help! > Warren > Hi Warren, Are you by any chance using the revGeometry manager to reposition and resize your objects? Then it's perfectly normal: a group is normally automatically sized to fit around the contained controls (plus the margins on each side) - but when the geometry manager needs to start moving things around, it could get into some serious conflicts if it doesn't 'lock' the groups beforehand. If you're not using the geometry manager, then please ignore :-) 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 janschenkel at yahoo.com Sun Jan 16 08:17:27 2011 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 16 Jan 2011 05:17:27 -0800 (PST) Subject: Printing and RevBrowser In-Reply-To: <003501cbb430$1f6eb510$5e4c1f30$@LinkIt.Com> Message-ID: <375872.9380.qm@web65411.mail.ac4.yahoo.com> --- On Fri, 1/14/11, Ray Horsley wrote: > Greetings, > > Anybody know how to work this with 'open printing' or even > better, with with > 'open printing to PDF'?? My main goal is to suppress > the print dialog window > for each call in a repeat loop to revBrowserPrint. > > Thanks, > > Ray Horsley > LinkIt! Software > Hi Ray, The revBrowser printing mechanism is completely separate from LiveCode's built-in scriptable printing mechanism. It is provided by the underlying web browser, over which we unfortunately don't have much control. 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 janschenkel at yahoo.com Sun Jan 16 08:29:39 2011 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 16 Jan 2011 05:29:39 -0800 (PST) Subject: Creative Common Copyright Notice in Standalones In-Reply-To: Message-ID: <770597.70089.qm@web65408.mail.ac4.yahoo.com> --- On Tue, 1/11/11, David Bovill wrote: > > [snip] > > This sounds like the same mix of requirements that I think > will work best > for a number of developers. That is: > > ???1. Open source libraries that you can use > freely, modify, and combine > ???with other peoples source code from the > community > ???2. Ensure that accreditation is given to > the main contributors > ???3. Give the maximum legal protection to > the authors - so they can sleep > ???at night > > But, I think we would agree that we'd also like: > > ???- To allow individuals and commercial > companies to release software which > ???combines their own closed code along side > the above open source - without > ???forcing them to open their code. > ???- But to as strongly as possible > encourage authors to feed back useful > ???improvements to the core libraries, and > not simply take the benefits without > ???contributing back. > > It is that latter two points that tend to contradict each > other. If you want > to allow companies the (non-viral) freedom to release > software that uses the > library - then you can use a permissive (ie MIT/X11 style) > license. But then > this contradicts the second intention - and people can > easily just take and > not go to the trouble of feeding back. In this situation > authors can take > advantage of dual licensing. I'm not entirely sure, but it > feels like this > is the contradiction you are wrestling with? > > As an example of this, I'll be releasing my code under both > GPL and a closed > commercial license. Educators, hobbyists and members of the > community can > use all of it for free in commercial or non-commercial > apps, but they must > publish the full source code of their apps, so that any > modifications or > additions can be rolled back into core code by the > community. This is fully > viral. However, anyone wishing to include parts or all of > this code in > closed apps can do so by taking out a separate closed > license, which will > come as one of the benefits of taking out an annual > subscription to the > project. > > This can be done on a per-project basis, but I also think > (for reasons of > scale), it will be useful to have a general community owned > project in which > any commercial revenue is re-invested in new open source > code paid directly > to freelance members of the community. This community > project is what I am > working on as part of Live Code TV, with the aim of > launching it at the > forthcoming conference. A good chunk of it will be the > legal framework > needed to make this run smoothly, but there will also be a > bunch of tools to > make the sharing as painless and fun as possible. > It does look like we have have little choice if we want strong protection. Like you, I'm leaning towards the xGPL licenses, combined with a closed commercial license. What worries me about it, is its viral nature in combination with LiveCode. While one could argue that the LiveCode "engine" doesn't have to be GPL, there are a few murky areas regarding the IDE and Externals. If a stack uses the Geometry manager, and thus needs the revGeometry script to function correctly, should that script also be under a GPL-compatible license? Same question for Externals, can you combine the GPL work with commercial closed externals? 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 david at vaudevillecourt.tv Sun Jan 16 10:14:51 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Sun, 16 Jan 2011 15:14:51 +0000 Subject: Datagrams: or how to avoid tRev(or) Message-ID: I would like to implement as robust as possible localhost (possibly later lan based) socket communication protocol between LiveCode based apps. While I've done a number of experiments, any can get teh 2 way comms going no problem - I'd like to do things in a way in which possible clashes with other apps listening on the same ports is dealt with. For instance I don't know which port tRev listens on? AFAIK - this is what Zero Configuration Networkingis all about (ie Bonjour). I know there was an unsupported external knocking around - but I'm thinking maybe a poor amns version would be possible. On OSX you cna use mDNSI believe - how about windows, and linux? From david at vaudevillecourt.tv Sun Jan 16 10:28:32 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Sun, 16 Jan 2011 15:28:32 +0000 Subject: Creative Common Copyright Notice in Standalones In-Reply-To: <770597.70089.qm@web65408.mail.ac4.yahoo.com> References: <770597.70089.qm@web65408.mail.ac4.yahoo.com> Message-ID: On 16 January 2011 13:29, Jan Schenkel wrote: > It does look like we have have little choice if we want strong protection. > Like you, I'm leaning towards the xGPL licenses, combined with a closed > commercial license. > > What worries me about it, is its viral nature in combination with LiveCode. > While one could argue that the LiveCode "engine" doesn't have to be GPL, > there are a few murky areas regarding the IDE and Externals. > It's somewhat murky - as there are no clear cut cases to set legal precedent. Also the majority of the expertise and online documentation does not cover scripting languages well. Having chased this down, and asked every open source lawyer I can over the last few years, it seems that GPL for scripting languages and closed source engines is fine. The same viral logic that applies in the domain of low level code, should apply also within the domain of the scripting language - that is the see legal principles apply, but these do not extend to the engine or externals. If a stack uses the Geometry manager, and thus needs the revGeometry script > to function correctly, should that script also be under a GPL-compatible > license? Same question for Externals, can you combine the GPL work with > commercial closed externals? > So - unless RunRev licensed the Geometry manager / IDE under a GPL compatible license, it would not be possible to publish open source GPL code together with the Geometry manager code. If this were not the case it would make a nonsense of the entire principle of GPL for scripting languages. With regard to externals - you would (in the muddy world of GPL and scripting languages) be OK. This ain't legal advice - just best practice from someone who keeps asking :) From janschenkel at yahoo.com Sun Jan 16 10:51:21 2011 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 16 Jan 2011 07:51:21 -0800 (PST) Subject: Datagrams: or how to avoid tRev(or) In-Reply-To: Message-ID: <789121.41178.qm@web65401.mail.ac4.yahoo.com> --- On Sun, 1/16/11, David Bovill wrote: > I would like to implement as robust > as possible localhost (possibly later > lan based) socket communication protocol between LiveCode > based apps. While > I've done a number of experiments, any can get teh 2 way > comms going no > problem - I'd like to do things in a way in which possible > clashes with > other apps listening on the same ports is dealt with. For > instance I don't > know which port tRev listens on? > > AFAIK - this is what Zero Configuration > Networkingis > all about (ie Bonjour). I know there was an unsupported > external > knocking > around - but I'm thinking maybe a poor amns version would > be possible. On > OSX you cna use > mDNSI > believe - how about windows, and linux? > For a Java project at work, I've been using JmDNS to enable service discovery over a LAN: Since it's pure Java it works on MacOSX, Windows and Linux. Through process communication, you could manage a Java process running a LiveCodeHelper class that takes care of the registration and discovery of services. When I find the time, I'll write up a blog post... 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 janschenkel at yahoo.com Sun Jan 16 10:56:35 2011 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 16 Jan 2011 07:56:35 -0800 (PST) Subject: Creative Common Copyright Notice in Standalones In-Reply-To: Message-ID: <138179.57648.qm@web65407.mail.ac4.yahoo.com> --- On Sun, 1/16/11, David Bovill wrote: > On 16 January 2011 13:29, Jan > Schenkel > wrote: > > > It does look like we have have little choice if we > want strong protection. > > Like you, I'm leaning towards the xGPL licenses, > combined with a closed > > commercial license. > > > > What worries me about it, is its viral nature in > combination with LiveCode. > > While one could argue that the LiveCode "engine" > doesn't have to be GPL, > > there are a few murky areas regarding the IDE and > Externals. > > > > It's somewhat murky - as there are no clear cut cases to > set legal > precedent. Also the majority of the expertise and online > documentation does > not cover scripting languages well. Having chased this > down, and asked every > open source lawyer I can over the last few years, it seems > that GPL for > scripting languages and closed source engines is fine. The > same viral logic > that applies in the domain of low level code, should apply > also within the > domain of the scripting language - that is the see legal > principles apply, > but these do not extend to the engine or externals. > > If a stack uses the Geometry manager, and thus needs the > revGeometry script > > to function correctly, should that script also be > under a GPL-compatible > > license? Same question for Externals, can you combine > the GPL work with > > commercial closed externals? > > > > So - unless RunRev licensed the Geometry manager / IDE > under a GPL > compatible license, it would not be possible to publish > open source GPL code > together with the Geometry manager code. If this were not > the case it would > make a nonsense of the entire principle of GPL for > scripting languages. With > regard to externals - you would (in the muddy world of GPL > and scripting > languages) be OK. This ain't legal advice - just best > practice from someone > who keeps asking :) > Heh, I'm also curious about these things and want to make sure I take the right decision - and the only way to find out is by asking questions :-) So, assuming the Engine and Externals are OK, should we ask RunRev HQ for an official definition of the license of the IDE and script libraries? Hopefully one that is GPL-compatible? 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 david at vaudevillecourt.tv Sun Jan 16 11:06:59 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Sun, 16 Jan 2011 16:06:59 +0000 Subject: Shell from a folder Message-ID: I'm wandering if there is any relationship between "the defaultfolder" and where the "shell" function effectively operates from? I thought there was but it seems not... to get the same result as I would get from the command line I have to: shell_BashParamEscape pExecuteWhere *put* "cd" && pExecuteWhere && "&&" & space before someShell *put* someShell *put* shell (someShell) into shellResult /* -- this does not seem to work put the defaultfolder into oFolder set the defaultfolder to pExecuteWhere put shell (someShell) into shellResult set the defaultfolder to oFolder */ Is there a more elegant way? From david at vaudevillecourt.tv Sun Jan 16 11:10:28 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Sun, 16 Jan 2011 16:10:28 +0000 Subject: Datagrams: or how to avoid tRev(or) In-Reply-To: <789121.41178.qm@web65401.mail.ac4.yahoo.com> References: <789121.41178.qm@web65401.mail.ac4.yahoo.com> Message-ID: On 16 January 2011 15:51, Jan Schenkel wrote: > > For a Java project at work, I've been using JmDNS to enable service > discovery over a LAN: Since it's pure Java > it works on MacOSX, Windows and Linux. > > Through process communication, you could manage a Java process running a > LiveCodeHelper class that takes care of the registration and discovery of > services. > > When I find the time, I'll write up a blog post... That would be great Jan - would love to see this! From pmbrig at gmail.com Sun Jan 16 11:16:26 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Sun, 16 Jan 2011 08:16:26 -0800 Subject: Import Snapshot Broken in 4.5.3? In-Reply-To: References: Message-ID: <2AD314BF-D6E9-4C17-BCA9-D47EF07D13DE@gmail.com> Thanks. As usual, I discovered this for myself in the dictionary about 4 minutes after I hit the "send" button. Another way that this list is useful for learning -- all I need to do is post a question and then I find that I already have the answer! Apparently I inadvertently installed an LC-uselist external in my brain. Did you create that utility too, Scott? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Jan 13, 2011, at 11:25 AM, Scott Rossi wrote: > Hi Peter: > > "the selObj" is short for "the selectedObject". It returns the long > id of > whatever object is selected. Like other LC functions, you must > either use > the form "the xyz" or "xyz()". In this case, both "the selObj" and > "selObj()" are the correct forms. > > I found that the script works as expected when run from a control on > the > current card, but fails when run from the message box, so it seems > something > has broken in recent versions of the message box's script processing. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > Recently, Peter Brigham MD wrote: > >> On Jan 12, 2011, at 9:07 PM, Scott Rossi wrote: >> >>> Houston, I think we have a problem. >>> >>> This script works in LC (Rev) 4 OS X but generates an error in >>> 4.5.3: >>> import snapshot from rect (rect of the selobj) of the selobj >>> >>> Message execution error: >>> Error description: value: error executing expression >>> Hint: import snapshot from rect (rect of the selobj) of the selobj >> >> I must be missing something: the the syntax "rect of the selobj" >> seems >> to be what you would use for a LC property. If selobj is a variable >> then this would not be expected to work, and if it's a customprop >> then >> it should be "rect of the selobj of this stack" or some such. If on >> the other hand selobj contains a long id then shouldn't you use "rect >> of selobj" ? As it stands now, this is new syntax to me.... >> >> -- 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 david at vaudevillecourt.tv Sun Jan 16 11:19:37 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Sun, 16 Jan 2011 16:19:37 +0000 Subject: Creative Common Copyright Notice in Standalones In-Reply-To: <138179.57648.qm@web65407.mail.ac4.yahoo.com> References: <138179.57648.qm@web65407.mail.ac4.yahoo.com> Message-ID: On 16 January 2011 15:56, Jan Schenkel wrote: > > Heh, I'm also curious about these things and want to make sure I take the > right decision - and the only way to find out is by asking questions :-) > > So, assuming the Engine and Externals are OK, should we ask RunRev HQ for > an official definition of the license of the IDE and script libraries? > Hopefully one that is GPL-compatible? I'm talking to Kevin this week about these issues, particularly with regard to Creative Commons licensing of the documentation. I'm trying to work out, and therefore recommend, the best combination of licensing and workflow to match their commercial concerns while enabling as much shared community code creation as possible. There is no official position on this as yet - certainly if you were to write up your needs in this area it would help inform a decision? From bvg at mac.com Sun Jan 16 11:20:47 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 16 Jan 2011 17:20:47 +0100 Subject: Shell from a folder In-Reply-To: References: Message-ID: <6F24706D-6546-48DD-983A-48ECBDE21C0F@mac.com> answer folder "" set the defaultfolder to it put shell(ls) The result changes depending on what folder i specify. so it works fine for me. Therefore I assume a scripting error on your part :P On 16 Jan 2011, at 17:06, David Bovill wrote: > I'm wandering if there is any relationship between "the defaultfolder" and > where the "shell" function effectively operates from? I thought there was > but it seems not... to get the same result as I would get from the command > line I have to: > > shell_BashParamEscape pExecuteWhere > > *put* "cd" && pExecuteWhere && "&&" & space before someShell > > *put* someShell > > *put* shell (someShell) into shellResult > > > > /* > > -- this does not seem to work > > put the defaultfolder into oFolder > > set the defaultfolder to pExecuteWhere > > put shell (someShell) into shellResult > > set the defaultfolder to oFolder > > */ > > > > Is there a more elegant way? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david at vaudevillecourt.tv Sun Jan 16 11:31:54 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Sun, 16 Jan 2011 16:31:54 +0000 Subject: Shell from a folder In-Reply-To: <6F24706D-6546-48DD-983A-48ECBDE21C0F@mac.com> References: <6F24706D-6546-48DD-983A-48ECBDE21C0F@mac.com> Message-ID: Yes - my mistake (there was a bug in my code) - the defaultfolder does indeed change the effective place the shell command is called from. 2011/1/16 Bj?rnke von Gierke > answer folder "" > set the defaultfolder to it > put shell(ls) > > The result changes depending on what folder i specify. so it works fine for > me. Therefore I assume a scripting error on your part :P > > On 16 Jan 2011, at 17:06, David Bovill wrote: > > > I'm wandering if there is any relationship between "the defaultfolder" > and > > where the "shell" function effectively operates from? I thought there was > > but it seems not... to get the same result as I would get from the > command > > line I have to: > > > > shell_BashParamEscape pExecuteWhere > > > > *put* "cd" && pExecuteWhere && "&&" & space before someShell > > > > *put* someShell > > > > *put* shell (someShell) into shellResult > > > > > > > > /* > > > > -- this does not seem to work > > > > put the defaultfolder into oFolder > > > > set the defaultfolder to pExecuteWhere > > > > put shell (someShell) into shellResult > > > > set the defaultfolder to oFolder > > > > */ > > > > > > > > Is there a more elegant way? > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Jan 16 12:27:42 2011 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sun, 16 Jan 2011 18:27:42 +0100 Subject: List of objects in a group ? Message-ID: <8BFFDBB1-A3A4-4BD9-824C-F79882568C08@wanadoo.fr> Hi from Beautiful Britanny, Thanks Mark, Thanks Klaus. .. Always something new to learn with you guys ! -Francis "Nothing should ever be done for the first time !" From mwieder at ahsoftware.net Sun Jan 16 12:41:52 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 16 Jan 2011 09:41:52 -0800 Subject: Datagrams: or how to avoid tRev(or) In-Reply-To: References: Message-ID: <1063298359.20110116094152@ahsoftware.net> David- Sunday, January 16, 2011, 7:14:51 AM, you wrote: > I would like to implement as robust as possible localhost (possibly later > lan based) socket communication protocol between LiveCode based apps. While > I've done a number of experiments, any can get teh 2 way comms going no > problem - I'd like to do things in a way in which possible clashes with > other apps listening on the same ports is dealt with. For instance I don't > know which port tRev listens on? I'm using port 44553 for PowerDebug. Maybe there should be a registry somewhere... revInterop? -- -Mark Wieder mwieder at ahsoftware.net From warrenkuhl at gmail.com Sun Jan 16 14:07:04 2011 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Sun, 16 Jan 2011 13:07:04 -0600 Subject: Groups - Lock Size and Position In-Reply-To: <636783.37164.qm@web65404.mail.ac4.yahoo.com> References: <636783.37164.qm@web65404.mail.ac4.yahoo.com> Message-ID: Jan, Thanks for the explanation. I am using the revGeometry Manager. I had this working at some point to resize my objects when my stack was resized. Now it doesn't seem to be working. I thought it had something to do with the groups locking the size...but obviously there seems to be another issue. Warren On Sun, Jan 16, 2011 at 7:14 AM, Jan Schenkel wrote: > --- On Sat, 1/15/11, Warren Kuhl wrote: > > I have some groups within a Tab > > Menu. I am trying to make the tab menu and > > groups scalable based on the size of the stack. When > > I test this, it keeps > > setting on the lock size and position on for the > > groups. What would cause > > this when I keep unhiliting the lock size and position of > > the groups? > > > > I don't have any code within my stack to lock the size. > > > > Thanks for any help! > > Warren > > > > Hi Warren, > > Are you by any chance using the revGeometry manager to reposition and > resize your objects? Then it's perfectly normal: a group is normally > automatically sized to fit around the contained controls (plus the margins > on each side) - but when the geometry manager needs to start moving things > around, it could get into some serious conflicts if it doesn't 'lock' the > groups beforehand. > > If you're not using the geometry manager, then please ignore :-) > > 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) > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Jan 16 14:28:49 2011 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 16 Jan 2011 11:28:49 -0800 (PST) Subject: Datagrams: or how to avoid tRev(or) In-Reply-To: Message-ID: <160284.69012.qm@web65413.mail.ac4.yahoo.com> --- On Sun, 1/16/11, David Bovill wrote: > On 16 January 2011 15:51, Jan > Schenkel > wrote: > > > > > For a Java project at work, I've been using JmDNS to > enable service > > discovery over a LAN: Since it's pure Java > > it works on MacOSX, Windows and Linux. > > > > Through process communication, you could manage a Java > process running a > > LiveCodeHelper class that takes care of the > registration and discovery of > > services. > > > > When I find the time, I'll write up a blog post... > > > That would be great Jan - would love to see this! > Well, I figured I had better do it right away, so here it is: 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 warrenkuhl at gmail.com Sun Jan 16 14:37:58 2011 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Sun, 16 Jan 2011 13:37:58 -0600 Subject: Groups - Lock Size and Position In-Reply-To: References: <636783.37164.qm@web65404.mail.ac4.yahoo.com> Message-ID: I just found a script online that takes care of everything I was trying to do with revGeometry Manager... http://www.troz.net/rev/stacks/GeomScript.rev Kudos to the person that wrote this script (and published www.troz.net). For someone with my limited RunRev ability, this script took me 5 minutes to get what I require as opposed to 2 days of messing with revGeometry. Hope everyone is having a great weekend! Warren On Sun, Jan 16, 2011 at 1:07 PM, Warren Kuhl wrote: > Jan, > > Thanks for the explanation. I am using the revGeometry Manager. I had > this working at some point to resize my objects when my stack was resized. > Now it doesn't seem to be working. I thought it had something to do with > the groups locking the size...but obviously there seems to be another issue. > > Warren > > On Sun, Jan 16, 2011 at 7:14 AM, Jan Schenkel wrote: > >> --- On Sat, 1/15/11, Warren Kuhl wrote: >> > I have some groups within a Tab >> > Menu. I am trying to make the tab menu and >> > groups scalable based on the size of the stack. When >> > I test this, it keeps >> > setting on the lock size and position on for the >> > groups. What would cause >> > this when I keep unhiliting the lock size and position of >> > the groups? >> > >> > I don't have any code within my stack to lock the size. >> > >> > Thanks for any help! >> > Warren >> > >> >> Hi Warren, >> >> Are you by any chance using the revGeometry manager to reposition and >> resize your objects? Then it's perfectly normal: a group is normally >> automatically sized to fit around the contained controls (plus the margins >> on each side) - but when the geometry manager needs to start moving things >> around, it could get into some serious conflicts if it doesn't 'lock' the >> groups beforehand. >> >> If you're not using the geometry manager, then please ignore :-) >> >> 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) >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From pete at mollysrevenge.com Sun Jan 16 14:56:50 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Sun, 16 Jan 2011 11:56:50 -0800 Subject: Copying Objects from one card to another Message-ID: <141AC79C-51EA-453D-8631-E53570409625@mollysrevenge.com> I'm trying to copy a number of objects from one card to another by selecting them all on the source card, copy, then paste them onto the destination card. On the destination card, they all end up stacked up on top of each other instead of in the same positions as on the source card. The destination card is big enough to hold all of them. What am I doing wrong? Pete Haworth From mwieder at ahsoftware.net Sun Jan 16 15:10:14 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 16 Jan 2011 12:10:14 -0800 Subject: Datagrams: or how to avoid tRev(or) In-Reply-To: <160284.69012.qm@web65413.mail.ac4.yahoo.com> References: <160284.69012.qm@web65413.mail.ac4.yahoo.com> Message-ID: <11612200562.20110116121014@ahsoftware.net> Jan- Sunday, January 16, 2011, 11:28:49 AM, you wrote: > Well, I figured I had better do it right away, so here it is: > Awesome! Thanks. Bookmarked... -- -Mark Wieder mwieder at ahsoftware.net From bonnmike at gmail.com Sun Jan 16 15:41:36 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 16 Jan 2011 13:41:36 -0700 Subject: Copying Objects from one card to another In-Reply-To: <141AC79C-51EA-453D-8631-E53570409625@mollysrevenge.com> References: <141AC79C-51EA-453D-8631-E53570409625@mollysrevenge.com> Message-ID: The objects are placed into the clipboard without location data is my guess. so when you paste them back in, they just get dumped onto the new card. Could try, grouping them, then using place to place them on the new card, then if needed, ungroup from the first card. On Sun, Jan 16, 2011 at 12:56 PM, Peter Haworth wrote: > I'm trying to copy a number of objects from one card to another by > selecting them all on the source card, copy, then paste them onto the > destination card. On the destination card, they all end up stacked up on > top of each other instead of in the same positions as on the source card. > The destination card is big enough to hold all of them. > > What am I doing wrong? > > Pete Haworth > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 16 15:54:17 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 16 Jan 2011 14:54:17 -0600 Subject: Copying Objects from one card to another In-Reply-To: <141AC79C-51EA-453D-8631-E53570409625@mollysrevenge.com> References: <141AC79C-51EA-453D-8631-E53570409625@mollysrevenge.com> Message-ID: <4D335AF9.5080805@hyperactivesw.com> On 1/16/11 1:56 PM, Peter Haworth wrote: > I'm trying to copy a number of objects from one card to another by > selecting them all on the source card, copy, then paste them onto the > destination card. On the destination card, they all end up stacked > up on top of each other instead of in the same positions as on the > source card. Try looping through all the objects and use this syntax: copy to For example: copy btn 1 of this cd of stack "source" to cd 2 of stack "destination" That will retain the location. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From david at vaudevillecourt.tv Sun Jan 16 17:00:03 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Sun, 16 Jan 2011 22:00:03 +0000 Subject: umask Message-ID: Does anyone know if the umask works on OSX / anymore - I used it years ago on Linux, but no idea if it works on OSX (dictionary say it dos not). *set* the umask to 555 *put* the tempname & ".sh" into shellFile *put* someShell into url ("file:" & shellFile) *set* the umask to 0 I guess I'll have to use chmod +x shell command? From sarah.reichelt at gmail.com Sun Jan 16 18:00:29 2011 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 17 Jan 2011 09:00:29 +1000 Subject: Groups - Lock Size and Position In-Reply-To: References: <636783.37164.qm@web65404.mail.ac4.yahoo.com> Message-ID: You're welcome :-) Sarah On Mon, Jan 17, 2011 at 5:37 AM, Warren Kuhl wrote: > I just found a script online that takes care of everything I was trying to > do with revGeometry Manager... > > http://www.troz.net/rev/stacks/GeomScript.rev > > Kudos to the person that wrote this script (and published www.troz.net). > For someone with my limited RunRev ability, this script took me 5 minutes > to get what I require as opposed to 2 days of messing with revGeometry. > > Hope everyone is having a great weekend! > Warren > > > On Sun, Jan 16, 2011 at 1:07 PM, Warren Kuhl wrote: > > > Jan, > > > > Thanks for the explanation. I am using the revGeometry Manager. I had > > this working at some point to resize my objects when my stack was > resized. > > Now it doesn't seem to be working. I thought it had something to do > with > > the groups locking the size...but obviously there seems to be another > issue. > > > > Warren > > > > On Sun, Jan 16, 2011 at 7:14 AM, Jan Schenkel >wrote: > > > >> --- On Sat, 1/15/11, Warren Kuhl wrote: > >> > I have some groups within a Tab > >> > Menu. I am trying to make the tab menu and > >> > groups scalable based on the size of the stack. When > >> > I test this, it keeps > >> > setting on the lock size and position on for the > >> > groups. What would cause > >> > this when I keep unhiliting the lock size and position of > >> > the groups? > >> > > >> > I don't have any code within my stack to lock the size. > >> > > >> > Thanks for any help! > >> > Warren > >> > > >> > >> Hi Warren, > >> > >> Are you by any chance using the revGeometry manager to reposition and > >> resize your objects? Then it's perfectly normal: a group is normally > >> automatically sized to fit around the contained controls (plus the > margins > >> on each side) - but when the geometry manager needs to start moving > things > >> around, it could get into some serious conflicts if it doesn't 'lock' > the > >> groups beforehand. > >> > >> If you're not using the geometry manager, then please ignore :-) > >> > >> 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) > >> > >> > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sarah.reichelt at gmail.com Sun Jan 16 18:19:46 2011 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 17 Jan 2011 09:19:46 +1000 Subject: usb driver problem In-Reply-To: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> Message-ID: On Sun, Jan 16, 2011 at 2:18 AM, Thomas McGrath III wrote: > > I am having trouble accessing an Arduino Uno attached to my computer via USB. > > The device driver shows up as "/dev/tty.usbmodem1a21" > > I tried a simple open driver then read from driver then close driver. But Livecode keeps crashing or worse my computer panics and dies. > When you get the driverNames, you should get?a list of lines with three comma-separated items per line. Here is a sample of what I get with a KeySpan USB-serial adapter connected: KeySerial1,/dev/tty.KeySerial1,/dev/cu.KeySerial1 USA28X1a2P1.1,/dev/tty.USA28X1a2P1.1,/dev/cu.USA28X1a2P1.1 USA28X1a2P2.2,/dev/tty.USA28X1a2P2.2,/dev/cu.USA28X1a2P2.2 Bluetooth-PDA-Sync,/dev/tty.Bluetooth-PDA-Sync,/dev/cu.Bluetooth-PDA-Sync The one you need to use to connect is the 3rd item i.e. the one starting with /dev/cu. instead of /dev/tty. While LiveCode cannot communicate directly with a USB port, it appears that the Arduino is providing a serial port, so this should work fine. On my web site, there is a serial test stack that might help you diagnose the connection issues. Cheers, Sarah From warrenkuhl at gmail.com Sun Jan 16 19:06:26 2011 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Sun, 16 Jan 2011 18:06:26 -0600 Subject: Groups - Lock Size and Position In-Reply-To: References: <636783.37164.qm@web65404.mail.ac4.yahoo.com> Message-ID: Sarah, I didn't realize this was your site/script. But you have no idea how much time you saved me with this. Thanks again...much appreciated! Warren On Sun, Jan 16, 2011 at 5:00 PM, Sarah Reichelt wrote: > You're welcome :-) > > Sarah > > > On Mon, Jan 17, 2011 at 5:37 AM, Warren Kuhl wrote: > > > I just found a script online that takes care of everything I was trying > to > > do with revGeometry Manager... > > > > http://www.troz.net/rev/stacks/GeomScript.rev > > > > Kudos to the person that wrote this script (and published www.troz.net). > > For someone with my limited RunRev ability, this script took me 5 > minutes > > to get what I require as opposed to 2 days of messing with revGeometry. > > > > Hope everyone is having a great weekend! > > Warren > > > > > > On Sun, Jan 16, 2011 at 1:07 PM, Warren Kuhl > wrote: > > > > > Jan, > > > > > > Thanks for the explanation. I am using the revGeometry Manager. I had > > > this working at some point to resize my objects when my stack was > > resized. > > > Now it doesn't seem to be working. I thought it had something to do > > with > > > the groups locking the size...but obviously there seems to be another > > issue. > > > > > > Warren > > > > > > On Sun, Jan 16, 2011 at 7:14 AM, Jan Schenkel > >wrote: > > > > > >> --- On Sat, 1/15/11, Warren Kuhl wrote: > > >> > I have some groups within a Tab > > >> > Menu. I am trying to make the tab menu and > > >> > groups scalable based on the size of the stack. When > > >> > I test this, it keeps > > >> > setting on the lock size and position on for the > > >> > groups. What would cause > > >> > this when I keep unhiliting the lock size and position of > > >> > the groups? > > >> > > > >> > I don't have any code within my stack to lock the size. > > >> > > > >> > Thanks for any help! > > >> > Warren > > >> > > > >> > > >> Hi Warren, > > >> > > >> Are you by any chance using the revGeometry manager to reposition and > > >> resize your objects? Then it's perfectly normal: a group is normally > > >> automatically sized to fit around the contained controls (plus the > > margins > > >> on each side) - but when the geometry manager needs to start moving > > things > > >> around, it could get into some serious conflicts if it doesn't 'lock' > > the > > >> groups beforehand. > > >> > > >> If you're not using the geometry manager, then please ignore :-) > > >> > > >> 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) > > >> > > >> > > >> > > >> > > >> > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > > >> subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mcgrath3 at mac.com Sun Jan 16 23:37:00 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sun, 16 Jan 2011 23:37:00 -0500 Subject: usb driver problem In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> Message-ID: The dev/tty.usbmodem1a21 does not show up in the list using the SerialTest.rev stack. It does show up in the Arduino software Serial list. Also in the Arduino you have to use the tty.usbmodem1a21. Also when you plug the Arduino in the Mac detects a new modem and asks to set it up in Internet preferences pane. hit apply and then it shows up in Arduino. When i use marks make board software the /dev/cu.usbmodem1a21 does show up or at least when I took out just that part of his code that searches the drivers. put OSXDeviceNames() into tFiles filter tFiles WITH "/dev/cu.usbmodem*" Sorta stuck now figuring this out. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 16, 2011, at 6:19 PM, Sarah Reichelt wrote: > On Sun, Jan 16, 2011 at 2:18 AM, Thomas McGrath III wrote: >> >> I am having trouble accessing an Arduino Uno attached to my computer via USB. >> >> The device driver shows up as "/dev/tty.usbmodem1a21" >> >> I tried a simple open driver then read from driver then close driver. But Livecode keeps crashing or worse my computer panics and dies. >> > When you get the driverNames, you should get a list of lines with > three comma-separated items per line. Here is a sample of what I get > with a KeySpan USB-serial adapter connected: > > KeySerial1,/dev/tty.KeySerial1,/dev/cu.KeySerial1 > USA28X1a2P1.1,/dev/tty.USA28X1a2P1.1,/dev/cu.USA28X1a2P1.1 > USA28X1a2P2.2,/dev/tty.USA28X1a2P2.2,/dev/cu.USA28X1a2P2.2 > Bluetooth-PDA-Sync,/dev/tty.Bluetooth-PDA-Sync,/dev/cu.Bluetooth-PDA-Sync > > The one you need to use to connect is the 3rd item i.e. the one > starting with /dev/cu. instead of /dev/tty. > > While LiveCode cannot communicate directly with a USB port, it appears > that the Arduino is providing a serial port, so this should work fine. > > On my web site, there is a serial test stack > that might help you > diagnose the connection issues. > > Cheers, > Sarah > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Sun Jan 16 23:51:27 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sun, 16 Jan 2011 23:51:27 -0500 Subject: ssh on-rev.com Message-ID: <17F5C027-1AF0-41C8-ABE0-8710C55E854C@mac.com> Anyone know if ssh with on-rev.com works from the terminal? I keep getting rejected and I don't know if that's because I am using the wrong sign in or that on-rev does not allow this. PS This is for using Processing PDE (processing.org) A graphical interface that works along side of Arduino (which is based off of Processing). I am working through a great book "Making Things Talk" Tom Igoe - O'Reilly - -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net From kee at kagi.com Sun Jan 16 23:58:56 2011 From: kee at kagi.com (Kee Nethery) Date: Sun, 16 Jan 2011 20:58:56 -0800 Subject: usb driver problem In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> Message-ID: <81B15A9D-795E-497F-B51E-0041388A12E4@kagi.com> would love to talk to Arduino via Livecode. Too bad it does not work. Kee Nethery From mcgrath3 at mac.com Mon Jan 17 00:05:45 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 17 Jan 2011 00:05:45 -0500 Subject: usb driver problem In-Reply-To: <81B15A9D-795E-497F-B51E-0041388A12E4@kagi.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <81B15A9D-795E-497F-B51E-0041388A12E4@kagi.com> Message-ID: <5FF426D1-6E6D-4E00-93DD-7EBB4BD45399@mac.com> Some programs OSC use Processing to talk through to the Arduino. Still trying to figure this out. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 16, 2011, at 11:58 PM, Kee Nethery wrote: > would love to talk to Arduino via Livecode. Too bad it does not work. > Kee Nethery > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sarah.reichelt at gmail.com Mon Jan 17 00:10:17 2011 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 17 Jan 2011 15:10:17 +1000 Subject: usb driver problem In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> Message-ID: Are there drivers? For KeySpan and other USB serial adapters, you have to install the drivers before they will work properly. Cheers, Sarah On Mon, Jan 17, 2011 at 2:37 PM, Thomas McGrath III wrote: > The dev/tty.usbmodem1a21 does not show up in the list using the SerialTest.rev stack. > > It does show up in the Arduino software Serial list. Also in the Arduino you have to use the tty.usbmodem1a21. Also when you plug the Arduino in the Mac detects a new modem and asks to set it up in Internet preferences pane. hit apply and then it shows up in Arduino. > > When i use marks make board software the /dev/cu.usbmodem1a21 does show up or at least when I took out just that part of his code that searches the drivers. > > ? ? ? ?put OSXDeviceNames() into tFiles > ? ? ? ?filter tFiles WITH "/dev/cu.usbmodem*" > > Sorta stuck now figuring this out. > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Jan 16, 2011, at 6:19 PM, Sarah Reichelt wrote: > >> On Sun, Jan 16, 2011 at 2:18 AM, Thomas McGrath III wrote: >>> >>> I am having trouble accessing an Arduino Uno attached to my computer via USB. >>> >>> The device driver shows up as "/dev/tty.usbmodem1a21" >>> >>> I tried a simple open driver then read from driver then close driver. But Livecode keeps crashing or worse my computer panics and dies. >>> >> When you get the driverNames, you should get a list of lines with >> three comma-separated items per line. Here is a sample of what I get >> with a KeySpan USB-serial adapter connected: >> >> KeySerial1,/dev/tty.KeySerial1,/dev/cu.KeySerial1 >> USA28X1a2P1.1,/dev/tty.USA28X1a2P1.1,/dev/cu.USA28X1a2P1.1 >> USA28X1a2P2.2,/dev/tty.USA28X1a2P2.2,/dev/cu.USA28X1a2P2.2 >> Bluetooth-PDA-Sync,/dev/tty.Bluetooth-PDA-Sync,/dev/cu.Bluetooth-PDA-Sync >> >> The one you need to use to connect is the 3rd item i.e. the one >> starting with /dev/cu. instead of /dev/tty. >> >> While LiveCode cannot communicate directly with a USB port, it appears >> that the Arduino is providing a serial port, so this should work fine. >> >> On my web site, there is a serial test stack >> that might help you >> diagnose the connection issues. >> >> Cheers, >> Sarah From capellan2000 at gmail.com Mon Jan 17 00:31:42 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 17 Jan 2011 01:31:42 -0400 Subject: Using Shell to run a DOS program Message-ID: Hi all, I have been trying, without sucess, to run the program CRC32.EXE using Shell from LiveCode. This is the code that I am using: put "C:\crc32.exe CRC32INPUT >CRC32OUTPUT.txt" into tCommand set the hideconsolewindows to true get shell (tCommand) get URL "file:C:\CRC32OUTPUT.txt " put it Notice that I had already created the files named CRC32INPUT and CRC32OUTPUT.txt On the command prompt it works, but not inside LiveCode. I am testing this using Rev 2.8 and 4.0 using this DOS program http://www34.brinkster.com/dizzyk/download/crc32.zip downloaded from this page: http://www34.brinkster.com/dizzyk/crc32.asp Thanks in advance! Al From jacque at hyperactivesw.com Mon Jan 17 01:06:57 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 17 Jan 2011 00:06:57 -0600 Subject: usb driver problem In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> Message-ID: <4D33DC81.3040805@hyperactivesw.com> On 1/16/11 10:37 PM, Thomas McGrath III wrote: > The dev/tty.usbmodem1a21 does not show up in the list using the > SerialTest.rev stack. > > It does show up in the Arduino software Serial list. Also in the > Arduino you have to use the tty.usbmodem1a21. Also when you plug the > Arduino in the Mac detects a new modem and asks to set it up in > Internet preferences pane. hit apply and then it shows up in > Arduino. If the Mac thinks it's a modem, I'd try using "open file" as Mark Waddingham suggested. Specify "modem:" and set the serialControlString. He did mention that the drivernames aren't always accurate on OS X. If that doesn't work, use "open file" with the "/dev/" path. I'm not sure which path would work, I guess you'd need to test them all. Basically the one that works in Terminal should work in LiveCode. Did you try talking to it in Terminal? Does that work? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Jan 17 01:07:55 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 17 Jan 2011 00:07:55 -0600 Subject: ssh on-rev.com In-Reply-To: <17F5C027-1AF0-41C8-ABE0-8710C55E854C@mac.com> References: <17F5C027-1AF0-41C8-ABE0-8710C55E854C@mac.com> Message-ID: <4D33DCBB.8080005@hyperactivesw.com> On 1/16/11 10:51 PM, Thomas McGrath III wrote: > Anyone know if ssh with on-rev.com works from the terminal? I'm not positive, but I think you may have to ask support to set that up for you. I don't think SSH is turned on by default. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From th.douez at sunnyrevtalk.com Mon Jan 17 02:44:43 2011 From: th.douez at sunnyrevtalk.com (Thierry) Date: Mon, 17 Jan 2011 08:44:43 +0100 Subject: umask In-Reply-To: References: Message-ID: Le 16 janv. 2011 ? 23:00, David Bovill a ?crit : > Does anyone know if the umask works on OSX / anymore - I used it years ago > on Linux, but no idea if it works on OSX (dictionary say it dos not). Well, better try all these commands in a terminal and you'll know quickly : in a terminal do : > echo 123 > test > umask 666 > echo 345 > test2 > ls -l test* -rw-rw-rw- 1 tdz staff 4 17 jan 08:38 test ---------- 1 tdz staff 4 17 jan 08:38 test2 I did this in a shell with the terminal app., and on a Mac ! So ,the answer is YES :) MacOsX is a Unix based system, most of the shell commands are there... with subtle differences from Unix to Unix to Linux versions, but most of the time, it just works the same. Regards, Thierry From rene.micout at numericable.com Mon Jan 17 04:24:25 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Mon, 17 Jan 2011 10:24:25 +0100 Subject: ssh on-rev.com In-Reply-To: <17F5C027-1AF0-41C8-ABE0-8710C55E854C@mac.com> References: <17F5C027-1AF0-41C8-ABE0-8710C55E854C@mac.com> Message-ID: No information but I am also very interested by the subject... Rene(?) Le 17 janv. 2011 ? 05:51, Thomas McGrath III a ?crit : > Anyone know if ssh with on-rev.com works from the terminal? > > I keep getting rejected and I don't know if that's because I am using the wrong sign in or that on-rev does not allow this. > > PS This is for using Processing PDE (processing.org) A graphical interface that works along side of Arduino (which is based off of Processing). > > > I am working through a great book "Making Things Talk" Tom Igoe - O'Reilly - > > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.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 th.douez at sunnyrevtalk.com Mon Jan 17 05:19:55 2011 From: th.douez at sunnyrevtalk.com (Thierry) Date: Mon, 17 Jan 2011 11:19:55 +0100 Subject: Some thoughts on duck typing In-Reply-To: <4D2F2208.9080901@fourthworld.com> References: <4D2F2208.9080901@fourthworld.com> Message-ID: Le 13 janv. 2011 ? 17:02, Richard Gaskin a ?crit : > How did you do that for any objects other than images? Hi Richard, Well, it's a big topic. :) First, I used this approach in all my *industrial* projects, as BioArchimed for instance - can see it on my web pages. For the sake of the story, I had to do that to be able to win some contracts. ( software quality and version control needed ) and being a proponent of OOP and MVC, this should be put into perspective too, as I guess it avoids part of the ids syndrome. The main idea is to make a proxy of the LC project organized in a data tree, which contains my own object's definition. Then build a new version of a stack by processing this tree, roughly as a preprocessor like we have in C, with #include, #define pragmas. That's it... plus obviously some organisation for the project which makes all the difference. As another example, in my external rev2perl, where Perl can deal with any LiveCode's objects in real time, it's more or less the same concept : a Proxy designed as a tree. And last, from year to year working with Hypercard, Director, Metacard and Livecode, I have organized my work in such a way that I'm very rarely stuck with this IDs syndrome... Just because you can do something doesn't mean you should, and it certainly doesn't mean it's appropriate to do it all the time. That said, I'm using a subset of LiveCode, and again, maybe I've never passed through some pitfalls that others could have experienced because of .... ? Factory Design Pattern is my friend ! Go and Meet the Gang of 4 :) Regards, Thierry From th.douez at sunnyrevtalk.com Mon Jan 17 05:26:26 2011 From: th.douez at sunnyrevtalk.com (Thierry) Date: Mon, 17 Jan 2011 11:26:26 +0100 Subject: Some thoughts on duck typing In-Reply-To: <56747133187.20110113184826@ahsoftware.net> References: <4D2F2208.9080901@fourthworld.com> <56747133187.20110113184826@ahsoftware.net> Message-ID: <646D9BF4-B0C9-46E4-A358-ED6D84E9114A@sunnyrevtalk.com> Le 14 janv. 2011 ? 03:48, Mark Wieder a ?crit : > Richard- > > Thursday, January 13, 2011, 8:02:16 AM, you wrote: > >> How did you do that for any objects other than images? > > It can be done, but it's *really* ugly. Determine the ID you want to > create (it's best to create a numerically-sorted list if you're doing > more than one), then start creating and deleting objects until you've > created one with an ID one less than that. Then go ahead and create > your new object. Rinse and repeat. Hi Mark, I've done that once a long time ago, but can't remember why I stopped going this way.... Didn't find it so ugly at this time :) Regards, Thierry From admin at FlexibleLearning.com Mon Jan 17 05:32:01 2011 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Mon, 17 Jan 2011 10:32:01 -0000 Subject: Scripter's Scrapbook for Linux pre-release In-Reply-To: Message-ID: A pre-release beta that supports Linux is available for review. If you are a registered user and would like a copy, please contact me off list. Hugh Senior FLCo From m.schonewille at economy-x-talk.com Mon Jan 17 06:52:51 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 17 Jan 2011 12:52:51 +0100 Subject: Using Shell to run a DOS program In-Reply-To: References: Message-ID: <75229CD1-A84B-49AA-BC60-E7A1AE0371E6@economy-x-talk.com> Hi Alejandro, Are you sure that the file name should contain an additional space? > "file:C:\CRC32OUTPUT.txt " You give very little information. Does crc32 do anything at all when called from LiveCode? Errors? Files created? Anything? Nothing? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 17 jan 2011, at 06:31, Alejandro Tejada wrote: > Hi all, > > I have been trying, without sucess, to run > the program CRC32.EXE using Shell > from LiveCode. > > This is the code that I am using: > > put "C:\crc32.exe CRC32INPUT >CRC32OUTPUT.txt" into tCommand > set the hideconsolewindows to true > get shell (tCommand) > get URL "file:C:\CRC32OUTPUT.txt " > put it > > Notice that I had already created the files > named CRC32INPUT and CRC32OUTPUT.txt > > On the command prompt it works, > but not inside LiveCode. > > I am testing this using Rev 2.8 and 4.0 > using this DOS program > http://www34.brinkster.com/dizzyk/download/crc32.zip > > downloaded from this page: > http://www34.brinkster.com/dizzyk/crc32.asp > > Thanks in advance! > > Al From andre at andregarzia.com Mon Jan 17 07:27:41 2011 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 17 Jan 2011 10:27:41 -0200 Subject: ssh on-rev.com In-Reply-To: References: <17F5C027-1AF0-41C8-ABE0-8710C55E854C@mac.com> Message-ID: Folks, SSH is enabled only after request and the bad side is, they allow it only from fixed ip. So if you don't have a fixed ip, then you're lost. what I do is ssh to my vps server on jaguarpc which has a static ip then ssh from there to on-rev... lots of hops. On Mon, Jan 17, 2011 at 7:24 AM, Ren? Micout wrote: > No information but I am also very interested by the subject... > Rene(?) > > Le 17 janv. 2011 ? 05:51, Thomas McGrath III a ?crit : > > > Anyone know if ssh with on-rev.com works from the terminal? > > > > I keep getting rejected and I don't know if that's because I am using the > wrong sign in or that on-rev does not allow this. > > > > PS This is for using Processing PDE (processing.org) A graphical > interface that works along side of Arduino (which is based off of > Processing). > > > > > > I am working through a great book "Making Things Talk" Tom Igoe - > O'Reilly - > > > > > > -- Tom McGrath III > > http://lazyriver.on-rev.com > > 3mcgrath at comcast.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 > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Mon Jan 17 07:34:41 2011 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 17 Jan 2011 10:34:41 -0200 Subject: Datagrams: or how to avoid tRev(or) In-Reply-To: <11612200562.20110116121014@ahsoftware.net> References: <160284.69012.qm@web65413.mail.ac4.yahoo.com> <11612200562.20110116121014@ahsoftware.net> Message-ID: David, On localhost you can choose a random unused port and then write the port number to a file in a pre-defined place, all clients launching read from that file to learn which port to use. On lan, you can do like this, on the server part, when you accept connection do some handshaking, on the client part, just open the TCP connection and wait for the handshake, if it doesn't happen then you're talking to the wrong software, disconnect. You can also broadcast with datagrams, anyone using datagrams should have some sort of error control to prevent datagrams from wrong apps (also keep aware that datagram sizes varies with OS) Andre On Sun, Jan 16, 2011 at 6:10 PM, Mark Wieder wrote: > Jan- > > Sunday, January 16, 2011, 11:28:49 AM, you wrote: > > > Well, I figured I had better do it right away, so here it is: > > < > http://quartam.blogspot.com/2011/01/zeroconfbonjour-in-livecode-with-jmdns.html > > > > Awesome! Thanks. Bookmarked... > > -- > -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. From rjb at robelko.com Mon Jan 17 08:26:13 2011 From: rjb at robelko.com (Robert Brenstein) Date: Mon, 17 Jan 2011 14:26:13 +0100 Subject: Copying Objects from one card to another In-Reply-To: <141AC79C-51EA-453D-8631-E53570409625@mollysrevenge.com> References: <141AC79C-51EA-453D-8631-E53570409625@mollysrevenge.com> Message-ID: On 16.01.11 at 11:56 -0800 Peter Haworth apparently wrote: >I'm trying to copy a number of objects from one card to another by >selecting them all on the source card, copy, then paste them onto >the destination card. On the destination card, they all end up >stacked up on top of each other instead of in the same positions as >on the source card. The destination card is big enough to hold all >of them. > >What am I doing wrong? > >Pete Haworth Do you have an earlier version of livecode/rev to try this in? It used to work with retention of location for sure. Robert From DunbarX at aol.com Mon Jan 17 08:34:37 2011 From: DunbarX at aol.com (DunbarX at aol.com) Date: Mon, 17 Jan 2011 08:34:37 EST Subject: Copying Objects from one card to another Message-ID: <61879.cdbeb04.3a659f6d@aol.com> If I try this, it works fine. All pasted objects sit where they were in the source card. LC 4.5.3 Mac OSX 10.4.11 From bvg at mac.com Mon Jan 17 08:47:44 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 17 Jan 2011 14:47:44 +0100 Subject: umask In-Reply-To: References: Message-ID: <4C55947E-F24B-4FA4-9EF6-BA3BFFC9DF38@mac.com> I agree that david should try it himself, especially as it's so easy to test? Note that he meant the umask within LC, not the terminal command. on mouseUp set the umask to 777 ask file "" put "boo" into url ("file:" & it) end mouseUp Result: umask doesn't change permissions of files created by lc on mac os x On 17 Jan 2011, at 08:44, Thierry wrote: > > Le 16 janv. 2011 ? 23:00, David Bovill a ?crit : > >> Does anyone know if the umask works on OSX / anymore - I used it years ago >> on Linux, but no idea if it works on OSX (dictionary say it dos not). > > Well, better try all these commands in a terminal and > you'll know quickly : > > in a terminal do : > >> echo 123 > test > >> umask 666 >> echo 345 > test2 > >> ls -l test* > -rw-rw-rw- 1 tdz staff 4 17 jan 08:38 test > ---------- 1 tdz staff 4 17 jan 08:38 test2 > > I did this in a shell with the terminal app., and on a Mac ! > So ,the answer is YES :) > > MacOsX is a Unix based system, most of the shell commands > are there... with subtle differences from Unix to Unix to Linux versions, > but most of the time, it just works the same. > > 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 mcgrath3 at mac.com Mon Jan 17 09:15:07 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 17 Jan 2011 09:15:07 -0500 Subject: usb driver problem In-Reply-To: <4D33DC81.3040805@hyperactivesw.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D33DC81.3040805@hyperactivesw.com> Message-ID: <589AD6FD-E045-4D27-9950-F244B0794690@mac.com> I will try this today when I get back home. should it be open file "modem:tty.usbmodem1a21" I gotta look up the serialControlString Thanks will get back with the results -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 17, 2011, at 1:06 AM, J. Landman Gay wrote: > On 1/16/11 10:37 PM, Thomas McGrath III wrote: >> The dev/tty.usbmodem1a21 does not show up in the list using the >> SerialTest.rev stack. >> >> It does show up in the Arduino software Serial list. Also in the >> Arduino you have to use the tty.usbmodem1a21. Also when you plug the >> Arduino in the Mac detects a new modem and asks to set it up in >> Internet preferences pane. hit apply and then it shows up in >> Arduino. > > If the Mac thinks it's a modem, I'd try using "open file" as Mark Waddingham suggested. Specify "modem:" and set the serialControlString. He did mention that the drivernames aren't always accurate on OS X. > > If that doesn't work, use "open file" with the "/dev/" path. I'm not sure which path would work, I guess you'd need to test them all. Basically the one that works in Terminal should work in LiveCode. > > Did you try talking to it in Terminal? Does that 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 From mcgrath3 at mac.com Mon Jan 17 09:18:28 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 17 Jan 2011 09:18:28 -0500 Subject: usb driver problem In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> Message-ID: <0D2207A3-5FE2-434E-A02E-739092F7CC02@mac.com> Sarah, There are drivers for older version of OS but it says that in OSX it shows up as a modem with no driver needed as in the Network pane in the device List in system preferences under the Airport Ethernet etc. list items. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 17, 2011, at 12:10 AM, Sarah Reichelt wrote: > Are there drivers? For KeySpan and other USB serial adapters, you have > to install the drivers before they will work properly. > > Cheers, > Sarah > > > On Mon, Jan 17, 2011 at 2:37 PM, Thomas McGrath III wrote: >> The dev/tty.usbmodem1a21 does not show up in the list using the SerialTest.rev stack. >> >> It does show up in the Arduino software Serial list. Also in the Arduino you have to use the tty.usbmodem1a21. Also when you plug the Arduino in the Mac detects a new modem and asks to set it up in Internet preferences pane. hit apply and then it shows up in Arduino. >> >> When i use marks make board software the /dev/cu.usbmodem1a21 does show up or at least when I took out just that part of his code that searches the drivers. >> >> put OSXDeviceNames() into tFiles >> filter tFiles WITH "/dev/cu.usbmodem*" >> >> Sorta stuck now figuring this out. >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> 3mcgrath at comcast.net >> >> On Jan 16, 2011, at 6:19 PM, Sarah Reichelt wrote: >> >>> On Sun, Jan 16, 2011 at 2:18 AM, Thomas McGrath III wrote: >>>> >>>> I am having trouble accessing an Arduino Uno attached to my computer via USB. >>>> >>>> The device driver shows up as "/dev/tty.usbmodem1a21" >>>> >>>> I tried a simple open driver then read from driver then close driver. But Livecode keeps crashing or worse my computer panics and dies. >>>> >>> When you get the driverNames, you should get a list of lines with >>> three comma-separated items per line. Here is a sample of what I get >>> with a KeySpan USB-serial adapter connected: >>> >>> KeySerial1,/dev/tty.KeySerial1,/dev/cu.KeySerial1 >>> USA28X1a2P1.1,/dev/tty.USA28X1a2P1.1,/dev/cu.USA28X1a2P1.1 >>> USA28X1a2P2.2,/dev/tty.USA28X1a2P2.2,/dev/cu.USA28X1a2P2.2 >>> Bluetooth-PDA-Sync,/dev/tty.Bluetooth-PDA-Sync,/dev/cu.Bluetooth-PDA-Sync >>> >>> The one you need to use to connect is the 3rd item i.e. the one >>> starting with /dev/cu. instead of /dev/tty. >>> >>> While LiveCode cannot communicate directly with a USB port, it appears >>> that the Arduino is providing a serial port, so this should work fine. >>> >>> On my web site, there is a serial test stack >>> that might help you >>> diagnose the connection issues. >>> >>> Cheers, >>> Sarah > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 sunnyrevtalk.com Mon Jan 17 09:19:53 2011 From: th.douez at sunnyrevtalk.com (Thierry) Date: Mon, 17 Jan 2011 15:19:53 +0100 Subject: umask In-Reply-To: <4C55947E-F24B-4FA4-9EF6-BA3BFFC9DF38@mac.com> References: <4C55947E-F24B-4FA4-9EF6-BA3BFFC9DF38@mac.com> Message-ID: Le 17 janv. 2011 ? 14:47, Bj?rnke von Gierke a ?crit : > Note that he meant the umask within LC, > not the terminal command. he he, didn't know that umask exists in LC :) > on mouseUp > set the umask to 777 > ask file "" > put "boo" into url ("file:" & it) > end mouseUp > > Result: umask doesn't change permissions of files created by lc on mac os x So, looking quickly in LC dict, I found this : On Mac OS and Windows systems, the umask property has no effect and always reports zero. Even quicker than trying it in the terminal ! Thierry From bvg at mac.com Mon Jan 17 09:29:08 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 17 Jan 2011 15:29:08 +0100 Subject: umask In-Reply-To: References: <4C55947E-F24B-4FA4-9EF6-BA3BFFC9DF38@mac.com> Message-ID: On 17 Jan 2011, at 15:19, Thierry wrote: > So, looking quickly in LC dict, I found this : > > On Mac OS and Windows systems, the umask property has no effect and always reports zero. > > Even quicker than trying it in the terminal ! I don't trust the dictionary in these things, Because it's often inaccurate. For example the entry about the selectionChanged message claims that it's not triggered by arrow keys, but it is. From sundown at pacifier.com Mon Jan 17 09:32:08 2011 From: sundown at pacifier.com (-=>JB<=-) Date: Mon, 17 Jan 2011 06:32:08 -0800 Subject: usb driver problem In-Reply-To: <589AD6FD-E045-4D27-9950-F244B0794690@mac.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D33DC81.3040805@hyperactivesw.com> <589AD6FD-E045-4D27-9950-F244B0794690@mac.com> Message-ID: <48B1573F-8E01-4DAB-9C0E-6094D39FF3FE@pacifier.com> I wrote a serial stack if you want to look at examples of how to use the serial port and set the serialcontrol string. If you would like I will send it to you. -=>JB<=- On Jan 17, 2011, at 6:15 AM, Thomas McGrath III wrote: > I will try this today when I get back home. > > should it be open file "modem:tty.usbmodem1a21" > > I gotta look up the serialControlString > > Thanks will get back with the results > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Jan 17, 2011, at 1:06 AM, J. Landman Gay wrote: > >> On 1/16/11 10:37 PM, Thomas McGrath III wrote: >>> The dev/tty.usbmodem1a21 does not show up in the list using the >>> SerialTest.rev stack. >>> >>> It does show up in the Arduino software Serial list. Also in the >>> Arduino you have to use the tty.usbmodem1a21. Also when you plug the >>> Arduino in the Mac detects a new modem and asks to set it up in >>> Internet preferences pane. hit apply and then it shows up in >>> Arduino. >> >> If the Mac thinks it's a modem, I'd try using "open file" as Mark Waddingham suggested. Specify "modem:" and set the serialControlString. He did mention that the drivernames aren't always accurate on OS X. >> >> If that doesn't work, use "open file" with the "/dev/" path. I'm not sure which path would work, I guess you'd need to test them all. Basically the one that works in Terminal should work in LiveCode. >> >> Did you try talking to it in Terminal? Does that 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From zryip.theslug at gmail.com Mon Jan 17 09:45:29 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Mon, 17 Jan 2011 15:45:29 +0100 Subject: [ANN] Data Grid Helper clones your DataGrids and supports the MC IDE Message-ID: Dear LiveCoder, We are pleased to announce the availability of a new version of DGH. What we have for you in the 1.2.0 version of DGH? 1. A new feature: Mimetism. The mimetism feature allows to clone an existing datagrid by putting it in a cloning chamber. DGH clones: - the datagrid properties, template and behaviors. - the datagrid dgData. This is different than a simple copy/paste of an existing datagrid. In DGH, the resulting clones have their own templates and behaviors, instead of sharing the template and behaviors of the original DataGrid. 2. "lockloc" an object in the DGH's TMPL area is now possible. 3. Change: - DGH supports now the MC IDE. - DGH is now more reactive when switching between datagrids or applying column or template changes to a datagrid. - Icons of the TMPL area objects changes according to the system (Mac and Windows / Linux) 4. Fix - Fix a bug with the visibility of a column in the column editor. An invisible column could be set to visible after an update in the TMPL area. - Fix a bug with the selection of an object in the TMPL area. An object was unselected after a drag. If you have not already tested DGH, a trial version free for 30 days is available here: http://www.aslugontheroad.co.cc/index.php?option=com_phocadownload&view=category&download=17:data-grid-helper-plugin&id=12:trial&Itemid=63 We have also a quick start guide downloadable here: http://www.aslugontheroad.co.cc/index.php?option=com_phocadownload&view=category&download=13:data-grid-helper-quick-start-guide&id=12:trial&Itemid=63 Thanks to William Moseid for the revision of the Quick Start Guide. Btw, remember that we have also free materials about datagrids downloadable here: http://www.aslugontheroad.co.cc/index.php?option=com_phocadownload&view=category&id=7:data-grid&Itemid=63 Best Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From david at vaudevillecourt.tv Mon Jan 17 09:47:17 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Mon, 17 Jan 2011 14:47:17 +0000 Subject: umask In-Reply-To: References: <4C55947E-F24B-4FA4-9EF6-BA3BFFC9DF38@mac.com> Message-ID: Thanks for sorting this out guys - Thierry does uMask still work on Linux in LiveCode? 2011/1/17 Bj?rnke von Gierke > > On 17 Jan 2011, at 15:19, Thierry wrote: > > > So, looking quickly in LC dict, I found this : > > > > On Mac OS and Windows systems, the umask property has no effect and > always reports zero. > > > > Even quicker than trying it in the terminal ! > > I don't trust the dictionary in these things, Because it's often > inaccurate. For example the entry about the selectionChanged message claims > that it's not triggered by arrow keys, but it is. From david at vaudevillecourt.tv Mon Jan 17 09:53:43 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Mon, 17 Jan 2011 14:53:43 +0000 Subject: Some thoughts on duck typing In-Reply-To: <646D9BF4-B0C9-46E4-A358-ED6D84E9114A@sunnyrevtalk.com> References: <4D2F2208.9080901@fourthworld.com> <56747133187.20110113184826@ahsoftware.net> <646D9BF4-B0C9-46E4-A358-ED6D84E9114A@sunnyrevtalk.com> Message-ID: Thierry - would be good to understand a bit more. It looks like I've done the same sort of thing - defined a meta structure for Livecode objects, and for the same sort of reasons. However I "think" you've mapped them to a more robust model, while I've more or less duplicated the existing LiveCode structure. If the way you are doing things is more robust I'd like to standardise on it? On 17 January 2011 10:26, Thierry wrote: > > Hi Mark, > > I've done that once a long time ago, but can't remember > why I stopped going this way.... > > Didn't find it so ugly at this time :) From th.douez at sunnyrevtalk.com Mon Jan 17 09:55:15 2011 From: th.douez at sunnyrevtalk.com (Thierry) Date: Mon, 17 Jan 2011 15:55:15 +0100 Subject: umask In-Reply-To: References: <4C55947E-F24B-4FA4-9EF6-BA3BFFC9DF38@mac.com> Message-ID: <957290A1-F61E-4E6E-9799-4B63FE296E4D@sunnyrevtalk.com> Le 17 janv. 2011 ? 15:47, David Bovill a ?crit : > Thanks for sorting this out guys - Thierry does uMask still work on Linux in > LiveCode? saying before that I didn't know this command,.... Can't help you :( But if you want a multi-platform solution, I guess you have to do it by running a shell ( in LC ). My 2 cents Thierry From davidocoker at gmail.com Mon Jan 17 10:09:30 2011 From: davidocoker at gmail.com (David C.) Date: Mon, 17 Jan 2011 09:09:30 -0600 Subject: Using Shell to run a DOS program In-Reply-To: References: Message-ID: On Sun, Jan 16, 2011 at 11:31 PM, Alejandro Tejada wrote: > Hi all, > > I have been trying, without sucess, to run > the program CRC32.EXE using Shell > from LiveCode. > > This is the code that I am using: > > put "C:\crc32.exe CRC32INPUT >CRC32OUTPUT.txt" into tCommand > set the hideconsolewindows to true > get shell (tCommand) > get URL "file:C:\CRC32OUTPUT.txt " > put it > > Notice that I had already created the files > named CRC32INPUT and CRC32OUTPUT.txt > > On the command prompt it works, > but not inside LiveCode. > > I am testing this using Rev 2.8 and 4.0 > using this DOS program > http://www34.brinkster.com/dizzyk/download/crc32.zip > > downloaded from this page: > http://www34.brinkster.com/dizzyk/crc32.asp > > Thanks in advance! > > Al Although slightly different, after trying several different variations, this seems to work for me: on mouseUp set the defaultFolder to "C:\crc32\" --> must set the folder location to the same as crc32.exe put "crc32.exe" into tCommand put " readme.txt > c:\crc32\output.txt" into tArg put tCommand & tArg into tShellText get shell (tCommand) get URL "file:c:\crc32\output.txt" put it end mouseUp Note the importance of setting the folder path to the location of crc32.exe Best regards, David C. From liste.revo at medard.on-rev.com Mon Jan 17 10:10:19 2011 From: liste.revo at medard.on-rev.com (Medard) Date: Mon, 17 Jan 2011 16:10:19 +0100 Subject: Newbie Q: LiveCode Forum In-Reply-To: <63765299046.20110113235112@ahsoftware.net> Message-ID: <1jv7anp.3fh22c1166uo6M%liste.revo@medard.on-rev.com> Mark Wieder wrote: > http://news.gmane.org/gmane.comp.ide.revolution.user thank you for speaking of (G)mane :-) their philosophy is interesting, indeed (in the About): ===== My main reason for setting up Gmane in the first place was my annoyance with the concept of mailing lists. I've always preferred newsgroups -- they have a nice interface; they can be archived in a convenient format; and they can be searched (via DejaNews/Google). Mailing lists have a lousy interface, and if they have an archive at all, it's always hidden behind some web-based monstrosity. And they never allow searching. ===== But -- I tried to post via this server... it seems that my on-rev address is not recognized (or my configuration is not correct) As the guys at Gmane, I don't like mailing lists as they exist (and moreover web based mailing lists ;->) So I am reading this list on the old newsreader "MacSOUP" :-) And sometimes I am overwhelmed by huge html pages... [yes, you on the french-speaking list ;-)] Also, I read interesting things in the doc at Gmane: they say you can post with a Gmane public address: ===== In fact, feel free to use your public.gmane.org address anywhere. While it's difficult for me to promise that your encrypted address will work forever, I have no plans for limiting the use of these addresses. ===== but there is nowhere a place (AFIK) explaining how to create such an address... From davidocoker at gmail.com Mon Jan 17 10:16:07 2011 From: davidocoker at gmail.com (David C.) Date: Mon, 17 Jan 2011 09:16:07 -0600 Subject: Steve Jobs - medical leave Message-ID: Ran across an article of interest and thought I would share it: http://tinyurl.com/679sn5z Best regards, David C. From richmondmathewson at gmail.com Mon Jan 17 10:47:56 2011 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 17 Jan 2011 17:47:56 +0200 Subject: Steve Jobs - medical leave In-Reply-To: References: Message-ID: <4D3464AC.2010904@gmail.com> On 01/17/2011 05:16 PM, David C. wrote: > Ran across an article of interest and thought I would share it: > http://tinyurl.com/679sn5z Well, quite honestly, he does not look "a picture of rude health" in the photograph. The words "ill" and "anorexic" and the phrase "eaten up with overwheening ambition" spring to mind. One would also suppose that having a liver transplanted from elsewhere he has to munch his way through all sorts of anti-rejection drugs every day, which cannot exactly be good for one. A vegan diet is not, perhaps, the best way to build up one's strengh either; a vegetarian one is probably a better bet as the animal proteins present in milk-products would be a great help. > Best regards, > David C. > From psahores at free.fr Mon Jan 17 10:49:04 2011 From: psahores at free.fr (Pierre Sahores) Date: Mon, 17 Jan 2011 16:49:04 +0100 Subject: ssh on-rev.com In-Reply-To: References: <17F5C027-1AF0-41C8-ABE0-8710C55E854C@mac.com> Message-ID: <6E755B5F-72C3-47DC-B785-07F294F08A14@free.fr> Andre and Folks, I used the same way but, frankly, it was no far from unusable... On the other hand, i prefer to see the mothership use this policy to avoid possible sad holes in the on-rev servers security. But, i would really like to see the same mothership close all our unsecure FTP accesses and replace them by a FTP-SSL + password + PKEY or SFTP + password + PKEY accounts access policy. In between, to control the integrity of my on-rev account files on a daily basis and along other irev+MD5 dir scan scripts, i make a backup each night and scan then it from my dev box at home, in using ClamXav to be sure of the full integrity of my files. (As tested against real corrupted data set i own and use to choose and update antivirus tools, ClamXav is realy an usefull way to go on both the windows and os x platforms...) All the best, Pierre Le 17 janv. 2011 ? 13:27, Andre Garzia a ?crit : > Folks, > > SSH is enabled only after request and the bad side is, they allow it only > from fixed ip. So if you don't have a fixed ip, then you're lost. what I do > is ssh to my vps server on jaguarpc which has a static ip then ssh from > there to on-rev... lots of hops. -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From mpetrides at earthlink.net Mon Jan 17 10:57:14 2011 From: mpetrides at earthlink.net (Petrides, M.D. Marian) Date: Mon, 17 Jan 2011 09:57:14 -0600 Subject: [OT] Re: Steve Jobs - medical leave In-Reply-To: <4D3464AC.2010904@gmail.com> References: <4D3464AC.2010904@gmail.com> Message-ID: <288B90A9-968D-4E02-969D-0E82B3CF7CCC@earthlink.net> This can't be good for Steve (and probably not for AAPL either). :-(((( As eager as I am for further news, the man IS entitled to his privacy and I suspect we all should back off on the speculation. My 2 cents worth. On Jan 17, 2011, at 9:47 AM, Richmond wrote: > On 01/17/2011 05:16 PM, David C. wrote: >> Ran across an article of interest and thought I would share it: >> http://tinyurl.com/679sn5z > > Well, quite honestly, he does not look "a picture of rude health" > in the photograph. > > The words "ill" and "anorexic" and the phrase "eaten up with overwheening ambition" > spring to mind. > > One would also suppose that having a liver transplanted from elsewhere he > has to munch his way through all sorts of anti-rejection drugs every day, > which cannot exactly be good for one. > > A vegan diet is not, perhaps, the best way to build up one's strengh either; > a vegetarian one is probably a better bet as the animal proteins present in milk-products > would be a great help. > >> 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 andre at andregarzia.com Mon Jan 17 11:02:40 2011 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 17 Jan 2011 14:02:40 -0200 Subject: ssh on-rev.com In-Reply-To: <6E755B5F-72C3-47DC-B785-07F294F08A14@free.fr> References: <17F5C027-1AF0-41C8-ABE0-8710C55E854C@mac.com> <6E755B5F-72C3-47DC-B785-07F294F08A14@free.fr> Message-ID: On Mon, Jan 17, 2011 at 1:49 PM, Pierre Sahores wrote: > But, i would really like to see the same mothership close all our unsecure > FTP accesses and replace them by a FTP-SSL + password + PKEY or SFTP + > password + PKEY accounts access policy. they should not do that until livecode liburl has support for that kind of stuffl... it would be horrible pr to have a server which your own product can't connect... -- http://www.andregarzia.com All We Do Is Code. From m.schonewille at economy-x-talk.com Mon Jan 17 11:14:02 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 17 Jan 2011 17:14:02 +0100 Subject: Steve Jobs - medical leave In-Reply-To: <4D3464AC.2010904@gmail.com> References: <4D3464AC.2010904@gmail.com> Message-ID: Richmond, you're only one step away from "cheese" :-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 17 jan 2011, at 16:47, Richmond wrote: > > > A vegan diet is not, perhaps, the best way to build up one's strengh either; > a vegetarian one is probably a better bet as the animal proteins present in milk-products > would be a great help. From lists at mangomultimedia.com Mon Jan 17 12:12:16 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 17 Jan 2011 12:12:16 -0500 Subject: datagrid (loc of elements) In-Reply-To: <0B79DDCE-AD1B-4FB8-A2BC-14F5A13F35DA@etcpp.de> References: <4D323AC8.4010606@eml.cc> <4D323E9C.8010005@eml.cc> <58F6C924-E503-48F4-9BC8-1C694FBE3193@gmail.com> <4D32473A.6000403@eml.cc> <0B79DDCE-AD1B-4FB8-A2BC-14F5A13F35DA@etcpp.de> Message-ID: On Sat, Jan 15, 2011 at 9:49 PM, Harald M?ller wrote: > I try to show an card element at the loc of the selected line of a datagrid > form. > Is there a way to get the loc of datagrid element or will I have to put it > inside > the datagrid and toggle the visible when a line is hilted? > Since you are using a form you can take a look at the dgDataControlOfLine property. put the dgDataControlOfLine[ the dgHilitedLine of group "DataGrid" ] of group "DataGrid" into theControl if theControl is not empty then put the loc of theControl into theLoc .... end if Take a look at the entry in the API docs: http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7344-Data-Grid-API -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com LiveCode Resources for Developers: http://livecode.bluemangolearning.com From bobs at twft.com Mon Jan 17 12:21:10 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 17 Jan 2011 09:21:10 -0800 Subject: Sqlite connection problem In-Reply-To: <55EDAAB5-8B3C-4785-A535-F770E0CE00AF@major.on-rev.com> References: <092DD45A-ED2A-4182-BAB7-20AB1A7ED483@system-ini.it> <55EDAAB5-8B3C-4785-A535-F770E0CE00AF@major.on-rev.com> Message-ID: <2575A251-3A78-4126-A0BE-A7EC2241456A@twft.com> I think you only need read permissions to open it. Bob On Jan 15, 2011, at 3:10 AM, Klaus on-rev wrote: > Buongiorno Alessandro, > >> I have serius connection problem with my database sqlite. >> >> my code is this: >> >> on mouseUp >> put tAppPath() & "GestPres.db" into tDB >> put revOpenDatabase("sqlite",tDB,,,,,) into mydb >> revCloseDatabase mydb >> end mouseUp >> >> function tAppPath >> put effective filename of this stack into tFilename >> set itemdel to "/" >> if the platform = "MacOS" AND the environment <> "development" then >> ##!! >> delete item -4 to -1 of tFileName >> ## MacApp.app/Contents/MacOS/Standalonestack >> else >> delete item 1 of tFileName >> end if >> return tFilename & "/" >> end tAppPath >> >> this is the error: >> Database error:Unable to open the database file >> I have created the db with Sqlite Manger . I open the db with the Sqlite Manager. > > Does the current user of your standalone have ADMIN rights? > Only users with ADMIN privileges are allowed to WRITE in the application folder! > >> thanks >> >> >> Cordiali Saluti >> Alessandro Pisoni > > 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 Mon Jan 17 12:31:51 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 17 Jan 2011 09:31:51 -0800 Subject: No Check Box in the Dictionary?? In-Reply-To: <4D31B455.4000200@fourthworld.com> References: <4D31B455.4000200@fourthworld.com> Message-ID: <2B29B61E-0C31-4DDE-AD35-B4E782177F8C@twft.com> Hi Richard. Hey that's nice! What would also be cool is if it had a hot-type search feature that would filter the view so that you could zero in on the property you wanted for any object you click on. Also, is there a way to DL this so I can have it in my arsenal, or do I have to use GoRevNet every time? Bob On Jan 15, 2011, at 6:51 AM, Richard Gaskin wrote: > Got you covered there: > > 4W Props is a simple property sheet tool for LiveCode, available through the Stacks section in RevNet - in the IDE see: > > Development->Plugins->GoRevNet > > HTH - > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From bobs at twft.com Mon Jan 17 12:36:17 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 17 Jan 2011 09:36:17 -0800 Subject: No Check Box in the Dictionary?? In-Reply-To: <627F1DEB-7844-4071-B07D-47568288D84A@mollysrevenge.com> References: <4D31B455.4000200@fourthworld.com> <627F1DEB-7844-4071-B07D-47568288D84A@mollysrevenge.com> Message-ID: <3C531945-437E-477C-9922-11030B5D18C9@twft.com> I had suggested that the application builder include a Splash Stack method that inserted a default splash stack, but allowed you to substitute your own in the process of building the app. The Splash Stack would become the default main stack for the projects and would be modified to call the actual mainstack before compilation. It was not received with much enthusiasm, but perhaps this would be the optimum solution. It could be an option you could turn off if you wanted but enabled by default. Bob On Jan 15, 2011, at 9:44 AM, Peter Haworth wrote: > > This thread reminds me so much of going through all the same questions when I first started using LC. Seems like a document that listed all these little idiosyncracies of LC, specifically targeted at newbies, would be extremely useful. Maybe one already exists somewhere? > > One thing I'd add to Calvin's list of gotchas is to realise that you cannot permanently store data in a stack in a standalone program. Lots of recommended workarounds of course but this is something you don't typically find out about until well down the development path (at least I didn't) because it's not a problem when working in the IDE, and it can mean fairly major changes to your application. > > Pete Haworth From bobs at twft.com Mon Jan 17 12:39:15 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 17 Jan 2011 09:39:15 -0800 Subject: Dictionary Random Picks - now on RevOnline In-Reply-To: References: Message-ID: <680C32BB-D803-4E27-BDD8-6FF7B96D9ADC@twft.com> Don't forget FrustRate, the frequency with which newbies will become frustrated before they enable the iGetIt property. Bob On Jan 14, 2011, at 6:37 PM, Scott Rossi wrote: > Recently, Mark Wieder wrote: > >> Friday, January 14, 2011, 10:40:33 AM, you wrote: >> >>> Recently, Jacque Landman Gay wrote: >> >>>> I finally got around to taking a look. Nice job. In fact, I accidentally >>>> discovered "synchrate"** which I never knew existed. :) >> >>> And blinkRate! My blinkRate increased after reading about the synchRate. >> >> I thought you were kidding about this, so I looked it up. And the >> blinkrate should be a multiple of the idleRate. I didn't realize you >> could change that either. > > Along with the moveRate, how many "rates" are there? > > There should be a berRate -- how often the engine gets mad at you when you > do something wrong. > > Wondering now if there's a rateRate hidden in there... > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Jan 17 12:47:37 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 17 Jan 2011 09:47:37 -0800 Subject: Setting visibility on start up In-Reply-To: <4D3233E3.9070806@eml.cc> References: <4D3233E3.9070806@eml.cc> Message-ID: Check preOpenStack. I think in this handler you should be setting up all your environment stuff. Remember to pass it though when you are done. Bob On Jan 15, 2011, at 3:55 PM, Calvin Waterbury wrote: > Hi, > > I need some guidance of the LC parlance when making objects visible/invisible on start up. I've tried some experiments, but nothing works. > > FYI - for anyone that is interested, I *really* learned a lot from Mark's > presentation/chat (I couldn't get good video consistently on David's). A number of things congealed in my mind. I'm still scraping around on some of the syntax "particulars," but what I am coding is working great for pseudocode until I figure out the real syntax. :) > > Standing by... > Calvin > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 17 12:49:21 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 17 Jan 2011 09:49:21 -0800 Subject: No Check Box in the Dictionary?? Message-ID: <4D348121.4090204@fourthworld.com> Bob Sneidar wrote: > On Jan 15, 2011, at 6:51 AM, Richard Gaskin wrote: > >> Got you covered there: >> >> 4W Props is a simple property sheet tool for LiveCode, available >> through the Stacks section in RevNet - in the IDE see: >> >> Development->Plugins->GoRevNet > > > Hi Richard. > > Hey that's nice! What would also be cool is if it had a hot-type > search feature that would filter the view so that you could zero > in on the property you wanted for any object you click on. It currently supports a limited sort of hot-typing in as much as it'll scroll down to the nearest match. I have a version in the works that groups related properties, which will make it much more effective for discovering things. That version is combined with a new object browser, so it'll be a much more complete tool but the downside is that it'll take more time to complete. > Also, is there a way to DL this so I can have it in my arsenal, > or do I have to use GoRevNet every time? Just save it and put it in your plugins folder or wherever else you like. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From bobs at twft.com Mon Jan 17 12:52:06 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 17 Jan 2011 09:52:06 -0800 Subject: Import Snapshot Broken in 4.5.3? In-Reply-To: <2AD314BF-D6E9-4C17-BCA9-D47EF07D13DE@gmail.com> References: <2AD314BF-D6E9-4C17-BCA9-D47EF07D13DE@gmail.com> Message-ID: <90A3F1FA-1533-4325-9344-58AFA9A526AC@twft.com> Peter, That's actually one of the weird side effects of Jacque's Time Travel stack. The first time she launched it, we all started experiencing this anomaly. We also noticed that the socks we put into the dryer were not always the socks we took back out. Bob On Jan 16, 2011, at 8:16 AM, Peter Brigham MD wrote: > Thanks. As usual, I discovered this for myself in the dictionary about 4 minutes after I hit the "send" button. Another way that this list is useful for learning -- all I need to do is post a question and then I find that I already have the answer! Apparently I inadvertently installed an LC-uselist external in my brain. Did you create that utility too, Scott? > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig From bobs at twft.com Mon Jan 17 13:13:48 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 17 Jan 2011 10:13:48 -0800 Subject: Steve Jobs - medical leave In-Reply-To: References: <4D3464AC.2010904@gmail.com> Message-ID: As in, "The very liberal Steve Jobs religiously avoids cheese?" Sorry, I cannot help myself. I hope the best for Steve as he strikes me as a man who really enjoys his job. He has given us a lot of very enjoyable technology. I chat with my sisters in Florida via their new iPads almost every day. I never take my laptop anywhere anymore because I don't need to. In fact, I got into IT because Apple Macintosh's were my hobby, and after a serious run in with a prior supervisor, the head guy had the sense to realize it was a war of wills, and told me to go over to the Radio Ministry and see what I could do with those Macintoshes they had. I did and have been well employed ever since. Bob On Jan 17, 2011, at 8:14 AM, Mark Schonewille wrote: > Richmond, you're only one step away from "cheese" :-) > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce > > On 17 jan 2011, at 16:47, Richmond wrote: >> >> >> A vegan diet is not, perhaps, the best way to build up one's strengh either; >> a vegetarian one is probably a better bet as the animal proteins present in milk-products >> would be a great help. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 17 13:16:18 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 17 Jan 2011 10:16:18 -0800 Subject: No Check Box in the Dictionary?? In-Reply-To: <4D348121.4090204@fourthworld.com> References: <4D348121.4090204@fourthworld.com> Message-ID: <6993B5BE-9209-4C92-84E7-3E1C1B9265A3@twft.com> My Save As was grayed out. I will try again. Bob On Jan 17, 2011, at 9:49 AM, Richard Gaskin wrote: > > Also, is there a way to DL this so I can have it in my arsenal, > > or do I have to use GoRevNet every time? > > Just save it and put it in your plugins folder or wherever else you like. From richmondmathewson at gmail.com Mon Jan 17 13:46:21 2011 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 17 Jan 2011 20:46:21 +0200 Subject: [OT] Re: Steve Jobs - medical leave In-Reply-To: <288B90A9-968D-4E02-969D-0E82B3CF7CCC@earthlink.net> References: <4D3464AC.2010904@gmail.com> <288B90A9-968D-4E02-969D-0E82B3CF7CCC@earthlink.net> Message-ID: <4D348E7D.7020409@gmail.com> On 01/17/2011 05:57 PM, Petrides, M.D. Marian wrote: > This can't be good for Steve (and probably not for AAPL either). :-(((( As eager as I am for further news, the man IS entitled to his privacy and I suspect we all should back off on the speculation. My 2 cents worth. > As the man courts publicity I don't really see much wrong with the speculation. > On Jan 17, 2011, at 9:47 AM, Richmond wrote: > >> On 01/17/2011 05:16 PM, David C. wrote: >>> Ran across an article of interest and thought I would share it: >>> http://tinyurl.com/679sn5z >> Well, quite honestly, he does not look "a picture of rude health" >> in the photograph. >> >> The words "ill" and "anorexic" and the phrase "eaten up with overwheening ambition" >> spring to mind. >> >> One would also suppose that having a liver transplanted from elsewhere he >> has to munch his way through all sorts of anti-rejection drugs every day, >> which cannot exactly be good for one. >> >> A vegan diet is not, perhaps, the best way to build up one's strengh either; >> a vegetarian one is probably a better bet as the animal proteins present in milk-products >> would be a great help. >> >> From richmondmathewson at gmail.com Mon Jan 17 13:47:45 2011 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 17 Jan 2011 20:47:45 +0200 Subject: Steve Jobs - medical leave In-Reply-To: References: <4D3464AC.2010904@gmail.com> Message-ID: <4D348ED1.2040608@gmail.com> On 01/17/2011 06:14 PM, Mark Schonewille wrote: > Richmond, you're only one step away from "cheese" :-) Entre nous, J'aime un bon gout de fromage . . . :) > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce > > On 17 jan 2011, at 16:47, Richmond wrote: >> >> A vegan diet is not, perhaps, the best way to build up one's strengh either; >> a vegetarian one is probably a better bet as the animal proteins present in milk-products >> would be a great help. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 17 13:51:34 2011 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 17 Jan 2011 20:51:34 +0200 Subject: Steve Jobs - medical leave In-Reply-To: References: <4D3464AC.2010904@gmail.com> Message-ID: <4D348FB6.7000008@gmail.com> On 01/17/2011 08:13 PM, Bob Sneidar wrote: > As in, "The very liberal Steve Jobs religiously avoids cheese?" Sorry, I cannot help myself. Personally I am aiming some "cheesey grins' at Steve Jobs as my software development is dependent on his products; we all know he is a "dictatorial old so-and-so"; but, as I get older I find the same happening to me in my own small sphere of influence surrounded by less determined types. I do hope the chap pulls through and is with us for many long years to come. > I hope the best for Steve as he strikes me as a man who really enjoys his job. He has given us a lot of very enjoyable technology. I chat with my sisters in Florida via their new iPads almost every day. I never take my laptop anywhere anymore because I don't need to. > > In fact, I got into IT because Apple Macintosh's were my hobby, and after a serious run in with a prior supervisor, the head guy had the sense to realize it was a war of wills, and told me to go over to the Radio Ministry and see what I could do with those Macintoshes they had. I did and have been well employed ever since. > > Bob > > > On Jan 17, 2011, at 8:14 AM, Mark Schonewille wrote: > >> Richmond, you're only one step away from "cheese" :-) >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce >> >> On 17 jan 2011, at 16:47, Richmond wrote: >>> >>> A vegan diet is not, perhaps, the best way to build up one's strengh either; >>> a vegetarian one is probably a better bet as the animal proteins present in milk-products >>> would be a great help. >> >> __ From mkoob at rogers.com Mon Jan 17 13:53:55 2011 From: mkoob at rogers.com (Martin Koob) Date: Mon, 17 Jan 2011 10:53:55 -0800 (PST) Subject: secure FTP to on-rev server best practice Message-ID: <1295290435278-3221244.post@n4.nabble.com> I have been trying to use SFTP to connect to the on-rev.com server when I am uploading and managing files for a site hosted on on-rev. I have not been able to connect via SFTP. I have tried with Interarchy and Cyberduck. I get a connection refused message. With Cyberduck I can connect with FTP-SSL (Explicit AUTH TLS) -this shows a lock icon in the GUI With Interarchy I can set FTP uses SSL (AUTH TLS) : required in the security preferences -there is no visible indication in the GUI that there is a secure connection Is FTP using SSL equivalent to using SFTP? Is there something I need to set in cPanel to make a SFTP connection, ie. set up or configure and account for SFTP connections. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/secure-FTP-to-on-rev-server-best-practice-tp3221244p3221244.html Sent from the Revolution - User mailing list archive at Nabble.com. From lfredricks at proactive-intl.com Mon Jan 17 13:54:16 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 17 Jan 2011 10:54:16 -0800 Subject: Steve Jobs - medical leave In-Reply-To: References: <4D3464AC.2010904@gmail.com> Message-ID: > As in, "The very liberal Steve Jobs religiously avoids > cheese?" Sorry, I cannot help myself. Anyone who could launch products patterned like this cannot be completely allergic to cheese ;-) http://www.apple.com/pr/photos/imac2001/imac_tokyo.html His appearance really hasn't improved all that much since his transplant, so this shouldn't completely surprise anyone. This does though give Apple a chance to get a taste of life without Steve. The company does have to be able to live without the cult of personality. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From richmondmathewson at gmail.com Mon Jan 17 14:02:58 2011 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 17 Jan 2011 21:02:58 +0200 Subject: Steve Jobs - medical leave In-Reply-To: References: <4D3464AC.2010904@gmail.com> Message-ID: <4D349262.7010908@gmail.com> On 01/17/2011 08:54 PM, Lynn Fredricks wrote: > Anyone who could launch products patterned like this cannot be completely > allergic to cheese ;-) > > http://www.apple.com/pr/photos/imac2001/imac_tokyo.html > I had forgotten . . . :( The greatest disappointment is that the faithful G3 iMac that chugs away in my school is not a 'spotty horror' or a 'flower power' number but a plain old smokey-gray one. The kids have made up for things by plastering the whole of the exterior of the iMac with 3D Sunflower stickers! Cheese or not; I do hope that Steve Jobs has a spot of sunflowers rather than a dose of the "smokey grays". From pete at mollysrevenge.com Mon Jan 17 14:22:57 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Mon, 17 Jan 2011 11:22:57 -0800 Subject: Copying Objects from one card to another In-Reply-To: <61879.cdbeb04.3a659f6d@aol.com> References: <61879.cdbeb04.3a659f6d@aol.com> Message-ID: <2F5CB3AB-B721-45EB-94D8-2B8DC05D517D@mollysrevenge.com> I remember it working in the past as well but it's not now. I'm on LC 4.5.2 and Snow Leopard. I just tried it with Rev 4.0 and it didn't work there either. Puzzling. Not a huge deal to copy the controls individually and position them manually but I wish I knew why it's not working. Pete Haworth On Jan 17, 2011, at 5:34 AM, DunbarX at aol.com wrote: > If I try this, it works fine. All pasted objects sit where they were in the > source card. > > LC 4.5.3 > > Mac OSX 10.4.11 > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 17 14:28:24 2011 From: DunbarX at aol.com (DunbarX at aol.com) Date: Mon, 17 Jan 2011 14:28:24 EST Subject: Copying Objects from one card to another Message-ID: <79f8c.df3f32b.3a65f258@aol.com> Odd. Per Jacques, this is easily scriptable, but I tried it with a mixture of paint, graphics, buttons, fields, etc. And all just pop into their original places. Craig Newman From pepetoo at cox.net Mon Jan 17 14:43:50 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Mon, 17 Jan 2011 11:43:50 -0800 Subject: Copying Objects from one card to another In-Reply-To: <2F5CB3AB-B721-45EB-94D8-2B8DC05D517D@mollysrevenge.com> References: <61879.cdbeb04.3a659f6d@aol.com> <2F5CB3AB-B721-45EB-94D8-2B8DC05D517D@mollysrevenge.com> Message-ID: <5DC395B3-CAD2-4F6A-A213-11966F4A797A@cox.net> Peter, I suspect it's something you've done recently. I have the same setup and it has been working for me in copying from one stack to another for sometime, though I've not tried it in the past week or so; just not at a place where I care try it now. You might want to try a restart; maybe even a re-boot. I've had an occasional problem that has been fixed doing that. Joe Lewis Wilkins Architect & Director of Product Development for GSI On Jan 17, 2011, at 11:22 AM, Peter Haworth wrote: > I remember it working in the past as well but it's not now. I'm on LC 4.5.2 and Snow Leopard. > > I just tried it with Rev 4.0 and it didn't work there either. Puzzling. Not a huge deal to copy the controls individually and position them manually but I wish I knew why it's not working. > > Pete Haworth > > On Jan 17, 2011, at 5:34 AM, DunbarX at aol.com wrote: > >> If I try this, it works fine. All pasted objects sit where they were in the >> source card. >> >> LC 4.5.3 >> >> Mac OSX 10.4.11 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From anthonyhowe at me.com Mon Jan 17 14:47:08 2011 From: anthonyhowe at me.com (Anthony Howe) Date: Tue, 18 Jan 2011 06:47:08 +1100 Subject: umask In-Reply-To: References: <4C55947E-F24B-4FA4-9EF6-BA3BFFC9DF38@mac.com> Message-ID: <40035FF4-93BC-4A63-87DF-81BCF4D3DC2D@me.com> Yea, just discovered that one last night. A welcome, undocumented feature this time! On 18/01/2011, at 1:29 AM, Bj?rnke von Gierke wrote: > > On 17 Jan 2011, at 15:19, Thierry wrote: > >> So, looking quickly in LC dict, I found this : >> >> On Mac OS and Windows systems, the umask property has no effect and always reports zero. >> >> Even quicker than trying it in the terminal ! > > I don't trust the dictionary in these things, Because it's often inaccurate. For example the entry about the selectionChanged message claims that it's not triggered by arrow keys, but it is. Yea, just discovered that one last night. A welcome, undocumented feature this time! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Mon Jan 17 14:49:35 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Mon, 17 Jan 2011 11:49:35 -0800 Subject: Radio Buttons Message-ID: How can a user clear the highlight of a radio button? Clicking on it when it's not set highlights it but clicking it when it's highlighted has no effect. Pete Haworth From andre at andregarzia.com Mon Jan 17 14:48:50 2011 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 17 Jan 2011 17:48:50 -0200 Subject: secure FTP to on-rev server best practice In-Reply-To: <1295290435278-3221244.post@n4.nabble.com> References: <1295290435278-3221244.post@n4.nabble.com> Message-ID: Martin, you can't use SFTP or FTP-SSL with on-rev. andre On Mon, Jan 17, 2011 at 4:53 PM, Martin Koob wrote: > > I have been trying to use SFTP to connect to the on-rev.com server when I > am > uploading and managing files for a site hosted on on-rev. I have not been > able to connect via SFTP. I have tried with Interarchy and Cyberduck. I > get a connection refused message. > > With Cyberduck I can connect with FTP-SSL (Explicit AUTH TLS) > -this shows a lock icon in the GUI > With Interarchy I can set FTP uses SSL (AUTH TLS) : required in the > security > preferences > -there is no visible indication in the GUI that there is a secure > connection > > Is FTP using SSL equivalent to using SFTP? > Is there something I need to set in cPanel to make a SFTP connection, ie. > set up or configure and account for SFTP connections. > > Martin > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/secure-FTP-to-on-rev-server-best-practice-tp3221244p3221244.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 > -- http://www.andregarzia.com All We Do Is Code. From DunbarX at aol.com Mon Jan 17 14:54:13 2011 From: DunbarX at aol.com (DunbarX at aol.com) Date: Mon, 17 Jan 2011 14:54:13 EST Subject: Radio Buttons Message-ID: <7c915.6e4f6c22.3a65f865@aol.com> Try this: on mouseUp set the hilite of me to not the hilite of me end mouseUp From coiin at verizon.net Mon Jan 17 14:58:42 2011 From: coiin at verizon.net (Colin Holgate) Date: Mon, 17 Jan 2011 14:58:42 -0500 Subject: Radio Buttons In-Reply-To: References: Message-ID: On Jan 17, 2011, at 2:49 PM, Peter Haworth wrote: > >How can a user clear the highlight of a radio button? Clicking on it when it's not set highlights it but clicking it when it's highlighted has no effect. If it could do that, it would be a checkbox. You could set the autohilite of a single radio button to be false, and then have a script like this: on mouseUp set the hilite of me to not the hilite of me end mouseUp From jacque at hyperactivesw.com Mon Jan 17 15:00:55 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 17 Jan 2011 14:00:55 -0600 Subject: Copying Objects from one card to another In-Reply-To: <79f8c.df3f32b.3a65f258@aol.com> References: <79f8c.df3f32b.3a65f258@aol.com> Message-ID: <4D349FF7.6040105@hyperactivesw.com> On 1/17/11 1:28 PM, DunbarX at aol.com wrote: > Odd. > > Per Jacques, this is easily scriptable, but I tried it with a mixture of > paint, graphics, buttons, fields, etc. And all just pop into their original > places. Manually they do. But I think Peter was scripting copy/paste commands. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Jan 17 15:03:27 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 17 Jan 2011 14:03:27 -0600 Subject: Radio Buttons In-Reply-To: References: Message-ID: <4D34A08F.70804@hyperactivesw.com> On 1/17/11 1:49 PM, Peter Haworth wrote: > How can a user clear the highlight of a radio button? Clicking on > it when it's not set highlights it but clicking it when it's > highlighted has no effect. This is typically checkbox behavior. Radio buttons should only be used in groups, where clicking one deselects all others. For on-off toggle behavior, use a checkbox. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Mon Jan 17 15:03:44 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 17 Jan 2011 12:03:44 -0800 Subject: Radio Buttons In-Reply-To: References: Message-ID: <7D6A2158-2C33-4ED3-96CD-E9BE62703264@twft.com> I agree Colin. Users expect a radio button to be exactly one and only one of 2 or more choices. Checkboxes are expected to be none to any of one or more choices. Bob On Jan 17, 2011, at 11:58 AM, Colin Holgate wrote: > > On Jan 17, 2011, at 2:49 PM, Peter Haworth wrote: > >>> How can a user clear the highlight of a radio button? Clicking on it when it's not set highlights it but clicking it when it's highlighted has no effect. > > > If it could do that, it would be a checkbox. You could set the autohilite of a single radio button to be false, and then have a script like this: > > on mouseUp > set the hilite of me to not the hilite of me > end mouseUp > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 17 15:12:54 2011 From: coiin at verizon.net (Colin Holgate) Date: Mon, 17 Jan 2011 15:12:54 -0500 Subject: Radio Buttons In-Reply-To: <7D6A2158-2C33-4ED3-96CD-E9BE62703264@twft.com> References: <7D6A2158-2C33-4ED3-96CD-E9BE62703264@twft.com> Message-ID: On Jan 17, 2011, at 3:03 PM, Bob Sneidar wrote: > I agree Colin. Users expect a radio button to be exactly one and only one of 2 or more choices. Checkboxes are expected to be none to any of one or more choices. It is an interesting interface issue though, and there can be cases where you have to only make one choice, if you're interested to do so, but if you accidentally do that there isn't a way to select nothing again. Some dialogs solve that by having a Clear button, though that seems wrong somehow. In Adobe products they have a not bad solution to the issue. Next to some drop down menus are checkboxes. If you make a selection from the menu, the checkbox next to it gets checked. There are several of these within the same dialog, and so you can easily specify a lot of things at once, and if you have made an incorrect selection, you can uncheck the box next to that menu. From jacque at hyperactivesw.com Mon Jan 17 15:14:36 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 17 Jan 2011 14:14:36 -0600 Subject: usb driver problem In-Reply-To: <589AD6FD-E045-4D27-9950-F244B0794690@mac.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D33DC81.3040805@hyperactivesw.com> <589AD6FD-E045-4D27-9950-F244B0794690@mac.com> Message-ID: <4D34A32C.3030702@hyperactivesw.com> On 1/17/11 8:15 AM, Thomas McGrath III wrote: > I will try this today when I get back home. > > should it be open file "modem:tty.usbmodem1a21" > It's been ages since I tried it so I'm fuzzy about the details, but since you can only (usually) have one modem at a time, I don't think you need a path at all. Just use: open file "modem:" That opens the modem port for read/write. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at mollysrevenge.com Mon Jan 17 15:15:59 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Mon, 17 Jan 2011 12:15:59 -0800 Subject: Copying Objects from one card to another In-Reply-To: <4D349FF7.6040105@hyperactivesw.com> References: <79f8c.df3f32b.3a65f258@aol.com> <4D349FF7.6040105@hyperactivesw.com> Message-ID: <9F892AAC-5C4E-45A8-AD68-A1F001D160F0@mollysrevenge.com> No, I'm using the copy/paste edit commands from the Edit menu. Something strange going on... Pete Haworth -------------- next part -------------- http://www.mollysrevenge.com http://www.sonicbids.com/MollysRevenge http://www.myspace.com/mollysrevengeband On Jan 17, 2011, at 12:00 PM, J. Landman Gay wrote: > On 1/17/11 1:28 PM, DunbarX at aol.com wrote: >> Odd. >> >> Per Jacques, this is easily scriptable, but I tried it with a mixture of >> paint, graphics, buttons, fields, etc. And all just pop into their original >> places. > > Manually they do. But I think Peter was scripting copy/paste commands. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at mollysrevenge.com Mon Jan 17 15:23:07 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Mon, 17 Jan 2011 12:23:07 -0800 Subject: Radio Buttons In-Reply-To: References: Message-ID: You're right! Just looked at the Apple User Interface guidelines and radio buttons are indeed supposed to be used in sets with only one checked within the set. Pete Haworth On Jan 17, 2011, at 11:58 AM, Colin Holgate wrote: > > On Jan 17, 2011, at 2:49 PM, Peter Haworth wrote: > >>> How can a user clear the highlight of a radio button? Clicking on it when it's not set highlights it but clicking it when it's highlighted has no effect. > > > If it could do that, it would be a checkbox. You could set the autohilite of a single radio button to be false, and then have a script like this: > > on mouseUp > set the hilite of me to not the hilite of me > end mouseUp > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 17 15:24:56 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 17 Jan 2011 12:24:56 -0800 Subject: Radio Buttons In-Reply-To: References: <7D6A2158-2C33-4ED3-96CD-E9BE62703264@twft.com> Message-ID: I think in this case, you would have a checkbox that enabled the feature the radio button was for. Disabling the checkbox would gray out the Radio button so that the user has the visual clue that the choice is disabled. Bob On Jan 17, 2011, at 12:12 PM, Colin Holgate wrote: > > On Jan 17, 2011, at 3:03 PM, Bob Sneidar wrote: > >> I agree Colin. Users expect a radio button to be exactly one and only one of 2 or more choices. Checkboxes are expected to be none to any of one or more choices. > > It is an interesting interface issue though, and there can be cases where you have to only make one choice, if you're interested to do so, but if you accidentally do that there isn't a way to select nothing again. Some dialogs solve that by having a Clear button, though that seems wrong somehow. > > In Adobe products they have a not bad solution to the issue. Next to some drop down menus are checkboxes. If you make a selection from the menu, the checkbox next to it gets checked. There are several of these within the same dialog, and so you can easily specify a lot of things at once, and if you have made an incorrect selection, you can uncheck the box next to that menu. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 17 15:25:41 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 17 Jan 2011 12:25:41 -0800 Subject: Radio Buttons Message-ID: <4D34A5C5.7060000@fourthworld.com> Colin Holgate wrote: > On Jan 17, 2011, at 3:03 PM, Bob Sneidar wrote: > >> I agree Colin. Users expect a radio button to be exactly one and >> only one of 2 or more choices. Checkboxes are expected to be none >> to any of one or more choices. > > It is an interesting interface issue though, and there can be cases > where you have to only make one choice, if you're interested to do > so, but if you accidentally do that there isn't a way to select > nothing again. Some dialogs solve that by having a Clear button, > though that seems wrong somehow. > > In Adobe products they have a not bad solution to the issue. Next to > some drop down menus are checkboxes. If you make a selection from the > menu, the checkbox next to it gets checked. There are several of > these within the same dialog, and so you can easily specify a lot of > things at once, and if you have made an incorrect selection, you can > uncheck the box next to that menu. That can be a good solution. Or if you need to have the options visible as radio buttons, you could consider a third labeled "None". -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From bobs at twft.com Mon Jan 17 15:29:59 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 17 Jan 2011 12:29:59 -0800 Subject: usb driver problem In-Reply-To: <4D34A32C.3030702@hyperactivesw.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D33DC81.3040805@hyperactivesw.com> <589AD6FD-E045-4D27-9950-F244B0794690@mac.com> <4D34A32C.3030702@hyperactivesw.com> Message-ID: <8B27D88C-B957-48F0-99B2-5303CA6E9EA7@twft.com> How then would the Mac OS know which modem port you were opening? How would it know you were talking about the USB port? There are older Macbooks and Desktops that actually have a modem as well as USB ports. I read the dictionary, but didn't see anything on how to actually specify the USB port. Just curious. Bob On Jan 17, 2011, at 12:14 PM, J. Landman Gay wrote: > On 1/17/11 8:15 AM, Thomas McGrath III wrote: >> I will try this today when I get back home. >> >> should it be open file "modem:tty.usbmodem1a21" >> > > It's been ages since I tried it so I'm fuzzy about the details, but since you can only (usually) have one modem at a time, I don't think you need a path at all. Just use: > > open file "modem:" > > That opens the modem port for read/write. > > -- > 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 Mon Jan 17 15:30:12 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 17 Jan 2011 14:30:12 -0600 Subject: Copying Objects from one card to another In-Reply-To: <9F892AAC-5C4E-45A8-AD68-A1F001D160F0@mollysrevenge.com> References: <79f8c.df3f32b.3a65f258@aol.com> <4D349FF7.6040105@hyperactivesw.com> <9F892AAC-5C4E-45A8-AD68-A1F001D160F0@mollysrevenge.com> Message-ID: <4D34A6D4.2050105@hyperactivesw.com> On 1/17/11 2:15 PM, Peter Haworth wrote: > No, I'm using the copy/paste edit commands from the Edit menu. > Something strange going on... Now I'm confused...are you manually selecting objects, choosing "copy" and then "paste" from the edit menu? If so, objects should be pasted in their relative locations. The exception is if there isn't room, and any objects that would be off the card will be moved to the center. But other objects that do fit should be in their correct locations. If you mean you are scripting the process by selecting several objects and then using this: copy go cd x paste then try using the alternate syntax I mentioned. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Jan 17 15:31:47 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 17 Jan 2011 14:31:47 -0600 Subject: Import Snapshot Broken in 4.5.3? In-Reply-To: <90A3F1FA-1533-4325-9344-58AFA9A526AC@twft.com> References: <2AD314BF-D6E9-4C17-BCA9-D47EF07D13DE@gmail.com> <90A3F1FA-1533-4325-9344-58AFA9A526AC@twft.com> Message-ID: <4D34A733.5060404@hyperactivesw.com> On 1/17/11 11:52 AM, Bob Sneidar wrote: > Peter, > > That's actually one of the weird side effects of Jacque's Time Travel > stack. The first time she launched it, we all started experiencing > this anomaly. We also noticed that the socks we put into the dryer > were not always the socks we took back out. Kevin has your socks. And I believe I have his. And I don't know who has mine. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From keith.clarke at clarkeandclarke.co.uk Mon Jan 17 15:37:00 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Mon, 17 Jan 2011 20:37:00 +0000 Subject: Radio Buttons In-Reply-To: <4D34A5C5.7060000@fourthworld.com> References: <4D34A5C5.7060000@fourthworld.com> Message-ID: <144F6470-F1E8-4EEE-86A2-13FBCED18605@clarkeandclarke.co.uk> If you want to use a radio button group in a situation where the default, pre-selection state is required, you need a default button showing that 'select', 'default' or 'none' state - or alternatively use a picklist with a default value? On 17 Jan 2011, at 20:25, Richard Gaskin wrote: > Colin Holgate wrote: > > > On Jan 17, 2011, at 3:03 PM, Bob Sneidar wrote: > > > >> I agree Colin. Users expect a radio button to be exactly one and > >> only one of 2 or more choices. Checkboxes are expected to be none > >> to any of one or more choices. > > > > It is an interesting interface issue though, and there can be cases > > where you have to only make one choice, if you're interested to do > > so, but if you accidentally do that there isn't a way to select > > nothing again. Some dialogs solve that by having a Clear button, > > though that seems wrong somehow. > > > > In Adobe products they have a not bad solution to the issue. Next to > > some drop down menus are checkboxes. If you make a selection from the > > menu, the checkbox next to it gets checked. There are several of > > these within the same dialog, and so you can easily specify a lot of > > things at once, and if you have made an incorrect selection, you can > > uncheck the box next to that menu. > > That can be a good solution. Or if you need to have the options visible as radio buttons, you could consider a third labeled "None". > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mkoob at rogers.com Mon Jan 17 15:38:39 2011 From: mkoob at rogers.com (Martin Koob) Date: Mon, 17 Jan 2011 20:38:39 +0000 (UTC) Subject: secure FTP to on-rev server best practice References: <1295290435278-3221244.post@n4.nabble.com> Message-ID: Andre Garzia writes: > > Martin, > > you can't use SFTP or FTP-SSL with on-rev. > > andre > > On Mon, Jan 17, 2011 at 4:53 PM, Martin Koob wrote: > > > > > I have been trying to use SFTP to connect to the on-rev.com server when I > > am > > uploading and managing files for a site hosted on on-rev. I have not been > > able to connect via SFTP. I have tried with Interarchy and Cyberduck. I > > get a connection refused message. > > > > With Cyberduck I can connect with FTP-SSL (Explicit AUTH TLS) > > -this shows a lock icon in the GUI > > With Interarchy I can set FTP uses SSL (AUTH TLS) : required in the > > security > > preferences > > -there is no visible indication in the GUI that there is a secure > > connection > > Hi Andre With Cyberduck when I first tried to connect using FTP-SSL it would not connect because the certificate from odin.on-rev.com was not trusted. When I clicked 'Always trust "odin.on-rev.com' then the connection opened. When I look in the keychain I find the certificate for odin.on-rev.com and has SSL - always trust as the settings for the certificate and it is trusted for ftp for my on-rev site So it appears that at least FTP-SSL is working with on-rev using Cyberduck or am I missing something. Martin From davidocoker at gmail.com Mon Jan 17 15:41:19 2011 From: davidocoker at gmail.com (David C.) Date: Mon, 17 Jan 2011 14:41:19 -0600 Subject: Radio Buttons In-Reply-To: <144F6470-F1E8-4EEE-86A2-13FBCED18605@clarkeandclarke.co.uk> References: <4D34A5C5.7060000@fourthworld.com> <144F6470-F1E8-4EEE-86A2-13FBCED18605@clarkeandclarke.co.uk> Message-ID: Or.... If you were just going crazy wanting to use a single radio button, you can get -->pretty close<-- by positioning an empty label field over the label portion of the radio button, scripted with: on mouseUp set the hilite of btn "MySingleRadioButton" to false end mouseUp Clicking the button selects, clicking the label deselects. Best regards, David C. From jacque at hyperactivesw.com Mon Jan 17 15:43:08 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 17 Jan 2011 14:43:08 -0600 Subject: usb driver problem In-Reply-To: <8B27D88C-B957-48F0-99B2-5303CA6E9EA7@twft.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D33DC81.3040805@hyperactivesw.com> <589AD6FD-E045-4D27-9950-F244B0794690@mac.com> <4D34A32C.3030702@hyperactivesw.com> <8B27D88C-B957-48F0-99B2-5303CA6E9EA7@twft.com> Message-ID: <4D34A9DC.4060302@hyperactivesw.com> On 1/17/11 2:29 PM, Bob Sneidar wrote: > How then would the Mac OS know which modem port you were opening? There is only one "modem" serial port. The other is called the "printer" port. Technically both ports can accept any serial device, but in this case I assume the serial device is on the modem port. On Windows you get a bunch of serial ports, labeled "COM1" to "COM9". > How > would it know you were talking about the USB port? There are older > Macbooks and Desktops that actually have a modem as well as USB > ports. I read the dictionary, but didn't see anything on how to > actually specify the USB port. Just curious. LiveCode doesn't recognize USB ports at all, so it isn't an issue; you can't specify a USB port. The device in question is registering itself as a serial device on, I assume, the modem port. Generally when you select a modem in the OS you can also specify whether it is coming in on the modem or printer port; if Thomas selects printer port instead, then that's the port he should try to open. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at mollysrevenge.com Mon Jan 17 15:45:32 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Mon, 17 Jan 2011 12:45:32 -0800 Subject: Copying Objects from one card to another In-Reply-To: <4D34A6D4.2050105@hyperactivesw.com> References: <79f8c.df3f32b.3a65f258@aol.com> <4D349FF7.6040105@hyperactivesw.com> <9F892AAC-5C4E-45A8-AD68-A1F001D160F0@mollysrevenge.com> <4D34A6D4.2050105@hyperactivesw.com> Message-ID: <0AC44759-7821-4388-8495-2ABACAC92469@mollysrevenge.com> Yes, using copy/paste from the edit menu (or keyboard commands). You may be on to something re objects that would be outside the boundaries of the new card - I'll check that. Pete Haworth On Jan 17, 2011, at 12:30 PM, J. Landman Gay wrote: > On 1/17/11 2:15 PM, Peter Haworth wrote: >> No, I'm using the copy/paste edit commands from the Edit menu. >> Something strange going on... > > Now I'm confused...are you manually selecting objects, choosing "copy" and then "paste" from the edit menu? If so, objects should be pasted in their relative locations. The exception is if there isn't room, and any objects that would be off the card will be moved to the center. But other objects that do fit should be in their correct locations. > > If you mean you are scripting the process by selecting several objects and then using this: > > copy > go cd x > paste > > then try using the alternate syntax I mentioned. > > -- > 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 capellan2000 at gmail.com Mon Jan 17 15:47:51 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 17 Jan 2011 12:47:51 -0800 (PST) Subject: Using Shell to run a DOS program In-Reply-To: <75229CD1-A84B-49AA-BC60-E7A1AE0371E6@economy-x-talk.com> References: <75229CD1-A84B-49AA-BC60-E7A1AE0371E6@economy-x-talk.com> Message-ID: <1295297271924-3221259.post@n4.nabble.com> Hi Mark, Many thanks for testing this script! :-) Mark Schonewille wrote: > Are you sure that the file name should contain an additional space? > "file:C:\CRC32OUTPUT.txt " > You give very little information. Does crc32 do anything at all > when called from LiveCode? Errors? Files created? Anything? Nothing? No, this additional space is a typo in the message. Good catch! :-D CRC32.exe works on the command prompt but not inside LiveCode. It does not produce errors and do not create any file. It does not produce anything. Nothing at all I am testing this using Rev 2.8 and 4.0 using this DOS program: http://www34.brinkster.com/dizzyk/download/crc32.zip downloaded from this page: http://www34.brinkster.com/dizzyk/crc32.asp Now, my curiosity is awakened with your answer. How do you test a Dos program using Mac OS X? Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Using-Shell-to-run-a-DOS-program-tp3220717p3221259.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Mon Jan 17 15:49:48 2011 From: coiin at verizon.net (Colin Holgate) Date: Mon, 17 Jan 2011 15:49:48 -0500 Subject: Radio Buttons In-Reply-To: References: <4D34A5C5.7060000@fourthworld.com> <144F6470-F1E8-4EEE-86A2-13FBCED18605@clarkeandclarke.co.uk> Message-ID: <7312463D-DE2F-4A65-A482-CE4F97B674DB@verizon.net> On Jan 17, 2011, at 3:41 PM, David C. wrote: > Clicking the button selects, clicking the label deselects. Unfortunately, the convention is that clicking on the button or the label should highlight the button. From davidocoker at gmail.com Mon Jan 17 16:04:36 2011 From: davidocoker at gmail.com (David C.) Date: Mon, 17 Jan 2011 15:04:36 -0600 Subject: Using Shell to run a DOS program In-Reply-To: <1295297271924-3221259.post@n4.nabble.com> References: <75229CD1-A84B-49AA-BC60-E7A1AE0371E6@economy-x-talk.com> <1295297271924-3221259.post@n4.nabble.com> Message-ID: Alejandro, I just noticed that I pasted a non-working version in my earlier message. Try this one, which works on this end: on mouseUp -- must set the folder location to the same as crc32.exe set the defaultFolder to "C:\crc32\" put "crc32.exe" into tCommand put " readme.txt > c:\crc32\output.txt" into tArg put tCommand & tArg into tShellText set the hideconsolewindows to true get shell (tShellText) get URL "file:c:\crc32\output.txt" put it -- put in message box --put it into fld "Field1" -- put in field end mouseUp Sorry about that... Watch for line wrap on the commenting. Best regards, David C. From psahores at free.fr Mon Jan 17 16:24:52 2011 From: psahores at free.fr (Pierre Sahores) Date: Mon, 17 Jan 2011 22:24:52 +0100 Subject: ssh on-rev.com References: <32F0FEA8-927A-41DB-9D92-9644C217E2F9@free.fr> Message-ID: Hello Andre :D But they should indeed !!! Instead of making any .irev stuff rely on the non secure FTP protocol, i just hate because that, the libURL let us play in a very fine way with $_POST_RAW and it works perfectly well there as a replacement for any kind of FTP targeted code. Kind Regards, Pierre Le 17 janv. 2011 ? 17:02, Andre Garzia a ?crit : > On Mon, Jan 17, 2011 at 1:49 PM, Pierre Sahores wrote: > >> But, i would really like to see the same mothership close all our unsecure >> FTP accesses and replace them by a FTP-SSL + password + PKEY or SFTP + >> password + PKEY accounts access policy. > > > they should not do that until livecode liburl has support for that kind of > stuffl... it would be horrible pr to have a server which your own product > can't connect... > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From psahores at free.fr Mon Jan 17 16:49:50 2011 From: psahores at free.fr (Pierre Sahores) Date: Mon, 17 Jan 2011 22:49:50 +0100 Subject: secure FTP to on-rev server best practice In-Reply-To: References: <1295290435278-3221244.post@n4.nabble.com> Message-ID: <80C9C7A6-3BB6-4283-A9E6-8BEF695622EF@free.fr> Martin, Are you, from CyberDuck, able to see the files listing AND to upload/download files ? Best, Pierre Le 17 janv. 2011 ? 21:38, Martin Koob a ?crit : > Andre Garzia writes: > >> >> Martin, >> >> you can't use SFTP or FTP-SSL with on-rev. >> >> andre >> >> On Mon, Jan 17, 2011 at 4:53 PM, Martin Koob wrote: >> >>> >>> I have been trying to use SFTP to connect to the on-rev.com server when I >>> am >>> uploading and managing files for a site hosted on on-rev. I have not been >>> able to connect via SFTP. I have tried with Interarchy and Cyberduck. I >>> get a connection refused message. >>> >>> With Cyberduck I can connect with FTP-SSL (Explicit AUTH TLS) >>> -this shows a lock icon in the GUI >>> With Interarchy I can set FTP uses SSL (AUTH TLS) : required in the >>> security >>> preferences >>> -there is no visible indication in the GUI that there is a secure >>> connection >>> > > Hi Andre > > With Cyberduck when I first tried to connect using FTP-SSL it would > not connect because the certificate from odin.on-rev.com was not > trusted. When I clicked 'Always trust "odin.on-rev.com' then the > connection opened. When I look in the keychain I find the certificate > for odin.on-rev.com and has SSL - always trust as the settings for the > certificate and it is trusted for ftp for my on-rev site > > So it appears that at least FTP-SSL is working with on-rev using Cyberduck > or am I missing something. > > Martin > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From mkoob at rogers.com Mon Jan 17 17:02:25 2011 From: mkoob at rogers.com (Martin Koob) Date: Mon, 17 Jan 2011 22:02:25 +0000 (UTC) Subject: secure FTP to on-rev server best practice References: <1295290435278-3221244.post@n4.nabble.com> <80C9C7A6-3BB6-4283-A9E6-8BEF695622EF@free.fr> Message-ID: Pierre Sahores writes: > > Martin, > > Are you, from CyberDuck, able to see the files listing AND to upload/ >download files ? > > Best, > > Pierre > Hi Pierre I did some tests I was able to list files, upload and download a file and also delete a file. the URL that Cyberduck is using starts with ftps:// I purchased an ssl certificate and static IP for a site that I have hosted on on-rev from RunRev. is this the reason why it works? Martin From andre at andregarzia.com Mon Jan 17 17:27:47 2011 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 17 Jan 2011 20:27:47 -0200 Subject: ssh on-rev.com In-Reply-To: References: <32F0FEA8-927A-41DB-9D92-9644C217E2F9@free.fr> Message-ID: except if you want to transfer really large files, then I think $_POST_RAW is reach memory limits and things will go downhill... cheers andre On Mon, Jan 17, 2011 at 7:24 PM, Pierre Sahores wrote: > Hello Andre :D > > But they should indeed !!! > > Instead of making any .irev stuff rely on the non secure FTP protocol, i > just hate because that, the libURL let us play in a very fine way with > $_POST_RAW and it works perfectly well there as a replacement for any kind > of FTP targeted code. > > Kind Regards, > > Pierre > > > Le 17 janv. 2011 ? 17:02, Andre Garzia a ?crit : > > > On Mon, Jan 17, 2011 at 1:49 PM, Pierre Sahores > wrote: > > > >> But, i would really like to see the same mothership close all our > unsecure > >> FTP accesses and replace them by a FTP-SSL + password + PKEY or SFTP + > >> password + PKEY accounts access policy. > > > > > > they should not do that until livecode liburl has support for that kind > of > > stuffl... it would be horrible pr to have a server which your own product > > can't connect... > > > > -- > > http://www.andregarzia.com All We Do Is Code. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > Pierre Sahores > mobile : (33) 6 03 95 77 70 > > www.woooooooords.com > 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 > -- http://www.andregarzia.com All We Do Is Code. From mkoob at rogers.com Mon Jan 17 17:40:29 2011 From: mkoob at rogers.com (Martin Koob) Date: Mon, 17 Jan 2011 22:40:29 +0000 (UTC) Subject: on-rev redirect Message-ID: I have an on-rev page that redirects to another page. It does that by setting the location header with the 'put header' command which is documented in the on-rev engine notes http://samples.on-rev.com/irev-engine-notes.txt The redirect page does load but the address in the browser is the referring page and a POST from that page is posted to the referring page and not to the redirected page. Is there something else that has to be done to get the page redirected to as the target of a POST command? Martin From liste.revo at medard.on-rev.com Mon Jan 17 18:04:55 2011 From: liste.revo at medard.on-rev.com (Medard) Date: Tue, 18 Jan 2011 00:04:55 +0100 Subject: [Fr][En] Re: secure FTP to on-rev server best practice In-Reply-To: <80C9C7A6-3BB6-4283-A9E6-8BEF695622EF@free.fr> Message-ID: <1jv9jrx.1wmj7phah5or3M%liste.revo@medard.on-rev.com> Pierre Sahores wrote: > Are you, from CyberDuck, able to see the files listing AND to > upload/download files ? I do use, me too, the Duck :-) Et ?a marche tr?s bien :-) On drague directement le fichier depuis une fen?tre Finder vers le listing affich? dans Cyberduck Pour un seul fichier ? la fois, quand j'ai fait une modif sous TextWrangler, j'utilise le client FTP int?gr? === That works very well Directly from a Finder window to the Cyberduck listing For a unique file, I prefer to use TextWrangler and its FTP client === * pratique quand l'appli On-Rev est "paresseuse" mais pas d'?chappatoire quand Loki se croise les bras et refuse de vous reconnaitre (cPanel)... === Useful when the desktop app On-Rev is "lazy" but no escape when Loki (cPanel) refuses your password... I tried also the webdisk but is has its limitations (and is very slow) From mkoob at rogers.com Mon Jan 17 18:06:45 2011 From: mkoob at rogers.com (Martin Koob) Date: Mon, 17 Jan 2011 23:06:45 +0000 (UTC) Subject: ssh on-rev.com References: <32F0FEA8-927A-41DB-9D92-9644C217E2F9@free.fr> Message-ID: Andre Garzia writes: > > except if you want to transfer really large files, then I think $_POST_RAW > is reach memory limits and things will go downhill... > > cheers > andre > > On Mon, Jan 17, 2011 at 7:24 PM, Pierre Sahores wrote: > > > Hello Andre :D > > > > But they should indeed !!! > > > > Instead of making any .irev stuff rely on the non secure FTP protocol, i > > just hate because that, the libURL let us play in a very fine way with > > $_POST_RAW and it works perfectly well there as a replacement for any kind > > of FTP targeted code. > > > > Kind Regards, > > > > Pierre > > I have used $_POST_RAW for small files about 3MB and it has worked fine. but when I try a file of about 100 MB it does not work at all. I have not yet experimented to find where the upper limit lies between 3 and 100 MB. Martin From lfredricks at proactive-intl.com Mon Jan 17 18:09:14 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 17 Jan 2011 15:09:14 -0800 Subject: Megabundle 2009 $299 Update Ends in Five Days Message-ID: <636DABE5F0B944A481BEF4FB65A79461@GATEWAY> Hello all, If you bought the Megabundle in 2009 (or earlier), you can update to our Megabundle 2009 Update Special for only $299. But the deal ends this coming weekend! This includes the following: - Valentina ADK+ for LiveCode. 12 more months of updates, includes Mac, Windows AND Linux, and a copy of Valentina Studio Admin (usually sold separately for $99). - Franklin 3D Pro for LiveCode. 12 more months of updates for the 3D game engine. - Franklin Audio Pro for LiveCode. New! Multi-channel Audio plugin for Mac OS X/Windows deployment (usually sold separately for $99). - Valentina Office Server Unlimited. This our full business server for your business, unlimited connections! Has full reports engine, SSL, Bonjour/Zero Config, PHP/RoR scripting, encryption and a whole lot more (usually sold for $1499). Watch for the FREE clients, iValentina for iOS (separate versions for iPad and iPhone) coming soon. Info is Here: http://www.franklin3d.com/news/110-livecode-megabundle-2009-update Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From lfredricks at proactive-intl.com Mon Jan 17 18:33:13 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 17 Jan 2011 15:33:13 -0800 Subject: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose? Message-ID: <0FB82EE140FB49E89BD8A3C17F170771@GATEWAY> Hello all, Just checking to see - who all is going this year? Just noticing that its happening in April 2011, and we are shortly running out of January 2011. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From sarah.reichelt at gmail.com Mon Jan 17 18:48:46 2011 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 18 Jan 2011 09:48:46 +1000 Subject: on-rev redirect In-Reply-To: References: Message-ID: On Tue, Jan 18, 2011 at 8:40 AM, Martin Koob wrote: > I have an on-rev page that redirects to another page. > > ?It does that by setting the location header with the 'put header' > command which is documented in the on-rev engine notes > http://samples.on-rev.com/irev-engine-notes.txt > > The redirect page does load but the address in the browser is the > referring page and a POST from that page is posted to the > referring page and not to the redirected page. > > Is there something else that has to be done to get the page > redirected to as the target of a POST command? Here is what I use Martin, and it changes the URL in the address bar: put "http://www.troz.net/onrev/samples/mobile.irev" into tMobilePage put new header "Status: 301 Moved Permanently" put new header "Location:" && tMobilePage This is from and if the page detects a mobile device, it automatically redirects using the script above. I wonder does the Status line make a difference, or is it because I use "put new header"? It's been a while since I set this up, so I can't remember now. Cheers, Sarah From psahores at free.fr Mon Jan 17 19:15:21 2011 From: psahores at free.fr (Pierre Sahores) Date: Tue, 18 Jan 2011 01:15:21 +0100 Subject: ssh on-rev.com In-Reply-To: References: <32F0FEA8-927A-41DB-9D92-9644C217E2F9@free.fr> Message-ID: <817503BA-4076-4C5F-B2D5-2B56D4B89FA7@free.fr> No way to split those large files in multiples binary sections at POST before restoring their integrity when arrived on the server side ? Best, Pierre Le 17 janv. 2011 ? 23:27, Andre Garzia a ?crit : > except if you want to transfer really large files, then I think $_POST_RAW > is reach memory limits and things will go downhill... > > cheers > andre > > On Mon, Jan 17, 2011 at 7:24 PM, Pierre Sahores wrote: > >> Hello Andre :D >> >> But they should indeed !!! >> >> Instead of making any .irev stuff rely on the non secure FTP protocol, i >> just hate because that, the libURL let us play in a very fine way with >> $_POST_RAW and it works perfectly well there as a replacement for any kind >> of FTP targeted code. >> >> Kind Regards, >> >> Pierre >> >> >> Le 17 janv. 2011 ? 17:02, Andre Garzia a ?crit : >> >>> On Mon, Jan 17, 2011 at 1:49 PM, Pierre Sahores >> wrote: >>> >>>> But, i would really like to see the same mothership close all our >> unsecure >>>> FTP accesses and replace them by a FTP-SSL + password + PKEY or SFTP + >>>> password + PKEY accounts access policy. >>> >>> >>> they should not do that until livecode liburl has support for that kind >> of >>> stuffl... it would be horrible pr to have a server which your own product >>> can't connect... >>> >>> -- >>> http://www.andregarzia.com All We Do Is Code. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> -- >> Pierre Sahores >> mobile : (33) 6 03 95 77 70 >> >> www.woooooooords.com >> 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 >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From alex at tweedly.net Mon Jan 17 19:19:04 2011 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 18 Jan 2011 00:19:04 +0000 Subject: on-rev redirect In-Reply-To: References: Message-ID: <4D34DC78.7040001@tweedly.net> It's the 'status 301' line that does it. Setting a location is not, in general, enough. http://en.wikipedia.org/wiki/URL_redirection says > > Sometimes, it is sufficient to print the "Location: 'url'" header line > from a normal CGI script. Many web servers choose one of the 3xx > status codes for such replies. > > but you should use a status of 301 (permanent redirection) for the proper effect (302 - temporary redirection - is probably not what you want, most browsers will display the redirected page, but the non-redirected URL). -- Alex. On 17/01/2011 23:48, Sarah Reichelt wrote: > On Tue, Jan 18, 2011 at 8:40 AM, Martin Koob wrote: >> I have an on-rev page that redirects to another page. >> >> It does that by setting the location header with the 'put header' >> command which is documented in the on-rev engine notes >> http://samples.on-rev.com/irev-engine-notes.txt >> >> The redirect page does load but the address in the browser is the >> referring page and a POST from that page is posted to the >> referring page and not to the redirected page. >> >> Is there something else that has to be done to get the page >> redirected to as the target of a POST command? > > Here is what I use Martin, and it changes the URL in the address bar: > > put "http://www.troz.net/onrev/samples/mobile.irev" into tMobilePage > put new header "Status: 301 Moved Permanently" > put new header "Location:"&& tMobilePage > > This is from > and if the page detects a mobile device, it automatically redirects > using the script above. > > I wonder does the Status line make a difference, or is it because I > use "put new header"? > It's been a while since I set this up, so I can't remember now. > > Cheers, > Sarah > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From psahores at free.fr Mon Jan 17 19:20:57 2011 From: psahores at free.fr (Pierre Sahores) Date: Tue, 18 Jan 2011 01:20:57 +0100 Subject: [Fr][En] Re: secure FTP to on-rev server best practice In-Reply-To: <1jv9jrx.1wmj7phah5or3M%liste.revo@medard.on-rev.com> References: <1jv9jrx.1wmj7phah5or3M%liste.revo@medard.on-rev.com> Message-ID: Thanks for the precision. I need to have a new try. A+, Pierre Le 18 janv. 2011 ? 00:04, Medard a ?crit : > Pierre Sahores wrote: > >> Are you, from CyberDuck, able to see the files listing AND to >> upload/download files ? > > I do use, me too, the Duck :-) > > Et ?a marche tr?s bien :-) > > On drague directement le fichier depuis une fen?tre Finder vers le > listing affich? dans Cyberduck > > Pour un seul fichier ? la fois, quand j'ai fait une modif sous > TextWrangler, j'utilise le client FTP int?gr? > > === > > That works very well > Directly from a Finder window to the Cyberduck listing > > For a unique file, I prefer to use TextWrangler and its FTP client > > === > > * pratique quand l'appli On-Rev est "paresseuse" > mais pas d'?chappatoire quand Loki se croise les bras et refuse de vous > reconnaitre (cPanel)... > > === > > Useful when the desktop app On-Rev is "lazy" > but no escape when Loki (cPanel) refuses your password... > > I tried also the webdisk but is has its limitations (and is very slow) > > _______________________________________________ > use-livecode mailing list > use-livecode 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 : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From psahores at free.fr Mon Jan 17 19:24:16 2011 From: psahores at free.fr (Pierre Sahores) Date: Tue, 18 Jan 2011 01:24:16 +0100 Subject: secure FTP to on-rev server best practice In-Reply-To: References: <1295290435278-3221244.post@n4.nabble.com> <80C9C7A6-3BB6-4283-A9E6-8BEF695622EF@free.fr> Message-ID: Thanks Martin. Will try. Best, Pierre Le 17 janv. 2011 ? 23:02, Martin Koob a ?crit : > Pierre Sahores writes: > >> >> Martin, >> >> Are you, from CyberDuck, able to see the files listing AND to upload/ >> download files ? >> >> Best, >> >> Pierre >> > > > Hi Pierre > > I did some tests > > I was able to list files, upload and download a file and also delete a file. > > the URL that Cyberduck is using starts with ftps:// > > > I purchased an ssl certificate and static IP for a site that I have hosted on > on-rev from RunRev. is this the reason why it works? > > Martin > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From bobs at twft.com Mon Jan 17 19:33:28 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 17 Jan 2011 16:33:28 -0800 Subject: Using Shell to run a DOS program In-Reply-To: <1295297271924-3221259.post@n4.nabble.com> References: <75229CD1-A84B-49AA-BC60-E7A1AE0371E6@economy-x-talk.com> <1295297271924-3221259.post@n4.nabble.com> Message-ID: <954A2D40-4CE6-419D-9916-AB6831025094@twft.com> You cannot. Even an emulator would be isolated from the Mac OS X system. Bob On Jan 17, 2011, at 12:47 PM, Alejandro Tejada wrote: > > Hi Mark, > > Many thanks for testing this script! :-) > > Mark Schonewille wrote: >> Are you sure that the file name should contain an additional space? >> "file:C:\CRC32OUTPUT.txt " >> You give very little information. Does crc32 do anything at all >> when called from LiveCode? Errors? Files created? Anything? Nothing? > > No, this additional space is a typo in the message. > Good catch! :-D > > CRC32.exe works on the command prompt > but not inside LiveCode. > > It does not produce errors and do not create any file. > It does not produce anything. Nothing at all > > I am testing this using Rev 2.8 and 4.0 > using this DOS program: > http://www34.brinkster.com/dizzyk/download/crc32.zip > > downloaded from this page: > http://www34.brinkster.com/dizzyk/crc32.asp > > Now, my curiosity is awakened with your answer. > How do you test a Dos program using Mac OS X? > > Thanks in advance! > > Al > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Using-Shell-to-run-a-DOS-program-tp3220717p3221259.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Jan 17 19:36:27 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 17 Jan 2011 16:36:27 -0800 Subject: Import Snapshot Broken in 4.5.3? In-Reply-To: <4D34A733.5060404@hyperactivesw.com> References: <2AD314BF-D6E9-4C17-BCA9-D47EF07D13DE@gmail.com> <90A3F1FA-1533-4325-9344-58AFA9A526AC@twft.com> <4D34A733.5060404@hyperactivesw.com> Message-ID: I have one of yours. I filled it with popcorn and am using it for a cat toy. Bob On Jan 17, 2011, at 12:31 PM, J. Landman Gay wrote: > On 1/17/11 11:52 AM, Bob Sneidar wrote: >> Peter, >> >> That's actually one of the weird side effects of Jacque's Time Travel >> stack. The first time she launched it, we all started experiencing >> this anomaly. We also noticed that the socks we put into the dryer >> were not always the socks we took back out. > > Kevin has your socks. And I believe I have his. And I don't know who has mine. > > -- > 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 Jan 17 19:41:23 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 17 Jan 2011 16:41:23 -0800 Subject: ssh on-rev.com In-Reply-To: References: <32F0FEA8-927A-41DB-9D92-9644C217E2F9@free.fr> Message-ID: <9E2577FE-A108-48DC-86A1-54A3AD34CADE@twft.com> Ima gonna guess at 8 megs, 16 megs, 32 megs or 64 megs. It's just a hunch... Bob On Jan 17, 2011, at 3:06 PM, Martin Koob wrote: > Andre Garzia writes: > >> >> except if you want to transfer really large files, then I think $_POST_RAW >> is reach memory limits and things will go downhill... >> >> cheers >> andre >> >> On Mon, Jan 17, 2011 at 7:24 PM, Pierre Sahores wrote: >> >>> Hello Andre :D >>> >>> But they should indeed !!! >>> >>> Instead of making any .irev stuff rely on the non secure FTP protocol, i >>> just hate because that, the libURL let us play in a very fine way with >>> $_POST_RAW and it works perfectly well there as a replacement for any kind >>> of FTP targeted code. >>> >>> Kind Regards, >>> >>> Pierre >>> > > I have used $_POST_RAW for small files about 3MB and > it has worked fine. but when I try a file of about 100 MB it does not work > at all. I have not yet experimented to find where the upper limit lies > between 3 and 100 MB. > > Martin > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mkoob at rogers.com Mon Jan 17 20:23:22 2011 From: mkoob at rogers.com (Martin Koob) Date: Tue, 18 Jan 2011 01:23:22 +0000 (UTC) Subject: on-rev redirect References: <4D34DC78.7040001@tweedly.net> Message-ID: Alex Tweedly writes: > > It's the 'status 301' line that does it. Setting a location is not, in > general, enough. > > http://en.wikipedia.org/wiki/URL_redirection says > > > > Sometimes, it is sufficient to print the "Location: 'url'" header line > > from a normal CGI script. Many web servers choose one of the 3xx > > status codes for such replies. > > > > > but you should use a status of 301 (permanent redirection) for the > proper effect (302 - temporary redirection - is probably not what you > want, most browsers will display the redirected page, but the > non-redirected URL). > Thanks Sarah and Alex. I tried using different combinations of the Status 301 line and the 'put new header' command. It is the Status 301 line that makes the difference. Using Sarah's example put header "Status: 301 Moved Permanently" put header "Location:" && tMobilePage works equally well as put new header "Status: 301 Moved Permanently" put new header "Location:" && tMobilePage So 'new' does not seem to make a difference here. Is there a situation where the 'new' would be required? Thanks again Martin From rjb at robelko.com Mon Jan 17 20:41:17 2011 From: rjb at robelko.com (Robert Brenstein) Date: Tue, 18 Jan 2011 02:41:17 +0100 Subject: Sqlite connection problem In-Reply-To: <092DD45A-ED2A-4182-BAB7-20AB1A7ED483@system-ini.it> References: <092DD45A-ED2A-4182-BAB7-20AB1A7ED483@system-ini.it> Message-ID: On 15.01.11 at 09:42 +0100 Alessandro Pisoni apparently wrote: >I have serius connection problem with my database sqlite. > >my code is this: > >on mouseUp > put tAppPath() & "GestPres.db" into tDB > put revOpenDatabase("sqlite",tDB,,,,,) into mydb > revCloseDatabase mydb >end mouseUp > Are you trying to connect from standalone or in IDE? Have you tried pretesting the file path? on mouseUp put tAppPath() & "GestPres.db" into tDB if there is not a file tDB then beep replace slash with slash & cr in tDB answer error tDB & cr & "File not found." else put revOpenDatabase("sqlite",tDB,,,,,) into mydb revCloseDatabase mydb end if end mouseUp Robert From jacque at hyperactivesw.com Mon Jan 17 20:49:43 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 17 Jan 2011 19:49:43 -0600 Subject: [OT]:Socks [was: Import Snapshot Broken in 4.5.3?] In-Reply-To: References: <2AD314BF-D6E9-4C17-BCA9-D47EF07D13DE@gmail.com> <90A3F1FA-1533-4325-9344-58AFA9A526AC@twft.com> <4D34A733.5060404@hyperactivesw.com> Message-ID: <4D34F1B7.4090806@hyperactivesw.com> On 1/17/11 6:36 PM, Bob Sneidar wrote: > I have one of yours. I filled it with popcorn and am using it for a cat toy. > > Bob > > > On Jan 17, 2011, at 12:31 PM, J. Landman Gay wrote: > >> On 1/17/11 11:52 AM, Bob Sneidar wrote: >>> Peter, >>> >>> That's actually one of the weird side effects of Jacque's Time Travel >>> stack. The first time she launched it, we all started experiencing >>> this anomaly. We also noticed that the socks we put into the dryer >>> were not always the socks we took back out. >> >> Kevin has your socks. And I believe I have his. And I don't know who has mine. If I recall, an ancient Greek philosopher invented that toy. He named it after himself: Sock-Rat Tease. Next time throw it back into the dryer. Maybe my neighbor will get it and I can pick it up. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From coiin at verizon.net Mon Jan 17 20:55:29 2011 From: coiin at verizon.net (Colin Holgate) Date: Mon, 17 Jan 2011 20:55:29 -0500 Subject: [OT]:Socks [was: Import Snapshot Broken in 4.5.3?] In-Reply-To: <4D34F1B7.4090806@hyperactivesw.com> References: <2AD314BF-D6E9-4C17-BCA9-D47EF07D13DE@gmail.com> <90A3F1FA-1533-4325-9344-58AFA9A526AC@twft.com> <4D34A733.5060404@hyperactivesw.com> <4D34F1B7.4090806@hyperactivesw.com> Message-ID: On Jan 17, 2011, at 8:49 PM, J. Landman Gay wrote: > > If I recall, an ancient Greek philosopher invented that toy. He named it after himself: Sock-Rat Tease. Is it true that he wore his socks for six months, until his friend Pythagoras exclaimed "you reeker!" From mwieder at ahsoftware.net Mon Jan 17 22:43:45 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 17 Jan 2011 19:43:45 -0800 Subject: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose? In-Reply-To: <0FB82EE140FB49E89BD8A3C17F170771@GATEWAY> References: <0FB82EE140FB49E89BD8A3C17F170771@GATEWAY> Message-ID: <137125811031.20110117194345@ahsoftware.net> Lynn- Monday, January 17, 2011, 3:33:13 PM, you wrote: > Just checking to see - who all is going this year? Just noticing that its > happening in April 2011, and we are shortly running out of January 2011. I'm going. That'll probably keep some folks away, but I thought it fair to give you warning. And I'm still distressed that there's no mention of the conference on the website. And hasn't been for some time. I'm assuming the conference is still on, but you know what they say about assuming. Meanwhile, MacWorld Expo is next week. Does anybody care anymore? -- -Mark Wieder mwieder at ahsoftware.net From mcgrath3 at mac.com Mon Jan 17 22:53:52 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 17 Jan 2011 22:53:52 -0500 Subject: usb driver problem In-Reply-To: <48B1573F-8E01-4DAB-9C0E-6094D39FF3FE@pacifier.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D33DC81.3040805@hyperactivesw.com> <589AD6FD-E045-4D27-9950-F244B0794690@mac.com> <48B1573F-8E01-4DAB-9C0E-6094D39FF3FE@pacifier.com> Message-ID: <0115362F-0594-44F0-91AC-13A2B1FF2871@mac.com> JB, yes that would be great. I am still trying to figure out why the Arduino will not recognize (or will but then crashes). Send it to wither of my addresses. Thanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 17, 2011, at 9:32 AM, -=>JB wrote: > I wrote a serial stack if you want to look at examples of how > to use the serial port and set the serialcontrol string. If you > would like I will send it to you. > > -=>JB<=- > > > On Jan 17, 2011, at 6:15 AM, Thomas McGrath III wrote: > >> I will try this today when I get back home. >> >> should it be open file "modem:tty.usbmodem1a21" >> >> I gotta look up the serialControlString >> >> Thanks will get back with the results >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> 3mcgrath at comcast.net >> >> On Jan 17, 2011, at 1:06 AM, J. Landman Gay wrote: >> >>> On 1/16/11 10:37 PM, Thomas McGrath III wrote: >>>> The dev/tty.usbmodem1a21 does not show up in the list using the >>>> SerialTest.rev stack. >>>> >>>> It does show up in the Arduino software Serial list. Also in the >>>> Arduino you have to use the tty.usbmodem1a21. Also when you plug the >>>> Arduino in the Mac detects a new modem and asks to set it up in >>>> Internet preferences pane. hit apply and then it shows up in >>>> Arduino. >>> >>> If the Mac thinks it's a modem, I'd try using "open file" as Mark Waddingham suggested. Specify "modem:" and set the serialControlString. He did mention that the drivernames aren't always accurate on OS X. >>> >>> If that doesn't work, use "open file" with the "/dev/" path. I'm not sure which path would work, I guess you'd need to test them all. Basically the one that works in Terminal should work in LiveCode. >>> >>> Did you try talking to it in Terminal? Does that 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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ma at snowcamp.org Mon Jan 17 23:52:08 2011 From: ma at snowcamp.org (Mike Arnold) Date: Mon, 17 Jan 2011 23:52:08 -0500 Subject: revBrowser & scrollbars & resize Control Message-ID: <919F6AAA-39BC-4BDD-9FCC-687DC62332B3@snowcamp.org> I have a stack with only a revbrowser instance filling the entire card. I have vertical and horizontal scrollbars enabled with the window being resizeable. Where the two scrollbars meet, there is an empty box - where I would expect to be able to put the resize control, but it seems that I have to define an area outside either the vertical or horizontal scroll area of at least 1 pixel to allow some part of the resize control to exist. Is there a way to overlay the resize control and the revBrowser scrollbar-interesection-defined 'box'? thanks, Mike. From jhj at jhj.com Tue Jan 18 00:38:07 2011 From: jhj at jhj.com (Jerry J) Date: Mon, 17 Jan 2011 21:38:07 -0800 Subject: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose? In-Reply-To: <137125811031.20110117194345@ahsoftware.net> References: <0FB82EE140FB49E89BD8A3C17F170771@GATEWAY> <137125811031.20110117194345@ahsoftware.net> Message-ID: On Jan 17, 2011, at 7:43 PM, Mark Wieder wrote: > Lynn- > > Monday, January 17, 2011, 3:33:13 PM, you wrote: > >> Just checking to see - who all is going this year? Just noticing that its >> happening in April 2011, and we are shortly running out of January 2011. > > I'm going. That'll probably keep some folks away, but I thought it > fair to give you warning. > > And I'm still distressed that there's no mention of the conference on > the website. And hasn't been for some time. I'm assuming the > conference is still on, but you know what they say about assuming. > > Meanwhile, MacWorld Expo is next week. Does anybody care anymore? I don't care about MacWorld anymore. I do care about macs. I'll be at RR/LC Live 2011 if its still on. If its not, I'd appreciate a notice as its at exactly the same time as the Asilomar Microcomputer Conference, which I have not missed in 15 years. --Jerry Jensen From capellan2000 at gmail.com Tue Jan 18 00:38:43 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 18 Jan 2011 01:38:43 -0400 Subject: Using Shell to run a DOS program Message-ID: Hi David, David C. wrote: >Try this one, which works on this end: >on mouseUp >-- must set the folder location to the same as crc32.exe > set the defaultFolder to "C:\crc32\" > put "crc32.exe" into tCommand > put " readme.txt > c:\crc32\output.txt" into tArg > put tCommand & tArg into tShellText > set the hideconsolewindows to true > get shell (tShellText) > get URL "file:c:\crc32\output.txt" > put it -- put in message box > --put it into fld "Field1" -- put in field >end mouseUp Oh. I must set the defaultFolder first... Yes, the Docs mention this: "The command is executed in the current defaultFolder" and this actually means: Before using shell with a command line application you must set the default folder to the folder where this Command line application resides. For example: ...- paste example published by David- This particular information, with the example provided by David, could be an useful addition to the Online dictionary. Many Thanks again, David, for publishing and testing this handler! Al From jimaultwins at yahoo.com Tue Jan 18 01:49:41 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Mon, 17 Jan 2011 22:49:41 -0800 Subject: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose? In-Reply-To: References: <0FB82EE140FB49E89BD8A3C17F170771@GATEWAY> <137125811031.20110117194345@ahsoftware.net> Message-ID: <63D2241E-7041-4298-AB7C-12E94369DAFF@yahoo.com> The details are at http://www.runrevlive.com/ On Jan 17, 2011, at 9:38 PM, Jerry J wrote: > > I don't care about MacWorld anymore. I do care about macs. > > I'll be at RR/LC Live 2011 if its still on. If its not, I'd > appreciate a notice as its at exactly the same time as the Asilomar > Microcomputer Conference, which I have not missed in 15 years. > > --Jerry Jensen > Jim Ault Las Vegas From jhj at jhj.com Tue Jan 18 02:37:46 2011 From: jhj at jhj.com (Jerry J) Date: Mon, 17 Jan 2011 23:37:46 -0800 Subject: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose? In-Reply-To: <63D2241E-7041-4298-AB7C-12E94369DAFF@yahoo.com> References: <0FB82EE140FB49E89BD8A3C17F170771@GATEWAY> <137125811031.20110117194345@ahsoftware.net> <63D2241E-7041-4298-AB7C-12E94369DAFF@yahoo.com> Message-ID: <0ACBEAB5-25C5-41EC-B4B4-ED5EDB8126D8@jhj.com> Thanks Jim, I feel better now! On Jan 17, 2011, at 10:49 PM, Jim Ault wrote: > The details are at > http://www.runrevlive.com/ > > > On Jan 17, 2011, at 9:38 PM, Jerry J wrote: >> >> I don't care about MacWorld anymore. I do care about macs. >> >> I'll be at RR/LC Live 2011 if its still on. If its not, I'd appreciate a notice as its at exactly the same time as the Asilomar Microcomputer Conference, which I have not missed in 15 years. >> >> --Jerry Jensen >> > > Jim Ault > Las Vegas From claus at dreischer.de Tue Jan 18 04:11:03 2011 From: claus at dreischer.de (Claus Dreischer) Date: Tue, 18 Jan 2011 10:11:03 +0100 Subject: revBrowserSet, search a second string In-Reply-To: <4B746A3A.1010905@dreischer.de> References: <4B746A3A.1010905@dreischer.de> Message-ID: <4D355927.7000305@dreischer.de> ... solved with 4.6.0-dp-1 Regards, Claus. Am 11.02.10 21:36, schrieb Claus Dreischer: > Hi Terry, > > i think i have found some vital information regarding this problem: > >>From my tests a browser refresh like > > revBrowserRefresh sBrowserId > > breaks any subsequent searches like > > revBrowserSet sBrowserId, "selected", "This" > > > I don't think this is supposed to happen, right? > I tested on Win XP with IE 6 > > > Anyone like to test and confirm? > > revGoURL "http://www.dreischer.de/RefreshBrowser.rev" > > Works on Mac OS X 10.6, > but breaks (= does not search anymore) on Win XP. > > I think this qualifies as a bug. > > Regards, > Claus. From claudi.c at fiberworld.nl Tue Jan 18 05:06:30 2011 From: claudi.c at fiberworld.nl (Claudi Cornaz) Date: Tue, 18 Jan 2011 11:06:30 +0100 Subject: usb driver problem In-Reply-To: <4D34A9DC.4060302@hyperactivesw.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D33DC81.3040805@hyperactivesw.com> <589AD6FD-E045-4D27-9950-F244B0794690@mac.com> <4D34A32C.3030702@hyperactivesw.com> <8B27D88C-B957-48F0-99B2-5303CA6E9EA7@twft.com> <4D34A9DC.4060302@hyperactivesw.com> Message-ID: <774CAC87-F933-4538-8B2D-876D89F3899C@fiberworld.nl> Hi Thomas, I just ordered a arduino yesterday and hope to have it tommorow. I sure hope this can be solved. (Well I am very positive about that, one way or another, that's why I ordered one anyway) I have been looking on the web. I guess you did this already but just in case, here are some links http://www.patokeefe.com/archives/316 http://ricardo-dias.com/node/130 http://code.google.com/p/xcode-arduino-serial-communication/ and in the livecode forum there is a thread about the arduino and apparently mmiele got it working : by mmiele ? Sat Dec 06, 2008 10:25 am I used MacOS Tiger and then Leopard. What you need is: 1 - download and install from the Arduino site (http://www.arduino.cc) the Arduino SDK. 2 - download and install from the Arduino site or the FTDI site (http://www.ftdichip.com) the driver to see the Arduino USB as a serial port. 3 - connect the arduino board to an USB port of your Mac. You will see is a new entry in the list of serial devices. You can get the list reading the "driverNames" property: ex. put the driverNames into field "serialPorts". You can get a useful stack to test serial communication at http://www.troz.net/Rev/tutorials.php The stack is SerialTest.rev mmiele Posts: 17 Joined: Sun Jan 21, 2007 12:25 pm Location: Naples, Italy this is from: http://forums.runrev.com/phpBB2/viewtopic.php?f=14&t=2419 I hope you can get it working quickly and otherwise I will join your efford as soon as my arduino arrives. Best wishes, Claudi From bmmeili at swissonline.ch Tue Jan 18 06:41:30 2011 From: bmmeili at swissonline.ch (Martin Meili) Date: Tue, 18 Jan 2011 12:41:30 +0100 Subject: Radio Buttons Message-ID: <13DDCE84-6DFC-4A10-A0AA-32EE59C65050@swissonline.ch> Hi I don't know whether I've understood your problem correctly or not. But, just in case, I usually do these things the following way: on mouseup if the hilite of me <> true then set the hilite of me to true break end if if the hilite of me = true then set the hilite of me to false end if end mouseup Make sure that the autohilite property of your button is set to false. Cheers Martin From th.douez at sunnyrevtalk.com Tue Jan 18 06:58:02 2011 From: th.douez at sunnyrevtalk.com (Thierry) Date: Tue, 18 Jan 2011 12:58:02 +0100 Subject: Radio Buttons In-Reply-To: <13DDCE84-6DFC-4A10-A0AA-32EE59C65050@swissonline.ch> References: <13DDCE84-6DFC-4A10-A0AA-32EE59C65050@swissonline.ch> Message-ID: Le 18 janv. 2011 ? 12:41, Martin Meili a ?crit : > on mouseup > if the hilite of me <> true then > set the hilite of me to true > break > end if > if the hilite of me = true then > set the hilite of me to false > end if > end mouseup Hi, this script does the same as yours : on mouseup set the hilite of me to not the hilite of me end mouseup My 2 cents. Thierry From williamdesmet at gmail.com Tue Jan 18 07:16:09 2011 From: williamdesmet at gmail.com (William de Smet) Date: Tue, 18 Jan 2011 13:16:09 +0100 Subject: Contextual menu trouble References: <5E79A44810012441A53A465B3EE74C5F5B5A82@server-2.koetsveld.nl> Message-ID: > > > Hi there, > > I am working on a contextual menu in a textfield. > I searched this list, the forum on Runrev and used the Dictionary. > Everything works: I get a right click in a field but nothing happens > after I choose the contextual menu. > Am I missing something? > > > In a field: > on mouseDown theMouseButton > if theMouseButton is 3 then > popup button "popup" > else > pass mouseDown > end if > end mouseDown > > on mouseUp theMouseButton > if theMouseButton is 3 then > popup button "popup" > else > pass mouseUp > end if > end mouseUp > > Button "popup": > on menuPick pItemName > switch pItemName > case "Cut" > cut > break > case "Copy" > copy > break > case "Paste" > paste > break > end switch > end menuPick > > Greetings, > > William From dixonja at hotmail.co.uk Tue Jan 18 07:28:07 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Tue, 18 Jan 2011 12:28:07 +0000 Subject: Contextual menu trouble In-Reply-To: References: <5E79A44810012441A53A465B3EE74C5F5B5A82@server-2.koetsveld.nl>, Message-ID: You might try.... in the script of a field, with the 'lockText' set to true on mouseDown if the menuMouseButton of button 1 = 1 then popUp button 1 end if end mouseDown be well > > I am working on a contextual menu in a textfield. > > I searched this list, the forum on Runrev and used the Dictionary. > > Everything works: I get a right click in a field but nothing happens > > after I choose the contextual menu. > > Am I missing something? > > > > > > In a field: > > on mouseDown theMouseButton > > if theMouseButton is 3 then > > popup button "popup" > > else > > pass mouseDown > > end if > > end mouseDown > > > > on mouseUp theMouseButton > > if theMouseButton is 3 then > > popup button "popup" > > else > > pass mouseUp > > end if > > end mouseUp > > > > Button "popup": > > on menuPick pItemName > > switch pItemName > > case "Cut" > > cut > > break > > case "Copy" > > copy > > break > > case "Paste" > > paste > > break > > end switch > > end menuPick > > > > Greetings, > > > > William > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harald at etcpp.de Tue Jan 18 07:31:20 2011 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Tue, 18 Jan 2011 13:31:20 +0100 Subject: datagrid (loc of elements) In-Reply-To: References: <4D323AC8.4010606@eml.cc> <4D323E9C.8010005@eml.cc> <58F6C924-E503-48F4-9BC8-1C694FBE3193@gmail.com> <4D32473A.6000403@eml.cc> <0B79DDCE-AD1B-4FB8-A2BC-14F5A13F35DA@etcpp.de> Message-ID: I read the API-docs but didn't come to the solution you describe. Thanks, I will give this a try! Best regards, Harald M?ller. | Harald M?ller (www.etcpp.de) | Theodor-K?rner-Stra?e 4, 97072 W?rzburg | Telefon + 49-[0]931-329090-42 > On Sat, Jan 15, 2011 at 9:49 PM, Harald M?ller wrote: > >> I try to show an card element at the loc of the selected line of a datagrid >> form. >> Is there a way to get the loc of datagrid element or will I have to put it >> inside >> the datagrid and toggle the visible when a line is hilted? >> > > Since you are using a form you can take a look at the dgDataControlOfLine > property. > > put the dgDataControlOfLine[ the dgHilitedLine of group "DataGrid" ] of > group "DataGrid" into theControl > if theControl is not empty then > put the loc of theControl into theLoc > .... > end if > > Take a look at the entry in the API docs: > > http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7344-Data-Grid-API > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > LiveCode Resources for Developers: http://livecode.bluemangolearning.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From smudge.andy at googlemail.com Tue Jan 18 08:26:11 2011 From: smudge.andy at googlemail.com (AndyP) Date: Tue, 18 Jan 2011 05:26:11 -0800 (PST) Subject: Progress bar In-Reply-To: <1295293490031-3221250.post@n4.nabble.com> References: <1295293490031-3221250.post@n4.nabble.com> Message-ID: <1295357171694-3221324.post@n4.nabble.com> Hi steve, You could do someting like this: sb1 is the name of the scrollbar This is in the script of Check1 (check box 1) For ease, lets assume you have 10 check boxes. //Initially set the start and end points for the scrollbar sb1 set the startValue of scrollbar "sb1" to 0 set the endValue of scrollbar "sb1" to 100 //In the checkboxes on mouseUp if the hilite of btn "Check1" is true then set the thumbPos of scrollbar "sb1" to the thumbpos of scrollbar "sb1" +10 else set the thumbPos of scrollbar "sb1" to the thumbpos of scrollbar "sb1" -10 end if end mouseUp It would be more efficient to use a function for this but this will get you running. ----- Andy Piddock My software never has bugs. It just develops random features. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Progress-bar-tp3221250p3221324.html Sent from the Revolution - User mailing list archive at Nabble.com. From smudge.andy at googlemail.com Tue Jan 18 08:26:43 2011 From: smudge.andy at googlemail.com (AndyP) Date: Tue, 18 Jan 2011 05:26:43 -0800 (PST) Subject: Progress bar In-Reply-To: <1295293490031-3221250.post@n4.nabble.com> References: <1295293490031-3221250.post@n4.nabble.com> Message-ID: <1295357203628-3221325.post@n4.nabble.com> Hi steve, You could do someting like this: sb1 is the name of the scrollbar This is in the script of Check1 (check box 1) For ease, lets assume you have 10 check boxes. //Initially set the start and end points for the scrollbar sb1 set the startValue of scrollbar "sb1" to 0 set the endValue of scrollbar "sb1" to 100 //In the checkboxes on mouseUp if the hilite of btn "Check1" is true then set the thumbPos of scrollbar "sb1" to the thumbpos of scrollbar "sb1" +10 else set the thumbPos of scrollbar "sb1" to the thumbpos of scrollbar "sb1" -10 end if end mouseUp It would be more efficient to use a function for this but this will get you running. ----- Andy Piddock My software never has bugs. It just develops random features. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Progress-bar-tp3221250p3221325.html Sent from the Revolution - User mailing list archive at Nabble.com. From williamdesmet at gmail.com Tue Jan 18 11:34:03 2011 From: williamdesmet at gmail.com (William de Smet) Date: Tue, 18 Jan 2011 17:34:03 +0100 Subject: Contextual menu trouble In-Reply-To: References: <5E79A44810012441A53A465B3EE74C5F5B5A82@server-2.koetsveld.nl> Message-ID: Hi there, @John: with the Locktext set to true? This way I cannot paste into the field. I feel real stupid because it doesn't work. Anyone? In a field: on mouseDown theMouseButton if theMouseButton is 3 then popup button "popup" else pass mouseDown end if end mouseDown on mouseUp theMouseButton if theMouseButton is 3 then popup button "popup" else pass mouseUp end if end mouseUp Button "popup": on menuPick pItemName switch pItemName case "Cut" cut break case "Copy" copy break case "Paste" paste break end switch end menuPick greetings, William 2011/1/18 John Dixon : > > > You might try.... in the script of a field, with the 'lockText' set to true > > on mouseDown > ? if ?the menuMouseButton of button 1 = 1 then > ? ? ?popUp button 1 > ? end if > end mouseDown > > be well > >> > I am working on a contextual menu in a textfield. >> > I searched this list, the forum on Runrev and used the Dictionary. >> > Everything works: I get a right click in a field but nothing happens >> > after I choose the contextual menu. >> > Am I missing something? >> > >> > >> > In a field: >> > on mouseDown theMouseButton >> > ? if theMouseButton is 3 then >> > ? ? ?popup button "popup" >> > ?else >> > ? ?pass mouseDown >> > ?end if >> > end mouseDown >> > >> > on mouseUp theMouseButton >> > ? if theMouseButton is 3 then >> > ? ? popup button "popup" >> > ?else >> > ? ?pass mouseUp >> > ?end if >> > end mouseUp >> > >> > Button "popup": >> > on menuPick pItemName >> > ? switch pItemName >> > ?case "Cut" >> > ? ?cut >> > ? ?break >> > case "Copy" >> > ? ?copy >> > ? ?break >> > ?case "Paste" >> > ? ?paste >> > ? ?break >> > ?end switch >> > end menuPick >> > >> > Greetings, >> > >> > William >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From smudge.andy at googlemail.com Tue Jan 18 11:46:59 2011 From: smudge.andy at googlemail.com (AndyP) Date: Tue, 18 Jan 2011 08:46:59 -0800 (PST) Subject: Progress bar In-Reply-To: <1295368409695-3223414.post@n4.nabble.com> References: <1295293490031-3221250.post@n4.nabble.com> <1295357171694-3221324.post@n4.nabble.com> <1295368409695-3223414.post@n4.nabble.com> Message-ID: <1295369219821-3223451.post@n4.nabble.com> Yes you would need to do someting like this If the scroolbar is on another card in the same stack: set the thumbPos of scrollbar "sb1" of card "mycard" to the thumbpos of scrollbar "sb1" + 10 If the scroolbar is on another card in a different stack: set the thumbPos of scrollbar "sb1" of card "mycard" of stack "mystack" to the thumbpos of scrollbar "sb1" +10 Hope this helps ----- Andy Piddock My software never has bugs. It just develops random features. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Progress-bar-tp3221250p3223451.html Sent from the Revolution - User mailing list archive at Nabble.com. From tereza at califex.com Tue Jan 18 11:59:31 2011 From: tereza at califex.com (Tereza Snyder) Date: Tue, 18 Jan 2011 10:59:31 -0600 Subject: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose? In-Reply-To: <0FB82EE140FB49E89BD8A3C17F170771@GATEWAY> References: <0FB82EE140FB49E89BD8A3C17F170771@GATEWAY> Message-ID: <2DB823BB-72D6-472F-A4E3-1332009851E1@califex.com> On Jan 17, 2011, at 5:33 PM, Lynn Fredricks wrote: > Hello all, > > Just checking to see - who all is going this year? Just noticing that its > happening in April 2011, and we are shortly running out of January 2011. I?ll be there t -- Tereza Snyder Califex Software, Inc. From bobs at twft.com Tue Jan 18 12:07:06 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 18 Jan 2011 09:07:06 -0800 Subject: [OT]:Socks [was: Import Snapshot Broken in 4.5.3?] In-Reply-To: <4D34F1B7.4090806@hyperactivesw.com> References: <2AD314BF-D6E9-4C17-BCA9-D47EF07D13DE@gmail.com> <90A3F1FA-1533-4325-9344-58AFA9A526AC@twft.com> <4D34A733.5060404@hyperactivesw.com> <4D34F1B7.4090806@hyperactivesw.com> Message-ID: <224332A9-9390-4E29-BC79-E77E0FCC6FEF@twft.com> I have been truly outdone. Cudos. Bob On Jan 17, 2011, at 5:49 PM, J. Landman Gay wrote: > On 1/17/11 6:36 PM, Bob Sneidar wrote: >> I have one of yours. I filled it with popcorn and am using it for a cat toy. >> >> Bob >> >> >> On Jan 17, 2011, at 12:31 PM, J. Landman Gay wrote: >> >>> On 1/17/11 11:52 AM, Bob Sneidar wrote: >>>> Peter, >>>> >>>> That's actually one of the weird side effects of Jacque's Time Travel >>>> stack. The first time she launched it, we all started experiencing >>>> this anomaly. We also noticed that the socks we put into the dryer >>>> were not always the socks we took back out. >>> >>> Kevin has your socks. And I believe I have his. And I don't know who has mine. > > > If I recall, an ancient Greek philosopher invented that toy. He named it after himself: Sock-Rat Tease. > > Next time throw it back into the dryer. Maybe my neighbor will get it and I can pick it up. > > -- > 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 smudge.andy at googlemail.com Tue Jan 18 12:08:45 2011 From: smudge.andy at googlemail.com (AndyP) Date: Tue, 18 Jan 2011 09:08:45 -0800 (PST) Subject: Contextual menu trouble In-Reply-To: References: Message-ID: <1295370525771-3223503.post@n4.nabble.com> Hi William Have a look here: http://runtime-revolution.278305.n4.nabble.com/Live-LiveCode-Code-Event-6-td3215816.html#a3219909 http://runtime-revolution.278305.n4.nabble.com/Live-LiveCode-Code-Event-6-td3215816.html#a3219909 There's, a great example from Bj?rnke von Gierke Scroll down to the 16th. ----- Andy Piddock My software never has bugs. It just develops random features. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Contextual-menu-trouble-tp3222971p3223503.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Tue Jan 18 12:10:46 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 18 Jan 2011 09:10:46 -0800 Subject: Radio Buttons In-Reply-To: <13DDCE84-6DFC-4A10-A0AA-32EE59C65050@swissonline.ch> References: <13DDCE84-6DFC-4A10-A0AA-32EE59C65050@swissonline.ch> Message-ID: <4DEBFF6B-F31B-43EB-9853-06C83BAB3658@twft.com> You can use break in an if end if structure?? Bob On Jan 18, 2011, at 3:41 AM, Martin Meili wrote: > Hi > I don't know whether I've understood your problem correctly or not. But, just in case, I usually do these things the following way: > > on mouseup > if the hilite of me <> true then > set the hilite of me to true > break > end if > if the hilite of me = true then > set the hilite of me to false > end if > end mouseup > > Make sure that the autohilite property of your button is set to false. > > Cheers > Martin > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revdev at pdslabs.net Tue Jan 18 12:15:10 2011 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 18 Jan 2011 09:15:10 -0800 Subject: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose? In-Reply-To: <0FB82EE140FB49E89BD8A3C17F170771@GATEWAY> References: <0FB82EE140FB49E89BD8A3C17F170771@GATEWAY> Message-ID: <4D35CA9E.9040506@pdslabs.net> I plan to be there. Phil Davis On 1/17/11 3:33 PM, Lynn Fredricks wrote: > Hello all, > > Just checking to see - who all is going this year? Just noticing that its > happening in April 2011, and we are shortly running out of January 2011. > > 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 > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From klaus at major.on-rev.com Tue Jan 18 12:18:19 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 18 Jan 2011 18:18:19 +0100 Subject: Radio Buttons In-Reply-To: <4DEBFF6B-F31B-43EB-9853-06C83BAB3658@twft.com> References: <13DDCE84-6DFC-4A10-A0AA-32EE59C65050@swissonline.ch> <4DEBFF6B-F31B-43EB-9853-06C83BAB3658@twft.com> Message-ID: Hi Bob, > You can use break in an if end if structure?? sure you can! But I won't make sense and will probably throw an error :-D > Bob > > > On Jan 18, 2011, at 3:41 AM, Martin Meili wrote: > >> Hi >> I don't know whether I've understood your problem correctly or not. But, just in case, I usually do these things the following way: >> >> on mouseup >> if the hilite of me <> true then >> set the hilite of me to true >> break >> end if >> if the hilite of me = true then >> set the hilite of me to false >> end if >> end mouseup >> >> Make sure that the autohilite property of your button is set to false. >> >> Cheers >> Martin Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From jimaultwins at yahoo.com Tue Jan 18 12:28:42 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Tue, 18 Jan 2011 09:28:42 -0800 Subject: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose? In-Reply-To: <0FB82EE140FB49E89BD8A3C17F170771@GATEWAY> References: <0FB82EE140FB49E89BD8A3C17F170771@GATEWAY> Message-ID: Plan A for me is to be there and spend a week in the area, a couple days before and after. Also, I think I will be staying at the conference hotel. On Jan 17, 2011, at 3:33 PM, Lynn Fredricks wrote: > Hello all, > > Just checking to see - who all is going this year? Just noticing > that its > happening in April 2011, and we are shortly running out of January > 2011. Jim Ault Las Vegas From andre at andregarzia.com Tue Jan 18 12:23:07 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 18 Jan 2011 15:23:07 -0200 Subject: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose? In-Reply-To: <4D35CA9E.9040506@pdslabs.net> References: <0FB82EE140FB49E89BD8A3C17F170771@GATEWAY> <4D35CA9E.9040506@pdslabs.net> Message-ID: I will go! On Tue, Jan 18, 2011 at 3:15 PM, Phil Davis wrote: > I plan to be there. > Phil Davis > > > > On 1/17/11 3:33 PM, Lynn Fredricks wrote: > >> Hello all, >> >> Just checking to see - who all is going this year? Just noticing that its >> happening in April 2011, and we are shortly running out of January 2011. >> >> 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 >> >> > -- > Phil Davis > > PDS Labs > Professional Software Development > http://pdslabs.net > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From dixonja at hotmail.co.uk Tue Jan 18 12:33:22 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Tue, 18 Jan 2011 17:33:22 +0000 Subject: Contextual menu trouble In-Reply-To: References: <5E79A44810012441A53A465B3EE74C5F5B5A82@server-2.koetsveld.nl>, , , Message-ID: > @John: with the Locktext set to true? > This way I cannot paste into the field. In the script of the field... on mouseDown popUp button 1 end mouseDown popUp button script on menuPick pItemName /* find out which field has been clicked on */ put word 2 of the clickField into theFieldNo switch pItemName case "Paste" /* check that the clipBoard is holding text */ if the clipboard is "text" then /* put the text after whatever is already in the field */ put the clipboarddata after fld theFieldNo else /* if there was no text in the clipBoardData then beep */ beep end if break case "Clear" put empty into fld theFieldNo break end switch end menuPick Does this help ? From pete at mollysrevenge.com Tue Jan 18 12:37:33 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Tue, 18 Jan 2011 09:37:33 -0800 Subject: Radio Buttons In-Reply-To: <13DDCE84-6DFC-4A10-A0AA-32EE59C65050@swissonline.ch> References: <13DDCE84-6DFC-4A10-A0AA-32EE59C65050@swissonline.ch> Message-ID: Thanks to all how replied to my question about radio buttons. Initially I was thinking that radio buttons should behave like checkboxes without having to write a handler but, as various people have pointed out, that's not the "official" way that radio buttons are supposed to be used. It turns out that I could use 2 radio buttons in a group to implement what I was trying to do and that works fine. Thanks, Pete Haworth On Jan 18, 2011, at 3:41 AM, Martin Meili wrote: > Hi > I don't know whether I've understood your problem correctly or not. But, just in case, I usually do these things the following way: > > on mouseup > if the hilite of me <> true then > set the hilite of me to true > break > end if > if the hilite of me = true then > set the hilite of me to false > end if > end mouseup > > Make sure that the autohilite property of your button is set to false. > > Cheers > Martin > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From irog at mac.com Tue Jan 18 12:46:52 2011 From: irog at mac.com (Roger Guay) Date: Tue, 18 Jan 2011 10:46:52 -0700 Subject: Again with RevOnline Problems In-Reply-To: References: Message-ID: <0E2D10E2-E772-424E-BF87-BCEFC26602C4@mac.com> I know there has been a lot of discussion about the unreliablity of uploading to RevOnline, but does anyone know if there is a size limit? Thanks and cheers, Roger Guay From stephenREVOLUTION2 at barncard.com Tue Jan 18 12:53:54 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 18 Jan 2011 11:53:54 -0600 Subject: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose? In-Reply-To: References: <0FB82EE140FB49E89BD8A3C17F170771@GATEWAY> <4D35CA9E.9040506@pdslabs.net> Message-ID: How about Ruslan or Lynn? Are either of you guys going? I am going and I'd like to see a shootout between MySQL and Valentina! Off or on campus! On 18 January 2011 11:23, Andre Garzia wrote: > I will go! > Stephen Barncard San Francisco Ca. USA more about sqb From sataylor at nbnet.nb.ca Tue Jan 18 13:07:26 2011 From: sataylor at nbnet.nb.ca (lowland) Date: Tue, 18 Jan 2011 10:07:26 -0800 (PST) Subject: Progress bar In-Reply-To: <1295369219821-3223451.post@n4.nabble.com> References: <1295293490031-3221250.post@n4.nabble.com> <1295357171694-3221324.post@n4.nabble.com> <1295368409695-3223414.post@n4.nabble.com> <1295369219821-3223451.post@n4.nabble.com> Message-ID: <1295374046389-3223646.post@n4.nabble.com> Hi Andy, This works but when I add "if the hilite of btn "Check2" is true then..." on the next card, the progress bar dose not move and when I un-check on any of the cards the bar shows no progress at all. Steve -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Progress-bar-tp3221250p3223646.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Tue Jan 18 13:18:15 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Jan 2011 12:18:15 -0600 Subject: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose? In-Reply-To: References: <0FB82EE140FB49E89BD8A3C17F170771@GATEWAY> <4D35CA9E.9040506@pdslabs.net> Message-ID: <4D35D967.4030401@hyperactivesw.com> On 1/18/11 11:23 AM, Andre Garzia wrote: > I will go! In that case, me too. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From williamdesmet at gmail.com Tue Jan 18 13:28:12 2011 From: williamdesmet at gmail.com (William de Smet) Date: Tue, 18 Jan 2011 19:28:12 +0100 Subject: Contextual menu trouble In-Reply-To: References: <5E79A44810012441A53A465B3EE74C5F5B5A82@server-2.koetsveld.nl> Message-ID: @John: Thanks for your code and stack. And indeed this works. However when I put everything in a new stack it works but in an existing stack with more fields and button it doesn't :-( Got me puzzled! Thanks again! Greetings, William 2011/1/18 John Dixon : > > > >> @John: with the Locktext set to true? >> This way I cannot paste into the field. > > In the script of the field... > > on mouseDown > ? popUp button 1 > end mouseDown > > popUp button script > > on menuPick pItemName > > ? /* find out which field has been clicked on */ > ? put word 2 of the clickField into theFieldNo > > ? switch pItemName > ? ? ?case "Paste" > ? ? ? ? /* check that the clipBoard is holding text */ > ? ? ? ? if the clipboard is "text" then > ? ? ? ? ? ?/* put the text after whatever is already in the field */ > ? ? ? ? ? ?put the clipboarddata after fld theFieldNo > ? ? ? ? else > ? ? ? ? ? ?/* if there was no text in the clipBoardData then beep */ > ? ? ? ? ? ?beep > ? ? ? ? end if > ? ? ? ? break > > ? ? ?case "Clear" > ? ? ? ? put empty into fld theFieldNo > ? ? ? ? break > > ? end switch > end menuPick > > Does this help ? > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 18 13:31:55 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Jan 2011 12:31:55 -0600 Subject: Cursor lock Message-ID: <4D35DC9B.6010201@hyperactivesw.com> Is anyone else having trouble with the cursor not updating, or sometimes locking, in version 4.5.3? I'm noticing it particularly in the script editor, where the cursor doesn't change when you mouse over different panes or outside the window. I'm also noticing that sometimes clicking on a window doesn't activate it. The message box doesn't update to show the stack name and the window titlebar remains disabled. Just trying to figure out if it's me with a stray "lock messages" command somewhere, or if I can blame it on someone else. OS X Snow Leopard. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mpetrides at earthlink.net Tue Jan 18 13:38:54 2011 From: mpetrides at earthlink.net (Marian Petrides) Date: Tue, 18 Jan 2011 12:38:54 -0600 Subject: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose? In-Reply-To: <4D35D967.4030401@hyperactivesw.com> References: <0FB82EE140FB49E89BD8A3C17F170771@GATEWAY> <4D35CA9E.9040506@pdslabs.net> <4D35D967.4030401@hyperactivesw.com> Message-ID: No money for me to attend :-( On Jan 18, 2011, at 12:18 PM, J. Landman Gay wrote: > On 1/18/11 11:23 AM, Andre Garzia wrote: >> I will go! > > In that case, me too. :) > > -- > 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 bvlahos at mac.com Tue Jan 18 13:43:11 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Tue, 18 Jan 2011 10:43:11 -0800 Subject: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose? In-Reply-To: <137125811031.20110117194345@ahsoftware.net> References: <0FB82EE140FB49E89BD8A3C17F170771@GATEWAY> <137125811031.20110117194345@ahsoftware.net> Message-ID: I'll be at Macworld. Anyone want to get together? Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Jan 17, 2011, at 7:43 PM, Mark Wieder wrote: > Lynn- > > Monday, January 17, 2011, 3:33:13 PM, you wrote: > >> Just checking to see - who all is going this year? Just noticing that its >> happening in April 2011, and we are shortly running out of January 2011. > > I'm going. That'll probably keep some folks away, but I thought it > fair to give you warning. > > And I'm still distressed that there's no mention of the conference on > the website. And hasn't been for some time. I'm assuming the > conference is still on, but you know what they say about assuming. > > Meanwhile, MacWorld Expo is next week. Does anybody care anymore? > > -- > -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 rene.micout at numericable.com Tue Jan 18 13:46:17 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Tue, 18 Jan 2011 19:46:17 +0100 Subject: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose? In-Reply-To: References: <0FB82EE140FB49E89BD8A3C17F170771@GATEWAY> <4D35CA9E.9040506@pdslabs.net> <4D35D967.4030401@hyperactivesw.com> Message-ID: I am not poor but my English is very poor, too poor !!! ;-) Rene(?) Le 18 janv. 2011 ? 19:38, Marian Petrides a ?crit : > No money for me to attend :-( > > On Jan 18, 2011, at 12:18 PM, J. Landman Gay wrote: > >> On 1/18/11 11:23 AM, Andre Garzia wrote: >>> I will go! >> >> In that case, me too. :) >> >> -- >> 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 david at vaudevillecourt.tv Tue Jan 18 13:46:01 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Tue, 18 Jan 2011 18:46:01 +0000 Subject: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose? In-Reply-To: References: <0FB82EE140FB49E89BD8A3C17F170771@GATEWAY> <4D35CA9E.9040506@pdslabs.net> Message-ID: I'll be there! On 18 January 2011 17:23, Andre Garzia wrote: > I will go! > > On Tue, Jan 18, 2011 at 3:15 PM, Phil Davis wrote: > > > I plan to be there. > > Phil Davis > > > > > > > > On 1/17/11 3:33 PM, Lynn Fredricks wrote: > > > >> Hello all, > >> > >> Just checking to see - who all is going this year? Just noticing that > its > >> happening in April 2011, and we are shortly running out of January 2011. > >> > >> 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 > >> > >> > > -- > > Phil Davis > > > > PDS Labs > > Professional Software Development > > http://pdslabs.net > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From kevin at runrev.com Tue Jan 18 13:50:24 2011 From: kevin at runrev.com (Kevin Miller) Date: Tue, 18 Jan 2011 18:50:24 +0000 Subject: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose? In-Reply-To: <2DB823BB-72D6-472F-A4E3-1332009851E1@califex.com> Message-ID: I'll be there! :) Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ LiveCode - Realize fast, compile-free coding From richmondmathewson at gmail.com Tue Jan 18 13:52:07 2011 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 18 Jan 2011 20:52:07 +0200 Subject: Cursor lock In-Reply-To: <4D35DC9B.6010201@hyperactivesw.com> References: <4D35DC9B.6010201@hyperactivesw.com> Message-ID: <4D35E157.4040204@gmail.com> On 01/18/2011 08:31 PM, J. Landman Gay wrote: > Is anyone else having trouble with the cursor not updating, or > sometimes locking, in version 4.5.3? I'm noticing it particularly in > the script editor, where the cursor doesn't change when you mouse over > different panes or outside the window. > > I'm also noticing that sometimes clicking on a window doesn't activate > it. The message box doesn't update to show the stack name and the > window titlebar remains disabled. > > Just trying to figure out if it's me with a stray "lock messages" > command somewhere, or if I can blame it on someone else. > > OS X Snow Leopard. > Down in the undergrowth [i.e. RR 4.0 on a PPC macMini running Tiger] the cursor suddenly turns into what I like to call "the Clariswork clock", or, more accurately " the Mac OS 7 clock" and gets stuck like that. So, this is probably "old cheese". From mpetrides at earthlink.net Tue Jan 18 14:04:56 2011 From: mpetrides at earthlink.net (Marian Petrides) Date: Tue, 18 Jan 2011 13:04:56 -0600 Subject: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose? In-Reply-To: References: Message-ID: <1B763A89-BBAC-486A-8D04-4AE9E252F1FB@earthlink.net> You had BETTER be, young man! :-))) --The Old F*rt On Jan 18, 2011, at 12:50 PM, Kevin Miller wrote: > I'll be there! :) > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ > LiveCode - Realize fast, compile-free coding > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 18 15:13:31 2011 From: DunbarX at aol.com (DunbarX at aol.com) Date: Tue, 18 Jan 2011 15:13:31 EST Subject: Radio Buttons / Break Message-ID: <1206b.32d6b8e9.3a674e6b@aol.com> I am sure Colin could write a much longer handler that does what this one does. on mouseup if the hilite of me <> true then set the hilite of me to true break end if if the hilite of me = true then set the hilite of me to false end if end mouseup Break works OK. It just passes control to the end of the handler. The docs say is acts like "exit", and it does. The way the script is written requires it, because there are two distinct if/then structures, and the second would be invoked regardless of whether or not the first was. Craig Newman > You can use break in an if end if structure?? sure you can! But I won't make sense and will probably throw an error :-D From klaus at major.on-rev.com Tue Jan 18 15:27:27 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 18 Jan 2011 21:27:27 +0100 Subject: Radio Buttons / Break In-Reply-To: <1206b.32d6b8e9.3a674e6b@aol.com> References: <1206b.32d6b8e9.3a674e6b@aol.com> Message-ID: Hi Dunbar, Am 18.01.2011 um 21:13 schrieb DunbarX at aol.com: > I am sure Colin could write a much longer handler that does what this one > does. > > on mouseup > if the hilite of me <> true then > set the hilite of me to true > break > end if > if the hilite of me = true then > set the hilite of me to false > end if > end mouseup > > Break works OK. It just passes control to the end of the handler. The docs > say is acts like "exit", and it does. Could not find this in the docs! > The way the script is written requires it, because there are two distinct > if/then structures, and the second would be invoked regardless of whether or > not the first was. > > Craig Newman > >> You can use break in an if end if structure?? > > sure you can! > But I won't make sense and will probably throw an error :-D Would have bet! :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From davidocoker at gmail.com Tue Jan 18 15:40:58 2011 From: davidocoker at gmail.com (David C.) Date: Tue, 18 Jan 2011 14:40:58 -0600 Subject: Radio Buttons In-Reply-To: References: <13DDCE84-6DFC-4A10-A0AA-32EE59C65050@swissonline.ch> Message-ID: On Tue, Jan 18, 2011 at 11:37 AM, Peter Haworth wrote: > Thanks to all how replied to my question about radio buttons. ?Initially I was thinking that radio buttons should behave like checkboxes without having to write a handler but, as various people have pointed out, that's not the "official" way that radio buttons are supposed to be used. ?It turns out that I could use 2 radio buttons in a group to implement what I was trying to do and that works fine. > Thanks, > > Pete Haworth Awww, shoot..... now you went and took all the fun out of it. As non-standard as it really is, working around issues like that, seems to borders in the same realm as purposely using weird, non-standard colors and even perhaps not always coloring within the lines. Sometimes you do it just because ya can. =) Best regards, David C. From jacque at hyperactivesw.com Tue Jan 18 15:47:48 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Jan 2011 14:47:48 -0600 Subject: Cursor lock In-Reply-To: <4D35E157.4040204@gmail.com> References: <4D35DC9B.6010201@hyperactivesw.com> <4D35E157.4040204@gmail.com> Message-ID: <4D35FC74.5050608@hyperactivesw.com> On 1/18/11 12:52 PM, Richmond wrote: > On 01/18/2011 08:31 PM, J. Landman Gay wrote: >> Is anyone else having trouble with the cursor not updating, or >> sometimes locking, in version 4.5.3? I'm noticing it particularly in >> the script editor, where the cursor doesn't change when you mouse over >> different panes or outside the window. >> >> I'm also noticing that sometimes clicking on a window doesn't activate >> it. The message box doesn't update to show the stack name and the >> window titlebar remains disabled. >> >> Just trying to figure out if it's me with a stray "lock messages" >> command somewhere, or if I can blame it on someone else. >> >> OS X Snow Leopard. >> > > Down in the undergrowth [i.e. RR 4.0 on a PPC macMini running Tiger] the > cursor suddenly > turns into what I like to call "the Clariswork clock", or, more > accurately " the Mac OS 7 clock" > and gets stuck like that. If you mean the rainbow beachball, that's a different thing. Judging from the lack of response, it must be something in my setup. All I can think of is a stray "lock messages" command, but those are supposed to reset at the end of pending handlers and that isn't happening. But if the problem were widespread I guess there'd be all kinds of reports about it. It's incredibly irritating. And here I was hoping it wasn't my fault. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Jan 18 15:48:38 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Jan 2011 14:48:38 -0600 Subject: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose? In-Reply-To: References: Message-ID: <4D35FCA6.1020404@hyperactivesw.com> On 1/18/11 12:50 PM, Kevin Miller wrote: > I'll be there! :) You owe me a keyboard. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at mollysrevenge.com Tue Jan 18 15:56:38 2011 From: pete at mollysrevenge.com (Pete (Molly's Revenge)) Date: Tue, 18 Jan 2011 12:56:38 -0800 Subject: Radio Buttons In-Reply-To: References: <13DDCE84-6DFC-4A10-A0AA-32EE59C65050@swissonline.ch> Message-ID: I haven't given up on it for the future! Pete On Tue, Jan 18, 2011 at 12:40 PM, David C. wrote: > On Tue, Jan 18, 2011 at 11:37 AM, Peter Haworth > wrote: > > Thanks to all how replied to my question about radio buttons. Initially > I was thinking that radio buttons should behave like checkboxes without > having to write a handler but, as various people have pointed out, that's > not the "official" way that radio buttons are supposed to be used. It turns > out that I could use 2 radio buttons in a group to implement what I was > trying to do and that works fine. > > Thanks, > > > > Pete Haworth > > Awww, shoot..... now you went and took all the fun out of it. > As non-standard as it really is, working around issues like that, > seems to borders in the same realm as purposely using weird, > non-standard colors and even perhaps not always coloring within the > lines. > > Sometimes you do it just because ya can. =) > > 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 > > -- Pete Molly's Revenge From richmondmathewson at gmail.com Tue Jan 18 16:17:40 2011 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 18 Jan 2011 23:17:40 +0200 Subject: Cursor lock In-Reply-To: <4D35FC74.5050608@hyperactivesw.com> References: <4D35DC9B.6010201@hyperactivesw.com> <4D35E157.4040204@gmail.com> <4D35FC74.5050608@hyperactivesw.com> Message-ID: <4D360374.4080703@gmail.com> On 01/18/2011 10:47 PM, J. Landman Gay wrote: > On 1/18/11 12:52 PM, Richmond wrote: >> On 01/18/2011 08:31 PM, J. Landman Gay wrote: >>> Is anyone else having trouble with the cursor not updating, or >>> sometimes locking, in version 4.5.3? I'm noticing it particularly in >>> the script editor, where the cursor doesn't change when you mouse over >>> different panes or outside the window. >>> >>> I'm also noticing that sometimes clicking on a window doesn't activate >>> it. The message box doesn't update to show the stack name and the >>> window titlebar remains disabled. >>> >>> Just trying to figure out if it's me with a stray "lock messages" >>> command somewhere, or if I can blame it on someone else. >>> >>> OS X Snow Leopard. >>> >> >> Down in the undergrowth [i.e. RR 4.0 on a PPC macMini running Tiger] the >> cursor suddenly >> turns into what I like to call "the Clariswork clock", or, more >> accurately " the Mac OS 7 clock" >> and gets stuck like that. > > If you mean the rainbow beachball, that's a different thing. Judging > from the lack of response, it must be something in my setup. All I can > think of is a stray "lock messages" command, but those are supposed to > reset at the end of pending handlers and that isn't happening. But if > the problem were widespread I guess there'd be all kinds of reports > about it. It's incredibly irritating. NO! I don't mean the rainbow beachball; I mean a black-and-white clock (which is one of the Livecode cursors, come to think of it). > > And here I was hoping it wasn't my fault. > From DunbarX at aol.com Tue Jan 18 16:23:38 2011 From: DunbarX at aol.com (DunbarX at aol.com) Date: Tue, 18 Jan 2011 16:23:38 EST Subject: Radio Buttons / Break Message-ID: <17dba.1cfec772.3a675eda@aol.com> In a message dated 1/18/11 3:30:03 PM, klaus at major.on-rev.com writes: > > Break works OK. It just passes control to the end of the handler. The > docs > > say is acts like "exit", and it does. > > Could not find this in the docs! > Per the dictionary: The break command should not be used outside a switch structure: such use is nonstandard, so it may not be apparent to whoever reads the code that the use is intentional. If it appears outside a switch structure, it has the same effect as the exit control structure. From ray at linkit.com Tue Jan 18 16:28:07 2011 From: ray at linkit.com (Ray Horsley) Date: Tue, 18 Jan 2011 16:28:07 -0500 Subject: PDF to JPEG Message-ID: <012301cbb756$993726b0$cba57410$@LinkIt.Com> Anybody know of a way to convert a single PDF file (with multiple pages) to multiple JPEG files? Thanks, Ray Horsley LinkIt! Software From klaus at major.on-rev.com Tue Jan 18 16:46:07 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 18 Jan 2011 22:46:07 +0100 Subject: Radio Buttons / Break In-Reply-To: <17dba.1cfec772.3a675eda@aol.com> References: <17dba.1cfec772.3a675eda@aol.com> Message-ID: Hi Dunbar, > In a message dated 1/18/11 3:30:03 PM, klaus at major.on-rev.com writes: >>> Break works OK. It just passes control to the end of the handler. The >>> docs say is acts like "exit", and it does. >> Could not find this in the docs! > > Per the dictionary: > The break command should not be used outside a switch structure: such use > is nonstandard, Ah, I stopped reading right here :-) > so it may not be apparent to whoever reads the code that the > use is intentional. If it appears outside a switch structure, it has the > same effect as the exit control structure. Oh surprise, surprise! But since this is officially not official, I would never use it ;-) And since the engine might not be so forgiving in future releases you should not get used to it anyway! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From scott at tactilemedia.com Tue Jan 18 16:52:46 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 18 Jan 2011 13:52:46 -0800 Subject: Cursor lock In-Reply-To: <4D35DC9B.6010201@hyperactivesw.com> Message-ID: Recently, Jacque Landman Gay wrote: > Is anyone else having trouble with the cursor not updating, or sometimes > locking, in version 4.5.3? I'm noticing it particularly in the script > editor, where the cursor doesn't change when you mouse over different > panes or outside the window. This continues to happen with me, not just with 4.5.3, but for years. And it's not sometimes locking, it's *always* locking (it happened again just 5 minutes ago). I know something is locking the cursor because if I run "unlock cursor" in the message box, the cursor becomes normal again. FWIW, I usually find the script editor is the culprit, but I can't nail down a recipe for it. Now that you say you're affected by this problem, I wonder if some of your stocks are stuck in my machine. Regards, Scott Rossi Creative Director Tactile Media, UX Design From bobs at twft.com Tue Jan 18 16:57:47 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 18 Jan 2011 13:57:47 -0800 Subject: An idea on multithreading implementation Message-ID: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> Hey I had a great idea on how to implement multithreading without jacking up anyone's legacy code. Have LiveCode work along a single thread as usual, but add the keywords "in new thread" to the do command or open stack command. That way someone could invoke a new threaded process, or launch a stack in a new thread etc if they wanted, but not hose anything someone had already written. You could launch a progress bar that you could monitor the state of an operation and provide real feedback for instance, without having to poke your head out of a running command from time to time. Any thoughts? Bob From bobs at twft.com Tue Jan 18 16:59:40 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 18 Jan 2011 13:59:40 -0800 Subject: Cursor lock In-Reply-To: References: Message-ID: I wonder if we should start calling her "Hacque"? o,O Bob On Jan 18, 2011, at 1:52 PM, Scott Rossi wrote: > Recently, Jacque Landman Gay wrote: > >> Is anyone else having trouble with the cursor not updating, or sometimes >> locking, in version 4.5.3? I'm noticing it particularly in the script >> editor, where the cursor doesn't change when you mouse over different >> panes or outside the window. > > This continues to happen with me, not just with 4.5.3, but for years. And > it's not sometimes locking, it's *always* locking (it happened again just 5 > minutes ago). I know something is locking the cursor because if I run > "unlock cursor" in the message box, the cursor becomes normal again. > > FWIW, I usually find the script editor is the culprit, but I can't nail down > a recipe for it. > > Now that you say you're affected by this problem, I wonder if some of your > stocks are stuck in my machine. > > 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 bvg at mac.com Tue Jan 18 17:15:14 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 18 Jan 2011 23:15:14 +0100 Subject: Cursor lock In-Reply-To: <4D35FC74.5050608@hyperactivesw.com> References: <4D35DC9B.6010201@hyperactivesw.com> <4D35E157.4040204@gmail.com> <4D35FC74.5050608@hyperactivesw.com> Message-ID: <470551D0-B875-40A9-BB67-17182A49E265@mac.com> I had this several times. the script editor also often gets stuck on resize mode, despite the mouse being clicked on the field or another object that is not the resize triangle. just now the script editors backgroundcolor was set to white when i opened it, and the mosue was stuck at the pane-resizing icon (two paralell lines with arrows pointing left and right). had to change tool for the cursor, reopen editor for the background color. On 18 Jan 2011, at 21:47, J. Landman Gay wrote: > On 1/18/11 12:52 PM, Richmond wrote: >> On 01/18/2011 08:31 PM, J. Landman Gay wrote: >>> Is anyone else having trouble with the cursor not updating, or >>> sometimes locking, in version 4.5.3? I'm noticing it particularly in >>> the script editor, where the cursor doesn't change when you mouse over >>> different panes or outside the window. >>> >>> I'm also noticing that sometimes clicking on a window doesn't activate >>> it. The message box doesn't update to show the stack name and the >>> window titlebar remains disabled. >>> >>> Just trying to figure out if it's me with a stray "lock messages" >>> command somewhere, or if I can blame it on someone else. >>> >>> OS X Snow Leopard. >>> >> >> Down in the undergrowth [i.e. RR 4.0 on a PPC macMini running Tiger] the >> cursor suddenly >> turns into what I like to call "the Clariswork clock", or, more >> accurately " the Mac OS 7 clock" >> and gets stuck like that. > > If you mean the rainbow beachball, that's a different thing. Judging from the lack of response, it must be something in my setup. All I can think of is a stray "lock messages" command, but those are supposed to reset at the end of pending handlers and that isn't happening. But if the problem were widespread I guess there'd be all kinds of reports about it. It's incredibly irritating. > > And here I was hoping it wasn't my fault. > > -- > 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 Tue Jan 18 17:17:45 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Jan 2011 16:17:45 -0600 Subject: Cursor lock In-Reply-To: References: Message-ID: <4D361189.7080404@hyperactivesw.com> On 1/18/11 3:52 PM, Scott Rossi wrote: > Recently, Jacque Landman Gay wrote: > >> Is anyone else having trouble with the cursor not updating, or sometimes >> locking, in version 4.5.3? I'm noticing it particularly in the script >> editor, where the cursor doesn't change when you mouse over different >> panes or outside the window. > > This continues to happen with me, not just with 4.5.3, but for years. And > it's not sometimes locking, it's *always* locking (it happened again just 5 > minutes ago). I know something is locking the cursor because if I run > "unlock cursor" in the message box, the cursor becomes normal again. Yeah, I've had that too but not as persistent as it is now. I'm also used to the thing where you sometimes have to move the cursor outside the script window to get it to reset. But now it's a little different than that. It still does its share of locking, but sometimes unlocking doesn't fix it -- it's like the cursor isn't locked but it isn't getting update info. The biggest difference is how I can't get a window to focus. Sometimes if I click on a different window and then back again, it will. Sometimes it won't. Sometimes if I click in the titlebar instead of the window content, it will focus. Sometimes it won't. That's new behavior. > FWIW, I usually find the script editor is the culprit, but I can't nail down > a recipe for it. Certainly more common there. Since I have it open almost all the time, it's hard to say. The window focus problem may not be the script editor though. I need to pay more attention. > > Now that you say you're affected by this problem, I wonder if some of your > stocks are stuck in my machine. I did wash some socks that contained a tiny camera, but I wasn't aiming for your house. Sorry about that. Once they leave the dryer I have no more control. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Jan 18 17:20:11 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Jan 2011 16:20:11 -0600 Subject: Cursor lock In-Reply-To: <4D360374.4080703@gmail.com> References: <4D35DC9B.6010201@hyperactivesw.com> <4D35E157.4040204@gmail.com> <4D35FC74.5050608@hyperactivesw.com> <4D360374.4080703@gmail.com> Message-ID: <4D36121B.8070702@hyperactivesw.com> On 1/18/11 3:17 PM, Richmond wrote: > NO! I don't mean the rainbow beachball; I mean a black-and-white clock > (which is one of the Livecodecursors, come to think of it). Oh, okay. That's the "watch" cursor, of HC legacy fame. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Tue Jan 18 17:23:11 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 18 Jan 2011 14:23:11 -0800 Subject: Cursor lock In-Reply-To: <470551D0-B875-40A9-BB67-17182A49E265@mac.com> References: <4D35DC9B.6010201@hyperactivesw.com> <4D35E157.4040204@gmail.com> <4D35FC74.5050608@hyperactivesw.com> <470551D0-B875-40A9-BB67-17182A49E265@mac.com> Message-ID: Let's start looking for common things. Anyone using an alternate debugger? An alternate script editor? How about everyone having this problem remove all add-ons and start up LiveCode again and see if it persists. Sorry, I'm a troubleshooter. Bob On Jan 18, 2011, at 2:15 PM, Bj?rnke von Gierke wrote: > I had this several times. the script editor also often gets stuck on resize mode, despite the mouse being clicked on the field or another object that is not the resize triangle. > > just now the script editors backgroundcolor was set to white when i opened it, and the mosue was stuck at the pane-resizing icon (two paralell lines with arrows pointing left and right). had to change tool for the cursor, reopen editor for the background color. > > On 18 Jan 2011, at 21:47, J. Landman Gay wrote: > >> On 1/18/11 12:52 PM, Richmond wrote: >>> On 01/18/2011 08:31 PM, J. Landman Gay wrote: >>>> Is anyone else having trouble with the cursor not updating, or >>>> sometimes locking, in version 4.5.3? I'm noticing it particularly in >>>> the script editor, where the cursor doesn't change when you mouse over >>>> different panes or outside the window. >>>> >>>> I'm also noticing that sometimes clicking on a window doesn't activate >>>> it. The message box doesn't update to show the stack name and the >>>> window titlebar remains disabled. >>>> >>>> Just trying to figure out if it's me with a stray "lock messages" >>>> command somewhere, or if I can blame it on someone else. >>>> >>>> OS X Snow Leopard. >>>> >>> >>> Down in the undergrowth [i.e. RR 4.0 on a PPC macMini running Tiger] the >>> cursor suddenly >>> turns into what I like to call "the Clariswork clock", or, more >>> accurately " the Mac OS 7 clock" >>> and gets stuck like that. >> >> If you mean the rainbow beachball, that's a different thing. Judging from the lack of response, it must be something in my setup. All I can think of is a stray "lock messages" command, but those are supposed to reset at the end of pending handlers and that isn't happening. But if the problem were widespread I guess there'd be all kinds of reports about it. It's incredibly irritating. >> >> And here I was hoping it wasn't my fault. >> >> -- >> 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 bvg at mac.com Tue Jan 18 17:31:16 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 18 Jan 2011 23:31:16 +0100 Subject: Cursor lock In-Reply-To: References: <4D35DC9B.6010201@hyperactivesw.com> <4D35E157.4040204@gmail.com> <4D35FC74.5050608@hyperactivesw.com> <470551D0-B875-40A9-BB67-17182A49E265@mac.com> Message-ID: The common thing is most likely mac os x and LC. I for example do not use invasive additions at all. The script editor resizes itself randomly between closing and opening, due to the engine menu bug. The menu bug has been around since Rev 1.1 and even earlier. Unfortunately, there's lots of focus changes on Mac OS X that LC can't handle, mostly expos? or spaces stuff. Meanwhile, the script editor assumes it always knows it's own focus state, which is most likely producing all these weird behaviours. This has been the case since it first was introduced. Unfortunately, the developer of the script editor normally works on Windows, and the engine will in the mid-term not be adjusted to catch all focus-ins and -outs properly. On 18 Jan 2011, at 23:23, Bob Sneidar wrote: > Let's start looking for common things. Anyone using an alternate debugger? An alternate script editor? How about everyone having this problem remove all add-ons and start up LiveCode again and see if it persists. Sorry, I'm a troubleshooter. > > Bob > > > On Jan 18, 2011, at 2:15 PM, Bj?rnke von Gierke wrote: > >> I had this several times. the script editor also often gets stuck on resize mode, despite the mouse being clicked on the field or another object that is not the resize triangle. >> >> just now the script editors backgroundcolor was set to white when i opened it, and the mosue was stuck at the pane-resizing icon (two paralell lines with arrows pointing left and right). had to change tool for the cursor, reopen editor for the background color. >> >> On 18 Jan 2011, at 21:47, J. Landman Gay wrote: >> >>> On 1/18/11 12:52 PM, Richmond wrote: >>>> On 01/18/2011 08:31 PM, J. Landman Gay wrote: >>>>> Is anyone else having trouble with the cursor not updating, or >>>>> sometimes locking, in version 4.5.3? I'm noticing it particularly in >>>>> the script editor, where the cursor doesn't change when you mouse over >>>>> different panes or outside the window. >>>>> >>>>> I'm also noticing that sometimes clicking on a window doesn't activate >>>>> it. The message box doesn't update to show the stack name and the >>>>> window titlebar remains disabled. >>>>> >>>>> Just trying to figure out if it's me with a stray "lock messages" >>>>> command somewhere, or if I can blame it on someone else. >>>>> >>>>> OS X Snow Leopard. >>>>> >>>> >>>> Down in the undergrowth [i.e. RR 4.0 on a PPC macMini running Tiger] the >>>> cursor suddenly >>>> turns into what I like to call "the Clariswork clock", or, more >>>> accurately " the Mac OS 7 clock" >>>> and gets stuck like that. >>> >>> If you mean the rainbow beachball, that's a different thing. Judging from the lack of response, it must be something in my setup. All I can think of is a stray "lock messages" command, but those are supposed to reset at the end of pending handlers and that isn't happening. But if the problem were widespread I guess there'd be all kinds of reports about it. It's incredibly irritating. >>> >>> And here I was hoping it wasn't my fault. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Jan 18 17:34:47 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Jan 2011 16:34:47 -0600 Subject: Cursor lock In-Reply-To: References: <4D35DC9B.6010201@hyperactivesw.com> <4D35E157.4040204@gmail.com> <4D35FC74.5050608@hyperactivesw.com> <470551D0-B875-40A9-BB67-17182A49E265@mac.com> Message-ID: <4D361587.8060804@hyperactivesw.com> On 1/18/11 4:23 PM, Bob Sneidar wrote: > Let's start looking for common things. Anyone using an alternate > debugger? An alternate script editor? How about everyone having this > problem remove all add-ons and start up LiveCode again and see if it > persists. Sorry, I'm a troubleshooter. None of the above. I have a couple custom plugins but they've been installed since the dawn of RR, and they don't do anything unless I specifically choose them. Which I haven't. What I'm working on now uses libURL a lot though. That hasn't been a problem in the past, and it isn't active while I'm scripting/debugging ...I don't think. At least it shouldn't be. I got something similar to Bjornke's problem the other day. The script editor stuck in "select" mode, even though the mouse wasn't down, and moving it continued to hilite text. I fixed it by clicking on another window and then back again. But that does seem to indicate that some mouse messages are getting lost. The problem is, none of this is reproducible on demand. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Jan 18 17:36:38 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Jan 2011 16:36:38 -0600 Subject: Cursor lock In-Reply-To: <470551D0-B875-40A9-BB67-17182A49E265@mac.com> References: <4D35DC9B.6010201@hyperactivesw.com> <4D35E157.4040204@gmail.com> <4D35FC74.5050608@hyperactivesw.com> <470551D0-B875-40A9-BB67-17182A49E265@mac.com> Message-ID: <4D3615F6.3050200@hyperactivesw.com> On 1/18/11 4:15 PM, Bj?rnke von Gierke wrote: > just now the script editors backgroundcolor was set to white when i > opened it, and the mosue was stuck at the pane-resizing icon (two > paralell lines with arrows pointing left and right). had to change > tool for the cursor, reopen editor for the background color. Yes, I see that one a whole lot. Editing text with the pane-resizer cursor is a challenge. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dam-pro.girard at laposte.net Tue Jan 18 17:38:27 2011 From: dam-pro.girard at laposte.net (Damien Girard) Date: Tue, 18 Jan 2011 23:38:27 +0100 Subject: An idea on multithreading implementation In-Reply-To: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> References: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> Message-ID: <000601cbb760$6c81cb20$45856160$@girard@laposte.net> I like the idea and that would be awesome, but the Runrev team will have a lot of fun to implement this lol Damien -----Message d'origine----- De?: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] De la part de Bob Sneidar Envoy??: mardi 18 janvier 2011 22:58 ??: How to use LiveCode Objet?: An idea on multithreading implementation Hey I had a great idea on how to implement multithreading without jacking up anyone's legacy code. Have LiveCode work along a single thread as usual, but add the keywords "in new thread" to the do command or open stack command. That way someone could invoke a new threaded process, or launch a stack in a new thread etc if they wanted, but not hose anything someone had already written. You could launch a progress bar that you could monitor the state of an operation and provide real feedback for instance, without having to poke your head out of a running command from time to time. Any thoughts? 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 From jacque at hyperactivesw.com Tue Jan 18 17:41:51 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Jan 2011 16:41:51 -0600 Subject: Cursor lock In-Reply-To: References: <4D35DC9B.6010201@hyperactivesw.com> <4D35E157.4040204@gmail.com> <4D35FC74.5050608@hyperactivesw.com> <470551D0-B875-40A9-BB67-17182A49E265@mac.com> Message-ID: <4D36172F.9070204@hyperactivesw.com> On 1/18/11 4:31 PM, Bj?rnke von Gierke wrote: > Unfortunately, there's lots of focus changes on Mac OS X that LC > can't handle, mostly expos? or spaces stuff. Meanwhile, the script > editor assumes it always knows it's own focus state, which is most > likely producing all these weird behaviours. I hadn't thought of that. I've been using Spaces lately, which I usually don't do. I wonder if changing desktops is the problem. I'll have to experiment. I think you are on to something. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mcgrath3 at mac.com Tue Jan 18 17:55:53 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 18 Jan 2011 17:55:53 -0500 Subject: usb driver problem In-Reply-To: <774CAC87-F933-4538-8B2D-876D89F3899C@fiberworld.nl> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D33DC81.3040805@hyperactivesw.com> <589AD6FD-E045-4D27-9950-F244B0794690@mac.com> <4D34A32C.3030702@hyperactivesw.com> <8B27D88C-B957-48F0-99B2-5303CA6E9EA7@twft.com> <4D34A9DC.4060302@hyperactivesw.com> <774CAC87-F933-4538-8B2D-876D89F3899C@fiberworld.nl> Message-ID: Claudi, yes and No. There is a driver that gets loaded on Leopard but it is not loaded in snow Leopard. They changed the way the Arduino Uno gets connected. "Open up the serial monitor (or any other terminal program) and use single-keystroke commands to control stepper motor speed, direction, and power." This is a snippet from a motor Controller board but the hint here is that the terminal program can access and send serial commands so maybe that is a way around this issue. The Snow Leopard way is that the Arduino shows up in Network Pane as a Modem. But it does not show up as one of the serial ports in Sarah's Serial Test project. I can install the Leopard driver and try that and or try the direct terminal and see about that next. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 18, 2011, at 5:06 AM, Claudi Cornaz wrote: > Hi Thomas, > > I just ordered a arduino yesterday and hope to have it tommorow. > I sure hope this can be solved. (Well I am very positive about that, one way or another, that's why I ordered one anyway) > > I have been looking on the web. I guess you did this already but just in case, here are some links > http://www.patokeefe.com/archives/316 > http://ricardo-dias.com/node/130 > http://code.google.com/p/xcode-arduino-serial-communication/ > > and in the livecode forum there is a thread about the arduino and apparently mmiele got it working : > > by mmiele ? Sat Dec 06, 2008 10:25 am > > I used MacOS Tiger and then Leopard. > > What you need is: > > 1 - download and install from the Arduino site (http://www.arduino.cc) the Arduino SDK. > > 2 - download and install from the Arduino site or the FTDI site (http://www.ftdichip.com) the driver to see the Arduino USB as a serial port. > > 3 - connect the arduino board to an USB port of your Mac. > > You will see is a new entry in the list of serial devices. > You can get the list reading the "driverNames" property: ex. > > put the driverNames into field "serialPorts". > > You can get a useful stack to test serial communication at > > http://www.troz.net/Rev/tutorials.php > > The stack is SerialTest.rev > mmiele > > Posts: 17 > Joined: Sun Jan 21, 2007 12:25 pm > Location: Naples, Italy > > > this is from: http://forums.runrev.com/phpBB2/viewtopic.php?f=14&t=2419 > > I hope you can get it working quickly and otherwise I will join your efford as soon as my arduino arrives. > > > Best wishes, > Claudi > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 18 17:56:05 2011 From: DunbarX at aol.com (DunbarX at aol.com) Date: Tue, 18 Jan 2011 17:56:05 EST Subject: Cursor lock Message-ID: <1f0fc.6a1ecb9e.3a677485@aol.com> I have my share of site-specific annoyances. But I have never seen this cursor thing. I wasn't sure what everyone was even talking about for a while... Craig Newman From capellan2000 at gmail.com Tue Jan 18 17:57:36 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 18 Jan 2011 14:57:36 -0800 (PST) Subject: Using Shell to run a DOS program In-Reply-To: <954A2D40-4CE6-419D-9916-AB6831025094@twft.com> References: <75229CD1-A84B-49AA-BC60-E7A1AE0371E6@economy-x-talk.com> <1295297271924-3221259.post@n4.nabble.com> <954A2D40-4CE6-419D-9916-AB6831025094@twft.com> Message-ID: <1295391456727-3224197.post@n4.nabble.com> Hi Bob, Alejandro wrote: > Now, my curiosity is awakened with your answer. > How do you test a Dos program using Mac OS X? Bob answers: >>You cannot. Even an emulator would be isolated from the Mac OS X system. Previously, I believed that Mac OS X developers have an stable version of the software named Wine, useful to run Windows applications: http://wiki.winehq.org/MacOSX http://helpdeskgeek.com/linux-tips/run-windows-programs-in-ubuntu-10-04/ Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Using-Shell-to-run-a-DOS-program-tp3220717p3224197.html Sent from the Revolution - User mailing list archive at Nabble.com. From jim at d-film.com Tue Jan 18 18:01:28 2011 From: jim at d-film.com (Jim Kanter) Date: Tue, 18 Jan 2011 18:01:28 -0500 Subject: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose? In-Reply-To: <4D35FCA6.1020404@hyperactivesw.com> References: <4D35FCA6.1020404@hyperactivesw.com> Message-ID: I would love to attend one but this year it falls on my 20th wedding anniversary and I'd like to get to the 21st! Jim From bobs at twft.com Tue Jan 18 18:25:32 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 18 Jan 2011 15:25:32 -0800 Subject: DragDrop and the DragDestination Message-ID: Well this is odd... I am dragging from one datagrid to another. In the script of the destination datagrid, I have a DragDrop handler. In that script I put the dragDestination into a variable, then put the variable into the message box. This is what I get: graphic id 80637 of group id 80636 of group id 80631 of card id 80619 of stack "/Users/bobsneidar/Documents/LiveCode Stacks/Logos Help Desk.rev" Why in the WORLD would I be getting a graphic ID?? I should mention that the datagrid is empty, so hmmm is it because there is no actual field that I am dropping onto? That is really weird then, because that would mean I can never drop data onto an empty datagrid and get the row and column I dropped data on to. Bob From bobs at twft.com Tue Jan 18 18:26:27 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 18 Jan 2011 15:26:27 -0800 Subject: An idea on multithreading implementation In-Reply-To: <000601cbb760$6c81cb20$45856160$@girard@laposte.net> References: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> <000601cbb760$6c81cb20$45856160$@girard@laposte.net> Message-ID: <5DD63337-C3DC-4604-8821-9B977357C481@twft.com> There is no more RunRev team. It's the LiveCode team now! Maybe they will be more receptive to the idea... ;-) Bob On Jan 18, 2011, at 2:38 PM, Damien Girard wrote: > > I like the idea and that would be awesome, but the Runrev team will have a > lot of fun to implement this lol > > Damien From bobs at twft.com Tue Jan 18 18:31:11 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 18 Jan 2011 15:31:11 -0800 Subject: Using Shell to run a DOS program In-Reply-To: <1295391456727-3224197.post@n4.nabble.com> References: <75229CD1-A84B-49AA-BC60-E7A1AE0371E6@economy-x-talk.com> <1295297271924-3221259.post@n4.nabble.com> <954A2D40-4CE6-419D-9916-AB6831025094@twft.com> <1295391456727-3224197.post@n4.nabble.com> Message-ID: <2D7D7BD1-9232-4989-99AF-7B6CA9C794A1@twft.com> Right, but how is OS X going to get access to the VM and send a DOS command? Unless Wine has a way for the Mac OS to communicate with the VM os for just that purpose... I guess I am taking the words "using Mac OS X" a bit too literally. You could run DOS in a VM, but you would not be using Mac OS X to test the DOS program. You would be using DOS. I envisioned you using the terminal to send DOS commands to an emulator. Maybe I think too much. Bob On Jan 18, 2011, at 2:57 PM, Alejandro Tejada wrote: > > Hi Bob, > > Alejandro wrote: >> Now, my curiosity is awakened with your answer. >> How do you test a Dos program using Mac OS X? > > Bob answers: >>> You cannot. Even an emulator would be isolated from the Mac OS X system. > > Previously, I believed that Mac OS X developers have an stable version of > the software named Wine, useful to run Windows applications: > http://wiki.winehq.org/MacOSX > http://helpdeskgeek.com/linux-tips/run-windows-programs-in-ubuntu-10-04/ > > Alejandro > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Using-Shell-to-run-a-DOS-program-tp3220717p3224197.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 jperryl at ecs.fullerton.edu Tue Jan 18 18:40:34 2011 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 18 Jan 2011 15:40:34 -0800 (PST) Subject: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose? In-Reply-To: <137125811031.20110117194345@ahsoftware.net> References: <0FB82EE140FB49E89BD8A3C17F170771@GATEWAY> <137125811031.20110117194345@ahsoftware.net> Message-ID: On Mon, 17 Jan 2011, Mark Wieder wrote: > Lynn- > > Monday, January 17, 2011, 3:33:13 PM, you wrote: > >> Just checking to see - who all is going this year? Just noticing that its >> happening in April 2011, and we are shortly running out of January 2011. > > I'm going. That'll probably keep some folks away, but I thought it > fair to give you warning. --haha, you too? I'm in. ;-) Judy From zryip.theslug at gmail.com Tue Jan 18 18:50:55 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 19 Jan 2011 00:50:55 +0100 Subject: DragDrop and the DragDestination In-Reply-To: References: Message-ID: On Wed, Jan 19, 2011 at 12:25 AM, Bob Sneidar wrote: > Well this is odd... > > I am dragging from one datagrid to another. > > In the script of the destination datagrid, I have a DragDrop handler. In that script I put the dragDestination into a variable, then put the variable into the message box. This is what I get: > > graphic id 80637 of group id 80636 of group id 80631 of card id 80619 of stack "/Users/bobsneidar/Documents/LiveCode Stacks/Logos Help Desk.rev" > > Why in the WORLD would I be getting a graphic ID?? I should mention that the datagrid is empty, so hmmm is it because there is no actual field that I am dropping onto? That is really weird then, because that would mean I can never drop data onto an empty datagrid and get the row and column I dropped data on to. Hi Bob, You're right, a datagrid is built on the fly (especially when is cache control property is set to false), so when there is no data, there is no field in the datagrid. You could add a test like this one for adding data when a datagrid is empty: if (the dgDataControl of the target is empty) then add an empty line copy the data end if And have a look to the experiment 19, if you missed it: http://www.aslugontheroad.co.cc/index.php?option=com_phocadownload&view=category&download=19:experiment-19-drag-drop-in-dg-replacing-a-value-in-a-column&id=7:data-grid&Itemid=63 Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From massung at gmail.com Tue Jan 18 18:57:35 2011 From: massung at gmail.com (Jeff Massung) Date: Tue, 18 Jan 2011 16:57:35 -0700 Subject: An idea on multithreading implementation In-Reply-To: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> References: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> Message-ID: On Tue, Jan 18, 2011 at 2:57 PM, Bob Sneidar wrote: > Hey I had a great idea on how to implement multithreading without jacking > up anyone's legacy code. Have LiveCode work along a single thread as usual, > but add the keywords "in new thread" to the do command or open stack > command. That way someone could invoke a new threaded process, or launch a > stack in a new thread etc if they wanted, but not hose anything someone had > already written. You could launch a progress bar that you could monitor the > state of an operation and provide real feedback for instance, without having > to poke your head out of a running command from time to time. > > Any thoughts? > > Multi-threading is mutli-threading. The problems exist regardless of the format/syntax. At the end of the day it comes down to thread safety manipulating properties and the most commonly used data control in the toolbox: the field. (This is coming from someone who does MT programming all the time). Plus, I don't think the average LC developer wants to even -think- about locks, mutexes, semaphores, etc. ;-) I - personally - would be much happier if two things were done: *** Make LC multi-threaded internally where possible (honestly, it might be already and at the end of the day I don't care if hamsters are powering the engine if it runs fast... but due to a few oddities, I think it's fair to say that it isn't MT in it's current form). Primarily I think debugging would benefit from being completely separated (thread-wise) from engine code; there's been several times a stack will just hang and I have to kill the process. Wanna see it in action? Put a breakpoint in the stackResize handler. *** Create a timer control or some method of doing the same thing in code. It can be sort of simulated right now like so: send "foo" to me in 5 seconds on foo ... do stuff ... send "foo" to me in 5 seconds end But this has issues (for example, if I have a bug in "foo" so I fail to send again, or I hit a breakpoint in "foo" and have to stop execution), and sometimes I want to be able to pause send messages, etc. Being able to just create an interval that responds well to various situations would be very desirable: send "foo" to me every 5 seconds ## done! suspend the result ## the message is paused temporarily resume the result ## the message will continue from where it left off Those few things would be very useful to me. Jeff M. From alex at tweedly.net Tue Jan 18 20:00:04 2011 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 19 Jan 2011 01:00:04 +0000 Subject: An idea on multithreading implementation In-Reply-To: References: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> Message-ID: <4D363794.9000209@tweedly.net> Other than the issue of hitting a breakpoint, can't you simulate this very closely already. on addToTimers pMessage, pObject, pFrequency -- store this info put pFrequency &TAB& pMessage &TAB& pObject &TAB& pFrequency & CR after sTimerList end addToTimers on removeFromTimers pObject -- remove from stored list -- details left as an exercise end removeFromTimers pObject on pauseTimers put false into gTimersAreActive end pauseTimers on repetitivelyFireTimers put empty into tNewList if gTimersAreActive then repeat for each line L in sTimerList subtract 1 from item 1 of L if item 1 of L = 0 then send item 2 of L to item 3 of L put item 4 of L into item 1 of L end if put L & CR after tNewList end repeat put tNewList into sTimerList end if send "repetitivelyFireTimers" to me in 1 second end repetitivelyFireTimers P.S. of course, there should be error checking, and you could handle sub-second (or non-integer second) timers as well - but this general idea P.P.S I just typed the above script lines in - not tested, not a technique I generally use. -- Alex. end repetitivelyFireTimers On 18/01/2011 23:57, Jeff Massung wrote: > > I - personally - would be much happier if two things were done: > *** Create a timer control or some method of doing the same thing in code. > It can be sort of simulated right now like so: > > send "foo" to me in 5 seconds > > on foo > ... do stuff ... > send "foo" to me in 5 seconds > end > > But this has issues (for example, if I have a bug in "foo" so I fail to send > again, or I hit a breakpoint in "foo" and have to stop execution), and > sometimes I want to be able to pause send messages, etc. Being able to just > create an interval that responds well to various situations would be very > desirable: > > send "foo" to me every 5 seconds ## done! > > suspend the result ## the message is paused temporarily > resume the result ## the message will continue from where it left off > > Those few things would be very useful to me. > > Jeff M. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 18 20:05:16 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 18 Jan 2011 17:05:16 -0800 Subject: An idea on multithreading implementation In-Reply-To: References: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> Message-ID: <61426695-31A4-47A0-B069-E7E908033476@twft.com> Well my thought was that LC would benefit hugely if 2 or more stacks could be running in their own thread. Take for example an accounting app. Normally you could have the Customer Entry form open, and the Accounts Receivable window open in most well written apps. Sure you could in LC too... so long as one of the windows was not in the process of doing anything, like oh say compiling data for a really large report. Under those circumstances, it would not be possible to have LC do this because while that process was going on the other window would be unresponsive. This is one of the things holding LC back from being a true enterprise development environment. I dunno, maybe we don't want to go there. But if it were not too much trouble for the dev team to implement some basic form of multithreading on demand, for those who need it, it could be available, and for those who don't, well LC would just run the way it always has. Maybe I am using the wrong term here. Often in Windows an application will open multiple instances of an application, and each instance will be it's own process. An explorer window for example is it's own instance of Windows Explorer, and runs on it's own regardless of what the other window is doing. If that is not multithreading, then I am talking about something else. Bob On Jan 18, 2011, at 3:57 PM, Jeff Massung wrote: > Multi-threading is mutli-threading. The problems exist regardless of the > format/syntax. > > At the end of the day it comes down to thread safety manipulating properties > and the most commonly used data control in the toolbox: the field. (This is > coming from someone who does MT programming all the time). Plus, I don't > think the average LC developer wants to even -think- about locks, mutexes, > semaphores, etc. ;-) From ambassador at fourthworld.com Tue Jan 18 20:09:12 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 18 Jan 2011 17:09:12 -0800 Subject: An idea on multithreading implementation Message-ID: <4D3639B8.1030202@fourthworld.com> Bob Sneidar wrote: > Well my thought was that LC would benefit hugely if 2 or more stacks > could be running in their own thread. Take for example an accounting > app. Normally you could have the Customer Entry form open, and the > Accounts Receivable window open in most well written apps. Sure you > could in LC too... so long as one of the windows was not in the > process of doing anything, like oh say compiling data for a really > large report. If RunRev would reenable being able to run an app from the command line, conceivably you could run the report processing using a second standalone facelessly. Sure, it's a bit of a kludge, but would be dirt-simple to implement, and wouldn't expose the treachery of race conditions to the masses. :) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From kee at kagi.com Tue Jan 18 20:16:01 2011 From: kee at kagi.com (Kee Nethery) Date: Tue, 18 Jan 2011 17:16:01 -0800 Subject: An idea on multithreading implementation In-Reply-To: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> References: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> Message-ID: My two cents on how Livecode could implement this is to mimic the get URL and URLstatus functionality paired with functions. For example: This is a simple pseudo-code example of calling a threaded function 7 times and then waiting until all 7 threads are complete: on domythreads global lat,long,countryName put myThreadFunction(1,lat[1],long[1]) into countryName[1] put myThreadFunction(2,lat[2],long[2]) into countryName[2] put myThreadFunction(3,lat[3],long[3]) into countryName[3] put myThreadFunction(4,lat[4],long[4]) into countryName[4] put myThreadFunction(5,lat[5],long[5]) into countryName[5] put myThreadFunction(6,lat[6],long[6]) into countryName[6] put myThreadFunction(7,lat[7],long[7]) into countryName[7] repeat until threadStatus(1) = "complete" \ and threadStatus(2) = "complete" \ and threadStatus(3) = "complete" \ and threadStatus(4) = "complete" \ and threadStatus(5) = "complete" \ and threadStatus(6) = "complete" \ and threadStatus(7) = "complete" wait 1 second end repeat end domythreads This is what I envision the generic thread call looks like, similar to a function except it has a unique ID and it cannot use globals or data in the stack. Everything it is going to use has to be passed into it as a parameter. thread myThreadFunction requiredThreadIdParameter, optionalThreadParameter1, optionalThreadParameter2, etc. set threadStatus = "started" -- allow the thread to communicate while it is working do stuff call functions in the stack that do not have globals nor use data stored in the stack send to commands to objects in the stack that do not have globals nor use data stored in the stack no reads or writes from any field or button data stored in the stack set threadStatus = "almost done" OK to get or write stuff from/to external things like URLs or serial ports or files package up a result return allTheResults -- after the return the status goes to "complete" end thread The way I see it, thread is like a function. You give it a unique ID (requiredThreadIdParameter) and then call it with the parameters you want it to have. What would happen next is Livecode would execute the scripts using the scripts in the stacks that are marked as thread safe using the data provided as parameters. The other part to this is the threadStatus function. In the above example the code just looks for the status to be complete but since the thread can set threadStatus, the main program can watch it's progress. I guess my final thread request would be a way to kill a thread that has gone rogue. For example, perhaps a function like killThread(requiredThreadIdParameter) As I see it, each function or command (or thread) in a script would get a marker declaring it thread safe or not. A thread could only call thread safe code. If the code had a global in it, not thread safe. if the code looked in a field, not thread safe. Anyway that's my two cents on multithreading if I ruled the Livecode world. Seems like it would be easy enough to implement in the existing code base but still quite powerful. I do something similar to this with URLs. A stack running as a HTTP server / cgi gets hit and it doles out a bunch of URL requests to various other servers. All those servers work in parallel and when they are done and the urlStatus for each request is "cached", I grab the results and return a summary to the client. Kee Nethery not holding my breath. From andre at andregarzia.com Tue Jan 18 20:16:06 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 18 Jan 2011 23:16:06 -0200 Subject: An idea on multithreading implementation In-Reply-To: <4D3639B8.1030202@fourthworld.com> References: <4D3639B8.1030202@fourthworld.com> Message-ID: On Tue, Jan 18, 2011 at 11:09 PM, Richard Gaskin wrote: > Bob Sneidar wrote: > > Well my thought was that LC would benefit hugely if 2 or more stacks > > could be running in their own thread. Take for example an accounting > > app. Normally you could have the Customer Entry form open, and the > > Accounts Receivable window open in most well written apps. Sure you > > could in LC too... so long as one of the windows was not in the > > process of doing anything, like oh say compiling data for a really > > large report. > > If RunRev would reenable being able to run an app from the command line, > conceivably you could run the report processing using a second standalone > facelessly. > > Sure, it's a bit of a kludge, but would be dirt-simple to implement, and > wouldn't expose the treachery of race conditions to the masses. :) > > been there but it is hard to exchange messages between the instances... :-/ > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From bobs at twft.com Tue Jan 18 20:16:57 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 18 Jan 2011 17:16:57 -0800 Subject: An idea on multithreading implementation In-Reply-To: <4D363794.9000209@tweedly.net> References: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> <4D363794.9000209@tweedly.net> Message-ID: <471FA376-E801-4964-BBA3-34DD9CD10C62@twft.com> This "seems" to work because you are envisioning each call to a command or function in time as running separately. This is an illusion. If any of the commands or functions take longer than one second, say 5 seconds, your calling command will not get control back until the other is done. Because things run so fast in LC and people rarely write code that takes really long times to execute, this is normally not a problem. Where it shows up is when you are processing a lot of things, and you want to show some kind of progress bar. Well you can't, unless your process involves a loop and you can make calls to update your progress bar inside that loop. But say you were accessing a very large database remotely, and each call to the database took several seconds. Then parsing the data took another couple. Then formatting and printing the report took another 10. Even if you used a send in time, nothing else in LC would happen until those calls were done. It REALLY starts showing up in games or graphic oriented things. Right now you have to loop through each object, move one, then the next, then the next, but what if you could call the function that moved each object as a separate thread? Each object would truly be moving independently. Again maybe I am not talking about multithreading but multiprocessing or some such thing. Bob On Jan 18, 2011, at 5:00 PM, Alex Tweedly wrote: > > Other than the issue of hitting a breakpoint, can't you simulate this very closely already. > > on addToTimers pMessage, pObject, pFrequency > -- store this info > put pFrequency &TAB& pMessage &TAB& pObject &TAB& pFrequency & CR after sTimerList > end addToTimers > > on removeFromTimers pObject > -- remove from stored list > -- details left as an exercise > end removeFromTimers pObject > > on pauseTimers > put false into gTimersAreActive > end pauseTimers > > on repetitivelyFireTimers > put empty into tNewList > if gTimersAreActive then > repeat for each line L in sTimerList > subtract 1 from item 1 of L > if item 1 of L = 0 then > send item 2 of L to item 3 of L > put item 4 of L into item 1 of L > end if > put L & CR after tNewList > end repeat > put tNewList into sTimerList > end if > send "repetitivelyFireTimers" to me in 1 second > end repetitivelyFireTimers > > P.S. of course, there should be error checking, and you could handle sub-second (or non-integer second) timers as well - but this general idea > > P.P.S I just typed the above script lines in - not tested, not a technique I generally use. > > -- Alex. > end repetitivelyFireTimers > > > On 18/01/2011 23:57, Jeff Massung wrote: >> >> I - personally - would be much happier if two things were done: > >> *** Create a timer control or some method of doing the same thing in code. >> It can be sort of simulated right now like so: >> >> send "foo" to me in 5 seconds >> >> on foo >> ... do stuff ... >> send "foo" to me in 5 seconds >> end >> >> But this has issues (for example, if I have a bug in "foo" so I fail to send >> again, or I hit a breakpoint in "foo" and have to stop execution), and >> sometimes I want to be able to pause send messages, etc. Being able to just >> create an interval that responds well to various situations would be very >> desirable: >> >> send "foo" to me every 5 seconds ## done! >> >> suspend the result ## the message is paused temporarily >> resume the result ## the message will continue from where it left off >> >> Those few things would be very useful to me. >> >> Jeff M. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 18 20:19:18 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 18 Jan 2011 17:19:18 -0800 Subject: An idea on multithreading implementation In-Reply-To: <4D3639B8.1030202@fourthworld.com> References: <4D3639B8.1030202@fourthworld.com> Message-ID: <4A3CAA86-F65C-40BD-B8CD-A3442754E3B8@twft.com> Do you mean like when the race track is really muddy but they run the horses anyway? Actually, you could be on to something, with the caveat that the processes would be isolated from each other. I am thinking that you could still have one stack get information about some field in another stack while that stack was doing some long drawn out task. I dunno, maybe it's a non starter. Bob On Jan 18, 2011, at 5:09 PM, Richard Gaskin wrote: > Sure, it's a bit of a kludge, but would be dirt-simple to implement, and wouldn't expose the treachery of race conditions to the masses. :) From bobs at twft.com Tue Jan 18 20:20:22 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 18 Jan 2011 17:20:22 -0800 Subject: DragDrop and the DragDestination In-Reply-To: References: Message-ID: <4A36B82D-76EB-45BF-B4EC-D7539C8A4C63@twft.com> I get problem loading page. Bob On Jan 18, 2011, at 3:50 PM, zryip theSlug wrote: > And have a look to the experiment 19, if you missed it: > http://www.aslugontheroad.co.cc/index.php?option=com_phocadownload&view=category&download=19:experiment-19-drag-drop-in-dg-replacing-a-value-in-a-column&id=7:data-grid&Itemid=63 > > > Best regards, > -- > -Zryip TheSlug- wish you the best! 8) From bobs at twft.com Tue Jan 18 20:24:53 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 18 Jan 2011 17:24:53 -0800 Subject: An idea on multithreading implementation In-Reply-To: References: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> Message-ID: Very un-livecode-ish. Bob On Jan 18, 2011, at 5:16 PM, Kee Nethery wrote: > My two cents on how Livecode could implement this is to mimic the get URL and URLstatus functionality paired with functions. For example: > > This is a simple pseudo-code example of calling a threaded function 7 times and then waiting until all 7 threads are complete: > > on domythreads > global lat,long,countryName > put myThreadFunction(1,lat[1],long[1]) into countryName[1] > put myThreadFunction(2,lat[2],long[2]) into countryName[2] > put myThreadFunction(3,lat[3],long[3]) into countryName[3] > put myThreadFunction(4,lat[4],long[4]) into countryName[4] > put myThreadFunction(5,lat[5],long[5]) into countryName[5] > put myThreadFunction(6,lat[6],long[6]) into countryName[6] > put myThreadFunction(7,lat[7],long[7]) into countryName[7] > > repeat until threadStatus(1) = "complete" \ > and threadStatus(2) = "complete" \ > and threadStatus(3) = "complete" \ > and threadStatus(4) = "complete" \ > and threadStatus(5) = "complete" \ > and threadStatus(6) = "complete" \ > and threadStatus(7) = "complete" > wait 1 second > end repeat > end domythreads > > This is what I envision the generic thread call looks like, similar to a function except it has a unique ID and it cannot use globals or data in the stack. Everything it is going to use has to be passed into it as a parameter. > > thread myThreadFunction requiredThreadIdParameter, optionalThreadParameter1, optionalThreadParameter2, etc. > set threadStatus = "started" -- allow the thread to communicate while it is working > do stuff > call functions in the stack that do not have globals nor use data stored in the stack > send to commands to objects in the stack that do not have globals nor use data stored in the stack > no reads or writes from any field or button data stored in the stack > set threadStatus = "almost done" > OK to get or write stuff from/to external things like URLs or serial ports or files > package up a result > return allTheResults > -- after the return the status goes to "complete" > end thread > > The way I see it, thread is like a function. You give it a unique ID (requiredThreadIdParameter) and then call it with the parameters you want it to have. What would happen next is Livecode would execute the scripts using the scripts in the stacks that are marked as thread safe using the data provided as parameters. > > The other part to this is the threadStatus function. In the above example the code just looks for the status to be complete but since the thread can set threadStatus, the main program can watch it's progress. > > I guess my final thread request would be a way to kill a thread that has gone rogue. For example, perhaps a function like killThread(requiredThreadIdParameter) > > As I see it, each function or command (or thread) in a script would get a marker declaring it thread safe or not. A thread could only call thread safe code. If the code had a global in it, not thread safe. if the code looked in a field, not thread safe. > > Anyway that's my two cents on multithreading if I ruled the Livecode world. Seems like it would be easy enough to implement in the existing code base but still quite powerful. > > I do something similar to this with URLs. A stack running as a HTTP server / cgi gets hit and it doles out a bunch of URL requests to various other servers. All those servers work in parallel and when they are done and the urlStatus for each request is "cached", I grab the results and return a summary to the client. > > Kee Nethery > not holding my breath. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revdev at pdslabs.net Tue Jan 18 20:26:42 2011 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 18 Jan 2011 17:26:42 -0800 Subject: An idea on multithreading implementation In-Reply-To: <61426695-31A4-47A0-B069-E7E908033476@twft.com> References: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> <61426695-31A4-47A0-B069-E7E908033476@twft.com> Message-ID: <4D363DD2.709@pdslabs.net> Hi Bob, On 1/18/11 5:05 PM, Bob Sneidar wrote: > Maybe I am using the wrong term here. Often in Windows an application will open multiple instances of an application, and each instance will be it's own process. An explorer window for example is it's own instance of Windows Explorer, and runs on it's own regardless of what the other window is doing. If that is not multithreading, then I am talking about something else. I'm not entirely sure what this is called either, but you can do it on a Mac too - just duplicate LiveCode. Then you can run 2 IDEs simultaneously. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From bobs at twft.com Tue Jan 18 20:28:27 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 18 Jan 2011 17:28:27 -0800 Subject: An idea on multithreading implementation In-Reply-To: References: <4D3639B8.1030202@fourthworld.com> Message-ID: <2F0EFE04-2DBA-447E-8126-E381A95A5356@twft.com> Oh I just thought of what really set me thinking about this. Let's say you wanted a command to check every 10 seconds for the state of a folder, and then have your stack ready to do other things meanwhile. You cannot do that. A handler has to be running to make the call to check status. I suppose you can have a recursive function that calls itself in time, but can LiveCode be doing other things at the same time? I dunno. Bob On Jan 18, 2011, at 5:16 PM, Andre Garzia wrote: > On Tue, Jan 18, 2011 at 11:09 PM, Richard Gaskin > wrote: > >> Bob Sneidar wrote: >>> Well my thought was that LC would benefit hugely if 2 or more stacks >>> could be running in their own thread. Take for example an accounting >>> app. Normally you could have the Customer Entry form open, and the >>> Accounts Receivable window open in most well written apps. Sure you >>> could in LC too... so long as one of the windows was not in the >>> process of doing anything, like oh say compiling data for a really >>> large report. >> >> If RunRev would reenable being able to run an app from the command line, >> conceivably you could run the report processing using a second standalone >> facelessly. >> >> Sure, it's a bit of a kludge, but would be dirt-simple to implement, and >> wouldn't expose the treachery of race conditions to the masses. :) >> >> > been there but it is hard to exchange messages between the instances... :-/ > > > >> -- >> Richard Gaskin >> Fourth World >> LiveCode training and consulting: http://www.fourthworld.com >> Webzine for LiveCode developers: http://www.LiveCodeJournal.com >> LiveCode Journal blog: http://LiveCodejournal.com/blog.irv >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Tue Jan 18 20:29:38 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 18 Jan 2011 17:29:38 -0800 Subject: An idea on multithreading implementation In-Reply-To: <4D363DD2.709@pdslabs.net> References: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> <61426695-31A4-47A0-B069-E7E908033476@twft.com> <4D363DD2.709@pdslabs.net> Message-ID: <93FAB16C-D98D-4A28-8CA0-B40C578C4903@twft.com> Right... but they cannot communicate easily, or I should say natively with each other. Bob On Jan 18, 2011, at 5:26 PM, Phil Davis wrote: > Hi Bob, > > On 1/18/11 5:05 PM, Bob Sneidar wrote: >> Maybe I am using the wrong term here. Often in Windows an application will open multiple instances of an application, and each instance will be it's own process. An explorer window for example is it's own instance of Windows Explorer, and runs on it's own regardless of what the other window is doing. If that is not multithreading, then I am talking about something else. > > I'm not entirely sure what this is called either, but you can do it on a Mac too - just duplicate LiveCode. Then you can run 2 IDEs simultaneously. > -- > Phil Davis > > PDS Labs > Professional Software Development > http://pdslabs.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lfredricks at proactive-intl.com Tue Jan 18 20:46:39 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue, 18 Jan 2011 17:46:39 -0800 Subject: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose? In-Reply-To: References: <0FB82EE140FB49E89BD8A3C17F170771@GATEWAY><137125811031.20110117194345@ahsoftware.net> Message-ID: <75DB95CC927440008123CE5D08A1DD5C@GATEWAY> > > Monday, January 17, 2011, 3:33:13 PM, you wrote: > > > >> Just checking to see - who all is going this year? Just > noticing that > >> its happening in April 2011, and we are shortly running > out of January 2011. > > > > I'm going. That'll probably keep some folks away, but I thought it > > fair to give you warning. > > --haha, you too? I'm in. > > ;-) > > Judy So Judy, this means you are only going to keep Mark out of trouble, right? Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From jperryl at ecs.fullerton.edu Tue Jan 18 21:04:58 2011 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 18 Jan 2011 18:04:58 -0800 (PST) Subject: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose? In-Reply-To: <75DB95CC927440008123CE5D08A1DD5C@GATEWAY> References: <0FB82EE140FB49E89BD8A3C17F170771@GATEWAY><137125811031.20110117194345@ahsoftware.net> <75DB95CC927440008123CE5D08A1DD5C@GATEWAY> Message-ID: > So Judy, this means you are only going to keep Mark out of trouble, right? --nahhh... double-trouble! :-D Judy From revdev at pdslabs.net Tue Jan 18 21:07:14 2011 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 18 Jan 2011 18:07:14 -0800 Subject: An idea on multithreading implementation In-Reply-To: <93FAB16C-D98D-4A28-8CA0-B40C578C4903@twft.com> References: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> <61426695-31A4-47A0-B069-E7E908033476@twft.com> <4D363DD2.709@pdslabs.net> <93FAB16C-D98D-4A28-8CA0-B40C578C4903@twft.com> Message-ID: <4D364752.30308@pdslabs.net> On 1/18/11 5:29 PM, Bob Sneidar wrote: > Right... but they cannot communicate easily, or I should say natively with each other. > > Bob Right. > > On Jan 18, 2011, at 5:26 PM, Phil Davis wrote: > >> Hi Bob, >> >> On 1/18/11 5:05 PM, Bob Sneidar wrote: >>> Maybe I am using the wrong term here. Often in Windows an application will open multiple instances of an application, and each instance will be it's own process. An explorer window for example is it's own instance of Windows Explorer, and runs on it's own regardless of what the other window is doing. If that is not multithreading, then I am talking about something else. >> I'm not entirely sure what this is called either, but you can do it on a Mac too - just duplicate LiveCode. Then you can run 2 IDEs simultaneously. >> -- >> Phil Davis >> >> PDS Labs >> Professional Software Development >> http://pdslabs.net >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From lfredricks at proactive-intl.com Tue Jan 18 21:09:41 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue, 18 Jan 2011 18:09:41 -0800 Subject: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose? In-Reply-To: References: <0FB82EE140FB49E89BD8A3C17F170771@GATEWAY><4D35CA9E.9040506@pdslabs.net> Message-ID: <2EB35258B5FC4F85850ABCE719719FA4@GATEWAY> > How about Ruslan or Lynn? Are either of you guys going? > > I am going and I'd like to see a shootout between MySQL and > Valentina! Heh-heh. Right now the plan is that Ill be going. If we can get a good enough internet connection, it may be possible to get Ruslan in via skype video... Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From massung at gmail.com Tue Jan 18 21:17:34 2011 From: massung at gmail.com (Jeffrey Massung) Date: Tue, 18 Jan 2011 19:17:34 -0700 Subject: An idea on multithreading implementation In-Reply-To: <93FAB16C-D98D-4A28-8CA0-B40C578C4903@twft.com> References: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> <61426695-31A4-47A0-B069-E7E908033476@twft.com> <4D363DD2.709@pdslabs.net> <93FAB16C-D98D-4A28-8CA0-B40C578C4903@twft.com> Message-ID: <20252AD0-9411-4E0C-B805-CBB16EDD76C7@gmail.com> Well, TCP works great, you just have to define your protocol and go. This wouldn't be too difficult to implement. That said, a native method of letting LC apps inter-communicate w/o having to program it [much] would be slick. Taking some ideas from AppleScript: ## app "A": start script server on port 5674 ## app "B" connect to application "A" on port 5674 tell application "A" "doSomethingCool" The real questions: * Security. Is there a [with password] parameter for the server app? SSL? * Is "doSomethingCool" a stack handler or is there an "on clientMessage" type handler? * Do you allow only loopback (localhost) connections or also remote connections? Simply put, this is really just a way of having RPC calls across LC applications. But, I admit, it'd be really cool. Certainly with the LC language it would be trivial to setup 2-way communication this way, having application "B" identifying itself to application "A", etc. Jeff M. On Jan 18, 2011, at 6:29 PM, Bob Sneidar wrote: > Right... but they cannot communicate easily, or I should say natively with each other. > > Bob > > > On Jan 18, 2011, at 5:26 PM, Phil Davis wrote: > >> Hi Bob, >> >> On 1/18/11 5:05 PM, Bob Sneidar wrote: >>> Maybe I am using the wrong term here. Often in Windows an application will open multiple instances of an application, and each instance will be it's own process. An explorer window for example is it's own instance of Windows Explorer, and runs on it's own regardless of what the other window is doing. If that is not multithreading, then I am talking about something else. >> >> I'm not entirely sure what this is called either, but you can do it on a Mac too - just duplicate LiveCode. Then you can run 2 IDEs simultaneously. From mcgrath3 at mac.com Tue Jan 18 21:19:43 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 18 Jan 2011 21:19:43 -0500 Subject: usb driver problem In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D33DC81.3040805@hyperactivesw.com> <589AD6FD-E045-4D27-9950-F244B0794690@mac.com> <4D34A32C.3030702@hyperactivesw.com> <8B27D88C-B957-48F0-99B2-5303CA6E9EA7@twft.com> <4D34A9DC.4060302@hyperactivesw.com> <774CAC87-F933-4538-8B2D-876D89F3899C@fiberworld.nl> Message-ID: I installed the FTDIUSBSerial drive and nothing changes. I can see the /dev/cu.usbmodem1a21 in : Arduino IDE Terminal Cornflake Processing But not in Livecode : SerialTest MakeBoard Communicator MyOwnTestStack The Arduino Uno has a serial to usb chip on it so it doesn't use the FTDIUSBSerial driver. That has to be the problem. Maybe it is seen as a usb too soon by the computer and as such LC only sees a USB port and no serial port. OK, if that's the case then what about shell commands? ANyone know of some simple shell commands to read the serial data that I am sending from the Arduino Uno???? That would help me test this out. Thanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 18, 2011, at 5:55 PM, Thomas McGrath III wrote: > Claudi, > > yes and No. There is a driver that gets loaded on Leopard but it is not loaded in snow Leopard. They changed the way the Arduino Uno gets connected. > > "Open up the serial monitor (or any other terminal program) and use single-keystroke commands to control stepper motor speed, direction, and power." > > This is a snippet from a motor Controller board but the hint here is that the terminal program can access and send serial commands so maybe that is a way around this issue. > > The Snow Leopard way is that the Arduino shows up in Network Pane as a Modem. But it does not show up as one of the serial ports in Sarah's Serial Test project. > > I can install the Leopard driver and try that and or try the direct terminal and see about that next. > > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Jan 18, 2011, at 5:06 AM, Claudi Cornaz wrote: > >> Hi Thomas, >> >> I just ordered a arduino yesterday and hope to have it tommorow. >> I sure hope this can be solved. (Well I am very positive about that, one way or another, that's why I ordered one anyway) >> >> I have been looking on the web. I guess you did this already but just in case, here are some links >> http://www.patokeefe.com/archives/316 >> http://ricardo-dias.com/node/130 >> http://code.google.com/p/xcode-arduino-serial-communication/ >> >> and in the livecode forum there is a thread about the arduino and apparently mmiele got it working : >> >> by mmiele ? Sat Dec 06, 2008 10:25 am >> >> I used MacOS Tiger and then Leopard. >> >> What you need is: >> >> 1 - download and install from the Arduino site (http://www.arduino.cc) the Arduino SDK. >> >> 2 - download and install from the Arduino site or the FTDI site (http://www.ftdichip.com) the driver to see the Arduino USB as a serial port. >> >> 3 - connect the arduino board to an USB port of your Mac. >> >> You will see is a new entry in the list of serial devices. >> You can get the list reading the "driverNames" property: ex. >> >> put the driverNames into field "serialPorts". >> >> You can get a useful stack to test serial communication at >> >> http://www.troz.net/Rev/tutorials.php >> >> The stack is SerialTest.rev >> mmiele >> >> Posts: 17 >> Joined: Sun Jan 21, 2007 12:25 pm >> Location: Naples, Italy >> >> >> this is from: http://forums.runrev.com/phpBB2/viewtopic.php?f=14&t=2419 >> >> I hope you can get it working quickly and otherwise I will join your efford as soon as my arduino arrives. >> >> >> Best wishes, >> Claudi >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 18 22:02:43 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 18 Jan 2011 21:02:43 -0600 Subject: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose? In-Reply-To: <2EB35258B5FC4F85850ABCE719719FA4@GATEWAY> References: <0FB82EE140FB49E89BD8A3C17F170771@GATEWAY> <4D35CA9E.9040506@pdslabs.net> <2EB35258B5FC4F85850ABCE719719FA4@GATEWAY> Message-ID: Fantastic. Looking forward to however you guys do it. On 18 January 2011 20:09, Lynn Fredricks wrote: > > How about Ruslan or Lynn? Are either of you guys going? > > > > I am going and I'd like to see a shootout between MySQL and > > Valentina! > > Heh-heh. Right now the plan is that Ill be going. If we can get a good > enough internet connection, it may be possible to get Ruslan in via skype > video... > > 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From capellan2000 at gmail.com Tue Jan 18 22:41:16 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 18 Jan 2011 23:41:16 -0400 Subject: fillRule - An useful vector graphic property Message-ID: Hi all, Just today, I found about this use for the property named "fillRule" Put the following script of 7 lines in a button: (Watch for wraps in the Third line) create graphic set the style of it to polygon set the points of it to "50,50" & cr & "50,100" & cr & "100,100" & cr & "100,50" & cr & "50,50" & cr & cr & "60,60" & cr & "60,90" & cr & "90,90" & cr & "90,60" & cr & "60,60" set the opaque of it to true set the fillRule of it to evenodd set the backcolor of it to "green" set the tool to pointer You have a Square with a square hole... :-D Of course, this is already explained in the Dictionary but without an example, it's not really obvious. Now, Livecode only needs some way to create irregular masks from Polygon vector graphic. :-) Al From mcgrath3 at mac.com Tue Jan 18 23:03:42 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 18 Jan 2011 23:03:42 -0500 Subject: usb driver problem In-Reply-To: <4D33DC81.3040805@hyperactivesw.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D33DC81.3040805@hyperactivesw.com> Message-ID: <17E6CF55-4EB0-4EEC-8684-358A4A4B017C@mac.com> I tried in terminal to do a screen /dev/cu.usbmodem1a21 and it worked. control a & control \ to stop and close port (I think) I don't know enough about shell to come up with a good script to try out here in LC. Any ideas? Thanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 17, 2011, at 1:06 AM, J. Landman Gay wrote: > On 1/16/11 10:37 PM, Thomas McGrath III wrote: >> The dev/tty.usbmodem1a21 does not show up in the list using the >> SerialTest.rev stack. >> >> It does show up in the Arduino software Serial list. Also in the >> Arduino you have to use the tty.usbmodem1a21. Also when you plug the >> Arduino in the Mac detects a new modem and asks to set it up in >> Internet preferences pane. hit apply and then it shows up in >> Arduino. > > If the Mac thinks it's a modem, I'd try using "open file" as Mark Waddingham suggested. Specify "modem:" and set the serialControlString. He did mention that the drivernames aren't always accurate on OS X. > > If that doesn't work, use "open file" with the "/dev/" path. I'm not sure which path would work, I guess you'd need to test them all. Basically the one that works in Terminal should work in LiveCode. > > Did you try talking to it in Terminal? Does that 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 From calhorner at xtra.co.nz Tue Jan 18 23:27:53 2011 From: calhorner at xtra.co.nz (Cal Horner) Date: Wed, 19 Jan 2011 17:27:53 +1300 (New Zealand Daylight Time) Subject: File Suffix Message-ID: <4D36682A.000003.02352@CALS_BIG_PC> I noticed in the forum a few digests ago that one of the members was looking for conventions to use in coding and object naming, etc. And from my experience with Runrev and now LC stacks the people on this forum try to use some form of convention naming. Even if it isn't pure Hungarian notation. I think I can say that we all have reached some degree of professionalism. So, my question is "Who the H*** decided, in their little pea-brain, that they would break the convention (that has been around since Pontius was a Pilot) of a filename, a period (a full-stop for all you commonwealth people) and then finally a three character suffix."? Don't you think that this git should be taken out and tarred and feathered? How are we going to work around this. Who's got the hack that allows us to get back to some semblance of sanity. And How about sharing it. From scott at tactilemedia.com Tue Jan 18 23:37:36 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 18 Jan 2011 20:37:36 -0800 Subject: fillRule - An useful vector graphic property In-Reply-To: Message-ID: Recently, Alejandro Tejada wrote: > Now, Livecode only needs some way to create irregular > masks from Polygon vector graphic. :-) There is a way, but it's not easy -- ink effects. See the second card of this stack (in your message box): go url "http://www.tactilemedia.com/site_files/downloads/masking_options.rev" Regards, Scott Rossi Creative Director Tactile Media, UX Design From stephenREVOLUTION2 at barncard.com Wed Jan 19 00:02:47 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 18 Jan 2011 23:02:47 -0600 Subject: File Suffix In-Reply-To: <4D36682A.000003.02352@CALS_BIG_PC> References: <4D36682A.000003.02352@CALS_BIG_PC> Message-ID: I take it you don't like the .livecode suffix very much. Quite frankly, I think there are many of us that don't either. But we've also found it's perfectly acceptable to use ".rev" and the stacks will still operate without a problem. The only time we see the IDE add the suffix is on the creation of a new stack, and easy to fix with a script, or by hand. I don't like long suffixes, for sure. They take too much room in a listing and makes it harder to read with all that repetition. Often the suffix would be longer than the actual file name in this case. I am sure the mother ship has good intentions in this move - it gets the name of the product out there and we're all for that. But certainly an offense not worth bad feelings and tarring and feathering. On 18 January 2011 22:27, Cal Horner wrote: > I noticed in the forum a few digests ago that one of the members was > looking > for conventions to use in coding and object naming, etc. And from my > experience with Runrev and now LC stacks the people on this forum try to > use > some form of convention naming. Even if it isn't pure Hungarian notation. > > I think I can say that we all have reached some degree of professionalism. > > So, my question is "Who the H*** decided, in their little pea-brain, that > they would break the convention (that has been around since Pontius was a > Pilot) of a filename, a period (a full-stop for all you commonwealth > people) > and then finally a three character suffix."? > > Don't you think that this git should be taken out and tarred and feathered? > > How are we going to work around this. Who's got the hack that allows us to > get back to some semblance of sanity. And How about sharing 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From form at nonsanity.com Wed Jan 19 00:06:16 2011 From: form at nonsanity.com (form) Date: Wed, 19 Jan 2011 00:06:16 -0500 Subject: fillRule - An useful vector graphic property In-Reply-To: References: Message-ID: Just a tip, in case its useful... You can just use a comma instead of CR when populating the points. They get turned back into CRs internally, but it makes it easier to hand-jam values in the code to use "1,1,20,20,100,100" instead of "1,1"&cr&"20,20"&cr&"100,100" ~ Chris Innanen ~ Nonsanity On Tue, Jan 18, 2011 at 10:41 PM, Alejandro Tejada wrote: > Hi all, > > Just today, I found about this use for the > property named "fillRule" > > Put the following script of 7 lines in a button: > (Watch for wraps in the Third line) > > create graphic > set the style of it to polygon > set the points of it to "50,50" & cr & "50,100" & cr & "100,100" & cr > & "100,50" & cr & "50,50" & cr & cr & "60,60" & cr & "60,90" & cr & > "90,90" & cr & "90,60" & cr & "60,60" > set the opaque of it to true > set the fillRule of it to evenodd > set the backcolor of it to "green" > set the tool to pointer > > You have a Square with a square hole... :-D > Of course, this is already explained in the Dictionary > but without an example, it's not really obvious. > > Now, Livecode only needs some way to create irregular > masks from Polygon vector graphic. :-) > > Al > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Wed Jan 19 00:14:58 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Jan 2011 23:14:58 -0600 Subject: An idea on multithreading implementation In-Reply-To: <20252AD0-9411-4E0C-B805-CBB16EDD76C7@gmail.com> References: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> <61426695-31A4-47A0-B069-E7E908033476@twft.com> <4D363DD2.709@pdslabs.net> <93FAB16C-D98D-4A28-8CA0-B40C578C4903@twft.com> <20252AD0-9411-4E0C-B805-CBB16EDD76C7@gmail.com> Message-ID: <4D367352.90700@hyperactivesw.com> On 1/18/11 8:17 PM, Jeffrey Massung wrote: > Well, TCP works great, you just have to define your protocol and go. > This wouldn't be too difficult to implement. That said, a native > method of letting LC apps inter-communicate w/o having to program it > [much] would be slick. Taking some ideas from AppleScript: > > > ## app "A": > > start script server on port 5674 > > > > ## app "B" > > connect to application "A" on port 5674 tell application "A" > "doSomethingCool" Oh, I so like this idea. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Jan 19 00:21:18 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 18 Jan 2011 23:21:18 -0600 Subject: File Suffix In-Reply-To: <4D36682A.000003.02352@CALS_BIG_PC> References: <4D36682A.000003.02352@CALS_BIG_PC> Message-ID: <4D3674CE.2030600@hyperactivesw.com> On 1/18/11 10:27 PM, Cal Horner wrote: > So, my question is "Who the H*** decided, in their little pea-brain, that > they would break the convention (that has been around since Pontius was a > Pilot) of a filename, a period (a full-stop for all you commonwealth people) > and then finally a three character suffix."? All the 3-letter extensions got used up. Even ".rev" conflicts with something else. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From capellan2000 at gmail.com Wed Jan 19 00:28:53 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 18 Jan 2011 21:28:53 -0800 (PST) Subject: Using Shell to run a DOS program In-Reply-To: <2D7D7BD1-9232-4989-99AF-7B6CA9C794A1@twft.com> References: <75229CD1-A84B-49AA-BC60-E7A1AE0371E6@economy-x-talk.com> <1295297271924-3221259.post@n4.nabble.com> <954A2D40-4CE6-419D-9916-AB6831025094@twft.com> <1295391456727-3224197.post@n4.nabble.com> <2D7D7BD1-9232-4989-99AF-7B6CA9C794A1@twft.com> Message-ID: <1295414933893-3224574.post@n4.nabble.com> Hi Bob, Bob wrote: >I envisioned you using the terminal to send DOS commands >to an emulator. Maybe I think too much. Actually, my late question was directed to Mark, asking How he could run a DOS program in a Mac to test the script that I posted. I use Windows and, somedays, Linux. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Using-Shell-to-run-a-DOS-program-tp3220717p3224574.html Sent from the Revolution - User mailing list archive at Nabble.com. From irog at mac.com Wed Jan 19 00:40:49 2011 From: irog at mac.com (Roger Guay) Date: Tue, 18 Jan 2011 22:40:49 -0700 Subject: Uploading to RevOnline Problems In-Reply-To: References: Message-ID: <7F2BA123-FDB0-4B1E-983E-A8AF116FCFC3@mac.com> I know there has been a lot of discussion in the past about the unreliablity of uploading to RevOnline, but does anyone know if there is a size limit? Thanks and cheers, Roger Guay From mcgrath3 at mac.com Wed Jan 19 00:55:09 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 19 Jan 2011 00:55:09 -0500 Subject: usb driver problem In-Reply-To: <17E6CF55-4EB0-4EEC-8684-358A4A4B017C@mac.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D33DC81.3040805@hyperactivesw.com> <17E6CF55-4EB0-4EEC-8684-358A4A4B017C@mac.com> Message-ID: <2E2F72BA-1E79-459F-9CF9-EF7A6DE48772@mac.com> I did just find an Applescript OSAX that will let me connect to the Arduino Uno. http://mysite.verizon.net/vzenuoqe/MacSoft.html SerialportX It might be a bridge for this computer anyways. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 18, 2011, at 11:03 PM, Thomas McGrath III wrote: > I tried in terminal to do a screen /dev/cu.usbmodem1a21 and it worked. control a & control \ to stop and close port (I think) > > > I don't know enough about shell to come up with a good script to try out here in LC. > > Any ideas? > > Thanks > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Jan 17, 2011, at 1:06 AM, J. Landman Gay wrote: > >> On 1/16/11 10:37 PM, Thomas McGrath III wrote: >>> The dev/tty.usbmodem1a21 does not show up in the list using the >>> SerialTest.rev stack. >>> >>> It does show up in the Arduino software Serial list. Also in the >>> Arduino you have to use the tty.usbmodem1a21. Also when you plug the >>> Arduino in the Mac detects a new modem and asks to set it up in >>> Internet preferences pane. hit apply and then it shows up in >>> Arduino. >> >> If the Mac thinks it's a modem, I'd try using "open file" as Mark Waddingham suggested. Specify "modem:" and set the serialControlString. He did mention that the drivernames aren't always accurate on OS X. >> >> If that doesn't work, use "open file" with the "/dev/" path. I'm not sure which path would work, I guess you'd need to test them all. Basically the one that works in Terminal should work in LiveCode. >> >> Did you try talking to it in Terminal? Does that 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 19 01:05:09 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 18 Jan 2011 22:05:09 -0800 Subject: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose? In-Reply-To: References: <0FB82EE140FB49E89BD8A3C17F170771@GATEWAY><137125811031.20110117194345@ahsoftware.net> <75DB95CC927440008123CE5D08A1DD5C@GATEWAY> Message-ID: <36220694906.20110118220509@ahsoftware.net> >> So Judy, this means you are only going to keep Mark out of trouble, right? > --nahhh... double-trouble! :-D Yeah, we're on a roll now. Judy... you bringing the dogs? -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed Jan 19 01:05:38 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 18 Jan 2011 22:05:38 -0800 Subject: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose? In-Reply-To: References: <0FB82EE140FB49E89BD8A3C17F170771@GATEWAY> <137125811031.20110117194345@ahsoftware.net> Message-ID: <33220723859.20110118220538@ahsoftware.net> Bill- Tuesday, January 18, 2011, 10:43:11 AM, you wrote: > I'll be at Macworld. > Anyone want to get together? I'll probably be there on Thursday. Does that work? -- -Mark Wieder mwieder at ahsoftware.net From capellan2000 at gmail.com Wed Jan 19 01:44:56 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 18 Jan 2011 22:44:56 -0800 (PST) Subject: fillRule - An useful vector graphic property In-Reply-To: References: Message-ID: <1295419496333-3224630.post@n4.nabble.com> Hi Scott, Excellent work, Scott! :-D I remember that you posted this method some time ago, but still I have to test if this way of masking is viable in a standalone or within StackRunner. Chris Innanen wrote: >You can just use a comma instead >of CR when populating the points. >They get turned back into CRs internally, Yes, this is a really helpful tip. Thanks a lot, Chris! :-) Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/fillRule-An-useful-vector-graphic-property-tp3224507p3224630.html Sent from the Revolution - User mailing list archive at Nabble.com. From williamdesmet at gmail.com Wed Jan 19 05:39:11 2011 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 19 Jan 2011 11:39:11 +0100 Subject: How do I force a key to enter just one character when being pressed? Message-ID: Hi there, I limit text entry of fld "text" with following code. on keyDown pKey ?if (the formattedHeight of fld "text" < the height of fld "text") then pass keyDown end if end keyDown One thing that I want to change now is a way to force a key to enter just one character after being pressed/hold down. Any thoughts on that? greetings, William From dixonja at hotmail.co.uk Wed Jan 19 05:49:54 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Wed, 19 Jan 2011 10:49:54 +0000 Subject: How do I force a key to enter just one character when being pressed? In-Reply-To: References: Message-ID: In the script of fld "text"... on keyDown theKey if the number of chars of fld "text" > 0 then beep exit keyDown else put theKey into fld "text" end if end keyDown > Hi there, > > I limit text entry of fld "text" with following code. > > on keyDown pKey > if (the formattedHeight of fld "text" < the height of fld "text") > then > pass keyDown > end if > end keyDown > > One thing that I want to change now is a way to force a key to enter > just one character after being pressed/hold down. > Any thoughts on that? > > greetings, > > William From williamdesmet at gmail.com Wed Jan 19 06:02:07 2011 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 19 Jan 2011 12:02:07 +0100 Subject: How do I force a key to enter just one character when being pressed? In-Reply-To: References: Message-ID: Thanks John, But with this script I limt the entry of the field to just one character. My 'problem' is dat when you keep a key pressed down more characters are entered. When you hold down the 'A' key AAAAAAAAAAA is entered. I wish to limit that. Just one entry of a key when being hold down/pressed al the time. Any thoughts on this? greetings, William 2011/1/19 John Dixon : > > > In the script of fld "text"... > > on keyDown theKey > ? if the number of chars of fld "text" > 0 then > ? ? ?beep > ? ? ?exit keyDown > ? else > ? ? ?put theKey into fld "text" > ? end if > end keyDown > >> Hi there, >> >> I limit text entry of fld "text" with following code. >> >> on keyDown pKey >> ? ?if (the formattedHeight of fld "text" < the height of fld "text") >> ? then >> ? pass keyDown >> ? end if >> end keyDown >> >> One thing that I want to change now is a way to force a key to enter >> just one character after being pressed/hold down. >> Any thoughts on that? >> >> greetings, >> >> William > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From keith.clarke at clarkeandclarke.co.uk Wed Jan 19 06:15:24 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Wed, 19 Jan 2011 11:15:24 +0000 Subject: How do I force a key to enter just one character when being pressed? In-Reply-To: References: Message-ID: <41704D8D-E7CD-4578-8C2A-5929B5A20050@clarkeandclarke.co.uk> ...how about using key-down, to trap the entered characters into a 'cache' variable and then on key-up, writing character 1 from that back into your target field/variable? On 19 Jan 2011, at 11:02, William de Smet wrote: > Thanks John, > > But with this script I limt the entry of the field to just one character. > My 'problem' is dat when you keep a key pressed down more characters > are entered. > When you hold down the 'A' key AAAAAAAAAAA is entered. > I wish to limit that. Just one entry of a key when being hold > down/pressed al the time. > > Any thoughts on this? > > greetings, > > William > > > > 2011/1/19 John Dixon : >> >> >> In the script of fld "text"... >> >> on keyDown theKey >> if the number of chars of fld "text" > 0 then >> beep >> exit keyDown >> else >> put theKey into fld "text" >> end if >> end keyDown >> >>> Hi there, >>> >>> I limit text entry of fld "text" with following code. >>> >>> on keyDown pKey >>> if (the formattedHeight of fld "text" < the height of fld "text") >>> then >>> pass keyDown >>> end if >>> end keyDown >>> >>> One thing that I want to change now is a way to force a key to enter >>> just one character after being pressed/hold down. >>> Any thoughts on that? >>> >>> greetings, >>> >>> William >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From th.douez at sunnyrevtalk.com Wed Jan 19 06:17:03 2011 From: th.douez at sunnyrevtalk.com (Thierry) Date: Wed, 19 Jan 2011 12:17:03 +0100 Subject: How do I force a key to enter just one character when being pressed? In-Reply-To: References: Message-ID: <0CDD4FCC-1AF1-4D95-B994-BFA64B81DB23@sunnyrevtalk.com> Le 19 janv. 2011 ? 12:02, William de Smet a ?crit : > Thanks John, > > But with this script I limt the entry of the field to just one character. > My 'problem' is dat when you keep a key pressed down more characters > are entered. > When you hold down the 'A' key AAAAAAAAAAA is entered. > I wish to limit that. Just one entry of a key when being hold > down/pressed al the time. > > Any thoughts on this? Did you tried rawkeydown instead of keydown ? Guess it works... Thierry From iowahengst at mac.com Wed Jan 19 07:28:33 2011 From: iowahengst at mac.com (Randy Hengst) Date: Wed, 19 Jan 2011 06:28:33 -0600 Subject: RunRev Live 2011 - Are You Going? Do You Know the Way to San Jose? In-Reply-To: <0FB82EE140FB49E89BD8A3C17F170771@GATEWAY> References: <0FB82EE140FB49E89BD8A3C17F170771@GATEWAY> Message-ID: I'm coming. I wish is was soon so I could get away from the snow.... take care, randy hengst On Jan 17, 2011, at 5:33 PM, Lynn Fredricks wrote: > Hello all, > > Just checking to see - who all is going this year? Just noticing that its > happening in April 2011, and we are shortly running out of January 2011. > > 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 richmondmathewson at gmail.com Wed Jan 19 07:54:53 2011 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 19 Jan 2011 14:54:53 +0200 Subject: PDF to JPEG In-Reply-To: <012301cbb756$993726b0$cba57410$@LinkIt.Com> References: <012301cbb756$993726b0$cba57410$@LinkIt.Com> Message-ID: <4D36DF1D.5070801@gmail.com> On 01/18/2011 11:28 PM, Ray Horsley wrote: > Anybody know of a way to convert a single PDF file (with multiple pages) to > multiple JPEG files? > GIMP; a bit tedious; i.e. page by page, but it is FREE. > Thanks, > > Ray Horsley > LinkIt! Software > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Jan 19 09:06:57 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 19 Jan 2011 06:06:57 -0800 Subject: File Suffix Message-ID: <4D36F001.8060800@fourthworld.com> Cal Horner wrote: > I noticed in the forum a few digests ago that one of the members was looking > for conventions to use in coding and object naming, etc. And from my > experience with Runrev and now LC stacks the people on this forum try to use > some form of convention naming. Even if it isn't pure Hungarian notation. > > I think I can say that we all have reached some degree of professionalism. > > So, my question is "Who the H*** decided, in their little pea-brain, that > they would break the convention (that has been around since Pontius was a > Pilot) of a filename, a period (a full-stop for all you commonwealth people) > and then finally a three character suffix."? > > Don't you think that this git should be taken out and tarred and feathered? You can change lines 903 and 1028 in the revBackScript script to use any extension you like. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From ray at linkit.com Wed Jan 19 09:09:25 2011 From: ray at linkit.com (Ray Horsley) Date: Wed, 19 Jan 2011 09:09:25 -0500 Subject: PDF to JPEG In-Reply-To: <4D36DF1D.5070801@gmail.com> References: <012301cbb756$993726b0$cba57410$@LinkIt.Com> <4D36DF1D.5070801@gmail.com> Message-ID: <002e01cbb7e2$7b1c5f60$71551e20$@LinkIt.Com> Sorry, I should have mentioned that I need to do this from within LiveCode. Any other suggestions? Thanks, Ray Horsley LinkIt! Software -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richmond Sent: Wednesday, January 19, 2011 7:55 AM To: How to use LiveCode Subject: Re: PDF to JPEG On 01/18/2011 11:28 PM, Ray Horsley wrote: > Anybody know of a way to convert a single PDF file (with multiple > pages) to multiple JPEG files? > GIMP; a bit tedious; i.e. page by page, but it is FREE. > Thanks, > > Ray Horsley > LinkIt! 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 DunbarX at aol.com Wed Jan 19 09:30:52 2011 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 19 Jan 2011 09:30:52 EST Subject: How do I force a key to enter just one character when being pressed? Message-ID: <45cc5.448be4d9.3a684f9c@aol.com> Is there a way to set the "delay until repeat" in the system prefs to "off". This on a mac, anyway. Craig Newman From Roger.E.Eller at sealedair.com Wed Jan 19 10:10:48 2011 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Wed, 19 Jan 2011 10:10:48 -0500 Subject: PDF to JPEG In-Reply-To: <002e01cbb7e2$7b1c5f60$71551e20$@LinkIt.Com> Message-ID: I have never used this software, but being a command-line tool, you should be able to call it from Rev via shell, assuming you are using Windows. http://www.freedownloadscenter.com/Business/Document_Management_Tools/e_PDF_PDF_To_Thumbnail_Converter.html Key features: 1. PDF to Thumbnail Command Line can convert PDF files to JPG, JPEG, TIFF, BMP, PNG, GIF, TGA, PCX, PNM, RAS, PBM, etc. images; 2. PDF to Thumbnail Command Line supports Password Protected PDF files; 3. PDF to Thumbnail Command Line can specify any resolution from 10 to 1200 dpi in the generated image files; ... and more... ~Roger > Sorry, I should have mentioned that I need to do this from within LiveCode. > Any other suggestions? > > Thanks, > > Ray Horsley > LinkIt! Software > >> -----Original Message----- >> From: use-livecode-bounces at lists.runrev.com >> [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richmond >> Sent: Wednesday, January 19, 2011 7:55 AM >> To: How to use LiveCode >> Subject: Re: PDF to JPEG >> >> On 01/18/2011 11:28 PM, Ray Horsley wrote: >>> Anybody know of a way to convert a single PDF file (with multiple >>> pages) to multiple JPEG files? >>> >> >> GIMP; a bit tedious; i.e. page by page, but it is FREE. >> >>> Thanks, >>> >>> Ray Horsley >>> LinkIt! Software >>> >>> From williamdesmet at gmail.com Wed Jan 19 10:12:36 2011 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 19 Jan 2011 16:12:36 +0100 Subject: How do I force a key to enter just one character when being pressed? In-Reply-To: <45cc5.448be4d9.3a684f9c@aol.com> References: <45cc5.448be4d9.3a684f9c@aol.com> Message-ID: Thanks Graig but the app will be mostly used on Windows (but developed on a Mac). @ Thierry: RawKeyDown will will work if you specify a certain key. local pressed on arrowKey theKey ? ?if (theKey = "Right") and (not pressed) then ? ? ? put true into pressed ? ?end if on rawKeyUp keycode ? ?if keycode = 65361 then put false into pressed end rawKeyUp Can I change this? And how do I do that? greetings, William 2011/1/19 : > Is there a way to set the "delay until repeat" in the system prefs to > "off". > > This on a mac, anyway. > > 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 DunbarX at aol.com Wed Jan 19 11:08:33 2011 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 19 Jan 2011 11:08:33 EST Subject: How do I force a key to enter just one character when being pressed? Message-ID: <4d5ab.5ce5ef4.3a686681@aol.com> Try this in the field script: on keyDown var if the stillPressed of me = "true" then exit to top put var after me set the currentText of me to me set the stillPressed of me to "true" end keyDown on keyup set the stillPressed of me to "false" end keyup From DunbarX at aol.com Wed Jan 19 11:12:31 2011 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 19 Jan 2011 11:12:31 EST Subject: How do I force a key to enter just one character when being pressed? Message-ID: <4da0f.514c6262.3a68676f@aol.com> I had tried a few methods in my last post. One line is not necessary. So this: on keyDown var if the stillPressed of me = "true" then exit to top put var after me set the stillPressed of me to "true" end keyDown on keyup set the stillPressed of me to "false" end keyup From ludovic.thebault at laposte.net Wed Jan 19 11:20:27 2011 From: ludovic.thebault at laposte.net (=?ISO-8859-1?Q?Ludovic_Th=E9bault?=) Date: Wed, 19 Jan 2011 17:20:27 +0100 Subject: The best way to embed a lot of pictures in an ios application Message-ID: Hello, I test the ios part of runrev, maybe for a futur app. What is the best way to store a large number of images in a iapp? Image Library, custom property,? ? I have to show them on demand Thanks ! From bobs at twft.com Wed Jan 19 11:48:09 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 19 Jan 2011 08:48:09 -0800 Subject: An idea on multithreading implementation In-Reply-To: <20252AD0-9411-4E0C-B805-CBB16EDD76C7@gmail.com> References: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> <61426695-31A4-47A0-B069-E7E908033476@twft.com> <4D363DD2.709@pdslabs.net> <93FAB16C-D98D-4A28-8CA0-B40C578C4903@twft.com> <20252AD0-9411-4E0C-B805-CBB16EDD76C7@gmail.com> Message-ID: <6B553F05-CA04-4832-BAAC-2EFF7A093043@twft.com> I was thinking of something a lot more "native" than that. All threads in a multithreaded IDE or standalone could theoretically have access to all the objects and processes in all threaded processes. The engine would be responsible for internally keeping track of everything, and the developer would never need to be concerned about which thread. If Stack A running in one thread wanted to know the contents of a field or button on a card in stack B running in another thread, you would just code as normal. The advantage and goal would be to have entire stacks or just certain commands or functions running in their own thread so that a long process in one stack would not prevent another from running. But maybe it all works because it's only in my head. Bob On Jan 18, 2011, at 6:17 PM, Jeffrey Massung wrote: > Well, TCP works great, you just have to define your protocol and go. This wouldn't be too difficult to implement. That said, a native method of letting LC apps inter-communicate w/o having to program it [much] would be slick. Taking some ideas from AppleScript: > > > ## app "A": > > start script server on port 5674 > > > > ## app "B" > > connect to application "A" on port 5674 > tell application "A" "doSomethingCool" > > > > The real questions: > > * Security. Is there a [with password] parameter for the server app? SSL? > * Is "doSomethingCool" a stack handler or is there an "on clientMessage" type handler? > * Do you allow only loopback (localhost) connections or also remote connections? > > > Simply put, this is really just a way of having RPC calls across LC applications. But, I admit, it'd be really cool. Certainly with the LC language it would be trivial to setup 2-way communication this way, having application "B" identifying itself to application "A", etc. > > Jeff M. > > > > On Jan 18, 2011, at 6:29 PM, Bob Sneidar wrote: > >> Right... but they cannot communicate easily, or I should say natively with each other. >> >> Bob >> >> >> On Jan 18, 2011, at 5:26 PM, Phil Davis wrote: >> >>> Hi Bob, >>> >>> On 1/18/11 5:05 PM, Bob Sneidar wrote: >>>> Maybe I am using the wrong term here. Often in Windows an application will open multiple instances of an application, and each instance will be it's own process. An explorer window for example is it's own instance of Windows Explorer, and runs on it's own regardless of what the other window is doing. If that is not multithreading, then I am talking about something else. >>> >>> I'm not entirely sure what this is called either, but you can do it on a Mac too - just duplicate LiveCode. Then you can run 2 IDEs simultaneously. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 19 11:51:05 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 19 Jan 2011 08:51:05 -0800 Subject: The best way to embed a lot of pictures in an ios application In-Reply-To: References: Message-ID: <2E44C016-5FCA-40B9-A0F9-58027B2E7C88@twft.com> I would say just use the file system like iPhoto and iTunes does. No need to keep them internally is there? Bob On Jan 19, 2011, at 8:20 AM, Ludovic Th?bault wrote: > Hello, > > I test the ios part of runrev, maybe for a futur app. > > What is the best way to store a large number of images in a iapp? Image Library, custom property,? ? > > I have to show them on demand > > 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 andre at andregarzia.com Wed Jan 19 11:51:54 2011 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 19 Jan 2011 14:51:54 -0200 Subject: The best way to embed a lot of pictures in an ios application In-Reply-To: References: Message-ID: Ludovic, I think that if you store them in the stack, your stack will grow and it will take longer to launch which you want to avoid. Better to bundle all the images as files in the app bundle and load them on demand. andre On Wed, Jan 19, 2011 at 2:20 PM, Ludovic Th?bault < ludovic.thebault at laposte.net> wrote: > Hello, > > I test the ios part of runrev, maybe for a futur app. > > What is the best way to store a large number of images in a iapp? Image > Library, custom property,? ? > > I have to show them on demand > > 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 > -- http://www.andregarzia.com All We Do Is Code. From massung at gmail.com Wed Jan 19 13:02:31 2011 From: massung at gmail.com (Jeff Massung) Date: Wed, 19 Jan 2011 11:02:31 -0700 Subject: The best way to embed a lot of pictures in an ios application In-Reply-To: References: Message-ID: I think it would depend on what you consider to be "large". Also keep in mind that the number of images (and the size of your stack) will directly impact any potential sales since AT&T limits 3G app downloads to 20 MB. If you are talking about an insane number of images (think something like a medical DB with images of injuries, pills, etc), then I'd highly recommend hosting the images on a server, and the first time the app is launched prompting the user if they'd like to download them all now or just load them as needed via the internet. It has the added benefit of letting you update the images w/o having to update your app in the AppStore. Jeff M. On Wed, Jan 19, 2011 at 9:20 AM, Ludovic Th?bault < ludovic.thebault at laposte.net> wrote: > Hello, > > I test the ios part of runrev, maybe for a futur app. > > What is the best way to store a large number of images in a iapp? Image > Library, custom property,? ? > > From ambassador at fourthworld.com Wed Jan 19 13:18:34 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 19 Jan 2011 10:18:34 -0800 Subject: The best way to embed a lot of pictures in an ios application Message-ID: <4D372AFA.6020207@fourthworld.com> Jeff Massung wrote: > I think it would depend on what you consider to be "large". Also keep in > mind that the number of images (and the size of your stack) will directly > impact any potential sales since AT&T limits 3G app downloads to 20 MB. Is that in the fine print of the dev agreement? Where can we learn the details? I have a client who's hoping to deliver something much larger than 20MB. Wasn't the Wired app much larger? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From bvg at mac.com Wed Jan 19 13:20:28 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 19 Jan 2011 19:20:28 +0100 Subject: The best way to embed a lot of pictures in an ios application In-Reply-To: <4D372AFA.6020207@fourthworld.com> References: <4D372AFA.6020207@fourthworld.com> Message-ID: <446D8448-B490-4CE6-B764-081545D95109@mac.com> the on-device shop limits the size of apps available trough it. the itunes shop does not. On 19 Jan 2011, at 19:18, Richard Gaskin wrote: > Jeff Massung wrote: > >> I think it would depend on what you consider to be "large". Also keep in >> mind that the number of images (and the size of your stack) will directly >> impact any potential sales since AT&T limits 3G app downloads to 20 MB. > > Is that in the fine print of the dev agreement? > Where can we learn the details? > > I have a client who's hoping to deliver something much larger than 20MB. > > Wasn't the Wired app much larger? > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Jan 19 13:23:48 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 19 Jan 2011 10:23:48 -0800 Subject: The best way to embed a lot of pictures in an ios application Message-ID: <4D372C34.9080100@fourthworld.com> Bj?rnke von Gierke wrote: > the on-device shop limits the size of apps available trough it. the itunes shop does not. Is this noted on the AT&T site? I need a URL to an authoritative source so I can discuss the implications with my client. TIA - > On 19 Jan 2011, at 19:18, Richard Gaskin wrote: > >> Jeff Massung wrote: >> >>> I think it would depend on what you consider to be "large". Also keep in >>> mind that the number of images (and the size of your stack) will directly >>> impact any potential sales since AT&T limits 3G app downloads to 20 MB. >> >> Is that in the fine print of the dev agreement? >> Where can we learn the details? >> >> I have a client who's hoping to deliver something much larger than 20MB. >> >> Wasn't the Wired app much larger? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From scott at tactilemedia.com Wed Jan 19 13:30:52 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 19 Jan 2011 10:30:52 -0800 Subject: The best way to embed a lot of pictures in an ios application In-Reply-To: <4D372C34.9080100@fourthworld.com> Message-ID: Recently, Richard Gaskin wrote: >> the on-device shop limits the size of apps available trough it. the itunes >> shop does not. > > Is this noted on the AT&T site? > > I need a URL to an authoritative source so I can discuss the > implications with my client. I've come across this in the games arena as well. I don't have a source for you, but I've heard the same thing -- 20MB limit on cell downloads. Regards, Scott Rossi Creative Director Tactile Media, UX Design From revolution at derbrill.de Wed Jan 19 13:31:40 2011 From: revolution at derbrill.de (Malte Brill) Date: Wed, 19 Jan 2011 19:31:40 +0100 Subject: [ANN] animationEngine 4.0 Message-ID: <2B5E74BE-5DEB-416F-8DB4-676E44201765@derbrill.de> Dear fellow Livecoders, I am happy to announce the immediate availability of animationEngine 4.0 http://www.runrev.com/downloads/marketplace/animation_engine/4_0_0/animationengine4.zip tiny URL for linewrap breaks: http://tinyurl.com/4zg9xc5 Product page: http://runrev.com/store/product/animation-engine-4-0-0/ Version 4 of animationEngine ensures compatibility with iOS devices and, as far as possible, compliance with Apples AppStore. AppStore compliance: We rewrote parts of AE, that could potentially cause applications using AE to be rejected. Everything inside AE behaves like a nice appstore citizen now. Multitouch constrained dragging: Previous versions of AE relied on mouse messages being sent to constrained controls using either the constrainLinear, constrainCircular, constrainRectangular or constrainElliptical properties. Major parts of the library have been reworked to support constrained dragging of controls on iOS devices. The implementation in AE 4 now allows dragging multiple controls at the same time on iOs devices. No changes to the syntax were necessary. You can simply set any of the constrain properties and have all of them react on the device. New command aeScrollTo: The command aeScrollTo has been introduced into animationEngine. This command allows to scroll a group or field in both x and y direction at the same time. aeScrollTo pControl,pNewHScroll,pNewVScroll,pDuration,[pMethod] the first parameter is a long reference to a group or field pNewHscroll and pNewVScroll are the desired new values for the scroll of the control pDuration is the time needed to reach the new scroll value in milliseconds pMethod: the easing method used to calculate the transition or empty. Valid methods are: in,out,inOut,bounce or overshoot Changes to aeEnterFrame and aeExitFrame: Both messages are now being sent with an additional parameter that holds the command that called aeEnterFrame or aeExitFrame. Specific Bug fixes: In previous versions of animationEngine setting the constrainLinear of a control did not reset the other constraining properties. This could cause execution to halt with a recursion limit reached error. The price for existing users is USD 55 / 33 pounds / 39 Euro. You can upgrade from any version of animationEngine or arcadeEngine. If you bought a retail version of animationEngine (means that was not part of a special offer or bundle) after Sept. 30th 2010 you are entitled to a free upgrade. If you do not automagically receive a new registration code, please get in touch, quoting your purchase order number, so I can get you updated. I am now officially putting on the party hat! Cheers all. Malte From warrenkuhl at gmail.com Wed Jan 19 13:34:18 2011 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Wed, 19 Jan 2011 12:34:18 -0600 Subject: Efficient Way To Check If Certain Characters Exist in Variable Message-ID: What would be the most efficient way to check a variable and replace any of the characters with empty if the character is not a alpha (upper or lower), numeric (0-9) or a '-'? The only way I can think of doing this is a repeat loop and checking the value of each character and replacing with empty if not alpha, numeric or '-'. Any other suggestions for more efficient code? Thanks, Warren From massung at gmail.com Wed Jan 19 13:40:26 2011 From: massung at gmail.com (Jeff Massung) Date: Wed, 19 Jan 2011 11:40:26 -0700 Subject: Efficient Way To Check If Certain Characters Exist in Variable In-Reply-To: References: Message-ID: On Wed, Jan 19, 2011 at 11:34 AM, Warren Kuhl wrote: > What would be the most efficient way to check a variable and replace any of > the characters with empty if the character is not a alpha (upper or lower), > numeric (0-9) or a '-'? > > The only way I can think of doing this is a repeat loop and checking the > value of each character and replacing with empty if not alpha, numeric or > '-'. > > Any other suggestions for more efficient code? > > Well, it depends on what your definition of "efficient" is. If you want a 1-liner: put replaceText(tSource, "[^A-Za-z0-9\-]+", empty) into tDest That's using regular expression. But that might be a lot less performance (speed-wise) than doing it yourself in a loop: repeat for each char c in tSource if c is in "abcdef...WXYZ0123456789-" then put c after tDest end if end repeat HTH, Jeff M. From ambassador at fourthworld.com Wed Jan 19 13:37:54 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 19 Jan 2011 10:37:54 -0800 Subject: The best way to embed a lot of pictures in an ios application Message-ID: <4D372F82.6060103@fourthworld.com> Scott Rossi wrote: > Recently, Richard Gaskin wrote: > >>> the on-device shop limits the size of apps available trough it. the itunes >>> shop does not. >> >> Is this noted on the AT&T site? >> >> I need a URL to an authoritative source so I can discuss the >> implications with my client. > > I've come across this in the games arena as well. I don't have a source for > you, but I've heard the same thing -- 20MB limit on cell downloads. I'll poke around and see what I can find. I just can't go to my client with "I heard on the Internet that..." ;) If anyone here can turn up an authoritative link I'd be much obliged. Thanks - -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From massung at gmail.com Wed Jan 19 13:48:47 2011 From: massung at gmail.com (Jeff Massung) Date: Wed, 19 Jan 2011 11:48:47 -0700 Subject: The best way to embed a lot of pictures in an ios application In-Reply-To: <4D372F82.6060103@fourthworld.com> References: <4D372F82.6060103@fourthworld.com> Message-ID: On Wed, Jan 19, 2011 at 11:37 AM, Richard Gaskin wrote: > Scott Rossi wrote: > > Recently, Richard Gaskin wrote: >> >> the on-device shop limits the size of apps available trough it. the >>>> itunes >>>> shop does not. >>>> >>> >>> Is this noted on the AT&T site? >>> >>> I need a URL to an authoritative source so I can discuss the >>> implications with my client. >>> >> >> I've come across this in the games arena as well. I don't have a source >> for >> you, but I've heard the same thing -- 20MB limit on cell downloads. >> > > I'll poke around and see what I can find. I just can't go to my client > with "I heard on the Internet that..." ;) > > If anyone here can turn up an authoritative link I'd be much obliged. > > While I understand what you'd like, you can just prove it to your client. Don't be connected to a Wi-Fi network, startup up the AppStore, and try and purchase a large app (or update one). I believe you can find one on iTunes - I think it states the size of the app. Just find one > 20 MB in size. This limitation isn't explicitly in writing, I believe, because it changes. A year ago (or less) it was limited to 10 MB. Once Verizon starts pumping out iPhones I'm sure the size will increase because it'll be a selling point on both sides. Jeff M. From warrenkuhl at gmail.com Wed Jan 19 13:50:01 2011 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Wed, 19 Jan 2011 12:50:01 -0600 Subject: Efficient Way To Check If Certain Characters Exist in Variable In-Reply-To: References: Message-ID: Jeff, Thanks for the suggestions! I will use the replacetext and compare the speed with the loop and see which is quicker. Much appreciated! Warren On Wed, Jan 19, 2011 at 12:40 PM, Jeff Massung wrote: > On Wed, Jan 19, 2011 at 11:34 AM, Warren Kuhl > wrote: > > > What would be the most efficient way to check a variable and replace any > of > > the characters with empty if the character is not a alpha (upper or > lower), > > numeric (0-9) or a '-'? > > > > The only way I can think of doing this is a repeat loop and checking the > > value of each character and replacing with empty if not alpha, numeric or > > '-'. > > > > Any other suggestions for more efficient code? > > > > > Well, it depends on what your definition of "efficient" is. If you want a > 1-liner: > > put replaceText(tSource, "[^A-Za-z0-9\-]+", empty) into tDest > > That's using regular expression. But that might be a lot less performance > (speed-wise) than doing it yourself in a loop: > > repeat for each char c in tSource > if c is in "abcdef...WXYZ0123456789-" then > put c after tDest > end if > end repeat > > HTH, > > Jeff M. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 19 14:16:23 2011 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 19 Jan 2011 21:16:23 +0200 Subject: PDF to JPEG In-Reply-To: <012301cbb756$993726b0$cba57410$@LinkIt.Com> References: <012301cbb756$993726b0$cba57410$@LinkIt.Com> Message-ID: <4D373887.1090604@gmail.com> On 01/18/2011 11:28 PM, Ray Horsley wrote: > Anybody know of a way to convert a single PDF file (with multiple pages) to > multiple JPEG files? > I don't think this is possible in Livecode qua Livecode; you might be able to send a signal to another program that has the capability you want from within LiveCode. As far as I know PDF and Livecode don't really mix. I did, for what it is worth, manage to import a PDF file as a text file, but that doesn't bring us nearer to any image formats. If you have a Mac this might be some sort of help: http://www.documentsnap.com/applescript-easily-convert-pdf-documents-to-jpg-or-png/ From liste.revo at medard.on-rev.com Wed Jan 19 14:32:22 2011 From: liste.revo at medard.on-rev.com (Medard) Date: Wed, 19 Jan 2011 20:32:22 +0100 Subject: File Suffix In-Reply-To: <4D36682A.000003.02352@CALS_BIG_PC> Message-ID: <1jvczno.1nsnkza1r8a6tiM%liste.revo@medard.on-rev.com> Cal Horner wrote: > So, my question is "Who the H*** decided, in their little pea-brain, that > they would break the convention You're right, go back to the DOS naming convention 8+3 and the 640 memory barrier! ;-> From bonnmike at gmail.com Wed Jan 19 14:32:47 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 19 Jan 2011 12:32:47 -0700 Subject: Weird field behavior Message-ID: Found a strange behavior with a field, was wondering if someone can confirm. Is there a line length limit in a field? If so, what is it, so I know whether to ignore this, or not. Or if no limit, of course can't be ignored. The problem is, with line wrap turned off, (or left on, with a line with no spaces) once the line gets too long it poofs. Yet, checking the line length shows it as still there, and more text can be added to the line which is also counted. With wrap turned on, the length of line that works is quite a bit longer than without wrap, but the affect is the same. Keep adding text to the line, the scroll thumb adjusts itself based on the amount of text in the field, then POOF, thumb size is back to the start again as if there is no text in the field. Yet the line length is still tracked correctly, and as new text is added the thumb size adjusts again till the next reset point. There is a stack here http://guidezone.info/Field Bug.livecode to test with. Clear the data, then start adding data with the provided button. For me, on windows 7 with line wrap off, I can hit the button 4 times before it goes poof, for a length of 8400. With word wrap on, I can hit the button 7 times ending at a line length of 14700 when things go wiggy. From bonnmike at gmail.com Wed Jan 19 14:33:34 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 19 Jan 2011 12:33:34 -0700 Subject: Weird field behavior In-Reply-To: References: Message-ID: oops, cut and paste the url, all the way to the end of livecode of course. Forgot, and named my file with a space. On Wed, Jan 19, 2011 at 12:32 PM, Mike Bonner wrote: > Found a strange behavior with a field, was wondering if someone can > confirm. > > Is there a line length limit in a field? If so, what is it, so I know > whether to ignore this, or not. Or if no limit, of course can't be ignored. > > The problem is, with line wrap turned off, (or left on, with a line with no > spaces) once the line gets too long it poofs. Yet, checking the line length > shows it as still there, and more text can be added to the line which is > also counted. > > With wrap turned on, the length of line that works is quite a bit longer > than without wrap, but the affect is the same. Keep adding text to the > line, the scroll thumb adjusts itself based on the amount of text in the > field, then POOF, thumb size is back to the start again as if there is no > text in the field. Yet the line length is still tracked correctly, and as > new text is added the thumb size adjusts again till the next reset point. > > There is a stack here http://guidezone.info/Field Bug.livecode to test > with. Clear the data, then start adding data with the provided button. For > me, on windows 7 with line wrap off, I can hit the button 4 times before it > goes poof, for a length of 8400. > > With word wrap on, I can hit the button 7 times ending at a line length of > 14700 when things go wiggy. > From gbojsza at gmail.com Wed Jan 19 14:34:15 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 19 Jan 2011 12:34:15 -0700 Subject: Combining multiple pngs into a single png Message-ID: Hello, Is this possible to choose a folder that contains multiple pngs and create a single png where each png in the folder is place right after the previous one. The pngs would be centered to the first one and could either be touching along the top/bottom edges or have a small space between them. I thought of placing them in a scrollable window or field but getting a single png with all of them showing has been the problem. Has anybody tried something like this? thanks, Glen From dixonja at hotmail.co.uk Wed Jan 19 14:46:48 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Wed, 19 Jan 2011 19:46:48 +0000 Subject: Weird field behavior In-Reply-To: References: Message-ID: > Date: Wed, 19 Jan 2011 12:32:47 -0700 > Subject: Weird field behavior > From: bonnmike at gmail.com > To: use-livecode at lists.runrev.com > > Found a strange behavior with a field, was wondering if someone can confirm. > > Is there a line length limit in a field? If so, what is it, so I know > whether to ignore this, or not. Or if no limit, of course can't be ignored. Maximum length of a line in a field - 65,536 characters storage. No more than 32,786 pixels wide for display (from the userguide) From bonnmike at gmail.com Wed Jan 19 14:49:41 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 19 Jan 2011 12:49:41 -0700 Subject: Weird field behavior In-Reply-To: References: Message-ID: Ah k. Then there is still a problem. The width with no linewrap most likely is over the pixel width you point out, but with line wrap on it breaks for me well before the char length limit, and as well if you keep adding chars to the field, the process repeats itself. On Wed, Jan 19, 2011 at 12:46 PM, John Dixon wrote: > > > > > Date: Wed, 19 Jan 2011 12:32:47 -0700 > > Subject: Weird field behavior > > From: bonnmike at gmail.com > > To: use-livecode at lists.runrev.com > > > > Found a strange behavior with a field, was wondering if someone can > confirm. > > > > Is there a line length limit in a field? If so, what is it, so I know > > whether to ignore this, or not. Or if no limit, of course can't be > ignored. > > > Maximum length of a line in a field - 65,536 characters storage. No more > than 32,786 pixels wide for display > (from the userguide) > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at tactilemedia.com Wed Jan 19 15:05:52 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 19 Jan 2011 12:05:52 -0800 Subject: Combining multiple pngs into a single png In-Reply-To: Message-ID: Recently, Glen Bojsza wrote: > Is this possible to choose a folder that contains multiple pngs and create a > single png where each png in the folder is place right after the previous > one. The pngs would be centered to the first one and could either be > touching along the top/bottom edges or have a small space between them. > > I thought of placing them in a scrollable window or field but getting a > single png with all of them showing has been the problem. > > Has anybody tried something like this? I use a scrolling group that contains images (one for each PMG). Are you talking about taking a screenshot of all the PNGs together in the group? Something like: import snapshot from rect (rect of grp imgGroup) of grp imgGroup Also, I just tried a quick test and importing a snapshot works fine when capturing a region that extends beyond the stack window, so if all you PNGs don't fit in the window comfortably, you should be able to capture them regardless. Regards, Scott Rossi Creative Director Tactile Media, UX Design From liste.revo at medard.on-rev.com Wed Jan 19 15:27:42 2011 From: liste.revo at medard.on-rev.com (Medard) Date: Wed, 19 Jan 2011 21:27:42 +0100 Subject: On-Rev: authentication problems (Safari?) Message-ID: <1jvd1in.2sg81kb3tm1bM%liste.revo@medard.on-rev.com> Recently, I went with authentication problems concerning On-Rev... As well as the "On-Rev" destop app, as "cPanel" The problem with the desktop app seems to be resolved (and also, there are some alternatives) The problem remains unresolved connecting to cPanel is impossible, as it refuses my name/password. I wrote to the tech support, and they told me that things worked for them*! Usually, I go on the web with Safari... so I had an idea, and tested Firefox, which is my second web browser: that worked!!! So, the problem seems to lie into Safari... I remembered that I had some problems with a Safari extension, Adblock, that caused Safari to crash on opening a revlet. I deactivated that extension -- with no luck ;-( Also, I noticed some trouble with the password verification routine within cPanel: in Safari that leaded to an "AJAX error" -- I don't know if it is related to authentication problem. And the password routine works like a charm in Firefox! Mac OS X 10.6.5 Safari 5.0.3 Firefox 3.5.16 * besides that, they advised me to change my password, as I was still using the one they gave me at start ;-) From ray at linkit.com Wed Jan 19 15:30:23 2011 From: ray at linkit.com (Ray Horsley) Date: Wed, 19 Jan 2011 15:30:23 -0500 Subject: PDF to JPEG In-Reply-To: <4D373887.1090604@gmail.com> References: <012301cbb756$993726b0$cba57410$@LinkIt.Com> <4D373887.1090604@gmail.com> Message-ID: <008601cbb817$b3861aa0$1a924fe0$@LinkIt.Com> I've looked briefly at Roger Eller's suggestion: http://www.freedownloadscenter.com/Business/Document_Management_Tools/e_PDF_ PDF_To_Thumbnail_Converter.html I'll try hooking into this via the shell function. Hopefully that'll split these up for me. Thanks, Ray Horsley LinkIt! Software -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richmond Sent: Wednesday, January 19, 2011 2:16 PM To: How to use LiveCode Subject: Re: PDF to JPEG On 01/18/2011 11:28 PM, Ray Horsley wrote: > Anybody know of a way to convert a single PDF file (with multiple > pages) to multiple JPEG files? > I don't think this is possible in Livecode qua Livecode; you might be able to send a signal to another program that has the capability you want from within LiveCode. As far as I know PDF and Livecode don't really mix. I did, for what it is worth, manage to import a PDF file as a text file, but that doesn't bring us nearer to any image formats. If you have a Mac this might be some sort of help: http://www.documentsnap.com/applescript-easily-convert-pdf-documents-to-jpg- or-png/ _______________________________________________ use-livecode mailing list use-livecode at 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 Wed Jan 19 15:41:02 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 19 Jan 2011 13:41:02 -0700 Subject: Combining multiple pngs into a single png In-Reply-To: References: Message-ID: Thanks Scott, I was doing only one rect (the rect of grp imgGroup). Also, the size of grp imgGroup must be large enough to show all the images. This is where the grp imgGroup can extend past the window. On Wed, Jan 19, 2011 at 1:05 PM, Scott Rossi wrote: > Recently, Glen Bojsza wrote: > > > Is this possible to choose a folder that contains multiple pngs and > create a > > single png where each png in the folder is place right after the previous > > one. The pngs would be centered to the first one and could either be > > touching along the top/bottom edges or have a small space between them. > > > > I thought of placing them in a scrollable window or field but getting a > > single png with all of them showing has been the problem. > > > > Has anybody tried something like this? > > I use a scrolling group that contains images (one for each PMG). Are you > talking about taking a screenshot of all the PNGs together in the group? > Something like: > import snapshot from rect (rect of grp imgGroup) of grp imgGroup > > Also, I just tried a quick test and importing a snapshot works fine when > capturing a region that extends beyond the stack window, so if all you PNGs > don't fit in the window comfortably, you should be able to capture them > regardless. > > 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 zryip.theslug at gmail.com Wed Jan 19 15:52:37 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 19 Jan 2011 21:52:37 +0100 Subject: DragDrop and the DragDestination In-Reply-To: <4A36B82D-76EB-45BF-B4EC-D7539C8A4C63@twft.com> References: <4A36B82D-76EB-45BF-B4EC-D7539C8A4C63@twft.com> Message-ID: On Wed, Jan 19, 2011 at 2:20 AM, Bob Sneidar wrote: > I get problem loading page. Hi Bob, The link was a direct download of the stack. Try to go on the download section of the site: http://www.aslugontheroad.co.cc/ And download the experiment 19. If you still have an issue, we will explore another way. Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From runrev260805 at m-r-d.de Wed Jan 19 16:10:32 2011 From: runrev260805 at m-r-d.de (Matthias Rebbe) Date: Wed, 19 Jan 2011 22:10:32 +0100 Subject: [ANN] animationEngine 4.0 In-Reply-To: <2B5E74BE-5DEB-416F-8DB4-676E44201765@derbrill.de> References: <2B5E74BE-5DEB-416F-8DB4-676E44201765@derbrill.de> Message-ID: <58760999-8236-43D7-9C8E-82D4894495CD@m-r-d.de> Hi Malte, where can i purchase the upgrade? I cannot it in the Rev store. Regards, Matthias Am 19.01.2011 um 19:31 schrieb Malte Brill: > Dear fellow Livecoders, > > I am happy to announce the immediate availability of animationEngine 4.0 > > http://www.runrev.com/downloads/marketplace/animation_engine/4_0_0/animationengine4.zip > > tiny URL for linewrap breaks: http://tinyurl.com/4zg9xc5 > > Product page: http://runrev.com/store/product/animation-engine-4-0-0/ > > Version 4 of animationEngine ensures compatibility with iOS devices and, as far as possible, compliance with Apples AppStore. > > AppStore compliance: > > We rewrote parts of AE, that could potentially cause applications using AE to be rejected. Everything inside AE behaves like a nice appstore citizen now. > > Multitouch constrained dragging: > Previous versions of AE relied on mouse messages being sent to constrained controls using either the constrainLinear, constrainCircular, constrainRectangular or constrainElliptical properties. Major parts of the library have been reworked to support constrained dragging of controls on iOS devices. The implementation in AE 4 now allows dragging multiple controls at the same time on iOs devices. No changes to the syntax were necessary. You can simply set any of the constrain properties and have all of them react on the device. > > New command aeScrollTo: > > The command aeScrollTo has been introduced into animationEngine. This command allows to scroll a group or field in both x and y direction at the same time. > > aeScrollTo pControl,pNewHScroll,pNewVScroll,pDuration,[pMethod] > > the first parameter is a long reference to a group or field > pNewHscroll and pNewVScroll are the desired new values for the scroll of the control > pDuration is the time needed to reach the new scroll value in milliseconds > pMethod: the easing method used to calculate the transition or empty. Valid methods are: in,out,inOut,bounce or overshoot > > Changes to aeEnterFrame and aeExitFrame: > > Both messages are now being sent with an additional parameter that holds the command that called aeEnterFrame or aeExitFrame. > > Specific Bug fixes: > > In previous versions of animationEngine setting the constrainLinear of a control did not reset the other constraining properties. This could cause execution to halt with a recursion limit reached error. > > The price for existing users is USD 55 / 33 pounds / 39 Euro. You can upgrade from any version of animationEngine or arcadeEngine. > > If you bought a retail version of animationEngine (means that was not part of a special offer or bundle) after Sept. 30th 2010 you are entitled to a free upgrade. If you do not automagically receive a new registration code, please get in touch, quoting your purchase order number, so I can get you updated. > > I am now officially putting on the party hat! > > Cheers all. > > Malte > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From smudge.andy at googlemail.com Wed Jan 19 16:14:59 2011 From: smudge.andy at googlemail.com (AndyP) Date: Wed, 19 Jan 2011 13:14:59 -0800 (PST) Subject: Progress bar In-Reply-To: <1295374046389-3223646.post@n4.nabble.com> References: <1295293490031-3221250.post@n4.nabble.com> <1295357171694-3221324.post@n4.nabble.com> <1295368409695-3223414.post@n4.nabble.com> <1295369219821-3223451.post@n4.nabble.com> <1295374046389-3223646.post@n4.nabble.com> Message-ID: <1295471699437-3225453.post@n4.nabble.com> Hi Steve, Same with the scrollbar. If it's on another card or stack you need to provide this info i.e, ...of scrollbar "sb1" of card "mycard" of stack "mystack" ----- Andy Piddock My software never has bugs. It just develops random features. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Progress-bar-tp3221250p3225453.html Sent from the Revolution - User mailing list archive at Nabble.com. From williamdesmet at gmail.com Wed Jan 19 16:25:10 2011 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 19 Jan 2011 22:25:10 +0100 Subject: How do I get the contents of a scrollable group printed? Message-ID: Hi there, This time a printing question! In a card I have several images and fields grouped together and grouped again with a vertical scrollbar. The stacksize is small so with the scrollbar the 'invisible' contents gets visible. What is the best way to get the contents of the scrollable group printed? I am thing of doing it this way: Copy the group to a new card, resize the new card to the width and height of the group, print card from rect of group, close card. Is this the right way or is there a better (simpler) way to do this? greetings, William From zryip.theslug at gmail.com Wed Jan 19 16:29:44 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 19 Jan 2011 22:29:44 +0100 Subject: [ANN] Data Grid Helper clones your DataGrids and supports the MC IDE In-Reply-To: References: Message-ID: On Mon, Jan 17, 2011 at 3:45 PM, zryip theSlug wrote: > If you have not already tested DGH, a trial version free for 30 days > is available here: > http://www.aslugontheroad.co.cc/index.php?option=com_phocadownload&view=category&download=17:data-grid-helper-plugin&id=12:trial&Itemid=63 > > We have also a quick start guide downloadable here: > http://www.aslugontheroad.co.cc/index.php?option=com_phocadownload&view=category&download=13:data-grid-helper-quick-start-guide&id=12:trial&Itemid=63 Dear LiveCoder, An update to let you know we have now a beautiful box, waiting for you directly in the LiveCode Store. You can reach it by following this link: http://www.runrev.com/store/product/data-grid-helper-1-2-0/ Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From scott at tactilemedia.com Wed Jan 19 16:30:43 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 19 Jan 2011 13:30:43 -0800 Subject: Combining multiple pngs into a single png In-Reply-To: Message-ID: The cool thing about the syntax below is you can grab a screenshot from any object or group of objects regardless of whether they fit in the window or on the card. If you group the group of PNGs, you can limit the visible display of PNGs to whatever you want, but you can still snapshot the entire set of PNGs by virtue of them being in a group. So if your PNG group -- say the group named "catalog"-- is 1200 pixels wide, and you place the catalog group inside another group -- say this group is called "container" -- you can set the width of the container group to 400 pixels with a scrollbar, so the contents (catalog group) can be viewed by scrolling. When it comes time to create a snapshot, the following will capture the entire catalog group even while it is masked off by the container group: import snapshot from rect (rect of grp catalog) of grp catalog Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Glen Bojsza wrote: > Thanks Scott, I was doing only one rect (the rect of grp imgGroup). > > Also, the size of grp imgGroup must be large enough to show all the images. > This is where the grp imgGroup can extend past the window. > > > On Wed, Jan 19, 2011 at 1:05 PM, Scott Rossi wrote: > >> Recently, Glen Bojsza wrote: >> >>> Is this possible to choose a folder that contains multiple pngs and >> create a >>> single png where each png in the folder is place right after the previous >>> one. The pngs would be centered to the first one and could either be >>> touching along the top/bottom edges or have a small space between them. >>> >>> I thought of placing them in a scrollable window or field but getting a >>> single png with all of them showing has been the problem. >>> >>> Has anybody tried something like this? >> >> I use a scrolling group that contains images (one for each PMG). Are you >> talking about taking a screenshot of all the PNGs together in the group? >> Something like: >> import snapshot from rect (rect of grp imgGroup) of grp imgGroup >> >> Also, I just tried a quick test and importing a snapshot works fine when >> capturing a region that extends beyond the stack window, so if all you PNGs >> don't fit in the window comfortably, you should be able to capture them >> regardless. >> >> 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 bobs at twft.com Wed Jan 19 16:49:52 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 19 Jan 2011 13:49:52 -0800 Subject: The best way to embed a lot of pictures in an ios application In-Reply-To: <4D372C34.9080100@fourthworld.com> References: <4D372C34.9080100@fourthworld.com> Message-ID: <8046FDE7-71A7-4677-94F2-3488768CEFE9@twft.com> Anytime I have tried to download anything over 20 megs and I am on 3g it tells me there is a limit of 20 megs and I have to dl from my computer and sync or else be on a wireless network. Bob On Jan 19, 2011, at 10:23 AM, Richard Gaskin wrote: > Bj?rnke von Gierke wrote: > >> the on-device shop limits the size of apps available trough it. the itunes shop does not. > > Is this noted on the AT&T site? > > I need a URL to an authoritative source so I can discuss the implications with my client. > > TIA - > >> On 19 Jan 2011, at 19:18, Richard Gaskin wrote: >> >>> Jeff Massung wrote: >>> >>>> I think it would depend on what you consider to be "large". Also keep in >>>> mind that the number of images (and the size of your stack) will directly >>>> impact any potential sales since AT&T limits 3G app downloads to 20 MB. >>> >>> Is that in the fine print of the dev agreement? >>> Where can we learn the details? >>> >>> I have a client who's hoping to deliver something much larger than 20MB. >>> >>> Wasn't the Wired app much larger? > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From smudge.andy at googlemail.com Wed Jan 19 16:50:23 2011 From: smudge.andy at googlemail.com (AndyP) Date: Wed, 19 Jan 2011 13:50:23 -0800 (PST) Subject: PDF to JPEG In-Reply-To: <012301cbb756$993726b0$cba57410$@LinkIt.Com> References: <012301cbb756$993726b0$cba57410$@LinkIt.Com> Message-ID: <1295473823049-3225455.post@n4.nabble.com> Hi Ray, If Windows then no extra software is needed. 1) Open PDF 2) Go ? File ? Print 3) Change printer to ?Microsoft Office Document Image Writer? (most XP and Vista computers will have this installed) 4) Bottom of page, tick box ?Print to File? 5) Click Properties, go to Advanced tab and change file path to where you want the file saved, click OK 6) Click OK, when box for File Name comes up, name the file and add extension (ie: .jpg) on the end. 7) Check location you saved the file to, there should be a .jpg image of your .pdf document. ----- Andy Piddock My software never has bugs. It just develops random features. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/PDF-to-JPEG-tp3224048p3225455.html Sent from the Revolution - User mailing list archive at Nabble.com. From ray at linkit.com Wed Jan 19 18:05:24 2011 From: ray at linkit.com (Ray Horsley) Date: Wed, 19 Jan 2011 18:05:24 -0500 Subject: PDF to JPEG In-Reply-To: <1295473823049-3225455.post@n4.nabble.com> References: <012301cbb756$993726b0$cba57410$@LinkIt.Com> <1295473823049-3225455.post@n4.nabble.com> Message-ID: <000901cbb82d$5b3a0800$11ae1800$@LinkIt.Com> Andy, Thanks for these steps. Unfortunately they don't work so well on Windows 7 (all I have installed is Microsoft XPS Document Writer) but in any event I really need something I can use in scripts. Thanks, Ray -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of AndyP Sent: Wednesday, January 19, 2011 4:50 PM To: use-revolution at lists.runrev.com Subject: Re: PDF to JPEG Hi Ray, If Windows then no extra software is needed. 1) Open PDF 2) Go ? File ? Print 3) Change printer to ?Microsoft Office Document Image Writer? (most XP and Vista computers will have this installed) 4) Bottom of page, tick box ?Print to File? 5) Click Properties, go to Advanced tab and change file path to where you want the file saved, click OK 6) Click OK, when box for File Name comes up, name the file and add extension (ie: .jpg) on the end. 7) Check location you saved the file to, there should be a .jpg image of your .pdf document. ----- Andy Piddock My software never has bugs. It just develops random features. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/PDF-to-JPEG-tp3224048p3225455.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Wed Jan 19 18:28:42 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 19 Jan 2011 15:28:42 -0800 Subject: DragDrop and the DragDestination In-Reply-To: References: <4A36B82D-76EB-45BF-B4EC-D7539C8A4C63@twft.com> Message-ID: <66F22C9A-FA82-4CC4-9011-76BD28F5D242@twft.com> When I drag from the source DG to the destination DG nothing goes. In addition, I get the little gray circle with slash instead of the green plus when I drag. Yes I checked the checkbox to drag from one datagrid to the other. I will read through the scripts to see if I can glean any wisdom anyway. I am really interested in dragging a value from one column directly into another column and only affecting that cell of that column. I'll poke around some more this evening. As an aside and directed at no one, I think drag and drop should just be handled by the engine, but interceptable by the user, like normal LC messages. Having to create everything from the ground up is very un-lc-ish as I am beginning to like to say. Just an opinion. Bob On Jan 19, 2011, at 12:52 PM, zryip theSlug wrote: > On Wed, Jan 19, 2011 at 2:20 AM, Bob Sneidar wrote: >> I get problem loading page. > > Hi Bob, > > The link was a direct download of the stack. > > Try to go on the download section of the site: > > http://www.aslugontheroad.co.cc/ > > And download the experiment 19. > > > If you still have an issue, we will explore another way. > > > Best regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 19 18:36:07 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 19 Jan 2011 15:36:07 -0800 Subject: DragDrop and the DragDestination In-Reply-To: References: <4A36B82D-76EB-45BF-B4EC-D7539C8A4C63@twft.com> Message-ID: <892F6B93-6FA3-4411-900A-C0C13217CD1F@twft.com> A little more info. The line 24 in the second data grid is throwing a runtime error. It looks like you are sending dgDragMove to something called the dgControl of the target. Is the button "Track Drag & drop" a parent script object? Bob send "dgDragMove pMouseH, pMouseV" to sDataGridA[the dgControl of the target] On Jan 19, 2011, at 12:52 PM, zryip theSlug wrote: > On Wed, Jan 19, 2011 at 2:20 AM, Bob Sneidar wrote: >> I get problem loading page. > > Hi Bob, > > The link was a direct download of the stack. > > Try to go on the download section of the site: > > http://www.aslugontheroad.co.cc/ > > And download the experiment 19. > > > If you still have an issue, we will explore another way. > > > Best regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 19 18:39:17 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 19 Jan 2011 15:39:17 -0800 Subject: DragDrop and the DragDestination In-Reply-To: References: <4A36B82D-76EB-45BF-B4EC-D7539C8A4C63@twft.com> Message-ID: <2155C0CE-5CB6-4116-B636-F1B7EEDF111F@twft.com> Okay looks like there is no such button as button "Track Drag & Drop" in your project. Bob On Jan 19, 2011, at 12:52 PM, zryip theSlug wrote: > On Wed, Jan 19, 2011 at 2:20 AM, Bob Sneidar wrote: >> I get problem loading page. > > Hi Bob, > > The link was a direct download of the stack. > > Try to go on the download section of the site: > > http://www.aslugontheroad.co.cc/ > > And download the experiment 19. > > > If you still have an issue, we will explore another way. > > > Best regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From runrev260805 at m-r-d.de Thu Jan 20 01:21:36 2011 From: runrev260805 at m-r-d.de (Matthias Rebbe) Date: Thu, 20 Jan 2011 07:21:36 +0100 Subject: PDF to JPEG In-Reply-To: <000901cbb82d$5b3a0800$11ae1800$@LinkIt.Com> References: <012301cbb756$993726b0$cba57410$@LinkIt.Com> <1295473823049-3225455.post@n4.nabble.com> <000901cbb82d$5b3a0800$11ae1800$@LinkIt.Com> Message-ID: <9BFDCCF7-F465-4E87-A3FA-952E28352435@m-r-d.de> Hi Ray, you could use a 3rd party tool named ImageMagick. It is commandline based, is available for Mac OS X, Windows and Unix and can be used with the shell() function. I used it in one of my apps to add a logo to images. Maybe you give it a try. Regards, Matthias Am 20.01.2011 um 00:05 schrieb Ray Horsley: > Andy, > > Thanks for these steps. Unfortunately they don't work so well on Windows 7 (all I have installed is Microsoft XPS Document Writer) but in any event I really need something I can use in scripts. > > Thanks, > > Ray > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of AndyP > Sent: Wednesday, January 19, 2011 4:50 PM > To: use-revolution at lists.runrev.com > Subject: Re: PDF to JPEG > > > Hi Ray, > > If Windows then no extra software is needed. > > 1) Open PDF > > 2) Go ? File ? Print > > 3) Change printer to ?Microsoft Office Document Image Writer? (most XP and Vista computers will have this installed) > > 4) Bottom of page, tick box ?Print to File? > > 5) Click Properties, go to Advanced tab and change file path to where you want the file saved, click OK > > 6) Click OK, when box for File Name comes up, name the file and add extension (ie: .jpg) on the end. > > 7) Check location you saved the file to, there should be a .jpg image of your .pdf document. > > > > ----- > Andy Piddock > > > My software never has bugs. It just develops random features. > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/PDF-to-JPEG-tp3224048p3225455.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ludovic.thebault at laposte.net Thu Jan 20 01:21:48 2011 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Thu, 20 Jan 2011 07:21:48 +0100 Subject: The best way to embed a lot of pictures in an ios application In-Reply-To: References: Message-ID: <2B7D814B-50DC-490C-B11A-1F5CEB5E93F5@laposte.net> Le 19 janv. 2011 ? 17:51, Andre Garzia a ?crit : > > Ludovic, > > I think that if you store them in the stack, your stack will grow and it > will take longer to launch which you want to avoid. Better to bundle all the > images as files in the app bundle and load them on demand. > > andre Thanks. So i need to put them in the iapp with the "copy files" command of the standalone builder ? Ludovic From revolution at derbrill.de Thu Jan 20 02:53:13 2011 From: revolution at derbrill.de (Malte Brill) Date: Thu, 20 Jan 2011 08:53:13 +0100 Subject: [ANN] animationEngine 4.0 In-Reply-To: References: Message-ID: Hi Matthias, if you bought AE through the new store on RRs website, getting the update price is very easy. Please log into your account. It will prompt you that updates for your products are available. Choose the updates you want and add them to the basket. If your purchase is older than the new RR store, you will receive a coupon code shortly, that will give you access to the upgrade price. All the best, Malte > Hi Malte, > > where can i purchase the upgrade? I cannot it in the Rev store. > > Regards, > > Matthias From sims at ezpzapps.com Thu Jan 20 07:34:10 2011 From: sims at ezpzapps.com (Jim Sims) Date: Thu, 20 Jan 2011 13:34:10 +0100 Subject: Plugins Message-ID: <2B28A8EF-AEF1-4D5A-8E6B-51566D3B0ACC@ezpzapps.com> Is there a plugin tutorial stack or a web page that features making plugins? My foggy memory seems to recall some some sort of demo on developing plugins. Maybe it was from a west coast revcon? Anybody know? sims From th.douez at sunnyrevtalk.com Thu Jan 20 08:01:40 2011 From: th.douez at sunnyrevtalk.com (Thierry) Date: Thu, 20 Jan 2011 14:01:40 +0100 Subject: Plugins In-Reply-To: <2B28A8EF-AEF1-4D5A-8E6B-51566D3B0ACC@ezpzapps.com> References: <2B28A8EF-AEF1-4D5A-8E6B-51566D3B0ACC@ezpzapps.com> Message-ID: <58B80488-CE11-4166-B78B-2EB3B41B4ADE@sunnyrevtalk.com> Le 20 janv. 2011 ? 13:34, Jim Sims a ?crit : > Is there a plugin tutorial stack or a web page that features making plugins? > > My foggy memory seems to recall some some sort of demo on developing plugins. > Maybe it was from a west coast revcon? > > Anybody know? Well, there is a revSample plug-in shipped with LiveCode. Open it, and read the code, it's not really difficult and there is only a dozen of handlers you can play with.... That's where I started with my first plugin. HTH, Thierry From bonnmike at gmail.com Thu Jan 20 08:05:58 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 20 Jan 2011 06:05:58 -0700 Subject: Plugins In-Reply-To: <58B80488-CE11-4166-B78B-2EB3B41B4ADE@sunnyrevtalk.com> References: <2B28A8EF-AEF1-4D5A-8E6B-51566D3B0ACC@ezpzapps.com> <58B80488-CE11-4166-B78B-2EB3B41B4ADE@sunnyrevtalk.com> Message-ID: Can also watch this video. http://www.youtube.com/user/ObleoProductions (the one on plugins of course) On Thu, Jan 20, 2011 at 6:01 AM, Thierry wrote: > > Le 20 janv. 2011 ? 13:34, Jim Sims a ?crit : > > > Is there a plugin tutorial stack or a web page that features making > plugins? > > > > My foggy memory seems to recall some some sort of demo on developing > plugins. > > Maybe it was from a west coast revcon? > > > > Anybody know? > > Well, there is a revSample plug-in shipped with LiveCode. > > Open it, and read the code, it's not really difficult and there is only a > dozen > of handlers you can play with.... > > That's where I started with my first plugin. > > HTH, > > 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 ambassador at fourthworld.com Thu Jan 20 10:06:49 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 20 Jan 2011 07:06:49 -0800 Subject: Plugins Message-ID: <4D384F89.9050704@fourthworld.com> Jim Sims wrote: > Is there a plugin tutorial stack or a web page that features making plugins? > > My foggy memory seems to recall some some sort of demo on developing plugins. > Maybe it was from a west coast revcon? > > Anybody know? Ideally a plugin is just a stack file dropped into your Plugins folder. It truly needn't be anything more than that, but for reasons which elude me RunRev has created a set of custom properties and messages that mirror things the engine already provides (e.g. revLoadInfo["mode"] vs the engine's "style" stack property). Thankfully their revExample plugin illustrates how to use those mirrored messages and properties effectively. For many types of plugins you can just ignore the mirrored stuff and just drop any stack file into Plugins and have it accessible and working in just a few seconds. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From sims at ezpzapps.com Thu Jan 20 10:28:08 2011 From: sims at ezpzapps.com (Jim Sims) Date: Thu, 20 Jan 2011 16:28:08 +0100 Subject: Plugins In-Reply-To: <4D384F89.9050704@fourthworld.com> References: <4D384F89.9050704@fourthworld.com> Message-ID: <96CCCEDE-E68D-4723-8716-A5ADE79DC18C@ezpzapps.com> The revExample stack displays the messages that are sent and that seems to be all it does. In the plugin settings I can add messages to the list of messages to be sent to the plugin. However, those settings are not saved - when I reopen that plugin it goes back to the original set of messages. How does one set a default set of messages to be sent to a plugin? sims From pmbrig at gmail.com Thu Jan 20 11:21:22 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Thu, 20 Jan 2011 11:21:22 -0500 Subject: umask In-Reply-To: References: <4C55947E-F24B-4FA4-9EF6-BA3BFFC9DF38@mac.com> Message-ID: On Jan 17, 2011, at 9:29 AM, Bj?rnke von Gierke wrote: > For example the entry about the selectionChanged message claims that > it's not triggered by arrow keys, but it is. Not on my machine -- MacBook, OSX 10.5.8, Rev Studio 4.0.0-gm-1, build 950. Arrowkeys don't trigger selectionChanged. Maybe it's different in 4.5? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From smudge.andy at googlemail.com Thu Jan 20 12:18:20 2011 From: smudge.andy at googlemail.com (AndyP) Date: Thu, 20 Jan 2011 09:18:20 -0800 (PST) Subject: PDF to JPEG In-Reply-To: References: <012301cbb756$993726b0$cba57410$@LinkIt.Com> <4D36DF1D.5070801@gmail.com> <002e01cbb7e2$7b1c5f60$71551e20$@LinkIt.Com> Message-ID: <1295543900592-3228003.post@n4.nabble.com> I don't think you will be able to do this from within LiveCode. How about Imagemagick http://www.imagemagick.org/script/index.php http://www.imagemagick.org/script/index.php This is free to use and has command line options for convertion. ----- Andy Piddock My software never has bugs. It just develops random features. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/PDF-to-JPEG-tp3224048p3228003.html Sent from the Revolution - User mailing list archive at Nabble.com. From ray at linkit.com Thu Jan 20 13:51:52 2011 From: ray at linkit.com (Ray Horsley) Date: Thu, 20 Jan 2011 13:51:52 -0500 Subject: PDF to JPEG In-Reply-To: <1295543900592-3228003.post@n4.nabble.com> References: <012301cbb756$993726b0$cba57410$@LinkIt.Com> <4D36DF1D.5070801@gmail.com> <002e01cbb7e2$7b1c5f60$71551e20$@LinkIt.Com> <1295543900592-3228003.post@n4.nabble.com> Message-ID: <003b01cbb8d3$1a4daee0$4ee90ca0$@LinkIt.Com> Andy, Thanks for this suggestion. Several other guys on the list also think this is the best route. I'm looking into ImageMagick now. Ray -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of AndyP Sent: Thursday, January 20, 2011 12:18 PM To: use-revolution at lists.runrev.com Subject: RE: PDF to JPEG I don't think you will be able to do this from within LiveCode. How about Imagemagick http://www.imagemagick.org/script/index.php http://www.imagemagick.org/script/index.php This is free to use and has command line options for convertion. ----- Andy Piddock My software never has bugs. It just develops random features. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/PDF-to-JPEG-tp3224048p3228003 .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 Thu Jan 20 14:12:25 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 20 Jan 2011 13:12:25 -0600 Subject: umask In-Reply-To: References: <4C55947E-F24B-4FA4-9EF6-BA3BFFC9DF38@mac.com> Message-ID: <4D388919.20201@hyperactivesw.com> On 1/20/11 10:21 AM, Peter Brigham MD wrote: > On Jan 17, 2011, at 9:29 AM, Bj?rnke von Gierke wrote: > >> For example the entry about the selectionChanged message claims that >> it's not triggered by arrow keys, but it is. > > Not on my machine -- MacBook, OSX 10.5.8, Rev Studio 4.0.0-gm-1, build > 950. Arrowkeys don't trigger selectionChanged. Maybe it's different in 4.5? The field needs to have focus first. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From keith.clarke at clarkeandclarke.co.uk Thu Jan 20 14:13:35 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Thu, 20 Jan 2011 19:13:35 +0000 Subject: Wireframe tools Message-ID: Hi folks, Can anyone suggest options for collaborative wire-framing tools? I'm impressed with the trial version of http://balsamiq.com but are there alternatives I should consider (for 3 collaborators working remotely)? Best, Keith.. From jacque at hyperactivesw.com Thu Jan 20 14:24:54 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 20 Jan 2011 13:24:54 -0600 Subject: Plugins In-Reply-To: <96CCCEDE-E68D-4723-8716-A5ADE79DC18C@ezpzapps.com> References: <4D384F89.9050704@fourthworld.com> <96CCCEDE-E68D-4723-8716-A5ADE79DC18C@ezpzapps.com> Message-ID: <4D388C06.9080409@hyperactivesw.com> On 1/20/11 9:28 AM, Jim Sims wrote: > The revExample stack displays the messages that are sent and that > seems to be all it does. > > In the plugin settings I can add messages to the list of messages to > be sent to the plugin. > > However, those settings are not saved - when I reopen that plugin it > goes back to the original set of messages. > > How does one set a default set of messages to be sent to a plugin? The purpose of the plugin-specific messages is to help keep the plugin from interfering with the standard message path. By implementing the "special" messages you don't need to insert handlers for messages that other stacks need to use. For example, if you want the plugin to know about all instances when a stack closes, put a "revCloseStack" handler in your plugin. LiveCode will send that message to all open plugins whenever a user stack closes. (You may already know this, but Richard wondered why those messages were there.) Once you've added any specific handlers you want to use, save your stack, quit LiveCode, and drop your plugin stack into your plugins folder. Restart LiveCode. Open the Plugin Settings and select the handlers you've implemented. This puts a custom property into your plugin stack but I don't think it auto-saves the stack. It's been a while so I could be wrong. If it doesn't, then save your stack manually (from the message box is okay). I think you need to relaunch again to load the saved version, and after that your plugin will catch any of the special messages and can respond to them. If your plugin does not need to know about any of the actions in the list, don't write handlers for them and just ignore them. My custom plugins are mostly set to just be in the menu and open on demand. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From Roger.E.Eller at sealedair.com Thu Jan 20 15:49:53 2011 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Thu, 20 Jan 2011 15:49:53 -0500 Subject: PDF to JPEG In-Reply-To: <003b01cbb8d3$1a4daee0$4ee90ca0$@LinkIt.Com> Message-ID: Ray Horsley wrote: > Andy, > > Thanks for this suggestion. Several other guys on the list also think this > is the best route. I'm looking into ImageMagick now. > > Ray And another command-line tool to try is ghostscript. http://pages.cs.wisc.edu/~ghost/ I used it a long time ago on WinXP (Ghostscript version 8.54) with a script similar to this: on convertPDF2JPEG -- put the path to GhostScript into tEXEpath -- put GIF or JPEG into tIMGformat -- put 300 into tIMGresolution -- put the path to a PDF into tSourcePDFfile -- put the path to your new image file into tTargetFile set the hideConsoleWindows to true -- eliminate CMD pop-up put tEXEpath && "-dPrinted -dQUIET -dNOPAUSE -sDEVICE=" & tIMGformat \ && "-r" & tIMGresolution & "x" & tIMGresolution && "-sOutputFile=" & quote \ & tTargetFile & quote && quote & tSourcePDFfile & quote && "-c quit" into shellcmd get shell(shellcmd) end convertPDF2JPEG ~Roger From bobs at twft.com Thu Jan 20 16:23:40 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 20 Jan 2011 13:23:40 -0800 Subject: DragDrop and the DragDestination In-Reply-To: References: <4A36B82D-76EB-45BF-B4EC-D7539C8A4C63@twft.com> Message-ID: <2B1F8BD9-7C52-4BB2-BC50-8B2EE0FE2A8D@twft.com> Okay that was odd. I closed the Datagrid Helper window, turned off script debug mode, and drag and drop started working again! Wierd... Now it works with script debug mode on but I haven't opened the Datagrid Helper. More to follow... Bob On Jan 19, 2011, at 12:52 PM, zryip theSlug wrote: > On Wed, Jan 19, 2011 at 2:20 AM, Bob Sneidar wrote: >> I get problem loading page. > > Hi Bob, > > The link was a direct download of the stack. > > Try to go on the download section of the site: > > http://www.aslugontheroad.co.cc/ > > And download the experiment 19. > > > If you still have an issue, we will explore another way. > > > Best regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 20 16:31:27 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 20 Jan 2011 13:31:27 -0800 Subject: DragDrop and the DragDestination In-Reply-To: References: <4A36B82D-76EB-45BF-B4EC-D7539C8A4C63@twft.com> Message-ID: Okay hate to say it but it looks like Remo is throwing runtime errors that it ought not be throwing. If I quit Remo and restart LiveCode with PowerDebug instead everything seems to work fine. However this may have been some kind of aberration that righted itself and Remo is not to blame at all, I dunno. Bob On Jan 19, 2011, at 12:52 PM, zryip theSlug wrote: > On Wed, Jan 19, 2011 at 2:20 AM, Bob Sneidar wrote: >> I get problem loading page. > > Hi Bob, > > The link was a direct download of the stack. > > Try to go on the download section of the site: > > http://www.aslugontheroad.co.cc/ > > And download the experiment 19. > > > If you still have an issue, we will explore another way. > > > Best regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvg at mac.com Thu Jan 20 16:44:32 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 20 Jan 2011 22:44:32 +0100 Subject: Live LiveCode Coding Event #7 Message-ID: Hello Guys We're back, and we brought Topics: First we got a newcomer. Rob will present "The basics of using MySQL in a LiveCode Application", which is an introduction to SQL in LC. http://blog.livecode.tv/rob/ Bjoernke (me) will show "The multiple futures of BvG Docu, and why some of them never came to be". I will also talk about the current future plans regarding this free add-on to LC. http://blog.livecode.tv/bvg/ After my show there'll be a surprise announcement, which has to do with charts, and of course we'll give away something again. This time, one luck winner gets the Take Control eBook (courtesy of TidBITS): "Take Control of Mac OS X Backups". So please visit their site: http://www.takecontrolbooks.com/ FInally, David will take up his topic from last week, where he got slightly distracted by showing automatic menu creation via script parsing. He wants to show more in a similar vein, especially: "Drag and Drop Style sheets for LiveCode controls" http://blog.livecode.tv/david/ The show is on Saturday at these times: Zurich: 20:00 Buenos Aires: 16:00 New York: 14:00 San Francisco: 11:00 Sydney: 06:00 Make sure to use ChatRev during the happening, otherwise you might miss when you'll need to change to the other streams: http://bjoernke.com?target=chatrev or: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" If you want to get private, regular notification of this event, please subscribe to the rss feed of the blog (about 2 updates per week): feed://livecode.tv/feed/ Cheers Bjoernke From zryip.theslug at gmail.com Thu Jan 20 17:40:17 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Thu, 20 Jan 2011 23:40:17 +0100 Subject: DragDrop and the DragDestination In-Reply-To: References: <4A36B82D-76EB-45BF-B4EC-D7539C8A4C63@twft.com> Message-ID: On Thu, Jan 20, 2011 at 10:31 PM, Bob Sneidar wrote: > Okay hate to say it but it looks like Remo is throwing runtime errors that it ought not be throwing. If I quit Remo and restart LiveCode with PowerDebug instead everything seems to work fine. > > However this may have been some kind of aberration that righted itself and Remo is not to blame at all, I dunno. Oh, I understand now why I could not reproduce this. I'm not using Remo. I was on the issue, so thanks for the update. You're right, The send "dgDragMove pMouseH, pMouseV" to sDataGridA[the dgControl of the target] is indeed located in the "Track Drag & Drop" parent script of the datagrid engine. After more test, I'm not fully satisfy by the idea implements in the experiment: using the dgTrackDragReorder property in the destination datagrid for scrolling the dg during the dragMove, and replacing a value in a column by using the DragReorderDrop event of the datagrid messages. Copying a value in the right line is not accurate and the dragaction is broken after a drop outside a droppable area. Another way could consist to use the dgVScroll property for scrolling the datagrid. Will rework this experiment later. Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From bobs at twft.com Thu Jan 20 18:05:40 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 20 Jan 2011 15:05:40 -0800 Subject: DragDrop and the DragDestination In-Reply-To: References: <4A36B82D-76EB-45BF-B4EC-D7539C8A4C63@twft.com> Message-ID: <8D3FEC33-7CF0-475D-8E78-F7ACBF7A6DD9@twft.com> Well I've decided to forgo drag and drop and instead put to and from arrow buttons between the data grids. Drag and drop would have been cool, but I have stalled on getting things to work the way it seems they should, and when you mentioned scrolling during a drag and drop, I thought to myself, this is way to complicated a thing to try and do just to get a value from one list to another. Bob On Jan 20, 2011, at 2:40 PM, zryip theSlug wrote: > On Thu, Jan 20, 2011 at 10:31 PM, Bob Sneidar wrote: >> Okay hate to say it but it looks like Remo is throwing runtime errors that it ought not be throwing. If I quit Remo and restart LiveCode with PowerDebug instead everything seems to work fine. >> >> However this may have been some kind of aberration that righted itself and Remo is not to blame at all, I dunno. > > Oh, I understand now why I could not reproduce this. I'm not using > Remo. I was on the issue, so thanks for the update. > > > You're right, > > The > > send "dgDragMove pMouseH, pMouseV" to sDataGridA[the dgControl of the target] > > is indeed located in the "Track Drag & Drop" parent script of the > datagrid engine. > > > After more test, I'm not fully satisfy by the idea implements in the experiment: > using the dgTrackDragReorder property in the destination datagrid for > scrolling the dg during the dragMove, and replacing a > value in a column by using the DragReorderDrop event of the datagrid messages. > > Copying a value in the right line is not accurate and the dragaction > is broken after a drop outside a droppable area. > > Another way could consist to use the dgVScroll property for scrolling > the datagrid. > > Will rework this experiment later. > > > Best regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From zryip.theslug at gmail.com Thu Jan 20 18:43:46 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Fri, 21 Jan 2011 00:43:46 +0100 Subject: DragDrop and the DragDestination In-Reply-To: <8D3FEC33-7CF0-475D-8E78-F7ACBF7A6DD9@twft.com> References: <4A36B82D-76EB-45BF-B4EC-D7539C8A4C63@twft.com> <8D3FEC33-7CF0-475D-8E78-F7ACBF7A6DD9@twft.com> Message-ID: On Fri, Jan 21, 2011 at 12:05 AM, Bob Sneidar wrote: > Well I've decided to forgo drag and drop and instead put to and from arrow buttons between the data grids. Drag and drop would have been cool, but I have stalled on getting things to work the way it seems they should, and when you mentioned scrolling during a drag and drop, I thought to myself, this is way to complicated a thing to try and do just to get a value from one list to another. Hm, it depends of your need. By scrolling the list during the drag & drop, I thought to something near how the reorder capability of a datagrid behave, when you trying to place a line outside the visible lines. Now, if you want simply dropping a value in the visible lines of a grid, you should not have to scroll the lines. Basically, you need to know: 1. The number of the dropped line: put the dgLine of the dgDataControl of the target into tTheLine 2. The name of the dropped column put the dgColumn of the dgDataControl of the target into tTheColumn And with this two informations you will be able to change a value of a cell by the dragData value: SetDataOfLine tTheLine, tTheColumn, line 2 of tTheDragData Assuming that the first line of the dragData contains the datagrid source name, your final dragDrop handler could be: on dragDrop local tTheLine, tTheColumn, tTheDragData put the dgLine of the dgDataControl of the target into tTheLine put the dgColumn of the dgDataControl of the target into tTheColumn put the dragData["private"] into tTheDragData if (line 1 of tTheDragData is "Datagrid 1") then SetDataOfLine tTheLine, tTheColumn, line 2 of tTheDragData send "RefreshList" to me in 0 secs end if end dragDrop Maybe this handler is more appropriate to your needs? Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From bobs at twft.com Thu Jan 20 20:25:30 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 20 Jan 2011 17:25:30 -0800 Subject: DragDrop and the DragDestination In-Reply-To: References: <4A36B82D-76EB-45BF-B4EC-D7539C8A4C63@twft.com> <8D3FEC33-7CF0-475D-8E78-F7ACBF7A6DD9@twft.com> Message-ID: <568D3E03-92C7-4329-A379-E05DA1073308@twft.com> Well I don't want to take a lot of anyone's time anymore. I thought it would be a simple matter to get the value of a cell in one dataGrid and put it into the cell of another, but this is proving to be a beatch. In your experiment 19, you use setDataOfLine to modify the value in the color column in the row dropped on to. Okay I get it, but since I am trying to put the value into the first empty cell in that column I am using setDataOfIndex because the cell may not be visible, should be no problem. But here's the problem: The destination data grid starts out empty, so all my calls to the index of anything is going to be zero. Even if I fudge the index to be one, if there is no objects for line 1, I cannot set the dataOfAnything. In retrospect, I think the way a datagrid should have been implemented is, there should ALWAYS be objects replicated for as many rows as are visible. This way, I could get and set values for any visible line without having to worry about this gotcha. I can see though that if someone scrolled the data grid, you would be faced with having to add more rows, and then would you delete them if the user scrolled up? Maybe the solution would be to have at least one empty row at the bottom of the datagrid so there would be objects to work with. Or else, the data grid api could be modified so that if I set the dataOfIndex or dataOfLine larger than dgNumberOfLines, it would insert as many blank lines as needed to get me there. Food for thought. I think what I will do, is instead of setting dgText to empty when I want to clear the datagrid, I will set the contents to a tab delimited list of empty lines for as many rows as are displayed. That will get around this issue for now. I hope people see my issue. It is like having a spreadsheet that constantly threw errors when I used an empty cell as a reference, simply because there was nothing in it. Bob From zryip.theslug at gmail.com Thu Jan 20 20:59:16 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Fri, 21 Jan 2011 02:59:16 +0100 Subject: DragDrop and the DragDestination In-Reply-To: <568D3E03-92C7-4329-A379-E05DA1073308@twft.com> References: <4A36B82D-76EB-45BF-B4EC-D7539C8A4C63@twft.com> <8D3FEC33-7CF0-475D-8E78-F7ACBF7A6DD9@twft.com> <568D3E03-92C7-4329-A379-E05DA1073308@twft.com> Message-ID: On Fri, Jan 21, 2011 at 2:25 AM, Bob Sneidar wrote: > Well I don't want to take a lot of anyone's time anymore. I thought it would be a simple matter to get the value of a cell in one dataGrid and put it into the cell of another, but this is proving to be a beatch. > > In your experiment 19, you use setDataOfLine to modify the value in the color column in the row dropped on to. Okay I get it, but since I am trying to put the value into the first empty cell in that column I am using setDataOfIndex because the cell may not be visible, should be no problem. > > But here's the problem: The destination data grid starts out empty, so all my calls to the index of anything is going to be zero. Even if I fudge the index to be one, if there is no objects for line 1, I cannot set the dataOfAnything. > > In retrospect, I think the way a datagrid should have been implemented is, there should ALWAYS be objects replicated for as many rows as are visible. This way, I could get and set values for any visible line without having to worry about this gotcha. I can see though that if someone scrolled the data grid, you would be faced with having to add more rows, and then would you delete them if the user scrolled up? > > Maybe the solution would be to have at least one empty row at the bottom of the datagrid so there would be objects to work with. Or else, the data grid api could be modified so that if I set the dataOfIndex or dataOfLine larger than dgNumberOfLines, it would insert as many blank lines as needed to get me there. Food for thought. > > I think what I will do, is instead of setting dgText to empty when I want to clear the datagrid, I will set the contents to a tab delimited list of empty lines for as many rows as are displayed. That will get around this issue for now. > > I hope people see my issue. It is like having a spreadsheet that constantly threw errors when I used an empty cell as a reference, simply because there was nothing in it. Bob, on dragMove set the dragaction to "move" if (the dgDataControl of the target is empty) then addData ## Add a data line on the fly if the line not existing end if end dragMove on dragDrop local tTheLine, tTheColumn if (the dgDataControl of the target is empty) then pass dragDrop put the dgLine of the dgDataControl of the target into tTheLine put the dgColumn of the dgDataControl of the target into tTheColumn put the dragData["private"] into tTheDragData if (line 1 of tTheDragData is "Datagrid 1") then SetDataOfLine tTheLine, tTheColumn, line 2 of tTheDragData send "RefreshList" to me in 0 secs end if end dragDrop Some explanations: 1. In the dragMove, the lines are created on the fly if the dgDataControl of the target is empty (so there is no line of data under the mouse) So dropping a value in a cell is allowed with no error. 2. In dragDrop, a test is added: if (the dgDataControl of the target is empty) then pass dragDrop No more error should occur if the datagrid is empty Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From mcgrath3 at mac.com Fri Jan 21 00:05:15 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 21 Jan 2011 00:05:15 -0500 Subject: usb driver problem In-Reply-To: <91922909312.20110115193759@ahsoftware.net> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> Message-ID: <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> UPDATE: Something is working but makes no sense. Found a few terminal screen ideas but they are outside of Livecode. No good. Found a few applescript examples but would rather keep this crossplatform if possible and a LC to OSC solution would work on iOS but applescript would not. Not best but may have to go this route. Found a few softwares that access the USB modem (not FTDI serial emulation) as serial which leads me to believe LC can still do this even with the change from software emulation of a serial port to the hardware emulation of a serial port. So I looked again at Sarah's serialTest stack. I had to manually add the /dev/tty.usbmodem1a21 and /dev/cu.usbmodem1a21 to the popup menu. Then find replace driver with file in five places in the stack. Now most of the other solutions use the tty but two use the cu so I tested both. Major hang and LC not responding in Force Quit Window. Command period no good. Esc no good. Force quit. quits but no good and driver may still be open. Unplug Arduino Uno and plug it back in. HUH Serial Input Shows Up In Field !!!!!! Beach ball of almost death goes away. Also port is now closed I think. Also Arduino Tx led not lighting anymore - should be though. Wait replug Arduino rest button on Arduino and serial Tx led is working again. But no longer connected to LC. Try again. Open cu port and beach ball of almost death shows up - LC not responding in Force Quit Window - Unplug Arduino and field fills up with serial data. THe data is a bunch of 1 and 0 based on blinking led. SO this seems to say it is connecting but not communicating well. Not knowing enough about serial commands I am not sure what is causing the hang and not responding??? They are both set to 9600. I read somewhere that the trailing bit is or should be ignored. Is there another way to connect via message box with out clutter from other settings ? Any ideas on what the culprit is here? Thanks for staying with me on this one. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 15, 2011, at 10:37 PM, Mark Wieder wrote: > Jacque- > > Saturday, January 15, 2011, 7:31:30 PM, you wrote: > >> There's no USB support per se, so if the device doesn't present itself >> as a serial port device it won't work. > >> The path you use when you open a serial port as a file is the same one >> you'd use in shell -- use the "/dev/tty.usbmodem1a21" path you >> mentioned. Also, see if you can talk to it in shell just as a test. > > That should work then, since the Arduino driver has always presented > itself as a serial port. > > -- > -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 kray at sonsothunder.com Fri Jan 21 00:37:12 2011 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 20 Jan 2011 23:37:12 -0600 Subject: File Suffix In-Reply-To: <4D36682A.000003.02352@CALS_BIG_PC> Message-ID: > So, my question is "Who the H*** decided, in their little pea-brain, that > they would break the convention (that has been around since Pontius was a > Pilot) of a filename, a period (a full-stop for all you commonwealth people) > and then finally a three character suffix."? > > Don't you think that this git should be taken out and tarred and feathered? Well, they certainly aren't the first to break this convention: .html (HTML Pages) .docx, .xlsx, .pptx (Microsoft Office Documents) .torrent (Bittorrent) .curl (CURL) .ooutline (OmniOutliner Documents) .styk, .stykz (Stykz Documents) etc... Just FYI, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From mcgrath3 at mac.com Fri Jan 21 00:48:32 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 21 Jan 2011 00:48:32 -0500 Subject: usb driver problem In-Reply-To: <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> Message-ID: It seems if I set the EOL to CRLF things work partly. i.e. The numbers show up in the field BUT the script keeps looping and will not stop causing the beach ball. Sarah's code: on readPort if the hilite of btn "Port open" = true then if recEOL is "empty" then resetEOL put the label of btn "Port" into thePort if the hilite of btn "OS X" then read from file thePort until recEOL else read from file thePort until recEOL end if if it is not empty then put it after fld "recField" if last char of fld "recField" <> cr then put cr after fld "recField" send readPort to me in 5 ticks end if end readPort -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 21, 2011, at 12:05 AM, Thomas McGrath III wrote: > UPDATE: Something is working but makes no sense. > > Found a few terminal screen ideas but they are outside of Livecode. No good. > Found a few applescript examples but would rather keep this crossplatform if possible and a LC to OSC solution would work on iOS but applescript would not. Not best but may have to go this route. > > Found a few softwares that access the USB modem (not FTDI serial emulation) as serial which leads me to believe LC can still do this even with the change from software emulation of a serial port to the hardware emulation of a serial port. So I looked again at Sarah's serialTest stack. > > I had to manually add the /dev/tty.usbmodem1a21 and /dev/cu.usbmodem1a21 to the popup menu. Then find replace driver with file in five places in the stack. Now most of the other solutions use the tty but two use the cu so I tested both. Major hang and LC not responding in Force Quit Window. > > Command period no good. > Esc no good. > Force quit. quits but no good and driver may still be open. > > Unplug Arduino Uno and plug it back in. HUH Serial Input Shows Up In Field !!!!!! Beach ball of almost death goes away. Also port is now closed I think. Also Arduino Tx led not lighting anymore - should be though. Wait replug Arduino rest button on Arduino and serial Tx led is working again. But no longer connected to LC. Try again. Open cu port and beach ball of almost death shows up - LC not responding in Force Quit Window - Unplug Arduino and field fills up with serial data. THe data is a bunch of 1 and 0 based on blinking led. > > SO this seems to say it is connecting but not communicating well. Not knowing enough about serial commands I am not sure what is causing the hang and not responding??? They are both set to 9600. I read somewhere that the trailing bit is or should be ignored. > > Is there another way to connect via message box with out clutter from other settings ? Any ideas on what the culprit is here? > > Thanks for staying with me on this one. > > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Jan 15, 2011, at 10:37 PM, Mark Wieder wrote: > >> Jacque- >> >> Saturday, January 15, 2011, 7:31:30 PM, you wrote: >> >>> There's no USB support per se, so if the device doesn't present itself >>> as a serial port device it won't work. >> >>> The path you use when you open a serial port as a file is the same one >>> you'd use in shell -- use the "/dev/tty.usbmodem1a21" path you >>> mentioned. Also, see if you can talk to it in shell just as a test. >> >> That should work then, since the Arduino driver has always presented >> itself as a serial port. >> >> -- >> -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 mcgrath3 at mac.com Fri Jan 21 01:12:39 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 21 Jan 2011 01:12:39 -0500 Subject: usb driver problem In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> Message-ID: <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> OK well I can read the data from the USB Serial Modem -- but -- after it is done the app hangs. So I can open the port and then read the port and I think close the port but the system hangs. HELP.... ?? -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 21, 2011, at 12:48 AM, Thomas McGrath III wrote: > It seems if I set the EOL to CRLF things work partly. i.e. The numbers show up in the field BUT the script keeps looping and will not stop causing the beach ball. > > Sarah's code: > on readPort > if the hilite of btn "Port open" = true then > > if recEOL is "empty" then resetEOL > > put the label of btn "Port" into thePort > if the hilite of btn "OS X" then > read from file thePort until recEOL > else > read from file thePort until recEOL > end if > if it is not empty then put it after fld "recField" > if last char of fld "recField" <> cr then put cr after fld "recField" > send readPort to me in 5 ticks > end if > end readPort > > > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Jan 21, 2011, at 12:05 AM, Thomas McGrath III wrote: > >> UPDATE: Something is working but makes no sense. >> >> Found a few terminal screen ideas but they are outside of Livecode. No good. >> Found a few applescript examples but would rather keep this crossplatform if possible and a LC to OSC solution would work on iOS but applescript would not. Not best but may have to go this route. >> >> Found a few softwares that access the USB modem (not FTDI serial emulation) as serial which leads me to believe LC can still do this even with the change from software emulation of a serial port to the hardware emulation of a serial port. So I looked again at Sarah's serialTest stack. >> >> I had to manually add the /dev/tty.usbmodem1a21 and /dev/cu.usbmodem1a21 to the popup menu. Then find replace driver with file in five places in the stack. Now most of the other solutions use the tty but two use the cu so I tested both. Major hang and LC not responding in Force Quit Window. >> >> Command period no good. >> Esc no good. >> Force quit. quits but no good and driver may still be open. >> >> Unplug Arduino Uno and plug it back in. HUH Serial Input Shows Up In Field !!!!!! Beach ball of almost death goes away. Also port is now closed I think. Also Arduino Tx led not lighting anymore - should be though. Wait replug Arduino rest button on Arduino and serial Tx led is working again. But no longer connected to LC. Try again. Open cu port and beach ball of almost death shows up - LC not responding in Force Quit Window - Unplug Arduino and field fills up with serial data. THe data is a bunch of 1 and 0 based on blinking led. >> >> SO this seems to say it is connecting but not communicating well. Not knowing enough about serial commands I am not sure what is causing the hang and not responding??? They are both set to 9600. I read somewhere that the trailing bit is or should be ignored. >> >> Is there another way to connect via message box with out clutter from other settings ? Any ideas on what the culprit is here? >> >> Thanks for staying with me on this one. >> >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> 3mcgrath at comcast.net >> >> On Jan 15, 2011, at 10:37 PM, Mark Wieder wrote: >> >>> Jacque- >>> >>> Saturday, January 15, 2011, 7:31:30 PM, you wrote: >>> >>>> There's no USB support per se, so if the device doesn't present itself >>>> as a serial port device it won't work. >>> >>>> The path you use when you open a serial port as a file is the same one >>>> you'd use in shell -- use the "/dev/tty.usbmodem1a21" path you >>>> mentioned. Also, see if you can talk to it in shell just as a test. >>> >>> That should work then, since the Arduino driver has always presented >>> itself as a serial port. >>> >>> -- >>> -Mark Wieder >>> mwieder at ahsoftware.net >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sims at ezpzapps.com Fri Jan 21 01:15:28 2011 From: sims at ezpzapps.com (Jim Sims) Date: Fri, 21 Jan 2011 07:15:28 +0100 Subject: Plugins In-Reply-To: <4D388C06.9080409@hyperactivesw.com> References: <4D384F89.9050704@fourthworld.com> <96CCCEDE-E68D-4723-8716-A5ADE79DC18C@ezpzapps.com> <4D388C06.9080409@hyperactivesw.com> Message-ID: <376545DD-16BC-45CC-B008-5BAD001D1E5D@ezpzapps.com> Thank you all, or y'all if appropriate, for the tips. On Jan 20, 2011, at 8:24 PM, J. Landman Gay wrote: > The purpose of the plugin-specific messages is to help keep the plugin from interfering with the standard message path. By implementing the "special" messages you don't need to insert handlers for messages that other stacks need to use. For example, if you want the plugin to know about all instances when a stack closes, put a "revCloseStack" handler in your plugin. LiveCode will send that message to all open plugins whenever a user stack closes. (You may already know this, but Richard wondered why those messages were there.) I was guessing that was the reason, in my own intuitive, vague way ;-) There's some discussion on that and more, going back to 2003 in the List Archives (Subject: Re: Where Can I Find Details On PlugIns?) . The Archives are my friends and extra brain. Very helpful stuff in them. > If your plugin does not need to know about any of the actions in the list, don't write handlers for them and just ignore them. My custom plugins are mostly set to just be in the menu and open on demand. After reading the Archives I'm thinking that is the way to proceed for what I want to do. A "revCloseStack" (good guess!) might be handy but I can get the job done in other ways. Ciao, y'all. sims From mcgrath3 at mac.com Fri Jan 21 01:19:46 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 21 Jan 2011 01:19:46 -0500 Subject: usb driver problem In-Reply-To: <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> Message-ID: Actually, as long as data is coming from the Arduino the app works. The data comes in and fills the field. But after the data stops being sent the system hangs. Until I push the button on the Arduino to send more data in which case the beach ball goes away and the new data gets received again. It's like as long as data keeps everything is fine. I can even close the port in the middle of getting data but If it gets to the end of the current stream the system hangs and I can't even close the port. I put code in to close the port after data stops and that is working I think but the system still hangs like it's waiting for more. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 21, 2011, at 1:12 AM, Thomas McGrath III wrote: > OK well I can read the data from the USB Serial Modem -- but -- after it is done the app hangs. > > So I can open the port and then read the port and I think close the port but the system hangs. > > HELP.... ?? > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Jan 21, 2011, at 12:48 AM, Thomas McGrath III wrote: > >> It seems if I set the EOL to CRLF things work partly. i.e. The numbers show up in the field BUT the script keeps looping and will not stop causing the beach ball. >> >> Sarah's code: >> on readPort >> if the hilite of btn "Port open" = true then >> >> if recEOL is "empty" then resetEOL >> >> put the label of btn "Port" into thePort >> if the hilite of btn "OS X" then >> read from file thePort until recEOL >> else >> read from file thePort until recEOL >> end if >> if it is not empty then put it after fld "recField" >> if last char of fld "recField" <> cr then put cr after fld "recField" >> send readPort to me in 5 ticks >> end if >> end readPort >> >> >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> 3mcgrath at comcast.net >> >> On Jan 21, 2011, at 12:05 AM, Thomas McGrath III wrote: >> >>> UPDATE: Something is working but makes no sense. >>> >>> Found a few terminal screen ideas but they are outside of Livecode. No good. >>> Found a few applescript examples but would rather keep this crossplatform if possible and a LC to OSC solution would work on iOS but applescript would not. Not best but may have to go this route. >>> >>> Found a few softwares that access the USB modem (not FTDI serial emulation) as serial which leads me to believe LC can still do this even with the change from software emulation of a serial port to the hardware emulation of a serial port. So I looked again at Sarah's serialTest stack. >>> >>> I had to manually add the /dev/tty.usbmodem1a21 and /dev/cu.usbmodem1a21 to the popup menu. Then find replace driver with file in five places in the stack. Now most of the other solutions use the tty but two use the cu so I tested both. Major hang and LC not responding in Force Quit Window. >>> >>> Command period no good. >>> Esc no good. >>> Force quit. quits but no good and driver may still be open. >>> >>> Unplug Arduino Uno and plug it back in. HUH Serial Input Shows Up In Field !!!!!! Beach ball of almost death goes away. Also port is now closed I think. Also Arduino Tx led not lighting anymore - should be though. Wait replug Arduino rest button on Arduino and serial Tx led is working again. But no longer connected to LC. Try again. Open cu port and beach ball of almost death shows up - LC not responding in Force Quit Window - Unplug Arduino and field fills up with serial data. THe data is a bunch of 1 and 0 based on blinking led. >>> >>> SO this seems to say it is connecting but not communicating well. Not knowing enough about serial commands I am not sure what is causing the hang and not responding??? They are both set to 9600. I read somewhere that the trailing bit is or should be ignored. >>> >>> Is there another way to connect via message box with out clutter from other settings ? Any ideas on what the culprit is here? >>> >>> Thanks for staying with me on this one. >>> >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> 3mcgrath at comcast.net >>> >>> On Jan 15, 2011, at 10:37 PM, Mark Wieder wrote: >>> >>>> Jacque- >>>> >>>> Saturday, January 15, 2011, 7:31:30 PM, you wrote: >>>> >>>>> There's no USB support per se, so if the device doesn't present itself >>>>> as a serial port device it won't work. >>>> >>>>> The path you use when you open a serial port as a file is the same one >>>>> you'd use in shell -- use the "/dev/tty.usbmodem1a21" path you >>>>> mentioned. Also, see if you can talk to it in shell just as a test. >>>> >>>> That should work then, since the Arduino driver has always presented >>>> itself as a serial port. >>>> >>>> -- >>>> -Mark Wieder >>>> mwieder at ahsoftware.net >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jmyepes at mac.com Fri Jan 21 06:04:31 2011 From: jmyepes at mac.com (JosepM) Date: Fri, 21 Jan 2011 03:04:31 -0800 (PST) Subject: Move many buttons all at same time Message-ID: <1295607871260-3229365.post@n4.nabble.com> Hi, I'm trying to move some buttons all at the same time but I can't... Only I get to move one after one. on mouseUp set itemdel to tab set the lockMoves to true repeat for each line tLinea in fld "f_punts" put item 2 of tLinea into tObjecte put value(item 1 of tLinea) into tPosicio send "ElementMove" && value(tObjecte) & comma & value(tPosicio) to me in 0 ticks end repeat set the lockMoves to false end mouseUp on ElementMove pObject, pLocationX, pLocationY move button pObject of stack "s_tactiques_futbol" to pLocationX,pLocationY end ElementMove Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Move-many-buttons-all-at-same-time-tp3229365p3229365.html Sent from the Revolution - User mailing list archive at Nabble.com. From alex at tweedly.net Fri Jan 21 06:18:46 2011 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 21 Jan 2011 11:18:46 +0000 Subject: Move many buttons all at same time In-Reply-To: <1295607871260-3229365.post@n4.nabble.com> References: <1295607871260-3229365.post@n4.nabble.com> Message-ID: <4D396B96.9030401@tweedly.net> This part always confuses me ... so this is kind of a guess. I think the "send ...*in 0 ticks*" means that the message is queued for delivery, so the repeat loop finishes, then the lockMoves gets set false, then mouseUp finishes, and *then* your messages get delivered, one after another. Try just doing send "ElementMove"&& value(tObjecte)& comma& value(tPosicio) to me instead of send "ElementMove"&& value(tObjecte)& comma& value(tPosicio) to me in 0 ticks -- Alex. On 21/01/2011 11:04, JosepM wrote: > Hi, > > I'm trying to move some buttons all at the same time but I can't... > > Only I get to move one after one. > > on mouseUp > set itemdel to tab > set the lockMoves to true > repeat for each line tLinea in fld "f_punts" > put item 2 of tLinea into tObjecte > put value(item 1 of tLinea) into tPosicio > > send "ElementMove"&& value(tObjecte)& comma& value(tPosicio) to me > in 0 ticks > end repeat > set the lockMoves to false > > end mouseUp > > on ElementMove pObject, pLocationX, pLocationY > move button pObject of stack "s_tactiques_futbol" to > pLocationX,pLocationY > end ElementMove > > > Salut, > Josep From ludovic.thebault at laposte.net Fri Jan 21 06:43:11 2011 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Fri, 21 Jan 2011 12:43:11 +0100 Subject: Livecode IOS personnal + LiveCode Desktop commercial = 2 app ? Message-ID: <7B931F6F-9BF2-455C-B318-C265F62DED76@laposte.net> Hello, I've a commercial licence of Livecode Desktop. I want to make an ios app, for me only (in first time). So if i bought the Livecode iOs personnal, i need to switch with the different app (one for develop for iOs, one for desktop app) ? Thanks From claudi.c at fiberworld.nl Fri Jan 21 07:29:53 2011 From: claudi.c at fiberworld.nl (Claudi Cornaz) Date: Fri, 21 Jan 2011 13:29:53 +0100 Subject: usb driver problem In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> Message-ID: <8F6D20C1-2918-4884-98C5-B95C770A78BC@fiberworld.nl> Hi Thomas, Well, I recieved my arduino yesterday and started experimenting. I can upload a scetch to the board and it functions well. I can also communicate with it via ZTerm. (send and recieve) Now the most important part: communicating with it via livecode. Alas this gives me trouble aswell. Here is what I got. Using Mark's code from the makeboard to get the OSXDeviceNames() and with the arduino connected I see the following: (it's important to have the board connected otherwise I don't see those modems) usbmodem3a21 /dev/tty.usbmodem3a21 /dev/cu.usbmodem3a21 Bluetooth-PDA-Sync /dev/tty.Bluetooth-PDA-Sync ..... ...... etc. Further I can open a driver with: open driver "/dev/cu.usbmodem3a21" and see a result on the board, it's resetting (as in the manual so this is as should be) I can also close the driver. I haven't been able to recieve data from the board, but I am able to send something to the board. I send it a 1 and on the board I have a scetch which checks if it recieves data. If it recieves data, it will send the same data out with a delay of 500 millis. So when I send data from livecode I see the Rx led light and thereafter I see the Tx light, which means the board did recieve something and sends the incomming data back out. Now I am gonna try to figure out what it recieves and what it sends. (Probably I am gonna hook the whole bit up to a scope so I can see what's going on on a electrical level) If I use open file instead of driver it doesn't work. If I use the /dev/tty.usbmodem3a21 instead of /dev/cu.usbmodem3a21 livecode hangs with the beachball and I have to force quit. Well that's as far as I got till now. Perhaps it would be a good idea to discuss/collaborate some of our effords/failings etc. offlist. As soon as I have something more I will contact you. Feel free to mail me with your addional results/questions/suggestions etc. Best wishes, Claudi On 21 jan 2011, at 07:19, Thomas McGrath III wrote: > Actually, as long as data is coming from the Arduino the app works. The data comes in and fills the field. But after the data stops being sent the system hangs. Until I push the button on the Arduino to send more data in which case the beach ball goes away and the new data gets received again. > > It's like as long as data keeps everything is fine. I can even close the port in the middle of getting data but If it gets to the end of the current stream the system hangs and I can't even close the port. I put code in to close the port after data stops and that is working I think but the system still hangs like it's waiting for more. > > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Jan 21, 2011, at 1:12 AM, Thomas McGrath III wrote: > >> OK well I can read the data from the USB Serial Modem -- but -- after it is done the app hangs. >> >> So I can open the port and then read the port and I think close the port but the system hangs. >> >> HELP.... ?? >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> 3mcgrath at comcast.net >> >> On Jan 21, 2011, at 12:48 AM, Thomas McGrath III wrote: >> >>> It seems if I set the EOL to CRLF things work partly. i.e. The numbers show up in the field BUT the script keeps looping and will not stop causing the beach ball. >>> >>> Sarah's code: >>> on readPort >>> if the hilite of btn "Port open" = true then >>> >>> if recEOL is "empty" then resetEOL >>> >>> put the label of btn "Port" into thePort >>> if the hilite of btn "OS X" then >>> read from file thePort until recEOL >>> else >>> read from file thePort until recEOL >>> end if >>> if it is not empty then put it after fld "recField" >>> if last char of fld "recField" <> cr then put cr after fld "recField" >>> send readPort to me in 5 ticks >>> end if >>> end readPort >>> >>> >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> 3mcgrath at comcast.net >>> >>> On Jan 21, 2011, at 12:05 AM, Thomas McGrath III wrote: >>> >>>> UPDATE: Something is working but makes no sense. >>>> >>>> Found a few terminal screen ideas but they are outside of Livecode. No good. >>>> Found a few applescript examples but would rather keep this crossplatform if possible and a LC to OSC solution would work on iOS but applescript would not. Not best but may have to go this route. >>>> >>>> Found a few softwares that access the USB modem (not FTDI serial emulation) as serial which leads me to believe LC can still do this even with the change from software emulation of a serial port to the hardware emulation of a serial port. So I looked again at Sarah's serialTest stack. >>>> >>>> I had to manually add the /dev/tty.usbmodem1a21 and /dev/cu.usbmodem1a21 to the popup menu. Then find replace driver with file in five places in the stack. Now most of the other solutions use the tty but two use the cu so I tested both. Major hang and LC not responding in Force Quit Window. >>>> >>>> Command period no good. >>>> Esc no good. >>>> Force quit. quits but no good and driver may still be open. >>>> >>>> Unplug Arduino Uno and plug it back in. HUH Serial Input Shows Up In Field !!!!!! Beach ball of almost death goes away. Also port is now closed I think. Also Arduino Tx led not lighting anymore - should be though. Wait replug Arduino rest button on Arduino and serial Tx led is working again. But no longer connected to LC. Try again. Open cu port and beach ball of almost death shows up - LC not responding in Force Quit Window - Unplug Arduino and field fills up with serial data. THe data is a bunch of 1 and 0 based on blinking led. >>>> >>>> SO this seems to say it is connecting but not communicating well. Not knowing enough about serial commands I am not sure what is causing the hang and not responding??? They are both set to 9600. I read somewhere that the trailing bit is or should be ignored. >>>> >>>> Is there another way to connect via message box with out clutter from other settings ? Any ideas on what the culprit is here? >>>> >>>> Thanks for staying with me on this one. >>>> >>>> >>>> -- Tom McGrath III >>>> http://lazyriver.on-rev.com >>>> 3mcgrath at comcast.net >>>> >>>> On Jan 15, 2011, at 10:37 PM, Mark Wieder wrote: >>>> >>>>> Jacque- >>>>> >>>>> Saturday, January 15, 2011, 7:31:30 PM, you wrote: >>>>> >>>>>> There's no USB support per se, so if the device doesn't present itself >>>>>> as a serial port device it won't work. >>>>> >>>>>> The path you use when you open a serial port as a file is the same one >>>>>> you'd use in shell -- use the "/dev/tty.usbmodem1a21" path you >>>>>> mentioned. Also, see if you can talk to it in shell just as a test. >>>>> >>>>> That should work then, since the Arduino driver has always presented >>>>> itself as a serial port. >>>>> >>>>> -- >>>>> -Mark Wieder >>>>> mwieder at ahsoftware.net >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Jan 21 09:05:36 2011 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 21 Jan 2011 06:05:36 -0800 (PST) Subject: usb driver problem In-Reply-To: Message-ID: <684430.8084.qm@web65407.mail.ac4.yahoo.com> --- On Thu, 1/20/11, Thomas McGrath III wrote: > Actually, as long as data is coming > from the Arduino the app works. The data comes in and fills > the field. But after the data stops being sent the system > hangs. Until I push the button on the Arduino to send more > data in which case the beach ball goes away and the new data > gets received again. > > It's like as long as data keeps everything is fine. I can > even close the port in the middle of getting data but If it > gets to the end of the current stream the system hangs and I > can't even close the port. I put code in to close the port > after data stops and that is working I think but the system > still hangs like it's waiting for more. > > > -- Tom McGrath III > Your 'read' is blocking the rest of the application. Try appending 'in 2 seconds" to the end of each 'read' statement, and check the result to see if it is 'time out' before processing the context of the special local variable 'it'. I shot myself in the foot with that during my experiment of running a java helper app for JmDNS. 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 jmyepes at mac.com Fri Jan 21 09:14:57 2011 From: jmyepes at mac.com (JosepM) Date: Fri, 21 Jan 2011 06:14:57 -0800 (PST) Subject: Move many buttons all at same time In-Reply-To: <4D396B96.9030401@tweedly.net> References: <1295607871260-3229365.post@n4.nabble.com> <4D396B96.9030401@tweedly.net> Message-ID: <1295619297550-3229722.post@n4.nabble.com> Nop... They move one after one, when the first finish all the movement the next one begin the next... Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Move-many-buttons-all-at-same-time-tp3229365p3229722.html Sent from the Revolution - User mailing list archive at Nabble.com. From DunbarX at aol.com Fri Jan 21 09:25:45 2011 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 21 Jan 2011 09:25:45 EST Subject: Move many buttons all at same time Message-ID: <75145.30067bce.3a6af169@aol.com> I know this can be scripted as you are working on it, but might it not be easier to group your buttons, move the group, and then ungroup? Craig Newman From benr_mc at cogapp.com Fri Jan 21 05:32:24 2011 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 21 Jan 2011 10:32:24 +0000 Subject: usb driver problem In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> Message-ID: <4D3960B8.5030305@cogapp.com> Tom, Caveats: I've not tried connecting to an Arduino, and I've done almost nothing with serial generally... so I don't really know what I'm talk about. But, when I was working with GPS (which are USB with FTDI etc pretending to be serial) I found two things: a) I know this is obvious, but it really matters that you get the serial parameters right - getting the right speed is only part of it, if you get the rest wrong you may get it seeming to work but it will be unreliable. I've no reason to think you haven't done this, I just thought it was worth mentioning. b) More usefully perhaps, the code you quote below is reading from the port until (rec)eol; I would expect that this may be where it's hanging (and displaying the spinning pizza). The GPS unit was also supposed to speak to in complete lines, but I found that rather than rely on this, I did better by having a regularly scheduled task that read whatever was available on the serial line, and added it to an internal buffer. Any time new data was read, it then called another function to take all complete lines out of the buffer and process them. This was using read from driver instead of read from file, as the former allows you to issue a read command which returns either when a certain quantity of date has been read (I settled on 10 lines at a time) or a time limit has been exceeded. I'm not sure if you have the option to read from driver instead of file, or whether you can use a similar mode with read from file; but at any rate, I'd expect your spinning pizza might occur when read from file is waiting for EOL. HTH, Ben On 21/01/2011 06:19, Thomas McGrath III wrote: > Actually, as long as data is coming from the Arduino the app works. The data comes in and fills the field. But after the data stops being sent the system hangs. Until I push the button on the Arduino to send more data in which case the beach ball goes away and the new data gets received again. > > It's like as long as data keeps everything is fine. I can even close the port in the middle of getting data but If it gets to the end of the current stream the system hangs and I can't even close the port. I put code in to close the port after data stops and that is working I think but the system still hangs like it's waiting for more. > > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Jan 21, 2011, at 1:12 AM, Thomas McGrath III wrote: > >> OK well I can read the data from the USB Serial Modem -- but -- after it is done the app hangs. >> >> So I can open the port and then read the port and I think close the port but the system hangs. >> >> HELP.... ?? >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> 3mcgrath at comcast.net >> >> On Jan 21, 2011, at 12:48 AM, Thomas McGrath III wrote: >> >>> It seems if I set the EOL to CRLF things work partly. i.e. The numbers show up in the field BUT the script keeps looping and will not stop causing the beach ball. >>> >>> Sarah's code: >>> on readPort >>> if the hilite of btn "Port open" = true then >>> >>> if recEOL is "empty" then resetEOL >>> >>> put the label of btn "Port" into thePort >>> if the hilite of btn "OS X" then >>> read from file thePort until recEOL >>> else >>> read from file thePort until recEOL >>> end if >>> if it is not empty then put it after fld "recField" >>> if last char of fld "recField"<> cr then put cr after fld "recField" >>> send readPort to me in 5 ticks >>> end if >>> end readPort >>> >>> >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> 3mcgrath at comcast.net >>> >>> On Jan 21, 2011, at 12:05 AM, Thomas McGrath III wrote: >>> >>>> UPDATE: Something is working but makes no sense. >>>> >>>> Found a few terminal screen ideas but they are outside of Livecode. No good. >>>> Found a few applescript examples but would rather keep this crossplatform if possible and a LC to OSC solution would work on iOS but applescript would not. Not best but may have to go this route. >>>> >>>> Found a few softwares that access the USB modem (not FTDI serial emulation) as serial which leads me to believe LC can still do this even with the change from software emulation of a serial port to the hardware emulation of a serial port. So I looked again at Sarah's serialTest stack. >>>> >>>> I had to manually add the /dev/tty.usbmodem1a21 and /dev/cu.usbmodem1a21 to the popup menu. Then find replace driver with file in five places in the stack. Now most of the other solutions use the tty but two use the cu so I tested both. Major hang and LC not responding in Force Quit Window. >>>> >>>> Command period no good. >>>> Esc no good. >>>> Force quit. quits but no good and driver may still be open. >>>> >>>> Unplug Arduino Uno and plug it back in. HUH Serial Input Shows Up In Field !!!!!! Beach ball of almost death goes away. Also port is now closed I think. Also Arduino Tx led not lighting anymore - should be though. Wait replug Arduino rest button on Arduino and serial Tx led is working again. But no longer connected to LC. Try again. Open cu port and beach ball of almost death shows up - LC not responding in Force Quit Window - Unplug Arduino and field fills up with serial data. THe data is a bunch of 1 and 0 based on blinking led. >>>> >>>> SO this seems to say it is connecting but not communicating well. Not knowing enough about serial commands I am not sure what is causing the hang and not responding??? They are both set to 9600. I read somewhere that the trailing bit is or should be ignored. >>>> >>>> Is there another way to connect via message box with out clutter from other settings ? Any ideas on what the culprit is here? >>>> >>>> Thanks for staying with me on this one. >>>> >>>> >>>> -- Tom McGrath III >>>> http://lazyriver.on-rev.com >>>> 3mcgrath at comcast.net >>>> >>>> On Jan 15, 2011, at 10:37 PM, Mark Wieder wrote: >>>> >>>>> Jacque- >>>>> >>>>> Saturday, January 15, 2011, 7:31:30 PM, you wrote: >>>>> >>>>>> There's no USB support per se, so if the device doesn't present itself >>>>>> as a serial port device it won't work. >>>>> >>>>>> The path you use when you open a serial port as a file is the same one >>>>>> you'd use in shell -- use the "/dev/tty.usbmodem1a21" path you >>>>>> mentioned. Also, see if you can talk to it in shell just as a test. >>>>> >>>>> That should work then, since the Arduino driver has always presented >>>>> itself as a serial port. >>>>> >>>>> -- >>>>> -Mark Wieder >>>>> mwieder at ahsoftware.net From sims at ezpzapps.com Fri Jan 21 09:29:01 2011 From: sims at ezpzapps.com (Jim Sims) Date: Fri, 21 Jan 2011 15:29:01 +0100 Subject: Move many buttons all at same time In-Reply-To: <1295619297550-3229722.post@n4.nabble.com> References: <1295607871260-3229365.post@n4.nabble.com> <4D396B96.9030401@tweedly.net> <1295619297550-3229722.post@n4.nabble.com> Message-ID: On Jan 21, 2011, at 3:14 PM, JosepM wrote: > > Nop... They move one after one, when the first finish all the movement the > next one begin the next... Can you group them and then move the group? sims From anthonyhowe at mac.com Fri Jan 21 09:39:50 2011 From: anthonyhowe at mac.com (Anthony Howe) Date: Sat, 22 Jan 2011 01:39:50 +1100 Subject: Move many buttons all at same time In-Reply-To: References: <1295607871260-3229365.post@n4.nabble.com> <4D396B96.9030401@tweedly.net> <1295619297550-3229722.post@n4.nabble.com> Message-ID: If I understand requirements, AnimationEngine does it pretty well.... A quote from Maltes animationEngine docs: "To act on multiple controls simultanously do the following aeLock[commandname]s [command] [command] aeUnlock[commandname]s e.g.: aeLockWidths aeChangeWidth the long ID of grc 1,100,1000,"bounce" aeChangeWidth the long ID of fld 1,100,1000,"bounce" aeUnlockWidths This will allow you to act on multiple controls in sync, just like with aeMoveTo. you could also try adding the name of the target controls to an array, then looping through it with the command? on mouseUp put the name of btn "btn1" into controlA[1] put the name of btn "btn2" into controlA[2] repeat for each element tControl in controlA move tControl x,y end repeat end mouseUp cheers, A. On 22/01/2011, at 1:29 AM, Jim Sims wrote: On Jan 21, 2011, at 3:14 PM, JosepM wrote: > > Nop... They move one after one, when the first finish all the movement the > next one begin the next... Can you group them and then move the group? sims _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ray at linkit.com Fri Jan 21 09:44:06 2011 From: ray at linkit.com (Ray Horsley) Date: Fri, 21 Jan 2011 09:44:06 -0500 Subject: PDF to JPEG In-Reply-To: References: <002e01cbb7e2$7b1c5f60$71551e20$@LinkIt.Com> Message-ID: <001401cbb979$a83e2ee0$f8ba8ca0$@LinkIt.Com> Many thanks to the suggestions regarding converting PDF files to JPEG's! The solution I've found works best for my purposes is E-PdfConverter. It's a little pricy and documentation for it is nearly non-existent (I still can't even figure out how to enter the license I bought) but it does work well. If anybody has any idea how to enter a license codes into these command line types of tools please let me know. Otherwise I should hear back from the company (eventually). Thanks, Ray -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Roger.E.Eller at sealedair.com Sent: Wednesday, January 19, 2011 10:11 AM To: How to use LiveCode Subject: RE: PDF to JPEG I have never used this software, but being a command-line tool, you should be able to call it from Rev via shell, assuming you are using Windows. http://www.freedownloadscenter.com/Business/Document_Management_Tools/e_PDF_ PDF_To_Thumbnail_Converter.html Key features: 1. PDF to Thumbnail Command Line can convert PDF files to JPG, JPEG, TIFF, BMP, PNG, GIF, TGA, PCX, PNM, RAS, PBM, etc. images; 2. PDF to Thumbnail Command Line supports Password Protected PDF files; 3. PDF to Thumbnail Command Line can specify any resolution from 10 to 1200 dpi in the generated image files; ... and more... ~Roger > Sorry, I should have mentioned that I need to do this from within LiveCode. > Any other suggestions? > > Thanks, > > Ray Horsley > LinkIt! Software > >> -----Original Message----- >> From: use-livecode-bounces at lists.runrev.com >> [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richmond >> Sent: Wednesday, January 19, 2011 7:55 AM >> To: How to use LiveCode >> Subject: Re: PDF to JPEG >> >> On 01/18/2011 11:28 PM, Ray Horsley wrote: >>> Anybody know of a way to convert a single PDF file (with multiple >>> pages) to multiple JPEG files? >>> >> >> GIMP; a bit tedious; i.e. page by page, but it is FREE. >> >>> Thanks, >>> >>> Ray Horsley >>> LinkIt! 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 iowahengst at mac.com Fri Jan 21 10:23:23 2011 From: iowahengst at mac.com (Randy Hengst) Date: Fri, 21 Jan 2011 09:23:23 -0600 Subject: Move many buttons all at same time In-Reply-To: <1295619297550-3229722.post@n4.nabble.com> References: <1295607871260-3229365.post@n4.nabble.com> <4D396B96.9030401@tweedly.net> <1295619297550-3229722.post@n4.nabble.com> Message-ID: Hi Josep, How about something like..... on mouseUp move button "button1" relative 0,100 without waiting move button "button2" relative 0,100 without waiting end mouseUp take care, randy hengst ----- On Jan 21, 2011, at 8:14 AM, JosepM wrote: > > Nop... They move one after one, when the first finish all the movement the > next one begin the next... > > Salut, > Josep > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Move-many-buttons-all-at-same-time-tp3229365p3229722.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 rene.micout at numericable.com Fri Jan 21 10:30:55 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Fri, 21 Jan 2011 16:30:55 +0100 Subject: Move many buttons all at same time In-Reply-To: References: <1295607871260-3229365.post@n4.nabble.com> <4D396B96.9030401@tweedly.net> <1295619297550-3229722.post@n4.nabble.com> Message-ID: <04A8CD60-656A-426D-8484-B7660A00FBCA@numericable.com> Elegant ! Le 21 janv. 2011 ? 16:23, Randy Hengst a ?crit : > on mouseUp > move button "button1" relative 0,100 without waiting > move button "button2" relative 0,100 without waiting > end mouseUp From revolution at derbrill.de Fri Jan 21 10:50:31 2011 From: revolution at derbrill.de (Malte Brill) Date: Fri, 21 Jan 2011 16:50:31 +0100 Subject: Move many buttons all at same time In-Reply-To: References: Message-ID: Hi Josep (an all), Taking up Anthonys suggestion, here is a quick animationEngine version. create a stack, many buttons name one of the buttons "doIt" set the script of btn "doIt" to on mouseUp pMouseBtnNo if "animationEngine" is not among the lines of the stacksInUse then answer "This needs AE to run" exit mouseUp end if aeStopMoving "all" lock screen -- I want them to start from the center, if they should move from anywhere, comment out the repeat loop repeat with i=1 to the number of buttons if the short name of btn i= the short name of me then next repeat set the loc of btn i to the loc of this cd end repeat unlock screen aeLockMoves repeat with i=1 to the number of buttons if the short name of btn i= the short name of me then next repeat aeMoveTo the long id of btn i,random(the width of this cd),random(the height of this cd),1000+random(1000),any item of "in,out,inout,bounce,overshoot," end repeat aeUnlockMoves end mouseUp Hope that helps, Malte From ray at linkit.com Fri Jan 21 11:38:31 2011 From: ray at linkit.com (Ray Horsley) Date: Fri, 21 Jan 2011 11:38:31 -0500 Subject: Adding Columns to a Datagrid via Script Message-ID: <002501cbb989$a3f71c10$ebe55430$@LinkIt.Com> Anybody know how to add columns to a datagrid via a script? Thanks, Ray Horsley LinkIt! Software From claudi.c at fiberworld.nl Fri Jan 21 11:40:05 2011 From: claudi.c at fiberworld.nl (Claudi Cornaz) Date: Fri, 21 Jan 2011 17:40:05 +0100 Subject: usb driver problem In-Reply-To: <4D3960B8.5030305@cogapp.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <4D3960B8.5030305@cogapp.com> Message-ID: <29482EA6-05D5-4735-BC0B-609D71DBD840@fiberworld.nl> Tom, At the moment I got it working with my laptop with OS 10.5.8 I can send and recieve with livecode using open driver "/dev/cu.usbmodem3d11" I use the arduino 0022.dmg There is still something weird going on with a buffer or so. With the first send I do and even waiting after the send for 1 sec before doing the read I get empty. Then with the next send/recieve I recieve the previous data. I am always one datacycle behind with the read. Ok this should be solvable one way or another. Unfortunatly I haven't been able to duplicate this with my iMac with OS 10.6.6 I believe the sending part works 'cause when I send the string "123456" and the board echo's what it recieves I see the tx led flash 6 times (6 chars) this is the same when doing this with my laptop. So it looks like the board gets the data from livecode but I don't seem to be able to read it right with livecode. Still it looks promissing so far. Best wishes, Claudi From pete at mollysrevenge.com Fri Jan 21 12:29:27 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 21 Jan 2011 09:29:27 -0800 Subject: Adding Columns to a Datagrid via Script In-Reply-To: <002501cbb989$a3f71c10$ebe55430$@LinkIt.Com> References: <002501cbb989$a3f71c10$ebe55430$@LinkIt.Com> Message-ID: <26EE0A44-8FC8-4131-897E-DFDEA59DD63A@mollysrevenge.com> I'm sure there will be more elegant solutions but if you add data to a datagrid that has more columns than defined, the extra column(s) are added to the right of each row. No control over column names, etc though. Pete Haworth On Jan 21, 2011, at 8:38 AM, Ray Horsley wrote: > Anybody know how to add columns to a datagrid via a script? > > Thanks, > > Ray Horsley > LinkIt! 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 Fri Jan 21 13:05:00 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 21 Jan 2011 10:05:00 -0800 Subject: File Suffix In-Reply-To: References: Message-ID: <9B54A5F3-A931-4A10-98F3-D22ABA728549@twft.com> I believe this started back with Adobe, where you could name a file .jpg or .jpeg. I was under the impression it was for compatibility with OS X which named files any which way, because their OS is not dependent on a dot extension like Windows was. If you really want to go way back, Apple Classic didn't use dot extensions at all, and OS X still does not have to. Apple Classic has a header to the file which told the OS all kinds of neat things like the file type and creator. I thought this was a much superior system, because you could not fool the OS into opening a file with another application (like a bit of malware), but you COULD intentionally do it by dragging a file onto another application and dropping it. The irony is that all these years I have been ranting, "Who the H*** thought it was a good idea to use dot3 to tell the OS what application a document belonged to???" ;-) Bob On Jan 20, 2011, at 9:37 PM, Ken Ray wrote: >> So, my question is "Who the H*** decided, in their little pea-brain, that >> they would break the convention (that has been around since Pontius was a >> Pilot) of a filename, a period (a full-stop for all you commonwealth people) >> and then finally a three character suffix."? >> >> Don't you think that this git should be taken out and tarred and feathered? > > Well, they certainly aren't the first to break this convention: > > .html (HTML Pages) > .docx, .xlsx, .pptx (Microsoft Office Documents) > .torrent (Bittorrent) > .curl (CURL) > .ooutline (OmniOutliner Documents) > .styk, .stykz (Stykz Documents) > > etc... > > Just FYI, > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Fri Jan 21 13:10:17 2011 From: irog at mac.com (Roger Guay) Date: Fri, 21 Jan 2011 11:10:17 -0700 Subject: Test, Please Ignore Message-ID: <38F352EB-A5D1-4986-B5AE-03C53152171F@mac.com> Testing, 1, 2, 3 . . . . From bvg at mac.com Fri Jan 21 13:14:53 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 21 Jan 2011 19:14:53 +0100 Subject: File Suffix In-Reply-To: <9B54A5F3-A931-4A10-98F3-D22ABA728549@twft.com> References: <9B54A5F3-A931-4A10-98F3-D22ABA728549@twft.com> Message-ID: just wanted to note that one of the big advertised features of win98 was getting rid of the three char extension limitation, after win 95 allowed longer filenames. On 21 Jan 2011, at 19:05, Bob Sneidar wrote: > I believe this started back with Adobe, where you could name a file .jpg or .jpeg. I was under the impression it was for compatibility with OS X which named files any which way, because their OS is not dependent on a dot extension like Windows was. From mwieder at ahsoftware.net Fri Jan 21 13:26:14 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 21 Jan 2011 10:26:14 -0800 Subject: Test, Please Ignore In-Reply-To: <38F352EB-A5D1-4986-B5AE-03C53152171F@mac.com> References: <38F352EB-A5D1-4986-B5AE-03C53152171F@mac.com> Message-ID: <65437960218.20110121102614@ahsoftware.net> Roger- Friday, January 21, 2011, 10:10:17 AM, you wrote: > Testing, 1, 2, 3 . . . . 5, 8, 13, 21 . . . -- -Mark Wieder mwieder at ahsoftware.net From ray at linkit.com Fri Jan 21 13:36:26 2011 From: ray at linkit.com (Ray Horsley) Date: Fri, 21 Jan 2011 13:36:26 -0500 Subject: Adding Columns to a Datagrid via Script In-Reply-To: <26EE0A44-8FC8-4131-897E-DFDEA59DD63A@mollysrevenge.com> References: <002501cbb989$a3f71c10$ebe55430$@LinkIt.Com> <26EE0A44-8FC8-4131-897E-DFDEA59DD63A@mollysrevenge.com> Message-ID: <004101cbb99a$1d05c290$571147b0$@LinkIt.Com> Really? So there's no way other than this to add columns to a datagrid and, even more disappointing, there's no way at all to set column names from a script? Ray Horsley LinkIt! Software -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Peter Haworth Sent: Friday, January 21, 2011 12:29 PM To: How to use LiveCode Subject: Re: Adding Columns to a Datagrid via Script I'm sure there will be more elegant solutions but if you add data to a datagrid that has more columns than defined, the extra column(s) are added to the right of each row. No control over column names, etc though. Pete Haworth On Jan 21, 2011, at 8:38 AM, Ray Horsley wrote: > Anybody know how to add columns to a datagrid via a script? > > Thanks, > > Ray Horsley > LinkIt! 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 richmondmathewson at gmail.com Fri Jan 21 13:37:41 2011 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 21 Jan 2011 20:37:41 +0200 Subject: Test, Please Ignore In-Reply-To: <65437960218.20110121102614@ahsoftware.net> References: <38F352EB-A5D1-4986-B5AE-03C53152171F@mac.com> <65437960218.20110121102614@ahsoftware.net> Message-ID: <4D39D275.9040407@gmail.com> Mark; possibly assuming too much . . . :) On 01/21/2011 08:26 PM, Mark Wieder wrote: > Roger- > > Friday, January 21, 2011, 10:10:17 AM, you wrote: > >> Testing, 1, 2, 3 . . . . > 5, 8, 13, 21 . . . > 1, 2, 3, 6, 11, 20, 37 . . . From pmbrig at gmail.com Fri Jan 21 13:47:11 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Fri, 21 Jan 2011 13:47:11 -0500 Subject: umask In-Reply-To: <4D388919.20201@hyperactivesw.com> References: <4C55947E-F24B-4FA4-9EF6-BA3BFFC9DF38@mac.com> <4D388919.20201@hyperactivesw.com> Message-ID: On Jan 20, 2011, at 2:12 PM, J. Landman Gay wrote: > On 1/20/11 10:21 AM, Peter Brigham MD wrote: >> On Jan 17, 2011, at 9:29 AM, Bj?rnke von Gierke wrote: >> >>> For example the entry about the selectionChanged message claims that >>> it's not triggered by arrow keys, but it is. >> >> Not on my machine -- MacBook, OSX 10.5.8, Rev Studio 4.0.0-gm-1, >> build >> 950. Arrowkeys don't trigger selectionChanged. Maybe it's different >> in 4.5? > > The field needs to have focus first. If the insertion point is in the field then it has focus, right? I just double-checked: created a new mainstack, put a new field in it, put some text into it, and put this in the field script: on selectionchanged beep end selectionchanged and when I click anywhere in the text to change the insertion point I get a beep, but when I use the arrowkeys to move the insertion point I get no beep, just a silent shift of the insertion point. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From bvg at mac.com Fri Jan 21 13:48:24 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 21 Jan 2011 19:48:24 +0100 Subject: Test, Please Ignore In-Reply-To: <65437960218.20110121102614@ahsoftware.net> References: <38F352EB-A5D1-4986-B5AE-03C53152171F@mac.com> <65437960218.20110121102614@ahsoftware.net> Message-ID: <0D08ABCF-9371-4C6A-97D0-1A13259936D5@mac.com> On 21 Jan 2011, at 19:26, Mark Wieder wrote: > Roger- > > Friday, January 21, 2011, 10:10:17 AM, you wrote: > >> Testing, 1, 2, 3 . . . . > > 5, 8, 13, 21 . . . on mouseUp put 2 into x put 2 into theResult repeat while the mouse is up add one to x put false into isDivisable repeat for each item theItem in theResult if x mod theItem = 0 then put true into isDivisable exit repeat end if end repeat if isDivisable then next repeat else put comma & x after theResult end if end repeat put theResult end mouseUp From richmondmathewson at gmail.com Fri Jan 21 13:48:43 2011 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 21 Jan 2011 20:48:43 +0200 Subject: Object Prefixation Message-ID: <4D39D50B.2080204@gmail.com> Just to: Get us back on track with Livecode, Provide the perfect foil to the thread about files suffixes, and chew over an old chestnut . . . -------------------------------------------------------------------------------- If you are one of those people who are worried about being run over by a number 10 bus, AND, are arrogant enough to believe that somebody will want to use your code after you have 'moved on', surely one of the ways to expedite things (and Klaus can chime in here with a few more) is to adopt a COHERENT and CONSISTENT (personally I'm not completely familiar with what those words mean) system of prefixation of objects/controls . . . I tend (and the word 'tend' here indicates that I actually do this very rarely) to use a one letter prefix system which is really useless, vis: "fTEXT" is a field "gPIC" is a graphic "gGROOP" should be a group but you will confuse it with a graphic various others have various other systems of prefixation . . . so; how about this: "fldTEXT" is a field "grfPIC" is a graphic "grpGROOP" is a group "imgIMAGE" is an image "btnKOPCHE" is a button and so on? Go, on; start arguing . . . :) From mwieder at ahsoftware.net Fri Jan 21 13:52:25 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 21 Jan 2011 10:52:25 -0800 Subject: Test, Please Ignore In-Reply-To: <4D39D275.9040407@gmail.com> References: <38F352EB-A5D1-4986-B5AE-03C53152171F@mac.com> <65437960218.20110121102614@ahsoftware.net> <4D39D275.9040407@gmail.com> Message-ID: <143439530875.20110121105225@ahsoftware.net> Richmond- Friday, January 21, 2011, 10:37:41 AM, you wrote: > Mark; possibly assuming too much . . . :) > On 01/21/2011 08:26 PM, Mark Wieder wrote: >> Roger- >> >> Friday, January 21, 2011, 10:10:17 AM, you wrote: >> >>> Testing, 1, 2, 3 . . . . >> 5, 8, 13, 21 . . . >> > 1, 2, 3, 6, 11, 20, 37 . . . nice one. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Jan 21 13:55:08 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 21 Jan 2011 10:55:08 -0800 Subject: Object Prefixation In-Reply-To: <4D39D50B.2080204@gmail.com> References: <4D39D50B.2080204@gmail.com> Message-ID: <108439693765.20110121105508@ahsoftware.net> Richmond- Friday, January 21, 2011, 10:48:43 AM, you wrote: > "fldTEXT" is a field > "grfPIC" is a graphic > "grpGROOP" is a group > "imgIMAGE" is an image > "btnKOPCHE" is a button > and so on? I regularly use all those except I use "grc" for graphic. ymmv. Also "lblTEXT" for label fields, *especially* when I have an associated label-textfield pair, in which case I name them similarly: "fldEmailAddress" "lblEmailAddress" -- -Mark Wieder mwieder at ahsoftware.net From andre.bisseret at wanadoo.fr Fri Jan 21 13:57:55 2011 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Fri, 21 Jan 2011 19:57:55 +0100 Subject: Adding Columns to a Datagrid via Script In-Reply-To: <004101cbb99a$1d05c290$571147b0$@LinkIt.Com> References: <002501cbb989$a3f71c10$ebe55430$@LinkIt.Com> <26EE0A44-8FC8-4131-897E-DFDEA59DD63A@mollysrevenge.com> <004101cbb99a$1d05c290$571147b0$@LinkIt.Com> Message-ID: <69120002-A58A-401F-9754-119A44333AFA@wanadoo.fr> Bonjour Ray, One other solution : -------- put the dgProp["columns"] of grp "datagrid" into tCols put cr & "new column'name" after line 4 of tCols -- or else where, as you want set the dgProp["columns"] of grp "datagrid" to tCols -- and possibly for example : set the dgColumnWidth["column'name"] of grp "datagrid" to n -- the width you like --------------- HTH Best regards from Grenoble Andr? Le 21 janv. 2011 ? 19:36, Ray Horsley a ?crit : > Really? So there's no way other than this to add columns to a datagrid and, > even more disappointing, there's no way at all to set column names from a > script? > > Ray Horsley > LinkIt! Software > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Peter Haworth > Sent: Friday, January 21, 2011 12:29 PM > To: How to use LiveCode > Subject: Re: Adding Columns to a Datagrid via Script > > I'm sure there will be more elegant solutions but if you add data to a > datagrid that has more columns than defined, the extra column(s) are added > to the right of each row. No control over column names, etc though. > > Pete Haworth > > On Jan 21, 2011, at 8:38 AM, Ray Horsley wrote: > >> Anybody know how to add columns to a datagrid via a script? >> >> Thanks, >> >> Ray Horsley >> LinkIt! 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 jacque at hyperactivesw.com Fri Jan 21 14:00:06 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 21 Jan 2011 13:00:06 -0600 Subject: umask In-Reply-To: References: <4C55947E-F24B-4FA4-9EF6-BA3BFFC9DF38@mac.com> <4D388919.20201@hyperactivesw.com> Message-ID: <4D39D7B6.7060807@hyperactivesw.com> On 1/21/11 12:47 PM, Peter Brigham MD wrote: > On Jan 20, 2011, at 2:12 PM, J. Landman Gay wrote: > >> On 1/20/11 10:21 AM, Peter Brigham MD wrote: >>> On Jan 17, 2011, at 9:29 AM, Bj?rnke von Gierke wrote: >>> >>>> For example the entry about the selectionChanged message claims that >>>> it's not triggered by arrow keys, but it is. >>> >>> Not on my machine -- MacBook, OSX 10.5.8, Rev Studio 4.0.0-gm-1, build >>> 950. Arrowkeys don't trigger selectionChanged. Maybe it's different >>> in 4.5? >> >> The field needs to have focus first. > > If the insertion point is in the field then it has focus, right? > > I just double-checked: created a new mainstack, put a new field in it, > put some text into it, and put this in the field script: > > on selectionchanged > beep > end selectionchanged > > and when I click anywhere in the text to change the insertion point I > get a beep, but when I use the arrowkeys to move the insertion point I > get no beep, just a silent shift of the insertion point. Oh, sorry, forgot to say it has to be a list field. I haven't checked, but the message may depend on the navigationArrows setting. If you have that set to true then I'm not sure a non-list field will even get an arrowkey message, it may go to the card instead. If I get time I'll experiment and see. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From zryip.theslug at gmail.com Fri Jan 21 14:02:00 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Fri, 21 Jan 2011 20:02:00 +0100 Subject: Adding Columns to a Datagrid via Script In-Reply-To: <004101cbb99a$1d05c290$571147b0$@LinkIt.Com> References: <002501cbb989$a3f71c10$ebe55430$@LinkIt.Com> <26EE0A44-8FC8-4131-897E-DFDEA59DD63A@mollysrevenge.com> <004101cbb99a$1d05c290$571147b0$@LinkIt.Com> Message-ID: On Fri, Jan 21, 2011 at 7:36 PM, Ray Horsley wrote: > Really? ?So there's no way other than this to add columns to a datagrid and, > even more disappointing, there's no way at all to set column names from a > script? Ray, You can by setting the dgProp["columns"] of a datagrid. This property returns the names of the columns separated by returns. Here is an example adding a column with an asking name at the end of a datagrid command addColumn pWhichDG local tDGColumnsList, tNewColNo, tNewColName put the dgProp["columns"] of grp pWhichDG into tDGColumnsList put (the number of lines of tDGColumnsList + 1) into tNewColNo ask "Column name?" with "Col" & tNewColNo if (it is not empty) then put it into tNewColName set the dgProp["columns"] of grp pWhichDG to tDGColumnsList & return & tNewColName end if end addColumn Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From dixonja at hotmail.co.uk Fri Jan 21 14:09:00 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Fri, 21 Jan 2011 19:09:00 +0000 Subject: Some might like this... In-Reply-To: <29482EA6-05D5-4735-BC0B-609D71DBD840@fiberworld.nl> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com>, , <4D3960B8.5030305@cogapp.com>, <29482EA6-05D5-4735-BC0B-609D71DBD840@fiberworld.nl> Message-ID: http://www.youtube.com/watch?v=kAG39jKi0lI From pete at mollysrevenge.com Fri Jan 21 14:10:01 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 21 Jan 2011 11:10:01 -0800 Subject: Adding Columns to a Datagrid via Script In-Reply-To: <004101cbb99a$1d05c290$571147b0$@LinkIt.Com> References: <002501cbb989$a3f71c10$ebe55430$@LinkIt.Com> <26EE0A44-8FC8-4131-897E-DFDEA59DD63A@mollysrevenge.com> <004101cbb99a$1d05c290$571147b0$@LinkIt.Com> Message-ID: As I said, there may be more elegant solutions, just offering something I've seen happen. I hope there is a way to add columns specifically because I'd like to do that. Hopefully someone more knowledgeable that I will come up with something. You can use the dgColumnName and dgColumnLabel properties of a column to change the column name/label but you have to know the current name of the column. Pete Haworth On Jan 21, 2011, at 10:36 AM, Ray Horsley wrote: > Really? So there's no way other than this to add columns to a datagrid and, > even more disappointing, there's no way at all to set column names from a > script? > > Ray Horsley > LinkIt! Software > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Peter Haworth > Sent: Friday, January 21, 2011 12:29 PM > To: How to use LiveCode > Subject: Re: Adding Columns to a Datagrid via Script > > I'm sure there will be more elegant solutions but if you add data to a > datagrid that has more columns than defined, the extra column(s) are added > to the right of each row. No control over column names, etc though. > > Pete Haworth > > On Jan 21, 2011, at 8:38 AM, Ray Horsley wrote: > >> Anybody know how to add columns to a datagrid via a script? >> >> Thanks, >> >> Ray Horsley >> LinkIt! 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 richmondmathewson at gmail.com Fri Jan 21 14:12:02 2011 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 21 Jan 2011 21:12:02 +0200 Subject: Object Prefixation In-Reply-To: <108439693765.20110121105508@ahsoftware.net> References: <4D39D50B.2080204@gmail.com> <108439693765.20110121105508@ahsoftware.net> Message-ID: <4D39DA82.4030505@gmail.com> On 01/21/2011 08:55 PM, Mark Wieder wrote: > Richmond- > > Friday, January 21, 2011, 10:48:43 AM, you wrote: > >> "fldTEXT" is a field >> "grfPIC" is a graphic >> "grpGROOP" is a group >> "imgIMAGE" is an image >> "btnKOPCHE" is a button >> and so on? > I regularly use all those except I use "grc" for graphic. ymmv. Also > "lblTEXT" for label fields, *especially* when I have an associated > label-textfield pair, in which case I name them similarly: > > "fldEmailAddress" > "lblEmailAddress" > "Somebody " [not me, buster; somebody nearer the centre; not, like myself, off on the outer arm of the lesser spiral galaxy] should draw up a semi-official set of these things and present them as a downloadable PDF somewhere [hey; how about on the RunRev site]. I am not am huge fan of comformity ["Really; you surprise me, Mr Mathewson:]; however, there is a time and a place for everything; and this might just be one of those junctures that would benefit from some sort of conformity. From bvg at mac.com Fri Jan 21 14:17:13 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 21 Jan 2011 20:17:13 +0100 Subject: Object Prefixation In-Reply-To: <4D39DA82.4030505@gmail.com> References: <4D39D50B.2080204@gmail.com> <108439693765.20110121105508@ahsoftware.net> <4D39DA82.4030505@gmail.com> Message-ID: <270FE85C-90AD-4ED8-96D2-A23884898762@mac.com> http://www.fourthworld.com/embassy/articles/scriptstyle.html On 21 Jan 2011, at 20:12, Richmond wrote: > On 01/21/2011 08:55 PM, Mark Wieder wrote: >> Richmond- >> >> Friday, January 21, 2011, 10:48:43 AM, you wrote: >> >>> "fldTEXT" is a field >>> "grfPIC" is a graphic >>> "grpGROOP" is a group >>> "imgIMAGE" is an image >>> "btnKOPCHE" is a button >>> and so on? >> I regularly use all those except I use "grc" for graphic. ymmv. Also >> "lblTEXT" for label fields, *especially* when I have an associated >> label-textfield pair, in which case I name them similarly: >> >> "fldEmailAddress" >> "lblEmailAddress" >> > "Somebody " [not me, buster; somebody nearer the centre; not, like myself, off on the > outer arm of the lesser spiral galaxy] should draw up a semi-official set of these things > and present them as a downloadable PDF somewhere [hey; how about on the RunRev > site]. > > I am not am huge fan of comformity ["Really; you surprise me, Mr Mathewson:]; however, > there is a time and a place for everything; and this might just be one of those junctures > that would benefit from some sort of conformity. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ray at linkit.com Fri Jan 21 14:19:07 2011 From: ray at linkit.com (Ray Horsley) Date: Fri, 21 Jan 2011 14:19:07 -0500 Subject: Adding Columns to a Datagrid via Script In-Reply-To: <26EE0A44-8FC8-4131-897E-DFDEA59DD63A@mollysrevenge.com> References: <002501cbb989$a3f71c10$ebe55430$@LinkIt.Com> <26EE0A44-8FC8-4131-897E-DFDEA59DD63A@mollysrevenge.com> Message-ID: <005001cbb9a0$138bb520$3aa31f60$@LinkIt.Com> Peter, you were right. There is a little bit more elegant solution. Andr?, Zryip, thanks! This works beautifully. Ray Horsley LinkIt! Software -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Peter Haworth Sent: Friday, January 21, 2011 12:29 PM To: How to use LiveCode Subject: Re: Adding Columns to a Datagrid via Script I'm sure there will be more elegant solutions but if you add data to a datagrid that has more columns than defined, the extra column(s) are added to the right of each row. No control over column names, etc though. Pete Haworth On Jan 21, 2011, at 8:38 AM, Ray Horsley wrote: > Anybody know how to add columns to a datagrid via a script? > > Thanks, > > Ray Horsley > LinkIt! 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 richmondmathewson at gmail.com Fri Jan 21 14:22:46 2011 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 21 Jan 2011 21:22:46 +0200 Subject: Some might like this... In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com>, , <4D3960B8.5030305@cogapp.com>, <29482EA6-05D5-4735-BC0B-609D71DBD840@fiberworld.nl> Message-ID: <4D39DD06.7060304@gmail.com> On 01/21/2011 09:09 PM, John Dixon wrote: > http://www.youtube.com/watch?v=kAG39jKi0lI > Having grown up on the Two Ronnies (Barker and Corbett) this made me just a bit sad; although the "other chap" - whoever he is - was a fairly good foil for Ronnie Corbett. I wonder if Ronnie Corbett still bides near Gullane? Abune 24 towmonds ahin I stayed i Nor Berwick, an well ken haein a glisk o yon fell mon takin a brisk round o gouf at the links in Gullane. He mun be raxin 80 now; an he's still got that canny gab on him; amazing! He thwacked a ball richt intil ma dowp as I was keekin ower the dunes at the watter . . . :) From richmondmathewson at gmail.com Fri Jan 21 14:25:08 2011 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 21 Jan 2011 21:25:08 +0200 Subject: Object Prefixation In-Reply-To: <270FE85C-90AD-4ED8-96D2-A23884898762@mac.com> References: <4D39D50B.2080204@gmail.com> <108439693765.20110121105508@ahsoftware.net> <4D39DA82.4030505@gmail.com> <270FE85C-90AD-4ED8-96D2-A23884898762@mac.com> Message-ID: <4D39DD94.4000404@gmail.com> On 01/21/2011 09:17 PM, Bj?rnke von Gierke wrote: > http://www.fourthworld.com/embassy/articles/scriptstyle.html > Yes, BUT . . . the prefixation convention uses single letters. From mwieder at ahsoftware.net Fri Jan 21 14:27:56 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 21 Jan 2011 11:27:56 -0800 Subject: Object Prefixation In-Reply-To: <270FE85C-90AD-4ED8-96D2-A23884898762@mac.com> References: <4D39D50B.2080204@gmail.com> <108439693765.20110121105508@ahsoftware.net> <4D39DA82.4030505@gmail.com> <270FE85C-90AD-4ED8-96D2-A23884898762@mac.com> Message-ID: <79441661781.20110121112756@ahsoftware.net> Bj?rnke- Friday, January 21, 2011, 11:17:13 AM, you wrote: > http://www.fourthworld.com/embassy/articles/scriptstyle.html Richard's article deals with variable names, not object names. -- -Mark Wieder mwieder at ahsoftware.net From coiin at verizon.net Fri Jan 21 14:28:53 2011 From: coiin at verizon.net (Colin Holgate) Date: Fri, 21 Jan 2011 14:28:53 -0500 Subject: Some might like this... In-Reply-To: <4D39DD06.7060304@gmail.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com>, , <4D3960B8.5030305@cogapp.com>, <29482EA6-05D5-4735-BC0B-609D71DBD840@fiberworld.nl> <4D39DD06.7060304@gmail.com> Message-ID: On Jan 21, 2011, at 2:22 PM, Richmond wrote: > Having grown up on the Two Ronnies (Barker and Corbett) this made me > just a bit sad; although the "other chap" - whoever he is - was a fairly > good foil for Ronnie Corbett. > That's Harry Enfield, he's quite good at that kind of sketch. > I wonder if Ronnie Corbett still bides near Gullane? Abune 24 towmonds ahin > I stayed i Nor Berwick, an well ken haein a glisk o yon fell mon takin a brisk > round o gouf at the links in Gullane. He mun be raxin 80 now; an he's still got > that canny gab on him; amazing! He thwacked a ball richt intil ma dowp as > I was keekin ower the dunes at the watter . . . :) I ran that by the Google translator, and it had no idea what language it was in. From jhj at jhj.com Fri Jan 21 14:41:58 2011 From: jhj at jhj.com (Jerry J) Date: Fri, 21 Jan 2011 11:41:58 -0800 Subject: Test, Please Ignore In-Reply-To: <65437960218.20110121102614@ahsoftware.net> References: <38F352EB-A5D1-4986-B5AE-03C53152171F@mac.com> <65437960218.20110121102614@ahsoftware.net> Message-ID: <2FB5CD9F-D37D-4DF3-8905-25C645050DD0@jhj.com> On Jan 21, 2011, at 10:26 AM, Mark Wieder wrote: > Roger- > > Friday, January 21, 2011, 10:10:17 AM, Mark Wieder wrote: > >> Testing, 1, 2, 3 . . . . > > 5, 8, 13, 21 . . . Aw, thats a Fib. From richmondmathewson at gmail.com Fri Jan 21 14:42:36 2011 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 21 Jan 2011 21:42:36 +0200 Subject: Some might like this... In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com>, , <4D3960B8.5030305@cogapp.com>, <29482EA6-05D5-4735-BC0B-609D71DBD840@fiberworld.nl> <4D39DD06.7060304@gmail.com> Message-ID: <4D39E1AC.4060708@gmail.com> On 01/21/2011 09:28 PM, Colin Holgate wrote: > On Jan 21, 2011, at 2:22 PM, Richmond wrote: > >> Having grown up on the Two Ronnies (Barker and Corbett) this made me >> just a bit sad; although the "other chap" - whoever he is - was a fairly >> good foil for Ronnie Corbett. >> >> >> That's Harry Enfield, he's quite good at that kind of sketch. >> >> I wonder if Ronnie Corbett still bides near Gullane? Abune 24 towmonds ahin >> I stayed i Nor Berwick, an well ken haein a glisk o yon fell mon takin a brisk >> round o gouf at the links in Gullane. He mun be raxin 80 now; an he's still got >> that canny gab on him; amazing! He thwacked a ball richt intil ma dowp as >> I was keekin ower the dunes at the watter . . . :) > I ran that by the Google translator, and it had no idea what language it was in. > > Scots. From pete at mollysrevenge.com Fri Jan 21 14:44:31 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 21 Jan 2011 11:44:31 -0800 Subject: Object Prefixation In-Reply-To: <4D39D50B.2080204@gmail.com> References: <4D39D50B.2080204@gmail.com> Message-ID: <4ED7D474-AFA1-474E-9F28-80DB4AD7930B@mollysrevenge.com> I'm probably missing something really obvious here but why do you need a naming convention for controls? You already refer to them by what type of control they are (field "xyz", button "abc"). I'll disclose that I'm influenced by the development method I use where the name of a control defines various of its characteristics. Pete Haworth On Jan 21, 2011, at 10:48 AM, Richmond wrote: > so; how about this: > > "fldTEXT" is a field > "grfPIC" is a graphic > "grpGROOP" is a group > "imgIMAGE" is an image > "btnKOPCHE" is a button > > and so on? > > Go, on; start arguing . . . :) From bvg at mac.com Fri Jan 21 14:44:19 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 21 Jan 2011 20:44:19 +0100 Subject: Object Prefixation In-Reply-To: <79441661781.20110121112756@ahsoftware.net> References: <4D39D50B.2080204@gmail.com> <108439693765.20110121105508@ahsoftware.net> <4D39DA82.4030505@gmail.com> <270FE85C-90AD-4ED8-96D2-A23884898762@mac.com> <79441661781.20110121112756@ahsoftware.net> Message-ID: oh in that case use "the" like: put the long id of field 1 into theField problem solved (evil grinn) On 21 Jan 2011, at 20:27, Mark Wieder wrote: > Bj?rnke- > > Friday, January 21, 2011, 11:17:13 AM, you wrote: > >> http://www.fourthworld.com/embassy/articles/scriptstyle.html > > Richard's article deals with variable names, not object names. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Fri Jan 21 14:47:50 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 21 Jan 2011 11:47:50 -0800 Subject: Some might like this... In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com>, , <4D3960B8.5030305@cogapp.com>, <29482EA6-05D5-4735-BC0B-609D71DBD840@fiberworld.nl> <4D39DD06.7060304@gmail.com> Message-ID: <138442855921.20110121114750@ahsoftware.net> Colin- Friday, January 21, 2011, 11:28:53 AM, you wrote: > I ran that by the Google translator, and it had no idea what language it was in. Have to run it through a spell-checker first... I wonder if Ronnie Corbel still bides near Gullah? Abuse 24 diamonds shin I stayed i Nor Warwick, an well ken having a glister o yon fell Mon akin a brisk round o gout at the links in Gullah He mun be rain 80 now; an he's still got that canny gab on him; amazing! He thwacked a ball rich until ma down as I was reeking wore the dunes at the water . . . :) ...then though Google's translator into something reasonable (Finnish, say) and then back into English... I wonder if Ronnie Corbel bides still close to the Gullah? Abuse of 24 diamonds leg I stayed in Warwick, or, well Ken having glister No there fell Monday to recall at a brisk No round of gout at Gullah He links me to be of precipitation 80 now, he's still got the frugal to talk to him, amazing! He thwacked rich until the ball down on Monday I was reeking the dunes was filled with water. . . :) -- -Mark Wieder mwieder at ahsoftware.net From coiin at verizon.net Fri Jan 21 14:48:54 2011 From: coiin at verizon.net (Colin Holgate) Date: Fri, 21 Jan 2011 14:48:54 -0500 Subject: Some might like this... In-Reply-To: <4D39E1AC.4060708@gmail.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com>, , <4D3960B8.5030305@cogapp.com>, <29482EA6-05D5-4735-BC0B-609D71DBD840@fiberworld.nl> <4D39DD06.7060304@gmail.com> <4D39E1AC.4060708@gmail.com> Message-ID: <4C42DA2F-C537-40B6-A649-C58FE1DF8298@verizon.net> On Jan 21, 2011, at 2:42 PM, Richmond wrote: > Scots. Unfortunately that's not a mainstream enough language for Google to know about. They do have Welsh though. It did however come up with a reference link: http://www.youtube.com/watch?v=TjXMunRqNxw From mwieder at ahsoftware.net Fri Jan 21 14:49:55 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 21 Jan 2011 11:49:55 -0800 Subject: Some might like this... In-Reply-To: <4D39E1AC.4060708@gmail.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com>, , <4D3960B8.5030305@cogapp.com>, <29482EA6-05D5-4735-BC0B-609D71DBD840@fiberworld.nl> <4D39DD06.7060304@gmail.com> <4D39E1AC.4060708@gmail.com> Message-ID: <61442981156.20110121114955@ahsoftware.net> Richmond- Friday, January 21, 2011, 11:42:36 AM, you wrote: > Scots. ...can't live *with* 'em, can't... -- -Mark Wieder mwieder at ahsoftware.net From support at ahsomme.com Fri Jan 21 15:05:26 2011 From: support at ahsomme.com (Paul Looney) Date: Fri, 21 Jan 2011 12:05:26 -0800 Subject: Popup button and DataGrid Message-ID: Help please. I am trying to use a popup button with a datagrid. I have code, in the dg, that looks like this: on mouseDown popup btn "Selected Orders Popup" end mouseDown The popup works fine but the selected line in the dg is not hilited until after something is selected in the popup. So, to the user, it looks like the popup refers to the previously selected line. I will probably solve it but figured someone on the list already has the solution. Thanks in advance. Paul Looney From jacque at hyperactivesw.com Fri Jan 21 15:15:28 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 21 Jan 2011 14:15:28 -0600 Subject: Object Prefixation In-Reply-To: <4D39DA82.4030505@gmail.com> References: <4D39D50B.2080204@gmail.com> <108439693765.20110121105508@ahsoftware.net> <4D39DA82.4030505@gmail.com> Message-ID: <4D39E960.1060906@hyperactivesw.com> On 1/21/11 1:12 PM, Richmond wrote: > I am not am huge fan of comformity ["Really; you surprise me, Mr > Mathewson:]; however, > there is a time and a place for everything; and this might just be one > of those junctures > that would benefit from some sort of conformity. I don't see the point of naming objects according to a particular system. When referenced in a script, they are almost always preceded by the object type. I.e.: btn "mybutton". Seems pretty clear to me. I do, on the other hand, use a system to label variables according to scope because there is no other way to identify that. That said, I do sometimes name group with "grp" at the end of the name, though I'm not sure why, and labels have "-lbl" at the end because those are the only fields I've ever needed to identify visually. But I never need to know whether a field is a field, because the script always has "field" before the object name. Maybe I'm missing something. I won't use your specs anyway. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Fri Jan 21 15:19:07 2011 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 21 Jan 2011 22:19:07 +0200 Subject: Object Prefixation In-Reply-To: <4ED7D474-AFA1-474E-9F28-80DB4AD7930B@mollysrevenge.com> References: <4D39D50B.2080204@gmail.com> <4ED7D474-AFA1-474E-9F28-80DB4AD7930B@mollysrevenge.com> Message-ID: <4D39EA3B.1000007@gmail.com> On 01/21/2011 09:44 PM, Peter Haworth wrote: > I'm probably missing something really obvious here but why do you need a naming convention for controls? You already refer to them by what type of control they are (field "xyz", button "abc"). I'll disclose that I'm influenced by the development method I use where the name of a control defines various of its characteristics. > Aaah; well, if you are as warped as I am . . . I ALWAYS use images as buttons, as I like to guarantee a unified look-and-feel as well as font consistency cross-platform. I have been known to used graphic objects, video-payers and even fields as buttons. Therefore, I, amongst others, might choose to use prefixes not to indicate what controls actually are, but what they are used for! From richmondmathewson at gmail.com Fri Jan 21 15:21:31 2011 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 21 Jan 2011 22:21:31 +0200 Subject: Some might like this... In-Reply-To: <61442981156.20110121114955@ahsoftware.net> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com>, , <4D3960B8.5030305@cogapp.com>, <29482EA6-05D5-4735-BC0B-609D71DBD840@fiberworld.nl> <4D39DD06.7060304@gmail.com> <4D39E1AC.4060708@gmail.com> <61442981156.20110121114955@ahsoftware.net> Message-ID: <4D39EACB.2040102@gmail.com> On 01/21/2011 09:49 PM, Mark Wieder wrote: > Richmond- > > Friday, January 21, 2011, 11:42:36 AM, you wrote: > >> Scots. > ...can't live *with* 'em, can't... > Nothing like the arrogance of the English-speaking world to remind us Scots that after 325 years of the English yoke we still haven't . . . From zryip.theslug at gmail.com Fri Jan 21 15:22:07 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Fri, 21 Jan 2011 21:22:07 +0100 Subject: Popup button and DataGrid In-Reply-To: References: Message-ID: On Fri, Jan 21, 2011 at 9:05 PM, Paul Looney wrote: > Help please. > I am trying to use a popup button with a datagrid. > > I have code, in the dg, that looks like this: > > on mouseDown > ? ? popup btn "Selected Orders Popup" > end mouseDown > > The popup works fine but the selected line in the dg is not hilited until > after something is selected in the popup. So, to the user, it looks like the > popup refers to the previously selected line. > I will probably solve it but figured someone on the list already has the > solution. > > Thanks in advance. Paul, on mouseDown ? popup btn "Selected Orders Popup" pass mouseDown end mouseDown Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From richmondmathewson at gmail.com Fri Jan 21 15:23:13 2011 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 21 Jan 2011 22:23:13 +0200 Subject: Object Prefixation In-Reply-To: <4D39E960.1060906@hyperactivesw.com> References: <4D39D50B.2080204@gmail.com> <108439693765.20110121105508@ahsoftware.net> <4D39DA82.4030505@gmail.com> <4D39E960.1060906@hyperactivesw.com> Message-ID: <4D39EB31.70607@gmail.com> On 01/21/2011 10:15 PM, J. Landman Gay wrote: > On 1/21/11 1:12 PM, Richmond wrote: > >> I am not am huge fan of comformity ["Really; you surprise me, Mr >> Mathewson:]; however, >> there is a time and a place for everything; and this might just be one >> of those junctures >> that would benefit from some sort of conformity. > > I don't see the point of naming objects according to a particular > system. When referenced in a script, they are almost always preceded > by the object type. I.e.: btn "mybutton". Seems pretty clear to me. I > do, on the other hand, use a system to label variables according to > scope because there is no other way to identify that. > > That said, I do sometimes name group with "grp" at the end of the > name, though I'm not sure why, and labels have "-lbl" at the end > because those are the only fields I've ever needed to identify > visually. But I never need to know whether a field is a field, because > the script always has "field" before the object name. > > Maybe I'm missing something. I won't use your specs anyway. :) > > You probably wouldn't want my specs as they are designed to help my eyes see better rather than yours . . . :) And, as you see; we don't see eye-to-eye about prefixation. Eye-Eye, Richmond. From coiin at verizon.net Fri Jan 21 15:27:07 2011 From: coiin at verizon.net (Colin Holgate) Date: Fri, 21 Jan 2011 15:27:07 -0500 Subject: Some might like this... In-Reply-To: <4D39EACB.2040102@gmail.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com>, , <4D3960B8.5030305@cogapp.com>, <29482EA6-05D5-4735-BC0B-609D71DBD840@fiberworld.nl> <4D39DD06.7060304@gmail.com> <4D39E1AC.4060708@gmail.com> <61442981156.20110121114955@ahsoftware.net> <4D39EACB.2040102@gmail.com> Message-ID: <99DAC965-30E4-46EC-AA15-9DF1F4D41920@verizon.net> On Jan 21, 2011, at 3:21 PM, Richmond wrote: > Nothing like the arrogance of the English-speaking world to remind us Scots that after 325 years > of the English yoke we still haven't . . . I guess the yoke is on you. From richmondmathewson at gmail.com Fri Jan 21 15:32:40 2011 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 21 Jan 2011 22:32:40 +0200 Subject: Some might like this... In-Reply-To: <99DAC965-30E4-46EC-AA15-9DF1F4D41920@verizon.net> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com>, , <4D3960B8.5030305@cogapp.com>, <29482EA6-05D5-4735-BC0B-609D71DBD840@fiberworld.nl> <4D39DD06.7060304@gmail.com> <4D39E1AC.4060708@gmail.com> <61442981156.20110121114955@ahsoftware.net> <4D39EACB.2040102@gmail.com> <99DAC965-30E4-46EC-AA15-9DF1F4D41920@verizon.net> Message-ID: <4D39ED68.7080504@gmail.com> On 01/21/2011 10:27 PM, Colin Holgate wrote: > On Jan 21, 2011, at 3:21 PM, Richmond wrote: > >> Nothing like the arrogance of the English-speaking world to remind us Scots that after 325 years >> of the English yoke we still haven't . . . >> >> I guess the yoke is on you. >> >> At which point the only reasonable response is: "Fried or boiled" . . . :) From DunbarX at aol.com Fri Jan 21 15:39:15 2011 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 21 Jan 2011 15:39:15 EST Subject: Fixating on Object Prefixation Message-ID: <90ebf.11bc8fe2.3a6b48f3@aol.com> It is comforting to have a (sort of) unified naming system. In HC, it was common, for example, that all globals be prefixed with "the", as in theGlobal. In LC, I see many use "t" as shorthand for "the" as, for example, tLine: repeat for each line tLine in foo And I see a convention "g" for globals. I can read such things just a little easier, whether in my own code or someone elses, if I see familiar indicators. I think it is a good idea for common objects and variables. Was it Danny Goodman who invented "foo", and "temp"? Everyone over 45 knows immediately what these are intended to mean. Craig Newman From pete at mollysrevenge.com Fri Jan 21 15:47:12 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 21 Jan 2011 12:47:12 -0800 Subject: Object Prefixation In-Reply-To: <4D39EA3B.1000007@gmail.com> References: <4D39D50B.2080204@gmail.com> <4ED7D474-AFA1-474E-9F28-80DB4AD7930B@mollysrevenge.com> <4D39EA3B.1000007@gmail.com> Message-ID: Well, I guess it wasn't THAT obvious, but I see what you mean! Pete Haworth On Jan 21, 2011, at 12:19 PM, Richmond wrote: > On 01/21/2011 09:44 PM, Peter Haworth wrote: >> I'm probably missing something really obvious here but why do you need a naming convention for controls? You already refer to them by what type of control they are (field "xyz", button "abc"). I'll disclose that I'm influenced by the development method I use where the name of a control defines various of its characteristics. >> > > Aaah; well, if you are as warped as I am . . . > > I ALWAYS use images as buttons, as I like to guarantee a unified look-and-feel > as well as font consistency cross-platform. > > I have been known to used graphic objects, video-payers and even fields as buttons. > > Therefore, I, amongst others, might choose to use prefixes not to indicate what controls > actually are, but what they are used for! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From support at ahsomme.com Fri Jan 21 15:55:03 2011 From: support at ahsomme.com (Paul Looney) Date: Fri, 21 Jan 2011 12:55:03 -0800 Subject: Popup button and DataGrid In-Reply-To: References: Message-ID: Sorry zryip, That did not work, though it looks like it should. Still the same problem: the popup appears before the clicked line is hilited. Thanks for the suggestion. Paul Looney On Jan 21, 2011, at 12:22 PM, zryip theSlug wrote: > On Fri, Jan 21, 2011 at 9:05 PM, Paul Looney > wrote: >> Help please. >> I am trying to use a popup button with a datagrid. >> >> I have code, in the dg, that looks like this: >> >> on mouseDown >> popup btn "Selected Orders Popup" >> end mouseDown >> >> The popup works fine but the selected line in the dg is not >> hilited until >> after something is selected in the popup. So, to the user, it >> looks like the >> popup refers to the previously selected line. >> I will probably solve it but figured someone on the list already >> has the >> solution. >> >> Thanks in advance. > > Paul, > > on mouseDown > popup btn "Selected Orders Popup" > pass mouseDown > end mouseDown > > > Best regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Fri Jan 21 15:59:15 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 21 Jan 2011 12:59:15 -0800 Subject: Right Click on a datagrid column header Message-ID: Can anyone provide some help on how to detect a right click on a datagrid column header and find out the name of the column that was clicked on and its top, left, bottom, right coordinates. Thanks, Pete Haworth PS What's the naming convention for datagrids? Are they groups or are they datagrids? From revdev at pdslabs.net Fri Jan 21 16:00:51 2011 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 21 Jan 2011 13:00:51 -0800 Subject: Popup button and DataGrid In-Reply-To: References: Message-ID: <4D39F403.9010407@pdslabs.net> Try using a mouseUp handler - maybe that will give the line time to hilite first. Phil On 1/21/11 12:55 PM, Paul Looney wrote: > Sorry zryip, > That did not work, though it looks like it should. > Still the same problem: the popup appears before the clicked line is hilited. > Thanks for the suggestion. > Paul Looney > > On Jan 21, 2011, at 12:22 PM, zryip theSlug wrote: > >> On Fri, Jan 21, 2011 at 9:05 PM, Paul Looney wrote: >>> Help please. >>> I am trying to use a popup button with a datagrid. >>> >>> I have code, in the dg, that looks like this: >>> >>> on mouseDown >>> popup btn "Selected Orders Popup" >>> end mouseDown >>> >>> The popup works fine but the selected line in the dg is not hilited until >>> after something is selected in the popup. So, to the user, it looks like the >>> popup refers to the previously selected line. >>> I will probably solve it but figured someone on the list already has the >>> solution. >>> >>> Thanks in advance. >> >> Paul, >> >> on mouseDown >> popup btn "Selected Orders Popup" >> pass mouseDown >> end mouseDown >> >> >> Best regards, >> -- >> -Zryip TheSlug- wish you the best! 8) >> http://www.aslugontheroad.co.cc >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From pete at mollysrevenge.com Fri Jan 21 16:23:37 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 21 Jan 2011 13:23:37 -0800 Subject: Popup button and DataGrid In-Reply-To: <4D39F403.9010407@pdslabs.net> References: <4D39F403.9010407@pdslabs.net> Message-ID: <8FE23F7F-484D-42E5-ACF2-80DB07D6AF19@mollysrevenge.com> You have to call the datagrid dgMouseDown handler in your mousedown handler. Assuming your mouseDown handler is in the datagrid script, just call dgMousedown with the button number before you display your popup. Otherwise, the datagrid doesn;t see the mousedown event until after your mousedown handler sees it. No need to pass mouseDown either. Pete Haworth On Jan 21, 2011, at 1:00 PM, Phil Davis wrote: > Try using a mouseUp handler - maybe that will give the line time to hilite first. > Phil > > > On 1/21/11 12:55 PM, Paul Looney wrote: >> Sorry zryip, >> That did not work, though it looks like it should. >> Still the same problem: the popup appears before the clicked line is hilited. >> Thanks for the suggestion. >> Paul Looney >> >> On Jan 21, 2011, at 12:22 PM, zryip theSlug wrote: >> >>> On Fri, Jan 21, 2011 at 9:05 PM, Paul Looney wrote: >>>> Help please. >>>> I am trying to use a popup button with a datagrid. >>>> >>>> I have code, in the dg, that looks like this: >>>> >>>> on mouseDown >>>> popup btn "Selected Orders Popup" >>>> end mouseDown >>>> >>>> The popup works fine but the selected line in the dg is not hilited until >>>> after something is selected in the popup. So, to the user, it looks like the >>>> popup refers to the previously selected line. >>>> I will probably solve it but figured someone on the list already has the >>>> solution. >>>> >>>> Thanks in advance. >>> >>> Paul, >>> >>> on mouseDown >>> popup btn "Selected Orders Popup" >>> pass mouseDown >>> end mouseDown >>> >>> >>> Best regards, >>> -- >>> -Zryip TheSlug- wish you the best! 8) >>> http://www.aslugontheroad.co.cc >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > -- > Phil Davis > > PDS Labs > Professional Software Development > http://pdslabs.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From zryip.theslug at gmail.com Fri Jan 21 16:32:25 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Fri, 21 Jan 2011 22:32:25 +0100 Subject: Right Click on a datagrid column header In-Reply-To: References: Message-ID: On Fri, Jan 21, 2011 at 9:59 PM, Peter Haworth wrote: > Can anyone provide some help on how to detect a right click on a datagrid column header and find out the name of the column that was clicked on and its top, left, bottom, right coordinates. Pete, Have a look to this lesson: http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/8411-How-Do-I-Display-a-Contextual-Menu-When-the-User-Clicks-on-a-Column-Header- Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From calhorner at xtra.co.nz Fri Jan 21 16:32:43 2011 From: calhorner at xtra.co.nz (Cal Horner) Date: Sat, 22 Jan 2011 10:32:43 +1300 (New Zealand Daylight Time) Subject: File Suffix Message-ID: <4D39FB7A.000003.01220@CALS_BIG_PC> O.K. Ken, given that there are companies in our business that have used more than a three char suffix. That still doesn't make it right. And I'll bet they didn't "change horses in midstream", so to speak. From support at ahsomme.com Fri Jan 21 16:38:56 2011 From: support at ahsomme.com (Paul Looney) Date: Fri, 21 Jan 2011 13:38:56 -0800 Subject: Popup button and DataGrid In-Reply-To: <4D39F403.9010407@pdslabs.net> References: <4D39F403.9010407@pdslabs.net> Message-ID: Phil, I had already tried that - and it worked - but... the popup popped up on the mouseUp which was strange - especially if you hold down the mouse longer than usual. Thanks. Paul Looney On Jan 21, 2011, at 1:00 PM, Phil Davis wrote: > Try using a mouseUp handler - maybe that will give the line time to > hilite first. > Phil > > > On 1/21/11 12:55 PM, Paul Looney wrote: >> Sorry zryip, >> That did not work, though it looks like it should. >> Still the same problem: the popup appears before the clicked line >> is hilited. >> Thanks for the suggestion. >> Paul Looney >> >> On Jan 21, 2011, at 12:22 PM, zryip theSlug wrote: >> >>> On Fri, Jan 21, 2011 at 9:05 PM, Paul Looney >>> wrote: >>>> Help please. >>>> I am trying to use a popup button with a datagrid. >>>> >>>> I have code, in the dg, that looks like this: >>>> >>>> on mouseDown >>>> popup btn "Selected Orders Popup" >>>> end mouseDown >>>> >>>> The popup works fine but the selected line in the dg is not >>>> hilited until >>>> after something is selected in the popup. So, to the user, it >>>> looks like the >>>> popup refers to the previously selected line. >>>> I will probably solve it but figured someone on the list already >>>> has the >>>> solution. >>>> >>>> Thanks in advance. >>> >>> Paul, >>> >>> on mouseDown >>> popup btn "Selected Orders Popup" >>> pass mouseDown >>> end mouseDown >>> >>> >>> Best regards, >>> -- >>> -Zryip TheSlug- wish you the best! 8) >>> http://www.aslugontheroad.co.cc >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > -- > Phil Davis > > PDS Labs > Professional Software Development > http://pdslabs.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Jan 21 16:41:13 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 21 Jan 2011 15:41:13 -0600 Subject: Livecode IOS personnal + LiveCode Desktop commercial = 2 app ? In-Reply-To: <7B931F6F-9BF2-455C-B318-C265F62DED76@laposte.net> References: <7B931F6F-9BF2-455C-B318-C265F62DED76@laposte.net> Message-ID: <4D39FD79.2040005@hyperactivesw.com> On 1/21/11 5:43 AM, Ludovic Th?bault wrote: > > I've a commercial licence of Livecode Desktop. I want to make an ios > app, for me only (in first time). So if i bought the Livecode iOs > personnal, i need to switch with the different app (one for develop > for iOs, one for desktop app) ? No, you can use the same app. You might have to re-license it the first time though. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rjb at robelko.com Fri Jan 21 15:52:01 2011 From: rjb at robelko.com (Robert Brenstein) Date: Fri, 21 Jan 2011 21:52:01 +0100 Subject: pinging or else network devices from livecode Message-ID: A weekend challenge for those who are bored, but not only... I wonder whether it is possible to have a livecode stack that scans all IP addresses within a specific subnet to check whether devices are there. I am currently using Remote Desktop to do those scans manually but this is becoming boring and I'd like to run them more regularly, that is to automate the process. For each scan, I need to get the list of active IP adresses in a specific subnet and the corresponding MAC addresses and hostnames (hostnames is easy with the hostaddresstoname function in livecode). I gather I could try opening a socket to some specific port. However, this needs to work with Macs (OS9 and OSX), Windows, Linux, NAS, printers, and cross switches to other subnets. Good old ping might suffice but how to do it in livecode? The solution can be OSX-specific since it will run either under OSX Tiger or Leopeard (no Snow). Something like an automated IP Scan or Angry IP Scanner made in LiveCode. Using NMap through a shell call would be acceptable. Robert From support at ahsomme.com Fri Jan 21 16:56:39 2011 From: support at ahsomme.com (Paul Looney) Date: Fri, 21 Jan 2011 13:56:39 -0800 Subject: Popup button and DataGrid In-Reply-To: <8FE23F7F-484D-42E5-ACF2-80DB07D6AF19@mollysrevenge.com> References: <4D39F403.9010407@pdslabs.net> <8FE23F7F-484D-42E5-ACF2-80DB07D6AF19@mollysrevenge.com> Message-ID: <3882B29F-932D-4A45-942A-95103B7D91BE@ahsomme.com> Peter, That makes sense but what is the syntax? I tried putting: on dgMouseDown -- various things end dgMouseDown but that handler never got called. I tried: on mouseDown send "dgMouseDown" to grp "Pending Orders Data Grid" popup btn "Selected Orders Popup" end mouseDown which seemed to have no effect. Seem to be really close now. Paul Looney On Jan 21, 2011, at 1:23 PM, Peter Haworth wrote: > You have to call the datagrid dgMouseDown handler in your mousedown > handler. Assuming your mouseDown handler is in the datagrid > script, just call dgMousedown with the button number before you > display your popup. Otherwise, the datagrid doesn;t see the > mousedown event until after your mousedown handler sees it. No > need to pass mouseDown either. > > Pete Haworth >>>> On Fri, Jan 21, 2011 at 9:05 PM, Paul Looney >>>> wrote: >>>>> Help please. >>>>> I am trying to use a popup button with a datagrid. >>>>> >>>>> I have code, in the dg, that looks like this: >>>>> >>>>> on mouseDown >>>>> popup btn "Selected Orders Popup" >>>>> end mouseDown >>>>> >>>>> The popup works fine but the selected line in the dg is not >>>>> hilited until >>>>> after something is selected in the popup. So, to the user, it >>>>> looks like the >>>>> popup refers to the previously selected line. >>>>> I will probably solve it but figured someone on the list >>>>> already has the >>>>> solution. >>>>> >>>>> Thanks in advance. >>>> >>>> Paul, From pete at mollysrevenge.com Fri Jan 21 17:00:47 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 21 Jan 2011 14:00:47 -0800 Subject: Right Click on a datagrid column header In-Reply-To: References: Message-ID: Thanks. That tells me how to grab the right click on a header column, but I also need to know the coordinates of the column that was clicked on. Any ideas? Pete Haworth On Jan 21, 2011, at 1:32 PM, zryip theSlug wrote: > On Fri, Jan 21, 2011 at 9:59 PM, Peter Haworth wrote: >> Can anyone provide some help on how to detect a right click on a datagrid column header and find out the name of the column that was clicked on and its top, left, bottom, right coordinates. > > Pete, > > Have a look to this lesson: > http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/8411-How-Do-I-Display-a-Contextual-Menu-When-the-User-Clicks-on-a-Column-Header- > > > Best regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at mollysrevenge.com Fri Jan 21 17:02:43 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 21 Jan 2011 14:02:43 -0800 Subject: Popup button and DataGrid In-Reply-To: <3882B29F-932D-4A45-942A-95103B7D91BE@ahsomme.com> References: <4D39F403.9010407@pdslabs.net> <8FE23F7F-484D-42E5-ACF2-80DB07D6AF19@mollysrevenge.com> <3882B29F-932D-4A45-942A-95103B7D91BE@ahsomme.com> Message-ID: dgMouseDown is a handler provided with the datagrid library, not one you write. Take a look at the following lesson - it explains it much better than I can! http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7316-How-Do-I-Add-a-mouseDown-Event-To-The-Data-Grid-Without-Breaking-It- Pete Haworth On Jan 21, 2011, at 1:56 PM, Paul Looney wrote: > Peter, > That makes sense but what is the syntax? > I tried putting: > > on dgMouseDown > -- various things > end dgMouseDown > > but that handler never got called. > I tried: > > on mouseDown > send "dgMouseDown" to grp "Pending Orders Data Grid" > popup btn "Selected Orders Popup" > end mouseDown > > which seemed to have no effect. > Seem to be really close now. > Paul Looney > > > On Jan 21, 2011, at 1:23 PM, Peter Haworth wrote: > >> You have to call the datagrid dgMouseDown handler in your mousedown handler. Assuming your mouseDown handler is in the datagrid script, just call dgMousedown with the button number before you display your popup. Otherwise, the datagrid doesn;t see the mousedown event until after your mousedown handler sees it. No need to pass mouseDown either. >> >> Pete Haworth > >>>>> On Fri, Jan 21, 2011 at 9:05 PM, Paul Looney wrote: >>>>>> Help please. >>>>>> I am trying to use a popup button with a datagrid. >>>>>> >>>>>> I have code, in the dg, that looks like this: >>>>>> >>>>>> on mouseDown >>>>>> popup btn "Selected Orders Popup" >>>>>> end mouseDown >>>>>> >>>>>> The popup works fine but the selected line in the dg is not hilited until >>>>>> after something is selected in the popup. So, to the user, it looks like the >>>>>> popup refers to the previously selected line. >>>>>> I will probably solve it but figured someone on the list already has the >>>>>> solution. >>>>>> >>>>>> Thanks in advance. >>>>> >>>>> Paul, > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From support at ahsomme.com Fri Jan 21 17:06:22 2011 From: support at ahsomme.com (Paul Looney) Date: Fri, 21 Jan 2011 14:06:22 -0800 Subject: Popup button and DataGrid In-Reply-To: References: <4D39F403.9010407@pdslabs.net> <8FE23F7F-484D-42E5-ACF2-80DB07D6AF19@mollysrevenge.com> <3882B29F-932D-4A45-942A-95103B7D91BE@ahsomme.com> Message-ID: <493DD51F-1AB6-4EB3-921B-CCDE1AB22FFC@ahsomme.com> Peter, Thanks for the quick response; I'm checking it out right now. PL On Jan 21, 2011, at 2:02 PM, Peter Haworth wrote: > dgMouseDown is a handler provided with the datagrid library, not > one you write. Take a look at the following lesson - it explains > it much better than I can! > > http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/ > 7316-How-Do-I-Add-a-mouseDown-Event-To-The-Data-Grid-Without- > Breaking-It- > > Pete Haworth > > On Jan 21, 2011, at 1:56 PM, Paul Looney wrote: > >> Peter, >> That makes sense but what is the syntax? >> I tried putting: >> >> on dgMouseDown >> -- various things >> end dgMouseDown >> >> but that handler never got called. >> I tried: >> >> on mouseDown >> send "dgMouseDown" to grp "Pending Orders Data Grid" >> popup btn "Selected Orders Popup" >> end mouseDown >> >> which seemed to have no effect. >> Seem to be really close now. >> Paul Looney >> >> >> On Jan 21, 2011, at 1:23 PM, Peter Haworth wrote: >> >>> You have to call the datagrid dgMouseDown handler in your >>> mousedown handler. Assuming your mouseDown handler is in the >>> datagrid script, just call dgMousedown with the button number >>> before you display your popup. Otherwise, the datagrid doesn;t >>> see the mousedown event until after your mousedown handler sees >>> it. No need to pass mouseDown either. >>> >>> Pete Haworth >> >>>>>> On Fri, Jan 21, 2011 at 9:05 PM, Paul Looney >>>>>> wrote: >>>>>>> Help please. >>>>>>> I am trying to use a popup button with a datagrid. >>>>>>> >>>>>>> I have code, in the dg, that looks like this: >>>>>>> >>>>>>> on mouseDown >>>>>>> popup btn "Selected Orders Popup" >>>>>>> end mouseDown >>>>>>> >>>>>>> The popup works fine but the selected line in the dg is not >>>>>>> hilited until >>>>>>> after something is selected in the popup. So, to the user, it >>>>>>> looks like the >>>>>>> popup refers to the previously selected line. >>>>>>> I will probably solve it but figured someone on the list >>>>>>> already has the >>>>>>> solution. >>>>>>> >>>>>>> Thanks in advance. >>>>>> >>>>>> Paul, >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Fri Jan 21 17:07:17 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 21 Jan 2011 14:07:17 -0800 Subject: Changiing the height of a stack Message-ID: I want to change the height of a stack. No problem changing the height property but that causes both the top and the bottom of the stack to change positions and I want the top of the stack to stay where it is and all the height change to be added to the bottom. The dictionary says the locklocation property does that but then I find that isn't available for a stack. I see a locklocation check box in the property inspector for the card, but it's greyed out. Sometimes the simplest things just aren't! Pete Haworth From zryip.theslug at gmail.com Fri Jan 21 17:08:03 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Fri, 21 Jan 2011 23:08:03 +0100 Subject: Popup button and DataGrid In-Reply-To: <3882B29F-932D-4A45-942A-95103B7D91BE@ahsomme.com> References: <4D39F403.9010407@pdslabs.net> <8FE23F7F-484D-42E5-ACF2-80DB07D6AF19@mollysrevenge.com> <3882B29F-932D-4A45-942A-95103B7D91BE@ahsomme.com> Message-ID: On Fri, Jan 21, 2011 at 10:56 PM, Paul Looney wrote: > Peter, > That makes sense but what is the syntax? > I tried putting: > > on dgMouseDown > ? ? -- various things > end dgMouseDown > > but that handler never got called. > I tried: > > on mouseDown > ? ? send "dgMouseDown" to grp "Pending Orders Data Grid" > ? ? popup btn "Selected Orders Popup" > end mouseDown > > which seemed to have no effect. > Seem to be really close now. on mouseDown dgMouseDown 1 popup btn "Selected Orders Popup" end mouseDown Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From klaus at major.on-rev.com Fri Jan 21 17:12:48 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Fri, 21 Jan 2011 23:12:48 +0100 Subject: Changiing the height of a stack In-Reply-To: References: Message-ID: Hi Peter, > I want to change the height of a stack. No problem changing the height property but that causes both the top and the bottom of the stack to change positions and I want the top of the stack to stay where it is and all the height change to be added to the bottom. The dictionary says the locklocation property does that but then I find that isn't available for a stack. I see a locklocation check box in the property inspector for the card, but it's greyed out. I think "lockloc" does not apply to stacks. > Sometimes the simplest things just aren't! Modify the RECT of the stack like this: ... put the rect of this stack into tRex ## make the stack 100 pixel "higher" add 100 to item 4 of tRect set the rect of this stack to tRex ... You get the picture :-) > Pete Haworth Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From scott at tactilemedia.com Fri Jan 21 17:13:28 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 21 Jan 2011 14:13:28 -0800 Subject: Changiing the height of a stack In-Reply-To: Message-ID: Recently, Peter Haworth wrote: > I want to change the height of a stack. No problem changing the height > property but that causes both the top and the bottom of the stack to change > positions and I want the top of the stack to stay where it is and all the > height change to be added to the bottom. The dictionary says the locklocation > property does that but then I find that isn't available for a stack. I see a > locklocation check box in the property inspector for the card, but it's greyed > out. Via script: Put the rect of the stack into a variable, adjust the value of the 4th item as needed, set the rect of your stack to the variable. Maybe somebody else knows a built-in way. Regards, Scott Rossi Creative Director Tactile Media, UX Design From pete at mollysrevenge.com Fri Jan 21 17:22:34 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 21 Jan 2011 14:22:34 -0800 Subject: Changiing the height of a stack In-Reply-To: References: Message-ID: <0EAE2589-7C0C-46C2-8071-E37C238C2A66@mollysrevenge.com> Thanks Scott and Klaus, that works for me. Anyone know why the card property inspector lockloc check box for the card is greyed out? Pete Haworth On Jan 21, 2011, at 2:13 PM, Scott Rossi wrote: > Recently, Peter Haworth wrote: > >> I want to change the height of a stack. No problem changing the height >> property but that causes both the top and the bottom of the stack to change >> positions and I want the top of the stack to stay where it is and all the >> height change to be added to the bottom. The dictionary says the locklocation >> property does that but then I find that isn't available for a stack. I see a >> locklocation check box in the property inspector for the card, but it's greyed >> out. > > Via script: > Put the rect of the stack into a variable, adjust the value of the 4th item > as needed, set the rect of your stack to the variable. > > Maybe somebody else knows a built-in way. > > 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 zryip.theslug at gmail.com Fri Jan 21 17:23:15 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Fri, 21 Jan 2011 23:23:15 +0100 Subject: Right Click on a datagrid column header In-Reply-To: References: Message-ID: On Fri, Jan 21, 2011 at 11:00 PM, Peter Haworth wrote: > Thanks. ?That tells me how to grab the right click on a header column, but I also need to know the coordinates of the column that was clicked on. ?Any ideas? Pete, In the datagrid group script: on mouseDown pMouseBtn dgMouseDown pMouseBtn if (the dgHeaderControl of the target is not empty) then put the rect of the dgHeaderControl of the target end if end mouseDown Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From pete at mollysrevenge.com Fri Jan 21 17:30:14 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 21 Jan 2011 14:30:14 -0800 Subject: Right Click on a datagrid column header In-Reply-To: References: Message-ID: <061DC9BB-9A72-4ADE-AF90-3C8351C790D2@mollysrevenge.com> Great, thanks! Pete Haworth On Jan 21, 2011, at 2:23 PM, zryip theSlug wrote: > On Fri, Jan 21, 2011 at 11:00 PM, Peter Haworth wrote: >> Thanks. That tells me how to grab the right click on a header column, but I also need to know the coordinates of the column that was clicked on. Any ideas? > > Pete, > > In the datagrid group script: > > on mouseDown pMouseBtn > dgMouseDown pMouseBtn > if (the dgHeaderControl of the target is not empty) then > put the rect of the dgHeaderControl of the target > end if > end mouseDown > > > Best regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 21 17:42:27 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 21 Jan 2011 16:42:27 -0600 Subject: Changiing the height of a stack In-Reply-To: <0EAE2589-7C0C-46C2-8071-E37C238C2A66@mollysrevenge.com> References: <0EAE2589-7C0C-46C2-8071-E37C238C2A66@mollysrevenge.com> Message-ID: <4D3A0BD3.4020701@hyperactivesw.com> On 1/21/11 4:22 PM, Peter Haworth wrote: > Thanks Scott and Klaus, that works for me. Anyone know why the card > property inspector lockloc check box for the card is greyed out? Because it doesn't apply. Lockloc only applies to objects that change size automatically when redrawn (like images) or which can be moved by the mouse. In those cases you lock them so that they either won't resize, or so you won't accidentally move them around. You can't drag cards around inside the stack window, and their dimensions never change unless you specifically do it, so there is nothing to lock. Stacks don't have a lockloc property either. You can always drag them by their titlebar if it's showing, and their dimensions are fixed and never change automatically. Instead, we have the resizeable property to prevent user resizing, and we can hide the titlebar to prevent dragging. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From DunbarX at aol.com Fri Jan 21 17:48:21 2011 From: DunbarX at aol.com (DunbarX at aol.com) Date: Fri, 21 Jan 2011 17:48:21 EST Subject: Changiing the height of a stack Message-ID: <6c36.1b4a450e.3a6b6735@aol.com> Good ol' Jacques! From zryip.theslug at gmail.com Fri Jan 21 18:01:02 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sat, 22 Jan 2011 00:01:02 +0100 Subject: Changiing the height of a stack In-Reply-To: <4D3A0BD3.4020701@hyperactivesw.com> References: <0EAE2589-7C0C-46C2-8071-E37C238C2A66@mollysrevenge.com> <4D3A0BD3.4020701@hyperactivesw.com> Message-ID: On Fri, Jan 21, 2011 at 11:42 PM, J. Landman Gay wrote: > Stacks don't have a lockloc property either. You can always drag them by > their titlebar if it's showing, and their dimensions are fixed and never > change automatically. Instead, we have the resizeable property to prevent > user resizing, and we can hide the titlebar to prevent dragging. We can hide the window to prevent bugs? Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From jacque at hyperactivesw.com Fri Jan 21 18:01:11 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 21 Jan 2011 17:01:11 -0600 Subject: Changiing the height of a stack In-Reply-To: <6c36.1b4a450e.3a6b6735@aol.com> References: <6c36.1b4a450e.3a6b6735@aol.com> Message-ID: <4D3A1037.3020906@hyperactivesw.com> On 1/21/11 4:48 PM, DunbarX at aol.com wrote: > Good ol' Jacques! > If you're coming to RevLive, I can pay you your annual flattery bribe in person. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mcgrath3 at mac.com Fri Jan 21 18:12:30 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 21 Jan 2011 18:12:30 -0500 Subject: usb driver problem In-Reply-To: <8F6D20C1-2918-4884-98C5-B95C770A78BC@fiberworld.nl> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <8F6D20C1-2918-4884-98C5-B95C770A78BC@fiberworld.nl> Message-ID: Clasudi, Hey that's great that you got yours today. I really like this little thing. And I like that it is cheap enough to include in some permanent projects. The Xbee and some other boards are more expensive but my be really helpful. I think it would be great to discuss this off list especially after the serial problem is overcome. That way anyone reading through the list can see what efforts were made and how to get around them. I am starting to think that the code I am using on the Arduino is what is hanging LC up. What script were you using? I haven't tried to send anything serious to the board yet but did get to see the rx led light up like you said. Hopefully we can have a formula for future users. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 21, 2011, at 7:29 AM, Claudi Cornaz wrote: > Hi Thomas, > > Well, I recieved my arduino yesterday and started experimenting. I can upload a scetch to the board and it functions well. > I can also communicate with it via ZTerm. (send and recieve) > > Now the most important part: communicating with it via livecode. > Alas this gives me trouble aswell. Here is what I got. > > Using Mark's code from the makeboard to get the OSXDeviceNames() and with the arduino connected I see the following: > (it's important to have the board connected otherwise I don't see those modems) > > usbmodem3a21 > /dev/tty.usbmodem3a21 > /dev/cu.usbmodem3a21 > Bluetooth-PDA-Sync > /dev/tty.Bluetooth-PDA-Sync > ..... ...... > etc. > > Further I can open a driver with: open driver "/dev/cu.usbmodem3a21" > and see a result on the board, it's resetting (as in the manual so this is as should be) > I can also close the driver. > I haven't been able to recieve data from the board, but I am able to send something to the board. > I send it a 1 and on the board I have a scetch which checks if it recieves data. If it recieves data, > it will send the same data out with a delay of 500 millis. So when I send data from livecode > I see the Rx led light and thereafter I see the Tx light, which means the board did recieve something and sends > the incomming data back out. > Now I am gonna try to figure out what it recieves and what it sends. (Probably I am gonna hook the whole bit up to a scope > so I can see what's going on on a electrical level) > > If I use open file instead of driver it doesn't work. If I use the /dev/tty.usbmodem3a21 instead of /dev/cu.usbmodem3a21 > livecode hangs with the beachball and I have to force quit. > > Well that's as far as I got till now. > Perhaps it would be a good idea to discuss/collaborate some of our effords/failings etc. offlist. > As soon as I have something more I will contact you. Feel free to mail me with your addional results/questions/suggestions etc. > > > Best wishes, > Claudi > > > > > On 21 jan 2011, at 07:19, Thomas McGrath III wrote: > >> Actually, as long as data is coming from the Arduino the app works. The data comes in and fills the field. But after the data stops being sent the system hangs. Until I push the button on the Arduino to send more data in which case the beach ball goes away and the new data gets received again. >> >> It's like as long as data keeps everything is fine. I can even close the port in the middle of getting data but If it gets to the end of the current stream the system hangs and I can't even close the port. I put code in to close the port after data stops and that is working I think but the system still hangs like it's waiting for more. >> >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> 3mcgrath at comcast.net >> >> On Jan 21, 2011, at 1:12 AM, Thomas McGrath III wrote: >> >>> OK well I can read the data from the USB Serial Modem -- but -- after it is done the app hangs. >>> >>> So I can open the port and then read the port and I think close the port but the system hangs. >>> >>> HELP.... ?? >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> 3mcgrath at comcast.net >>> >>> On Jan 21, 2011, at 12:48 AM, Thomas McGrath III wrote: >>> >>>> It seems if I set the EOL to CRLF things work partly. i.e. The numbers show up in the field BUT the script keeps looping and will not stop causing the beach ball. >>>> >>>> Sarah's code: >>>> on readPort >>>> if the hilite of btn "Port open" = true then >>>> >>>> if recEOL is "empty" then resetEOL >>>> >>>> put the label of btn "Port" into thePort >>>> if the hilite of btn "OS X" then >>>> read from file thePort until recEOL >>>> else >>>> read from file thePort until recEOL >>>> end if >>>> if it is not empty then put it after fld "recField" >>>> if last char of fld "recField" <> cr then put cr after fld "recField" >>>> send readPort to me in 5 ticks >>>> end if >>>> end readPort >>>> >>>> >>>> >>>> -- Tom McGrath III >>>> http://lazyriver.on-rev.com >>>> 3mcgrath at comcast.net >>>> >>>> On Jan 21, 2011, at 12:05 AM, Thomas McGrath III wrote: >>>> >>>>> UPDATE: Something is working but makes no sense. >>>>> >>>>> Found a few terminal screen ideas but they are outside of Livecode. No good. >>>>> Found a few applescript examples but would rather keep this crossplatform if possible and a LC to OSC solution would work on iOS but applescript would not. Not best but may have to go this route. >>>>> >>>>> Found a few softwares that access the USB modem (not FTDI serial emulation) as serial which leads me to believe LC can still do this even with the change from software emulation of a serial port to the hardware emulation of a serial port. So I looked again at Sarah's serialTest stack. >>>>> >>>>> I had to manually add the /dev/tty.usbmodem1a21 and /dev/cu.usbmodem1a21 to the popup menu. Then find replace driver with file in five places in the stack. Now most of the other solutions use the tty but two use the cu so I tested both. Major hang and LC not responding in Force Quit Window. >>>>> >>>>> Command period no good. >>>>> Esc no good. >>>>> Force quit. quits but no good and driver may still be open. >>>>> >>>>> Unplug Arduino Uno and plug it back in. HUH Serial Input Shows Up In Field !!!!!! Beach ball of almost death goes away. Also port is now closed I think. Also Arduino Tx led not lighting anymore - should be though. Wait replug Arduino rest button on Arduino and serial Tx led is working again. But no longer connected to LC. Try again. Open cu port and beach ball of almost death shows up - LC not responding in Force Quit Window - Unplug Arduino and field fills up with serial data. THe data is a bunch of 1 and 0 based on blinking led. >>>>> >>>>> SO this seems to say it is connecting but not communicating well. Not knowing enough about serial commands I am not sure what is causing the hang and not responding??? They are both set to 9600. I read somewhere that the trailing bit is or should be ignored. >>>>> >>>>> Is there another way to connect via message box with out clutter from other settings ? Any ideas on what the culprit is here? >>>>> >>>>> Thanks for staying with me on this one. >>>>> >>>>> >>>>> -- Tom McGrath III >>>>> http://lazyriver.on-rev.com >>>>> 3mcgrath at comcast.net >>>>> >>>>> On Jan 15, 2011, at 10:37 PM, Mark Wieder wrote: >>>>> >>>>>> Jacque- >>>>>> >>>>>> Saturday, January 15, 2011, 7:31:30 PM, you wrote: >>>>>> >>>>>>> There's no USB support per se, so if the device doesn't present itself >>>>>>> as a serial port device it won't work. >>>>>> >>>>>>> The path you use when you open a serial port as a file is the same one >>>>>>> you'd use in shell -- use the "/dev/tty.usbmodem1a21" path you >>>>>>> mentioned. Also, see if you can talk to it in shell just as a test. >>>>>> >>>>>> That should work then, since the Arduino driver has always presented >>>>>> itself as a serial port. >>>>>> >>>>>> -- >>>>>> -Mark Wieder >>>>>> mwieder at ahsoftware.net >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Fri Jan 21 18:14:16 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 21 Jan 2011 18:14:16 -0500 Subject: usb driver problem In-Reply-To: <684430.8084.qm@web65407.mail.ac4.yahoo.com> References: <684430.8084.qm@web65407.mail.ac4.yahoo.com> Message-ID: Jan, I think you are right. I originally was checking both the result and it and somewhere along the way just focused on it. So I will append the in 2 secs and check the result. Thanks for the heads up on this. Let you know what happens. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 21, 2011, at 9:05 AM, Jan Schenkel wrote: > --- On Thu, 1/20/11, Thomas McGrath III wrote: >> Actually, as long as data is coming >> from the Arduino the app works. The data comes in and fills >> the field. But after the data stops being sent the system >> hangs. Until I push the button on the Arduino to send more >> data in which case the beach ball goes away and the new data >> gets received again. >> >> It's like as long as data keeps everything is fine. I can >> even close the port in the middle of getting data but If it >> gets to the end of the current stream the system hangs and I >> can't even close the port. I put code in to close the port >> after data stops and that is working I think but the system >> still hangs like it's waiting for more. >> >> >> -- Tom McGrath III >> > > Your 'read' is blocking the rest of the application. Try appending 'in 2 seconds" to the end of each 'read' statement, and check the result to see if it is 'time out' before processing the context of the special local variable 'it'. > > I shot myself in the foot with that during my experiment of running a java helper app for JmDNS. > > 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) > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Fri Jan 21 18:19:24 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 21 Jan 2011 18:19:24 -0500 Subject: usb driver problem In-Reply-To: <4D3960B8.5030305@cogapp.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <4D3960B8.5030305@cogapp.com> Message-ID: Ben, This did help. When trouble shooting I think I changed too many variables. I need to get back to square one and start again now that I have made some progress. Let you know when I come up with something. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 21, 2011, at 5:32 AM, Ben Rubinstein wrote: > Tom, > > Caveats: I've not tried connecting to an Arduino, and I've done almost nothing with serial generally... so I don't really know what I'm talk about. But, when I was working with GPS (which are USB with FTDI etc pretending to be serial) I found two things: > > a) I know this is obvious, but it really matters that you get the serial parameters right - getting the right speed is only part of it, if you get the rest wrong you may get it seeming to work but it will be unreliable. I've no reason to think you haven't done this, I just thought it was worth mentioning. > > b) More usefully perhaps, the code you quote below is reading from the port until (rec)eol; I would expect that this may be where it's hanging (and displaying the spinning pizza). The GPS unit was also supposed to speak to in complete lines, but I found that rather than rely on this, I did better by having a regularly scheduled task that read whatever was available on the serial line, and added it to an internal buffer. Any time new data was read, it then called another function to take all complete lines out of the buffer and process them. This was using read from driver instead of read from file, as the former allows you to issue a read command which returns either when a certain quantity of date has been read (I settled on 10 lines at a time) or a time limit has been exceeded. I'm not sure if you have the option to read from driver instead of file, or whether you can use a similar mode with read from file; but at any rate, I'd expect your spinning pizza might occur when read from file is waiting for EOL. > > HTH, > > Ben > > > On 21/01/2011 06:19, Thomas McGrath III wrote: >> Actually, as long as data is coming from the Arduino the app works. The data comes in and fills the field. But after the data stops being sent the system hangs. Until I push the button on the Arduino to send more data in which case the beach ball goes away and the new data gets received again. >> >> It's like as long as data keeps everything is fine. I can even close the port in the middle of getting data but If it gets to the end of the current stream the system hangs and I can't even close the port. I put code in to close the port after data stops and that is working I think but the system still hangs like it's waiting for more. >> >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> 3mcgrath at comcast.net >> >> On Jan 21, 2011, at 1:12 AM, Thomas McGrath III wrote: >> >>> OK well I can read the data from the USB Serial Modem -- but -- after it is done the app hangs. >>> >>> So I can open the port and then read the port and I think close the port but the system hangs. >>> >>> HELP.... ?? >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> 3mcgrath at comcast.net >>> >>> On Jan 21, 2011, at 12:48 AM, Thomas McGrath III wrote: >>> >>>> It seems if I set the EOL to CRLF things work partly. i.e. The numbers show up in the field BUT the script keeps looping and will not stop causing the beach ball. >>>> >>>> Sarah's code: >>>> on readPort >>>> if the hilite of btn "Port open" = true then >>>> >>>> if recEOL is "empty" then resetEOL >>>> >>>> put the label of btn "Port" into thePort >>>> if the hilite of btn "OS X" then >>>> read from file thePort until recEOL >>>> else >>>> read from file thePort until recEOL >>>> end if >>>> if it is not empty then put it after fld "recField" >>>> if last char of fld "recField"<> cr then put cr after fld "recField" >>>> send readPort to me in 5 ticks >>>> end if >>>> end readPort >>>> >>>> >>>> >>>> -- Tom McGrath III >>>> http://lazyriver.on-rev.com >>>> 3mcgrath at comcast.net >>>> >>>> On Jan 21, 2011, at 12:05 AM, Thomas McGrath III wrote: >>>> >>>>> UPDATE: Something is working but makes no sense. >>>>> >>>>> Found a few terminal screen ideas but they are outside of Livecode. No good. >>>>> Found a few applescript examples but would rather keep this crossplatform if possible and a LC to OSC solution would work on iOS but applescript would not. Not best but may have to go this route. >>>>> >>>>> Found a few softwares that access the USB modem (not FTDI serial emulation) as serial which leads me to believe LC can still do this even with the change from software emulation of a serial port to the hardware emulation of a serial port. So I looked again at Sarah's serialTest stack. >>>>> >>>>> I had to manually add the /dev/tty.usbmodem1a21 and /dev/cu.usbmodem1a21 to the popup menu. Then find replace driver with file in five places in the stack. Now most of the other solutions use the tty but two use the cu so I tested both. Major hang and LC not responding in Force Quit Window. >>>>> >>>>> Command period no good. >>>>> Esc no good. >>>>> Force quit. quits but no good and driver may still be open. >>>>> >>>>> Unplug Arduino Uno and plug it back in. HUH Serial Input Shows Up In Field !!!!!! Beach ball of almost death goes away. Also port is now closed I think. Also Arduino Tx led not lighting anymore - should be though. Wait replug Arduino rest button on Arduino and serial Tx led is working again. But no longer connected to LC. Try again. Open cu port and beach ball of almost death shows up - LC not responding in Force Quit Window - Unplug Arduino and field fills up with serial data. THe data is a bunch of 1 and 0 based on blinking led. >>>>> >>>>> SO this seems to say it is connecting but not communicating well. Not knowing enough about serial commands I am not sure what is causing the hang and not responding??? They are both set to 9600. I read somewhere that the trailing bit is or should be ignored. >>>>> >>>>> Is there another way to connect via message box with out clutter from other settings ? Any ideas on what the culprit is here? >>>>> >>>>> Thanks for staying with me on this one. >>>>> >>>>> >>>>> -- Tom McGrath III >>>>> http://lazyriver.on-rev.com >>>>> 3mcgrath at comcast.net >>>>> >>>>> On Jan 15, 2011, at 10:37 PM, Mark Wieder wrote: >>>>> >>>>>> Jacque- >>>>>> >>>>>> Saturday, January 15, 2011, 7:31:30 PM, you wrote: >>>>>> >>>>>>> There's no USB support per se, so if the device doesn't present itself >>>>>>> as a serial port device it won't work. >>>>>> >>>>>>> The path you use when you open a serial port as a file is the same one >>>>>>> you'd use in shell -- use the "/dev/tty.usbmodem1a21" path you >>>>>>> mentioned. Also, see if you can talk to it in shell just as a test. >>>>>> >>>>>> That should work then, since the Arduino driver has always presented >>>>>> itself as a serial port. >>>>>> >>>>>> -- >>>>>> -Mark Wieder >>>>>> mwieder at ahsoftware.net > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Fri Jan 21 18:43:47 2011 From: irog at mac.com (Roger Guay) Date: Fri, 21 Jan 2011 16:43:47 -0700 Subject: Rev Online Upload Problems Message-ID: <5F0A783A-6EBC-4116-AB20-55FF4BF94064@mac.com> I know that there has been some discussion about the unreliability of uploading to Rev Online, but does anyone know if there is size limit? Thanks and cheers, Roger Guay From jmyepes at mac.com Fri Jan 21 19:22:20 2011 From: jmyepes at mac.com (JosepM) Date: Fri, 21 Jan 2011 16:22:20 -0800 (PST) Subject: Move many buttons all at same time In-Reply-To: References: <1295607871260-3229365.post@n4.nabble.com> Message-ID: <1295655740085-3230884.post@n4.nabble.com> Hi, Yes, now they are moving at same time but from the step 1 to step 4 directly... I have a group of steps that each button must go. But only I get move from step 1 to step 4. I read 4 times the 6 buttons locations, but I don't see why not work :( set itemdel to tab repeat with x=0 to 4 aeLockMoves repeat with j=1 to 6 set itemdel to tab put item 2 of line j+(6*x) of fld "f_punts" into tObjecte put value(item 1 of line j of fld "f_punts") into tPosicio set itemdel to comma put item 1 of tPosicio into pLocationX put item 2 of tPosicio into pLocationY ? ? ? ? aeMoveTo the long id of btn tObjecte of stack "s_tactiques_futbol" , pLocationX,pLocationY, 4500,any item of "in,out,inout,bounce,overshoot" end repeat aeUnlockMoves end repeat -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Move-many-buttons-all-at-same-time-tp3229365p3230884.html Sent from the Revolution - User mailing list archive at Nabble.com. From claudi.c at fiberworld.nl Fri Jan 21 19:31:00 2011 From: claudi.c at fiberworld.nl (Claudi Cornaz) Date: Sat, 22 Jan 2011 01:31:00 +0100 Subject: usb driver problem In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> Message-ID: <16813720-D24C-4F3C-8844-4EF3C36D9C35@fiberworld.nl> I just realize it's not only the os version that's different. My macbook has a older version of livecode aswell. Some more sleuthing to do. First thing, sometime tomorrow or this weekend. Keep you posted. Best wishes, Claudi From claudi.c at fiberworld.nl Fri Jan 21 19:36:18 2011 From: claudi.c at fiberworld.nl (Claudi Cornaz) Date: Sat, 22 Jan 2011 01:36:18 +0100 Subject: usb driver problem In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> Message-ID: <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> Tom, Which version combination are you using? Best wishes, Claudi From pete at mollysrevenge.com Fri Jan 21 19:57:34 2011 From: pete at mollysrevenge.com (Pete (Molly's Revenge)) Date: Fri, 21 Jan 2011 16:57:34 -0800 Subject: Changiing the height of a stack In-Reply-To: <4D3A0BD3.4020701@hyperactivesw.com> References: <0EAE2589-7C0C-46C2-8071-E37C238C2A66@mollysrevenge.com> <4D3A0BD3.4020701@hyperactivesw.com> Message-ID: So why is the checkbox even there? And, with respect, there is something to lock - the top left of the card when you change its height via script, that's all I want to use it for. Pete On Fri, Jan 21, 2011 at 2:42 PM, J. Landman Gay wrote: > On 1/21/11 4:22 PM, Peter Haworth wrote: > >> Thanks Scott and Klaus, that works for me. Anyone know why the card >> property inspector lockloc check box for the card is greyed out? >> > > Because it doesn't apply. Lockloc only applies to objects that change size > automatically when redrawn (like images) or which can be moved by the mouse. > In those cases you lock them so that they either won't resize, or so you > won't accidentally move them around. You can't drag cards around inside the > stack window, and their dimensions never change unless you specifically do > it, so there is nothing to lock. > > Stacks don't have a lockloc property either. You can always drag them by > their titlebar if it's showing, and their dimensions are fixed and never > change automatically. Instead, we have the resizeable property to prevent > user resizing, and we can hide the titlebar to prevent dragging. > > -- > 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 > > -- Pete Molly's Revenge From mcgrath3 at mac.com Fri Jan 21 19:57:40 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 21 Jan 2011 19:57:40 -0500 Subject: usb driver problem In-Reply-To: <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> Message-ID: <2BCC779A-0F97-494C-B47D-4DD8453833AE@mac.com> LIvecode 4.5.2 and 4.5.3(rc4) Arduino Uno 0022 Sarah's SerialTest stack modified with the MakeBoard code for finding the port name since the SerialTest stack does not find the port. Arduino Code which works from Serial Monitor within Arduino IDE but not from LiveCode: /*Simple Serial Language: Arduino/Wiring Listens for an incoming serial byte, adds one to the byte and sends the result back out serially. Also blinks an LED on pin 13 every half second. */ int LEDPin = 13; // you can use any digital I/O pin you want int inByte = 0; // variable to hold incoming serial data long blinkTimer = 0; // keeps track of how long since the LED // was last turned off int blinkInterval = 1000; // a full second from on to off to on again void setup() { pinMode(LEDPin, OUTPUT); // set pin 13 to be an output Serial.begin(9600); // configure the serial port for 9600 bps // data rate. } void loop() { // if there are any incoming serial bytes available to read: if (Serial.available() > 0) { // then read the first available byte: inByte = Serial.read(); // and add one to it, then send the result out: Serial.print(inByte+1, BYTE); } // Meanwhile, keep blinking the LED. // after a quarter of a second, turn the LED on: if (millis() - blinkTimer >= blinkInterval / 2) { digitalWrite(LEDPin, HIGH); // turn the LED on pin 13 on } // after a half a second, turn the LED off and reset the timer: if (millis() - blinkTimer >= blinkInterval) { digitalWrite(LEDPin, LOW); // turn the LED off blinkTimer = millis(); // reset the timer } } -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 21, 2011, at 7:36 PM, Claudi Cornaz wrote: > > Tom, > > Which version combination are you using? > > Best wishes, > Claudi > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Fri Jan 21 19:58:18 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 21 Jan 2011 19:58:18 -0500 Subject: usb driver problem In-Reply-To: <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> Message-ID: <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> Do you have a more simple stack for LC? I just want to see if it connects... Thanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 21, 2011, at 7:36 PM, Claudi Cornaz wrote: > > Tom, > > Which version combination are you using? > > Best wishes, > Claudi > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Fri Jan 21 20:24:18 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 21 Jan 2011 17:24:18 -0800 Subject: Changiing the height of a stack In-Reply-To: References: <0EAE2589-7C0C-46C2-8071-E37C238C2A66@mollysrevenge.com> <4D3A0BD3.4020701@hyperactivesw.com> Message-ID: <955ABDF0-504A-4CE2-8D02-5E1D027EAF3F@tactilemedia.com> Hi Pete: If I understand what you're saying, you can't have a card that's a different size than the stack it resides in. Whenever you size a stack, you size the cards within it. The card's topLeft is always 0,0. You can't lock the position of a card or stack (aside from Jacque's suggestion to remove the stack's title bar), which is why the checkbox is greyed out. The checkbox is present because you CAN lock the position of an object on a card -- as soon as you select an object, the checkbox becomes enabled. The rect property mentioned earlier in this thread is the way to resize things quickly and in whatever direction you want. Hope this helps. Regards, Scott Rossi Creative Director Tactile Media, UX Design On Jan 21, 2011, at 4:57 PM, "Pete (Molly's Revenge)" wrote: > So why is the checkbox even there? And, with respect, there is something to > lock - the top left of the card when you change its height via script, > that's all I want to use it for. > Pete > > On Fri, Jan 21, 2011 at 2:42 PM, J. Landman Gay wrote: > >> On 1/21/11 4:22 PM, Peter Haworth wrote: >> >>> Thanks Scott and Klaus, that works for me. Anyone know why the card >>> property inspector lockloc check box for the card is greyed out? >>> >> >> Because it doesn't apply. Lockloc only applies to objects that change size >> automatically when redrawn (like images) or which can be moved by the mouse. >> In those cases you lock them so that they either won't resize, or so you >> won't accidentally move them around. You can't drag cards around inside the >> stack window, and their dimensions never change unless you specifically do >> it, so there is nothing to lock. >> >> Stacks don't have a lockloc property either. You can always drag them by >> their titlebar if it's showing, and their dimensions are fixed and never >> change automatically. Instead, we have the resizeable property to prevent >> user resizing, and we can hide the titlebar to prevent dragging. >> >> -- >> 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 >> >> > > > -- > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alex at tweedly.net Fri Jan 21 20:28:32 2011 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 22 Jan 2011 01:28:32 +0000 Subject: pinging or else network devices from livecode In-Reply-To: References: Message-ID: <4D3A32C0.90104@tweedly.net> You can't do ping directly from LC - LC only supports UDP and TCP sockets, not ICMP or raw. You could do it via shell - but too many devices may not respond to ping. Do you want to find all active IP addresses on your own subnet, or on any arbitrary subnet ? If it's on your own, then here's what I'd do - try opening a UDP socket to each IP address - use shell / arp to see what's there. every device should respond to an arp request, so this is much more likely to find all active devices. If you prefer code (I took a shortcut and cheated on the subnet range, but you can fix that easily :-) > on mouseUp > put empty into field "F" > repeat with i = 1 to 255 > put "192.168.1." & i & ":8080" into tSocket > open datagram socket to tSocket > end repeat > put shell("arp -n -a") into temp > filter temp without "*(incomplete)*" > put temp into field "F" > end mouseUp If you want to do it for arbitrary subnets that you may not be on, then I can't offhand think of anything better than shell/ping. -- Alex. On 21/01/2011 20:52, Robert Brenstein wrote: > A weekend challenge for those who are bored, but not only... > > I wonder whether it is possible to have a livecode stack that scans > all IP addresses within a specific subnet to check whether devices are > there. I am currently using Remote Desktop to do those scans manually > but this is becoming boring and I'd like to run them more regularly, > that is to automate the process. > > For each scan, I need to get the list of active IP adresses in a > specific subnet and the corresponding MAC addresses and hostnames > (hostnames is easy with the hostaddresstoname function in livecode). I > gather I could try opening a socket to some specific port. However, > this needs to work with Macs (OS9 and OSX), Windows, Linux, NAS, > printers, and cross switches to other subnets. Good old ping might > suffice but how to do it in livecode? > > The solution can be OSX-specific since it will run either under OSX > Tiger or Leopeard (no Snow). Something like an automated IP Scan or > Angry IP Scanner made in LiveCode. Using NMap through a shell call > would be acceptable. > > Robert > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Fri Jan 21 20:31:45 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 21 Jan 2011 19:31:45 -0600 Subject: Changiing the height of a stack In-Reply-To: References: <0EAE2589-7C0C-46C2-8071-E37C238C2A66@mollysrevenge.com> <4D3A0BD3.4020701@hyperactivesw.com> Message-ID: <4D3A3381.1040409@hyperactivesw.com> On 1/21/11 6:57 PM, Pete (Molly's Revenge) wrote: > So why is the checkbox even there? Don't know. It was probably easier to leave it in place and disable it than to remove it and move everything else up. It probably shouldn't be there, I agree it gives the impression that it could be used for something. > And, with respect, there is something to > lock - the top left of the card when you change its height via script, > that's all I want to use it for. But lockloc doesn't restrict that for any object. For what you want, you need to manipulate the rect of the object, whether it's a stack, a button, or anything else. Size always changes from the center outward. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Jan 21 20:32:51 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 21 Jan 2011 19:32:51 -0600 Subject: Changiing the height of a stack In-Reply-To: References: <0EAE2589-7C0C-46C2-8071-E37C238C2A66@mollysrevenge.com> <4D3A0BD3.4020701@hyperactivesw.com> Message-ID: <4D3A33C3.8050102@hyperactivesw.com> On 1/21/11 5:01 PM, zryip theSlug wrote: > On Fri, Jan 21, 2011 at 11:42 PM, J. Landman Gay > wrote: > >> Stacks don't have a lockloc property either. You can always drag them by >> their titlebar if it's showing, and their dimensions are fixed and never >> change automatically. Instead, we have the resizeable property to prevent >> user resizing, and we can hide the titlebar to prevent dragging. > > We can hide the window to prevent bugs? Yes. :) And if you also don't use any objects or scripts, your stack will be perfectly stable. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Fri Jan 21 20:43:32 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 21 Jan 2011 17:43:32 -0800 Subject: File Suffix In-Reply-To: <4D39FB7A.000003.01220@CALS_BIG_PC> References: <4D39FB7A.000003.01220@CALS_BIG_PC> Message-ID: Well a horse and buggy used to be the accepted more of transportation, until those pesky engineers decided to ignore the long standing conventions and invent a car. Darn them all! Darn them to heck!!! Bob On Jan 21, 2011, at 1:32 PM, Cal Horner wrote: > O.K. Ken, given that there are companies in our business that have used more than a three char suffix. That still doesn't make it right. And I'll bet they didn't "change horses in midstream", so to speak. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 21 20:46:47 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 21 Jan 2011 17:46:47 -0800 Subject: pinging or else network devices from livecode In-Reply-To: References: Message-ID: Once you ping an address you can shell to get the arp table. Use arp -a. BTW have you looked at Spiceworks? They have an incredible scan engine that gets just about anything with a management protocol. AND it's FREE! Bob On Jan 21, 2011, at 12:52 PM, Robert Brenstein wrote: > A weekend challenge for those who are bored, but not only... > > I wonder whether it is possible to have a livecode stack that scans all IP addresses within a specific subnet to check whether devices are there. I am currently using Remote Desktop to do those scans manually but this is becoming boring and I'd like to run them more regularly, that is to automate the process. > > For each scan, I need to get the list of active IP adresses in a specific subnet and the corresponding MAC addresses and hostnames (hostnames is easy with the hostaddresstoname function in livecode). I gather I could try opening a socket to some specific port. However, this needs to work with Macs (OS9 and OSX), Windows, Linux, NAS, printers, and cross switches to other subnets. Good old ping might suffice but how to do it in livecode? > > The solution can be OSX-specific since it will run either under OSX Tiger or Leopeard (no Snow). Something like an automated IP Scan or Angry IP Scanner made in LiveCode. Using NMap through a shell call would be acceptable. > > Robert > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Fri Jan 21 22:20:29 2011 From: pete at mollysrevenge.com (Pete (Molly's Revenge)) Date: Fri, 21 Jan 2011 19:20:29 -0800 Subject: Changiing the height of a stack In-Reply-To: <4D3A3381.1040409@hyperactivesw.com> References: <0EAE2589-7C0C-46C2-8071-E37C238C2A66@mollysrevenge.com> <4D3A0BD3.4020701@hyperactivesw.com> <4D3A3381.1040409@hyperactivesw.com> Message-ID: Well, I guess I was misled by the dictionary then because it says: If a control's *lockLocation* property is false, when you change its height, it shrinks or grows from the center: the control's top and bottom edges both shift, while its location property stays the same. If the control's *lockLocation* property is true, it shrinks or grows from the top left corner: the control's top edge stays in the same place, and the bottom edge moves. That's exactly what I want to happen with the card. But changing the rectangle works as well so at least I can do what need to do. On Fri, Jan 21, 2011 at 5:31 PM, J. Landman Gay wrote: > On 1/21/11 6:57 PM, Pete (Molly's Revenge) wrote: > >> So why is the checkbox even there? >> > > Don't know. It was probably easier to leave it in place and disable it than > to remove it and move everything else up. It probably shouldn't be there, I > agree it gives the impression that it could be used for something. > > > And, with respect, there is something to >> lock - the top left of the card when you change its height via script, >> that's all I want to use it for. >> > > But lockloc doesn't restrict that for any object. For what you want, you > need to manipulate the rect of the object, whether it's a stack, a button, > or anything else. Size always changes from the center outward. > > > -- > 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 > > -- Pete Molly's Revenge From davidocoker at gmail.com Sat Jan 22 02:05:31 2011 From: davidocoker at gmail.com (David C.) Date: Sat, 22 Jan 2011 01:05:31 -0600 Subject: revBrowser Question Message-ID: Hello folks, Is it possible to load html textual content directly from a text field or variable into the revBrowser, instead of by URL or a local file on disk? I know that it's bound to be much simpler than what I've been trying so far... ...crashing LiveCode repeatedly in my testing is getting a bit old, so I thought I'd go ahead and ask. :( Best regards, David C. From ludovic.thebault at laposte.net Sat Jan 22 02:24:27 2011 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Sat, 22 Jan 2011 08:24:27 +0100 Subject: Livecode IOS personnal + LiveCode Desktop commercial = 2 app ? In-Reply-To: <4D39FD79.2040005@hyperactivesw.com> References: <7B931F6F-9BF2-455C-B318-C265F62DED76@laposte.net> <4D39FD79.2040005@hyperactivesw.com> Message-ID: <2ECCD9A8-6AFF-4C93-8101-5247D72F6203@laposte.net> Le 21 janv. 2011 ? 22:41, J. Landman Gay a ?crit : > > On 1/21/11 5:43 AM, Ludovic Th?bault wrote: >> >> I've a commercial licence of Livecode Desktop. I want to make an ios >> app, for me only (in first time). So if i bought the Livecode iOs >> personnal, i need to switch with the different app (one for develop >> for iOs, one for desktop app) ? > > No, you can use the same app. You might have to re-license it the first time though. > Thanks. ! From bvlahos at mac.com Sat Jan 22 02:29:29 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Fri, 21 Jan 2011 23:29:29 -0800 Subject: Windows code signing In-Reply-To: References: <4D2FA108.6060709@hyperactivesw.com> Message-ID: Just to let people know... I have uploaded a new version (1.3.x) of InfoWallet based on the LiveCode 4.5.3 engine. The Windows executables in this new build are code signed if anyone wants to take a look. This includes the InfoWallet application, shortcut, and installer. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Jan 13, 2011, at 8:09 PM, Bill Vlahos wrote: > Jaqui, > > I think most users won't care and I've certainly run such software myself. The version of InfoWallet that is downloadable from the web site is still not signed (I plan on making the signed version available in the near future) and I haven't had anyone complain except when Norton flagged it as suspect. Signing it solved that problem immediately. > > I have successfully code signed InfoWallet with a TUCOWS/Comodo certificate which only costs $75 (what a deal). The process is very difficult, tedious, and time consuming to set up for any of the sources. Once set up as a batch file it is now trivially simple for me to sign apps - just drag and drop. > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. > > On Jan 13, 2011, at 5:04 PM, J. Landman Gay wrote: > >> I'm in the position of wanting to release a no-cost or low-cost app for Windows, but without a code-signing certificate Windows puts up the scary "untrusted publisher" notification every time the app launches. Certificates cost a couple hundred dollars and I don't want to do that. >> >> So the question is, how do other shareware or freeware authors deal with it? Are users so used to it by now they'll just click OK and proceed? What do you guys do? >> >> -- >> 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 sarah.reichelt at gmail.com Sat Jan 22 02:46:02 2011 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 22 Jan 2011 17:46:02 +1000 Subject: Changiing the height of a stack In-Reply-To: References: Message-ID: On Sat, Jan 22, 2011 at 8:07 AM, Peter Haworth wrote: > I want to change the height of a stack. ?No problem changing the height property but that causes both the top and the bottom of the stack to change positions and I want the top of the stack to stay where it is and all the height change to be added to the bottom. ?The dictionary says the locklocation property does that but then I find that isn't available for a stack. ? I see a locklocation check box in the property inspector for the card, but it's greyed out. > I use revChangeWindowSize for this. Cheers, Sarah From massung at gmail.com Sat Jan 22 02:54:17 2011 From: massung at gmail.com (Jeffrey Massung) Date: Sat, 22 Jan 2011 00:54:17 -0700 Subject: revBrowser Question In-Reply-To: References: Message-ID: Yes. I don't remember the exact syntax, but it's something like this: put "

Hello, world!" into tBody revBrowserSet(tBrowserId, "htmlText", tBody) Jeff M. On Jan 22, 2011, at 12:05 AM, David C. wrote: > Hello folks, > Is it possible to load html textual content directly from a text field > or variable into the revBrowser, instead of by URL or a local file on > disk? > > I know that it's bound to be much simpler than what I've been trying so far... > ...crashing LiveCode repeatedly in my testing is getting a bit old, so > I thought I'd go ahead and ask. :( > > 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 revolution at derbrill.de Sat Jan 22 04:36:53 2011 From: revolution at derbrill.de (Malte Brill) Date: Sat, 22 Jan 2011 10:36:53 +0100 Subject: Move many buttons all at same time In-Reply-To: References: Message-ID: <88A20AE0-C525-473E-AD55-C7AA481FAE97@derbrill.de> Hi Josep, a few questions if I may: why the outer repeat loop? What is in fld " "f_punts" ? How exactly do you want your objects to move? aeMoveTo moves objects from their current position to the endposition you specify. All the best, Malte From klaus at major.on-rev.com Sat Jan 22 06:22:03 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sat, 22 Jan 2011 12:22:03 +0100 Subject: Livecode IOS personnal + LiveCode Desktop commercial = 2 app ? In-Reply-To: <2ECCD9A8-6AFF-4C93-8101-5247D72F6203@laposte.net> References: <7B931F6F-9BF2-455C-B318-C265F62DED76@laposte.net> <4D39FD79.2040005@hyperactivesw.com> <2ECCD9A8-6AFF-4C93-8101-5247D72F6203@laposte.net> Message-ID: <8CFE7A8E-710E-487F-9C25-E767EFD24585@major.on-rev.com> Bonjour Ludovic. > Le 21 janv. 2011 ? 22:41, J. Landman Gay a ?crit : > >> On 1/21/11 5:43 AM, Ludovic Th?bault wrote: >>> >>> I've a commercial licence of Livecode Desktop. I want to make an ios >>> app, for me only (in first time). So if i bought the Livecode iOs >>> personnal, i need to switch with the different app (one for develop >>> for iOs, one for desktop app) ? >> No, you can use the same app. You might have to re-license it the first time though. >> > Thanks. ! but there is a big CAVEAT! I also have an enterprise desktop and a personal iOS license and got hit by this when building a standalone! Obviously you cannot license your LiveCode deskton app for BOTH of these editions! When you license as Desktop then you can build standalones for the desktop as ususal. BUT when building for iOS that standalone will be treated a an UNLICENSED TRIAL version with all restrictions (nag screen and time limited!) When you license as Personal iOS version, then you can build standalones for iOS. BUT when building for desktopn these standalones are treated as if build with the UNLICENSED TRIAL version of LC with all restrictions (nag screen etc.). So you need to relicense LC everytime you want to build for the desktop or iOS, which is absolutely ridiculous to say the least! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From m.schonewille at economy-x-talk.com Sat Jan 22 06:59:46 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 22 Jan 2011 12:59:46 +0100 Subject: RevLets and local disk access Message-ID: Hi, Most of the time when I test a revlet by one of my fellow programmers here on the list, I notice that the revlet asks permission for local disk access. I wonder why. Any sane person would not continue loading the revlet, because you don't want to grant a stranger access to the files on your hard disk. Please, people, if you are not absolutely sure that your revlet needs it, do yourself a favour and turn off the Disk option in the security settings on the Web panel of the Standalone Applications Settings window. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce From sundown at pacifier.com Sat Jan 22 08:51:32 2011 From: sundown at pacifier.com (-=>JB<=-) Date: Sat, 22 Jan 2011 05:51:32 -0800 Subject: usb driver problem In-Reply-To: <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> Message-ID: What are the parameters they list you need for the serial port if you want the hardware to connect using a mac? The stack I sent you can set every parameter I saw in Rev when I wrote it so I can easily alter the code to set the serialcontrolstring using the parameters they provide you instead of giving you all of the options it has now. -= Do you have a more simple stack for LC? I just want to see if it connects... > > Thanks > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Jan 21, 2011, at 7:36 PM, Claudi Cornaz wrote: > >> >> Tom, >> >> Which version combination are you using? >> >> Best wishes, >> Claudi >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From harald at etcpp.de Sat Jan 22 08:57:23 2011 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Sat, 22 Jan 2011 14:57:23 +0100 Subject: OT: Test for supporting Website (iOS App) Message-ID: <6357A811-3E6B-4A83-A4F0-E64FB44198A5@etcpp.de> Hi all, the next update of one of my apps will make use of a website to upload pictures are linked to his facebook-stream afterwords. In PHP I want to use a Server-Variable to detect the Browser language. Could one of go to the following link an check whether the text is shown in english? http://www.reshuffle.de/?fb1387220606time77733402912 Thanks in advance! Best regards, Harald M?ller. | Harald M?ller (app.etcpp.de) | Theodor-K?rner-Stra?e 4, 97072 W?rzburg | Telefon + 49-[0]931-329090-42 From ludovic.thebault at laposte.net Sat Jan 22 09:01:46 2011 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Sat, 22 Jan 2011 15:01:46 +0100 Subject: OT: Test for supporting Website (iOS App) In-Reply-To: <6357A811-3E6B-4A83-A4F0-E64FB44198A5@etcpp.de> References: <6357A811-3E6B-4A83-A4F0-E64FB44198A5@etcpp.de> Message-ID: <764225A9-E978-4C55-994D-9407209078DD@laposte.net> Le 22 janv. 2011 ? 14:57, Harald M?ller a ?crit : > In PHP I want to use a Server-Variable to detect the Browser > language. Could one of go to the following link an check whether > the text is shown in english? > > http://www.reshuffle.de/?fb1387220606time77733402912 > It's in german for me (from France, with Safari) From noelf at nomigraphics.com Sat Jan 22 09:10:43 2011 From: noelf at nomigraphics.com (Noel Fields) Date: Sat, 22 Jan 2011 07:10:43 -0700 Subject: OT: Test for supporting Website (iOS App) In-Reply-To: <764225A9-E978-4C55-994D-9407209078DD@laposte.net> References: <6357A811-3E6B-4A83-A4F0-E64FB44198A5@etcpp.de> <764225A9-E978-4C55-994D-9407209078DD@laposte.net> Message-ID: <4D3AE563.3080702@nomigraphics.com> It is showing German for myself also. - Noel On 1/22/2011 7:01 AM, Ludovic Th?bault wrote: > Le 22 janv. 2011 ? 14:57, Harald M?ller a ?crit : > >> In PHP I want to use a Server-Variable to detect the Browser >> language. Could one of go to the following link an check whether >> the text is shown in english? >> >> http://www.reshuffle.de/?fb1387220606time77733402912 >> > It's in german for me (from France, with Safari) > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From harald at etcpp.de Sat Jan 22 09:11:26 2011 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Sat, 22 Jan 2011 15:11:26 +0100 Subject: OT: Test for supporting Website (iOS App) In-Reply-To: <764225A9-E978-4C55-994D-9407209078DD@laposte.net> References: <6357A811-3E6B-4A83-A4F0-E64FB44198A5@etcpp.de> <764225A9-E978-4C55-994D-9407209078DD@laposte.net> Message-ID: Thanks! (then I made something wrong) Am 22.01.2011 um 15:01 schrieb Ludovic Th?bault: > > Le 22 janv. 2011 ? 14:57, Harald M?ller a ?crit : > >> In PHP I want to use a Server-Variable to detect the Browser >> language. Could one of go to the following link an check whether >> the text is shown in english? >> >> http://www.reshuffle.de/?fb1387220606time77733402912 >> > > It's in german for me (from France, with Safari) > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From harald at etcpp.de Sat Jan 22 09:12:57 2011 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Sat, 22 Jan 2011 15:12:57 +0100 Subject: OT: Test for supporting Website (iOS App) In-Reply-To: <4D3AE563.3080702@nomigraphics.com> References: <6357A811-3E6B-4A83-A4F0-E64FB44198A5@etcpp.de> <764225A9-E978-4C55-994D-9407209078DD@laposte.net> <4D3AE563.3080702@nomigraphics.com> Message-ID: Thanks! Am 22.01.2011 um 15:10 schrieb Noel Fields: > It is showing German for myself also. > > - Noel > > On 1/22/2011 7:01 AM, Ludovic Th?bault wrote: >> Le 22 janv. 2011 ? 14:57, Harald M?ller a ?crit : >> >>> In PHP I want to use a Server-Variable to detect the Browser >>> language. Could one of go to the following link an check whether >>> the text is shown in english? >>> >>> http://www.reshuffle.de/?fb1387220606time77733402912 >>> >> It's in german for me (from France, with Safari) >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From harald at etcpp.de Sat Jan 22 09:21:28 2011 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Sat, 22 Jan 2011 15:21:28 +0100 Subject: OT: Test for supporting Website (iOS App) In-Reply-To: <764225A9-E978-4C55-994D-9407209078DD@laposte.net> References: <6357A811-3E6B-4A83-A4F0-E64FB44198A5@etcpp.de> <764225A9-E978-4C55-994D-9407209078DD@laposte.net> Message-ID: <704B6EBC-990B-4359-868E-6491EE9C2681@etcpp.de> Could you please take another look whether it is now shown in english? Am 22.01.2011 um 15:01 schrieb Ludovic Th?bault: > > Le 22 janv. 2011 ? 14:57, Harald M?ller a ?crit : > >> In PHP I want to use a Server-Variable to detect the Browser >> language. Could one of go to the following link an check whether >> the text is shown in english? >> >> http://www.reshuffle.de/?fb1387220606time77733402912 >> > > It's in german for me (from France, with Safari) > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ludovic.thebault at laposte.net Sat Jan 22 09:26:00 2011 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Sat, 22 Jan 2011 15:26:00 +0100 Subject: OT: Test for supporting Website (iOS App) In-Reply-To: <704B6EBC-990B-4359-868E-6491EE9C2681@etcpp.de> References: <6357A811-3E6B-4A83-A4F0-E64FB44198A5@etcpp.de> <764225A9-E978-4C55-994D-9407209078DD@laposte.net> <704B6EBC-990B-4359-868E-6491EE9C2681@etcpp.de> Message-ID: <14E85EC6-1744-450E-8461-46A53262DF77@laposte.net> Le 22 janv. 2011 ? 15:21, Harald M?ller a ?crit : > > Could you please take another look whether it > is now shown in english? not again From harald at etcpp.de Sat Jan 22 09:28:44 2011 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Sat, 22 Jan 2011 15:28:44 +0100 Subject: OT: Test for supporting Website (iOS App) In-Reply-To: <14E85EC6-1744-450E-8461-46A53262DF77@laposte.net> References: <6357A811-3E6B-4A83-A4F0-E64FB44198A5@etcpp.de> <764225A9-E978-4C55-994D-9407209078DD@laposte.net> <704B6EBC-990B-4359-868E-6491EE9C2681@etcpp.de> <14E85EC6-1744-450E-8461-46A53262DF77@laposte.net> Message-ID: <91520D96-3878-41D2-991B-78E4692372E0@etcpp.de> Thanks! Am 22.01.2011 um 15:26 schrieb Ludovic Th?bault: > > Le 22 janv. 2011 ? 15:21, Harald M?ller a ?crit : > >> >> Could you please take another look whether it >> is now shown in english? > > not again > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rjb at robelko.com Sat Jan 22 09:15:20 2011 From: rjb at robelko.com (Robert Brenstein) Date: Sat, 22 Jan 2011 15:15:20 +0100 Subject: Changiing the height of a stack In-Reply-To: References: <0EAE2589-7C0C-46C2-8071-E37C238C2A66@mollysrevenge.com> <4D3A0BD3.4020701@hyperactivesw.com> <4D3A3381.1040409@hyperactivesw.com> Message-ID: On 21.01.11 at 19:20 -0800 Pete (Molly's Revenge) apparently wrote: >Well, I guess I was misled by the dictionary then because it says: > > If a control's *lockLocation* property is false, when you change its >height, it shrinks or grows from the center: the control's top and bottom >edges both shift, while its location property stays the same. If the >control's *lockLocation* property is true, it shrinks or grows from the top >left corner: the control's top edge stays in the same place, and the bottom >edge moves. > >That's exactly what I want to happen with the card. > But card is NOT a control. The above talks about controls. Robert From davidocoker at gmail.com Sat Jan 22 10:20:40 2011 From: davidocoker at gmail.com (David C.) Date: Sat, 22 Jan 2011 09:20:40 -0600 Subject: revBrowser Question In-Reply-To: References: Message-ID: On Sat, Jan 22, 2011 at 1:54 AM, Jeffrey Massung wrote: > Yes. > > I don't remember the exact syntax, but it's something like this: > > put "

Hello, world!" into tBody > revBrowserSet(tBrowserId, "htmlText", tBody) > > Jeff M. > Thanks Jeff! That was enough to get me headed in the right direction. Best regards, David C. From mcgrath3 at mac.com Sat Jan 22 11:04:16 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 22 Jan 2011 11:04:16 -0500 Subject: usb driver problem In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> Message-ID: <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> JB, That's just it - in the Arduino IDE you have Serial Monitor and it actually has an option for "No line ending", "Newline", "Carriage return", "Both NL & CR" and then most of the time it looks like 9600 baud is used.You can select from 300 to 115200 baud. You can also check a box for autoscroll. But that's it. There is no place for any other options and yet it works fine. The Serial Monitor uses the "/dev/tty.usbmodem1a21" instead of the "/dev/cu.usbmodem1a21" that LC likes to use. Also there are no options for Hardware Handshaking or any other options like we would set in the serialControlString in LC. In my research I have seen people mentioning the 8 - 1 - none but all of the serial code that I've seen doesn't even set anything more than Serial.begin and Serial.println -- not even end. (-- Serial.begin(9600) and Serial.println(val) - -) I hooked up a button and connected it to Serial.end() to try to stop sending data but almost every piece of code I have seen does not use the Serial.end() at all. I think there is a problem in both the code I am using to read the incoming serial data (looping and line endings) and maybe there is an issue with the buffering of the serial data coming from the Arduino Uno. So, I can't find a good list of the parameters that I should use for the serial port and for entering in the serialcontrolstring. Still looking though. Thanks, -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 22, 2011, at 8:51 AM, -=>JB wrote: > What are the parameters they list you need for the serial port > if you want the hardware to connect using a mac? The stack > I sent you can set every parameter I saw in Rev when I wrote > it so I can easily alter the code to set the serialcontrolstring > using the parameters they provide you instead of giving you > all of the options it has now. > > -= > > On Jan 21, 2011, at 4:58 PM, Thomas McGrath III wrote: > >> Do you have a more simple stack for LC? I just want to see if it connects... >> >> Thanks >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> 3mcgrath at comcast.net >> >> On Jan 21, 2011, at 7:36 PM, Claudi Cornaz wrote: >> >>> >>> Tom, >>> >>> Which version combination are you using? >>> >>> Best wishes, >>> Claudi >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Sat Jan 22 11:05:59 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 22 Jan 2011 11:05:59 -0500 Subject: OT: Test for supporting Website (iOS App) In-Reply-To: <91520D96-3878-41D2-991B-78E4692372E0@etcpp.de> References: <6357A811-3E6B-4A83-A4F0-E64FB44198A5@etcpp.de> <764225A9-E978-4C55-994D-9407209078DD@laposte.net> <704B6EBC-990B-4359-868E-6491EE9C2681@etcpp.de> <14E85EC6-1744-450E-8461-46A53262DF77@laposte.net> <91520D96-3878-41D2-991B-78E4692372E0@etcpp.de> Message-ID: Still German.... -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 22, 2011, at 9:28 AM, Harald M?ller wrote: > Thanks! > > > > Am 22.01.2011 um 15:26 schrieb Ludovic Th?bault: > >> >> Le 22 janv. 2011 ? 15:21, Harald M?ller a ?crit : >> >>> >>> Could you please take another look whether it >>> is now shown in english? >> >> not again >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Jan 22 11:22:13 2011 From: dan at clearvisiontech.com (Dan Friedman) Date: Sat, 22 Jan 2011 08:22:13 -0800 Subject: iOS Splash Image In-Reply-To: References: Message-ID: <9905E02F-5DA7-4789-B04A-DDC4C7BEFABE@clearvisiontech.com> I have a iPad application and I created the splash image ("myApp-Portrait.png") as directed by the iOS Release Notes and selected it in the application settings window. It works fine. However, if I launch the app in landscape, it wasn't correct. So, I created a second image, "myApp-Landscape.png", and placed it in the same location as the portrait version (there is no place to select it in the application settings window and the release notes do not indicate where to put it - but placing it in the same directory seemed logical). When I run the app with the iPad in landscape, the correct image does appear. However, after a moment the portrait splash appeared. Then the app ran normally. Note that if I launch the app with the iPad in portrait mode, all is still correct. Am I doing something wrong? Or is there a problem with having multiple versions of the splash image? -Dan From psahores at free.fr Sat Jan 22 12:01:16 2011 From: psahores at free.fr (Pierre Sahores) Date: Sat, 22 Jan 2011 18:01:16 +0100 Subject: OT: Test for supporting Website (iOS App) In-Reply-To: <704B6EBC-990B-4359-868E-6491EE9C2681@etcpp.de> References: <6357A811-3E6B-4A83-A4F0-E64FB44198A5@etcpp.de> <764225A9-E978-4C55-994D-9407209078DD@laposte.net> <704B6EBC-990B-4359-868E-6491EE9C2681@etcpp.de> Message-ID: <59A98AFC-BC24-4016-8682-97C60EF67170@free.fr> Well shown in english there. Le 22 janv. 2011 ? 15:21, Harald M?ller a ?crit : > Could you please take another look whether it > is now shown in english? > > > > Am 22.01.2011 um 15:01 schrieb Ludovic Th?bault: > >> >> Le 22 janv. 2011 ? 14:57, Harald M?ller a ?crit : >> >>> In PHP I want to use a Server-Variable to detect the Browser >>> language. Could one of go to the following link an check whether >>> the text is shown in english? >>> >>> http://www.reshuffle.de/?fb1387220606time77733402912 >>> >> >> It's in german for me (from France, with Safari) >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From coiin at verizon.net Sat Jan 22 12:11:59 2011 From: coiin at verizon.net (Colin Holgate) Date: Sat, 22 Jan 2011 12:11:59 -0500 Subject: iOS Splash Image In-Reply-To: <9905E02F-5DA7-4789-B04A-DDC4C7BEFABE@clearvisiontech.com> References: <9905E02F-5DA7-4789-B04A-DDC4C7BEFABE@clearvisiontech.com> Message-ID: <6E0E7277-012D-449C-B474-B3A03EA6044B@verizon.net> I haven't looked into how LC handles the splash screen, but the way that the iPad handles it is to use the image Default-Landscape.png if it is there, and if not it will use Default-Portrait.png, and if that's not there it will use Default.png. There are other landscape images that you can include, to allow for specifically rotate left or right. Same with portrait, you can have an upside down portrait image, in case the user is holdeing the device with the home button at the top. From ludovic.thebault at laposte.net Sat Jan 22 12:14:51 2011 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Sat, 22 Jan 2011 18:14:51 +0100 Subject: OT: Test for supporting Website (iOS App) In-Reply-To: <59A98AFC-BC24-4016-8682-97C60EF67170@free.fr> References: <6357A811-3E6B-4A83-A4F0-E64FB44198A5@etcpp.de> <764225A9-E978-4C55-994D-9407209078DD@laposte.net> <704B6EBC-990B-4359-868E-6491EE9C2681@etcpp.de> <59A98AFC-BC24-4016-8682-97C60EF67170@free.fr> Message-ID: Le 22 janv. 2011 ? 18:01, Pierre Sahores a ?crit : > > Well shown in english there. For me also ! From mcgrath3 at mac.com Sat Jan 22 12:43:43 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 22 Jan 2011 12:43:43 -0500 Subject: OT: Test for supporting Website (iOS App) In-Reply-To: <59A98AFC-BC24-4016-8682-97C60EF67170@free.fr> References: <6357A811-3E6B-4A83-A4F0-E64FB44198A5@etcpp.de> <764225A9-E978-4C55-994D-9407209078DD@laposte.net> <704B6EBC-990B-4359-868E-6491EE9C2681@etcpp.de> <59A98AFC-BC24-4016-8682-97C60EF67170@free.fr> Message-ID: <0CE705FC-5C19-43ED-9482-AA82ACB25BD6@mac.com> English now... -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 22, 2011, at 12:01 PM, Pierre Sahores wrote: > Well shown in english there. > > Le 22 janv. 2011 ? 15:21, Harald M?ller a ?crit : > >> Could you please take another look whether it >> is now shown in english? >> >> >> >> Am 22.01.2011 um 15:01 schrieb Ludovic Th?bault: >> >>> >>> Le 22 janv. 2011 ? 14:57, Harald M?ller a ?crit : >>> >>>> In PHP I want to use a Server-Variable to detect the Browser >>>> language. Could one of go to the following link an check whether >>>> the text is shown in english? >>>> >>>> http://www.reshuffle.de/?fb1387220606time77733402912 >>>> >>> >>> It's in german for me (from France, with Safari) >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 : (33) 6 03 95 77 70 > > www.woooooooords.com > 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 mcgrath3 at mac.com Sat Jan 22 12:44:40 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 22 Jan 2011 12:44:40 -0500 Subject: OT: Test for supporting Website (iOS App) In-Reply-To: References: <6357A811-3E6B-4A83-A4F0-E64FB44198A5@etcpp.de> <764225A9-E978-4C55-994D-9407209078DD@laposte.net> <704B6EBC-990B-4359-868E-6491EE9C2681@etcpp.de> <59A98AFC-BC24-4016-8682-97C60EF67170@free.fr> Message-ID: I would post wether it is a 'Free' app or paid and if so how much. 2Cents... -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 22, 2011, at 12:14 PM, Ludovic Th?bault wrote: > > Le 22 janv. 2011 ? 18:01, Pierre Sahores a ?crit : > >> >> Well shown in english there. > > For me also ! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Sat Jan 22 13:11:39 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Sat, 22 Jan 2011 10:11:39 -0800 Subject: Changiing the height of a stack In-Reply-To: References: <0EAE2589-7C0C-46C2-8071-E37C238C2A66@mollysrevenge.com> <4D3A0BD3.4020701@hyperactivesw.com> <4D3A3381.1040409@hyperactivesw.com> Message-ID: <46C7A7D9-7F3E-4619-A073-6B96F02363AF@mollysrevenge.com> You're missing the point. I was responding to a prior post that said locklocation does not affect how a stack grows when its height changes, not whether it applies to a card or not. Pete Haworth On Jan 22, 2011, at 6:15 AM, Robert Brenstein wrote: > On 21.01.11 at 19:20 -0800 Pete (Molly's Revenge) apparently wrote: >> Well, I guess I was misled by the dictionary then because it says: >> >> If a control's *lockLocation* property is false, when you change its >> height, it shrinks or grows from the center: the control's top and bottom >> edges both shift, while its location property stays the same. If the >> control's *lockLocation* property is true, it shrinks or grows from the top >> left corner: the control's top edge stays in the same place, and the bottom >> edge moves. >> >> That's exactly what I want to happen with the card. >> > > But card is NOT a control. The above talks about controls. > > Robert > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bvg at mac.com Sat Jan 22 13:14:09 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 22 Jan 2011 19:14:09 +0100 Subject: Live LiveCode Coding Event #7 In-Reply-To: References: Message-ID: <0C904E6D-00B0-4D3E-85A4-B369258B6089@mac.com> Alright, just a quick reminder that we will start in about an hour. Unfortunately, Rob had a major run in with an evil staircase, and therefore had to cancel his presentation. He's already recouping, and promised to do his talk some other weekend. All the best to him. On 20 Jan 2011, at 22:44, Bj?rnke von Gierke wrote: > Hello Guys > > We're back, and we brought Topics: > > First we got a newcomer. Rob will present "The basics of using MySQL in a LiveCode Application", which is an introduction to SQL in LC. > http://blog.livecode.tv/rob/ > > Bjoernke (me) will show "The multiple futures of BvG Docu, and why some of them never came to be". I will also talk about the current future plans regarding this free add-on to LC. > http://blog.livecode.tv/bvg/ > > After my show there'll be a surprise announcement, which has to do with charts, and of course we'll give away something again. This time, one luck winner gets the Take Control eBook (courtesy of TidBITS): "Take Control of Mac OS X Backups". So please visit their site: http://www.takecontrolbooks.com/ > > FInally, David will take up his topic from last week, where he got slightly distracted by showing automatic menu creation via script parsing. He wants to show more in a similar vein, especially: "Drag and Drop Style sheets for LiveCode controls" > http://blog.livecode.tv/david/ > > The show is on Saturday at these times: > Zurich: 20:00 > Buenos Aires: 16:00 > New York: 14:00 > San Francisco: 11:00 > Sydney: 06:00 > > Make sure to use ChatRev during the happening, otherwise you might miss when you'll need to change to the other streams: > http://bjoernke.com?target=chatrev > or: > go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" > > If you want to get private, regular notification of this event, please subscribe to the rss feed of the blog (about 2 updates per week): > feed://livecode.tv/feed/ > > Cheers > Bjoernke > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harald at etcpp.de Sat Jan 22 14:18:00 2011 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Sat, 22 Jan 2011 20:18:00 +0100 Subject: OT: Test for supporting Website (iOS App) In-Reply-To: References: <6357A811-3E6B-4A83-A4F0-E64FB44198A5@etcpp.de> <764225A9-E978-4C55-994D-9407209078DD@laposte.net> <704B6EBC-990B-4359-868E-6491EE9C2681@etcpp.de> <59A98AFC-BC24-4016-8682-97C60EF67170@free.fr> Message-ID: Thanks for all your responses, that helped very much! Best regards, Harald M?ller. Am 22.01.2011 um 18:44 schrieb Thomas McGrath III: > I would post wether it is a 'Free' app or paid and if so how much. 2Cents... > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Jan 22, 2011, at 12:14 PM, Ludovic Th?bault wrote: > >> >> Le 22 janv. 2011 ? 18:01, Pierre Sahores a ?crit : >> >>> >>> Well shown in english there. >> >> For me also ! >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From martyknapp at comcast.net Sat Jan 22 15:49:19 2011 From: martyknapp at comcast.net (Marty Knapp) Date: Sat, 22 Jan 2011 12:49:19 -0800 Subject: revFontLoad Question Message-ID: <4D3B42CF.3080604@comcast.net> I want to package a font with my Mac only app and use revFontLoad to load it into memory. Is there a problem with just tucking it inside the application bundle and loading it from there? Or should I put it into a custom property and then write it out to the user's hard drive and put it into use from there? My preliminary tests show that it works from inside the bundle. I'm just wondering if there's something that I'm not aware of that would make this a bad idea. Thanks, Marty Knapp From pete at mollysrevenge.com Sat Jan 22 16:21:04 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Sat, 22 Jan 2011 13:21:04 -0800 Subject: Datagrid question Message-ID: <8B74AC91-780E-4B3A-AABD-868CC2EA03AD@mollysrevenge.com> I've put together a mouseDown handler that displays a stack window immediately below a datagrid column when the user right clicks on that column. Right now it's in the group script of the datagrid. The dg manual says there is a default header behavior property so set that to the id of a button that includes my mousedown handler since I want this to be available to all the dataggrids in my app but the mousedown event never reaches my mousedown handler a breakpoint set at the start of it never gets triggered. Any ideas why this is happening? Pete Haworth From jacque at hyperactivesw.com Sat Jan 22 16:46:15 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 22 Jan 2011 15:46:15 -0600 Subject: Changiing the height of a stack In-Reply-To: <46C7A7D9-7F3E-4619-A073-6B96F02363AF@mollysrevenge.com> References: <0EAE2589-7C0C-46C2-8071-E37C238C2A66@mollysrevenge.com> <4D3A0BD3.4020701@hyperactivesw.com> <4D3A3381.1040409@hyperactivesw.com> <46C7A7D9-7F3E-4619-A073-6B96F02363AF@mollysrevenge.com> Message-ID: <4D3B5027.2000008@hyperactivesw.com> On 1/22/11 12:11 PM, Peter Haworth wrote: > You're missing the point. I was responding to a prior post that said > locklocation does not affect how a stack grows when its height > changes, not whether it applies to a card or not. Actually, he's right. Controls are only those objects you can place on a card (the icons in the toolbar are all controls.) Stacks and cards are not controls, they are containers. The docs say that controls will resize from the topleft if lockloc is true, but a stack (or card) is not a control and so the resizing comment doesn't apply to them. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Sat Jan 22 17:11:01 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 22 Jan 2011 16:11:01 -0600 Subject: revFontLoad Question In-Reply-To: <4D3B42CF.3080604@comcast.net> References: <4D3B42CF.3080604@comcast.net> Message-ID: I would just make sure and check the fine print on distribution rights of the font, and what the terms are. If it's an open source font it should be ok. Milage may vary. On 22 January 2011 14:49, Marty Knapp wrote: > I want to package a font with my Mac only app and use revFontLoad to load > it into memory. Is there a problem with just tucking it inside the > application bundle and loading it from there? Or should I put it into a > custom property and then write it out to the user's hard drive and put it > into use from there? > > My preliminary tests show that it works from inside the bundle. I'm just > wondering if there's something that I'm not aware of that would make this a > bad idea. > > Thanks, > Marty Knapp > > _______________________________________________ > use-livecode mailing list > use-livecode 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 martyknapp at comcast.net Sat Jan 22 17:22:26 2011 From: martyknapp at comcast.net (Marty Knapp) Date: Sat, 22 Jan 2011 14:22:26 -0800 Subject: revFontLoad Question In-Reply-To: References: <4D3B42CF.3080604@comcast.net> Message-ID: <4D3B58A2.2050509@comcast.net> Thanks Stephen, Yes, I have written permission to distribute the font. I was wondering more about the advisability of accessing it inside the app bundle as opposed to writing it out to another location and loading it from there. In its current form, my app installs the font into the Fonts folder on first launch (informing the user) but as I'm hoping to get this into the Mac app store, I'm guessing that this is not acceptable. I have contacted Apple about installing the font, got re-routed 3 times and now have not heard anything. So I think the revFontLoad is the way to go. I'm just not sure about where the font file should be placed. In the bundle is the easiest, but maybe there's a reason you're not supposed to do that? Marty > I would just make sure and check the fine print on distribution rights of > the font, and what the terms are. If it's an open source font it should be > ok. Milage may vary. > > On 22 January 2011 14:49, Marty Knapp wrote: > >> I want to package a font with my Mac only app and use revFontLoad to load >> it into memory. Is there a problem with just tucking it inside the >> application bundle and loading it from there? Or should I put it into a >> custom property and then write it out to the user's hard drive and put it >> into use from there? >> >> My preliminary tests show that it works from inside the bundle. I'm just >> wondering if there's something that I'm not aware of that would make this a >> bad idea. From jmyepes at mac.com Sat Jan 22 17:50:42 2011 From: jmyepes at mac.com (Josep M Yepes) Date: Sat, 22 Jan 2011 23:50:42 +0100 Subject: Test for supporting Website (iOS App) In-Reply-To: References: Message-ID: English for me, using Safari from Spain. Salut, Josep Enviado desde mi iPad El 22/01/2011, a las 19:00, use-livecode-request at lists.runrev.com escribi?: > Test for supporting Website (iOS App) From stephenREVOLUTION2 at barncard.com Sat Jan 22 17:57:17 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 22 Jan 2011 16:57:17 -0600 Subject: revFontLoad Question In-Reply-To: <4D3B58A2.2050509@comcast.net> References: <4D3B42CF.3080604@comcast.net> <4D3B58A2.2050509@comcast.net> Message-ID: Inside the bundle is exactly the place where apple WANTS you to put such things. That's what it was designed for, as against the Windows method of all the files alongside. The idea is user convenience for installing and uninstalling. Nice and neat. A great feature of MacOSX. Bundles are used for data, too. EyeTV puts huge video files inside a data bundle that also contain metadata files used by the app. This is where Livecode puts its stuff as well, and you can too. Use a new folder named by you inside the contents folder inside the bundle. Control click any bundle to reveal its insides. On 22 January 2011 16:22, Marty Knapp wrote: > Thanks Stephen, > > Yes, I have written permission to distribute the font. I was wondering more > about the advisability of accessing it inside the app bundle as opposed to > writing it out to another location and loading it from there. > > In its current form, my app installs the font into the Fonts folder on > first launch (informing the user) but as I'm hoping to get this into the Mac > app store, I'm guessing that this is not acceptable. I have contacted Apple > about installing the font, got re-routed 3 times and now have not heard > anything. So I think the revFontLoad is the way to go. I'm just not sure > about where the font file should be placed. In the bundle is the easiest, > but maybe there's a reason you're not supposed to do that? > > Marty > > I would just make sure and check the fine print on distribution rights of >> the font, and what the terms are. If it's an open source font it should be >> ok. Milage may vary. >> >> On 22 January 2011 14:49, Marty Knapp wrote: >> >> I want to package a font with my Mac only app and use revFontLoad to load >>> it into memory. Is there a problem with just tucking it inside the >>> application bundle and loading it from there? Or should I put it into a >>> custom property and then write it out to the user's hard drive and put it >>> into use from there? >>> >>> My preliminary tests show that it works from inside the bundle. I'm just >>> wondering if there's something that I'm not aware of that would make this >>> a >>> bad idea. >>> >> > > _______________________________________________ > use-livecode mailing list > use-livecode 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 rjb at robelko.com Sat Jan 22 18:15:59 2011 From: rjb at robelko.com (Robert Brenstein) Date: Sun, 23 Jan 2011 00:15:59 +0100 Subject: pinging or else network devices from livecode In-Reply-To: References: Message-ID: On 21.01.11 at 17:46 -0800 Bob Sneidar apparently wrote: >Once you ping an address you can shell to get the arp table. Use arp >-a. BTW have you looked at Spiceworks? They have an incredible scan >engine that gets just about anything with a management protocol. AND >it's FREE! > >Bob > I just looked at Spiceworks. Sounds great. Little problem: I have no Windows machine to run it on. It is also not clear from their website whether it can do scans on a schedule and log the results. Robert From pete at mollysrevenge.com Sat Jan 22 18:38:13 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Sat, 22 Jan 2011 15:38:13 -0800 Subject: Changiing the height of a stack In-Reply-To: <4D3B5027.2000008@hyperactivesw.com> References: <0EAE2589-7C0C-46C2-8071-E37C238C2A66@mollysrevenge.com> <4D3A0BD3.4020701@hyperactivesw.com> <4D3A3381.1040409@hyperactivesw.com> <46C7A7D9-7F3E-4619-A073-6B96F02363AF@mollysrevenge.com> <4D3B5027.2000008@hyperactivesw.com> Message-ID: Jacqueline, I'm fully aware that stacks and cards are not controls. As I said, I was responding to your comment on my post: > And, with respect, there is something to > lock - the top left of the card when you change its height via script, > that's all I want to use it for. ...you said: > > But lockloc doesn't restrict that for any object. I took that to mean that lockloc doesn't lock the top left of any object which is not what the dictionary says. It wouldn't be the first time I've found inaccuracies in the dictionary so thought it worthwhile to confirm if it is correct or not on this issue. Since I posted my comment, I've verified that the dictionary is correct. This whole mess got started by me reading the following in the dictionary in the entry for the height property: "If an object's lockLocation property is false, when you change its height, it shrinks or grows from the center. The object's top and bottom edges both shift, while the object's location property stays the same. If the object's lockLocation property is true, it shrinks or grows from the top left corner: the object's top edge stays in the same place, and the bottom edge moves." I assume the word "object" includes stacks and cards in LC terminolgy, but maybe I'm wrong on that. Pete Haworth On Jan 22, 2011, at 1:46 PM, J. Landman Gay wrote: > On 1/22/11 12:11 PM, Peter Haworth wrote: >> You're missing the point. I was responding to a prior post that said >> locklocation does not affect how a stack grows when its height >> changes, not whether it applies to a card or not. > > Actually, he's right. Controls are only those objects you can place on a card (the icons in the toolbar are all controls.) Stacks and cards are not controls, they are containers. The docs say that controls will resize from the topleft if lockloc is true, but a stack (or card) is not a control and so the resizing comment doesn't apply to them. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Sat Jan 22 18:52:13 2011 From: sundown at pacifier.com (-=>JB<=-) Date: Sat, 22 Jan 2011 15:52:13 -0800 Subject: usb driver problem In-Reply-To: <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> Message-ID: <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> Thanks for the reply and info. This is a very interesting thread so please keep us informed with anything you find that will help. -=>JB<=- On Jan 22, 2011, at 8:04 AM, Thomas McGrath III wrote: > JB, > > That's just it - in the Arduino IDE you have Serial Monitor and it actually has an option for "No line ending", "Newline", "Carriage return", "Both NL & CR" and then most of the time it looks like 9600 baud is used.You can select from 300 to 115200 baud. You can also check a box for autoscroll. But that's it. There is no place for any other options and yet it works fine. > > The Serial Monitor uses the "/dev/tty.usbmodem1a21" instead of the "/dev/cu.usbmodem1a21" that LC likes to use. > > Also there are no options for Hardware Handshaking or any other options like we would set in the serialControlString in LC. > In my research I have seen people mentioning the 8 - 1 - none but all of the serial code that I've seen doesn't even set anything more than Serial.begin and Serial.println -- not even end. (-- Serial.begin(9600) and Serial.println(val) - -) I hooked up a button and connected it to Serial.end() to try to stop sending data but almost every piece of code I have seen does not use the Serial.end() at all. > > I think there is a problem in both the code I am using to read the incoming serial data (looping and line endings) and maybe there is an issue with the buffering of the serial data coming from the Arduino Uno. > > So, I can't find a good list of the parameters that I should use for the serial port and for entering in the serialcontrolstring. > > Still looking though. > > Thanks, > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Jan 22, 2011, at 8:51 AM, -=>JB wrote: > >> What are the parameters they list you need for the serial port >> if you want the hardware to connect using a mac? The stack >> I sent you can set every parameter I saw in Rev when I wrote >> it so I can easily alter the code to set the serialcontrolstring >> using the parameters they provide you instead of giving you >> all of the options it has now. >> >> -=> >> >> On Jan 21, 2011, at 4:58 PM, Thomas McGrath III wrote: >> >>> Do you have a more simple stack for LC? I just want to see if it connects... >>> >>> Thanks >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> 3mcgrath at comcast.net >>> >>> On Jan 21, 2011, at 7:36 PM, Claudi Cornaz wrote: >>> >>>> >>>> Tom, >>>> >>>> Which version combination are you using? >>>> >>>> Best wishes, >>>> Claudi >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rjb at robelko.com Sat Jan 22 18:38:43 2011 From: rjb at robelko.com (Robert Brenstein) Date: Sun, 23 Jan 2011 00:38:43 +0100 Subject: pinging or else network devices from livecode In-Reply-To: <4D3A32C0.90104@tweedly.net> References: <4D3A32C0.90104@tweedly.net> Message-ID: On 22.01.11 at 01:28 +0000 Alex Tweedly apparently wrote: >You can't do ping directly from LC - LC only supports UDP and TCP >sockets, not ICMP or raw. > >You could do it via shell - but too many devices may not respond to ping. > >Do you want to find all active IP addresses on your own subnet, or >on any arbitrary subnet ? At the moment I need to check only my own subnet, but checking another subnet will come later. >If it's on your own, then here's what I'd do > >- try opening a UDP socket to each IP address >- use shell / arp to see what's there. > >every device should respond to an arp request, so this is much more >likely to find all active devices. > Just did a quickie try with your code. Sounds like it will do what I want. Thanks! Robert From martyknapp at comcast.net Sat Jan 22 19:17:37 2011 From: martyknapp at comcast.net (Marty Knapp) Date: Sat, 22 Jan 2011 16:17:37 -0800 Subject: revFontLoad Question In-Reply-To: References: <4D3B42CF.3080604@comcast.net> <4D3B58A2.2050509@comcast.net> Message-ID: <4D3B73A1.9080704@comcast.net> Thanks Stephen - I appreciate the input. Marty > Inside the bundle is exactly the place where apple WANTS you to put such > things. That's what it was designed for, as against the Windows method of > all the files alongside. The idea is user convenience for installing and > uninstalling. Nice and neat. A great feature of MacOSX. > > Bundles are used for data, too. EyeTV puts huge video files inside a data > bundle that also contain metadata files used by the app. > > This is where Livecode puts its stuff as well, and you can too. Use a new > folder named by you inside the contents folder inside the bundle. Control > click any bundle to reveal its insides. > > On 22 January 2011 16:22, Marty Knapp wrote: > >> Thanks Stephen, >> >> Yes, I have written permission to distribute the font. I was wondering more >> about the advisability of accessing it inside the app bundle as opposed to >> writing it out to another location and loading it from there. >> >> In its current form, my app installs the font into the Fonts folder on >> first launch (informing the user) but as I'm hoping to get this into the Mac >> app store, I'm guessing that this is not acceptable. I have contacted Apple >> about installing the font, got re-routed 3 times and now have not heard >> anything. So I think the revFontLoad is the way to go. I'm just not sure >> about where the font file should be placed. In the bundle is the easiest, >> but maybe there's a reason you're not supposed to do that? >> >> Marty >> >> I would just make sure and check the fine print on distribution rights of >>> the font, and what the terms are. If it's an open source font it should be >>> ok. Milage may vary. >>> >>> On 22 January 2011 14:49, Marty Knapp wrote: >>> >>> I want to package a font with my Mac only app and use revFontLoad to load >>>> it into memory. Is there a problem with just tucking it inside the >>>> application bundle and loading it from there? Or should I put it into a >>>> custom property and then write it out to the user's hard drive and put it >>>> into use from there? >>>> >>>> My preliminary tests show that it works from inside the bundle. I'm just >>>> wondering if there's something that I'm not aware of that would make this >>>> a >>>> bad idea. >>>> From m.schonewille at economy-x-talk.com Sat Jan 22 19:35:46 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 23 Jan 2011 01:35:46 +0100 Subject: revFontLoad Question In-Reply-To: <4D3B42CF.3080604@comcast.net> References: <4D3B42CF.3080604@comcast.net> Message-ID: <3500FDBD-0376-4292-8874-68C9DD5DFBB3@economy-x-talk.com> Hi Marty, Mac OS X 10.5 and later might detect the usage of your font, before your script gets a chance to load that font. If that happens, the user will see a system dialog window, asking whether to allow your application to use that font. This might also happen, if your application writes the font from a custom property to the temporary folder and subsequently crashes. The best approach is to install the font properly and to include a copyright statement and license conditions specific to the font in the license conditions of your application. (I can't resist the opportunity to say that the Installer Maker Plugin includes a feature to install fonts). If you really don't want to do that, you might try to use the splash stack approach and write the font to disk and load it into memory before opening any stacks that use the font. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qurl.tk/ce On 22 jan 2011, at 21:49, Marty Knapp wrote: > I want to package a font with my Mac only app and use revFontLoad to load it into memory. Is there a problem with just tucking it inside the application bundle and loading it from there? Or should I put it into a custom property and then write it out to the user's hard drive and put it into use from there? > > My preliminary tests show that it works from inside the bundle. I'm just wondering if there's something that I'm not aware of that would make this a bad idea. > > Thanks, > Marty Knapp From irog at mac.com Sat Jan 22 22:12:30 2011 From: irog at mac.com (Roger Guay) Date: Sat, 22 Jan 2011 20:12:30 -0700 Subject: [ANN] TimeMachine Message-ID: <61B822BA-896F-4282-A1F8-ECB86E316ECF@mac.com> My goal for TimeMachine was to explore a truer perspective of the timescales of events relative to the enormous 13.7 billion year age of the universe. As an example, the entire history of human existence is like 7 seconds on a clock scaled to 14 billion years. TimeMachine will allow you to select various timescales, and then move through that time span to view images of well-known events. My apologies for not being able to upload this stack to RevOnline due to unknown technical difficulties. But, I really want to share this stack. So, you may download it by going to the download page of my website at http://web.me.com/irog/Roger_Guay/Downloads.html As usual, I want to thank the LiveCode community for many of the ideas, techniques, tricks etc. that you'll find in TimeMachine. You folks are a total inspiration to me, and I hope you will enjoy this stack as much as I enjoyed building it. Cheers, Roger From martyknapp at comcast.net Sat Jan 22 22:30:46 2011 From: martyknapp at comcast.net (Marty Knapp) Date: Sat, 22 Jan 2011 19:30:46 -0800 Subject: revFontLoad Question In-Reply-To: <3500FDBD-0376-4292-8874-68C9DD5DFBB3@economy-x-talk.com> References: <4D3B42CF.3080604@comcast.net> <3500FDBD-0376-4292-8874-68C9DD5DFBB3@economy-x-talk.com> Message-ID: <4D3BA0E6.6000709@comcast.net> Thanks for your input Mark, I would agree that properly installing the font is the best approach. But as I can't seem to get my question answered by Apple about requirements for the Mac app store, I'm assuming that they won't allow it. I did some tests quite a while ago with revFontLoad and found that once in a while my stack loaded faster than revFontLoad could load the font. This happened when you booted the program by double-clicking one of the user stacks. I know I could tell people to always start the app, then open the user stacks, but invariably someone would do otherwise. As I recall, though, I was loading the font on preOpenStack of my main stack. I will try it with Startup and maybe that will help. Marty > Hi Marty, > > Mac OS X 10.5 and later might detect the usage of your font, before your script gets a chance to load that font. If that happens, the user will see a system dialog window, asking whether to allow your application to use that font. This might also happen, if your application writes the font from a custom property to the temporary folder and subsequently crashes. > > The best approach is to install the font properly and to include a copyright statement and license conditions specific to the font in the license conditions of your application. (I can't resist the opportunity to say that the Installer Maker Plugin includes a feature to install fonts). > > If you really don't want to do that, you might try to use the splash stack approach and write the font to disk and load it into memory before opening any stacks that use the font. > > -- > Best regards, > > Mark Schonewille > From jacque at hyperactivesw.com Sat Jan 22 22:39:06 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 22 Jan 2011 21:39:06 -0600 Subject: Changiing the height of a stack In-Reply-To: References: <0EAE2589-7C0C-46C2-8071-E37C238C2A66@mollysrevenge.com> <4D3A0BD3.4020701@hyperactivesw.com> <4D3A3381.1040409@hyperactivesw.com> <46C7A7D9-7F3E-4619-A073-6B96F02363AF@mollysrevenge.com> <4D3B5027.2000008@hyperactivesw.com> Message-ID: <4D3BA2DA.5030602@hyperactivesw.com> On 1/22/11 5:38 PM, Peter Haworth wrote: > ...you said: > >> >> But lockloc doesn't restrict that for any object. > > > I took that to mean that lockloc doesn't lock the top left of any > object which is not what the dictionary says. It wouldn't be the > first time I've found inaccuracies in the dictionary so thought it > worthwhile to confirm if it is correct or not on this issue. Since I > posted my comment, I've verified that the dictionary is correct. I was holding off until I could try it so I'm glad you tested it. That's the nice thing about having new(er) people on the list, they see stuff I haven't looked at in years. You're right, and I see now why you made the connection. > > This whole mess got started by me reading the following in the > dictionary in the entry for the height property: > > "If an object's lockLocation property is false, when you change its > height, it shrinks or grows from the center. The object's top and > bottom edges both shift, while the object's location property stays > the same. If the object's lockLocation property is true, it shrinks > or grows from the top left corner: the object's top edge stays in the > same place, and the bottom edge moves." > > I assume the word "object" includes stacks and cards in LC > terminolgy, but maybe I'm wrong on that. Stacks and cards aren't. I get caught out by that once in a while in general-purpose mouseup handlers. For example, in a card script: on mouseup put the number of the mousecontrol end mouseup -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Sat Jan 22 23:08:56 2011 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 22 Jan 2011 22:08:56 -0600 Subject: File Suffix In-Reply-To: <4D39FB7A.000003.01220@CALS_BIG_PC> Message-ID: > O.K. Ken, given that there are companies in our business that have used more > than a three char suffix. That still doesn't make it right. Sorry, Cal, I'm just not seeing the big deal with "greater than 3 character" file extensions... but maybe it's just me... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From mcgrath3 at mac.com Sun Jan 23 00:19:35 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sun, 23 Jan 2011 00:19:35 -0500 Subject: usb driver problem In-Reply-To: <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> Message-ID: <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> Found some more information on this from the Arduino Forums. It seems to me that the disconnect connect in HT is similar to what I have been doing by hand. And that HT is doing some kind of buffering due to incorrect Flow Control Settings. But how can I test this in LC??? > "When my program starts I set up initial parameter by sending their values to Arduino in dialog mode, then I receive and log incoming data. I test my code with Serial Monitor in Arduino 0007 Alpha IDE and everything is OK - I send and receive information to/from Arduino. When I try to do this with Windows Hyper Terminal I can?t send information to Arduino. The information is sending to Arduino only when I disconnect and connect again. With data that I receive I don?t have problems. " > "my impression is that there seems to be a hidden control character that that the IDE sends to put the Arduino into "Serial Monitor" mode." > "For example to adjust my software system clock on Arduino Board in IDE I send something like this string: > > ?h3im5dg? and " > "In Hyper Terminal this don?t work, but I make it to work. I connect to COM3, write ?h3im5dg?, click ?Disconnect?, click ?Connect? and characters are sent, the clock is set and I receive data from Arduino. If I don?t Disconnect-and-Connect I can?t send data. > It works, but this is very inconvenient way???.." > "HyperTerminal might be doing some sort of strange buffering, I'm not sure. There's nothing magic about the Arduino serial monitor (it doesn't send any special codes to the board or anything). " > "I was experiencing a problem like this, i think i fixed it by changing the flow control settings." > "FOund the problem... In HyperTerminal you have to set flow control to off to stop HT from buffering the input... Works like a charm now.." -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 22, 2011, at 6:52 PM, -=>JB wrote: > Thanks for the reply and info. This is a very interesting thread so > please keep us informed with anything you find that will help. > > -=>JB<=- > > > On Jan 22, 2011, at 8:04 AM, Thomas McGrath III wrote: > >> JB, >> >> That's just it - in the Arduino IDE you have Serial Monitor and it actually has an option for "No line ending", "Newline", "Carriage return", "Both NL & CR" and then most of the time it looks like 9600 baud is used.You can select from 300 to 115200 baud. You can also check a box for autoscroll. But that's it. There is no place for any other options and yet it works fine. >> >> The Serial Monitor uses the "/dev/tty.usbmodem1a21" instead of the "/dev/cu.usbmodem1a21" that LC likes to use. >> >> Also there are no options for Hardware Handshaking or any other options like we would set in the serialControlString in LC. >> In my research I have seen people mentioning the 8 - 1 - none but all of the serial code that I've seen doesn't even set anything more than Serial.begin and Serial.println -- not even end. (-- Serial.begin(9600) and Serial.println(val) - -) I hooked up a button and connected it to Serial.end() to try to stop sending data but almost every piece of code I have seen does not use the Serial.end() at all. >> >> I think there is a problem in both the code I am using to read the incoming serial data (looping and line endings) and maybe there is an issue with the buffering of the serial data coming from the Arduino Uno. >> >> So, I can't find a good list of the parameters that I should use for the serial port and for entering in the serialcontrolstring. >> >> Still looking though. >> >> Thanks, >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> 3mcgrath at comcast.net >> >> On Jan 22, 2011, at 8:51 AM, -=>JB wrote: >> >>> What are the parameters they list you need for the serial port >>> if you want the hardware to connect using a mac? The stack >>> I sent you can set every parameter I saw in Rev when I wrote >>> it so I can easily alter the code to set the serialcontrolstring >>> using the parameters they provide you instead of giving you >>> all of the options it has now. >>> >>> -=>> >>> >>> On Jan 21, 2011, at 4:58 PM, Thomas McGrath III wrote: >>> >>>> Do you have a more simple stack for LC? I just want to see if it connects... >>>> >>>> Thanks >>>> >>>> -- Tom McGrath III >>>> http://lazyriver.on-rev.com >>>> 3mcgrath at comcast.net >>>> >>>> On Jan 21, 2011, at 7:36 PM, Claudi Cornaz wrote: >>>> >>>>> >>>>> Tom, >>>>> >>>>> Which version combination are you using? >>>>> >>>>> Best wishes, >>>>> Claudi >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Sun Jan 23 00:37:20 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sun, 23 Jan 2011 00:37:20 -0500 Subject: usb driver problem In-Reply-To: <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> Message-ID: <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> The serialControlString seems to be the only way to set things for the serial port connection. Which of these might effect Buffering or cause the port to hang. The possible settings are as follows: * BAUD=number: the port's baud rate * PARITY=N, O, or E: no parity, odd parity, or even parity * DATA=numberOfDataBits * STOP=numberOfStopBits * to=on or off: use timeouts * xon=on or off: software handshaking * odsr=on or off: (output) data set ready * octs=on or off: (output) clear to send * dtr=on or off: data terminal ready * rts=on or off: ready to sent * isdr=on or off: (input) data set ready Anyone more familiar with these setting? Would timeouts be a type of wait command? I am experiencing the hang until I disconnect, maybe that is a timeout issue or maybe timeout should be set. What is the difference between hardware handshaking and software handshaking???? Never heard of that before.. Data terminal ready? Is this or the next two a way to prepare or setup the port for data to transfer? As in I am about to send data and I am done sending data? It would be helpful if there were more explanations in the docs on these. Any knowledgeable people feel free to chime in here as I am getting a heck of an education here. And what about these: read from process "serial.exe" for 1 int1 read from process "trap" for 4 int2 read from process "AppleScripts/Get Info" for 1 int4 read from file myFile for 3 uInt1 read from file "image.gif" for 3 real4 read from process currentInput for 1 real8 read from file "/etc/datoids" for 1 uInt2 read from file it for 17 uInt4 -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 23, 2011, at 12:19 AM, Thomas McGrath III wrote: > Found some more information on this from the Arduino Forums. It seems to me that the disconnect connect in HT is similar to what I have been doing by hand. And that HT is doing some kind of buffering due to incorrect Flow Control Settings. But how can I test this in LC??? > >> "When my program starts I set up initial parameter by sending their values to Arduino in dialog mode, then I receive and log incoming data. I test my code with Serial Monitor in Arduino 0007 Alpha IDE and everything is OK - I send and receive information to/from Arduino. When I try to do this with Windows Hyper Terminal I can?t send information to Arduino. The information is sending to Arduino only when I disconnect and connect again. With data that I receive I don?t have problems. " > > >> "my impression is that there seems to be a hidden control character that that the IDE sends to put the Arduino into "Serial Monitor" mode." > > >> "For example to adjust my software system clock on Arduino Board in IDE I send something like this string: >> >> ?h3im5dg? and " > > >> "In Hyper Terminal this don?t work, but I make it to work. I connect to COM3, write ?h3im5dg?, click ?Disconnect?, click ?Connect? and characters are sent, the clock is set and I receive data from Arduino. If I don?t Disconnect-and-Connect I can?t send data. >> It works, but this is very inconvenient way???.." > > >> "HyperTerminal might be doing some sort of strange buffering, I'm not sure. There's nothing magic about the Arduino serial monitor (it doesn't send any special codes to the board or anything). " > > >> "I was experiencing a problem like this, i think i fixed it by changing the flow control settings." > >> "FOund the problem... In HyperTerminal you have to set flow control to off to stop HT from buffering the input... Works like a charm now.." > > > > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Jan 22, 2011, at 6:52 PM, -=>JB wrote: > >> Thanks for the reply and info. This is a very interesting thread so >> please keep us informed with anything you find that will help. >> >> -=>JB<=- >> >> >> On Jan 22, 2011, at 8:04 AM, Thomas McGrath III wrote: >> >>> JB, >>> >>> That's just it - in the Arduino IDE you have Serial Monitor and it actually has an option for "No line ending", "Newline", "Carriage return", "Both NL & CR" and then most of the time it looks like 9600 baud is used.You can select from 300 to 115200 baud. You can also check a box for autoscroll. But that's it. There is no place for any other options and yet it works fine. >>> >>> The Serial Monitor uses the "/dev/tty.usbmodem1a21" instead of the "/dev/cu.usbmodem1a21" that LC likes to use. >>> >>> Also there are no options for Hardware Handshaking or any other options like we would set in the serialControlString in LC. >>> In my research I have seen people mentioning the 8 - 1 - none but all of the serial code that I've seen doesn't even set anything more than Serial.begin and Serial.println -- not even end. (-- Serial.begin(9600) and Serial.println(val) - -) I hooked up a button and connected it to Serial.end() to try to stop sending data but almost every piece of code I have seen does not use the Serial.end() at all. >>> >>> I think there is a problem in both the code I am using to read the incoming serial data (looping and line endings) and maybe there is an issue with the buffering of the serial data coming from the Arduino Uno. >>> >>> So, I can't find a good list of the parameters that I should use for the serial port and for entering in the serialcontrolstring. >>> >>> Still looking though. >>> >>> Thanks, >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> 3mcgrath at comcast.net >>> >>> On Jan 22, 2011, at 8:51 AM, -=>JB wrote: >>> >>>> What are the parameters they list you need for the serial port >>>> if you want the hardware to connect using a mac? The stack >>>> I sent you can set every parameter I saw in Rev when I wrote >>>> it so I can easily alter the code to set the serialcontrolstring >>>> using the parameters they provide you instead of giving you >>>> all of the options it has now. >>>> >>>> -=>>> >>>> >>>> On Jan 21, 2011, at 4:58 PM, Thomas McGrath III wrote: >>>> >>>>> Do you have a more simple stack for LC? I just want to see if it connects... >>>>> >>>>> Thanks >>>>> >>>>> -- Tom McGrath III >>>>> http://lazyriver.on-rev.com >>>>> 3mcgrath at comcast.net >>>>> >>>>> On Jan 21, 2011, at 7:36 PM, Claudi Cornaz wrote: >>>>> >>>>>> >>>>>> Tom, >>>>>> >>>>>> Which version combination are you using? >>>>>> >>>>>> Best wishes, >>>>>> Claudi >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jhj at jhj.com Sun Jan 23 01:50:57 2011 From: jhj at jhj.com (Jerry J) Date: Sat, 22 Jan 2011 22:50:57 -0800 Subject: usb driver problem In-Reply-To: <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> Message-ID: <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> On Jan 22, 2011, at 9:37 PM, Thomas McGrath III wrote: > The serialControlString seems to be the only way to set things for the serial port connection. Which of these might effect Buffering or cause the port to hang. > > The possible settings are as follows: > * BAUD=number: the port's baud rate > * PARITY=N, O, or E: no parity, odd parity, or even parity > * DATA=numberOfDataBits > * STOP=numberOfStopBits > * to=on or off: use timeouts > * xon=on or off: software handshaking > * odsr=on or off: (output) data set ready > * octs=on or off: (output) clear to send > * dtr=on or off: data terminal ready > * rts=on or off: ready to sent > * isdr=on or off: (input) data set ready OK, here's a short RS232 primer. This is more than you want to know. First, a bit of history. RS232 specified the voltages, pinout, and signal meanings for the connection between a teletype and a modem. Its STILL making life difficult for us. The spec is for a 25 pin connector. These days its usually a 9 pin or something entirely different. The acronym for a terminal (teletype) is DTE (data terminal equipment). The acronym for a modem is DCE (data communication equipment). These things were slow and stupid. Besides the data lines (TxD and RxD), there are a bunch of hardware signals. DSR - Data Set Ready. This means the modem is powered up and connected. DTR - Data Terminal Ready. The terminal is powered up and connected. RTS - Request To Send. The terminal wants to send data CTS - Clear To Send. The modem is ready to receive data The intention was that DSR and DTR were normally true all the time in a good connection. The intention was that RTS and CTS were used for hardware handshaking. Remember there were no buffers so there had to be some way to control flow. In reality modern implementations often completely misunderstand these meanings and may, for example require RTS and/or CTS to be true all the time and use only DTR for hardware handshaking. Or any other screwed up mix. Usually these days, since we now have buffers, none of this hardware handshaking is used and you just have to get the lines that matter true. Your mileage may vary. Since we have buffers, and computers behind them, the concept of software flow control comes in. This is what XON and XOFF are for. They are ASCII CHARACTERS, not control lines. So when one end or the other is about to fill its buffer, it sends an XOFF character. When its ready for more, it sends an XON. Either device can do this. On the data lines, the transmitted signals work like this: When it all is ready, the line is idle (called space, as opposed to mark). A start bit goes to mark. Data bits are sent - marks or spaces (1 or 0). Usually there are 8 data bits. One or more stop bits go to space. Usually 1. Possibly 1.5 or 2 (I've never seen these). Then the receiver waits for another start bit. The word space here refers to a voltage level, way different from an ASCII space character. Parity is a rudimentary error checking scheme which is usually not used these days. If it is, here's what you need to know, assuming 8 data bits: N - no parity. All 8 bit times are significant data E - the parity bit (the eighth one) is 1 or 0 to make an even number of ones, including the first 7. O - the parity bit is 1 or 0 to make an odd number of total ones in this "byte". These days N,8,1 is the usual setting. No parity, 8 data bits, 1 stop bit. Baud is short for bits per second. Bit times are the same for start, data and stop bits. 9600 baud means 9600 bits per second, so if everything is cooking along at maximum speed, there will be 960 characters sent per second (10 bits per character - start, 8 data, stop). Oh, and there's the RI line (Ring Indicator) if somebody is calling the modem. Forget it. It was used to spin up the teletype motor. Just to confuse you more, the specified voltage levels on TxD and RxD are +3V for space and -3V for mark (minimum). Volts up to +/- 25 are allowed. Thats right, 0 bit is +V and 1 bit is -V. These days lots of implementations cheat and use +5V and 0V instead. A full spec RS232 will not work with that. While I'm at it, I should not forget the concept of a null modem. If two devices both act like terminals, the TxD line of one feeds the TxD line of the other (bad), the handshake lines are all crossed (bad), and it won't work. Likewise if two devices both act like modems. To make it work, an adapter or cable is wired to cross the data and handshake lines back to where the other device expects them. At least the TxD and RxD. Unfortunately many commercial null modems have a rather misguided or incomplete concept about the hardware handshake lines and may be wired in bizarre ways. AAARRRGGGHHH !!! Now for Arduino and LC, I have no more clues. Use timeouts. Maybe Arduino uses hardware handshake? Maybe software handshake? At least I hope this helps with the jargon. Good luck, Jerry Jensen From sundown at pacifier.com Sun Jan 23 02:13:52 2011 From: sundown at pacifier.com (-=>JB<=-) Date: Sat, 22 Jan 2011 23:13:52 -0800 Subject: usb driver problem In-Reply-To: <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> Message-ID: Very nice info. Thank you! -=>JB<=- On Jan 22, 2011, at 10:50 PM, Jerry J wrote: > On Jan 22, 2011, at 9:37 PM, Thomas McGrath III wrote: > >> The serialControlString seems to be the only way to set things for the serial port connection. Which of these might effect Buffering or cause the port to hang. >> >> The possible settings are as follows: >> * BAUD=number: the port's baud rate >> * PARITY=N, O, or E: no parity, odd parity, or even parity >> * DATA=numberOfDataBits >> * STOP=numberOfStopBits >> * to=on or off: use timeouts >> * xon=on or off: software handshaking >> * odsr=on or off: (output) data set ready >> * octs=on or off: (output) clear to send >> * dtr=on or off: data terminal ready >> * rts=on or off: ready to sent >> * isdr=on or off: (input) data set ready > > OK, here's a short RS232 primer. This is more than you want to know. > > First, a bit of history. RS232 specified the voltages, pinout, and signal meanings for the connection between a teletype and a modem. Its STILL making life difficult for us. The spec is for a 25 pin connector. These days its usually a 9 pin or something entirely different. > > The acronym for a terminal (teletype) is DTE (data terminal equipment). > The acronym for a modem is DCE (data communication equipment). > These things were slow and stupid. Besides the data lines (TxD and RxD), there are a bunch of hardware signals. > > DSR - Data Set Ready. This means the modem is powered up and connected. > DTR - Data Terminal Ready. The terminal is powered up and connected. > RTS - Request To Send. The terminal wants to send data > CTS - Clear To Send. The modem is ready to receive data > > The intention was that DSR and DTR were normally true all the time in a good connection. > The intention was that RTS and CTS were used for hardware handshaking. Remember there were no buffers so there had to be some way to control flow. In reality modern implementations often completely misunderstand these meanings and may, for example require RTS and/or CTS to be true all the time and use only DTR for hardware handshaking. Or any other screwed up mix. > > Usually these days, since we now have buffers, none of this hardware handshaking is used and you just have to get the lines that matter true. Your mileage may vary. > > Since we have buffers, and computers behind them, the concept of software flow control comes in. This is what XON and XOFF are for. They are ASCII CHARACTERS, not control lines. So when one end or the other is about to fill its buffer, it sends an XOFF character. When its ready for more, it sends an XON. Either device can do this. > > On the data lines, the transmitted signals work like this: > When it all is ready, the line is idle (called space, as opposed to mark). > A start bit goes to mark. > Data bits are sent - marks or spaces (1 or 0). Usually there are 8 data bits. > One or more stop bits go to space. Usually 1. Possibly 1.5 or 2 (I've never seen these). > Then the receiver waits for another start bit. > The word space here refers to a voltage level, way different from an ASCII space character. > > Parity is a rudimentary error checking scheme which is usually not used these days. If it is, here's what you need to know, assuming 8 data bits: > N - no parity. All 8 bit times are significant data > E - the parity bit (the eighth one) is 1 or 0 to make an even number of ones, including the first 7. > O - the parity bit is 1 or 0 to make an odd number of total ones in this "byte". > > These days N,8,1 is the usual setting. No parity, 8 data bits, 1 stop bit. > > Baud is short for bits per second. Bit times are the same for start, data and stop bits. 9600 baud means 9600 bits per second, so if everything is cooking along at maximum speed, there will be 960 characters sent per second (10 bits per character - start, 8 data, stop). > > Oh, and there's the RI line (Ring Indicator) if somebody is calling the modem. Forget it. It was used to spin up the teletype motor. > > Just to confuse you more, the specified voltage levels on TxD and RxD are +3V for space and -3V for mark (minimum). Volts up to +/- 25 are allowed. Thats right, 0 bit is +V and 1 bit is -V. These days lots of implementations cheat and use +5V and 0V instead. A full spec RS232 will not work with that. > > While I'm at it, I should not forget the concept of a null modem. If two devices both act like terminals, the TxD line of one feeds the TxD line of the other (bad), the handshake lines are all crossed (bad), and it won't work. Likewise if two devices both act like modems. To make it work, an adapter or cable is wired to cross the data and handshake lines back to where the other device expects them. At least the TxD and RxD. Unfortunately many commercial null modems have a rather misguided or incomplete concept about the hardware handshake lines and may be wired in bizarre ways. > > AAARRRGGGHHH !!! > > Now for Arduino and LC, I have no more clues. Use timeouts. Maybe Arduino uses hardware handshake? Maybe software handshake? At least I hope this helps with the jargon. > > Good luck, > Jerry Jensen > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 23 02:11:40 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 23 Jan 2011 01:11:40 -0600 Subject: usb driver problem In-Reply-To: <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> Message-ID: thanks Jerry, I started to explain this - been messing with UARTS since the late 70s but you did a much better job. The bottom line is that this stuff is a lot simpler these days with buffers and most of these handshake lines are not needed today and the voltages don't have to be +-12 volts which was a PIA. And I've never heard of oDSR and oDTS either.. On 23 January 2011 00:50, Jerry J wrote: > On Jan 22, 2011, at 9:37 PM, Thomas McGrath III wrote: > > > The serialControlString seems to be the only way to set things for the > serial port connection. Which of these might effect Buffering or cause the > port to hang. > > > > The possible settings are as follows: > > * BAUD=number: the port's baud rate > > * PARITY=N, O, or E: no parity, odd parity, or even parity > > * DATA=numberOfDataBits > > * STOP=numberOfStopBits > > * to=on or off: use timeouts > > * xon=on or off: software handshaking > > * odsr=on or off: (output) data set ready > > * octs=on or off: (output) clear to send > > * dtr=on or off: data terminal ready > > * rts=on or off: ready to sent > > * isdr=on or off: (input) data set ready > > OK, here's a short RS232 primer. This is more than you want to know. > > First, a bit of history. RS232 specified the voltages, pinout, and signal > meanings for the connection between a teletype and a modem. Its STILL making > life difficult for us. The spec is for a 25 pin connector. These days its > usually a 9 pin or something entirely different. > > The acronym for a terminal (teletype) is DTE (data terminal equipment). > The acronym for a modem is DCE (data communication equipment). > These things were slow and stupid. Besides the data lines (TxD and RxD), > there are a bunch of hardware signals. > > DSR - Data Set Ready. This means the modem is powered up and connected. > DTR - Data Terminal Ready. The terminal is powered up and connected. > RTS - Request To Send. The terminal wants to send data > CTS - Clear To Send. The modem is ready to receive data > > The intention was that DSR and DTR were normally true all the time in a > good connection. > The intention was that RTS and CTS were used for hardware handshaking. > Remember there were no buffers so there had to be some way to control flow. > In reality modern implementations often completely misunderstand these > meanings and may, for example require RTS and/or CTS to be true all the time > and use only DTR for hardware handshaking. Or any other screwed up mix. > > Usually these days, since we now have buffers, none of this hardware > handshaking is used and you just have to get the lines that matter true. > Your mileage may vary. > > Since we have buffers, and computers behind them, the concept of software > flow control comes in. This is what XON and XOFF are for. They are ASCII > CHARACTERS, not control lines. So when one end or the other is about to fill > its buffer, it sends an XOFF character. When its ready for more, it sends an > XON. Either device can do this. > > On the data lines, the transmitted signals work like this: > When it all is ready, the line is idle (called space, as opposed to mark). > A start bit goes to mark. > Data bits are sent - marks or spaces (1 or 0). Usually there are 8 data > bits. > One or more stop bits go to space. Usually 1. Possibly 1.5 or 2 (I've never > seen these). > Then the receiver waits for another start bit. > The word space here refers to a voltage level, way different from an ASCII > space character. > > Parity is a rudimentary error checking scheme which is usually not used > these days. If it is, here's what you need to know, assuming 8 data bits: > N - no parity. All 8 bit times are significant data > E - the parity bit (the eighth one) is 1 or 0 to make an even number of > ones, including the first 7. > O - the parity bit is 1 or 0 to make an odd number of total ones in this > "byte". > > These days N,8,1 is the usual setting. No parity, 8 data bits, 1 stop bit. > > Baud is short for bits per second. Bit times are the same for start, data > and stop bits. 9600 baud means 9600 bits per second, so if everything is > cooking along at maximum speed, there will be 960 characters sent per second > (10 bits per character - start, 8 data, stop). > > Oh, and there's the RI line (Ring Indicator) if somebody is calling the > modem. Forget it. It was used to spin up the teletype motor. > > Just to confuse you more, the specified voltage levels on TxD and RxD are > +3V for space and -3V for mark (minimum). Volts up to +/- 25 are allowed. > Thats right, 0 bit is +V and 1 bit is -V. These days lots of implementations > cheat and use +5V and 0V instead. A full spec RS232 will not work with that. > > While I'm at it, I should not forget the concept of a null modem. If two > devices both act like terminals, the TxD line of one feeds the TxD line of > the other (bad), the handshake lines are all crossed (bad), and it won't > work. Likewise if two devices both act like modems. To make it work, an > adapter or cable is wired to cross the data and handshake lines back to > where the other device expects them. At least the TxD and RxD. Unfortunately > many commercial null modems have a rather misguided or incomplete concept > about the hardware handshake lines and may be wired in bizarre ways. > > AAARRRGGGHHH !!! > > Now for Arduino and LC, I have no more clues. Use timeouts. Maybe Arduino > uses hardware handshake? Maybe software handshake? At least I hope this > helps with the jargon. > > Good luck, > Jerry Jensen > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sun Jan 23 02:13:57 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 23 Jan 2011 01:13:57 -0600 Subject: usb driver problem In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> Message-ID: Also in the 80's I used this hardware device that worked well for my tape copy project at A&M studios the CY233 intelligent controller chip . On 23 January 2011 01:11, stephen barncard wrote: > thanks Jerry, I started to explain this - been messing with UARTS since the > late 70s but you did a much better job. > The bottom line is that this stuff is a lot simpler these days with buffers > and most of these handshake lines are not needed today and the voltages > don't have to be +-12 volts which was a PIA. And I've never heard of oDSR > and oDTS either.. > > On 23 January 2011 00:50, Jerry J wrote: > >> On Jan 22, 2011, at 9:37 PM, Thomas McGrath III wrote: >> >> > The serialControlString seems to be the only way to set things for the >> serial port connection. Which of these might effect Buffering or cause the >> port to hang. >> > >> > The possible settings are as follows: >> > * BAUD=number: the port's baud rate >> > * PARITY=N, O, or E: no parity, odd parity, or even parity >> > * DATA=numberOfDataBits >> > * STOP=numberOfStopBits >> > * to=on or off: use timeouts >> > * xon=on or off: software handshaking >> > * odsr=on or off: (output) data set ready >> > * octs=on or off: (output) clear to send >> > * dtr=on or off: data terminal ready >> > * rts=on or off: ready to sent >> > * isdr=on or off: (input) data set ready >> >> OK, here's a short RS232 primer. This is more than you want to know. >> >> First, a bit of history. RS232 specified the voltages, pinout, and signal >> meanings for the connection between a teletype and a modem. Its STILL making >> life difficult for us. The spec is for a 25 pin connector. These days its >> usually a 9 pin or something entirely different. >> >> The acronym for a terminal (teletype) is DTE (data terminal equipment). >> The acronym for a modem is DCE (data communication equipment). >> These things were slow and stupid. Besides the data lines (TxD and RxD), >> there are a bunch of hardware signals. >> >> DSR - Data Set Ready. This means the modem is powered up and connected. >> DTR - Data Terminal Ready. The terminal is powered up and connected. >> RTS - Request To Send. The terminal wants to send data >> CTS - Clear To Send. The modem is ready to receive data >> >> The intention was that DSR and DTR were normally true all the time in a >> good connection. >> The intention was that RTS and CTS were used for hardware handshaking. >> Remember there were no buffers so there had to be some way to control flow. >> In reality modern implementations often completely misunderstand these >> meanings and may, for example require RTS and/or CTS to be true all the time >> and use only DTR for hardware handshaking. Or any other screwed up mix. >> >> Usually these days, since we now have buffers, none of this hardware >> handshaking is used and you just have to get the lines that matter true. >> Your mileage may vary. >> >> Since we have buffers, and computers behind them, the concept of software >> flow control comes in. This is what XON and XOFF are for. They are ASCII >> CHARACTERS, not control lines. So when one end or the other is about to fill >> its buffer, it sends an XOFF character. When its ready for more, it sends an >> XON. Either device can do this. >> >> On the data lines, the transmitted signals work like this: >> When it all is ready, the line is idle (called space, as opposed to mark). >> A start bit goes to mark. >> Data bits are sent - marks or spaces (1 or 0). Usually there are 8 data >> bits. >> One or more stop bits go to space. Usually 1. Possibly 1.5 or 2 (I've >> never seen these). >> Then the receiver waits for another start bit. >> The word space here refers to a voltage level, way different from an ASCII >> space character. >> >> Parity is a rudimentary error checking scheme which is usually not used >> these days. If it is, here's what you need to know, assuming 8 data bits: >> N - no parity. All 8 bit times are significant data >> E - the parity bit (the eighth one) is 1 or 0 to make an even number of >> ones, including the first 7. >> O - the parity bit is 1 or 0 to make an odd number of total ones in this >> "byte". >> >> These days N,8,1 is the usual setting. No parity, 8 data bits, 1 stop bit. >> >> Baud is short for bits per second. Bit times are the same for start, data >> and stop bits. 9600 baud means 9600 bits per second, so if everything is >> cooking along at maximum speed, there will be 960 characters sent per second >> (10 bits per character - start, 8 data, stop). >> >> Oh, and there's the RI line (Ring Indicator) if somebody is calling the >> modem. Forget it. It was used to spin up the teletype motor. >> >> Just to confuse you more, the specified voltage levels on TxD and RxD are >> +3V for space and -3V for mark (minimum). Volts up to +/- 25 are allowed. >> Thats right, 0 bit is +V and 1 bit is -V. These days lots of implementations >> cheat and use +5V and 0V instead. A full spec RS232 will not work with that. >> >> While I'm at it, I should not forget the concept of a null modem. If two >> devices both act like terminals, the TxD line of one feeds the TxD line of >> the other (bad), the handshake lines are all crossed (bad), and it won't >> work. Likewise if two devices both act like modems. To make it work, an >> adapter or cable is wired to cross the data and handshake lines back to >> where the other device expects them. At least the TxD and RxD. Unfortunately >> many commercial null modems have a rather misguided or incomplete concept >> about the hardware handshake lines and may be wired in bizarre ways. >> >> AAARRRGGGHHH !!! >> >> Now for Arduino and LC, I have no more clues. Use timeouts. Maybe Arduino >> uses hardware handshake? Maybe software handshake? At least I hope this >> helps with the jargon. >> >> Good luck, >> Jerry Jensen >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 support at ahsomme.com Sun Jan 23 02:17:51 2011 From: support at ahsomme.com (Paul Looney) Date: Sat, 22 Jan 2011 23:17:51 -0800 Subject: File Suffix In-Reply-To: References: Message-ID: <7207A8F7-48D7-49E4-AA98-BEB1A0089DDA@ahsomme.com> Cal, Another consideration: Three characters allows for approximately 17,576 combinations (26*26*26). Apple's App Store alone already has over 300,000 apps, and growing. Three characters might have been enough in 1970 but not today. Paul Looney On Jan 22, 2011, at 8:08 PM, Ken Ray wrote: >> O.K. Ken, given that there are companies in our business that have >> used more >> than a three char suffix. That still doesn't make it right. > > Sorry, Cal, I'm just not seeing the big deal with "greater than 3 > character" > file extensions... but maybe it's just me... > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Sun Jan 23 02:19:14 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 22 Jan 2011 23:19:14 -0800 Subject: usb driver problem In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> Message-ID: <90570741250.20110122231914@ahsoftware.net> stephen- Saturday, January 22, 2011, 11:11:40 PM, you wrote: > don't have to be +-12 volts which was a PIA. And I've never heard of oDSR > and oDTS either.. oDSR, oCTS, and iSDR (I'm really hoping that's a typo in the docs) are apparently revspeak for the DSR, CTS, and DSR pins, with a leading o or i to signify output or input. -- -Mark Wieder mwieder at ahsoftware.net From stephenREVOLUTION2 at barncard.com Sun Jan 23 02:25:09 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 23 Jan 2011 01:25:09 -0600 Subject: File Suffix In-Reply-To: <7207A8F7-48D7-49E4-AA98-BEB1A0089DDA@ahsomme.com> References: <7207A8F7-48D7-49E4-AA98-BEB1A0089DDA@ahsomme.com> Message-ID: And the old 4 char 'creator codes' would run out at 456976 ! On 23 January 2011 01:17, Paul Looney wrote: > Cal, > Another consideration: > Three characters allows for approximately 17,576 combinations (26*26*26). > Apple's App Store alone already has over 300,000 apps, and growing. > Three characters might have been enough in 1970 but not today. > Paul Looney > > > On Jan 22, 2011, at 8:08 PM, Ken Ray wrote: > > O.K. Ken, given that there are companies in our business that have used >>> more >>> than a three char suffix. That still doesn't make it right. >>> >> >> Sorry, Cal, I'm just not seeing the big deal with "greater than 3 >> character" >> file extensions... but maybe it's just me... >> >> Ken Ray >> Sons of Thunder Software, Inc. >> Email: kray at sonsothunder.com >> Web Site: http://www.sonsothunder.com/ >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Sun Jan 23 02:29:35 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 23 Jan 2011 01:29:35 -0600 Subject: usb driver problem In-Reply-To: <90570741250.20110122231914@ahsoftware.net> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> <90570741250.20110122231914@ahsoftware.net> Message-ID: I could see how that could be useful with a buffer in the middle... At that point one would need a 4 trace scope to debug problems with these... On 23 January 2011 01:19, Mark Wieder wrote: > stephen- > > Saturday, January 22, 2011, 11:11:40 PM, you wrote: > > > don't have to be +-12 volts which was a PIA. And I've never heard of oDSR > > and oDTS either.. > > oDSR, oCTS, and iSDR (I'm really hoping that's a typo in the docs) are > apparently revspeak for the DSR, CTS, and DSR pins, with a leading o > or i to signify output or input. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From mwieder at ahsoftware.net Sun Jan 23 02:34:57 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 22 Jan 2011 23:34:57 -0800 Subject: usb driver problem In-Reply-To: <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> Message-ID: <48571684671.20110122233457@ahsoftware.net> Jerry- Very nice writeup. Tom- Given that you're using an emulated serial port, my guess is that you won't have to fiddle with the handshaking lines. This is where a usb breakout box would really come in handy. But depending on the emulation, some of the things that might affect buffering would be the odsr, octs, dtr, and rts lines. So I'd try something like this (watch the line wraps): set the serialControlString to "baud=9600 parity=n data=8 stop=1 odsr=on octs=on odtr=on orts=on" Do note that if you need to set the serialControlString, rev will *reset* the serial port before applying your settings. This is annoying, counterproductive, and needless, but that's the way it is. It's caused me to rule out rev for solutions before. Can you talk to the Arduino from a terminal window? -- -Mark Wieder mwieder at ahsoftware.net From jhj at jhj.com Sun Jan 23 02:47:29 2011 From: jhj at jhj.com (Jerry J) Date: Sat, 22 Jan 2011 23:47:29 -0800 Subject: usb driver problem In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> <90570741250.20110122231914@ahsoftware.net> Message-ID: My guess was that oDSR would force the DSR line true, and iDSR would cause it to be used. More confusion about terminals vs. modems. ARGGH. I have an old slow logic analyzer that can capture all this crap if I need to, which I hope I won't because its been a long time and its no picnic to hook up, assuming I can find it (and its manual). A breakout box with LEDs is much simpler, except then I have to deal with unknown adapters and cables. ARGGH, I repeat, ARGGH. Trial and error usually wins. On Jan 22, 2011, at 11:29 PM, stephen barncard wrote: > I could see how that could be useful with a buffer in the middle... > At that point one would need a 4 trace scope to debug problems with > these... > > On 23 January 2011 01:19, Mark Wieder wrote: > >> stephen- >> >> Saturday, January 22, 2011, 11:11:40 PM, you wrote: >> >>> don't have to be +-12 volts which was a PIA. And I've never heard of oDSR >>> and oDTS either.. >> >> oDSR, oCTS, and iSDR (I'm really hoping that's a typo in the docs) are >> apparently revspeak for the DSR, CTS, and DSR pins, with a leading o >> or i to signify output or input. >> >> -- >> -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 support at ahsomme.com Sun Jan 23 02:50:38 2011 From: support at ahsomme.com (Paul Looney) Date: Sat, 22 Jan 2011 23:50:38 -0800 Subject: File Suffix In-Reply-To: References: <7207A8F7-48D7-49E4-AA98-BEB1A0089DDA@ahsomme.com> Message-ID: <4BEA96DF-3C57-4788-BD98-CAC3C5AE5DC1@ahsomme.com> Stephen, More like 7,311,616 characters. The creator codes could be small characters or caps (except Apple reserved all lower case for itself). Paul Looney On Jan 22, 2011, at 11:25 PM, stephen barncard wrote: > And the old 4 char 'creator codes' would run out at 456976 ! > > On 23 January 2011 01:17, Paul Looney wrote: > >> Cal, >> Another consideration: >> Three characters allows for approximately 17,576 combinations >> (26*26*26). >> Apple's App Store alone already has over 300,000 apps, and growing. >> Three characters might have been enough in 1970 but not today. >> Paul Looney >> >> >> On Jan 22, 2011, at 8:08 PM, Ken Ray wrote: >> >> O.K. Ken, given that there are companies in our business that >> have used >>>> more >>>> than a three char suffix. That still doesn't make it right. >>>> >>> >>> Sorry, Cal, I'm just not seeing the big deal with "greater than 3 >>> character" >>> file extensions... but maybe it's just me... >>> >>> Ken Ray >>> Sons of Thunder Software, Inc. >>> Email: kray at sonsothunder.com >>> Web Site: http://www.sonsothunder.com/ >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 mwieder at ahsoftware.net Sun Jan 23 03:09:53 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 23 Jan 2011 00:09:53 -0800 Subject: usb driver problem In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> <90570741250.20110122231914@ahsoftware.net> Message-ID: <14573780843.20110123000953@ahsoftware.net> Jerry- Saturday, January 22, 2011, 11:47:29 PM, you wrote: > My guess was that oDSR would force the DSR line true, and iDSR > would cause it to be used. More confusion about terminals vs. > modems. ARGGH. I have an old slow logic analyzer that can capture Yeah, the DTE/DCE thing would always trip me up too. Kind of like trying to remember which is the MUA and which is the MTA. I always have to look these things up. -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Sun Jan 23 04:12:21 2011 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 23 Jan 2011 11:12:21 +0200 Subject: File Suffix In-Reply-To: References: Message-ID: <4D3BF0F5.8020806@gmail.com> On 01/23/2011 06:08 AM, Ken Ray wrote: >> O.K. Ken, given that there are companies in our business that have used more >> than a three char suffix. That still doesn't make it right. > Sorry, Cal, I'm just not seeing the big deal with "greater than 3 character" > file extensions... but maybe it's just me... NO; it's not just you. But people get hung up on what we could term 'canonicity' for all sorts of funny reasons which normally boil down to the fact that people would rather work with the devil they know than the devil they don't. -------------------------------------------------------------------------------------- Lots and lots of people I come into contact with (normally trying to dephlogisticate their Windows systems) are aware that Linux does not suffer from the same vulnerability to viruses that Windows does, I have demonstrated (exhaustively and exhaustingly) how GNOME can be configured to have the look-and-feel of Windows (to lessen the learning curve), I have pointed out that they will probably save a fair bit of money for anti-virus software, down-time and technicians. They would still, rather hang on to Windows. The answer always is "but, we're used to Windows". --------------------------------------------------------------------------------------- Obviously people feel comfy with 3 letter suffixes for no good reason than that they have been around for quite some time. Logical or not; people's feelings have to be taken into account . . . :) > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > From richmondmathewson at gmail.com Sun Jan 23 04:14:05 2011 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 23 Jan 2011 11:14:05 +0200 Subject: File Suffix In-Reply-To: <7207A8F7-48D7-49E4-AA98-BEB1A0089DDA@ahsomme.com> References: <7207A8F7-48D7-49E4-AA98-BEB1A0089DDA@ahsomme.com> Message-ID: <4D3BF15D.1010400@gmail.com> On 01/23/2011 09:17 AM, Paul Looney wrote: > Cal, > Another consideration: > Three characters allows for approximately 17,576 combinations (26*26*26). > Apple's App Store alone already has over 300,000 apps, and growing. > Three characters might have been enough in 1970 but not today. > Paul Looney Well; one could expand the possibility for each 'letter' to the complete ASCII set: 255 * 255 * 255 = a socking great number. > > On Jan 22, 2011, at 8:08 PM, Ken Ray wrote: > >>> O.K. Ken, given that there are companies in our business that have >>> used more >>> than a three char suffix. That still doesn't make it right. >> >> Sorry, Cal, I'm just not seeing the big deal with "greater than 3 >> character" >> file extensions... but maybe it's just me... >> >> Ken Ray >> Sons of Thunder Software, Inc. >> Email: kray at sonsothunder.com >> Web Site: http://www.sonsothunder.com/ >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david at vaudevillecourt.tv Sun Jan 23 05:08:18 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Sun, 23 Jan 2011 10:08:18 +0000 Subject: [ANN] TimeMachine In-Reply-To: <61B822BA-896F-4282-A1F8-ECB86E316ECF@mac.com> References: <61B822BA-896F-4282-A1F8-ECB86E316ECF@mac.com> Message-ID: Thanks for that Roger - great work. I got a good impression of the overall scope of time playing with this. I wish I could pull it apart and add to it! Some feedback: first on the size of the app, I think it is both too small and too big. I certainly wanted it larger - the design was too small to get a good feel for the subject (on my laptop), but at the same time the design is too big for an iPhone (NB - I think it would make a great liitle iPhone / iPOD app). Secondly I think a "play" function would be nice to sit back and watch? On 23 January 2011 03:12, Roger Guay wrote: > My goal for TimeMachine was to explore a truer perspective of the > timescales of events relative to the enormous 13.7 billion year age of the > universe. As an example, the entire history of human existence is like 7 > seconds on a clock scaled to 14 billion years. TimeMachine will allow you to > select various timescales, and then move through that time span to view > images of well-known events. > > My apologies for not being able to upload this stack to RevOnline due to > unknown technical difficulties. But, I really want to share this stack. So, > you may download it by going to the download page of my website at > > > http://web.me.com/irog/Roger_Guay/Downloads.html > > As usual, I want to thank the LiveCode community for many of the ideas, > techniques, tricks etc. that you'll find in TimeMachine. You folks are a > total inspiration to me, and I hope you will enjoy this stack as much as I > enjoyed building it. > > Cheers, > Roger > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From claudi.c at fiberworld.nl Sun Jan 23 05:46:59 2011 From: claudi.c at fiberworld.nl (Claudi Cornaz) Date: Sun, 23 Jan 2011 11:46:59 +0100 Subject: usb driver problem In-Reply-To: <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> Message-ID: Tom and all, What I have found about these settings is the baudrate of course and then 8 databits 1 stopbit no parity. That's it. I have found this info in the pref file of the arduino IDE, which is in the users library/Arduino folder. I have now connected a LCD screen and keypad to my arduino to get some more feedback I hope to what I am doing and I am writing a simple test stack/scetch combo to do the further sleuthing. As soon as I have this finished/working I will post both so you can try it. I hope I can manage to do it today. Tom which version of OSX are you using, since with 10.5 I can send and recieve in livecode but alas with 10.6 not yet. I use: constant kSerialSettings = "BAUD=9600 PARITY=N DATA=8 STOP=1" for the serial settings I have no idea yet what changed between 10.5 and 10.6 and wether that's the change or that there is a difference in the installed usb/serial driver. With 10.5 the /dev/cu.usbmodem3d11 driver gets installed and with 10.6 it's the /dev/cu.usbmodem3a21 driver. So depending on the os version there is a different driver and the problem might be in that driver. Best wishes, Claudi From klaus at major.on-rev.com Sun Jan 23 06:50:25 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sun, 23 Jan 2011 12:50:25 +0100 Subject: [ANN] TimeMachine In-Reply-To: <61B822BA-896F-4282-A1F8-ECB86E316ECF@mac.com> References: <61B822BA-896F-4282-A1F8-ECB86E316ECF@mac.com> Message-ID: Hi Roger, > My goal for TimeMachine was to explore a truer perspective of the timescales of events relative to the enormous 13.7 billion year age of the universe. As an example, the entire history of human existence is like 7 seconds on a clock scaled to 14 billion years. TimeMachine will allow you to select various timescales, and then move through that time span to view images of well-known events. > My apologies for not being able to upload this stack to RevOnline due to unknown technical difficulties. But, I really want to share this stack. So, you may download it by going to the download page of my website at > http://web.me.com/irog/Roger_Guay/Downloads.html > > As usual, I want to thank the LiveCode community for many of the ideas, techniques, tricks etc. that you'll find in TimeMachine. You folks are a total inspiration to me, and I hope you will enjoy this stack as much as I enjoyed building it. just wonderful and very informative! Thanks a lot for sharing! > Cheers, > Roger Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From keith.clarke at clarkeandclarke.co.uk Sun Jan 23 07:56:31 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sun, 23 Jan 2011 12:56:31 +0000 Subject: Feature support by deployment type - the state of the art? Message-ID: <159E9E19-5390-4FB1-9083-3E16C271A54F@clarkeandclarke.co.uk> Hi Folks, Is there a high-level feature comparison table or summary somewhere that identifies what current high-level features are supported - or more importantly not supported - across the various deployment options? I've been learning LiveCode basics on the Mac and I'm especially interested in what restrictions I need to place on my palette before starting to play with Revlets. I've started to search the archives to identify filter options, but with the current pace of feature development we enjoy, it's difficult to establish the current state of the art. So, I wonder, has the Mothership or any of the community's cognoscenti instigated such a resource already? Yesterday's Live LiveCode Code event sessions touched on documentation and wiki possibilities. Whilst a key focus here will be on improving the 'What?' and the 'How?' of using LiveCode's functions, could there be room for these issue of Where/When/Whether to use functions, controls, externals, third party components, etc., by deployment type? Best, Keith.. From david at vaudevillecourt.tv Sun Jan 23 08:37:32 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Sun, 23 Jan 2011 13:37:32 +0000 Subject: Feature support by deployment type - the state of the art? In-Reply-To: <159E9E19-5390-4FB1-9083-3E16C271A54F@clarkeandclarke.co.uk> References: <159E9E19-5390-4FB1-9083-3E16C271A54F@clarkeandclarke.co.uk> Message-ID: On 23 January 2011 12:56, Keith Clarke wrote: > > Yesterday's Live LiveCode Code event sessions touched on documentation and > wiki possibilities. Whilst a key focus here will be on improving the 'What?' > and the 'How?' of using LiveCode's functions, could there be room for these > issue of Where/When/Whether to use functions, controls, externals, third > party components, etc., by deployment type? > Hi Keith, I agree with you, and it is a central part of the content that I think we need. Where/When/Whether translates for me to: - Where - an updated snapshot of supported platforms, what is and what is not supported in terms of features - When - an updated roadmap of features. The hard facts, and the soft directions. - Whether - things you should and should not plan for in a project. Rumours vs best practice These elements are possible to address, as part of a general community publication, but I think there are not enough resources for this as a standalone publication. I believe they should be associated with the existing documentation, and linked to an open source publication of useful code, libraries and widgets. At the next LiveCode TV event, I'll show the new distributed wiki, and how that can glue the documentation, code samples and your Where/When/Whether together in a way in which everyone has there own local content, but sharing is transparently done in the background. From mcgrath3 at mac.com Sun Jan 23 09:01:49 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sun, 23 Jan 2011 09:01:49 -0500 Subject: usb driver problem In-Reply-To: <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> Message-ID: Jerry, I know that's the short version because I've spent two weeks reading through the long version/s available on the internet until I completely mired myself to the point I wanted to drop this project. But I have hung on and my reward is reading your well written and very well thought out description. WOW. Thank you so much for this. This description is at just the right level of detail and overview. I wish more things could be explained at this level. You lead me to believe further that my problem probably starts with either the software handshaking and or timeouts and possibly with the buffers and how I am trying to access them. Thank you again Jerry, -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 23, 2011, at 1:50 AM, Jerry J wrote: > On Jan 22, 2011, at 9:37 PM, Thomas McGrath III wrote: > >> The serialControlString seems to be the only way to set things for the serial port connection. Which of these might effect Buffering or cause the port to hang. >> >> The possible settings are as follows: >> * BAUD=number: the port's baud rate >> * PARITY=N, O, or E: no parity, odd parity, or even parity >> * DATA=numberOfDataBits >> * STOP=numberOfStopBits >> * to=on or off: use timeouts >> * xon=on or off: software handshaking >> * odsr=on or off: (output) data set ready >> * octs=on or off: (output) clear to send >> * dtr=on or off: data terminal ready >> * rts=on or off: ready to sent >> * isdr=on or off: (input) data set ready > > OK, here's a short RS232 primer. This is more than you want to know. > > First, a bit of history. RS232 specified the voltages, pinout, and signal meanings for the connection between a teletype and a modem. Its STILL making life difficult for us. The spec is for a 25 pin connector. These days its usually a 9 pin or something entirely different. > > The acronym for a terminal (teletype) is DTE (data terminal equipment). > The acronym for a modem is DCE (data communication equipment). > These things were slow and stupid. Besides the data lines (TxD and RxD), there are a bunch of hardware signals. > > DSR - Data Set Ready. This means the modem is powered up and connected. > DTR - Data Terminal Ready. The terminal is powered up and connected. > RTS - Request To Send. The terminal wants to send data > CTS - Clear To Send. The modem is ready to receive data > > The intention was that DSR and DTR were normally true all the time in a good connection. > The intention was that RTS and CTS were used for hardware handshaking. Remember there were no buffers so there had to be some way to control flow. In reality modern implementations often completely misunderstand these meanings and may, for example require RTS and/or CTS to be true all the time and use only DTR for hardware handshaking. Or any other screwed up mix. > > Usually these days, since we now have buffers, none of this hardware handshaking is used and you just have to get the lines that matter true. Your mileage may vary. > > Since we have buffers, and computers behind them, the concept of software flow control comes in. This is what XON and XOFF are for. They are ASCII CHARACTERS, not control lines. So when one end or the other is about to fill its buffer, it sends an XOFF character. When its ready for more, it sends an XON. Either device can do this. > > On the data lines, the transmitted signals work like this: > When it all is ready, the line is idle (called space, as opposed to mark). > A start bit goes to mark. > Data bits are sent - marks or spaces (1 or 0). Usually there are 8 data bits. > One or more stop bits go to space. Usually 1. Possibly 1.5 or 2 (I've never seen these). > Then the receiver waits for another start bit. > The word space here refers to a voltage level, way different from an ASCII space character. > > Parity is a rudimentary error checking scheme which is usually not used these days. If it is, here's what you need to know, assuming 8 data bits: > N - no parity. All 8 bit times are significant data > E - the parity bit (the eighth one) is 1 or 0 to make an even number of ones, including the first 7. > O - the parity bit is 1 or 0 to make an odd number of total ones in this "byte". > > These days N,8,1 is the usual setting. No parity, 8 data bits, 1 stop bit. > > Baud is short for bits per second. Bit times are the same for start, data and stop bits. 9600 baud means 9600 bits per second, so if everything is cooking along at maximum speed, there will be 960 characters sent per second (10 bits per character - start, 8 data, stop). > > Oh, and there's the RI line (Ring Indicator) if somebody is calling the modem. Forget it. It was used to spin up the teletype motor. > > Just to confuse you more, the specified voltage levels on TxD and RxD are +3V for space and -3V for mark (minimum). Volts up to +/- 25 are allowed. Thats right, 0 bit is +V and 1 bit is -V. These days lots of implementations cheat and use +5V and 0V instead. A full spec RS232 will not work with that. > > While I'm at it, I should not forget the concept of a null modem. If two devices both act like terminals, the TxD line of one feeds the TxD line of the other (bad), the handshake lines are all crossed (bad), and it won't work. Likewise if two devices both act like modems. To make it work, an adapter or cable is wired to cross the data and handshake lines back to where the other device expects them. At least the TxD and RxD. Unfortunately many commercial null modems have a rather misguided or incomplete concept about the hardware handshake lines and may be wired in bizarre ways. > > AAARRRGGGHHH !!! > > Now for Arduino and LC, I have no more clues. Use timeouts. Maybe Arduino uses hardware handshake? Maybe software handshake? At least I hope this helps with the jargon. > > Good luck, > Jerry Jensen > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From claudi.c at fiberworld.nl Sun Jan 23 09:29:38 2011 From: claudi.c at fiberworld.nl (Claudi Cornaz) Date: Sun, 23 Jan 2011 15:29:38 +0100 Subject: usb driver problem In-Reply-To: <14573780843.20110123000953@ahsoftware.net> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> <90570741250.20110122231914@ahsoftware.net> <14573780843.20110123000953@ahsoftware.net> Message-ID: Tom and all, I have made a test stack which I now use to test my connections with the arduino board. The sketch just echo's what it recieves back out with a delay of 500 millisecs. (It's included with the stack) you can download the stack from: http://dl.dropbox.com/u/13685013/arduino%20tester.livecode I have this working with my macbook OS 10.5.8 / livecode 4.5.2 build 1150 / arduino uno 0022 driver: /dev/cu.usbmodem3d11 I seems it's working partly with my iMac OS 10.6.6 / livecode 4.5.1 build 1130 / arduino uno 0022 driver: /dev/cu.usbmodem3a21 (sending seems ok. The arduino reacts by transmitting, I can see the tx led flash, but I can't seem to recieve. The first thing I will do is to update livecode on my iMac to see what's gonna change I guess. I'll post the results I hope this stack will prove usefull. I am curious what works for you. If you have any questions, feel free to contact me. Succes, Claudi From mcgrath3 at mac.com Sun Jan 23 09:31:49 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sun, 23 Jan 2011 09:31:49 -0500 Subject: usb driver problem In-Reply-To: <48571684671.20110122233457@ahsoftware.net> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> <48571684671.20110122233457@ahsoftware.net> Message-ID: <7F8B6EE5-5F5B-4AB2-9DD8-D83B64A8D1BD@mac.com> Mark, Thank you for this. I am going to focus on these settings you describe. Especially after reading Jerry's primer I think you both are right and this is where to start. Yes, the Arduino can and does work well from the Terminal "screen" program. Also from 'many' downloaded serial reader/monitor applications I have found and downloaded to test this. To complicate things further there are actually two(*) ways to use the Arduino Uno over serial connections: (1.) The Uno comes with the Atmega8U2 which handles the Serial to USB conversion on the chip on the board (the Make board used the older FTDI method). This (Atmega8U2) is the method used for downloading sketches to and communicating with the Arduino Uno from Processing, Serial Monitor, and the Arduino IDE. (2.) The second method is using some of the pins on the Arduino for UART TTL (5V) Serial Communication. When you use pins 0 (RX) and 1 (TX) and #include the softwareSerial library You can in effect have two serial ports to the Arduino at the same time. The is useful if as in my case you want to use one serial port on the Computer to connect/monitor/control the Arduino Uno and use the other serial connection to connect to another serial device like the Roomba. (((Yes, I am building a fully autonomous lawnmower robot based on the Roomba routines with outside logic from the Arduino which will also include an OSC controller and be accessed from an iPhone. I want to be able to LC on the iPhone/Desktop instead of another OSC controller and Mark has already written the wonderful OSC library in his Make Board Controller to use.))) NOTE: It is my bet that using the pins and the softwareSerial library MOST emulates the 'old' way (FTDI) of doing serial communications with the Arduino and would probably work as expected in LC. ( I have to dig up some old serial cables and splice them for connecting and then dig out my old Keyspan High Speed Serial Converter WITH driver). But I didn't want to confuse things from the start. It would however be better to just be able to plug in with the straight USB cable that comes with the Arduino Uno and figure out what settings on the LC side will make this work. After all it does work with Terminal and a dozen other apps. * Actually there are many many more ways to connect not limited to but including Bluetooth, Wifi, Ethernet, IR, Radio, etc. Thanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 23, 2011, at 2:34 AM, Mark Wieder wrote: > Jerry- > > Very nice writeup. > > Tom- > > Given that you're using an emulated serial port, my guess is that you > won't have to fiddle with the handshaking lines. This is where a usb > breakout box would really come in handy. But depending on the > emulation, some of the things that might affect buffering would be the > odsr, octs, dtr, and rts lines. So I'd try something like this (watch > the line wraps): > > set the serialControlString to "baud=9600 parity=n data=8 stop=1 > odsr=on octs=on odtr=on orts=on" > > Do note that if you need to set the serialControlString, rev will > *reset* the serial port before applying your settings. This is > annoying, counterproductive, and needless, but that's the way it is. > It's caused me to rule out rev for solutions before. > > Can you talk to the Arduino from a terminal window? > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Sun Jan 23 09:34:19 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sun, 23 Jan 2011 09:34:19 -0500 Subject: usb driver problem In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> Message-ID: <30032DB1-335E-4505-BB7B-F1E63A15CA4D@mac.com> Claudi, I am using OSX 10.6.6 Downloading your stack now so at least we can be on the same page for testing. Thanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 23, 2011, at 5:46 AM, Claudi Cornaz wrote: > Tom and all, > > What I have found about these settings is the baudrate of course and then 8 databits 1 stopbit no parity. That's it. > > I have found this info in the pref file of the arduino IDE, which is in the users library/Arduino folder. > I have now connected a LCD screen and keypad to my arduino to get some more feedback I hope to what I am doing > and I am writing a simple test stack/scetch combo to do the further sleuthing. As soon as I have this finished/working I will post both > so you can try it. I hope I can manage to do it today. > > Tom which version of OSX are you using, since with 10.5 I can send and recieve in livecode but alas with 10.6 not yet. > I use: constant kSerialSettings = "BAUD=9600 PARITY=N DATA=8 STOP=1" for the serial settings > > I have no idea yet what changed between 10.5 and 10.6 and wether that's the change or that there is a difference > in the installed usb/serial driver. With 10.5 the /dev/cu.usbmodem3d11 driver gets installed > and with 10.6 it's the /dev/cu.usbmodem3a21 driver. So depending on the os version there is a different driver > and the problem might be in that driver. > > Best wishes, > Claudi > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Sun Jan 23 10:09:14 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sun, 23 Jan 2011 10:09:14 -0500 Subject: usb driver problem In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> <90570741250.20110122231914@ahsoftware.net> Message-ID: <655D7C24-63FF-434F-81A0-98C01C4D86C5@mac.com> Jerry, Maybe you can answer this? The Arduino ide prefers to use the cu.usbmodem* and some of the tests I have done in LC have shown that the tty.usbmodem* is the better choice for receiving data from the Arduino Uno and the cu.usbmodem* when trying to send. I am not sure what the difference between the two of them are and why LC prefers the tty for receiving and the cu for sending??? And my test are suspect to begin with due to a lack of understanding at the start into this wonderful world of serial communications. Plug and Play, My Donkey!!! ;-) -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 23, 2011, at 2:47 AM, Jerry J wrote: > My guess was that oDSR would force the DSR line true, and iDSR would cause it to be used. More confusion about terminals vs. modems. ARGGH. I have an old slow logic analyzer that can capture all this crap if I need to, which I hope I won't because its been a long time and its no picnic to hook up, assuming I can find it (and its manual). A breakout box with LEDs is much simpler, except then I have to deal with unknown adapters and cables. ARGGH, I repeat, ARGGH. Trial and error usually wins. > > On Jan 22, 2011, at 11:29 PM, stephen barncard wrote: > >> I could see how that could be useful with a buffer in the middle... >> At that point one would need a 4 trace scope to debug problems with >> these... >> >> On 23 January 2011 01:19, Mark Wieder wrote: >> >>> stephen- >>> >>> Saturday, January 22, 2011, 11:11:40 PM, you wrote: >>> >>>> don't have to be +-12 volts which was a PIA. And I've never heard of oDSR >>>> and oDTS either.. >>> >>> oDSR, oCTS, and iSDR (I'm really hoping that's a typo in the docs) are >>> apparently revspeak for the DSR, CTS, and DSR pins, with a leading o >>> or i to signify output or input. >>> >>> -- >>> -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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From xfratboy at gmail.com Sun Jan 23 10:18:56 2011 From: xfratboy at gmail.com (xfratboy) Date: Sun, 23 Jan 2011 07:18:56 -0800 (PST) Subject: usb driver problem In-Reply-To: <30032DB1-335E-4505-BB7B-F1E63A15CA4D@mac.com> References: <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <30032DB1-335E-4505-BB7B-F1E63A15CA4D@mac.com> Message-ID: <1295795936314-3232620.post@n4.nabble.com> I'm coming into this conversation a bit late, but I've been wrestling with USB/Serial communication in OSX for a several weeks now with no success. I doubt if this makes you feel any better. I'm working with an FTDI chipset (FT232R). Communicating through this usb-to-serial-converter works perfectly in Windows .. If I take that same stack to OSX, it fails miserably. It's like my code gets stuck in a sticky goo of zeros and ones. Something that has been helpful for my understanding was this info provided by FTDI support: ---------- This may not be an issue with the serial settings. Understand that there?s a huge fundamental difference between USB and the old RS232 style interface. In the good old days, things were set up so that everything was character based ? you send a single character, you receive a single character, and life was good. With USB, you send a single character, and?. Nothing happens until one of several conditions are met: 1.) You fill up a buffer ? when the buffer is full, USB automatically transmits out the data block (not just a single character) 2.) Your product requests the buffer be sent (even if it?s not ?full?) 3.) The latency timer goes off, and says to send whatever is in the buffer, even if it?s not full (this could be a source of your lag/latency) In order to address this, see section 3.4 and 3.5 page 6 of TN105: http://www.ftdichip.com/Support/Documents/TechnicalNotes/TN_105%20Adding%20Support%20for%20New%20FTDI%20Devices%20to%20Mac%20Driver.pdf Also, keep this in mind when you are writing your application ? in visual basic (for example), you could send out one character at a time, or a string of characters and with RS232 it wouldn?t make any difference. With USB, you?d want to send out a string long enough to fill the buffer length so that USB would send it off instead of waiting for the latency timer to trip. ------ So.... this still doesn't solve my problem with hang-ups and lags, but it did give me a place to start. Basically, I have started poking around inside the FTDIUSBSerialDriver.kext file found in /System/Library/Extensions/ folder. If your device is not showing up with the "DriverNames" function then it's probably not in the FTDI driver's 'info.plist' file. In which case, you would have to create a new entry in the info.plist file for your specific device. That's a whole-nutha-level of trial and error which I'm staring to figure out a little bit. Feel free to contact me off topic if you are interested in how to do this or maybe we can start another thread. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/usb-driver-problem-tp3219220p3232620.html Sent from the Revolution - User mailing list archive at Nabble.com. From mcgrath3 at mac.com Sun Jan 23 10:30:52 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sun, 23 Jan 2011 10:30:52 -0500 Subject: usb driver problem In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> <90570741250.20110122231914@ahsoftware.net> <14573780843.20110123000953@ahsoftware.net> Message-ID: Claudi, Ok, I downloaded your stack and am testing now. (Trivial: The Note would not go away with out error so I read it and then moved it out of the way.) My Arduino code continuously loops sending the result of a simple math to the PC. So it returns 0 originally but if I send 1 it returns 2 and if I send 4 it returns 5 etc. /dev/cu.usbmodem* = cu /dev/tty.usbmodem* = tty I tried cu Driver -- "Opened OK" - LED blinking send - no receiving - send blinks receive LED on Arduino Uno tty Driver -- HANGS - LED blink send - no receiving - no sending due to hang cu File -- "Can't open that file" NO LED blinking - no receiving - no sending tty File -- HANGS - LED blink send - no receiving - no sending due to hang Tried again cu File -- HANGS (unplug USB and plug back in) - receive data in buffer??? cu File -- "Opened OK" - HANGS (unplug/replug) - receive data - no sending since I just replugged it in Not sure what this says to this issue. I still think there is a buffer and or flow control problem and maybe still an EOF since that is what your code uses and I stopped using that in mine and was able to get a continuos read. Thanks (more troubleshooting) -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 23, 2011, at 9:29 AM, Claudi Cornaz wrote: > Tom and all, > > I have made a test stack which I now use to test my connections with the arduino board. > > The sketch just echo's what it recieves back out with a delay of 500 millisecs. (It's included with the stack) > > you can download the stack from: http://dl.dropbox.com/u/13685013/arduino%20tester.livecode > > I have this working with my macbook OS 10.5.8 / livecode 4.5.2 build 1150 / arduino uno 0022 driver: /dev/cu.usbmodem3d11 > I seems it's working partly with my iMac OS 10.6.6 / livecode 4.5.1 build 1130 / arduino uno 0022 driver: /dev/cu.usbmodem3a21 > (sending seems ok. The arduino reacts by transmitting, I can see the tx led flash, but I can't seem to recieve. > > The first thing I will do is to update livecode on my iMac to see what's gonna change I guess. > > I'll post the results > > I hope this stack will prove usefull. > I am curious what works for you. If you have any questions, feel free to contact me. > > Succes, > Claudi > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Sun Jan 23 10:49:34 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sun, 23 Jan 2011 10:49:34 -0500 Subject: usb driver problem In-Reply-To: <1295795936314-3232620.post@n4.nabble.com> References: <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <30032DB1-335E-4505-BB7B-F1E63A15CA4D@mac.com> <1295795936314-3232620.post@n4.nabble.com> Message-ID: <00DDFF33-F849-496C-8850-240A8413C52B@mac.com> xfratboy, One thing, in the past on the mac I had problems using a regular serial adapter but once I switched to a Keyspan high speed serial adapter everything worked fine and the driver for that was a standard driver that worked for FTDI devices. But that was a few years ago so things may be different. Now as to FTDI, the Arduino Uno no longer uses the FTDI chip and instead uses the Atmega8U2 USB chip. So no driver is needed or used on the Mac side but one is supplied for the older boards that use the FTDI chip. I tried installing it anyway with no luck as I suspected it wouldn't. The Atmega8U2 shows up in Networks as a real modem and as such does not show up in LC using the devicenames just like the internal modem does not show up. Mark has a bit of shell code that gets the address for the Arduino Uno and provides it to LC. This is what Claudi and I are using to get the port. This does not rule out that something may have changed in either later versions of OSX or in later versions of LC as well. I now understand (what I suspected) that both the PC and the Arduino Uno have a buffer waiting to be filled up and dumped. The Arduino fills up the buffer and then 'requests' to send it out ---- what command is sent? what should be listened for in LC? The LC listens and 'gets' the data --- what command is sent to get the data? If no timer is entered then is there a default? anyway? We may need to register the USB (non-FTDI) in the plist you mention since it doesn't show up in driverNames if only for LC to 'see' it like it sees the FTDI chip (as in Marks Make Board example). Hmmmm, I may contact you on that. Thanks. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 23, 2011, at 10:18 AM, xfratboy wrote: > > I'm coming into this conversation a bit late, but I've been wrestling with > USB/Serial communication in OSX for a several weeks now with no success. I > doubt if this makes you feel any better. I'm working with an FTDI chipset > (FT232R). Communicating through this usb-to-serial-converter works > perfectly in Windows .. If I take that same stack to OSX, it fails > miserably. It's like my code gets stuck in a sticky goo of zeros and ones. > Something that has been helpful for my understanding was this info provided > by FTDI support: > > ---------- > This may not be an issue with the serial settings. Understand that there?s a > huge fundamental difference between USB and the old RS232 style interface. > In the good old days, things were set up so that everything was character > based ? you send a single character, you receive a single character, and > life was good. With USB, you send a single character, and?. Nothing happens > until one of several conditions are met: > 1.) You fill up a buffer ? when the buffer is full, USB automatically > transmits out the data block (not just a single character) > 2.) Your product requests the buffer be sent (even if it?s not ?full?) > 3.) The latency timer goes off, and says to send whatever is in the buffer, > even if it?s not full (this could be a source of your lag/latency) > > In order to address this, see section 3.4 and 3.5 page 6 of TN105: > http://www.ftdichip.com/Support/Documents/TechnicalNotes/TN_105%20Adding%20Support%20for%20New%20FTDI%20Devices%20to%20Mac%20Driver.pdf > > Also, keep this in mind when you are writing your application ? in visual > basic (for example), you could send out one character at a time, or a string > of characters and with RS232 it wouldn?t make any difference. With USB, > you?d want to send out a string long enough to fill the buffer length so > that USB would send it off instead of waiting for the latency timer to trip. > ------ > > So.... this still doesn't solve my problem with hang-ups and lags, but it > did give me a place to start. Basically, I have started poking around > inside the FTDIUSBSerialDriver.kext file found in > /System/Library/Extensions/ folder. If your device is not showing up with > the "DriverNames" function then it's probably not in the FTDI driver's > 'info.plist' file. In which case, you would have to create a new entry in > the info.plist file for your specific device. That's a whole-nutha-level of > trial and error which I'm staring to figure out a little bit. Feel free to > contact me off topic if you are interested in how to do this or maybe we can > start another thread. > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/usb-driver-problem-tp3219220p3232620.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Sun Jan 23 10:59:34 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sun, 23 Jan 2011 10:59:34 -0500 Subject: usb driver problem In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> Message-ID: <2FDF08CB-2FCC-4E52-B3CA-0383635BFCF2@mac.com> This is the part that gets me. If you were able to get it working in 10.5 then what has changed in 10.6 ????? I don't have 10.5 to test. I am curious if LC knows what might have changed and if they have accounted for it in these newer versions of LC? They may not even be aware of a problem if there is a problem. This might be a bug??? Thoughts? -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 23, 2011, at 5:46 AM, Claudi Cornaz wrote: > > Tom which version of OSX are you using, since with 10.5 I can send and recieve in livecode but alas with 10.6 not yet. From mcgrath3 at mac.com Sun Jan 23 11:02:15 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sun, 23 Jan 2011 11:02:15 -0500 Subject: usb driver problem In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> Message-ID: Also, I was under the impression that the 3d11 was a serial number from the Arduino forums but maybe they were wrong about that. I wonder if that is a registration number of that port as it were. So two different numbers on two OS's or machines would be normal. Still no answer though. More research... -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 23, 2011, at 5:46 AM, Claudi Cornaz wrote: > With 10.5 the /dev/cu.usbmodem3d11 driver gets installed > and with 10.6 it's the /dev/cu.usbmodem3a21 driver. From irog at mac.com Sun Jan 23 11:32:43 2011 From: irog at mac.com (Roger Guay) Date: Sun, 23 Jan 2011 09:32:43 -0700 Subject: use-livecode Digest, Vol 88, Issue 55 In-Reply-To: References: Message-ID: <1C2159AE-12E7-4B82-9FA2-B6829E28ECA6@mac.com> Thanks for your feedback, David (and Klaus). I'm certain that you could pull it apart and add to it, but I thought it might be fun to add the ability for users to add events to it without pulling it apart. I'll certainly give that some thought. And a "play" function sounds interesting too. Hmmm.... As to size, I felt that the bigger problem for something like this was to keep the byte size down, what with all of the images needed for it. Hence, the images were kept to a minimum size, which led to the size of the TimeScope etc. My wife, wants me to convert this to an iPad app, but I haven't gotten very far with that whole arena . . . yet. Thanks and cheers, Roger On Jan 23, 2011, at 7:34 AM, use-livecode-request at lists.runrev.com wrote: > Message: 13 > Date: Sun, 23 Jan 2011 10:08:18 +0000 > From: David Bovill > To: How to use LiveCode > Subject: Re: [ANN] TimeMachine > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > Thanks for that Roger - great work. I got a good impression of the overall > scope of time playing with this. I wish I could pull it apart and add to it! > > Some feedback: first on the size of the app, I think it is both too small > and too big. I certainly wanted it larger - the design was too small to get > a good feel for the subject (on my laptop), but at the same time the design > is too big for an iPhone (NB - I think it would make a great liitle iPhone / > iPOD app). Secondly I think a "play" function would be nice to sit back and > watch? > > On 23 January 2011 03:12, Roger Guay wrote: > >> My goal for TimeMachine was to explore a truer perspective of the >> timescales of events relative to the enormous 13.7 billion year age of the >> universe. As an example, the entire history of human existence is like 7 >> seconds on a clock scaled to 14 billion years. TimeMachine will allow you to >> select various timescales, and then move through that time span to view >> images of well-known events. >> >> My apologies for not being able to upload this stack to RevOnline due to >> unknown technical difficulties. But, I really want to share this stack. So, >> you may download it by going to the download page of my website at >> >> >> http://web.me.com/irog/Roger_Guay/Downloads.html >> >> As usual, I want to thank the LiveCode community for many of the ideas, >> techniques, tricks etc. that you'll find in TimeMachine. You folks are a >> total inspiration to me, and I hope you will enjoy this stack as much as I >> enjoyed building it. >> >> Cheers, >> Roger > From david at vaudevillecourt.tv Sun Jan 23 12:09:26 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Sun, 23 Jan 2011 17:09:26 +0000 Subject: use-livecode Digest, Vol 88, Issue 55 In-Reply-To: <1C2159AE-12E7-4B82-9FA2-B6829E28ECA6@mac.com> References: <1C2159AE-12E7-4B82-9FA2-B6829E28ECA6@mac.com> Message-ID: Not just your wife :) On 23 January 2011 16:32, Roger Guay wrote: > > As to size, I felt that the bigger problem for something like this was to > keep the byte size down, what with all of the images needed for it. Hence, > the images were kept to a minimum size, which led to the size of the > TimeScope etc. My wife, wants me to convert this to an iPad app, but I > haven't gotten very far with that whole arena . . . yet. > From richmondmathewson at gmail.com Sun Jan 23 12:14:17 2011 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 23 Jan 2011 19:14:17 +0200 Subject: use-livecode Digest, Vol 88, Issue 55 In-Reply-To: References: <1C2159AE-12E7-4B82-9FA2-B6829E28ECA6@mac.com> Message-ID: <4D3C61E9.4090901@gmail.com> On 01/23/2011 07:09 PM, David Bovill wrote: > Not just your wife :) > > On 23 January 2011 16:32, Roger Guay wrote: > >> As to size, I felt that the bigger problem for something like this was to >> keep the byte size down, what with all of the images needed for it. Hence, >> the images were kept to a minimum size, which led to the size of the >> TimeScope etc. My wife, wants me to convert this to an iPad app, but I >> haven't gotten very far with that whole arena . . . yet. >> > Wives, byte sizes, conversion . . . almost as inflammatory words as 'cheese' . . . :) I do feel that, with the advent of computers with bucketloads of RAM and socking-great hard disks the virtue of trying to keep ones files small has got lost. With the advent of a new generation of micro-computer (phones, mp4 players, and so on), that virtue may not be seen as quite as redundant as people have been thinking recently. From mwieder at ahsoftware.net Sun Jan 23 12:27:59 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 23 Jan 2011 09:27:59 -0800 Subject: use-livecode Digest, Vol 88, Issue 55 In-Reply-To: <4D3C61E9.4090901@gmail.com> References: <1C2159AE-12E7-4B82-9FA2-B6829E28ECA6@mac.com> <4D3C61E9.4090901@gmail.com> Message-ID: <129607266250.20110123092759@ahsoftware.net> Richmond- Sunday, January 23, 2011, 9:14:17 AM, you wrote: > With the advent of a new generation of micro-computer (phones, mp4 > players, and so on), > that virtue may not be seen as quite as redundant as people have been > thinking recently. You and I are old enough to remember when squeezing bytes out of a program was something to strive for. The Company That Shall Not Be Named changed all that when they invented MSBloatware(tm) and unfortunately the rest of the world followed suit. And modern CS courses concentrate on top-down design these days at the expense of code efficiency and elegance. Even in embedded systems it's no longer as necessary to count bytes these days. I'm still upset about having to carry around all the baggage of the LC engine for a small standalone program. In the pre-4.0 days I could write a simple script that would invoke the engine and run. -- -Mark Wieder mwieder at ahsoftware.net From capellan2000 at gmail.com Sun Jan 23 13:39:25 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 23 Jan 2011 10:39:25 -0800 (PST) Subject: Show Linktext on mousemove Message-ID: <1295807965510-3232843.post@n4.nabble.com> Hi all, I put this script in a locked field (named "LinkedTextExample"), to show the actual link text in another field (named "ActualLink"), placed at the bottom of the locked field. But randomly this script produces an error like this: field "LinkedTextExample": execution error at line 2 (Chunk: no target found), char 57 on mousemove if the hilite of button "ShowLinkText" and the linktext of the mousetext <> empty then put "Actual link is: " & the linktext of the mousetext into fld "ActualLink" set the textcolor of char 44 to -1 of fld "ActualLink" to blue else put empty into fld "ActualLink" end if end mousemove Sometimes, it seems that the error is triguered by moving quickly the mouse pointer over the locked field. Does exists a safer way to show the linked text, than using a mousemove handler? Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Show-Linktext-on-mousemove-tp3232843p3232843.html Sent from the Revolution - User mailing list archive at Nabble.com. From Camm29 at tesco.net Sun Jan 23 14:34:16 2011 From: Camm29 at tesco.net (Camm) Date: Sun, 23 Jan 2011 19:34:16 -0000 Subject: Reading Ascii Char 248 ? the degress sign Message-ID: <000001cbbb34$86059f40$9210ddc0$@net> I am reading blocks of text via a socket ..... data is from wind direction unit. It fails to process Ascii char 248 , the degrees sign , how can I read the extended chars. Help !! Regards Camm From richmondmathewson at gmail.com Sun Jan 23 14:41:07 2011 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 23 Jan 2011 21:41:07 +0200 Subject: Reading Ascii Char 248 ? the degress sign In-Reply-To: <000001cbbb34$86059f40$9210ddc0$@net> References: <000001cbbb34$86059f40$9210ddc0$@net> Message-ID: <4D3C8453.4050206@gmail.com> On 01/23/2011 09:34 PM, Camm wrote: > I am reading blocks of text via a socket ..... data is from wind direction > unit. > > > > It fails to process Ascii char 248 , the degrees sign , how can I read the > extended chars. > > > > Help !! > > > > Regards > > Camm > > You won't like this: You will probably have to use numToChar and charToNum [all described reasonably well in the documentation]. From massung at gmail.com Sun Jan 23 14:55:52 2011 From: massung at gmail.com (Jeffrey Massung) Date: Sun, 23 Jan 2011 12:55:52 -0700 Subject: Show Linktext on mousemove In-Reply-To: <1295807965510-3232843.post@n4.nabble.com> References: <1295807965510-3232843.post@n4.nabble.com> Message-ID: I have never experienced an error like this and I do something similar all the time in my stack. One difference between your code and my code is that I get the linkText like so: get the linkText of the mouseCharChunk Instead of using the mouseText. I don't know if there's a difference here in what the engine -should- do, but you may want to try the mouseCharChunk and see if that fixes your problem. Jeff M. On Jan 23, 2011, at 11:39 AM, Alejandro Tejada wrote: > > Hi all, > > I put this script in a locked field (named "LinkedTextExample"), > to show the actual link text in another field (named "ActualLink"), > placed at the bottom of the locked field. > > But randomly this script produces an error like this: > > field "LinkedTextExample": execution error at line 2 > (Chunk: no target found), char 57 > > on mousemove > if the hilite of button "ShowLinkText" and the linktext of the mousetext > <> empty > then > put "Actual link is: " & the linktext of the mousetext into fld > "ActualLink" > set the textcolor of char 44 to -1 of fld "ActualLink" to blue > else > put empty into fld "ActualLink" > end if > end mousemove > > Sometimes, it seems that the error is triguered by moving quickly > the mouse pointer over the locked field. > > Does exists a safer way to show the linked text, than using > a mousemove handler? > > Thanks in advance! > > Al > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Show-Linktext-on-mousemove-tp3232843p3232843.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 massung at gmail.com Sun Jan 23 14:55:52 2011 From: massung at gmail.com (Jeffrey Massung) Date: Sun, 23 Jan 2011 12:55:52 -0700 Subject: Show Linktext on mousemove In-Reply-To: <1295807965510-3232843.post@n4.nabble.com> References: <1295807965510-3232843.post@n4.nabble.com> Message-ID: I have never experienced an error like this and I do something similar all the time in my stack. One difference between your code and my code is that I get the linkText like so: get the linkText of the mouseCharChunk Instead of using the mouseText. I don't know if there's a difference here in what the engine -should- do, but you may want to try the mouseCharChunk and see if that fixes your problem. Jeff M. On Jan 23, 2011, at 11:39 AM, Alejandro Tejada wrote: > > Hi all, > > I put this script in a locked field (named "LinkedTextExample"), > to show the actual link text in another field (named "ActualLink"), > placed at the bottom of the locked field. > > But randomly this script produces an error like this: > > field "LinkedTextExample": execution error at line 2 > (Chunk: no target found), char 57 > > on mousemove > if the hilite of button "ShowLinkText" and the linktext of the mousetext > <> empty > then > put "Actual link is: " & the linktext of the mousetext into fld > "ActualLink" > set the textcolor of char 44 to -1 of fld "ActualLink" to blue > else > put empty into fld "ActualLink" > end if > end mousemove > > Sometimes, it seems that the error is triguered by moving quickly > the mouse pointer over the locked field. > > Does exists a safer way to show the linked text, than using > a mousemove handler? > > Thanks in advance! > > Al > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Show-Linktext-on-mousemove-tp3232843p3232843.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Sun Jan 23 15:48:11 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 23 Jan 2011 12:48:11 -0800 (PST) Subject: Show Linktext on mousemove In-Reply-To: References: <1295807965510-3232843.post@n4.nabble.com> Message-ID: <1295815691659-3233005.post@n4.nabble.com> Hi Jeff, I found a reliable way to recreate the error everytime. The condition that trigguers the error occurs only when mouseText (or mouseCharChunk) is empty. Adding another condition: "the mousetext is not empty" to IF, THEN, ELSE solves the error: on mousemove if the hilite of button "ShowLinkText" and the mousetext <> empty and \ the linktext of the mousetext <> empty then put "Actual link is: " & the linktext of the mousetext into fld "ActualLink" set the textcolor of char 44 to -1 of fld "ActualLink" to blue else put empty into fld "ActualLink" end if end mousemove Many thanks for your idea, Jeff! :-) Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Show-Linktext-on-mousemove-tp3232843p3233005.html Sent from the Revolution - User mailing list archive at Nabble.com. From jhj at jhj.com Sun Jan 23 16:57:38 2011 From: jhj at jhj.com (Jerry J) Date: Sun, 23 Jan 2011 13:57:38 -0800 Subject: usb driver problem In-Reply-To: <655D7C24-63FF-434F-81A0-98C01C4D86C5@mac.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> <90570741250.20110122231914@ahsoftware.net> <655D7 C24-63FF-434F-81A0-98C01C4D86C5@mac.com> Message-ID: On Jan 23, 2011, at 7:09 AM, Thomas McGrath III wrote: > Jerry, > > Maybe you can answer this? The Arduino ide prefers to use the cu.usbmodem* and some of the tests I have done in LC have shown that the tty.usbmodem* is the better choice for receiving data from the Arduino Uno and the cu.usbmodem* when trying to send. I am not sure what the difference between the two of them are and why LC prefers the tty for receiving and the cu for sending??? And my test are suspect to begin with due to a lack of understanding at the start into this wonderful world of serial communications. I don't have much experience with UNIX drivers, or how they're named. I can guess what tty is short for, but no clue about cu. As for the chars at the end (like 3d11 or 3a21) are those identifiers assigned by UNIX to be sure each driver is unique? I know that happens with disk names, but its just a guess here. Over to you, UNIX guts gurus! --Jerry From davidocoker at gmail.com Sun Jan 23 18:05:22 2011 From: davidocoker at gmail.com (David C.) Date: Sun, 23 Jan 2011 17:05:22 -0600 Subject: usb driver problem In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> <90570741250.20110122231914@ahsoftware.net> <655D7C24-63FF-434F-81A0-98C01C4D86C5@mac.com> Message-ID: > I don't have much experience with UNIX drivers, or how they're named. I can guess what tty is short for, but no clue about cu. This resource may be helpful to ya: http://www.computerhope.com/unix/ucu.htm Best regards, David C. From claudi.c at fiberworld.nl Sun Jan 23 18:15:13 2011 From: claudi.c at fiberworld.nl (Claudi Cornaz) Date: Mon, 24 Jan 2011 00:15:13 +0100 Subject: usb driver problem In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> <90570741250.20110122231914@ahsoftware.net> <655D7 C24-63FF-434F-81A0-98C01C4D86C5@mac.com> Message-ID: <620259BF-617F-4E9F-B83E-F864B4BE8591@fiberworld.nl> Hello all, It's good to see this thread is picking up some steam, because this could realy be something LC could shine in. A easy and powerful environment to control all things around us, motors, sensors, solarpanels, your thermostat, you name it, the sky is the limit. Ok, it's getting strange now. On my macbook with os 10.5.8 and my test stack sending and the aduino echoing all goes well, more or less. Now I uploaded a scetch where the arduino does the sending all on it's own with: Serial.print,("Hello world"); Serial.print("some more"); delay(300); I seem to recieve nothing. No I send something and suddenly I see a lot of "hello world some more" and then livecode freezes up and crashes hard. It just quits. So there defenitly seems to be a problem with LC. I even tryed a try clause around the recieving code but no avail what soever. It's just a hard crash. LC 4.5.3,LC 4.5.2 and LC 4.5.1 Now I changed the arduino scetch a bit and it does just Serial.print("1"); Now initialy I don't seem to recieve anything (using read from driver send at regular intervals) Next I send a char to the arduino and suddenly I recieve a lot of one's first there are a lot on one line ( each succesive read is on a new line so these were in the buffer and read in one go) then some 1 on one line and sometimes there are two 1 on one line. ( I scan the input each half sec's and send every 300 millisecs so this looks ok) This raises at least 2 questions: 1. Why do I need a send at least one char before I can recieve? 2. Why does LC crash when I do? Serial.print,("Hello world"); Serial.print("some more"); After a bit more expirimentation I discovered that I can send up to "hello " chars and all works fine with 10.5.8 one char more and troubles start, LC crashes. Well it's a bit more complex. I now send "hello" every 300 millisecs. In LC I read the port every sec ( to build up in the buffer). So as soon as I send a char to start recieving ( I know this is strange but somehow needs to be done) I recieve a lot of hello's as one block then they trickle in but very soon LC will just crash hard. I'll do some more sleuthing and post the results as soon as I have some time. LC just crashes all the while after recieving now. I think I need some sleep. It just drives me crazy. This seems to me a big problem 'cause LC could be a great environment just for this kind of stuff. Specialy with the firmata project of arduino which, if I understand it correctly will allow people to use the arduino without need to learn to programming the thing. It will just expose/make accesible all the pins of the ardiuino to the environment like LC. This means you can configuer each pin and read and write to each pin on the arduino completly from within LC. No programming of the arduino required A great opportunity which could open up a exciting new world: interaction with the outer world without learning a new language. LC realy should not just crash and dye on us in this horribly way when reading from a driver or file as serial port. Another question: where are these drivers installed on my disk? Perhaps I could swap the 10.5/x version with the 10.6.x version to see if that will help. No idea but I am willing to try anything. (When installing choosing custom I can see there are 2 different drivers but one is always greyed out. A different one is greyed out for 10.5.x and 10.6.x) I read somewhere there is also some kex file or something like that. Anyone any idea's? Lots of succes, Claudi On 23 jan 2011, at 22:57, Jerry J wrote: > On Jan 23, 2011, at 7:09 AM, Thomas McGrath III wrote: > >> Jerry, >> >> Maybe you can answer this? The Arduino ide prefers to use the cu.usbmodem* and some of the tests I have done in LC have shown that the tty.usbmodem* is the better choice for receiving data from the Arduino Uno and the cu.usbmodem* when trying to send. I am not sure what the difference between the two of them are and why LC prefers the tty for receiving and the cu for sending??? And my test are suspect to begin with due to a lack of understanding at the start into this wonderful world of serial communications. > > I don't have much experience with UNIX drivers, or how they're named. I can guess what tty is short for, but no clue about cu. As for the chars at the end (like 3d11 or 3a21) are those identifiers assigned by UNIX to be sure each driver is unique? I know that happens with disk names, but its just a guess here. Over to you, UNIX guts gurus! > > --Jerry > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From claudi.c at fiberworld.nl Sun Jan 23 18:21:28 2011 From: claudi.c at fiberworld.nl (Claudi Cornaz) Date: Mon, 24 Jan 2011 00:21:28 +0100 Subject: usb driver problem In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> <90570741250.20110122231914@ahsoftware.net> <655D7C24-63FF-434F-81A0-98C01C4D86C5@mac.com> Message-ID: Anybody know where to look for the crash log of LC? Perhaps this might give a clue. I opened up console but didn't find the relevant part to look. Best wishes, Claudi From jhj at jhj.com Sun Jan 23 18:27:14 2011 From: jhj at jhj.com (Jerry J) Date: Sun, 23 Jan 2011 15:27:14 -0800 Subject: usb driver problem In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> <90570741250.20110122231914@ahsoftware.net> <655D7 C24-63FF-434F-81A0-98C01C4D86C5@mac.com> Message-ID: <8E8C596B-4378-44B6-9DE4-69A2AC924C77@jhj.com> On Jan 23, 2011, at 3:05 PM, David C. wrote: >> I don't have much experience with UNIX drivers, or how they're named. I can guess what tty is short for, but no clue about cu. > > This resource may be helpful to ya: > http://www.computerhope.com/unix/ucu.htm The first two hits when googling /dev/cu explain some things, not necessarily help... --Jerry From jmyepes at mac.com Sun Jan 23 19:25:23 2011 From: jmyepes at mac.com (JosepM) Date: Sun, 23 Jan 2011 16:25:23 -0800 (PST) Subject: Move many buttons all at same time In-Reply-To: <88A20AE0-C525-473E-AD55-C7AA481FAE97@derbrill.de> References: <1295607871260-3229365.post@n4.nabble.com> <88A20AE0-C525-473E-AD55-C7AA481FAE97@derbrill.de> Message-ID: <1295828723051-3233222.post@n4.nabble.com> Hi Malte, The outer repeat loop is for perform the movement of the buttons, I have X buttons that move from a initial position to a position-1, then when all the X buttons finish the movement, all move to position-2, position-3, position-n until the last position. But all the buttons must perform the movement at same time. The user move the buttons and save the positions, move again and save again. "f_punts" have the location and the object name. Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Move-many-buttons-all-at-same-time-tp3229365p3233222.html Sent from the Revolution - User mailing list archive at Nabble.com. From jmyepes at mac.com Sun Jan 23 19:27:27 2011 From: jmyepes at mac.com (JosepM) Date: Sun, 23 Jan 2011 16:27:27 -0800 (PST) Subject: AnimationEngine: How to include into iOS project? Message-ID: <1295828847047-3233223.post@n4.nabble.com> Hi, How I must include AEngine stack into my iOS project? Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/AnimationEngine-How-to-include-into-iOS-project-tp3233223p3233223.html Sent from the Revolution - User mailing list archive at Nabble.com. From revolution at derbrill.de Sun Jan 23 20:03:46 2011 From: revolution at derbrill.de (Malte Brill) Date: Mon, 24 Jan 2011 02:03:46 +0100 Subject: AnimationEngine: How to include into iOS project? In-Reply-To: References: Message-ID: Hi Josep, easiest way is to make AE a substack of your mainstack. Open the messagebox and type: set the mainstack of stack "animationEngine" to "nameOfYourStackHere" You could also add it using the standalone application settings: standalone application settings -> copy files If you choose the former add start using stack "animationEngine" somewhere sensible (like in openStack) If u sing the latter: start using stack (specialfolderpath("engine")&"/path/to/ae") where path/to/ae depends on the folder structure you were adding the file from. Hope that helps, Malte From pete at mollysrevenge.com Sun Jan 23 20:35:36 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Sun, 23 Jan 2011 17:35:36 -0800 Subject: Weird Save/Quit behavior Message-ID: I just finished making some widespread changes to around 50 or so scripts of controls in various substacks of my main stack. After compiling them and cIosing their script editor windows, I selected Save from the File menu and got a window listing the main stack and every one of its substacks, claiming it was saving them all. Then I quit the application. LC opened up every stack with a script in it that had been changed (and presumably saved) and asked me if I wanted to save it!! In the past, I've complained about being able to quit LC and not always getting a warning about the need to save. Maybe LC is making up for those occasions by needlessly saving everything twice! Pete Haworth From scott at tactilemedia.com Mon Jan 24 01:55:00 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 23 Jan 2011 22:55:00 -0800 Subject: iOS Simulator Thinks It's an iPad? Message-ID: Hey all, I'm having the reverse of the problem Colin recently had with the iOS simulator. Instead being unable to get the simulator to display in iPad format, I'm unable to get it to display in iPhone/iPod format. It's stuck in iPad format when previewing an iPhone sized stack. I've done all the expected stuff: selected iPhone in the Hardware>Device menu, Reset Content and Settings, triple checked the standalone settings of my stack (Supported Devices: iPod and iPhone), restarted LC half a dozen times, and no matter what, the simulator opens in iPad format. The only way I've been able to test my stacks is to enable 2x view in the iPad-sized simulator. Any suggestions on how to get the simulator to forget the iPad settings? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX Design From ruslan_zasukhin at valentina-db.com Mon Jan 24 02:34:46 2011 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Mon, 24 Jan 2011 09:34:46 +0200 Subject: Ivalentina (iphone/ipad) APPROVED to AppStore, It is FREE. Message-ID: Hi All, You can find it here iphone: http://itunes.apple.com/app/ivalentina/id415381086?mt=8 iPAD http://itunes.apple.com/app/ivalentina-for-ipad/id415367982?mt=8 ----------- IValentina requires a Valentina Server. So if you use any Valentina Server, you may find it useful. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From fredi at gerts.ch Mon Jan 24 02:48:57 2011 From: fredi at gerts.ch (Fredi Gertsch) Date: Mon, 24 Jan 2011 08:48:57 +0100 Subject: Trev editor Message-ID: Does anybody know whats happen with the trev editor? Fredi Gertsch Sent from my iPhone From janschenkel at yahoo.com Mon Jan 24 05:22:36 2011 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 24 Jan 2011 02:22:36 -0800 (PST) Subject: Trev editor In-Reply-To: Message-ID: <980409.76423.qm@web65406.mail.ac4.yahoo.com> --- On Sun, 1/23/11, Fredi Gertsch wrote: > Does anybody know whats happen with > the trev editor? > > Fredi Gertsch > tRev is now Remo: 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 alex at tweedly.net Mon Jan 24 05:39:44 2011 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 24 Jan 2011 10:39:44 +0000 Subject: Trev editor In-Reply-To: References: Message-ID: <4D3D56F0.4090809@tweedly.net> It got renamed to Remo, and can be found at http://remoeditor.com/ Remo is now Mac only - Windows was proving too hard for them to support. If you are unfortunately limited to Windows, you should look into GLX2 instead (see the archves of this list for recent postings, it is now open source) -- Alex. On 24/01/2011 07:48, Fredi Gertsch wrote: > Does anybody know whats happen with the trev editor? > > Fredi Gertsch > > Sent from my iPhone > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From keith.clarke at clarkeandclarke.co.uk Mon Jan 24 06:32:47 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Mon, 24 Jan 2011 11:32:47 +0000 Subject: Feature support by deployment type - the state of the art? In-Reply-To: References: <159E9E19-5390-4FB1-9083-3E16C271A54F@clarkeandclarke.co.uk> Message-ID: <05A53204-11B4-487D-BBDE-F6D6333E987D@clarkeandclarke.co.uk> David, I'm looking forward to the discussion next week - and also a better mechanisms for shared content. Thanks for taking the initiative on that. However, whilst a wiki might help with 'How-to' documentation, I'm not sure it would be the ideal solution to address the core data and process management issues here. There is a need for structure and clarity around entities (platforms, controls, components, script features, etc), relationships (e.g. the degree of feature support) and implications of change. These suggest the need for cross-referencing, tables and therefore a core 'database' to me. Indeed, many questions and information gaps (and potential wiki content) are around inner vs. outer joins - "Does this component run on this deployment?", "Exactly what does 'cross-platform' mean for this component?" So, maybe a core database with relationships and structured data, could link out to comments, extended commentary and other wiki-style verbose content to answer formally structured questions such as - "How do I do function 'A' with component 'B' if deploying to environment 'C'?", together with loosely structured questions "What components could I consider buying to save building functions 'x', 'y' and 'z'?". Back to my original question, it would have been nice to see in the RunRev Store a simple table of which third-party components can be deployed where but I guess anything that risks shattering the illusion of universality is against RunRev's interests, so I won't hold my breath. ;-) Best, Keith.. On 23 Jan 2011, at 13:37, David Bovill wrote: > On 23 January 2011 12:56, Keith Clarke > wrote: > >> >> Yesterday's Live LiveCode Code event sessions touched on documentation and >> wiki possibilities. Whilst a key focus here will be on improving the 'What?' >> and the 'How?' of using LiveCode's functions, could there be room for these >> issue of Where/When/Whether to use functions, controls, externals, third >> party components, etc., by deployment type? >> > > Hi Keith, I agree with you, and it is a central part of the content that I > think we need. Where/When/Whether translates for me to: > > - Where - an updated snapshot of supported platforms, what is and what is > not supported in terms of features > - When - an updated roadmap of features. The hard facts, and the soft > directions. > - Whether - things you should and should not plan for in a project. > Rumours vs best practice > > These elements are possible to address, as part of a general community > publication, but I think there are not enough resources for this as a > standalone publication. I believe they should be associated with the > existing documentation, and linked to an open source publication of useful > code, libraries and widgets. > > At the next LiveCode TV event, I'll show the new distributed wiki, and how > that can glue the documentation, code samples and your Where/When/Whether > together in a way in which everyone has there own local content, but sharing > is transparently done in the background. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david at vaudevillecourt.tv Mon Jan 24 07:16:25 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Mon, 24 Jan 2011 12:16:25 +0000 Subject: Feature support by deployment type - the state of the art? In-Reply-To: <05A53204-11B4-487D-BBDE-F6D6333E987D@clarkeandclarke.co.uk> References: <159E9E19-5390-4FB1-9083-3E16C271A54F@clarkeandclarke.co.uk> <05A53204-11B4-487D-BBDE-F6D6333E987D@clarkeandclarke.co.uk> Message-ID: On 24 January 2011 11:32, Keith Clarke wrote: > > However, whilst a wiki might help with 'How-to' documentation, I'm not sure > it would be the ideal solution to address the core data and process > management issues here. There is a need for structure and clarity around > entities (platforms, controls, components, script features, etc), > relationships (e.g. the degree of feature support) and implications of > change. These suggest the need for cross-referencing, tables and therefore a > core 'database' to me. Indeed, many questions and information gaps (and > potential wiki content) are around inner vs. outer joins - "Does this > component run on this deployment?", "Exactly what does 'cross-platform' mean > for this component?" > Exactly! But I believe we can have all this without reaching out immediately for a database solution. The solution I am working on has the documentation and code both in the repository. That way you can simply rewind to any particular IDE engine release to see the documentation and code suitable for that environment. Moving forwards any new features added to the engine and IDE would be documented by the community based on the release notes, and linked to tickets for bug fixing. As the bugs get fixed and questions answered these would get moved into the documentation wiki. Official releases would be tagged, and users would be able to work within a tagged release branch, or in a beta environment branch. The thought is to use branches for different specific use cases. From pushing at the boundaries of what is possible with distributed version control and git in particular, it would appear that the technical infrastructure is there to support all these issues - but that the specific use case demands using branching and other features to deal with the particulars of multi-platform development. This approach will rely on getting the usability issues right, and shielding the intricacies of the repository from the causal developer - but in principle they should be able to work in a branch that is specific to a platform or combination of platforms. I should also note that as the code and documentation would be in the repository - this does not exclude the use of the sort of databases you indicate. The current implementation is going to use sqlite to hold both the repository itself and various indexes used to search it. I feel this can be built on. Ideally, in order for this to be of use for people with older licenses, I would import a historical series of snapshots, which would allow people with older versions to work. There are many aspects of this that I am unclear about, with regards to how branching and merging, and other features or distributed repositories can be used in this mix - but the initial benefits are simple and clear - shared collaborative code and documentation that is available offline and easy to customise to local needs. So, maybe a core database with relationships and structured data, could link > out to comments, extended commentary and other wiki-style verbose content to > answer formally structured questions such as - "How do I do function 'A' > with component 'B' if deploying to environment 'C'?", together with loosely > structured questions "What components could I consider buying to save > building functions 'x', 'y' and 'z'?". > I'm certainly open to building a database on top of the version controlled documentation and code. This db is more advanced that I am practiced at building, and if you have any tips / input that would be great. For now I am exporting the vital information that needs versioning as text files, and indexing these in sqlite. This should be a solid basis to build more extensive queries on. Back to my original question, it would have been nice to see in the RunRev > Store a simple table of which third-party components can be deployed where > but I guess anything that risks shattering the illusion of universality is > against RunRev's interests, so I won't hold my breath. ;-) > There is a sensitive issue for RunRev here - and an approach where the community can offer on a separate site an analysis of this issues, which is open to investigation by any interested party but clearly separate from marketing and / or official company policy is a way in which all parties can have their cheese and eat it. From lists at mangomultimedia.com Mon Jan 24 08:40:43 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 24 Jan 2011 08:40:43 -0500 Subject: Datagrid question In-Reply-To: <8B74AC91-780E-4B3A-AABD-868CC2EA03AD@mollysrevenge.com> References: <8B74AC91-780E-4B3A-AABD-868CC2EA03AD@mollysrevenge.com> Message-ID: On Sat, Jan 22, 2011 at 4:21 PM, Peter Haworth wrote: > I've put together a mouseDown handler that displays a stack window > immediately below a datagrid column when the user right clicks on that > column. Right now it's in the group script of the datagrid. > The dg manual says there is a default header behavior property so set that > to the id of a button that includes my mousedown handler since I want this > to be available to all the dataggrids in my app but the mousedown event > never reaches my mousedown handler a breakpoint set at the start of it never > gets triggered. > The mouseDown message may not reach the data grid group in all cases. For example, I know it is not passed during column resizing operations. You should add the mouseDown message to the "default header behavior" if you want to process it. This lesson shows how to customize the header behavior in order to add tooltips. Just follow the instructions but add your mouseDown handler rather than the tooltip code. http://lessons.runrev.com/spaces/lessons/manuals/datagrid_tips/lessons/7351-How-Do-I-Add-Tooltips-To-Column-Headers- -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com LiveCode Resources for Developers: http://livecode.bluemangolearning.com From lists at mangomultimedia.com Mon Jan 24 08:43:54 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 24 Jan 2011 08:43:54 -0500 Subject: revFontLoad Question In-Reply-To: <4D3B42CF.3080604@comcast.net> References: <4D3B42CF.3080604@comcast.net> Message-ID: On Sat, Jan 22, 2011 at 3:49 PM, Marty Knapp wrote: > I want to package a font with my Mac only app and use revFontLoad to load > it into memory. Is there a problem with just tucking it inside the > application bundle and loading it from there? Or should I put it into a > custom property and then write it out to the user's hard drive and put it > into use from there? > > My preliminary tests show that it works from inside the bundle. I'm just > wondering if there's something that I'm not aware of that would make this a > bad idea. > Hi Marty, I include a password font with some of my applications that I load with revFontLoad. I store the file in the bundle alongside my application stacks. I've never had any issues reported on OS X and I've been doing this for at least 2 years. -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com LiveCode Resources for Developers: http://livecode.bluemangolearning.com From keith.clarke at clarkeandclarke.co.uk Mon Jan 24 11:12:16 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Mon, 24 Jan 2011 16:12:16 +0000 Subject: Feature support by deployment type - the state of the art? In-Reply-To: References: <159E9E19-5390-4FB1-9083-3E16C271A54F@clarkeandclarke.co.uk> <05A53204-11B4-487D-BBDE-F6D6333E987D@clarkeandclarke.co.uk> Message-ID: David, I concur with everything you're suggesting. I deliberately put 'database' in quotes as it's the relational data concept, rather than the specific technology for persistence that I had in mind. Sorry but I can't help too much with any database issues - or any other technical areas really - my interest is at a more functional than technical level. I asked the original question as I'd like to add to my toolkit of high-level LiveCode components that I buy, apply and integrate, rather than have to code from scratch. Of course, the use of these high-level components would bring added complexity around the combinations and permutations of functional blocks that might create forking/branching of documentation - and not just at the feature/function level, as (for example) ChartMaker and ChartEngine would doubtless have different internals and 'API' to perform similar functions, as would Data Tree vs. rTree and similar variations on a theme. Best, Keith.. On 24 Jan 2011, at 12:16, David Bovill wrote: > On 24 January 2011 11:32, Keith Clarke > wrote: > >> >> However, whilst a wiki might help with 'How-to' documentation, I'm not sure >> it would be the ideal solution to address the core data and process >> management issues here. There is a need for structure and clarity around >> entities (platforms, controls, components, script features, etc), >> relationships (e.g. the degree of feature support) and implications of >> change. These suggest the need for cross-referencing, tables and therefore a >> core 'database' to me. Indeed, many questions and information gaps (and >> potential wiki content) are around inner vs. outer joins - "Does this >> component run on this deployment?", "Exactly what does 'cross-platform' mean >> for this component?" >> > > Exactly! But I believe we can have all this without reaching out immediately > for a database solution. > > The solution I am working on has the documentation and code both in the > repository. That way you can simply rewind to any particular IDE engine > release to see the documentation and code suitable for that environment. > > Moving forwards any new features added to the engine and IDE would be > documented by the community based on the release notes, and linked to > tickets for bug fixing. As the bugs get fixed and questions answered these > would get moved into the documentation wiki. Official releases would be > tagged, and users would be able to work within a tagged release branch, or > in a beta environment branch. > > The thought is to use branches for different specific use cases. From > pushing at the boundaries of what is possible with distributed version > control and git in particular, it would appear that the technical > infrastructure is there to support all these issues - but that the specific > use case demands using branching and other features to deal with the > particulars of multi-platform development. > > This approach will rely on getting the usability issues right, and shielding > the intricacies of the repository from the causal developer - but in > principle they should be able to work in a branch that is specific to a > platform or combination of platforms. > > I should also note that as the code and documentation would be in the > repository - this does not exclude the use of the sort of databases you > indicate. The current implementation is going to use sqlite to hold both the > repository itself and various indexes used to search it. I feel this can be > built on. > > Ideally, in order for this to be of use for people with older licenses, I > would import a historical series of snapshots, which would allow people with > older versions to work. > > There are many aspects of this that I am unclear about, with regards to how > branching and merging, and other features or distributed repositories can be > used in this mix - but the initial benefits are simple and clear - shared > collaborative code and documentation that is available offline and easy to > customise to local needs. > > So, maybe a core database with relationships and structured data, could link >> out to comments, extended commentary and other wiki-style verbose content to >> answer formally structured questions such as - "How do I do function 'A' >> with component 'B' if deploying to environment 'C'?", together with loosely >> structured questions "What components could I consider buying to save >> building functions 'x', 'y' and 'z'?". >> > > I'm certainly open to building a database on top of the version controlled > documentation and code. This db is more advanced that I am practiced at > building, and if you have any tips / input that would be great. For now I am > exporting the vital information that needs versioning as text files, and > indexing these in sqlite. This should be a solid basis to build more > extensive queries on. > > Back to my original question, it would have been nice to see in the RunRev >> Store a simple table of which third-party components can be deployed where >> but I guess anything that risks shattering the illusion of universality is >> against RunRev's interests, so I won't hold my breath. ;-) >> > > There is a sensitive issue for RunRev here - and an approach where the > community can offer on a separate site an analysis of this issues, which is > open to investigation by any interested party but clearly separate from > marketing and / or official company policy is a way in which all parties can > have their cheese and eat 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 jacque at hyperactivesw.com Mon Jan 24 11:50:45 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 Jan 2011 10:50:45 -0600 Subject: Feature support by deployment type - the state of the art? In-Reply-To: <05A53204-11B4-487D-BBDE-F6D6333E987D@clarkeandclarke.co.uk> References: <159E9E19-5390-4FB1-9083-3E16C271A54F@clarkeandclarke.co.uk> <05A53204-11B4-487D-BBDE-F6D6333E987D@clarkeandclarke.co.uk> Message-ID: <4D3DADE5.30804@hyperactivesw.com> On 1/24/11 5:32 AM, Keith Clarke wrote: > > Back to my original question, it would have been nice to see in the > RunRev Store a simple table of which third-party components can be > deployed where but I guess anything that risks shattering the > illusion of universality is against RunRev's interests, so I won't > hold my breath. ;-) Since almost all the add-on components are LiveCode stacks at their core, I'd be surprised if they didn't run on all operating systems and, I believe, they almost all do. The exceptions may be the one or two that are implemented as externals (those may lack a Linux option.) It might be easier to list the ones that are not x-plat. LiveCode really is pretty universal. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Jan 24 11:56:09 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 Jan 2011 10:56:09 -0600 Subject: Feature support by deployment type - the state of the art? In-Reply-To: <05A53204-11B4-487D-BBDE-F6D6333E987D@clarkeandclarke.co.uk> References: <159E9E19-5390-4FB1-9083-3E16C271A54F@clarkeandclarke.co.uk> <05A53204-11B4-487D-BBDE-F6D6333E987D@clarkeandclarke.co.uk> Message-ID: <4D3DAF29.6030408@hyperactivesw.com> On 1/24/11 5:32 AM, Keith Clarke wrote: > Back to my original question, it would have been nice to see in the > RunRev Store a simple table of which third-party components can be > deployed where but I guess anything that risks shattering the > illusion of universality is against RunRev's interests, so I won't > hold my breath. ;-) Oh wait. If you mean iOS, then yes, you have a point. Not all the add-ons run on that OS for various reasons. The latest megabundle offer has the add-ons broken out into iOS-compatible and desktop-compatible lists. That could give you a starting point for the info you want. I don't think RR is trying to hide anything. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From martyknapp at comcast.net Mon Jan 24 12:01:07 2011 From: martyknapp at comcast.net (Marty Knapp) Date: Mon, 24 Jan 2011 09:01:07 -0800 Subject: revFontLoad Question In-Reply-To: References: <4D3B42CF.3080604@comcast.net> Message-ID: <4D3DB053.3090308@comcast.net> Good to know Trevor - thanks. I've been testing this out, loading the font in the startup handler. So far so good. Marty > Hi Marty, > > I include a password font with some of my applications that I load with > revFontLoad. I store the file in the bundle alongside my application stacks. > I've never had any issues reported on OS X and I've been doing this for at > least 2 years. > From keith.clarke at clarkeandclarke.co.uk Mon Jan 24 12:31:33 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Mon, 24 Jan 2011 17:31:33 +0000 Subject: Feature support by deployment type - the state of the art? In-Reply-To: <4D3DAF29.6030408@hyperactivesw.com> References: <159E9E19-5390-4FB1-9083-3E16C271A54F@clarkeandclarke.co.uk> <05A53204-11B4-487D-BBDE-F6D6333E987D@clarkeandclarke.co.uk> <4D3DAF29.6030408@hyperactivesw.com> Message-ID: <76373C84-81D2-42B3-A016-B92B15DB73DE@clarkeandclarke.co.uk> Sorry Jaque but for me, cross-platform is only relevant for desktop apps. I bought into Revolution for it's web app development capabilities. The new LiveCode branding and positioning is all about writing apps that are deployable across environments - including the web, server (OK, pre-release) and iOS (not so interesting for me yet). I'd be very happy to be corrected on this but my understanding is that the current web component doesn't support stacks(?) Doesn't that mean that, by definition, no app that uses any stack-based add-ons can be deployed to the web(?) On 24 Jan 2011, at 16:56, J. Landman Gay wrote: > On 1/24/11 5:32 AM, Keith Clarke wrote: > >> Back to my original question, it would have been nice to see in the >> RunRev Store a simple table of which third-party components can be >> deployed where but I guess anything that risks shattering the >> illusion of universality is against RunRev's interests, so I won't >> hold my breath. ;-) > > Oh wait. If you mean iOS, then yes, you have a point. Not all the add-ons run on that OS for various reasons. The latest megabundle offer has the add-ons broken out into iOS-compatible and desktop-compatible lists. That could give you a starting point for the info you want. > > I don't think RR is trying to hide anything. > > -- > 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 Jan 24 12:39:18 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 24 Jan 2011 09:39:18 -0800 Subject: pinging or else network devices from livecode In-Reply-To: References: Message-ID: Yes Spiceworks core feature is to be able to run scheduled scans. You can add multiple scan ranges, so let's say all your accounting computers have a different domain login than your R&D computers. Just group your computer IP addresses together according to your company organizational structure, then create a separate range with different credentials for each one. Each range can be scanned on demand. If you create a single IP address in a scan range, you can use it to enter a new or recently updated computer's IP address, then tell Spiceworks to Scan Now forcing Spiceworks to scan and inventory that one computer. Beyond that, they sync with Active Directory so you can attach devices to people. They have a very good help desk system so that you can attach devices to tickets and people. Their search is a kind of hypertext sort of search where you type something into a search field, and Spiceworks will give you a list of matches on virtually every field on the fly. Very cool. They have custom fields that you can add yourself for tickets and devices, so you can track custom information that you need to keep track of. They recently added Purchases, which works like a kind of cheap PO system. You can save vendor information if you like. They use sqLite as a backend, so it is possible (although not recommended) to access the data directly. They also have a text based logging system that creates a ".yaml" file for each device detected. You can actually parse these text files for your LiveCode app if you want to figure out how. It shouldn't be too dificult, they are structured pretty well. You may want to consider getting Parallels Desktop for Mac to run your Spiceworks server on. It's a pretty simple thing to do. That is what I do here. Almost all my servers are running in some Parallels VM somewhere. Bob On Jan 22, 2011, at 3:15 PM, Robert Brenstein wrote: > On 21.01.11 at 17:46 -0800 Bob Sneidar apparently wrote: >> Once you ping an address you can shell to get the arp table. Use arp -a. BTW have you looked at Spiceworks? They have an incredible scan engine that gets just about anything with a management protocol. AND it's FREE! >> >> Bob >> > > I just looked at Spiceworks. Sounds great. Little problem: I have no Windows machine to run it on. It is also not clear from their website whether it can do scans on a schedule and log the results. > > Robert > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Jan 24 12:43:38 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 24 Jan 2011 09:43:38 -0800 Subject: pinging or else network devices from livecode In-Reply-To: References: <4D3A32C0.90104@tweedly.net> Message-ID: <468CEFE6-6945-4170-BCE5-6142ED442804@twft.com> Wait a minute, the arp command does not send out anything does it? I thought arp only parsed out the current arp table for the device you are running the command on. Try flushing your arp cache, then running the arp command and see what you get. On a Unix terminal, the arp command needs a switch (parameter) like -a. Be careful here, because the arp command will also WRITE to the arp table. You can actually add an entry that registers an IP address to a hardware address. If there is anything wrong with what you tell it, you may lose connectivity to the device until you clear the arp table. Bob On Jan 22, 2011, at 3:38 PM, Robert Brenstein wrote: > On 22.01.11 at 01:28 +0000 Alex Tweedly apparently wrote: >> You can't do ping directly from LC - LC only supports UDP and TCP sockets, not ICMP or raw. >> >> You could do it via shell - but too many devices may not respond to ping. >> >> Do you want to find all active IP addresses on your own subnet, or on any arbitrary subnet ? > > At the moment I need to check only my own subnet, but checking another subnet will come later. > >> If it's on your own, then here's what I'd do >> >> - try opening a UDP socket to each IP address >> - use shell / arp to see what's there. >> >> every device should respond to an arp request, so this is much more likely to find all active devices. >> > > Just did a quickie try with your code. Sounds like it will do what I want. > > Thanks! > > Robert > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From admin at FlexibleLearning.com Mon Jan 24 13:03:12 2011 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Mon, 24 Jan 2011 18:03:12 -0000 Subject: Show Linktext on mousemove In-Reply-To: Message-ID: HoverLink... How to change the cursor and tooltip on linktext mouseOver. This example handles a field that is normally unlocked, but allows the user to click and activate the contents on mouseOver. ------------------------------------------------- >From The Scripter's Scrapbook local tLinkChunk on mouseMove if (the selectedtext is NOT empty) then pass mouseMove if (the mouse is down) OR (the controlKey is down) then pass MouseMove if (the mouseChunk is not empty) AND (the mouseChunk=tLinkChunk) then pass mouseMove # Avoid repeated check on the same text if (tLinkChunk is NOT empty) AND (tLinkChunk is NOT the mouseChunk) then restoreStyle exit mouseMove end if if (the mouseChunk is NOT empty) AND ("link" is in the textstyle of the mouseChunk) then adjustStyle pass mouseMove end mouseMove on adjustStyle -- Adjust style set the lockText of me to TRUE --| Or ignore this line to leave the fld locked put the mouseChunk into tLinkChunk set the cursor to 8 set the lockCursor to true set the tooltip of me to the linkText of the mouseChunk end adjustStyle on restoreStyle -- Restore style set the lockText of me to FALSE if tLinkChunk is empty then exit restoreStyle end if put empty into tLinkChunk set the lockCursor to false set the tooltip of me to "" end restoreStyle ------------------------------------------------- May be of some use to you. Best wishes Hugh Senior FLCo -- Original Message Date: Sun, 23 Jan 2011 12:48:11 -0800 (PST) From: Alejandro Tejada Hi Jeff, I found a reliable way to recreate the error everytime. The condition that trigguers the error occurs only when mouseText (or mouseCharChunk) is empty. Adding another condition: "the mousetext is not empty" to IF, THEN, ELSE solves the error: on mousemove if the hilite of button "ShowLinkText" and the mousetext <> empty and \ the linktext of the mousetext <> empty then put "Actual link is: " & the linktext of the mousetext into fld "ActualLink" set the textcolor of char 44 to -1 of fld "ActualLink" to blue else put empty into fld "ActualLink" end if end mousemove Many thanks for your idea, Jeff! :-) Al -- From rjb at robelko.com Mon Jan 24 12:53:06 2011 From: rjb at robelko.com (Robert Brenstein) Date: Mon, 24 Jan 2011 18:53:06 +0100 Subject: pinging or else network devices from livecode In-Reply-To: <468CEFE6-6945-4170-BCE5-6142ED442804@twft.com> References: <4D3A32C0.90104@tweedly.net> <468CEFE6-6945-4170-BCE5-6142ED442804@twft.com> Message-ID: On 24.01.11 at 09:43 -0800 Bob Sneidar apparently wrote: >Wait a minute, the arp command does not send out anything does it? I >thought arp only parsed out the current arp table for the device you >are running the command on. > Yes, that is what Alex's code does. It opens datagram to each address in the specified range and then parses out the arp entries that were successful. Nifty. Robert From jacque at hyperactivesw.com Mon Jan 24 13:26:31 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 Jan 2011 12:26:31 -0600 Subject: Feature support by deployment type - the state of the art? In-Reply-To: <76373C84-81D2-42B3-A016-B92B15DB73DE@clarkeandclarke.co.uk> References: <159E9E19-5390-4FB1-9083-3E16C271A54F@clarkeandclarke.co.uk> <05A53204-11B4-487D-BBDE-F6D6333E987D@clarkeandclarke.co.uk> <4D3DAF29.6030408@hyperactivesw.com> <76373C84-81D2-42B3-A016-B92B15DB73DE@clarkeandclarke.co.uk> Message-ID: <4D3DC457.3070704@hyperactivesw.com> On 1/24/11 11:31 AM, Keith Clarke wrote: > Sorry Jaque but for me, cross-platform is only relevant for desktop > apps. I bought into Revolution for it's web app development > capabilities. The new LiveCode branding and positioning is all about > writing apps that are deployable across environments - including the > web, server (OK, pre-release) and iOS (not so interesting for me > yet). > > I'd be very happy to be corrected on this but my understanding is > that the current web component doesn't support stacks(?) Doesn't that > mean that, by definition, no app that uses any stack-based add-ons > can be deployed to the web(?) Well, the server product just includes the language at present and doesn't currently load stacks, but I believe that's on the to-do list. But it sounds like you mean revelets. Those are stacks themselves, so yes, they should support any third-party add-on that fits within the restrictions of a browser. I guess that could be documented more fully. You can include substacks in revlets and use their scripts, or display them within the one-window-at-a-time restriction by using the same window when you switch stacks. There's also a way to display two (or more) stacks in the same browser window, and they can talk to each other. Is that what you mean? Add-ons that require access to the user's machine need to have their permissions set correctly depending on what they need to do. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at tweedly.net Mon Jan 24 13:38:39 2011 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 24 Jan 2011 18:38:39 +0000 Subject: pinging or else network devices from livecode In-Reply-To: <468CEFE6-6945-4170-BCE5-6142ED442804@twft.com> References: <4D3A32C0.90104@tweedly.net> <468CEFE6-6945-4170-BCE5-6142ED442804@twft.com> Message-ID: <4D3DC72E.4070307@tweedly.net> No, the arp command doesn't send out anything. My sample code did an "open datagram socket to tSocket " for each IP address, which *will* cause the IP subsystem to send an arp request packet for the IP address (if it's not already in the arp table), but won't cause any packet to be sent to the other host even if the arp request is successfully resolved (Note - needs to be a datagram socket, if it had been a TCP open then it would have initiated a TCP handshake to the other host, which is definitely not desirable). The arp command will only add to the table if the "-s", "-S" or "-f" arguments are used - definitely not advised for general use. And of course the "-d" argument will delete one entry (or all entries). -- Alex. On 24/01/2011 17:43, Bob Sneidar wrote: > Wait a minute, the arp command does not send out anything does it? I thought arp only parsed out the current arp table for the device you are running the command on. > > Try flushing your arp cache, then running the arp command and see what you get. On a Unix terminal, the arp command needs a switch (parameter) like -a. Be careful here, because the arp command will also WRITE to the arp table. You can actually add an entry that registers an IP address to a hardware address. If there is anything wrong with what you tell it, you may lose connectivity to the device until you clear the arp table. > > Bob > > > On Jan 22, 2011, at 3:38 PM, Robert Brenstein wrote: > >> On 22.01.11 at 01:28 +0000 Alex Tweedly apparently wrote: >>> You can't do ping directly from LC - LC only supports UDP and TCP sockets, not ICMP or raw. >>> >>> You could do it via shell - but too many devices may not respond to ping. >>> >>> Do you want to find all active IP addresses on your own subnet, or on any arbitrary subnet ? >> At the moment I need to check only my own subnet, but checking another subnet will come later. >> >>> If it's on your own, then here's what I'd do >>> >>> - try opening a UDP socket to each IP address >>> - use shell / arp to see what's there. >>> >>> every device should respond to an arp request, so this is much more likely to find all active devices. >>> >> Just did a quickie try with your code. Sounds like it will do what I want. >> >> Thanks! >> >> Robert >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 24 13:48:01 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 24 Jan 2011 10:48:01 -0800 Subject: [ANN] TimeMachine In-Reply-To: <61B822BA-896F-4282-A1F8-ECB86E316ECF@mac.com> References: <61B822BA-896F-4282-A1F8-ECB86E316ECF@mac.com> Message-ID: But what happens when they change how long they thing the universe existed? They have changed it at least 25 times since I went to school. There are probably still about 6 ideas floating around right now on exactly how long they thing it's been. Then there are those who think everything was created, but with aging built in. For instance, the light from distant stars already having made the journey. If you think about it, a created 3 dimensional universe would have to have this aging "built in" to prevent any number of weird anomalies. "You spread out the heavens like a curtain" I believe is the phrase. Then there are those who believe that the farther out from the center of the universe you go, the more space-time dilates, creating the effect that the universe would seem infinite to the relative object. Looks like you have some features to add. LOL!! Bob On Jan 22, 2011, at 7:12 PM, Roger Guay wrote: > My goal for TimeMachine was to explore a truer perspective of the timescales of events relative to the enormous 13.7 billion year age of the universe. As an example, the entire history of human existence is like 7 seconds on a clock scaled to 14 billion years. TimeMachine will allow you to select various timescales, and then move through that time span to view images of well-known events. > > My apologies for not being able to upload this stack to RevOnline due to unknown technical difficulties. But, I really want to share this stack. So, you may download it by going to the download page of my website at > > http://web.me.com/irog/Roger_Guay/Downloads.html > > As usual, I want to thank the LiveCode community for many of the ideas, techniques, tricks etc. that you'll find in TimeMachine. You folks are a total inspiration to me, and I hope you will enjoy this stack as much as I enjoyed building it. > > Cheers, > Roger > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at clarkeandclarke.co.uk Mon Jan 24 13:55:37 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Mon, 24 Jan 2011 18:55:37 +0000 Subject: [ANN] TimeMachine In-Reply-To: References: <61B822BA-896F-4282-A1F8-ECB86E316ECF@mac.com> Message-ID: Great app Roger. How about a preference to toggle between evolutionist and creationist timescales? You'd then also need to add a 'first 7-day' period and new images for the flood, etc ;-) On 24 Jan 2011, at 18:48, Bob Sneidar wrote: > But what happens when they change how long they thing the universe existed? They have changed it at least 25 times since I went to school. There are probably still about 6 ideas floating around right now on exactly how long they thing it's been. > > Then there are those who think everything was created, but with aging built in. For instance, the light from distant stars already having made the journey. If you think about it, a created 3 dimensional universe would have to have this aging "built in" to prevent any number of weird anomalies. "You spread out the heavens like a curtain" I believe is the phrase. > > Then there are those who believe that the farther out from the center of the universe you go, the more space-time dilates, creating the effect that the universe would seem infinite to the relative object. > > Looks like you have some features to add. LOL!! > > Bob > > > On Jan 22, 2011, at 7:12 PM, Roger Guay wrote: > >> My goal for TimeMachine was to explore a truer perspective of the timescales of events relative to the enormous 13.7 billion year age of the universe. As an example, the entire history of human existence is like 7 seconds on a clock scaled to 14 billion years. TimeMachine will allow you to select various timescales, and then move through that time span to view images of well-known events. >> >> My apologies for not being able to upload this stack to RevOnline due to unknown technical difficulties. But, I really want to share this stack. So, you may download it by going to the download page of my website at >> >> http://web.me.com/irog/Roger_Guay/Downloads.html >> >> As usual, I want to thank the LiveCode community for many of the ideas, techniques, tricks etc. that you'll find in TimeMachine. You folks are a total inspiration to me, and I hope you will enjoy this stack as much as I enjoyed building it. >> >> Cheers, >> Roger >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Jan 24 14:10:07 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 24 Jan 2011 11:10:07 -0800 Subject: Feature support by deployment type - the state of the art? In-Reply-To: References: <159E9E19-5390-4FB1-9083-3E16C271A54F@clarkeandclarke.co.uk><05A53204-11B4-487D-BBDE-F6D6333E987D@clarkeandclarke.co.uk> Message-ID: > Back to my original question, it would have been nice to see in the RunRev > Store a simple table of which third-party components can be deployed > where but I guess anything that risks shattering the illusion of > universality is against RunRev's interests, so I won't hold my > breath. ;-) Id say that looks more like a suggestion than a question ;-) There isn't anything intentional going on here on Runtime's part. At this point in time (mark!) LiveCode other than the desktop deployment doesn't support the externals specification. Externals are a kind of add-on, but not all add-ons are externals. The external architecture is really powerful, and its allowed our Valentina team to create Valentina for LiveCode, as well as our Componentman team to create Franklin 3D and Franklin Audio for LiveCode. The thing is, everything you have on Windows, Mac OS X and Linux aren't going to be on new and proprietary architectures - and sometimes that is by design. There is a lot of stuff you COULD accomplish, but for the fact that Apple doesn't want to allow whatever that is on iOS. Runtime is totally on top of these issues. But, without saying much more - I can say that Valentina for LiveCode ADK for iOS is in the works, and we have tossed it into the ring for the Megabundle for iOS. Read into that what you will. This will allow local datastores of Valentina data as well as communication with Valentina Office Server and Valentina Embedded Server. If I was going to run a complex query against 5,000,000 records, Id still probably want to do it on a server and then pull the result into my mobile, but it is going to be entirely possible to do that on an iPad. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From jacque at hyperactivesw.com Mon Jan 24 14:23:21 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 Jan 2011 13:23:21 -0600 Subject: umask In-Reply-To: <4D39D7B6.7060807@hyperactivesw.com> References: <4C55947E-F24B-4FA4-9EF6-BA3BFFC9DF38@mac.com> <4D388919.20201@hyperactivesw.com> <4D39D7B6.7060807@hyperactivesw.com> Message-ID: <4D3DD1A9.8050408@hyperactivesw.com> On 1/21/11 1:00 PM, J. Landman Gay wrote: > On 1/21/11 12:47 PM, Peter Brigham MD wrote: >> I just double-checked: created a new mainstack, put a new field in it, >> put some text into it, and put this in the field script: >> >> on selectionchanged >> beep >> end selectionchanged >> >> and when I click anywhere in the text to change the insertion point I >> get a beep, but when I use the arrowkeys to move the insertion point I >> get no beep, just a silent shift of the insertion point. I finally checked on this, and you're right, selectionChanged isn't sent in an unlocked, non-list field. Instead, arrowkeys are treated as keypresses like any other character, so you need to trap key-related messages instead. If the field is a list field, then arrowkeys do trigger selectionChanged. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From form at nonsanity.com Mon Jan 24 14:20:56 2011 From: form at nonsanity.com (form) Date: Mon, 24 Jan 2011 14:20:56 -0500 Subject: [ANN] TimeMachine In-Reply-To: References: <61B822BA-896F-4282-A1F8-ECB86E316ECF@mac.com> Message-ID: On Mon, Jan 24, 2011 at 1:48 PM, Bob Sneidar wrote: > But what happens when they change how long they thing the universe existed? > They have changed it at least 25 times since I went to school. There are > probably still about 6 ideas floating around right now on exactly how long > they thing it's been. > The changes have been narrowing the probable range, not just jumping around. Future changes are likely to be small adjustments, probably below the accuracy threshold of a program such as this. Then there are those who think everything was created, but with aging built > in. For instance, the light from distant stars already having made the > journey. If you think about it, a created 3 dimensional universe would have > to have this aging "built in" to prevent any number of weird anomalies. "You > spread out the heavens like a curtain" I believe is the phrase. > This extreme view (not seriously considered by science to be an answer to any existing cosmological questions) doesn't go extreme enough! :) Try to wrap your braincells around THIS doozie: The past exists for us as a memory. In any one instance of time that memory is a static recording. At the same instance, our expectations and predictions of the future are also the static result of our brain applying experience to memory. Even our senses that form our conception of "now" are delayed somewhat from the actual sensing. So there doesn't need to be time at all. Just one frozen instance with a memory of the past, a delayed sense of what just happened, and a prediction of the future. We think time is happening becase we (falsely) remember it happening and (incorrectly) expect it to continue happening. The whole universe suffers from d?j? vu... Um... Forget I ever mentioned that, Roger, and keep going with your app. ;) ~ Chris Innanen ~ Nonsanity From richmondmathewson at gmail.com Mon Jan 24 14:37:48 2011 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 24 Jan 2011 21:37:48 +0200 Subject: [ANN] TimeMachine In-Reply-To: References: <61B822BA-896F-4282-A1F8-ECB86E316ECF@mac.com> Message-ID: <4D3DD50C.7020104@gmail.com> On 01/24/2011 09:20 PM, form wrote: > On Mon, Jan 24, 2011 at 1:48 PM, Bob Sneidar wrote: > >> But what happens when they change how long they thing the universe existed? >> They have changed it at least 25 times since I went to school. There are >> probably still about 6 ideas floating around right now on exactly how long >> they thing it's been. >> > The changes have been narrowing the probable range, not just jumping around. > Future changes are likely to be small adjustments, probably below the > accuracy threshold of a program such as this. > > Then there are those who think everything was created, but with aging built >> in. For instance, the light from distant stars already having made the >> journey. If you think about it, a created 3 dimensional universe would have >> to have this aging "built in" to prevent any number of weird anomalies. "You >> spread out the heavens like a curtain" I believe is the phrase. >> > This extreme view (not seriously considered by science to be an answer to > any existing cosmological questions) doesn't go extreme enough! :) Try to > wrap your braincells around THIS doozie: > > The past exists for us as a memory. In any one instance of time that memory > is a static recording. At the same instance, our expectations and > predictions of the future are also the static result of our brain applying > experience to memory. Even our senses that form our conception of "now" are > delayed somewhat from the actual sensing. > > So there doesn't need to be time at all. Just one frozen instance with a > memory of the past, a delayed sense of what just happened, and a prediction > of the future. We think time is happening becase we (falsely) remember it > happening and (incorrectly) expect it to continue happening. > > The whole universe suffers from d?j? vu... > > > Um... Forget I ever mentioned that, Roger, and keep going with your app. ;) > > > ~ Chris Innanen > ~ Nonsanity > _______________________________________________ I wonder what "Universe" means. One view of things is that there is no beginning and no end; but 'Universes' as we conceive of them are constantly being created and destroyed through what is termed "the external potency of God." Or, put it another way; why worry unduly? In the post-Christian world we tend to date things from about 2011 years ago; the Jews are running at 7000 something (somebody sort me out here!!!), the Muslims are running in the 1400s. The Hindus have a lot of competing calenders (I can only think of the Shakabda, Vajradanta, Chaitanya, Gauda and Vikrama [each available as 'current' and 'expired]; but, then, Hey, I'm not a Hindu so don't expect too much in that neck of the woods). What is, probably more relevant right now, is that the dead PRAM battery on my G3 iMac in my EFL school insists on telling me it is 1972. Which, oddly enough, suits me fine . . . :) From martyknapp at comcast.net Mon Jan 24 14:43:17 2011 From: martyknapp at comcast.net (Marty Knapp) Date: Mon, 24 Jan 2011 11:43:17 -0800 Subject: [ANN] TimeMachine In-Reply-To: References: <61B822BA-896F-4282-A1F8-ECB86E316ECF@mac.com> Message-ID: <4D3DD655.7040107@comcast.net> As for myself, I was disappointed that the invention of cheese was not included on the time line . . . Marty Knapp From keith.clarke at clarkeandclarke.co.uk Mon Jan 24 14:51:22 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Mon, 24 Jan 2011 19:51:22 +0000 Subject: Feature support by deployment type - the state of the art? In-Reply-To: <4D3DC457.3070704@hyperactivesw.com> References: <159E9E19-5390-4FB1-9083-3E16C271A54F@clarkeandclarke.co.uk> <05A53204-11B4-487D-BBDE-F6D6333E987D@clarkeandclarke.co.uk> <4D3DAF29.6030408@hyperactivesw.com> <76373C84-81D2-42B3-A016-B92B15DB73DE@clarkeandclarke.co.uk> <4D3DC457.3070704@hyperactivesw.com> Message-ID: Thanks to Jaque and Lynn for the clarifications. I knew about the server-side revServer stack limitation but it's good to know that revlets support stacks, sub-stacks and multiple stacks. This corrects a misunderstanding I have held from early in my learning curve, when an add-on developer led me to believe that revlets didn't support stacks. :-(( Still, I'm more than happy to be corrected on this, if it means I can start creating :-) So, how does one tell whether an add-on uses/requires the externals specification? On 24 Jan 2011, at 18:26, J. Landman Gay wrote: > > Well, the server product just includes the language at present and doesn't currently load stacks, but I believe that's on the to-do list. But it sounds like you mean revelets. Those are stacks themselves, so yes, they should support any third-party add-on that fits within the restrictions of a browser. I guess that could be documented more fully. > > You can include substacks in revlets and use their scripts, or display them within the one-window-at-a-time restriction by using the same window when you switch stacks. There's also a way to display two (or more) stacks in the same browser window, and they can talk to each other. Is that what you mean? Add-ons that require access to the user's machine need to have their permissions set correctly depending on what they need to do. > > -- > 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 keith.clarke at clarkeandclarke.co.uk Mon Jan 24 14:57:07 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Mon, 24 Jan 2011 19:57:07 +0000 Subject: [ANN] TimeMachine In-Reply-To: <4D3DD655.7040107@comcast.net> References: <61B822BA-896F-4282-A1F8-ECB86E316ECF@mac.com> <4D3DD655.7040107@comcast.net> Message-ID: <96B760B3-F117-4A05-9B29-200DD18C2256@clarkeandclarke.co.uk> ...it wasn't invented - it has always been. The 96% of mass in the universe isn't dark matter - it's just that someone moved our cheese http://www.whomovedmycheese.com/BooksBySpencerJohnson.html On 24 Jan 2011, at 19:43, Marty Knapp wrote: > As for myself, I was disappointed that the invention of cheese was not included on the time line . . . > > Marty Knapp > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 24 15:27:22 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 24 Jan 2011 12:27:22 -0800 Subject: [OT][ANN] TimeMachine In-Reply-To: References: <61B822BA-896F-4282-A1F8-ECB86E316ECF@mac.com> Message-ID: Actually I find ALL views on the subject extreme. Let's have a brief rundown on what we know so far: A super infinitely small dense point of nothingness got a little too infinitely small and dense and exploded into an almost infinite universe with bits of super (albeit not quite infinitely) dense chunks of matter are sucking it all back into themselves, but there are countless numbers of these, and it's all going to collapse back into itself again some almost infinite number of eons from now, and nothing really matters anyway because we will all be infinitely dead by that time and none of it means anything, except we seem to have evolved this weird sense that it ought to mean something and it hurts somehow to think that it doesn't. Does that pretty much cover it? And not only that, but on one of the chunks of very undense (relatively) bits of matter, random chaotic forces of energy and chemistry all came together to form a self replicating protein made of an enormous number of optically pure neucleotides in whaddyaknow the exact right order (because otherwise it couldn't replicate see?) in a soup of otherwise racemic nucleotides, and then the protein was suddenly and just in time snatched up from out of the water and isolated from everything else in the soup which would have attacked the protein and broken it down almost instantly (how timely and fortunate). Then it started replicating (with what other material I don't know because it's isolated now) and why? Because it COULD! Eventually all the individual little proteins got together and decided, "Ya know we are going to get along much better if we stick to each other here" and so many of them agreed to this obviously wise course of action that it became "the way things were done". Later some decided there needed to be a nucleus and others decided there needed to be some kind of boundary layer to protect the rest of the protein groups from the hostile world around them, what with volcanoes and lightning going off all the time! Hey presto, a "simple" cell! (I think all those glommed together protein groups might have taken offense to that.) At some point one protein group said, "Hey we must be hungry after all this work and goings on, what are we gonna eat?" Another of the protein groups said, "How about sugar?" Another one said, "What's sugar?" All the rest of the protein groups told that one to shut up and so they decided sugar it is! So now we have organisms with lungs that cannot function without blood and a nervous system, and a digestive system that cannot function without all of the above, and we are told that each of these systems developed slowly an almost infinitely small little bit at a time and their own time, even though they would have been useless for almost eons without all the other systems that came along later, but they developed anyway, and then all those systems got together one day and said, "You know we would get a long much better if we all stuck together..." Really? REALLY????? Or how about the doozie, that minor point mutations, now pretty much universally debunked as a method of evolution, has now given way to the belief that unknown forces for reasons we do not yet understand, made quantum rewrites of a creature's genetic code, so that for an example a bird laid an egg and an snake came out, or something like that. That's not extreme?? I am supposed to believe that all this was caused by a force like that was still completely "random" and not a well thought out plan by a being that knew what he/it was doing? Sounds a whole helluvalot like engineering to me! And since no one was there when all of this happened, no one can really say that it DIDN'T happen, but then by the same token no one can say that it DID either, but they say it anyway and they say it so loudly and so often that no one else can get a word in edgewise. So I and my children and my children's children have had to answer in the affirmative or else risk failing the test and getting held back in school and mocked as an idiot. To hell with that! I and my children and my children's children want to get out of the school and never go back, so we lie on the test just to graduate, even though we don't believe any of it and really don't care anyway because we believe something that makes a whole helluvalot more sense. It's all fairy tale stuff to me. I am all for people believing what they want. I am NOT for forcing people to believe what the establishment says in order to graduate, or make a decent living in any field of science. That's the way the world works now. Boy talk about religious zealotism! But make no mistake, what is true is true, whether or not we perceive it to be so. What any of us believe will not change that simple fact. When the truth becomes evident, we will all have to change our minds to some degree, myself included. Honestly, isn't it just simpler to believe that some all powerful being made it all because He wanted to, and then decided to let our infantile little pea brained intellects in on a bit of it because He knew that it was going to drive us nuts if He left us in the dark about it. I think so! Besides I took Jacques time travel stack back to the beginning and those little protein groups didn't know what the hell to do next so I showed them. That's why all of you exist today!!! Bob On Jan 24, 2011, at 11:20 AM, form wrote: > This extreme view (not seriously considered by science to be an answer to > any existing cosmological questions) doesn't go extreme enough! :) Try to > wrap your braincells around THIS doozie: From alex at tweedly.net Mon Jan 24 15:32:24 2011 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 24 Jan 2011 20:32:24 +0000 Subject: [ANN] TimeMachine In-Reply-To: References: <61B822BA-896F-4282-A1F8-ECB86E316ECF@mac.com> Message-ID: <4D3DE1D8.20709@tweedly.net> On 24/01/2011 18:48, Bob Sneidar wrote: > But what happens when they change how long they thing the universe existed? They have changed it at least 25 times since I went to school. There are probably still about 6 ideas floating around right now on exactly how long they thing it's been. > > Then there are those who think everything was created, but with aging built in. For instance, the light from distant stars already having made the journey. If you think about it, a created 3 dimensional universe would have to have this aging "built in" to prevent any number of weird anomalies. "You spread out the heavens like a curtain" I believe is the phrase. > > Then there are those who believe that the farther out from the center of the universe you go, the more space-time dilates, creating the effect that the universe would seem infinite to the relative object. I'm not sure the GPS feature set includes "distance from centre of universe", does it ? -- Alex. From bobs at twft.com Mon Jan 24 15:47:45 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 24 Jan 2011 12:47:45 -0800 Subject: [OT][ANN] TimeMachine In-Reply-To: References: <61B822BA-896F-4282-A1F8-ECB86E316ECF@mac.com> Message-ID: <2E4B0F14-13AC-490B-A472-C500775670E4@twft.com> Hi Doug. I just sent this to a use list in response to someone who remarked that no current scientific viewpoint considers such an extreme point of view like Creation to be valid. I thought you might enjoy it. :-) Bob Hi all. Actually I find ALL views on the subject extreme. Let's have a brief rundown on what we know so far shall we: A super infinitely small dense point of nothingness got a little too infinitely small and dense and exploded into an almost infinite universe with bits of super (albeit not quite infinitely) dense chunks of matter are sucking it all back into themselves, but there are countless numbers of these, and it's all going to collapse back into itself again some almost infinite number of eons from now, and nothing really matters anyway because we will all be infinitely dead by that time and none of it means anything, except we seem to have evolved this weird sense that it ought to mean something and it hurts somehow to think that it doesn't. Does that pretty much cover it? And not only that, but on one of the chunks of very undense (relatively) bits of matter, random chaotic forces of energy and chemistry all came together to form a self replicating protein made of an enormous number of optically pure neucleotides in whaddyaknow the exact right order (because otherwise it couldn't replicate see?) in a soup of otherwise racemic nucleotides, and then the protein was suddenly and just in time snatched up from out of the water and isolated from everything else in the soup which would have attacked the protein and broken it down almost instantly (how timely and fortunate). Then it started replicating (with what other material I don't know because it's isolated now) and why? Because it COULD! Eventually all the individual little proteins got together and decided, "Ya know we are going to get along much better if we stick to each other here" and so many of them agreed to this obviously wise course of action that it became "the way things were done". Later some decided there needed to be a nucleus and others decided there needed to be some kind of boundary layer to protect the rest of the protein groups from the hostile world around them, what with volcanoes and lightning going off all the time! Hey presto, a "simple" cell! (I think all those glommed together protein groups might have taken offense to that.) At some point one protein group said, "Hey we must be hungry after all this work and goings on, what are we gonna eat?" Another of the protein groups said, "How about sugar?" Another one said, "What's sugar?" All the rest of the protein groups told that one to shut up and so they decided sugar it is! So now we have organisms with lungs that cannot function without blood and a nervous system, and a digestive system that cannot function without all of the above, and we are told that each of these systems developed slowly an almost infinitely small little bit at a time and their own time, even though they would have been useless for almost eons without all the other systems that came along later, but they developed anyway, and then all those systems got together one day and said, "You know we would get a long much better if we all stuck together..." Really? REALLY????? Or how about the doozie, that minor point mutations, now pretty much universally debunked as a method of evolution, has now given way to the belief that unknown forces for reasons we do not yet understand, made quantum rewrites of a creature's genetic code, so that for an example a bird laid an egg and an snake came out, or something like that. That's not extreme?? I am supposed to believe that all this was caused by a completely "random" force, an "almost endless series of fortuitous concurrences of accidental circumstance" as I believe one person summed it all up, and not a well thought out plan by a being that knew what he/it was doing? Sounds a whole helluvalot like engineering to me! And since no one was there when all of this happened, no one can really say that it DIDN'T happen, SO THERE! But then by the same token no one can say that it DID either, but they say it anyway and they say it so loudly and so often that no one else can get a word in edgewise. So I and my children and my children's children have had to answer in the affirmative or else risk failing the test and getting held back in school and mocked as an idiot. To hell with that! I and my children and my children's children want to get out of the school and never go back, so we lie on the test just to graduate, even though we don't believe any of it and really don't care anyway because we believe something that makes a whole helluvalot more sense. It's all fairy tale stuff to me. I am all for people believing what they want. I am NOT for forcing people to believe what the establishment says in order to graduate, or make a decent living in any field of science. That's the way the world works now. Boy talk about religious zealotism! But make no mistake, what is true is true, whether or not we perceive it to be so. What any of us believe will not change that simple fact. When the truth becomes evident, we will all have to change our minds to some degree, myself included. Honestly, isn't it just simpler to believe that some all powerful being made it all because He wanted to, and then decided to let our infantile little pea brained intellects in on a bit of it because He knew that it was going to drive us nuts if He left us in the dark about it? I think so! Besides I took Jacques time travel stack back to the beginning and those little protein groups didn't know what the hell to do next so I showed them. That's why all of you exist today!!! Bob On Jan 24, 2011, at 11:20 AM, form wrote: > This extreme view (not seriously considered by science to be an answer to > any existing cosmological questions) doesn't go extreme enough! :) Try to > wrap your braincells around THIS doozie: From bobs at twft.com Mon Jan 24 15:49:41 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 24 Jan 2011 12:49:41 -0800 Subject: [OT][ANN] TimeMachine In-Reply-To: References: <61B822BA-896F-4282-A1F8-ECB86E316ECF@mac.com> Message-ID: <5EE200FF-367B-4538-9320-2B001BA94C94@twft.com> Whoops sorry about the double post! From jacque at hyperactivesw.com Mon Jan 24 15:58:56 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 Jan 2011 14:58:56 -0600 Subject: [OT][ANN] TimeMachine In-Reply-To: References: <61B822BA-896F-4282-A1F8-ECB86E316ECF@mac.com> Message-ID: <4D3DE810.40201@hyperactivesw.com> On 1/24/11 2:27 PM, Bob Sneidar wrote: > Actually I find ALL views on the subject extreme. Let's have a brief > rundown on what we know so far: Oh, let's not. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Mon Jan 24 16:05:02 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 24 Jan 2011 13:05:02 -0800 Subject: [OT][ANN] TimeMachine In-Reply-To: <4D3DE810.40201@hyperactivesw.com> References: <61B822BA-896F-4282-A1F8-ECB86E316ECF@mac.com> <4D3DE810.40201@hyperactivesw.com> Message-ID: Then let's refrain from calling other views extreme and saying that they are unacceptable by all reputable scientists everywhere, okay? Thanks On Jan 24, 2011, at 12:58 PM, J. Landman Gay wrote: > On 1/24/11 2:27 PM, Bob Sneidar wrote: >> Actually I find ALL views on the subject extreme. Let's have a brief >> rundown on what we know so far: > > Oh, let's not. > > -- > 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 janschenkel at yahoo.com Mon Jan 24 16:35:01 2011 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 24 Jan 2011 13:35:01 -0800 (PST) Subject: Feature support by deployment type - the state of the art? In-Reply-To: Message-ID: <713660.35474.qm@web65405.mail.ac4.yahoo.com> --- On Mon, 1/24/11, Keith Clarke wrote: > Thanks to Jaque and Lynn for the > clarifications. I knew about the server-side revServer stack > limitation but it's good to know that revlets support > stacks, sub-stacks and multiple stacks. > > This corrects a misunderstanding I have held from early in > my learning curve, when an add-on developer led me to > believe that revlets didn't support stacks. :-(( > > Still, I'm more than happy to be corrected on this, if it > means I can start creating :-) > > So, how does one tell whether an add-on uses/requires the > externals specification? > Revlets support a mainstack with substacks - but not multiple separate stacks. In addition, Revlets cannot currently use multiple windows - though you can use 'go in the window of this stack' or multiple revlets on the same webpage to achieve most goals, this does complicate add-on support. Not to mention the security sandbox constraints. As for add-on externals requirements, that's harder to guess. Sometimes they rely on an external that ships with LiveCode (except on iOS, which currently has no externals support at all) - so it's best to look around the product website and send an email to the author if it's not clear. 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 pmbrig at gmail.com Mon Jan 24 16:46:57 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Mon, 24 Jan 2011 16:46:57 -0500 Subject: umask In-Reply-To: <4D3DD1A9.8050408@hyperactivesw.com> References: <4C55947E-F24B-4FA4-9EF6-BA3BFFC9DF38@mac.com> <4D388919.20201@hyperactivesw.com> <4D39D7B6.7060807@hyperactivesw.com> <4D3DD1A9.8050408@hyperactivesw.com> Message-ID: On Jan 24, 2011, at 2:23 PM, J. Landman Gay wrote: > On 1/21/11 1:00 PM, J. Landman Gay wrote: >> On 1/21/11 12:47 PM, Peter Brigham MD wrote: > >>> I just double-checked: created a new mainstack, put a new field in >>> it, >>> put some text into it, and put this in the field script: >>> >>> on selectionchanged >>> beep >>> end selectionchanged >>> >>> and when I click anywhere in the text to change the insertion >>> point I >>> get a beep, but when I use the arrowkeys to move the insertion >>> point I >>> get no beep, just a silent shift of the insertion point. > > I finally checked on this, and you're right, selectionChanged isn't > sent in an unlocked, non-list field. Instead, arrowkeys are treated > as keypresses like any other character, so you need to trap key- > related messages instead. > > If the field is a list field, then arrowkeys do trigger > selectionChanged. That makes sense, since that is the whole point of list fields, right? to be able to select a line or lines for various purposes. I'm always happy with any element of consistency -- we live in a universe of increasing entropy and local order is to be treasured.... -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From bvg at mac.com Mon Jan 24 17:10:45 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 24 Jan 2011 23:10:45 +0100 Subject: [OT][ANN] TimeMachine In-Reply-To: References: <61B822BA-896F-4282-A1F8-ECB86E316ECF@mac.com> Message-ID: <8C9086F4-EC0C-4195-AA6D-F249F3884F9D@mac.com> On 24 Jan 2011, at 21:27, Bob Sneidar wrote: > blah blah wank blah wank wank blah I disagree, and you can't make me agree to your drivel by replying to this. have fun Bjoernke -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From keith.clarke at clarkeandclarke.co.uk Mon Jan 24 17:37:16 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Mon, 24 Jan 2011 22:37:16 +0000 Subject: Feature support by deployment type - the state of the art? In-Reply-To: <713660.35474.qm@web65405.mail.ac4.yahoo.com> References: <713660.35474.qm@web65405.mail.ac4.yahoo.com> Message-ID: <623373C1-7EA1-4F0B-8836-C03B20F359FC@clarkeandclarke.co.uk> ...thanks for the tips Jan. I'll design my revlet workflow accordingly - and check each specific add-ons for any signs of potential externals dependencies. On 24 Jan 2011, at 21:35, Jan Schenkel wrote: > --- On Mon, 1/24/11, Keith Clarke wrote: >> Thanks to Jaque and Lynn for the >> clarifications. I knew about the server-side revServer stack >> limitation but it's good to know that revlets support >> stacks, sub-stacks and multiple stacks. >> >> This corrects a misunderstanding I have held from early in >> my learning curve, when an add-on developer led me to >> believe that revlets didn't support stacks. :-(( >> >> Still, I'm more than happy to be corrected on this, if it >> means I can start creating :-) >> >> So, how does one tell whether an add-on uses/requires the >> externals specification? >> > > Revlets support a mainstack with substacks - but not multiple separate stacks. In addition, Revlets cannot currently use multiple windows - though you can use 'go in the window of this stack' or multiple revlets on the same webpage to achieve most goals, this does complicate add-on support. Not to mention the security sandbox constraints. > > As for add-on externals requirements, that's harder to guess. Sometimes they rely on an external that ships with LiveCode (except on iOS, which currently has no externals support at all) - so it's best to look around the product website and send an email to the author if it's not clear. > > 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) > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 24 18:27:24 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 24 Jan 2011 15:27:24 -0800 Subject: [OT][ANN] TimeMachine In-Reply-To: <8C9086F4-EC0C-4195-AA6D-F249F3884F9D@mac.com> References: <61B822BA-896F-4282-A1F8-ECB86E316ECF@mac.com> <8C9086F4-EC0C-4195-AA6D-F249F3884F9D@mac.com> Message-ID: <30F228B4-321F-4584-8B25-1FBA125B32E9@twft.com> I wouldn't think of it. :-) I enjoyed your well thought out rebuttal though. ;-) Bob On Jan 24, 2011, at 2:10 PM, Bj?rnke von Gierke wrote: > > On 24 Jan 2011, at 21:27, Bob Sneidar wrote: >> blah blah wank blah wank wank blah > > I disagree, and you can't make me agree to your drivel by replying to this. > > have fun > Bjoernke > > -- > > official ChatRev page: > http://bjoernke.com?target=chatrev > > Chat with other RunRev developers: > go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvg at mac.com Mon Jan 24 18:33:17 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 25 Jan 2011 00:33:17 +0100 Subject: [OT][ANN] TimeMachine In-Reply-To: <30F228B4-321F-4584-8B25-1FBA125B32E9@twft.com> References: <61B822BA-896F-4282-A1F8-ECB86E316ECF@mac.com> <8C9086F4-EC0C-4195-AA6D-F249F3884F9D@mac.com> <30F228B4-321F-4584-8B25-1FBA125B32E9@twft.com> Message-ID: On 25 Jan 2011, at 00:27, Bob Sneidar wrote: > I wouldn't think of it. :-) I enjoyed your well thought out rebuttal though. ;-) > > Bob I rebutted nothing. Mostly because you have no argument, and this is not the space, so please be reminded to not reply here. -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From scott at tactilemedia.com Mon Jan 24 19:14:01 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 24 Jan 2011 16:14:01 -0800 Subject: [OT][ANN] TimeMachine In-Reply-To: Message-ID: Recently, Bj?rnke von Gierke wrote: >> I wouldn't think of it. :-) I enjoyed your well thought out rebuttal though. >> ;-) >> >> Bob > > I rebutted nothing. Mostly because you have no argument, and this is not the > space, so please be reminded to not reply here. May I suggest that stating Bob "has no argument" and then saying this is not the space for replies is a bit hypocritical? There are more polite ways to go about reminding folks about the "no politics/religion/cheese" aspect of the list. Regards, Scott Rossi Creative Director Tactile Media, UX Design From bobs at twft.com Mon Jan 24 19:36:59 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 24 Jan 2011 16:36:59 -0800 Subject: [OT][ANN] TimeMachine In-Reply-To: References: Message-ID: No worries Scott. Thanks. I've actually had a nice private chat with the original poster who assured me he had no intention of offending anyone, which I also had no intention of. I thought I was putting together a rather witty tongue-half-in-cheek response to the whole extremist thing. Oh well. Some people don't get my humor. Bob On Jan 24, 2011, at 4:14 PM, Scott Rossi wrote: > Recently, Bj?rnke von Gierke wrote: > >>> I wouldn't think of it. :-) I enjoyed your well thought out rebuttal though. >>> ;-) >>> >>> Bob >> >> I rebutted nothing. Mostly because you have no argument, and this is not the >> space, so please be reminded to not reply here. > > May I suggest that stating Bob "has no argument" and then saying this is not > the space for replies is a bit hypocritical? There are more polite ways to > go about reminding folks about the "no politics/religion/cheese" aspect of > the list. > > 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 irog at mac.com Mon Jan 24 22:07:14 2011 From: irog at mac.com (Roger Guay) Date: Mon, 24 Jan 2011 20:07:14 -0700 Subject: [ANN] TimeMachine Message-ID: <3D2AB467-6ECC-4967-B3F5-DB6278463BD0@mac.com> I apologize if my TimeMachine stack provokes controversy. Since I am a scientist and a humanist, TimeMachine reflects the current scientific understanding of our universe and events. I welcome anyone to tailor TimeMachine for their own views and perspectives. And to that end, I am revising TimeMachine to allow easy inclusion of new events and editing of all events. But, for the love of god, don't show dinosaurs and humans palling around together! Standby.... Cheers, Roger From jacque at hyperactivesw.com Mon Jan 24 22:25:28 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 24 Jan 2011 21:25:28 -0600 Subject: Linux standalone distibution Message-ID: <4D3E42A8.8050701@hyperactivesw.com> A couple of questions about distributing for Linux. When I zip a standalone it loses its executable bit, and the user has to manually set it after it's unzipped. Is there a way to compress a file so that it remains executable? Is there a way to stick an icon on the standalone so that it attaches when unzipped? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mcgrath3 at mac.com Mon Jan 24 23:45:14 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 24 Jan 2011 23:45:14 -0500 Subject: usb driver problem In-Reply-To: <8E8C596B-4378-44B6-9DE4-69A2AC924C77@jhj.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> <90570741250.20110122231914@ahsoftware.net> <"655D7 C24-63FF-434F-81A0-98C01C4D86C5"@mac.com> <8E8C596B-4378-44B6-9DE4-69A2AC924C77@jhj.com> Message-ID: <69D174AB-D4F7-4499-8272-56D04988E572@mac.com> Well, I got tired of testing and waiting for a solution to LiveCode directly connecting, sending, and receiving serial data to/from the Arduino Uno and found an alternative method instead. In this stack I use an Applescript OSAX and control that from within LivceCode via Applescript. I hacked together a test stack and uploaded it to Rev Online : Applescript Arduino -- Thomas McGrath III. Complete with Sample Arduino IDE Sketches and Applescript Scripts and LiveCode Scripts and with a mini tutorial on how to put it all together. Although this solution works, it is not optimal since it is a Macintosh only solution and is not the preferred way to do this. It adds a level of complexity where one should not be needed. We still need to be able to connect to a serial port/modem from within LiveCode beyond the old FTDI Virtual Serial Port methods. Download and Enjoy, -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 23, 2011, at 6:27 PM, Jerry J wrote: > On Jan 23, 2011, at 3:05 PM, David C. wrote: > >>> I don't have much experience with UNIX drivers, or how they're named. I can guess what tty is short for, but no clue about cu. >> >> This resource may be helpful to ya: >> http://www.computerhope.com/unix/ucu.htm > > The first two hits when googling /dev/cu explain some things, not necessarily help... > > --Jerry > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From janschenkel at yahoo.com Tue Jan 25 01:22:10 2011 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 24 Jan 2011 22:22:10 -0800 (PST) Subject: An idea on multithreading implementation In-Reply-To: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> Message-ID: <970379.700.qm@web65406.mail.ac4.yahoo.com> --- On Tue, 1/18/11, Bob Sneidar wrote: > Hey I had a great idea on how to > implement multithreading without jacking up anyone's legacy > code. Have LiveCode work along a single thread as usual, but > add the keywords "in new thread" to the do command or open > stack command. That way someone could invoke a new threaded > process, or launch a stack in a new thread etc if they > wanted, but not hose anything someone had already written. > You could launch a progress bar that you could monitor the > state of an operation and provide real feedback for > instance, without having to poke your head out of a running > command from time to time. > > Any thoughts? > > Bob > The problem of multi-threading is not executing multiple blocks of code simultaneously, it's management the concurrent access to state, and in particular to shared, mutable state, that's the trick. If your new thread were to work in complete isolation, not sharing script-local variables or any control properties, there would be no issue. But that would be an extremely limiting environment to work in. Suppose the RunRev team makes container access thread-safe, so: - put x into y - put "Smurf" after field "Figurines" - add 9 to line 3 of field "Numbers" - ... would protect the 'target' of the operation, you're still faced with race conditions. Take a script as simple as this: ## answer field 1 & field 1 if field 2 < 9 then answer field 2 && "is less than 9. Destroying civilization now..." end if ## Think it through, and you'll see multiple potential issues: - on the first line, there could be a change to the field content in between the two reads of the text of the field - similarly, in between checking the text of field 2 in the if statement, and showing it in the answer box, it could very well have changed The only solution is to add complexity to the language to allow locking and 'synchronization" (in Java parlance) to protect resources during the execution of certain code blocks. And even then, you can never be quite sure what the hardware will do, as it tries to optimize behind your back - in fact, these days a short-circuit AND operation can be slower than the variant which first evaluates both operators and then applies the operator. A very interesting read in this regard, is the presentation "Not Your Father's Von Neumann Machine" by Java concurrency gurus Dr. Cliff Click and Brian Goetz, which explains how times have changed: What the LiveCode does offer in terms of multi-threading, is socket communication with callback methods: accept, read and write can happen on separate threads and when the work is done, your control receives a message so that it can take the logical next step. No two such messages are processed at the same time. This is an easy system to reason in, and performs quite well, as long as we keep the 'unit of work' small, a LiveCode server socket aplication is a very good workhorse and responsive to sizeable group of users. Frankly, I wish they'd extend the callback mechanism to file, process and database read/write operations, before implementing full multi-threading. 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 bvg at mac.com Tue Jan 25 01:43:21 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 25 Jan 2011 07:43:21 +0100 Subject: [OT][ANN] TimeMachine In-Reply-To: References: Message-ID: On 25 Jan 2011, at 01:14, Scott Rossi wrote: > There are more polite ways to > go about reminding folks about the "no politics/religion/cheese" aspect of > the list. I was not aiming to be polite, and of course i am sorry if my message was vague on that point. From palcibiades-first at yahoo.co.uk Tue Jan 25 03:56:10 2011 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Tue, 25 Jan 2011 00:56:10 -0800 (PST) Subject: Linux standalone distibution In-Reply-To: <4D3E42A8.8050701@hyperactivesw.com> References: <4D3E42A8.8050701@hyperactivesw.com> Message-ID: <1295945770542-3235701.post@n4.nabble.com> Jacque, I never did either of these things, but it looks like you can preserve execution bit attributes using tar with the mode option. http://www.linuxtopia.org/online_books/linux_tool_guides/tar_user_guide/Option-Summary.html Then, to set the icon programmatically, it seems you have to create a .desktop file. http://linuxcritic.wordpress.com/2010/04/07/anatomy-of-a-desktop-file/ Andre will know! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Linux-standalone-distibution-tp3235370p3235701.html Sent from the Revolution - User mailing list archive at Nabble.com. From heather at runrev.com Tue Jan 25 04:16:14 2011 From: heather at runrev.com (Heather Nagey) Date: Tue, 25 Jan 2011 09:16:14 +0000 Subject: [OT][ANN] TimeMachine In-Reply-To: References: Message-ID: <93BA844E-8EB8-485C-A447-F72167C16D9A@runrev.com> Dear List Members, Sometimes we make a joke of this, but it is essential to the useful operation of this list that *everyone* on the list respects the rules, which have been imposed for very good reason. Clearly you are all aware of the no politics and religion rule, but some of you may have forgotten that politeness and respect to others is equally required. It is NOT acceptable for any list member, however long standing, to be blatantly and deliberately rude on list, to another member. it is NOT acceptable for any list member to air their religious views on list. This list is here for the purpose of helping each other to use LiveCode. Once it degenerates into namecalling and abusing each others views, that will be impossible. We are an extremely diverse group, with wildly differing, and often strongly held opinions. Never assume another list member holds the same views as you do! Embrace the diversity. Get back to helping each other out with coding. Say whatever you like to each other, OFF LIST, but on list we require politeness, respect, and absolutely no religion or politics. Ever. For any reason. From anybody. This thread is dead. Warm Regards, Heather Your friendly local listmom On 25 Jan 2011, at 06:43, Bj?rnke von Gierke wrote: > On 25 Jan 2011, at 01:14, Scott Rossi wrote: > >> There are more polite ways to >> go about reminding folks about the "no politics/religion/cheese" >> aspect of >> the list. > > I was not aiming to be polite, and of course i am sorry if my > message was vague on that point. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > Email has been scanned for viruses by Altman Technologies' email > management service - www.altman.co.uk/emailsystems Heather Nagey Customer Services Manager http://www.runrev.com/ LiveCode ? Realize fast, compile-free coding From andre at andregarzia.com Tue Jan 25 06:55:18 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 25 Jan 2011 09:55:18 -0200 Subject: Linux standalone distibution In-Reply-To: <1295945770542-3235701.post@n4.nabble.com> References: <4D3E42A8.8050701@hyperactivesw.com> <1295945770542-3235701.post@n4.nabble.com> Message-ID: On Tue, Jan 25, 2011 at 6:56 AM, Peter Alcibiades < palcibiades-first at yahoo.co.uk> wrote: > > Jacque, I never did either of these things, but it looks like you can > preserve execution bit attributes using tar with the mode option. > > > http://www.linuxtopia.org/online_books/linux_tool_guides/tar_user_guide/Option-Summary.html > > Then, to set the icon programmatically, it seems you have to create a > .desktop file. > > http://linuxcritic.wordpress.com/2010/04/07/anatomy-of-a-desktop-file/ > > Andre will know! > Actually, I don't!!!!! :-D But.... tar and gzip are the prefered way to compress linux stuff. You can also use .tar.xz files which compress better than tar.gz and will work just fine in any modern linux. As for icons, I think it really depends on which DE the user is running, for gnome you can use something like this: http://library.gnome.org/admin/system-admin-guide/stable/menustructure-desktopentry.html.en http://library.gnome.org/devel/integration-guide/stable/desktop-files.html.en You might need some other solution for KDE and XFCE, for all the other environments, you can be positive that your user is savvy enough to know what to do. Running stuff such as awesome or dwm already makes one a poweruser. If you build .deb files or .rpm, I think there is a post-install script somewhere which you can hook to automatically copy your .desktop file to the correct place. Cheers andre > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Linux-standalone-distibution-tp3235370p3235701.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 > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Tue Jan 25 06:57:36 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 25 Jan 2011 09:57:36 -0200 Subject: Feature support by deployment type - the state of the art? In-Reply-To: <623373C1-7EA1-4F0B-8836-C03B20F359FC@clarkeandclarke.co.uk> References: <713660.35474.qm@web65405.mail.ac4.yahoo.com> <623373C1-7EA1-4F0B-8836-C03B20F359FC@clarkeandclarke.co.uk> Message-ID: Keith, be aware that revlet player is not over beta stage right now. Double test everything on multiple configurations before delivering anything. If possible, way for newer versions. Cheers andre On Mon, Jan 24, 2011 at 8:37 PM, Keith Clarke < keith.clarke at clarkeandclarke.co.uk> wrote: > ...thanks for the tips Jan. I'll design my revlet workflow accordingly - > and check each specific add-ons for any signs of potential externals > dependencies. > > On 24 Jan 2011, at 21:35, Jan Schenkel wrote: > > > --- On Mon, 1/24/11, Keith Clarke > wrote: > >> Thanks to Jaque and Lynn for the > >> clarifications. I knew about the server-side revServer stack > >> limitation but it's good to know that revlets support > >> stacks, sub-stacks and multiple stacks. > >> > >> This corrects a misunderstanding I have held from early in > >> my learning curve, when an add-on developer led me to > >> believe that revlets didn't support stacks. :-(( > >> > >> Still, I'm more than happy to be corrected on this, if it > >> means I can start creating :-) > >> > >> So, how does one tell whether an add-on uses/requires the > >> externals specification? > >> > > > > Revlets support a mainstack with substacks - but not multiple separate > stacks. In addition, Revlets cannot currently use multiple windows - though > you can use 'go in the window of this stack' or multiple revlets on the same > webpage to achieve most goals, this does complicate add-on support. Not to > mention the security sandbox constraints. > > > > As for add-on externals requirements, that's harder to guess. Sometimes > they rely on an external that ships with LiveCode (except on iOS, which > currently has no externals support at all) - so it's best to look around the > product website and send an email to the author if it's not clear. > > > > 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) > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From robl at no-no-badpuppy.com Tue Jan 25 07:03:31 2011 From: robl at no-no-badpuppy.com (Robert Lawrence) Date: Tue, 25 Jan 2011 06:03:31 -0600 (CST) Subject: Linux standalone distibution In-Reply-To: <4D3E42A8.8050701@hyperactivesw.com> Message-ID: <32145929.4.1295957009160.JavaMail.robl@Robert-Lawrences-iMac.local> Jacqueline: Under Linux, to preserve the permissions, you will need to use a "compressed tar ball" (*.tgz or *.tar.gz) file is the normal way. Say you have a directory of /home/jacqueline/mynewapp and you want to distribute the contents on the mynewapp folder, you could issue the following commands: cd /home/jacqueline/ tar cvzf mynewapp.tar.gz mynewapp Basically, change to the directory just above the directory you want to archive. Then the tar command is passed with "cvzf" (c=create, v=verbose, z=compress, f=destination file), the archive filename, then the directory to be included. tar xvzf mynewapp.tar.gz will untar/ungzip the archive file back into a directory. As to icons, Linux (and most Unix-like systems) do not have support icons on/in a file. Depending on the variant of Linux and the desktop GUI used (KDE, GNOME, GNUstep, etc) they all have slightly different ways of telling the GUI file manager how to associate an icon with an application or document type. a *.desktop file is the most common for the mainstream GUIs (i.e GNOME). A desktop file looks like this [Desktop Entry] Encoding=UTF-8 GenericName=New LiveCode App Name=NewApp Exec=/usr/local/bin/mynewapp Icon=mynewapp.png Terminal=false Type=Application Categories=Qt;Gnome;Applications; Where the above is defined as follows: Generic name = Brief Description of application. Icon = The image to display for the icon Terminal = Is this a terminal application, should I start it as one? Type = Type of program this is, can be used in placing the icon in a menu. Categories = This information is what is mainly used to place the icon in a given menu if an XML file to specify such is not present. The setup for menus is handled a little differently by every Linux distro. Regards, Robert ----- Original Message ----- From: "J. Landman Gay" To: "LiveCode Mailing List" Sent: Monday, January 24, 2011 9:25:28 PM Subject: Linux standalone distibution A couple of questions about distributing for Linux. When I zip a standalone it loses its executable bit, and the user has to manually set it after it's unzipped. Is there a way to compress a file so that it remains executable? Is there a way to stick an icon on the standalone so that it attaches when unzipped? -- 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 keith.clarke at clarkeandclarke.co.uk Tue Jan 25 07:35:42 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Tue, 25 Jan 2011 12:35:42 +0000 Subject: Feature support by deployment type - the state of the art? In-Reply-To: References: <713660.35474.qm@web65405.mail.ac4.yahoo.com> <623373C1-7EA1-4F0B-8836-C03B20F359FC@clarkeandclarke.co.uk> Message-ID: <89653408-5ED2-44F8-9B40-B737A9E49799@clarkeandclarke.co.uk> Thanks Andre - good advice. I wasn't aware that the revlet player was quite that immature. Fortunately, my immediate requirements are for demonstration purposes only - and demos are supposed to break, aren't they? ;-) However, if the demos prove successful, I'd definitely need a robust browser player for any ensuing project/product development. Here's hoping that a new version player materialises (very) soon, so that I can demo the concept, based on sticking with LiveCode for the real project/product - especially as LiveCode is my first and only development language! Best, Keith.. On 25 Jan 2011, at 11:57, Andre Garzia wrote: > be aware that revlet player is not over beta stage right now. Double test > everything on multiple configurations before delivering anything. If > possible, way for newer versions. From toolbook at kestner.de Tue Jan 25 08:07:34 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 25 Jan 2011 14:07:34 +0100 Subject: How to narrow SQL search with multiple criterias? Message-ID: <007201cbbc90$dd4329f0$97c97dd0$@de> Hello, I have seen this feature before, but have no idea what approach is behind the scenes since I am not that deep in SQL. I have a SQL select with multiple search criterias. After selecting a criteria, I get the resulting records and can go on narrowing my search with selecting one or multiple other criterias. So far nothing special. What I am interested in is, how do you show (and disable) one or multiple search criterias, if they would be inaffective for further searches, because there is no content left to narrow the search with this criteria. I could think of looping through the result for each criteria after having made one selection and if there is nothing left to search for then disable the search criteria. But with multiple search criterias, each with multiple options, I don't know if this would be "state of the art" to keep a good performance, or if there are more sophisticated approaches to let the user just make click-click-click narrowing his search with simultaneous showing, what other selection makes sense and what not. Hoping you understood what I mean J Thanks for any idea Tiemo From david at vaudevillecourt.tv Tue Jan 25 08:11:24 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Tue, 25 Jan 2011 13:11:24 +0000 Subject: File naming convention Message-ID: I have the need for an ugly file name hack. I need to store documentation about arbitrary files (.html, .png, .livecode etc files) in a separate folder (called "docs"). These files will be served by a web server - and map directly to the original source code files so that a file "hello.txt" with correspond to a file named something like: 1. docs/hello.txt.html 2. docs/hello.txt/index.html 3. docs/hello_txt/index.html I can then write simple functions to enable navigation back and forth between the documentation and the source code file (in LiveCode or JavaScript). The question is how to name the documentation file / folder? I am leaning towards 2), as a folder allows me to put images and other things inside that may be useful to the docs - but it feels mightily strange to have folders with names that have file extensions! I also don't know how well this works on the different (particularly windows based) platforms? Has anyone any tips on how best to name a path that works on all platforms, and can be mapped back to the source file with a simple reliable function? From bvg at mac.com Tue Jan 25 08:17:49 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 25 Jan 2011 14:17:49 +0100 Subject: File naming convention In-Reply-To: References: Message-ID: why don't you make a docs folder? 4. docs/docs/hello text.html On 25 Jan 2011, at 14:11, David Bovill wrote: > I have the need for an ugly file name hack. I need to store documentation > about arbitrary files (.html, .png, .livecode etc files) in a separate > folder (called "docs"). These files will be served by a web server - and map > directly to the original source code files so that a file "hello.txt" with > correspond to a file named something like: > > 1. docs/hello.txt.html > 2. docs/hello.txt/index.html > 3. docs/hello_txt/index.html > > I can then write simple functions to enable navigation back and forth > between the documentation and the source code file (in LiveCode or > JavaScript). The question is how to name the documentation file / folder? > > I am leaning towards 2), as a folder allows me to put images and other > things inside that may be useful to the docs - but it feels mightily strange > to have folders with names that have file extensions! I also don't know how > well this works on the different (particularly windows based) platforms? > > Has anyone any tips on how best to name a path that works on all platforms, > and can be mapped back to the source file with a simple reliable function? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david at vaudevillecourt.tv Tue Jan 25 08:58:26 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Tue, 25 Jan 2011 13:58:26 +0000 Subject: File naming convention In-Reply-To: References: Message-ID: Yes - there is is a docs folder - it's called "docs" :) There is an apps folder called "apps" and inside the apps folder are files and folders for instance "app/hello.txt" or app/images/hello.png". Inside the docs folder I want to document things about these files, and a file naming convention that maps from the "app/hello.txt" file to something inside the "docs" folder - ie something like: 1. docs/hello.txt.html 2. docs/hello.txt/index.html 3. docs/hello_txt/index.html and for the image file it would be something like: 1. docs/hello.png/index.html The issue is the file extensions and whether to leave the "." in place, or encode it somehow. Any suggestions? 2011/1/25 Bj?rnke von Gierke > why don't you make a docs folder? > > 4. docs/docs/hello text.html > From mcgrath3 at mac.com Tue Jan 25 09:41:09 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 25 Jan 2011 09:41:09 -0500 Subject: usb driver problem In-Reply-To: <69D174AB-D4F7-4499-8272-56D04988E572@mac.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> <90570741250.20110122231914@ahsoftware.net> <"655D7 C24-63FF-434F-81A0-98C01C4D86C5"@mac.com> <8E8C596B-4378-44B6-9DE4-69A2AC924C77@jhj.com> <69D174AB-D4F7-4499-8272-56D04988E572@mac.com> Message-ID: <4A568B4D-0EE4-4BE4-989C-47D749B855CA@mac.com> Playing with Applescript communicating with the Arduino Uno I noticed an issue that might be related to the LiveCode problem of hanging during a connection. In the Applescript that works I close the port first and then return the result as in: set tSerialReturn to serialport read portRef for revRead set rSerialReturn to tSerialReturn as string serialport close portRef return rSerialReturn But, if I try to return results in the script before issuing the close port the application again hangs with the spinning beach ball as in: set tSerialReturn to serialport read portRef for revRead set rSerialReturn to tSerialReturn as string return rSerialReturn serialport close portRef I have to unplug the Arduino Uno to get control back. But if I present an Applescript dialog with info read during the script cycle it is fine and does not hang so it must be something in the way the return returns data. The thing is I can run the first script over and over again and it works every time (opening and closing the port in a loop) but if I try to do the loop of reading and return the result before closing the port it hangs every time. QUESTION: Is it possible that LiveCode is also doing this as well. i.e. Keeping the port open while sending results back causes a hang? This would be difficult to return sensor results if it required multiple open closes for each chunk of data. And between closes and opens would result in lost data from continuos data streams. Thanks, -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 24, 2011, at 11:45 PM, Thomas McGrath III wrote: > Well, I got tired of testing and waiting for a solution to LiveCode directly connecting, sending, and receiving serial data to/from the Arduino Uno and found an alternative method instead. In this stack I use an Applescript OSAX and control that from within LivceCode via Applescript. I hacked together a test stack and uploaded it to Rev Online : Applescript Arduino -- Thomas McGrath III. Complete with Sample Arduino IDE Sketches and Applescript Scripts and LiveCode Scripts and with a mini tutorial on how to put it all together. > > Although this solution works, it is not optimal since it is a Macintosh only solution and is not the preferred way to do this. It adds a level of complexity where one should not be needed. We still need to be able to connect to a serial port/modem from within LiveCode beyond the old FTDI Virtual Serial Port methods. > > Download and Enjoy, > > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net From xfratboy at gmail.com Tue Jan 25 09:55:13 2011 From: xfratboy at gmail.com (xfratboy) Date: Tue, 25 Jan 2011 06:55:13 -0800 (PST) Subject: usb driver problem In-Reply-To: <4A568B4D-0EE4-4BE4-989C-47D749B855CA@mac.com> References: <90570741250.20110122231914@ahsoftware.net> <655D7C24-63FF-434F-81A0-98C01C4D86C5@mac.com> <8E8C596B-4378-44B6-9DE4-69A2AC924C77@jhj.com> <69D174AB-D4F7-4499-8272-56D04988E572@mac.com> <4A568B4D-0EE4-4BE4-989C-47D749B855CA@mac.com> Message-ID: <1388114912-1295967293-cardhu_decombobulator_blackberry.rim.net-2032412133-@bda571.bisx.prod.on.blackberry> Have you tried adding about 100 milisec wait before and/or between writes? -----Original Message----- From: "Thomas McGrath III-3 [via Runtime Revolution]" Date: Tue, 25 Jan 2011 06:42:33 To: xfratboy Subject: Re: usb driver problem Playing with Applescript communicating with the Arduino Uno I noticed an issue that might be related to the LiveCode problem of hanging during a connection. In the Applescript that works I close the port first and then return the result as in: set tSerialReturn to serialport read portRef for revRead set rSerialReturn to tSerialReturn as string serialport close portRef return rSerialReturn But, if I try to return results in the script before issuing the close port the application again hangs with the spinning beach ball as in: set tSerialReturn to serialport read portRef for revRead set rSerialReturn to tSerialReturn as string return rSerialReturn serialport close portRef I have to unplug the Arduino Uno to get control back. But if I present an Applescript dialog with info read during the script cycle it is fine and does not hang so it must be something in the way the return returns data. The thing is I can run the first script over and over again and it works every time (opening and closing the port in a loop) but if I try to do the loop of reading and return the result before closing the port it hangs every time. QUESTION: Is it possible that LiveCode is also doing this as well. i.e. Keeping the port open while sending results back causes a hang? This would be difficult to return sensor results if it required multiple open closes for each chunk of data. And between closes and opens would result in lost data from continuos data streams. Thanks, -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 24, 2011, at 11:45 PM, Thomas McGrath III wrote: > Well, I got tired of testing and waiting for a solution to LiveCode directly connecting, sending, and receiving serial data to/from the Arduino Uno and found an alternative method instead. In this stack I use an Applescript OSAX and control that from within LivceCode via Applescript. I hacked together a test stack and uploaded it to Rev Online : Applescript Arduino -- Thomas McGrath III. Complete with Sample Arduino IDE Sketches and Applescript Scripts and LiveCode Scripts and with a mini tutorial on how to put it all together. > > Although this solution works, it is not optimal since it is a Macintosh only solution and is not the preferred way to do this. It adds a level of complexity where one should not be needed. We still need to be able to connect to a serial port/modem from within LiveCode beyond the old FTDI Virtual Serial Port methods. > > Download and Enjoy, > > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.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 _______________________________________________ If you reply to this email, your message will be added to the discussion below: http://runtime-revolution.278305.n4.nabble.com/usb-driver-problem-tp3219220p3236281.html To unsubscribe from usb driver problem, visit http://runtime-revolution.278305.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3219220&code=eGZyYXRib3lAZ21haWwuY29tfDMyMTkyMjB8OTgzNzQ0MDg2 -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/usb-driver-problem-tp3219220p3236297.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Tue Jan 25 11:05:43 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 25 Jan 2011 08:05:43 -0800 Subject: usb driver problem In-Reply-To: <4A568B4D-0EE4-4BE4-989C-47D749B855CA@mac.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> <90570741250.20110122231914@ahsoftware.net> <"655D7 C24-63FF-434F-81A0-98C01C4D86C5"@mac.com> <8E8C596B-4378-44B6-9DE4-69A2AC924C77@jhj.com> <69D174AB-D4F7-4499-8272-56D04988E572@mac.com> <4A568B4D-0EE4-4BE4-989C-47D749B855CA@mac.com> Message-ID: <81775130515.20110125080543@ahsoftware.net> Tom- Is this possibly related to bz #1708? -- -Mark Wieder mwieder at ahsoftware.net From MikeKerner at roadrunner.com Tue Jan 25 11:28:10 2011 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 25 Jan 2011 11:28:10 -0500 Subject: An idea on multithreading implementation In-Reply-To: <970379.700.qm@web65406.mail.ac4.yahoo.com> References: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> <970379.700.qm@web65406.mail.ac4.yahoo.com> Message-ID: > connect to application "A" on port 5674 tell application "A" > "doSomethingCool" You had me right up to "cool". Then I was gone. For the really scared of trying to do this with sockets, you can of course also simulate semaphores and IP comm just using some shared text files. -- 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 bobs at twft.com Tue Jan 25 11:42:55 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 25 Jan 2011 08:42:55 -0800 Subject: [ANN] TimeMachine In-Reply-To: <3D2AB467-6ECC-4967-B3F5-DB6278463BD0@mac.com> References: <3D2AB467-6ECC-4967-B3F5-DB6278463BD0@mac.com> Message-ID: I had one for a pet once! Bob On Jan 24, 2011, at 7:07 PM, Roger Guay wrote: > I apologize if my TimeMachine stack provokes controversy. Since I am a scientist and a humanist, TimeMachine reflects the current scientific understanding of our universe and events. I welcome anyone to tailor TimeMachine for their own views and perspectives. And to that end, I am revising TimeMachine to allow easy inclusion of new events and editing of all events. But, for the love of god, don't show dinosaurs and humans palling around together! Standby.... > > Cheers, > > Roger > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bill at bluewatermaritime.com Tue Jan 25 11:54:39 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Tue, 25 Jan 2011 12:54:39 -0400 Subject: How to narrow SQL search with multiple criterias? In-Reply-To: <007201cbbc90$dd4329f0$97c97dd0$@de> References: <007201cbbc90$dd4329f0$97c97dd0$@de> Message-ID: Sometimes, SQL failure that I am, I just dump it all in a variable and look through it using LiveCode. It depends how big although LiveCode is pretty quick. On Tue, Jan 25, 2011 at 9:07 AM, Tiemo Hollmann TB wrote: > Hello, > > I have seen this feature before, but have no idea what approach is behind > the scenes since I am not that deep in SQL. > > I have a SQL select with multiple search criterias. After selecting a > criteria, I get the resulting records and can go on narrowing my search > with > selecting one or multiple other criterias. So far nothing special. What I > am > interested in is, how do you show (and disable) one or multiple search > criterias, if they would be inaffective for further searches, because there > is no content left to narrow the search with this criteria. > > > > I could think of looping through the result for each criteria after having > made one selection and if there is nothing left to search for then disable > the search criteria. But with multiple search criterias, each with multiple > options, I don't know if this would be "state of the art" to keep a good > performance, or if there are more sophisticated approaches to let the user > just make click-click-click narrowing his search with simultaneous showing, > what other selection makes sense and what not. > > > > Hoping you understood what I mean J > > Thanks for any idea > > 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 > -- http://www.bluewatermaritime.com From richmondmathewson at gmail.com Tue Jan 25 12:07:15 2011 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 25 Jan 2011 19:07:15 +0200 Subject: [ANN] TimeMachine In-Reply-To: References: <3D2AB467-6ECC-4967-B3F5-DB6278463BD0@mac.com> Message-ID: <4D3F0343.6060103@gmail.com> On 01/25/2011 06:42 PM, Bob Sneidar wrote: > I had one for a pet once! > > Bob > > > On Jan 24, 2011, at 7:07 PM, Roger Guay wrote: > >> I apologize if my TimeMachine stack provokes controversy. Since I am a scientist and a humanist, TimeMachine reflects the current scientific understanding of our universe and events. I welcome anyone to tailor TimeMachine for their own views and perspectives. And to that end, I am revising TimeMachine to allow easy inclusion of new events and editing of all events. But, for the love of god, don't show dinosaurs and humans palling around together! Standby.... >> >> Cheers, >> >> Roger >> >> With the name "TimeMachine" you might fall foul of Mr Jobs and Co. From keith.clarke at clarkeandclarke.co.uk Tue Jan 25 12:22:13 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Tue, 25 Jan 2011 17:22:13 +0000 Subject: [ANN] TimeMachine In-Reply-To: <4D3F0343.6060103@gmail.com> References: <3D2AB467-6ECC-4967-B3F5-DB6278463BD0@mac.com> <4D3F0343.6060103@gmail.com> Message-ID: <51EEC4EE-8C4C-4398-88EC-98BB8D3B6B77@clarkeandclarke.co.uk> ...indeed, you might get someone's back-up (sorry) On 25 Jan 2011, at 17:07, Richmond wrote: > On 01/25/2011 06:42 PM, Bob Sneidar wrote: >> I had one for a pet once! >> >> Bob >> >> >> On Jan 24, 2011, at 7:07 PM, Roger Guay wrote: >> >>> I apologize if my TimeMachine stack provokes controversy. Since I am a scientist and a humanist, TimeMachine reflects the current scientific understanding of our universe and events. I welcome anyone to tailor TimeMachine for their own views and perspectives. And to that end, I am revising TimeMachine to allow easy inclusion of new events and editing of all events. But, for the love of god, don't show dinosaurs and humans palling around together! Standby.... >>> >>> Cheers, >>> >>> Roger >>> >>> > With the name "TimeMachine" you might fall foul of Mr Jobs and Co. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From williamdesmet at gmail.com Tue Jan 25 13:19:14 2011 From: williamdesmet at gmail.com (William de Smet) Date: Tue, 25 Jan 2011 19:19:14 +0100 Subject: Answer file with type BMPf? Message-ID: Hi there, Why doesn't this work for BMP files? answer file "Kies een foto:" with type "All Images|jpg,gif,png,bmp|JPEG,GIFf,PNGf,BMPf" on mouseup answer file "Choose:" with type "All Images|jpg,gif,png,bmp|JPEG,GIFf,PNGf,BMPf" if it = empty then put empty into img "x1" exit mouseUp end if put url ("binfile:" & it) into img "x1" end mouseup greetings, William From cjw at eml.cc Tue Jan 25 13:50:22 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Tue, 25 Jan 2011 12:50:22 -0600 Subject: File naming convention In-Reply-To: References: Message-ID: <4D3F1B6E.9010504@eml.cc> Hi David, The first thing to understand about Windows? file names you can't use the following... \ / : * ? " < > | Please take a look at this page... http://www.portfoliofaq.com/pfaq/FAQ00352.htm ... highlight the word "period" in your browser. Here is the word straight from the horse's mouth... http://msdn.microsoft.com/en-us/library/aa365247%28v=vs.85%29.aspx Aside form the above, here is what my own test results yielded... > 1. docs/hello.txt.html This will be interpreted as a the folder "doc" holding a single file named "hello.txt.html" > 2. docs/hello.txt/index.html This would be interpreted as folder "docs" containing another folder "hello.txt" which contained the file "index.html". > 3. docs/hello_txt/index.html (Same as above) > and for the image file it would be something like: > > 1. docs/hello.png/index.html (Again, same as above) Please note I have only tested this on Windows 7. If you need more specific testing, I'll try and help if I can. Fair winds, Calvin From jacque at hyperactivesw.com Tue Jan 25 13:59:18 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 25 Jan 2011 12:59:18 -0600 Subject: Linux standalone distibution In-Reply-To: <32145929.4.1295957009160.JavaMail.robl@Robert-Lawrences-iMac.local> References: <32145929.4.1295957009160.JavaMail.robl@Robert-Lawrences-iMac.local> Message-ID: <4D3F1D86.5060300@hyperactivesw.com> On 1/25/11 6:03 AM, Robert Lawrence wrote: > Jacqueline: > > Under Linux, to preserve the permissions, you will need to use a > "compressed tar ball" (*.tgz or *.tar.gz) file is the normal way. Thanks, very helpful. I don't think I want to mess with a desktop file for the icon. Do apps ever just ship with a jpg or a png in the folder? Then the user can choose that if they want to customize. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Tue Jan 25 14:01:52 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 25 Jan 2011 11:01:52 -0800 Subject: File naming convention In-Reply-To: <4D3F1B6E.9010504@eml.cc> References: <4D3F1B6E.9010504@eml.cc> Message-ID: <6E79CC34-8969-4B07-9D91-3148602DB7A4@twft.com> To further complicate matters, in a server share environment, it is possible to copy files with bad characters to a server, and then have the server complain that it cannot find the file, or the file doesn't exist. So follow the mantra, NEVER use ANY special characters in a file name. If fact, when naming anything destined for the network or internet, use only lower case and numbers and if you have to a normal dash. Avoid spaces where possible. my 2? Bob On Jan 25, 2011, at 10:50 AM, Calvin Waterbury wrote: > Hi David, > > The first thing to understand about Windows? file names you can't use the following... > > \ / : * ? " < > | > > Please take a look at this page... > http://www.portfoliofaq.com/pfaq/FAQ00352.htm > ... highlight the word "period" in your browser. > > Here is the word straight from the horse's mouth... > http://msdn.microsoft.com/en-us/library/aa365247%28v=vs.85%29.aspx > > Aside form the above, here is what my own test results yielded... > >> 1. docs/hello.txt.html > This will be interpreted as a the folder "doc" holding a single file named "hello.txt.html" >> 2. docs/hello.txt/index.html > This would be interpreted as folder "docs" containing another folder "hello.txt" which contained the file "index.html". >> 3. docs/hello_txt/index.html > (Same as above) >> and for the image file it would be something like: >> >> 1. docs/hello.png/index.html > (Again, same as above) > > Please note I have only tested this on Windows 7. If you need more specific testing, I'll try and help if I can. > > Fair winds, > Calvin > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bill at bluewatermaritime.com Tue Jan 25 14:04:14 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Tue, 25 Jan 2011 15:04:14 -0400 Subject: revision control software Message-ID: What's the best revision control software to use when you have one developer (in the Bahamas say) working on the Windows version and another working on the Mac version? From davidocoker at gmail.com Tue Jan 25 14:24:20 2011 From: davidocoker at gmail.com (David C.) Date: Tue, 25 Jan 2011 13:24:20 -0600 Subject: Linux standalone distibution In-Reply-To: <4D3F1D86.5060300@hyperactivesw.com> References: <32145929.4.1295957009160.JavaMail.robl@Robert-Lawrences-iMac.local> <4D3F1D86.5060300@hyperactivesw.com> Message-ID: > I don't think I want to mess with a desktop file for the icon. Do apps ever > just ship with a jpg or a png in the folder? Then the user can choose that > if they want to customize. It's pretty commonplace for apps that are not handled by some form of package manager, to not have any kind of icon available at all. I think most Linux users (count me in) would be very happy to have a nice PNG image to use and it's not at all hard to deal with, IMO. Best regards, David C. From warren at warrensweb.us Tue Jan 25 14:50:39 2011 From: warren at warrensweb.us (Warren Samples) Date: Tue, 25 Jan 2011 13:50:39 -0600 Subject: File naming convention In-Reply-To: <6E79CC34-8969-4B07-9D91-3148602DB7A4@twft.com> References: <4D3F1B6E.9010504@eml.cc> <6E79CC34-8969-4B07-9D91-3148602DB7A4@twft.com> Message-ID: <1295985039.32729.596.camel@mint-i7> On Tue, 2011-01-25 at 11:01 -0800, Bob Sneidar wrote: > To further complicate matters, in a server share environment, it is possible to copy files with bad characters to a server, and then have the server complain that it cannot find the file, or the file doesn't exist. > > So follow the mantra, NEVER use ANY special characters in a file name. If fact, when naming anything destined for the network or internet, use only lower case and numbers and if you have to a normal dash. Avoid spaces where possible. > > my 2? > > Bob > > > On Jan 25, 2011, at 10:50 AM, Calvin Waterbury wrote: > > > Hi David, > > > > The first thing to understand about Windows? file names you can't use the following... > > > > \ / : * ? " < > | > > > > Please take a look at this page... > > http://www.portfoliofaq.com/pfaq/FAQ00352.htm > > ... highlight the word "period" in your browser. > > > > Here is the word straight from the horse's mouth... > > http://msdn.microsoft.com/en-us/library/aa365247%28v=vs.85%29.aspx > > > > Aside form the above, here is what my own test results yielded... > > > >> 1. docs/hello.txt.html > > This will be interpreted as a the folder "doc" holding a single file named "hello.txt.html" > >> 2. docs/hello.txt/index.html > > This would be interpreted as folder "docs" containing another folder "hello.txt" which contained the file "index.html". > >> 3. docs/hello_txt/index.html > > (Same as above) > >> and for the image file it would be something like: > >> > >> 1. docs/hello.png/index.html > > (Again, same as above) > > > > Please note I have only tested this on Windows 7. If you need more specific testing, I'll try and help if I can. > > > > Fair winds, > > Calvin But the "." is not generally a special character. The only caveats I have come across regarding its usage in filenames involve using it as either the first or last character of the filename and that the final period found will be treated as the marker for the file extension in Windows. Otherwise, as one can infer from available docs and Calvin's testing demonstrates, the "." is treated as any other character without special meaning to the OS. Using "." as a word separator in filenames (and directory names) is a fairly common practice, particularly among file sharers (mostly using Windows). Yet another link, just for fun: http://linuxboxadmin.com/articles/tools-and-utilities/linux/mac/windows-file-name-friction.html The business about the last period in a filename marking the start of a file extension doesn't seem to cause any recognition problems - a folder named "xxx.text" is correctly recognized by the file system as a folder rather than file "xxx" with extension "text" - on the desktop, but to satisfy any paranoid doubts, you might check that in a server environment. Otherwise you could have a hard time navigating to such a directory even though you can call the files it holds. Warren From cjw at eml.cc Tue Jan 25 14:59:38 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Tue, 25 Jan 2011 13:59:38 -0600 Subject: Student Observations on Weekly Presentations Message-ID: <4D3F2BAA.108@eml.cc> Hello, First off, "BRAVO!" to all who take their time and knowledge to make these presentations! They have been extremely helpful in my learning of LiveCode and in being introduced to the programming world outside of Windows?! I also wish to convey my comments herein are not intended as criticisms, but as a "reflection" through the eyes of a student. If nothing changes, I will still continue to participate and glean what I can from each session. I realize that "newbies" are in the minority and I do not expect nor desire the presentations to be "dumbed down." I can understand that spicing up a presentation makes for a less mundane experience. My comments are from only seeing four presentations. Perhaps the presenters were having "off days?" Ok, with the above preamble/disclaimers in place, here are some thoughts for your consideration when you present... 1. RECORDING - Please make sure you are recording, if you intend to do so and let your audience know at the outset you are doing so. Others mileage may vary, but for me knowing I will be able to review the presentation allows me to relax and look at the bigger picture and more robust interaction of Q&A during the live presentation. The couple of times the chat had comments like "Is he recording?" and "Did he turn on the recorder?" sent me into a quasi-panic of myopia and tunnel-vision because I did not want to miss any details. 2. SCREEN VIEW - It is nice to match a face to a voice. Seeing the "camera view" of the presenter at the beginning and briefly "here and there" during the presentation certainly assists the tardy as well. Aside from these brief displays, it is very helpful if the screen real estate, the "screen view" is allocated to the computer desktop and specific windows where the coding action is happening. Without doing so, it is impossible to read the script, etc. windows. 3. DISTRACTIONS - Just a quick note to say I found the visual effects and cartoon animations to distracting for my taste, besides taking up screen area. This is my own personal opinion and not necessarily the opinion of any other participant(s). 4. VERBOSITY - I realize this comes easier to some than others, but try to verbalize your thought processes as you are working through your presentation. This really helps to "connect the dots," especially for those of us who do not have the same familiarity yet. While I am a newbie to LiveCode, I am not a novice programmer and "hearing" the logic spoken allows my experience to assist my learning. Also, if your presentation contains a bug, hearing the logic may allow me to assist in debugging where otherwise I could not. 5. KEEP AN EYE ON THE CHAT - *We* are able to see and hear you via USTREAM, but but the only way you can "see" or "hear" our feedback is via the ChatRev. I noticed more than one instance where the presenter was oblivious to what the audience was trying to "say," especially when there were problems like sound issues, performance, clarity, etc. Ok, there are my notes from *my* experiences. Use what you feel is valid and throw out the rest, but by all means please continue to present! :) I would like to encourage everyone to present something. Everyone has their own personal way of communicating and the way *you* might say something could unlock someone's understanding where no one else's would. You don't have to be a guru-coder to present either. Maybe your presentation could be about how you lay out your LiveCode work space, what ancillary tools you use to develop, etc. I am working on a project that I will present, hopefully in about six weeks, if I haven't bit off more than I can chew. ;) FYI - I used to work in a television station years ago and have coached people into getting over the intimidation, anxiety and stage fright of being in front of an audience on camera. I'll be glad to help if you want to try and present. Unfortunately, I will have to defer the technical questions about using USTREAM to other experienced presenters at this time. Fair winds, Calvin From jacque at hyperactivesw.com Tue Jan 25 15:04:09 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 25 Jan 2011 14:04:09 -0600 Subject: Linux standalone distibution In-Reply-To: References: <32145929.4.1295957009160.JavaMail.robl@Robert-Lawrences-iMac.local> <4D3F1D86.5060300@hyperactivesw.com> Message-ID: <4D3F2CB9.9030501@hyperactivesw.com> On 1/25/11 1:24 PM, David C. wrote: >> I don't think I want to mess with a desktop file for the icon. Do apps ever >> just ship with a jpg or a png in the folder? Then the user can choose that >> if they want to customize. > > It's pretty commonplace for apps that are not handled by some form of > package manager, to not have any kind of icon available at all. I > think most Linux users (count me in) would be very happy to have a > nice PNG image to use and it's not at all hard to deal with, IMO. Great, that's what I'll do then. It may be unconventional but hopefully users will think of it as thoughtful. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From massung at gmail.com Tue Jan 25 15:10:03 2011 From: massung at gmail.com (Jeff Massung) Date: Tue, 25 Jan 2011 13:10:03 -0700 Subject: File naming convention In-Reply-To: References: Message-ID: On Tue, Jan 25, 2011 at 6:11 AM, David Bovill wrote: > I have the need for an ugly file name hack. I need to store documentation > about arbitrary files (.html, .png, .livecode etc files) in a separate > folder (called "docs"). These files will be served by a web server - and > map > directly to the original source code files so that a file "hello.txt" with > correspond to a file named something like: > > 1. docs/hello.txt.html > 2. docs/hello.txt/index.html > 3. docs/hello_txt/index.html > > Just tossing out some other possible solutions (not that your suggestions are bad or any of these are better, just trying to think outside the box a little)... Also, it's hard to know from your email whether or not these will be options for you if a customer's requests are driving this work or not. - Use a database to map from source file -> documentation. This way no hack is needed and it mitigates future problems, like what happens when someone goes back and renames hello.txt to hello_world.txt? - Don't have a "docs" folder, but instead make the documentation file sit right next to the source file. This will get more cluttered, but what do you do when someone has /source/hello.txt as well as /source/world/hello.txt? Your docs/ folder will have to somehow understand there are two files with the same name that are different. - Create a documentation file per folder instead of per file. For example /source/docs.html, while handles the documentation for all files in /source/ and /source/world/ will have a docs.html file for everything within it. - Depending on what types of files you are dealing with, you may be able to read/write metadata to the files detailing documentation - or linking to the documentation so that it isn't algorithm-based. Every solution will have its pros and cons. I think it would help considerably to identify your biggest concerns/issues and then pick the solution that best solves those. Enumerating things from above and just random thoughts: - Multiple files w/ the same name in different locations - Renaming source files (documentation "link" now broken) - Moving of source files to a new location ("link" broken) - Ease/difficulty of editing documentation files - Potential filename limitations of documentation (length limit) Jeff M. From palcibiades-first at yahoo.co.uk Tue Jan 25 15:38:54 2011 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Tue, 25 Jan 2011 12:38:54 -0800 (PST) Subject: Linux standalone distibution In-Reply-To: <4D3F2CB9.9030501@hyperactivesw.com> References: <4D3E42A8.8050701@hyperactivesw.com> <32145929.4.1295957009160.JavaMail.robl@Robert-Lawrences-iMac.local> <4D3F1D86.5060300@hyperactivesw.com> <4D3F2CB9.9030501@hyperactivesw.com> Message-ID: <1295987934678-3236957.post@n4.nabble.com> Just checked the latest download of 4.5.2 and that comes with no obvious icons. There is one machine I sometimes use with gnome on it, and I seem to recall downloading the graphic, then creating the desktop launcher, and then linking to the graphic to inconify it. So yes, a considerately provided icon type graphic would be seen as a friendly gesture! Most linux users are also used to setting the executable bit. Its only a right click in gnome. They have to get used to using properties because attachments often end up read only, and always will be non-executable, so if you are putting linux in for someone, this is one of the must cover things. One day I must do a check list of the others. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Linux-standalone-distibution-tp3235370p3236957.html Sent from the Revolution - User mailing list archive at Nabble.com. From anthonyhowe at mac.com Tue Jan 25 15:52:42 2011 From: anthonyhowe at mac.com (Anthony Howe) Date: Wed, 26 Jan 2011 07:52:42 +1100 Subject: callbacks and looping players. Message-ID: <5EBDA052-61FB-49E7-A9DC-7DF05B2975AE@mac.com> heya folks, Just tried to implement some callbacks based logic from a player object playing a LOOPING video. Seems that the callbacks are registered OK for the first run, but cannot hear boo from them after that inside a looping playback moment. Any pointers? Can i construct some sort of timer in the event that either player objects or perhaps QTExternal are not up to this? Warm regards, A. From mcgrath3 at mac.com Tue Jan 25 15:54:33 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 25 Jan 2011 15:54:33 -0500 Subject: usb driver problem In-Reply-To: <81775130515.20110125080543@ahsoftware.net> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> <90570741250.20110122231914@ahsoftware.net> <"655D7 C24-63FF-434F-81A0-98C01C4D86C5"@mac.com> <8E8C596B-4378-44B6-9DE4-69A2AC924C77@jhj.com> <69D174AB-D4F7-4499-8272-56D04988E572@mac.com> <4A568B4D-0EE4-4BE4-989C-47D749B855CA@mac.com> <81775130515.20110125080543@ahsoftware.net> Message-ID: <603FE269-9502-48C3-AEAE-0A8CED782F63@mac.com> They could very well be related. I have asked Heather is this could be a Support Ticket item for the team to look into. Waiting patiently -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 25, 2011, at 11:05 AM, Mark Wieder wrote: > Tom- > > Is this possibly related to bz #1708? > > -- > -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 support at ahsomme.com Tue Jan 25 15:57:08 2011 From: support at ahsomme.com (Paul Looney) Date: Tue, 25 Jan 2011 12:57:08 -0800 Subject: revision control software In-Reply-To: References: Message-ID: William, Here at Simple Solutions we've been using Chipp Walter's Magic Carpet. I could not find a specific link, but this may help: http://altuit-inc1.software.informer.com/ Paul Looney On Jan 25, 2011, at 11:04 AM, william humphrey wrote: > What's the best revision control software to use when you have one > developer > (in the Bahamas say) working on the Windows version and another > working on > the Mac version? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bill at bluewatermaritime.com Tue Jan 25 17:12:16 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Tue, 25 Jan 2011 18:12:16 -0400 Subject: revision control software In-Reply-To: References: Message-ID: We are considering http://www.syntevo.com/smartcvs/index.html as the best multi-platform choice. From david at vaudevillecourt.tv Tue Jan 25 18:26:43 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Tue, 25 Jan 2011 23:26:43 +0000 Subject: File naming convention In-Reply-To: References: Message-ID: Thanks for the notes everyone.... On 25 January 2011 18:50, Calvin Waterbury wrote: > The first thing to understand about Windows? file names you can't use the > following... > > \ / : * ? " < > | > :( I thought the pipe character was OK nowadays? Hmmm... so it seems "." is fine for folders... I wander if urlencoding has a place here? On 25 January 2011 20:10, Jeff Massung wrote: > On Tue, Jan 25, 2011 at 6:11 AM, David Bovill >wrote: > > - Use a database to map from source file -> documentation. This way no hack > is needed and it mitigates future problems, like what happens when someone > goes back and renames hello.txt to hello_world.txt? > Renaming will be a major issue - but a database is not an easy option... - Don't have a "docs" folder, but instead make the documentation file sit > right next to the source file. > nor is this set up unfortunately (that is how I have the files at the moment, but I have to move them into their own folder as the web server insists on it. The only solution therefore is a simple function which can be in JavaScript or LiveCode. - Multiple files w/ the same name in different locations > This should be OK - as the documentation tree will mimic the file tree. > - Renaming source files (documentation "link" now broken) > - Moving of source files to a new location ("link" broken) > These are the headaches. One thought I've had is to use the revision control system to trace the files version back to it's original root, and use this as an ID - but this is too complicated and not available in the simplified environment I'm using - I'm stuck with a simple function... Thanks for raising the issues though - will need some thought. A couple of possibilities give some hope with regard to creating a robust solution: 1. I can use the commit messages (ie revision log information) regarding renames and deletions and apply these to the documentation at a convenient time. 2. I can use the sha1 hash of the file as generated by the revision control system and embed this in the initial documentation - if a link gets broken, I can always trace the documentation back to this file via the hash. From david at vaudevillecourt.tv Tue Jan 25 18:34:34 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Tue, 25 Jan 2011 23:34:34 +0000 Subject: Student Observations on Weekly Presentations In-Reply-To: <4D3F2BAA.108@eml.cc> References: <4D3F2BAA.108@eml.cc> Message-ID: Thanks for the comments Calvin! The encouragement and constructive comments are very motivating. The sessions are certainly informal - in my view the lower and more fun the expectations the more it will encourage other people to give it a go - really everyone has something to show that others can enjoy and learn from. Also, for now we are experimenting with formats and techniques - so I think you will see a lot of cool tools being added to the mix in the coming weeks - think of it as beta for now with a more professional launch towards the time of the conference - at least that's my excuse :) On 25 January 2011 19:59, Calvin Waterbury wrote: > Hello, > > First off, "BRAVO!" to all who take their time and knowledge to make these > presentations! They have been extremely helpful in my learning of LiveCode > and in being introduced to the programming world outside of Windows?! > > I also wish to convey my comments herein are not intended as criticisms, > but as a "reflection" through the eyes of a student. If nothing changes, I > will still continue to participate and glean what I can from each session. > I realize that "newbies" are in the minority and I do not expect nor desire > the presentations to be "dumbed down." I can understand that spicing up a > presentation makes for a less mundane experience. > > My comments are from only seeing four presentations. Perhaps the > presenters were having "off days?" > > Ok, with the above preamble/disclaimers in place, here are some thoughts > for your consideration when you present... > > 1. RECORDING - Please make sure you are recording, if you intend to do so > and let your audience know at the outset you are doing so. Others mileage > may vary, but for me knowing I will be able to review the presentation > allows me to relax and look at the bigger picture and more robust > interaction of Q&A during the live presentation. The couple of times the > chat had comments like "Is he recording?" and "Did he turn on the recorder?" > sent me into a quasi-panic of myopia and tunnel-vision because I did not > want to miss any details. > > 2. SCREEN VIEW - It is nice to match a face to a voice. Seeing the "camera > view" of the presenter at the beginning and briefly "here and there" during > the presentation certainly assists the tardy as well. Aside from these brief > displays, it is very helpful if the screen real estate, the "screen view" is > allocated to the computer desktop and specific windows where the coding > action is happening. Without doing so, it is impossible to read the script, > etc. windows. > > 3. DISTRACTIONS - Just a quick note to say I found the visual effects and > cartoon animations to distracting for my taste, besides taking up screen > area. This is my own personal opinion and not necessarily the opinion of > any other participant(s). > > 4. VERBOSITY - I realize this comes easier to some than others, but try to > verbalize your thought processes as you are working through your > presentation. This really helps to "connect the dots," especially for those > of us who do not have the same familiarity yet. While I am a newbie to > LiveCode, I am not a novice programmer and "hearing" the logic spoken allows > my experience to assist my learning. Also, if your presentation contains a > bug, hearing the logic may allow me to assist in debugging where otherwise I > could not. > > 5. KEEP AN EYE ON THE CHAT - *We* are able to see and hear you via USTREAM, > but but the only way you can "see" or "hear" our feedback is via the > ChatRev. I noticed more than one instance where the presenter was oblivious > to what the audience was trying to "say," especially when there were > problems like sound issues, performance, clarity, etc. > > > Ok, there are my notes from *my* experiences. Use what you feel is valid > and throw out the rest, but by all means please continue to present! :) > > I would like to encourage everyone to present something. Everyone has > their own personal way of communicating and the way *you* might say > something could unlock someone's understanding where no one else's would. > You don't have to be a guru-coder to present either. Maybe your > presentation could be about how you lay out your LiveCode work space, what > ancillary tools you use to develop, etc. I am working on a project that I > will present, hopefully in about six weeks, if I haven't bit off more than I > can chew. ;) > > FYI - I used to work in a television station years ago and have coached > people into getting over the intimidation, anxiety and stage fright of being > in front of an audience on camera. I'll be glad to help if you want to try > and present. Unfortunately, I will have to defer the technical questions > about using USTREAM to other experienced presenters at this time. > From m.schonewille at economy-x-talk.com Tue Jan 25 18:47:44 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 26 Jan 2011 00:47:44 +0100 Subject: Student Observations on Weekly Presentations In-Reply-To: <4D3F2BAA.108@eml.cc> References: <4D3F2BAA.108@eml.cc> Message-ID: Hi Calvin, Thanks, I appreciate your comments and I'm glad that the presentations are useful for you. Unfortunately, we can't and don't want to tell people how to present and we don't want them to follow any kind of rules. There is only one rule: THERE ARE NO RULES!!! I am afraid that your e-mail scared off dozens of people who were thinking they might do a presentation at some time. These people have seen your e-mail and are now backing off. I would like to say to those people: don't worry, we are not going to demand anything from you. If anyone would like to do a presentation, no matter if you hardly speak English or have never released any product, you are always welcome to show us what you do with Revolution/LiveCode. We usually have more than 20 participants and some of them like to see a really informal video chat while others prefer a more formal lecture. There is no "right" way. Sorry Calvin, I just had to say this. If the main goal would be to teach, then you were absolutely right, but the true goal of the Live LiveCode Code Event really just is to gather a bunch of people and have some fun. I hope you don't mind. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qery.us/ce On 25 jan 2011, at 20:59, Calvin Waterbury wrote: > Hello, > > First off, "BRAVO!" to all who take their time and knowledge to make these presentations! They have been extremely helpful in my learning of LiveCode and in being introduced to the programming world outside of Windows?! > > I also wish to convey my comments herein are not intended as criticisms, but as a "reflection" through the eyes of a student. If nothing changes, I will still continue to participate and glean what I can from each session. I realize that "newbies" are in the minority and I do not expect nor desire the presentations to be "dumbed down." I can understand that spicing up a presentation makes for a less mundane experience. > > My comments are from only seeing four presentations. Perhaps the presenters were having "off days?" > > Ok, with the above preamble/disclaimers in place, here are some thoughts for your consideration when you present... > > 1. RECORDING - Please make sure you are recording, if you intend to do so and let your audience know at the outset you are doing so. Others mileage may vary, but for me knowing I will be able to review the presentation allows me to relax and look at the bigger picture and more robust interaction of Q&A during the live presentation. The couple of times the chat had comments like "Is he recording?" and "Did he turn on the recorder?" sent me into a quasi-panic of myopia and tunnel-vision because I did not want to miss any details. > > 2. SCREEN VIEW - It is nice to match a face to a voice. Seeing the "camera view" of the presenter at the beginning and briefly "here and there" during the presentation certainly assists the tardy as well. Aside from these brief displays, it is very helpful if the screen real estate, the "screen view" is allocated to the computer desktop and specific windows where the coding action is happening. Without doing so, it is impossible to read the script, etc. windows. > > 3. DISTRACTIONS - Just a quick note to say I found the visual effects and cartoon animations to distracting for my taste, besides taking up screen area. This is my own personal opinion and not necessarily the opinion of any other participant(s). > > 4. VERBOSITY - I realize this comes easier to some than others, but try to verbalize your thought processes as you are working through your presentation. This really helps to "connect the dots," especially for those of us who do not have the same familiarity yet. While I am a newbie to LiveCode, I am not a novice programmer and "hearing" the logic spoken allows my experience to assist my learning. Also, if your presentation contains a bug, hearing the logic may allow me to assist in debugging where otherwise I could not. > > 5. KEEP AN EYE ON THE CHAT - *We* are able to see and hear you via USTREAM, but but the only way you can "see" or "hear" our feedback is via the ChatRev. I noticed more than one instance where the presenter was oblivious to what the audience was trying to "say," especially when there were problems like sound issues, performance, clarity, etc. > > > Ok, there are my notes from *my* experiences. Use what you feel is valid and throw out the rest, but by all means please continue to present! :) > > I would like to encourage everyone to present something. Everyone has their own personal way of communicating and the way *you* might say something could unlock someone's understanding where no one else's would. You don't have to be a guru-coder to present either. Maybe your presentation could be about how you lay out your LiveCode work space, what ancillary tools you use to develop, etc. I am working on a project that I will present, hopefully in about six weeks, if I haven't bit off more than I can chew. ;) > > FYI - I used to work in a television station years ago and have coached people into getting over the intimidation, anxiety and stage fright of being in front of an audience on camera. I'll be glad to help if you want to try and present. Unfortunately, I will have to defer the technical questions about using USTREAM to other experienced presenters at this time. > > Fair winds, > Calvin > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david at vaudevillecourt.tv Tue Jan 25 19:03:33 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Wed, 26 Jan 2011 00:03:33 +0000 Subject: $PATH Message-ID: AFAIK - the way $PATH works (at least on OSX / Linux) is not the same as you get when you open your terminal... essentially because it is not using your .profile or equivalent settings when the shell is initiated. I am not sure where it gets it's initial setting? What do people do to ensure command line tools are reachable... cross platform? I can think of a few strategies: 1. Use the full path when calling them and place them in any folder you want 2. Give a use the option to install it in one of the existing folders already on the PATH 3. Set the $PATH using shell commands - I'm not sure what effect if any setting it in the IDE / application has? Also for those of you on Windows - how does the shell work in terms of paths on Windows systems - has anyone any links I can read up on? From massung at gmail.com Tue Jan 25 19:05:38 2011 From: massung at gmail.com (Jeff Massung) Date: Tue, 25 Jan 2011 17:05:38 -0700 Subject: File naming convention In-Reply-To: References: Message-ID: On Tue, Jan 25, 2011 at 4:26 PM, David Bovill wrote: > Thanks for the notes everyone.... > > > - Renaming source files (documentation "link" now broken) > > - Moving of source files to a new location ("link" broken) > > > > These are the headaches. One thought I've had is to use the revision > control > system to trace the files version back to it's original root,... SHA1's and such will certainly help. If you've never used it before (sounds like you have from your choice of jargon), GIT is pretty damn incredible at figuring out file moves and realizing that file A is no longer there, file B showed up, but oddly enough is almost exactly the same as A was, and assuming that B is really just A moved to B's location. You may be able to use that to your advantage. Jeff M. From johnpatten at mac.com Tue Jan 25 19:20:22 2011 From: johnpatten at mac.com (John Patten) Date: Tue, 25 Jan 2011 16:20:22 -0800 Subject: Chopping Up A Paragraph into chunks In-Reply-To: <4D272DEC.8000806@fourthworld.com> References: <4D272DEC.8000806@fourthworld.com> Message-ID: <50785D90-9C1E-4F56-AF84-C927FC1CBD7E@mac.com> Hi All... I'm trying to divide a paragraph into random chunks, but I'm not quite sure how to do it. Here's what I'm thinking: put the text of cd fld "paragraphContainer" into tParagraph put the number of words in tParagraph into tWordCount put random(10) into tRandomGroup --determineshow many words per chunk put tWordCount/tRandomGroup into tNumberOfWordsInChunk --I know I could have a decimal, but I'll deal with that later... put 0 into x repeat until number of words in cd fld "paragraphContainer" = 0 -- Not sure this is possible? create field set the loc of last fld to (x+5,150) -- stepping the location of each new field over 5 pixels select first tRandomGroup words of cd fld "paragraphContainer" -- planning to cut selected words from field and just repeat until all words are cut from field cut selectedText paste into last cd fld add 5 to x end repeat Would it be better to put all the chunks in an array first, and then pull them out of the array in chunks? Ultimately just trying to get a group of new fields consisting of chunks of text from the main paragraph. Thank you! John Patten SUSD From ray at linkit.com Tue Jan 25 19:28:20 2011 From: ray at linkit.com (Ray Horsley) Date: Tue, 25 Jan 2011 19:28:20 -0500 Subject: RevBrowserPrint Problems Message-ID: <005901cbbcef$efcc4b60$cf64e220$@LinkIt.Com> Greetings, I'm printing a stack of 10 cards. Cards 2, 4 and 6 display a URL via the revBrowser commands while the others do not. The following script does not work since each time the revBrowserPrint command is called the script continues to execute without waiting for the user to dismiss the print dialog which revBrowser produces (and it's seems there's no way to suppress the dialog). on printStack repeat with C=1 to number of cards go cd C put the BrowserId of this cd into myId if myId is a number then revBrowserPrint myId else print this cd end repeat end printStack Wrapping the same kind of a script in 'open printing' and 'close printing' also fails since revBroswerPrint seems to be oblivious to 'open printing'. I've tried inserting an answer command to confirm printing each card. This seems to work but then even this gets ahead of the revBrowserPrint as the answer dialog window starts coming up on top of a previously displayed print dialog produced by revBrowserPrint which the user hasn't dismissed yet (and need to dismiss first or printing gets out of order). Anybody with any ideas on how to work around this? Thanks, Ray Horsley LinkIt! Software From cjw at eml.cc Tue Jan 25 19:30:38 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Tue, 25 Jan 2011 18:30:38 -0600 Subject: Student Observations on Weekly Presentations In-Reply-To: References: <4D3F2BAA.108@eml.cc> Message-ID: <4D3F6B2E.902@eml.cc> Hi David, I am glad you chimed in that "presenting" is not only for the favored few, but for everyone! Looking forward to the "new" stuff! Calvin > ------------------------------------------------------------------------ > > David Bovill > Tuesday, January 25, 2011 5:34 PM > > > Thanks for the comments Calvin! > > The encouragement and constructive comments are very motivating. The > sessions are certainly informal - in my view the lower and more fun the > expectations the more it will encourage other people to give it a go - > really everyone has something to show that others can enjoy and learn > from. > > Also, for now we are experimenting with formats and techniques - so I > think > you will see a lot of cool tools being added to the mix in the coming > weeks > - think of it as beta for now with a more professional launch towards the > time of the conference - at least that's my excuse :) > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ------------------------------------------------------------------------ > > Calvin Waterbury > Tuesday, January 25, 2011 1:59 PM > > > Hello, > > First off, "BRAVO!" to all who take their time and knowledge to make > these presentations! They have been extremely helpful in my learning > of LiveCode and in being introduced to the programming world outside > of Windows?! > > I also wish to convey my comments herein are not intended as > criticisms, but as a "reflection" through the eyes of a student. If > nothing changes, I will still continue to participate and glean what I > can from each session. I realize that "newbies" are in the minority > and I do not expect nor desire the presentations to be "dumbed down." > I can understand that spicing up a presentation makes for a less > mundane experience. > > My comments are from only seeing four presentations. Perhaps the > presenters were having "off days?" > > Ok, with the above preamble/disclaimers in place, here are some > thoughts for your consideration when you present... > > 1. RECORDING - Please make sure you are recording, if you intend to do > so and let your audience know at the outset you are doing so. Others > mileage may vary, but for me knowing I will be able to review the > presentation allows me to relax and look at the bigger picture and > more robust interaction of Q&A during the live presentation. The > couple of times the chat had comments like "Is he recording?" and "Did > he turn on the recorder?" sent me into a quasi-panic of myopia and > tunnel-vision because I did not want to miss any details. > > 2. SCREEN VIEW - It is nice to match a face to a voice. Seeing the > "camera view" of the presenter at the beginning and briefly "here and > there" during the presentation certainly assists the tardy as well. > Aside from these brief displays, it is very helpful if the screen real > estate, the "screen view" is allocated to the computer desktop and > specific windows where the coding action is happening. Without doing > so, it is impossible to read the script, etc. windows. > > 3. DISTRACTIONS - Just a quick note to say I found the visual effects > and cartoon animations to distracting for my taste, besides taking up > screen area. This is my own personal opinion and not necessarily the > opinion of any other participant(s). > > 4. VERBOSITY - I realize this comes easier to some than others, but > try to verbalize your thought processes as you are working through > your presentation. This really helps to "connect the dots," > especially for those of us who do not have the same familiarity yet. > While I am a newbie to LiveCode, I am not a novice programmer and > "hearing" the logic spoken allows my experience to assist my > learning. Also, if your presentation contains a bug, hearing the > logic may allow me to assist in debugging where otherwise I could not. > > 5. KEEP AN EYE ON THE CHAT - *We* are able to see and hear you via > USTREAM, but but the only way you can "see" or "hear" our feedback is > via the ChatRev. I noticed more than one instance where the presenter > was oblivious to what the audience was trying to "say," especially > when there were problems like sound issues, performance, clarity, etc. > > > Ok, there are my notes from *my* experiences. Use what you feel is > valid and throw out the rest, but by all means please continue to > present! :) > > I would like to encourage everyone to present something. Everyone has > their own personal way of communicating and the way *you* might say > something could unlock someone's understanding where no one else's > would. You don't have to be a guru-coder to present either. Maybe > your presentation could be about how you lay out your LiveCode work > space, what ancillary tools you use to develop, etc. I am working on > a project that I will present, hopefully in about six weeks, if I > haven't bit off more than I can chew. ;) > > FYI - I used to work in a television station years ago and have > coached people into getting over the intimidation, anxiety and stage > fright of being in front of an audience on camera. I'll be glad to > help if you want to try and present. Unfortunately, I will have to > defer the technical questions about using USTREAM to other experienced > presenters at this time. > > Fair winds, > Calvin From mwieder at ahsoftware.net Tue Jan 25 20:13:53 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 25 Jan 2011 17:13:53 -0800 Subject: Happy Robbie Burns Night Message-ID: <53808020437.20110125171353@ahsoftware.net> All- What are you doing to celebrate Burns Night? I made a vegetarian haggis (with neeps and tatties, natch) and will be reciting "To a Haggis" at a dinner this evening. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Tue Jan 25 20:14:59 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 25 Jan 2011 17:14:59 -0800 Subject: $PATH In-Reply-To: References: Message-ID: <142808086421.20110125171459@ahsoftware.net> David- Tuesday, January 25, 2011, 4:03:33 PM, you wrote: > AFAIK - the way $PATH works (at least on OSX / Linux) is not the same as you > get when you open your terminal... essentially because it is not using your > .profile or equivalent settings when the shell is initiated. I am not sure > where it gets it's initial setting? $PATH returns my path on Fedora Core. So does put shell("$PATH") -- -Mark Wieder mwieder at ahsoftware.net From cjw at eml.cc Tue Jan 25 20:20:10 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Tue, 25 Jan 2011 19:20:10 -0600 Subject: Happy Robbie Burns Night In-Reply-To: <53808020437.20110125171353@ahsoftware.net> References: <53808020437.20110125171353@ahsoftware.net> Message-ID: <4D3F76CA.9060702@eml.cc> Hi Mark, I am not familiar with "Burn's Night." I could do a search on the web for information, but I like the personal touch. :) Could you provide a brief explanation or at least a link to what *you* are referencing? Also, I am equally lost about "haggis (with neeps and tatties, natch)," but I can dig that up myself (I hope?). Thanks in advance, Calvin > ------------------------------------------------------------------------ > > Mark Wieder > Tuesday, January 25, 2011 7:13 PM > > > All- > > What are you doing to celebrate Burns Night? I made a vegetarian > haggis (with neeps and tatties, natch) and will be reciting "To a > Haggis" at a dinner this evening. > From cjw at eml.cc Tue Jan 25 20:49:43 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Tue, 25 Jan 2011 19:49:43 -0600 Subject: Student Observations on Weekly Presentations In-Reply-To: References: <4D3F2BAA.108@eml.cc> Message-ID: <4D3F7DB7.6050604@eml.cc> Hi Mark, No need to to apologize since you are expressing your thoughts and opinions as I did mine. I take them for who you are and as a way to learn you better, but it doesn't follow I will necessarily agree. ;) "RULES" Who said anything about "RULES?" I certainly didn't! I took pains to make sure the reader understood *my* comments were simply that... "mine." They were *my* opinions and views relating to my experience. Unless you can tell me that you have received numerous emails from trembling people who were intimidated by "my opinions," I question how fair it is to state... "I am afraid that your e-mail scared off dozens of people who were thinking they might do a presentation at some time. These people have seen your e-mail and are now backing off. I would like to say to those people: don't worry, we are not going to demand anything from you." Did you receive any emails from "dozens?" This is important for me to know as I will have to do a major overhaul to my present understanding of how to communicate. On the issue of "... not demanding anything..." I am *not* demanding anything. I guess it really comes down to "why" people are presenting? I'm persuaded the whole point of sharing something via "presentations" (maybe this moniker should be renamed?) is to communicate knowledge and understanding. If I am "sharing" via a USTREAM session, my intent is to make what is mine, yours. I want to let what I understand be available to let you add it to your understanding, if you wish. The concept of making a "presentation" just to do a "presentation" is absurd. If I do a USTREAM session and don't show the screen properly, you will not be able to follow, especially if I never offer enough commentary. Further, if I use my own custom naming conventions that have no relation or context to what I am working on additional confusion is added to the mix. How easy would it be for you to understand if I chose to use animal names for different parts of a construct, instead of related verbiage that makes sense in the routine's context? The answer: very difficult at best. If I did use animal names and didn't watch the chat, how would any questions on the chat seeking clarity ever be seen? I'm not really sure what you were trying to convey in your remarks and I have no desire to make any enemies here, but when someone offers a criticism of my offerings that had no ill intention and was painstakingly crafted to ensure the same, they had better be prepared to substantiate their rebuttal. This does not mean I can't learn from correction, but I can't learn if I don't understand the point(s) being made. Keep in mind, I may attack a *message,* but I try hard to never to attack a *messenger.* Frankly, you might consider how the criticism of my comments you offered has "...scared off dozens of people who were thinking they might..." offer their own criticism of how things are around here? I can assure you the acceptance or the resistance of such criticisms as I have offered by long-standing members will speak volumes to any others as to what they can expect. The response of ensconced membership to critical comments and suggestions from the masses *will* encourage or discourage a free-flow of dialog. In closing, I would like to reiterate my original comments were my own personal and unique observations. Nothing was intended (nor do I expect it was universally construed) as heavy-handed directives or "rules." I agree there are no "RULES" to follow in "presenting," but if anyone is interested in myself (maybe others?) as participant(s) to gain anything from what is being offered, common sense should dictate what conventions should be adhered to. Given the above, I ask you or anyone else to please highlight and explain which of my five suggestions were outside the realms of common sense? Mark, my comments above are a friendly response to your friendly rebuttal and I look forward to further friendly dialectic. Since I am very new to this group I need to state if anything I have stated or the way I have stated it seems to have violated the context of an amiable debate, please advise me via private email. I love a healthy argument with an intelligent person, but I hate hurting anyone's feelings. You may depend on me to make any public correction or public apology if deemed necessary. Fair winds, Calvin > ------------------------------------------------------------------------ > > Mark Schonewille > Tuesday, January 25, 2011 5:47 PM > > > Hi Calvin, > > Thanks, I appreciate your comments and I'm glad that the presentations > are useful for you. Unfortunately, we can't and don't want to tell > people how to present and we don't want them to follow any kind of > rules. There is only one rule: THERE ARE NO RULES!!! > > I am afraid that your e-mail scared off dozens of people who were > thinking they might do a presentation at some time. These people have > seen your e-mail and are now backing off. I would like to say to those > people: don't worry, we are not going to demand anything from you. > > If anyone would like to do a presentation, no matter if you hardly > speak English or have never released any product, you are always > welcome to show us what you do with Revolution/LiveCode. We usually > have more than 20 participants and some of them like to see a really > informal video chat while others prefer a more formal lecture. There > is no "right" way. > > Sorry Calvin, I just had to say this. If the main goal would be to > teach, then you were absolutely right, but the true goal of the Live > LiveCode Code Event really just is to gather a bunch of people and > have some fun. I hope you don't mind. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.5 for LiveCode here > http://qery.us/ce > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ------------------------------------------------------------------------ > > Calvin Waterbury > Tuesday, January 25, 2011 1:59 PM > > > Hello, > > First off, "BRAVO!" to all who take their time and knowledge to make > these presentations! They have been extremely helpful in my learning > of LiveCode and in being introduced to the programming world outside > of Windows?! > > I also wish to convey my comments herein are not intended as > criticisms, but as a "reflection" through the eyes of a student. If > nothing changes, I will still continue to participate and glean what I > can from each session. I realize that "newbies" are in the minority > and I do not expect nor desire the presentations to be "dumbed down." > I can understand that spicing up a presentation makes for a less > mundane experience. > > My comments are from only seeing four presentations. Perhaps the > presenters were having "off days?" > > Ok, with the above preamble/disclaimers in place, here are some > thoughts for your consideration when you present... > > 1. RECORDING - Please make sure you are recording, if you intend to do > so and let your audience know at the outset you are doing so. Others > mileage may vary, but for me knowing I will be able to review the > presentation allows me to relax and look at the bigger picture and > more robust interaction of Q&A during the live presentation. The > couple of times the chat had comments like "Is he recording?" and "Did > he turn on the recorder?" sent me into a quasi-panic of myopia and > tunnel-vision because I did not want to miss any details. > > 2. SCREEN VIEW - It is nice to match a face to a voice. Seeing the > "camera view" of the presenter at the beginning and briefly "here and > there" during the presentation certainly assists the tardy as well. > Aside from these brief displays, it is very helpful if the screen real > estate, the "screen view" is allocated to the computer desktop and > specific windows where the coding action is happening. Without doing > so, it is impossible to read the script, etc. windows. > > 3. DISTRACTIONS - Just a quick note to say I found the visual effects > and cartoon animations to distracting for my taste, besides taking up > screen area. This is my own personal opinion and not necessarily the > opinion of any other participant(s). > > 4. VERBOSITY - I realize this comes easier to some than others, but > try to verbalize your thought processes as you are working through > your presentation. This really helps to "connect the dots," > especially for those of us who do not have the same familiarity yet. > While I am a newbie to LiveCode, I am not a novice programmer and > "hearing" the logic spoken allows my experience to assist my > learning. Also, if your presentation contains a bug, hearing the > logic may allow me to assist in debugging where otherwise I could not. > > 5. KEEP AN EYE ON THE CHAT - *We* are able to see and hear you via > USTREAM, but but the only way you can "see" or "hear" our feedback is > via the ChatRev. I noticed more than one instance where the presenter > was oblivious to what the audience was trying to "say," especially > when there were problems like sound issues, performance, clarity, etc. > > > Ok, there are my notes from *my* experiences. Use what you feel is > valid and throw out the rest, but by all means please continue to > present! :) > > I would like to encourage everyone to present something. Everyone has > their own personal way of communicating and the way *you* might say > something could unlock someone's understanding where no one else's > would. You don't have to be a guru-coder to present either. Maybe > your presentation could be about how you lay out your LiveCode work > space, what ancillary tools you use to develop, etc. I am working on > a project that I will present, hopefully in about six weeks, if I > haven't bit off more than I can chew. ;) > > FYI - I used to work in a television station years ago and have > coached people into getting over the intimidation, anxiety and stage > fright of being in front of an audience on camera. I'll be glad to > help if you want to try and present. Unfortunately, I will have to > defer the technical questions about using USTREAM to other experienced > presenters at this time. > > Fair winds, > Calvin From pete at mollysrevenge.com Tue Jan 25 22:03:42 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Tue, 25 Jan 2011 19:03:42 -0800 Subject: Happy Robbie Burns Night In-Reply-To: <53808020437.20110125171353@ahsoftware.net> References: <53808020437.20110125171353@ahsoftware.net> Message-ID: Here's a snippet from my friend in Scotland that might balance out the terrible thought of vegetarian haggis! "Whilst I?m here I?d like say ?Happy Rabbie Burns Day?. Every hospital in every country of the World has a Burns unit thanks to our National bard? Unlike our US counterparts, us Scots are having Haggis with?extra sheep lung. Yeh, you ?health and safety? mad dudes heard me right?extra sheep lung?how do you like that huh!?" I guess the only thing that could make it better would ch**se! (Hope that doesn't violate forum policies) Pete Haworth On Jan 25, 2011, at 5:13 PM, Mark Wieder wrote: > All- > > What are you doing to celebrate Burns Night? I made a vegetarian > haggis (with neeps and tatties, natch) and will be reciting "To a > Haggis" at a dinner this evening. > > -- > -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 Jan 25 22:57:38 2011 From: DunbarX at aol.com (DunbarX at aol.com) Date: Tue, 25 Jan 2011 22:57:38 EST Subject: Chopping Up A Paragraph into chunks Message-ID: <8b339.4213ce45.3a70f5b2@aol.com> This should be done with the wordoffset function, using the "words to skip" to advantage. But this more readable. I had a field "source" with some text, and a fld "theResults". In a button script: on mouseUp put "" into fld "theResults" put fld "source" into temp repeat while the number of words of temp <> 0 get random(8) put word 1 to it of temp & return after fld "theResults" delete word 1 to it of temp end repeat end mouseup Straigthtforward. But try it with the wordOffset function, keeping track of where you are and updating the "words to skip". You can play around with your field making gadgetry; change the repeat loop by adding a counter so that a new field is created each pass. Put the data into those new fields instead of appending to the "theResults" field. Craig Newman From jacque at hyperactivesw.com Tue Jan 25 23:49:03 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 25 Jan 2011 22:49:03 -0600 Subject: Chopping Up A Paragraph into chunks In-Reply-To: <50785D90-9C1E-4F56-AF84-C927FC1CBD7E@mac.com> References: <4D272DEC.8000806@fourthworld.com> <50785D90-9C1E-4F56-AF84-C927FC1CBD7E@mac.com> Message-ID: <4D3FA7BF.50801@hyperactivesw.com> On 1/25/11 6:20 PM, John Patten wrote: > > I'm trying to divide a paragraph into random chunks, but I'm not quite > sure how to do it. > > Here's what I'm thinking: With some minor revisions your script will work but it isn't as efficient as it might be. > put the text of cd fld "paragraphContainer" into tParagraph > put the number of words in tParagraph into tWordCount > put random(10) into tRandomGroup --determineshow many words per chunk > put tWordCount/tRandomGroup into tNumberOfWordsInChunk --I know I could have a decimal, but I'll deal with that later... > put 0 into x "div" will eliminate the decimal problem, but the variable isn't used after this so I'd remove that line. > repeat until number of words in cd fld "paragraphContainer" = 0 --Not sure this is possible? Yes, that's valid. > create field > set the loc of last fld to (x+5,150) -- stepping the location of each new field over 5 pixels > select first tRandomGroup words of cd fld "paragraphContainer" -- planning to cut selected words from field and just repeat until all words are cut from field You can select "the first word of" but you can't select "the first x words of". So instead you'd need to change that to "select word 1 to tRandomGroup words of...". > cut selectedText > paste into last cd fld > add 5 to x > end repeat Accessing fields is one of the slowest things you can do, so it's best to avoid that as much as possible. The more you can do in memory, the better. Selecting text, cutting, and pasting are all expensive operations. One way to access fields less is to do all the chunking in memory and only access fields when you need to create and put text into them. I might do something like this: on mouseUp put the text of cd fld "paragraphContainer" into tParagraph -- don't touch the field again after this put random(10) into tWordsPerChunk -- words per chunk put 0 into x put 1 into tCurWordCount -- tracks which word we're at repeat until tCurWordCount > the number of words in tParagraph create field set the loc of last fld to (x+5,150) put word tCurWordCount to tCurWordCount+tWordsPerChunk of tParagraph into last fld add tWordsPerChunk+1 to tCurWordCount add 5 to x end repeat put "" into fld "paragraphContainer" -- if you want end mouseUp This is more efficient than cutting and pasting but it isn't as fast as it could be either, because each time through the loop the engine has to count up to the tCurWordCount word before it can find the text we want. So it's a little faster to just lop off the text you're done with -- like your original idea, only do it all in RAM: on mouseUp put the text of cd fld "paragraphContainer" into tParagraph put random(10) into tWordsPerChunk -- words per chunk put 0 into x repeat until tParagraph = "" create field set the loc of last fld to (x+5,150) put word 1 to tWordsPerChunk of tParagraph into last fld delete word 1 to tWordsPerChunk of tParagraph add 5 to x end repeat put "" into fld "paragraphContainer" -- if you want end mouseUp You were on the right track. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Jan 26 00:03:09 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 25 Jan 2011 23:03:09 -0600 Subject: Chopping Up A Paragraph into chunks In-Reply-To: <8b339.4213ce45.3a70f5b2@aol.com> References: <8b339.4213ce45.3a70f5b2@aol.com> Message-ID: <4D3FAB0D.7030207@hyperactivesw.com> On 1/25/11 9:57 PM, DunbarX at aol.com wrote: > This should be done with the wordoffset function, using the "words to > skip" to advantage. Except that wordOffset looks for a string match, and we're looking for a number of words instead. Your actual example works. It wasn't clear to me whether the chunks should be a random number per field, or a set size based on a random number, but after re-reading the original it looked like he wanted the same number of words per field. Whichever it should be, now he has two ways to do it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Jan 26 00:14:21 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 25 Jan 2011 23:14:21 -0600 Subject: Answer file with type BMPf? In-Reply-To: References: Message-ID: <4D3FADAD.8030300@hyperactivesw.com> On 1/25/11 12:19 PM, William de Smet wrote: > Hi there, > > Why doesn't this work for BMP files? > answer file "Kies een foto:" with type "All > Images|jpg,gif,png,bmp|JPEG,GIFf,PNGf,BMPf" > > on mouseup > answer file "Choose:" with type "All > Images|jpg,gif,png,bmp|JPEG,GIFf,PNGf,BMPf" > if it = empty > then > put empty into img "x1" > exit mouseUp > end if > put url ("binfile:"& it) into img "x1" > end mouseup It looks like it should work. What goes wrong? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From janschenkel at yahoo.com Wed Jan 26 00:22:08 2011 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 25 Jan 2011 21:22:08 -0800 (PST) Subject: RevBrowserPrint Problems In-Reply-To: <005901cbbcef$efcc4b60$cf64e220$@LinkIt.Com> Message-ID: <575856.48215.qm@web65405.mail.ac4.yahoo.com> --- On Tue, 1/25/11, Ray Horsley wrote: > Greetings, > > I'm printing a stack of 10 cards.? Cards 2, 4 and 6 > display a URL via the > revBrowser commands while the others do not.? The > following script does not > work since each time the revBrowserPrint command is called > the script > continues to execute without waiting for the user to > dismiss the print > dialog which revBrowser produces (and it's seems there's no > way to suppress > the dialog). > > on printStack > ???repeat with C=1 to number of cards > ? ? ? go cd C > ? ? ? put the BrowserId of this cd into > myId > ? ? ? if myId is a number then > ? ? ? ???revBrowserPrint > myId > ? ? ? else print this cd > ???end repeat > end printStack > > Wrapping the same kind of a script in 'open printing' and > 'close printing' > also fails since revBroswerPrint seems to be oblivious to > 'open printing'. > I've tried inserting an answer command to confirm printing > each card.? This > seems to work but then even this gets ahead of the > revBrowserPrint as the > answer dialog window starts coming up on top of a > previously displayed print > dialog produced by revBrowserPrint which the user hasn't > dismissed yet (and > need to dismiss first or printing gets out of order). > > Anybody with any ideas on how to work around this? > > Thanks, > > Ray Horsley > LinkIt! Software > Sorry to disappoint you, Ray, but revBrowserPrint is completely separate from LiveCode's built-in printing mechanism: it merely asks the embedded browser control (WebKit on MacOSX, InternetExplorer on Windows) to print as if the user had gone to the regular browser application and clicked the 'Print' button there. This means none of the LiveCode print properties and commands have any influence (printPaperOrientation, printRanges, printCopies and printerName to point out the obviously interesting ones) on how the browser decides to print - and it won't work "silently" either. 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 williamdesmet at gmail.com Wed Jan 26 01:41:12 2011 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 26 Jan 2011 07:41:12 +0100 Subject: Answer file with type BMPf? In-Reply-To: <4D3FADAD.8030300@hyperactivesw.com> References: <4D3FADAD.8030300@hyperactivesw.com> Message-ID: Hi Jacqueline, I forget to mention that this works for all images except for .bmp files. I'm on OSX 10.6 and the file is shown in Finder. Is this related to OSX? Greetings, William ----- Verstuurd vanaf mijn iPhone! Op 26 jan. 2011 om 06:14 heeft "J. Landman Gay" het volgende geschreven: > On 1/25/11 12:19 PM, William de Smet wrote: >> Hi there, >> >> Why doesn't this work for BMP files? >> answer file "Kies een foto:" with type "All >> Images|jpg,gif,png,bmp|JPEG,GIFf,PNGf,BMPf" >> >> on mouseup >> answer file "Choose:" with type "All >> Images|jpg,gif,png,bmp|JPEG,GIFf,PNGf,BMPf" >> if it = empty >> then >> put empty into img "x1" >> exit mouseUp >> end if >> put url ("binfile:"& it) into img "x1" >> end mouseup > > It looks like it should work. What goes wrong? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Jan 26 01:55:23 2011 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 26 Jan 2011 08:55:23 +0200 Subject: Happy Robbie Burns Night In-Reply-To: <53808020437.20110125171353@ahsoftware.net> References: <53808020437.20110125171353@ahsoftware.net> Message-ID: <4D3FC55B.109@gmail.com> On 01/26/2011 03:13 AM, Mark Wieder wrote: > All- > > What are you doing to celebrate Burns Night? I made a vegetarian > haggis (with neeps and tatties, natch) and will be reciting "To a > Haggis" at a dinner this evening. > Nothing! While Burns' poetry was, on the whole, not unduly bad; his politics were proto-Socialist and his morals were abominable. From mwieder at ahsoftware.net Wed Jan 26 01:59:40 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 25 Jan 2011 22:59:40 -0800 Subject: Happy Robbie Burns Night In-Reply-To: <4D3F76CA.9060702@eml.cc> References: <53808020437.20110125171353@ahsoftware.net> <4D3F76CA.9060702@eml.cc> Message-ID: <105828767812.20110125225940@ahsoftware.net> Calvin- Tuesday, January 25, 2011, 5:20:10 PM, you wrote: > Hi Mark, > I am not familiar with "Burn's Night." I could do a search on the web > for information, but I like the personal touch. :) > Could you provide a brief explanation or at least a link to what *you* > are referencing? > Also, I am equally lost about "haggis (with neeps and tatties, natch)," > but I can dig that up myself (I hope?). Here's a starter kit: http://www.rbwf.org.uk/supper/burns_supper_intro.htm http://www.scottish-recipes.com/burns-night.html -- -Mark Wieder mwieder at ahsoftware.net From david at vaudevillecourt.tv Wed Jan 26 04:09:23 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Wed, 26 Jan 2011 09:09:23 +0000 Subject: $PATH In-Reply-To: <142808086421.20110125171459@ahsoftware.net> References: <142808086421.20110125171459@ahsoftware.net> Message-ID: Yes - but does it return the same $PATH even after you have customised your personal user $PATH with entries in .profile or one of the many other files that you can customise yourself, or that installers of command line tools often cutomise for you (for instance MacPorts). Even in MC days on Linux, I found that my own personal shell value of $PATH was not the same as the MC result that gets returned with $PATH. I doubt this is any different on Fedora Core? For instance on my OSX system: I can use shell commands because my $PATH in the default bash shell is: /opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin > In LiveCode $PATH (and therefore which command line tools are found) is simply: /usr/bin:/bin:/usr/sbin:/sbin:/opt/local/bin This is because my .profile settings are: > # MacPorts Installer addition on 2009-05-28_at_01:12:13: adding an > appropriate PATH variable for use with MacPorts. > export PATH=/opt/local/bin:/opt/local/sbin:$PATH > # Finished adapting your PATH environment variable for use with MacPorts. > > > # MacPorts Installer addition on 2009-05-28_at_01:12:13: adding an > appropriate MANPATH variable for use with MacPorts. > export MANPATH=/opt/local/share/man:$MANPATH > # Finished adapting your MANPATH environment variable for use with > MacPorts. > > > ## > # Your previous /Users/david/.profile file was backed up as > /Users/david/.profile.macports-saved_2009-08-28_at_23:30:02 > ## > > # MacPorts Installer addition on 2009-08-28_at_23:30:02: adding an > appropriate PATH variable for use with MacPorts. > export PATH=/opt/local/bin:/opt/local/sbin:$PATH > # Finished adapting your PATH environment variable for use with MacPorts. > Somewhere around I have code that would read and write to these files in order to keep the shell environments in LiveCode and the terminal in sync - and I need to get this right for the tools I'm working on for LiveCode TV shared code libraries, as they interface with various command line tools. Need to get to the bottom of these issues cross platform. On 26 January 2011 01:14, Mark Wieder wrote: > > > AFAIK - the way $PATH works (at least on OSX / Linux) is not the same as > you > > get when you open your terminal... essentially because it is not using > your > > .profile or equivalent settings when the shell is initiated. I am not > sure > > where it gets it's initial setting? > > $PATH returns my path on Fedora Core. So does > > put shell("$PATH") > From andre.bisseret at wanadoo.fr Wed Jan 26 04:23:35 2011 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Wed, 26 Jan 2011 10:23:35 +0100 Subject: [ANN] Data Grid Helper clones your DataGrids and supports the MC IDE In-Reply-To: References: Message-ID: <803B327B-3C68-4ABD-8B8E-AEEE6D6FF99C@wanadoo.fr> Bonjour TheSlug, Thanks a lot again for your beautiful and very useful DGH. Data grids is a superb complement to livecode thanks to Trevor deVore. But "a bit" more complex than any others objects ;-) ) The properties palette allows to set only a part of the properties and before DGH, I often had to script (via the message box). Now it's rarely the case; and even for properties that are settable in the properties palette, I prefer the DGH' categorization: seems to me quite faster! And of course, I love the "Install scripts" part of the DGH: fantastic ;-) it avoids long searches in the data grid" doc! Magnifique ! Best regards from Grenoble Andr? Le 17 janv. 2011 ? 15:45, zryip theSlug a ?crit : > Dear LiveCoder, > > We are pleased to announce the availability of a new version of DGH. > > What we have for you in the 1.2.0 version of DGH? > > > 1. A new feature: Mimetism. > > The mimetism feature allows to clone an existing datagrid by putting > it in a cloning chamber. > DGH clones: > - the datagrid properties, template and behaviors. > - the datagrid dgData. > > This is different than a simple copy/paste of an existing datagrid. In > DGH, the resulting clones have their own templates and behaviors, > instead of sharing the template and behaviors of the original > DataGrid. > > > 2. "lockloc" an object in the DGH's TMPL area is now possible. > > > 3. Change: > > - DGH supports now the MC IDE. > - DGH is now more reactive when switching between datagrids or > applying column or template changes to a datagrid. > - Icons of the TMPL area objects changes according to the system (Mac > and Windows / Linux) > > > 4. Fix > - Fix a bug with the visibility of a column in the column editor. An > invisible column could be set to visible after an update in the TMPL > area. > - Fix a bug with the selection of an object in the TMPL area. An > object was unselected after a drag. > > > If you have not already tested DGH, a trial version free for 30 days > is available here: > http://www.aslugontheroad.co.cc/index.php?option=com_phocadownload&view=category&download=17:data-grid-helper-plugin&id=12:trial&Itemid=63 > > We have also a quick start guide downloadable here: > http://www.aslugontheroad.co.cc/index.php?option=com_phocadownload&view=category&download=13:data-grid-helper-quick-start-guide&id=12:trial&Itemid=63 > > Thanks to William Moseid for the revision of the Quick Start Guide. > > > Btw, remember that we have also free materials about datagrids > downloadable here: > http://www.aslugontheroad.co.cc/index.php?option=com_phocadownload&view=category&id=7:data-grid&Itemid=63 > > > Best Regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david at vaudevillecourt.tv Wed Jan 26 04:25:10 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Wed, 26 Jan 2011 09:25:10 +0000 Subject: Student Observations on Weekly Presentations In-Reply-To: <4D3F7DB7.6050604@eml.cc> References: <4D3F2BAA.108@eml.cc> <4D3F7DB7.6050604@eml.cc> Message-ID: Hi Calvin - I know where you're coming from, and as my girlfriend is from Berlin - I'd say just put this down to cultural misunderstandings - not that I'm saying Mark is anything like my girlfriend... hmmm makes me think Valentines day is coming up - must be a good marketing angle there somewhere. Stay tuned. On 26 January 2011 01:49, Calvin Waterbury wrote: > > The concept of making a "presentation" just to do a "presentation" is > absurd. If I do a USTREAM session and don't show the screen properly, you > will not be able to follow, especially if I never offer enough commentary. > Further, if I use my own custom naming conventions that have no relation or > context to what I am working on additional confusion is added to the mix. > How easy would it be for you to understand if I chose to use animal names > for different parts of a construct, instead of related verbiage that makes > sense in the routine's context? The answer: very difficult at best. If I > did use animal names and didn't watch the chat, how would any questions on > the chat seeking clarity ever be seen? > Excellent proposal Carl! Animal names for handlers - has mileage. Seriously though - I think that you're right - a few more educational events are a good idea - and I promise to remember to press "record"! From david at vaudevillecourt.tv Wed Jan 26 04:27:29 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Wed, 26 Jan 2011 09:27:29 +0000 Subject: Happy Robbie Burns Night In-Reply-To: <4D3F76CA.9060702@eml.cc> References: <53808020437.20110125171353@ahsoftware.net> <4D3F76CA.9060702@eml.cc> Message-ID: On 26 January 2011 01:20, Calvin Waterbury wrote: > > Also, I am equally lost about "haggis (with neeps and tatties, natch)," but > I can dig that up myself (I hope?). > Calvin - please don't. They are bad enough alive. From effendi at wanadoo.fr Wed Jan 26 04:57:04 2011 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Wed, 26 Jan 2011 10:57:04 +0100 Subject: [ANN] TimeMachine Message-ID: <90E32952-4C0B-417D-B1AB-07831540E900@wanadoo.fr> Hi from Beautiful Britanny, Richmond wrote : > I wonder what "Universe" means. As Leon Lederman wrote on the cover of his great book "The God Particle" ..... : If the universe is the answer - What is the question ? Kind Regards -Francis "Nothing should ever be done for the first time !" From claudi.c at fiberworld.nl Wed Jan 26 05:48:22 2011 From: claudi.c at fiberworld.nl (Claudi Cornaz) Date: Wed, 26 Jan 2011 11:48:22 +0100 Subject: usb driver problem In-Reply-To: <4A568B4D-0EE4-4BE4-989C-47D749B855CA@mac.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> <90570741250.20110122231914@ahsoftware.net> <"655D7 C24-63FF-434F-81A0-98C01C4D86C5"@mac.com> <8E8C596B-4378-44B6-9DE4-69A2AC924C77@jhj.com> <69D174AB-D4F7-4499-8272-56D04988E572@mac.com> <4A568B4D-0EE4-4BE4-989C-47D749B855CA@mac.com> Message-ID: <798CC7B6-218C-4EB1-8581-13EF164FAE8C@fiberworld.nl> Hi all, Opening and closing the port after each read has a critical drawback. Each time you open the port, at least on mac, the arduino will reset itself, this means it will bootup. This not only takes time but all other data will be lost. This of course creates a big problem, or makes it completly impossible to use for most applications, certainly for what I am trying to do. I am further testing this and here are some "interesting" observation when using the arduino with OS 10.5 setUp: The arduino executes a repeat loop in which it sends a "1" every 300 millisecs out of it's serial port (9600 baud) In LC I have a routine which reads from driver "/dev/cu.usbmodem3d11" untill end every 200 milisecs and places a cr and this recieved data after my "recievedData" field. This means each read will be on it's own line. When I open the port in LC I seem to recieve nothing. First I have to send a char to the arduino and then I recieve the "1"'s the arduino sends. Question: why would it be neccesary to first send something in order to be able to recieve? Once I send a char to the arduino I start to see my recieved data starting with a bunch of "1"'s on one line and then it fills up with just one "1" on each line. This means the first read empty's the buffer which had been accumulating till I send out a char, to be able to recieve. The driver was already recieving and putting the data in the buffer but LC somehow was not able to read the driver untill at least one char was send out. As long as the arduino is sending a char at a time, once started recieveing, LC keeps on recieving without a problem. The moment I drag my stack around and let go I see a couple of "1" on one line again. My send in time routine which does the reading apperently didn't get called during the dragging so the data accumulated again in the buffer and was later read in one go. The longer I drag the stack around the more "1" I will see on the same line. Ok so the buffer can accumulate data and subsequently LC can read the whole bunch in one read call. I can let the buffer fillup quite substantialy by waiting to send a char after opening the driver or by draging the stack around for quite a while. (At least 20 char's can accumulate in the buffer, no problem) The moment I let the arduino send out to chars like "12" it first seems to be ok, but after about 3 sec. LC unexpectitly quits. I have made a copy of the crash report to see if there is some info in it. Perhaps one of the guru's on this list knows how to interpret this info and give some usefull suggestion. I certainly hope so. Arduino and LC seems like a winning ticket to me, which would open up a tremendous amount of possibility's. All the best, Claudi The crash report: Model: MacBook2,1, BootROM MB21.00A5.B07, 2 processors, Intel Core 2 Duo, 2.16 GHz, 2 GB Graphics: kHW_IntelGMA950Item, GMA 950, spdisplays_builtin, spdisplays_integrated_vram Memory Module: global_name AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x87), 1.4.16.2 Bluetooth: Version 2.1.9f10, 2 service, 1 devices, 1 incoming serial ports Network Service: Built-in Ethernet, Ethernet, en0 Serial ATA Device: WDC WD2500BEVS-00UST0, 232,89 GB Parallel ATA Device: MATSHITADVD-R UJ-857E USB Device: Built-in iSight, (null) mA USB Device: Bluetooth USB Host Controller, (null) mA USB Device: IR Receiver, (null) mA USB Device: Arduino Uno, (null) mA USB Device: Apple Internal Keyboard / Trackpad, (null) mA USB Device: composite_device, (null) mA --------------- Process: Revolution [7510] Path: /Users/ccM/ Programming/LiveCode 4.5.2.app/Contents/MacOS/Revolution Identifier: com.runrev.livecode Version: 4.5.2.1150 (4.5.2.1150) Code Type: X86 (Native) Parent Process: launchd [135] Interval Since Last Report: 6490879 sec Crashes Since Last Report: 22 Per-App Interval Since Last Report: 236466 sec Per-App Crashes Since Last Report: 19 Date/Time: 2011-01-26 11:23:30.273 +0100 OS Version: Mac OS X 10.5.8 (9L31a) Report Version: 6 Anonymous UUID: 82304991-EAC9-455C-9B80-3ADCCD1FFE0A Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Thread 0 Crashed: 0 libSystem.B.dylib 0x91ddde42 __kill + 10 1 libSystem.B.dylib 0x91e5023a raise + 26 2 libSystem.B.dylib 0x91e5c622 __abort + 97 3 libSystem.B.dylib 0x91e5c68a _cproc_fork_child + 0 4 libstdc++.6.dylib 0x92049005 0x92001000 + 294917 5 libstdc++.6.dylib 0x9204710c __gxx_personality_v0 + 1108 6 libstdc++.6.dylib 0x9204714b std::terminate() + 29 7 libstdc++.6.dylib 0x92047261 __cxa_throw + 101 8 libstdc++.6.dylib 0x920475d8 operator new(unsigned long) + 100 9 libstdc++.6.dylib 0x92047689 operator new[](unsigned long) + 17 10 com.runrev.livecode 0x000a3048 MCExecPoint::getbuffer(unsigned int) + 56 11 com.runrev.livecode 0x00141134 IO_read_to_eof(IO_header*, MCExecPoint&) + 52 12 com.runrev.livecode 0x0006d3bb MCRead::exec(MCExecPoint&) + 2555 13 com.runrev.livecode 0x00103a64 MCHandler::doscript(MCExecPoint&, unsigned short, unsigned short) + 612 14 com.runrev.livecode 0x00054602 MCDo::exec(MCExecPoint&) + 658 15 com.runrev.livecode 0x0013cd31 MCIf::exec(MCExecPoint&) + 497 16 com.runrev.livecode 0x0010414c MCHandler::exec(MCExecPoint&, MCParameter*) + 812 17 com.runrev.livecode 0x0015776a MCObject::exechandler(MCHandler*, MCParameter*) + 250 18 com.runrev.livecode 0x00157b53 MCObject::handleself(Handler_type, MCString const&, MCParameter*) + 291 19 com.runrev.livecode 0x00046097 MCCard::handle(Handler_type, MCString const&, MCParameter*, unsigned char, unsigned char) + 71 20 com.runrev.livecode 0x00153efb MCObject::message(char const*, MCParameter*, unsigned char, unsigned char, unsigned char) + 779 21 com.runrev.livecode 0x00156994 MCObject::timer(char const*, MCParameter*) + 132 22 com.runrev.livecode 0x00203622 MCUIDC::handlepending(double&, double&, unsigned char) + 354 23 com.runrev.livecode 0x0017a24f MCScreenDC::wait(double, unsigned char, unsigned char) + 399 24 com.runrev.livecode 0x000e5629 X_main_loop + 137 25 com.runrev.livecode 0x00140217 main + 583 26 com.runrev.livecode 0x000028e6 _start + 216 27 com.runrev.livecode 0x0000280d start + 41 Thread 1: 0 libSystem.B.dylib 0x91d70266 mach_msg_trap + 10 1 libSystem.B.dylib 0x91d77a5c mach_msg + 72 2 com.apple.CoreFoundation 0x91c90e7e CFRunLoopRunSpecific + 1790 3 com.apple.CoreFoundation 0x91c91aa8 CFRunLoopRunInMode + 88 4 com.apple.audio.CoreAudio 0x901fe5f8 HALRunLoop::OwnThread(void*) + 160 5 com.apple.audio.CoreAudio 0x901fe480 CAPThread::Entry(CAPThread*) + 96 6 libSystem.B.dylib 0x91da1155 _pthread_start + 321 7 libSystem.B.dylib 0x91da1012 thread_start + 34 Thread 2: 0 libSystem.B.dylib 0x91dbf6fa select$DARWIN_EXTSN + 10 1 libSystem.B.dylib 0x91da1155 _pthread_start + 321 2 libSystem.B.dylib 0x91da1012 thread_start + 34 Thread 0 crashed with X86 Thread State (32-bit): eax: 0x00000000 ebx: 0x91e5c639 ecx: 0xbffff06c edx: 0x91ddde42 edi: 0xa01b25b8 esi: 0x9205e128 ebp: 0xbffff088 esp: 0xbffff06c ss: 0x0000001f efl: 0x00200282 eip: 0x91ddde42 cs: 0x00000007 ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037 cr2: 0x0002d000 Binary Images: 0x1000 - 0x279fe7 +com.runrev.livecode 4.5.2.1150 (4.5.2.1150) /Users/ccM/ Programming/LiveCode 4.5.2.app/Contents/MacOS/Revolution 0x456000 - 0x457ff3 ATSHI.dylib ??? (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/ATSHI.dylib etc. etc. On 25 jan 2011, at 15:41, Thomas McGrath III wrote: > Playing with Applescript communicating with the Arduino Uno I noticed an issue that might be related to the LiveCode problem of hanging during a connection. In the Applescript that works I close the port first and then return the result as in: > > set tSerialReturn to serialport read portRef for revRead > set rSerialReturn to tSerialReturn as string > serialport close portRef > return rSerialReturn > But, if I try to return results in the script before issuing the close port the application again hangs with the spinning beach ball as in: > set tSerialReturn to serialport read portRef for revRead > set rSerialReturn to tSerialReturn as string > return rSerialReturn > serialport close portRef > I have to unplug the Arduino Uno to get control back. But if I present an Applescript dialog with info read during the script cycle it is fine and does not hang so it must be something in the way the return returns data. > > The thing is I can run the first script over and over again and it works every time (opening and closing the port in a loop) but if I try to do the loop of reading and return the result before closing the port it hangs every time. > > QUESTION: Is it possible that LiveCode is also doing this as well. i.e. Keeping the port open while sending results back causes a hang? This would be difficult to return sensor results if it required multiple open closes for each chunk of data. And between closes and opens would result in lost data from continuos data streams. > > Thanks, > > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Jan 24, 2011, at 11:45 PM, Thomas McGrath III wrote: > >> Well, I got tired of testing and waiting for a solution to LiveCode directly connecting, sending, and receiving serial data to/from the Arduino Uno and found an alternative method instead. In this stack I use an Applescript OSAX and control that from within LivceCode via Applescript. I hacked together a test stack and uploaded it to Rev Online : Applescript Arduino -- Thomas McGrath III. Complete with Sample Arduino IDE Sketches and Applescript Scripts and LiveCode Scripts and with a mini tutorial on how to put it all together. >> >> Although this solution works, it is not optimal since it is a Macintosh only solution and is not the preferred way to do this. It adds a level of complexity where one should not be needed. We still need to be able to connect to a serial port/modem from within LiveCode beyond the old FTDI Virtual Serial Port methods. >> >> Download and Enjoy, >> >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> 3mcgrath at comcast.net > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Wed Jan 26 05:48:39 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 26 Jan 2011 11:48:39 +0100 Subject: [ANN] TimeMachine In-Reply-To: <90E32952-4C0B-417D-B1AB-07831540E900@wanadoo.fr> References: <90E32952-4C0B-417D-B1AB-07831540E900@wanadoo.fr> Message-ID: <1094AD94-E6E5-4D43-9FBF-F54EE04E68BD@economy-x-talk.com> 42 -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qery.us/ce On 26 jan 2011, at 10:57, Francis Nugent Dixon wrote: > Hi from Beautiful Britanny, > > As Leon Lederman wrote on the cover of his great > book "The God Particle" ..... : > > If the universe is the answer - What is the question ? > > Kind Regards > > -Francis > > "Nothing should ever be done for the first time !" From ray at linkit.com Wed Jan 26 07:39:22 2011 From: ray at linkit.com (Ray Horsley) Date: Wed, 26 Jan 2011 07:39:22 -0500 Subject: RevBrowserPrint Problems In-Reply-To: <575856.48215.qm@web65405.mail.ac4.yahoo.com> References: <005901cbbcef$efcc4b60$cf64e220$@LinkIt.Com> <575856.48215.qm@web65405.mail.ac4.yahoo.com> Message-ID: <001b01cbbd56$0fee1750$2fca45f0$@LinkIt.Com> Ahh! Makes perfect sense. Now I wonder why I was expecting anything more in the first place. Thanks for this explanation, Jan. I guess this would be an area for LiveCode to improve but I'm not sure how this would be done since printing via revBrowser seems out of LiveCodes' hands. The only solution I can imagine (which I haven't tried yet) would be to toy with printing snapshots, but I'm sure this would produce pretty poor quality of text on the print out. I'll more than likely just have to design an interface which work around this somehow. Thanks, Ray Horsley LinkIt! Softwae -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Jan Schenkel Sent: Wednesday, January 26, 2011 12:22 AM To: How to use LiveCode Subject: Re: RevBrowserPrint Problems --- On Tue, 1/25/11, Ray Horsley wrote: > Greetings, > > I'm printing a stack of 10 cards.? Cards 2, 4 and 6 display a URL via > the revBrowser commands while the others do not.? The following script > does not work since each time the revBrowserPrint command is called > the script continues to execute without waiting for the user to > dismiss the print dialog which revBrowser produces (and it's seems > there's no way to suppress the dialog). > > on printStack > ???repeat with C=1 to number of cards > ? ? ? go cd C > ? ? ? put the BrowserId of this cd into myId > ? ? ? if myId is a number then > ? ? ? ???revBrowserPrint > myId > ? ? ? else print this cd > ???end repeat > end printStack > > Wrapping the same kind of a script in 'open printing' and 'close > printing' > also fails since revBroswerPrint seems to be oblivious to 'open > printing'. > I've tried inserting an answer command to confirm printing each card.? > This seems to work but then even this gets ahead of the > revBrowserPrint as the answer dialog window starts coming up on top of > a previously displayed print dialog produced by revBrowserPrint which > the user hasn't dismissed yet (and need to dismiss first or printing > gets out of order). > > Anybody with any ideas on how to work around this? > > Thanks, > > Ray Horsley > LinkIt! Software > Sorry to disappoint you, Ray, but revBrowserPrint is completely separate from LiveCode's built-in printing mechanism: it merely asks the embedded browser control (WebKit on MacOSX, InternetExplorer on Windows) to print as if the user had gone to the regular browser application and clicked the 'Print' button there. This means none of the LiveCode print properties and commands have any influence (printPaperOrientation, printRanges, printCopies and printerName to point out the obviously interesting ones) on how the browser decides to print - and it won't work "silently" either. 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) _______________________________________________ use-livecode mailing list use-livecode at 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 Jan 26 09:54:07 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 26 Jan 2011 15:54:07 +0100 Subject: Live LiveCode Code Event looking for presenters Message-ID: <111C0E08-9231-4FB7-9E8D-7DCFAEEC2D0C@economy-x-talk.com> Hi everyobdy, The Live LiveCode Code Event is an informal gathering of LiveCode users. The organisers of the Live LiveCode Code Event (mostly Bj?rnke, sometimes me) are looking for people who would like to tell something about their life as a LiveCoder. If you are working on something, or have finished a programme, or if you know a few nice tricks, or if you just want to vent your thoughts about a LiveCode-related subject, or if you would like to give a tutorial, we welcome you to give a presentation. Everybody is completely free with regard to the contents of their presentation, as long it is related to Revolution/LiveCode. The Live LiveCode Code Events are held on Saturday between 20:00 and 22:00 CET (19:00-21:00 GMT). Usually, we have two presentations. A presentation may last 45 minutes, but shorter or longer is also alright. We use Ustream to broadcast the presentations and we will help you to set it up. If you go to http://www.ustream.tv/ and click on Sign Up, you can make an account. At http://www.ustream.tv/producer you can download FREE software that's needed to broadcast your presentation. We use ChatRev to give feedback during the presentation and to chat with each other afterwards. You can download ChatRev at http://bjoernke.com/chatrev . You can read more about it at http://livecode.tv . If you have any questions about the presentations, about the event itself, or Ustream, or if you consider giving a presentation, please contact me off-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 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qery.us/ce From bvg at mac.com Wed Jan 26 10:07:52 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 26 Jan 2011 16:07:52 +0100 Subject: Live LiveCode Coding Event #7 In-Reply-To: <0C904E6D-00B0-4D3E-85A4-B369258B6089@mac.com> References: <0C904E6D-00B0-4D3E-85A4-B369258B6089@mac.com> Message-ID: <3EBEED01-C93A-494A-A8FD-2DE3B3C2BDF0@mac.com> Whoops forgot to post the wrapup mail... --- Hello everyone Event nr. 7 was a blast, tho it had various problems. First Rob fell down a stair and therefore was unavailable due to broken bones, and then David had an evil technical sound problem. He also forgot to record it, but I guess he's glad about that fact in hindsight, as that microphone scratching sound was really terrible... Me, I had lots of disconnects, because I used the wifi instead of connecting via ethernet cable. So there's 5 recordings (sorry about that): 1: http://www.ustream.tv/recorded/12178144 2: http://www.ustream.tv/recorded/12178212 3: http://www.ustream.tv/recorded/12178323 4: http://www.ustream.tv/recorded/12178616 5: http://www.ustream.tv/recorded/12178856 At the end of my presentation, Rick won the Take Control eBook ?Take Control of Mac OS X Backups?. We're able to offer it because of TidBITS and eHug. http://www.tidbits.com/ http://www.ehug.info/ On 22 Jan 2011, at 19:14, Bj?rnke von Gierke wrote: > Alright, just a quick reminder that we will start in about an hour. > > Unfortunately, Rob had a major run in with an evil staircase, and therefore had to cancel his presentation. He's already recouping, and promised to do his talk some other weekend. All the best to him. > > > > On 20 Jan 2011, at 22:44, Bj?rnke von Gierke wrote: > >> Hello Guys >> >> We're back, and we brought Topics: >> >> First we got a newcomer. Rob will present "The basics of using MySQL in a LiveCode Application", which is an introduction to SQL in LC. >> http://blog.livecode.tv/rob/ >> >> Bjoernke (me) will show "The multiple futures of BvG Docu, and why some of them never came to be". I will also talk about the current future plans regarding this free add-on to LC. >> http://blog.livecode.tv/bvg/ >> >> After my show there'll be a surprise announcement, which has to do with charts, and of course we'll give away something again. This time, one luck winner gets the Take Control eBook (courtesy of TidBITS): "Take Control of Mac OS X Backups". So please visit their site: http://www.takecontrolbooks.com/ >> >> FInally, David will take up his topic from last week, where he got slightly distracted by showing automatic menu creation via script parsing. He wants to show more in a similar vein, especially: "Drag and Drop Style sheets for LiveCode controls" >> http://blog.livecode.tv/david/ >> >> The show is on Saturday at these times: >> Zurich: 20:00 >> Buenos Aires: 16:00 >> New York: 14:00 >> San Francisco: 11:00 >> Sydney: 06:00 >> >> Make sure to use ChatRev during the happening, otherwise you might miss when you'll need to change to the other streams: >> http://bjoernke.com?target=chatrev >> or: >> go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" >> >> If you want to get private, regular notification of this event, please subscribe to the rss feed of the blog (about 2 updates per week): >> feed://livecode.tv/feed/ >> >> Cheers >> Bjoernke >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From DunbarX at aol.com Wed Jan 26 10:33:08 2011 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 26 Jan 2011 10:33:08 EST Subject: LC Forums Down? Message-ID: <389ec.6aeba3d3.3a7198b4@aol.com> Is it just me? I get an error saying there are too many connections. Maybe this is a good thing. Craig Newman From bvg at mac.com Wed Jan 26 10:37:13 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 26 Jan 2011 16:37:13 +0100 Subject: LC Forums Down? In-Reply-To: <389ec.6aeba3d3.3a7198b4@aol.com> References: <389ec.6aeba3d3.3a7198b4@aol.com> Message-ID: <8BC1BA8D-B321-4139-A2EE-BF70DDB8EF89@mac.com> Yes I've informed Heather, and they're already looking into what the problem could be (not a good thing i persume). On 26 Jan 2011, at 16:33, dunbarx at aol.com wrote: > Is it just me? I get an error saying there are too many connections. > > Maybe this is a good thing. > > 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 DunbarX at aol.com Wed Jan 26 10:38:01 2011 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 26 Jan 2011 10:38:01 EST Subject: Chopping Up A Paragraph into chunks Message-ID: <38f0d.2516ee0a.3a7199d9@aol.com> Of course. Another example of engaging fingers before brain. And there is that pressure to be the first to respond. I think there should be a LC support group for that condition. Craig In a message dated 1/26/11 12:04:57 AM, jacque at hyperactivesw.com writes: > Except that wordOffset looks for a string match, and we're looking for a > number of words instead. Your actual example works. > From m.schonewille at economy-x-talk.com Wed Jan 26 10:38:18 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 26 Jan 2011 16:38:18 +0100 Subject: LC Forums Down? In-Reply-To: <389ec.6aeba3d3.3a7198b4@aol.com> References: <389ec.6aeba3d3.3a7198b4@aol.com> Message-ID: <8046F919-08CB-49AC-B75F-37224A4F9D13@economy-x-talk.com> Hi Craig, I guess it is time for RunRev to update their software :-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qery.us/ce On 26 jan 2011, at 16:33, DunbarX at aol.com wrote: > Is it just me? I get an error saying there are too many connections. > > Maybe this is a good thing. > > Craig Newman From klaus at major.on-rev.com Wed Jan 26 10:49:38 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 26 Jan 2011 16:49:38 +0100 Subject: LC Forums Down? In-Reply-To: <8046F919-08CB-49AC-B75F-37224A4F9D13@economy-x-talk.com> References: <389ec.6aeba3d3.3a7198b4@aol.com> <8046F919-08CB-49AC-B75F-37224A4F9D13@economy-x-talk.com> Message-ID: Hi all, Am 26.01.2011 um 16:38 schrieb Mark Schonewille: > Hi Craig, > > I guess it is time for RunRev to update their software :-) YO! Fingers crossed! :-) > -- > Best regards, > > Mark Schonewille Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From bobs at twft.com Wed Jan 26 11:34:01 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 26 Jan 2011 08:34:01 -0800 Subject: Answer file with type BMPf? In-Reply-To: References: <4D3FADAD.8030300@hyperactivesw.com> Message-ID: <1EBDB2C6-EAD1-4454-BC2D-5582DAF8ACB5@twft.com> Get info on the file and see what it's name is. Bob On Jan 25, 2011, at 10:41 PM, William de Smet wrote: > Hi Jacqueline, > > I forget to mention that this works for all images except for .bmp files. I'm on OSX 10.6 and the file is shown in Finder. Is this related to OSX? > > Greetings, > > William > > ----- > Verstuurd vanaf mijn iPhone! > > Op 26 jan. 2011 om 06:14 heeft "J. Landman Gay" het volgende geschreven: > >> On 1/25/11 12:19 PM, William de Smet wrote: >>> Hi there, >>> >>> Why doesn't this work for BMP files? >>> answer file "Kies een foto:" with type "All >>> Images|jpg,gif,png,bmp|JPEG,GIFf,PNGf,BMPf" >>> >>> on mouseup >>> answer file "Choose:" with type "All >>> Images|jpg,gif,png,bmp|JPEG,GIFf,PNGf,BMPf" >>> if it = empty >>> then >>> put empty into img "x1" >>> exit mouseUp >>> end if >>> put url ("binfile:"& it) into img "x1" >>> end mouseup >> >> It looks like it should work. What goes wrong? >> >> -- >> 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 ambassador at fourthworld.com Wed Jan 26 11:40:34 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 26 Jan 2011 08:40:34 -0800 Subject: LC Forums Down? Message-ID: <4D404E82.2030903@fourthworld.com> They're up now. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From toolbook at kestner.de Wed Jan 26 11:57:57 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 26 Jan 2011 17:57:57 +0100 Subject: AW: How to narrow SQL search with multiple criterias? In-Reply-To: References: <007201cbbc90$dd4329f0$97c97dd0$@de> Message-ID: <00ab01cbbd7a$34103bd0$9c30b370$@de> Hi William, That's what I thought, to cycle through the SQL result data with LC, but was unsure how performing it is. I have let's say 20000 records and have to check multiple properties with multiple values. Will the result of my cycle still be so fast, that the user doesn't has to wait for it, because it should just be a nice usability feature to disable the remaining selections and is not necessary for life. I was unsure, if cycling through the result with LC would be state of the art to realize such feature. Probably I have to code it and make real performance test with and without this feature. Perhaps the SQL Select is so much more time consuming, that my LC cycle isn't relevant anyway. Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von william humphrey > Gesendet: Dienstag, 25. Januar 2011 17:55 > An: How to use LiveCode > Betreff: Re: How to narrow SQL search with multiple criterias? > > Sometimes, SQL failure that I am, I just dump it all in a variable and > look > through it using LiveCode. It depends how big although LiveCode is > pretty > quick. > From toolbook at kestner.de Wed Jan 26 12:20:25 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 26 Jan 2011 18:20:25 +0100 Subject: LC-list vs. LC-forum Message-ID: <00ac01cbbd7d$580deb60$0829c220$@de> Hi members, though I am using LC for some time now, I never have used the LC forums, perhaps because the first I found was this list and it gave me all I needed - THANKS to all! What I am asking is, what is the "right to live" for both parallel? Is there a different use for both? Different people? Different topics? Isn't it too much effort for you all to read, check and answer permanently both, the list and the forums? For me it is too time consuming to read both every day. Which one is most valuable? Would like to hear your point of view. Tiemo From jacque at hyperactivesw.com Wed Jan 26 12:24:17 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 26 Jan 2011 11:24:17 -0600 Subject: Answer file with type BMPf? In-Reply-To: References: <4D3FADAD.8030300@hyperactivesw.com> Message-ID: <4D4058C1.4000703@hyperactivesw.com> On 1/26/11 12:41 AM, William de Smet wrote: > Hi Jacqueline, > > I forget to mention that this works for all images except for .bmp > files. I'm on OSX 10.6 and the file is shown in Finder. Is this > related to OSX? I just tried it and it works for me, so I'm not sure what the problem could be. But it seems specific to your machine. What is in the "it" variable after you choose a .bmp file? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Wed Jan 26 12:27:26 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 26 Jan 2011 09:27:26 -0800 Subject: LC-list vs. LC-forum Message-ID: <4D40597E.3000609@fourthworld.com> Tiemo Hollmann wrote: > What I am asking is, what is the "right to live" for both parallel? Is there > a different use for both? Different people? Different topics? Isn't it too > much effort for you all to read, check and answer permanently both, the list > and the forums? For me it is too time consuming to read both every day. > Which one is most valuable? For the most part, there are so many subscribers here who also frequent the forums that it's mostly a matter of personal preference, push vs. pull. This list predates the forums by several years, so I find a slightly higher ratio of professional devs here, but the difference is really very slight. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From bobs at twft.com Wed Jan 26 12:28:47 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 26 Jan 2011 09:28:47 -0800 Subject: LC-list vs. LC-forum In-Reply-To: <00ac01cbbd7d$580deb60$0829c220$@de> References: <00ac01cbbd7d$580deb60$0829c220$@de> Message-ID: <54F9D326-E165-40E5-84B5-F4ADDCACA33B@twft.com> I think it's either or, if you are talking about the Nabble site. If you post to the list, it shows up in the forums and vis versa. But I might be wrong. Just this once... BTW I am still getting emails in my in box addressed to use-revolution@ as opposed to use-livecode@ because the Nabble settings were not changed. Who is administering Nabble anyway? Any of us? If this has been fixed already please disregard. Bob On Jan 26, 2011, at 9:20 AM, Tiemo Hollmann TB wrote: > Hi members, > > though I am using LC for some time now, I never have used the LC forums, > perhaps because the first I found was this list and it gave me all I needed > - THANKS to all! > > What I am asking is, what is the "right to live" for both parallel? Is there > a different use for both? Different people? Different topics? Isn't it too > much effort for you all to read, check and answer permanently both, the list > and the forums? For me it is too time consuming to read both every day. > Which one is most valuable? > > Would like to hear your point of view. > > 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 DunbarX at aol.com Wed Jan 26 12:29:36 2011 From: DunbarX at aol.com (DunbarX at aol.com) Date: Wed, 26 Jan 2011 12:29:36 EST Subject: LC-list vs. LC-forum Message-ID: <407fe.26ac4f6.3a71b400@aol.com> They are both the most valuable. Perhaps more time and thoughtfulness is spent in the forums; stack examples can be uploaded, and it is easier to send (and read) code snippets. The thread structure in the forums is more transparent and readable. But they do basically the same thing, that is, cause passionate and very well meaning people to scramble to help out in any way they can. From scott at tactilemedia.com Wed Jan 26 12:31:01 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 26 Jan 2011 09:31:01 -0800 Subject: Access to Device Music Library Message-ID: While feature requests are flying fast and furious for iOS, I wanted to suggest support for accessing the device's music library, just as one can access the device's photo library. http://quality.runrev.com/qacenter/show_bug.cgi?id=9339 Regards, Scott Rossi Creative Director Tactile Media, UX Design From pete at mollysrevenge.com Wed Jan 26 12:34:36 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Wed, 26 Jan 2011 09:34:36 -0800 Subject: AW: How to narrow SQL search with multiple criterias? In-Reply-To: <00ab01cbbd7a$34103bd0$9c30b370$@de> References: <007201cbbc90$dd4329f0$97c97dd0$@de> <00ab01cbbd7a$34103bd0$9c30b370$@de> Message-ID: <11708766-CD5C-4218-849F-C4158509F790@mollysrevenge.com> I think the problem with using LC to narrow down the results of an SQL SELECT is that the database may have changed since doing the initial SELECT so what you end up with may not reflect the current state of the database. I guess that may not matter to your application, or maybe you've locked the database so it can't change but definitely a consideration. I've been doing this by saving the contents of the WHERE Clause for the SELECT in a variable then appending the additional selection criteria to it and issuing a new SELECT statement with the revised WHERE clause. Don't have an opinion on the efficiency aspects of LC vs SQL, I suspect it depends on a lot of factors. Pete Haworth On Jan 26, 2011, at 8:57 AM, Tiemo Hollmann TB wrote: > Hi William, > That's what I thought, to cycle through the SQL result data with LC, but was > unsure how performing it is. I have let's say 20000 records and have to > check multiple properties with multiple values. Will the result of my cycle > still be so fast, that the user doesn't has to wait for it, because it > should just be a nice usability feature to disable the remaining selections > and is not necessary for life. I was unsure, if cycling through the result > with LC would be state of the art to realize such feature. > Probably I have to code it and make real performance test with and without > this feature. Perhaps the SQL Select is so much more time consuming, that my > LC cycle isn't relevant anyway. > Thanks > Tiemo > >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- >> bounces at lists.runrev.com] Im Auftrag von william humphrey >> Gesendet: Dienstag, 25. Januar 2011 17:55 >> An: How to use LiveCode >> Betreff: Re: How to narrow SQL search with multiple criterias? >> >> Sometimes, SQL failure that I am, I just dump it all in a variable and >> look >> through it using LiveCode. It depends how big although LiveCode is >> pretty >> quick. >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 26 13:04:18 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 26 Jan 2011 10:04:18 -0800 Subject: AW: How to narrow SQL search with multiple criterias? In-Reply-To: <11708766-CD5C-4218-849F-C4158509F790@mollysrevenge.com> References: <007201cbbc90$dd4329f0$97c97dd0$@de> <00ab01cbbd7a$34103bd0$9c30b370$@de> <11708766-CD5C-4218-849F-C4158509F790@mollysrevenge.com> Message-ID: <939126DC-1D05-4C45-B0A4-178CD4264DBD@twft.com> Also remember that Trevor's sqlYoga has the ability to create query objects, and then update those objects and re-run the query. The API builds the SQL for you, so it's very easy to do recursive queries. As an aside, there is a way in mySQL (and others I am sure) to output the query as a new temporary table, assuming you have CREATE TABLE rights to the database. This can be a better way to handle large datasets. For instance, let's say you want the detail for every invoice in the prior year sorted by item code, and subtotalled for each item and totaled at the end. If the business is a very busy and profitable one, that could be a helluvalotta data! (Assume you are CDW for a moment). You would never want to return that much data to a memory variable! By having the engine output to a temp table you can then run the report on that, and never have to worry about overwhelming Rev. Bob On Jan 26, 2011, at 9:34 AM, Peter Haworth wrote: > I think the problem with using LC to narrow down the results of an SQL SELECT is that the database may have changed since doing the initial SELECT so what you end up with may not reflect the current state of the database. I guess that may not matter to your application, or maybe you've locked the database so it can't change but definitely a consideration. > > I've been doing this by saving the contents of the WHERE Clause for the SELECT in a variable then appending the additional selection criteria to it and issuing a new SELECT statement with the revised WHERE clause. > > Don't have an opinion on the efficiency aspects of LC vs SQL, I suspect it depends on a lot of factors. > > Pete Haworth > > On Jan 26, 2011, at 8:57 AM, Tiemo Hollmann TB wrote: > >> Hi William, >> That's what I thought, to cycle through the SQL result data with LC, but was >> unsure how performing it is. I have let's say 20000 records and have to >> check multiple properties with multiple values. Will the result of my cycle >> still be so fast, that the user doesn't has to wait for it, because it >> should just be a nice usability feature to disable the remaining selections >> and is not necessary for life. I was unsure, if cycling through the result >> with LC would be state of the art to realize such feature. >> Probably I have to code it and make real performance test with and without >> this feature. Perhaps the SQL Select is so much more time consuming, that my >> LC cycle isn't relevant anyway. >> Thanks >> Tiemo >> >>> -----Urspr?ngliche Nachricht----- >>> Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- >>> bounces at lists.runrev.com] Im Auftrag von william humphrey >>> Gesendet: Dienstag, 25. Januar 2011 17:55 >>> An: How to use LiveCode >>> Betreff: Re: How to narrow SQL search with multiple criterias? >>> >>> Sometimes, SQL failure that I am, I just dump it all in a variable and >>> look >>> through it using LiveCode. It depends how big although LiveCode is >>> pretty >>> quick. >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From cjw at eml.cc Wed Jan 26 13:21:55 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Wed, 26 Jan 2011 18:21:55 +0000 Subject: [ANN] TimeMachine Message-ID: <1316828746-1296066125-cardhu_decombobulator_blackberry.rim.net-1651873081-@bda876.bisx.prod.on.blackberry> I have always understood... UNIVERSE as... UNI = ONE as in the sense of a single entity, but also in the sense of "whole," " integral" and "complete." VERSE = POEM or SONG. So, literally... UNIVERSE = ONE SONG Given the late, Carl Sagan... ...spoke of everything from galaxies to dandelions as being made of "star stuff" ...everything and every being as part of a great cosmic conciousness ...used musical metaphors numerous times to communicate his sense of wonder and awe of the universe in his "COSMOS" series. ... It looks like I'm in good company. :) As far as the "If the universe is the answer, then what is the question?" issue is concerned... maybe we could get Alex Trebek to help us with this one? ;) Ciao! Calvin ------Original Message------ From: Francis Nugent Dixon Sender: use-livecode-bounces at lists.runrev.com To: use-livecode at lists.runrev.com ReplyTo: How to use LiveCode Subject: Re: [ANN] TimeMachine Sent: Jan 26, 2011 3:57 AM Hi from Beautiful Britanny, Richmond wrote : > I wonder what "Universe" means. As Leon Lederman wrote on the cover of his great book "The God Particle" ..... : If the universe is the answer - What is the question ? Kind Regards -Francis "Nothing should ever be done for the first time !" _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode Sent from my Verizon Wireless BlackBerry From mwieder at ahsoftware.net Wed Jan 26 13:24:00 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 26 Jan 2011 10:24:00 -0800 Subject: LC-list vs. LC-forum In-Reply-To: <407fe.26ac4f6.3a71b400@aol.com> References: <407fe.26ac4f6.3a71b400@aol.com> Message-ID: <75869827750.20110126102400@ahsoftware.net> Craig- Wednesday, January 26, 2011, 9:29:36 AM, you wrote: > They are both the most valuable. > Perhaps more time and thoughtfulness is spent in the forums; stack examples > can be uploaded, and it is easier to send (and read) code snippets. The > thread structure in the forums is more transparent and readable. > But they do basically the same thing, that is, cause passionate and very > well meaning people to scramble to help out in any way they can. Aw... I was gonna post one of my usual snippy frivolous responses and then you came up with this. I yield my time to the poster from aol. -- -Mark Wieder mwieder at ahsoftware.net From cmsheffield at gmail.com Wed Jan 26 14:35:50 2011 From: cmsheffield at gmail.com (Chris Sheffield) Date: Wed, 26 Jan 2011 12:35:50 -0700 Subject: iOS: what's the best place to store media files Message-ID: What is the best place to store files like audio and images alongside an iOS app? I am working on a simple proof of concept app that needs to play several audio files back to back. I don't necessarily want these audio files to be backed up through iTunes, as the finished app may eventually contain hundreds of audio files (most likely in the form of downloadable packs of some kind), but they do need to be persistent between app launches. From my understanding, it looks like the app's cache folder is the best place, but I just thought I'd ask to make sure. And if that's the case, what is the best way to test this in the simulator? Do I need to copy all the audio files into the simulated app's folder at /Users/[user]/Library/Application Support/iPhone Simulator? Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From kee at kagi.com Wed Jan 26 15:02:50 2011 From: kee at kagi.com (Kee Nethery) Date: Wed, 26 Jan 2011 12:02:50 -0800 Subject: usb driver problem In-Reply-To: <798CC7B6-218C-4EB1-8581-13EF164FAE8C@fiberworld.nl> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> <90570741250.20110122231914@ahsoftware.net> <"655! D7 C24-63FF-434F-81A0-98C01C4D86C5"@mac.com> <8E8C596B-4378-44B6-9DE4-69A2AC924C77@jhj.com> <69D174AB-D4F7-4499-8272-56D04988E572@mac.com> <4A568B4D-0EE4-4BE4-989C-47D749B855CA@mac.com> <798CC7B6-218C-4EB1-8581-13EF164FAE8C@fiberworld.nl> Message-ID: <6F45E3D5-F4BA-476D-BB47-B0029AE8C84A@kagi.com> I'd be happy to donate an Arduino to the LC bug team if they need one to fix this. Kee Nethery From m.schonewille at economy-x-talk.com Wed Jan 26 15:21:30 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 26 Jan 2011 21:21:30 +0100 Subject: Live LiveCode Code Event looking for presenters In-Reply-To: <111C0E08-9231-4FB7-9E8D-7DCFAEEC2D0C@economy-x-talk.com> References: <111C0E08-9231-4FB7-9E8D-7DCFAEEC2D0C@economy-x-talk.com> Message-ID: <15DE64D1-56BE-4D61-89D3-7CB024C64049@economy-x-talk.com> Anyone wanting to share his or her thoughts with the LiveCode community this Saturday? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qery.us/ce On 26 jan 2011, at 15:54, Mark Schonewille wrote: > Hi everyobdy, > > The Live LiveCode Code Event is an informal gathering of LiveCode users. The organisers of the Live LiveCode Code Event (mostly Bj?rnke, sometimes me) are looking for people who would like to tell something about their life as a LiveCoder. > > If you are working on something, or have finished a programme, or if you know a few nice tricks, or if you just want to vent your thoughts about a LiveCode-related subject, or if you would like to give a tutorial, we welcome you to give a presentation. Everybody is completely free with regard to the contents of their presentation, as long it is related to Revolution/LiveCode. > > The Live LiveCode Code Events are held on Saturday between 20:00 and 22:00 CET (19:00-21:00 GMT). Usually, we have two presentations. A presentation may last 45 minutes, but shorter or longer is also alright. We use Ustream to broadcast the presentations and we will help you to set it up. > > If you go to http://www.ustream.tv/ and click on Sign Up, you can make an account. At http://www.ustream.tv/producer you can download FREE software that's needed to broadcast your presentation. We use ChatRev to give feedback during the presentation and to chat with each other afterwards. You can download ChatRev at http://bjoernke.com/chatrev . > > You can read more about it at http://livecode.tv . If you have any questions about the presentations, about the event itself, or Ustream, or if you consider giving a presentation, please contact me off-list. From cjw at eml.cc Wed Jan 26 15:33:58 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Wed, 26 Jan 2011 14:33:58 -0600 Subject: Live LiveCode Code Event looking for presenters In-Reply-To: <15DE64D1-56BE-4D61-89D3-7CB024C64049@economy-x-talk.com> References: <111C0E08-9231-4FB7-9E8D-7DCFAEEC2D0C@economy-x-talk.com> <15DE64D1-56BE-4D61-89D3-7CB024C64049@economy-x-talk.com> Message-ID: <4D408536.7050209@eml.cc> Howdy from Texas, Y'all! I would like to do my part in good time, but I am still learning; however, if somebody out there does work on Macs and Microsoft, I would really like to see an unbiased, or at least a fair comparison between strengths/weaknesses of these two titans of the personal O/S. Sort of down the lines of, "Macs really are much better at stringing foobars, but Windows wins out when it comes to gizwort constructs" and "Did you know Windows can do this...,but on a Mac you have to use this work around." I have been a Microsoft user since DOS (1984), but have been quite intrigued by what I have garnered from the Mac discussions on the mail list. Any takers? Calvin PS - I realize Lnx is out there too! :) > ------------------------------------------------------------------------ > > Mark Schonewille > Wednesday, January 26, 2011 2:21 PM > > > Anyone wanting to share his or her thoughts with the LiveCode > community this Saturday? > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.5 for LiveCode here > http://qery.us/ce > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ------------------------------------------------------------------------ > > Mark Schonewille > Wednesday, January 26, 2011 8:54 AM > > > Hi everyobdy, > > The Live LiveCode Code Event is an informal gathering of LiveCode > users. The organisers of the Live LiveCode Code Event (mostly Bj?rnke, > sometimes me) are looking for people who would like to tell something > about their life as a LiveCoder. > > If you are working on something, or have finished a programme, or if > you know a few nice tricks, or if you just want to vent your thoughts > about a LiveCode-related subject, or if you would like to give a > tutorial, we welcome you to give a presentation. Everybody is > completely free with regard to the contents of their presentation, as > long it is related to Revolution/LiveCode. > > The Live LiveCode Code Events are held on Saturday between 20:00 and > 22:00 CET (19:00-21:00 GMT). Usually, we have two presentations. A > presentation may last 45 minutes, but shorter or longer is also > alright. We use Ustream to broadcast the presentations and we will > help you to set it up. > > If you go to http://www.ustream.tv/ and click on Sign Up, you can make > an account. At http://www.ustream.tv/producer you can download FREE > software that's needed to broadcast your presentation. We use ChatRev > to give feedback during the presentation and to chat with each other > afterwards. You can download ChatRev at http://bjoernke.com/chatrev . > > You can read more about it at http://livecode.tv . If you have any > questions about the presentations, about the event itself, or Ustream, > or if you consider giving a presentation, please contact me off-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 > > New: Download the Installer Maker Plugin 1.5 for LiveCode here > http://qery.us/ce > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 26 15:42:27 2011 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 26 Jan 2011 22:42:27 +0200 Subject: Live LiveCode Code Event looking for presenters In-Reply-To: <4D408536.7050209@eml.cc> References: <111C0E08-9231-4FB7-9E8D-7DCFAEEC2D0C@economy-x-talk.com> <15DE64D1-56BE-4D61-89D3-7CB024C64049@economy-x-talk.com> <4D408536.7050209@eml.cc> Message-ID: <4D408733.3020407@gmail.com> On 01/26/2011 10:33 PM, Calvin Waterbury wrote: > Howdy from Texas, Y'all! > > I would like to do my part in good time, but I am still learning; > however, if somebody out there does work on Macs and Microsoft, I > would really like to see an unbiased, or at least a fair comparison > between strengths/weaknesses of these two titans of the personal O/S. > Sort of down the lines of, "Macs really are much better at stringing > foobars, but Windows wins out when it comes to gizwort constructs" and > "Did you know Windows can do this...,but on a Mac you have to use this > work around." > > I have been a Microsoft user since DOS (1984), but have been quite > intrigued by what I have garnered from the Mac discussions on the mail > list. > > Any takers? > > Calvin > > PS - I realize Lnx is out there too! :) First off: it seems well-nigh impossible to get a balanced comparison from anyone. Second off: Linux is not "out there" like some wild coyote lurking on the fringes; it is already mainstream. From kray at sonsothunder.com Wed Jan 26 15:45:39 2011 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 26 Jan 2011 14:45:39 -0600 Subject: Answer file with type BMPf? In-Reply-To: Message-ID: > Why doesn't this work for BMP files? > answer file "Kies een foto:" with type "All > Images|jpg,gif,png,bmp|JPEG,GIFf,PNGf,BMPf" The reason might be because the .bmp file may not have been assigned a type code. If you *only* want to get .bmp files with a type code of "BMPf" then this should work. But if you want to get .bmp files, *regardless* of the type code, do not provide the type code in the 'answer file' call (the following just goes by extension and ignores type): answer file "Kies een foto:" with type "All Images|jpg,gif,png,bmp|" Hope this helps, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From mcgrath3 at mac.com Wed Jan 26 16:31:14 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 26 Jan 2011 16:31:14 -0500 Subject: [ANN] TimeMachine In-Reply-To: <1094AD94-E6E5-4D43-9FBF-F54EE04E68BD@economy-x-talk.com> References: <90E32952-4C0B-417D-B1AB-07831540E900@wanadoo.fr> <1094AD94-E6E5-4D43-9FBF-F54EE04E68BD@economy-x-talk.com> Message-ID: 42 Definitely. That is the real question. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 26, 2011, at 5:48 AM, Mark Schonewille wrote: > 42 > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qery.us/ce > > On 26 jan 2011, at 10:57, Francis Nugent Dixon wrote: > >> Hi from Beautiful Britanny, >> >> As Leon Lederman wrote on the cover of his great >> book "The God Particle" ..... : >> >> If the universe is the answer - What is the question ? >> >> Kind Regards >> >> -Francis >> >> "Nothing should ever be done for the first time !" > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From zryip.theslug at gmail.com Wed Jan 26 16:44:16 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 26 Jan 2011 22:44:16 +0100 Subject: [ANN] Data Grid Helper clones your DataGrids and supports the MC IDE In-Reply-To: <803B327B-3C68-4ABD-8B8E-AEEE6D6FF99C@wanadoo.fr> References: <803B327B-3C68-4ABD-8B8E-AEEE6D6FF99C@wanadoo.fr> Message-ID: On Wed, Jan 26, 2011 at 10:23 AM, Andr? Bisseret wrote: > Bonjour TheSlug, > > Thanks a lot again for your beautiful and very useful DGH. > Data grids is a superb complement to livecode thanks to Trevor deVore. > But "a bit" more complex than any others objects ;-) ) > The properties palette allows to set only a part of the properties and before DGH, I often had to script (via the message box). > Now it's rarely the case; and even for properties that are settable in the properties palette, I prefer the DGH' categorization: seems to me quite faster! > > And of course, I love the "Install scripts" part of the DGH: fantastic ;-) it avoids long searches in the data grid" doc! > > Magnifique ! Bonjour Andr?, You're welcome 8-) Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From mcgrath3 at mac.com Wed Jan 26 16:46:22 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 26 Jan 2011 16:46:22 -0500 Subject: usb driver problem In-Reply-To: <6F45E3D5-F4BA-476D-BB47-B0029AE8C84A@kagi.com> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> <90570741250.20110122231914@ahsoftware.net> <"655! D7 C24-63FF-434F-81A0-98C01C4D86C5"@mac.com> <8E8C596B-4378-44B6-9DE4-69A2AC924C77@jhj.com> <69D174AB-D4F7-4499-8272-56D04988E572@mac.com> <4A568B4D-0EE4-4BE4-989C-47D749B855CA@mac.com> <798CC7B6-218C-4EB1-8581-13EF164FAE8C@fiberworld.nl> <6F45E3D5-F4BA-476D-BB47-B0029AE8C84A@kagi.com> Message-ID: Ok, so Heather said that this would not be possible as a quick fix type support ticket but that the team was looking into it and that I should open a bug report so here it is: Report 9341 has been added to the database http://quality.runrev.com/qacenter/show_bug.cgi?id=9341 @Claudi - please add your crash report to this. Let's see what comes out of this. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 26, 2011, at 3:02 PM, Kee Nethery wrote: > I'd be happy to donate an Arduino to the LC bug team if they need one to fix this. > Kee Nethery > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From cjw at eml.cc Wed Jan 26 16:47:26 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Wed, 26 Jan 2011 15:47:26 -0600 Subject: [ANN] TimeMachine In-Reply-To: References: <90E32952-4C0B-417D-B1AB-07831540E900@wanadoo.fr> <1094AD94-E6E5-4D43-9FBF-F54EE04E68BD@economy-x-talk.com> Message-ID: <4D40966E.7040003@eml.cc> Ahem... "42" was the *answer* not the question. > ------------------------------------------------------------------------ > > Thomas McGrath III > Wednesday, January 26, 2011 3:31 PM > > > 42 Definitely. That is the real question. > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.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 > ------------------------------------------------------------------------ > > Mark Schonewille > Wednesday, January 26, 2011 4:48 AM > > > 42 > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.5 for LiveCode here > http://qery.us/ce > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 26 17:22:25 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 26 Jan 2011 14:22:25 -0800 Subject: [ANN] TimeMachine In-Reply-To: <4D40966E.7040003@eml.cc> References: <90E32952-4C0B-417D-B1AB-07831540E900@wanadoo.fr> <1094AD94-E6E5-4D43-9FBF-F54EE04E68BD@economy-x-talk.com> <4D40966E.7040003@eml.cc> Message-ID: <95F3C093-7FBC-49B5-AF4F-09C8E7701093@twft.com> I liked the movie better than the book. The movie had a nice love story and all ended well. The book dropped you off in a decidedly unfriendly section of the slums of Norganza on planet FriedZig without any explanation. Or did I dream that? Bob On Jan 26, 2011, at 1:47 PM, Calvin Waterbury wrote: > Ahem... "42" was the *answer* not the question. > >> ------------------------------------------------------------------------ >> >> Thomas McGrath III >> Wednesday, January 26, 2011 3:31 PM >> >> >> 42 Definitely. That is the real question. >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> 3mcgrath at comcast.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 >> ------------------------------------------------------------------------ >> >> Mark Schonewille >> Wednesday, January 26, 2011 4:48 AM >> >> >> 42 >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qery.us/ce >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From cjw at eml.cc Wed Jan 26 17:27:12 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Wed, 26 Jan 2011 16:27:12 -0600 Subject: [ANN] TimeMachine In-Reply-To: <95F3C093-7FBC-49B5-AF4F-09C8E7701093@twft.com> References: <90E32952-4C0B-417D-B1AB-07831540E900@wanadoo.fr> <1094AD94-E6E5-4D43-9FBF-F54EE04E68BD@economy-x-talk.com> <4D40966E.7040003@eml.cc> <95F3C093-7FBC-49B5-AF4F-09C8E7701093@twft.com> Message-ID: <4D409FC0.9080503@eml.cc> Hmmm... given dreams are not confined neither by time nor space, perhaps Mr. Adams "saw" your dream and put it down on paper? :) > ------------------------------------------------------------------------ > > Bob Sneidar > Wednesday, January 26, 2011 4:22 PM > > > I liked the movie better than the book. The movie had a nice love > story and all ended well. The book dropped you off in a decidedly > unfriendly section of the slums of Norganza on planet FriedZig without > any explanation. Or did I dream that? > > 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 > ------------------------------------------------------------------------ > > Calvin Waterbury > Wednesday, January 26, 2011 3:47 PM > > > Ahem... "42" was the *answer* not the question. > From francois.chaplais at mines-paristech.fr Wed Jan 26 18:02:58 2011 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Thu, 27 Jan 2011 00:02:58 +0100 Subject: $PATH In-Reply-To: References: <142808086421.20110125171459@ahsoftware.net> Message-ID: <3DF5BAC7-CEB0-49D4-AB23-6270BC25F2B6@mines-paristech.fr> from what I understand, the shell command creates a new shell session which not that of the terminal. As a result, you may have to rebuild $path correctly. Here is what I do to put the TeX executables in the shell's path: ------------------------ on checkTeXPATH -- for MacTeX put $PATH into theShellPATH if "/usr/local/bin:" is not in theShellPATH then -- for Ghostcript put "/usr/local/bin:" & $PATH into $PATH end if if "/usr/texbin:" is not in theShellPATH then -- for pdftex etc.. put "/usr/texbin:" & $PATH into $PATH end if end checkTeXPATH -------------------------- HTH Fran?ois Le 26 janv. 2011 ? 10:09, David Bovill a ?crit : > Yes - but does it return the same $PATH even after you have customised your > personal user $PATH with entries in .profile or one of the many other files > that you can customise yourself, or that installers of command line tools > often cutomise for you (for instance MacPorts). > > Even in MC days on Linux, I found that my own personal shell value of $PATH > was not the same as the MC result that gets returned with $PATH. I doubt > this is any different on Fedora Core? > > For instance on my OSX system: I can use shell commands because my $PATH in > the default bash shell is: > > /opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin >> > > In LiveCode $PATH (and therefore which command line tools are found) is > simply: > > /usr/bin:/bin:/usr/sbin:/sbin:/opt/local/bin > > This is because my .profile settings are: > >> # MacPorts Installer addition on 2009-05-28_at_01:12:13: adding an >> appropriate PATH variable for use with MacPorts. >> export PATH=/opt/local/bin:/opt/local/sbin:$PATH >> # Finished adapting your PATH environment variable for use with MacPorts. >> >> >> # MacPorts Installer addition on 2009-05-28_at_01:12:13: adding an >> appropriate MANPATH variable for use with MacPorts. >> export MANPATH=/opt/local/share/man:$MANPATH >> # Finished adapting your MANPATH environment variable for use with >> MacPorts. >> >> >> ## >> # Your previous /Users/david/.profile file was backed up as >> /Users/david/.profile.macports-saved_2009-08-28_at_23:30:02 >> ## >> >> # MacPorts Installer addition on 2009-08-28_at_23:30:02: adding an >> appropriate PATH variable for use with MacPorts. >> export PATH=/opt/local/bin:/opt/local/sbin:$PATH >> # Finished adapting your PATH environment variable for use with MacPorts. >> > > Somewhere around I have code that would read and write to these files in > order to keep the shell environments in LiveCode and the terminal in sync - > and I need to get this right for the tools I'm working on for LiveCode TV > shared code libraries, as they interface with various command line tools. > Need to get to the bottom of these issues cross platform. > > On 26 January 2011 01:14, Mark Wieder wrote: > >> >>> AFAIK - the way $PATH works (at least on OSX / Linux) is not the same as >> you >>> get when you open your terminal... essentially because it is not using >> your >>> .profile or equivalent settings when the shell is initiated. I am not >> sure >>> where it gets it's initial setting? >> >> $PATH returns my path on Fedora Core. So does >> >> put shell("$PATH") >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 26 20:08:03 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 26 Jan 2011 17:08:03 -0800 Subject: usb driver problem In-Reply-To: <798CC7B6-218C-4EB1-8581-13EF164FAE8C@fiberworld.nl> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> <90570741250.20110122231914@ahsoftware.net> <"655D7 C24-63FF-434F-81A0-98C01C4D86C5"@mac.com> <8E8C596B-4378-44B6-9DE4-69A2AC924C77@jhj.com> <69D174AB-D4F7-4499-8272-56D04988E572@mac.com> <4A568B4D-0EE4-4BE4-989C-47D749B855CA@mac.com> <798CC7B6-218C-4EB1-8581-13EF164FAE8C@fiberworld.nl> Message-ID: <144894070781.20110126170803@ahsoftware.net> Claudi- Wednesday, January 26, 2011, 2:48:22 AM, you wrote: > Thread 0 Crashed: > 0 libSystem.B.dylib 0x91ddde42 __kill + 10 > 1 libSystem.B.dylib 0x91e5023a raise + 26 > 2 libSystem.B.dylib 0x91e5c622 __abort + 97 > 3 libSystem.B.dylib 0x91e5c68a _cproc_fork_child + 0 > 4 libstdc++.6.dylib 0x92049005 0x92001000 + 294917 > 5 libstdc++.6.dylib 0x9204710c __gxx_personality_v0 + 1108 > 6 libstdc++.6.dylib 0x9204714b std::terminate() + 29 > 7 libstdc++.6.dylib 0x92047261 __cxa_throw + 101 > 8 libstdc++.6.dylib 0x920475d8 operator new(unsigned long) + 100 > 9 libstdc++.6.dylib 0x92047689 operator new[](unsigned long) + 17 > 10 com.runrev.livecode 0x000a3048 > MCExecPoint::getbuffer(unsigned int) + 56 > 11 com.runrev.livecode 0x00141134 > IO_read_to_eof(IO_header*, MCExecPoint&) + 52 > 12 com.runrev.livecode 0x0006d3bb > MCRead::exec(MCExecPoint&) + 2555 > 13 com.runrev.livecode 0x00103a64 > MCHandler::doscript(MCExecPoint&, unsigned short, unsigned short) + Well, from a quick look at things, I'd say you started a script that did a "repeat until EOF" and LC crashed trying to allocate memory space for the read. That is Not a Good Thing. -- -Mark Wieder mwieder at ahsoftware.net From ludovic.thebault at laposte.net Thu Jan 27 01:47:56 2011 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Thu, 27 Jan 2011 07:47:56 +0100 Subject: iOS: what's the best place to store media files In-Reply-To: References: Message-ID: Le 26 janv. 2011 ? 20:35, Chris Sheffield a ?crit : > > What is the best place to store files like audio and images alongside an iOS app? I am working on a simple proof of concept app that needs to play several audio files back to back. I don't necessarily want these audio files to be backed up through iTunes, as the finished app may eventually contain hundreds of audio files (most likely in the form of downloadable packs of some kind), but they do need to be persistent between app launches. > > From my understanding, it looks like the app's cache folder is the best place, but I just thought I'd ask to make sure. And if that's the case, what is the best way to test this in the simulator? Do I need to copy all the audio files into the simulated app's folder at /Users/[user]/Library/Application Support/iPhone Simulator? Hello, You can use the "Copy files" function of the standalone builder to put your files into the app. From toolbook at kestner.de Thu Jan 27 02:48:03 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 27 Jan 2011 08:48:03 +0100 Subject: AW: AW: How to narrow SQL search with multiple criterias? In-Reply-To: <939126DC-1D05-4C45-B0A4-178CD4264DBD@twft.com> References: <007201cbbc90$dd4329f0$97c97dd0$@de> <00ab01cbbd7a$34103bd0$9c30b370$@de> <11708766-CD5C-4218-849F-C4158509F790@mollysrevenge.com> <939126DC-1D05-4C45-B0A4-178CD4264DBD@twft.com> Message-ID: <003f01cbbdf6$8b149ee0$a13ddca0$@de> Thanks Bob and Peter, that are valuable thoughts. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Bob Sneidar > Gesendet: Mittwoch, 26. Januar 2011 19:04 > An: How to use LiveCode > Betreff: Re: AW: How to narrow SQL search with multiple criterias? > > Also remember that Trevor's sqlYoga has the ability to create query > objects, and then update those objects and re-run the query. The API > builds the SQL for you, so it's very easy to do recursive queries. > > As an aside, there is a way in mySQL (and others I am sure) to output > the query as a new temporary table, assuming you have CREATE TABLE > rights to the database. This can be a better way to handle large > datasets. > > For instance, let's say you want the detail for every invoice in the > prior year sorted by item code, and subtotalled for each item and > totaled at the end. If the business is a very busy and profitable one, > that could be a helluvalotta data! (Assume you are CDW for a moment). > You would never want to return that much data to a memory variable! > > By having the engine output to a temp table you can then run the report > on that, and never have to worry about overwhelming Rev. > > Bob > > > On Jan 26, 2011, at 9:34 AM, Peter Haworth wrote: > > > I think the problem with using LC to narrow down the results of an > SQL SELECT is that the database may have changed since doing the > initial SELECT so what you end up with may not reflect the current > state of the database. I guess that may not matter to your > application, or maybe you've locked the database so it can't change but > definitely a consideration. > > > > I've been doing this by saving the contents of the WHERE Clause for > the SELECT in a variable then appending the additional selection > criteria to it and issuing a new SELECT statement with the revised > WHERE clause. > > > > Don't have an opinion on the efficiency aspects of LC vs SQL, I > suspect it depends on a lot of factors. > > > > Pete Haworth > > > > On Jan 26, 2011, at 8:57 AM, Tiemo Hollmann TB wrote: > > > >> Hi William, > >> That's what I thought, to cycle through the SQL result data with LC, > but was > >> unsure how performing it is. I have let's say 20000 records and have > to > >> check multiple properties with multiple values. Will the result of > my cycle > >> still be so fast, that the user doesn't has to wait for it, because > it > >> should just be a nice usability feature to disable the remaining > selections > >> and is not necessary for life. I was unsure, if cycling through the > result > >> with LC would be state of the art to realize such feature. > >> Probably I have to code it and make real performance test with and > without > >> this feature. Perhaps the SQL Select is so much more time consuming, > that my > >> LC cycle isn't relevant anyway. > >> Thanks > >> Tiemo > >> > >>> -----Urspr?ngliche Nachricht----- > >>> Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > >>> bounces at lists.runrev.com] Im Auftrag von william humphrey > >>> Gesendet: Dienstag, 25. Januar 2011 17:55 > >>> An: How to use LiveCode > >>> Betreff: Re: How to narrow SQL search with multiple criterias? > >>> > >>> Sometimes, SQL failure that I am, I just dump it all in a variable > and > >>> look > >>> through it using LiveCode. It depends how big although LiveCode is > >>> pretty > >>> quick. > >>> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david at vaudevillecourt.tv Thu Jan 27 04:57:20 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Thu, 27 Jan 2011 09:57:20 +0000 Subject: $PATH In-Reply-To: <3DF5BAC7-CEB0-49D4-AB23-6270BC25F2B6@mines-paristech.fr> References: <142808086421.20110125171459@ahsoftware.net> <3DF5BAC7-CEB0-49D4-AB23-6270BC25F2B6@mines-paristech.fr> Message-ID: Ah yes - that's how I remember it. So setting the $PATH from within LiveCode works on a temporary basis, but $PATH is not in sync with your personal users terminal (bash) settings. It would be good to know where exactly LiveCode gets it's $PATH settings from? 2011/1/26 Fran?ois Chaplais > from what I understand, the shell command creates a new shell session which > not that of the terminal. As a result, you may have to rebuild $path > correctly. Here is what I do to put the TeX executables in the shell's path: > ------------------------ > > on checkTeXPATH -- for MacTeX > put $PATH into theShellPATH > if "/usr/local/bin:" is not in theShellPATH then -- for Ghostcript > put "/usr/local/bin:" & $PATH into $PATH > end if > if "/usr/texbin:" is not in theShellPATH then -- for pdftex etc.. > put "/usr/texbin:" & $PATH into $PATH > end if > end checkTeXPATH > It is possible to combine the above with reading the configuration files yourself - and then seting LiveCode's $PATH to match the settings with a handler like yours above. All though a general parser for bash scripts would be messy due to the large number of ways things can be coded, and the range of configuration files that need looking at, I think a practical version would simply allow manual editing of .profile and the equivalent config files on other platforms as an aid to command line program installation? From williamdesmet at gmail.com Thu Jan 27 06:44:12 2011 From: williamdesmet at gmail.com (William de Smet) Date: Thu, 27 Jan 2011 12:44:12 +0100 Subject: Answer file with type BMPf? In-Reply-To: References: Message-ID: <8471CEDA-E596-4192-A521-44219685AB05@gmail.com> Thanks Ken, I tried your suggestion but no luck. I tested it on Windows 7 en OSX 10.6 with LC 4.5.3. New stack, image area and code. All files OK but BMP is still a no go! Anyone? Greetings, William ----- Verstuurd vanaf mijn iPhone! Op 26 jan. 2011 om 21:45 heeft Ken Ray het volgende geschreven: > >> Why doesn't this work for BMP files? >> answer file "Kies een foto:" with type "All >> Images|jpg,gif,png,bmp|JPEG,GIFf,PNGf,BMPf" > > The reason might be because the .bmp file may not have been assigned a type > code. If you *only* want to get .bmp files with a type code of "BMPf" then > this should work. But if you want to get .bmp files, *regardless* of the > type code, do not provide the type code in the 'answer file' call (the > following just goes by extension and ignores type): > > answer file "Kies een foto:" with type "All Images|jpg,gif,png,bmp|" > > Hope this helps, > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dr.alistair at gmail.com Thu Jan 27 06:54:34 2011 From: dr.alistair at gmail.com (planix) Date: Thu, 27 Jan 2011 03:54:34 -0800 (PST) Subject: revision control software In-Reply-To: References: Message-ID: <1296129274664-3242038.post@n4.nabble.com> Hi, Here is the direct link for Magic Carpet. http://www.altuit.com/webs/altuit2/MagicCarpetCover/default.htm Altuit Website cheers -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/revision-control-software-tp3236793p3242038.html Sent from the Revolution - User mailing list archive at Nabble.com. From niggemann at uni-wh.de Thu Jan 27 07:43:04 2011 From: niggemann at uni-wh.de (BNig) Date: Thu, 27 Jan 2011 04:43:04 -0800 (PST) Subject: Answer file with type BMPf? In-Reply-To: <8471CEDA-E596-4192-A521-44219685AB05@gmail.com> References: <8471CEDA-E596-4192-A521-44219685AB05@gmail.com> Message-ID: <1296132184119-3242119.post@n4.nabble.com> Hi William this works for me on MacOS 10.6.6 for all three file suffixes: answer files "Kies een foto:" with type "All Images|png,jpg,bmp" could you post the code that does not work for you? Any typos? Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Answer-file-with-type-BMPf-tp3236720p3242119.html Sent from the Revolution - User mailing list archive at Nabble.com. From williamdesmet at gmail.com Thu Jan 27 08:15:38 2011 From: williamdesmet at gmail.com (William de Smet) Date: Thu, 27 Jan 2011 14:15:38 +0100 Subject: Answer file with type BMPf? In-Reply-To: <1296132184119-3242119.post@n4.nabble.com> References: <8471CEDA-E596-4192-A521-44219685AB05@gmail.com> <1296132184119-3242119.post@n4.nabble.com> Message-ID: <4A5B8125-3C24-440D-98A8-445C80E1A463@gmail.com> Hi Bernd, I use this script in an image area: on mouseup answer file "Kies een foto:" with type "All Images|jpg,gif,png,bmp|JPEG,GIFf,PNGf,BMPf" if it = empty then put empty into img "foto1" exit mouseUp end if put url ("binfile:" & it) into img "foto1" end mouseup Like I said: tested on Windows 7 and OSX 10.6 with LC 4.5.3. All images show up in img "foto1". No luck with any bmp file. Greetings, William ----- Verstuurd vanaf mijn iPhone! Op 27 jan. 2011 om 13:43 heeft BNig het volgende geschreven: > > Hi William > > this works for me on MacOS 10.6.6 for all three file suffixes: > > answer files "Kies een foto:" with type "All Images|png,jpg,bmp" > > could you post the code that does not work for you? Any typos? > > Kind regards > > Bernd > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Answer-file-with-type-BMPf-tp3236720p3242119.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 harald at etcpp.de Thu Jan 27 08:18:37 2011 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Thu, 27 Jan 2011 14:18:37 +0100 Subject: OAuth In-Reply-To: <5E89336C-E9D0-4A14-A421-66EFE4A20D55@economy-x-talk.com> References: <5E89336C-E9D0-4A14-A421-66EFE4A20D55@economy-x-talk.com> Message-ID: <1381D2D3-6223-4A2F-8474-F28C8EF2ACAD@etcpp.de> Hi all, has anybody made it thru OAuth already? There will be no way around OAuth for me and after looking at all those infos I found a very interesting playground: http://googlecodesamples.com/oauth_playground/index.php? Once again I would like to work with others on this. Step by step, something easy to handle, perhaps a script which can be edited and commented together online? Anyone interested? Mark? Another try? Best regards, Harald. | Harald M?ller (app.etcpp.de) | Theodor-K?rner-Stra?e 4, 97072 W?rzburg | Telefon + 49-[0]931-8049170 From m.schonewille at economy-x-talk.com Thu Jan 27 08:33:49 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 27 Jan 2011 14:33:49 +0100 Subject: OAuth In-Reply-To: <1381D2D3-6223-4A2F-8474-F28C8EF2ACAD@etcpp.de> References: <5E89336C-E9D0-4A14-A421-66EFE4A20D55@economy-x-talk.com> <1381D2D3-6223-4A2F-8474-F28C8EF2ACAD@etcpp.de> Message-ID: Hi Harald, I made a system that successfully logs in on Facebook and posts messages. It isn't a general solution and it is still work in progress, but I think I am now able to do it for other systems as well, such as Twitter. Unfortunately, the open-source attempt failed completely and what I have now is a commercial solution. I can't share it for free but I can sell custom solutions. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qery.us/ce On 27 jan 2011, at 14:18, Harald M?ller wrote: > Hi all, > > has anybody made it thru OAuth already? There will be no way around OAuth > for me and after looking at all those infos I found a very interesting playground: > > http://googlecodesamples.com/oauth_playground/index.php? > > Once again I would like to work with others on this. Step by step, something easy > to handle, perhaps a script which can be edited and commented together online? > Anyone interested? Mark? Another try? > > Best regards, > Harald. > > | Harald M?ller (app.etcpp.de) > | Theodor-K?rner-Stra?e 4, 97072 W?rzburg > | Telefon + 49-[0]931-8049170 From david at vaudevillecourt.tv Thu Jan 27 08:38:30 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Thu, 27 Jan 2011 13:38:30 +0000 Subject: Htmltext: storing data in markup Message-ID: Anyone got any suggestions / experience in using htmltext to store data / metadata. Most of the time is strips out any additional tags you might add (which is a great pity) - but I've found it useful to use markup like: For this text Are there any other tags that can be used to markup text with metadata? From david at vaudevillecourt.tv Thu Jan 27 08:42:21 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Thu, 27 Jan 2011 13:42:21 +0000 Subject: OAuth In-Reply-To: References: <5E89336C-E9D0-4A14-A421-66EFE4A20D55@economy-x-talk.com> <1381D2D3-6223-4A2F-8474-F28C8EF2ACAD@etcpp.de> Message-ID: I'll work on it with you Harald, we could take some steps looking at this next weekend at a LiveCode TV event? I think Andre has some code knocking about? On 27 jan 2011, at 14:18, Harald M?ller wrote: > > > Hi all, > > > > has anybody made it thru OAuth already? There will be no way around OAuth > > for me and after looking at all those infos I found a very interesting > playground: > > > > http://googlecodesamples.com/oauth_playground/index.php? > > > > Once again I would like to work with others on this. Step by step, > something easy > > to handle, perhaps a script which can be edited and commented together > online? > > Anyone interested? Mark? Another try? > > > > Best regards, > > Harald. > > > > | Harald M?ller (app.etcpp.de) > > | Theodor-K?rner-Stra?e 4, 97072 W?rzburg > > | Telefon + 49-[0]931-8049170 > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ray at linkit.com Thu Jan 27 08:44:55 2011 From: ray at linkit.com (Ray Horsley) Date: Thu, 27 Jan 2011 08:44:55 -0500 Subject: Build for Server Basics Message-ID: <002101cbbe28$622285b0$26679110$@LinkIt.Com> Greetings, Could anybody point me to some documentation on building standalones for servers. I recently purchased the license for it but I don't see it in the Standalone Application Settings. I'm wondering what the benefits are to this approach as compared to, for example, running a normal standalone under Fire Daemon (which simply assures the app stays open on the server when you log out). Any insight appreciated, Ray Horsley LinkIt! Software From ambassador at fourthworld.com Thu Jan 27 09:05:36 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 27 Jan 2011 06:05:36 -0800 Subject: Htmltext: storing data in markup Message-ID: <4D417BB0.5060002@fourthworld.com> David Bovill wrote: > Anyone got any suggestions / experience in using htmltext to store data / > metadata. Most of the time is strips out any additional tags you might add > (which is a great pity) - but I've found it useful to use markup like: > > For this text > > Are there any other tags that can be used to markup text with metadata? The name attribute is honored so long as the run of text it's applied to does not also have an href. E.g. this works well for assigning arbitrary metadata to text runs: this is a test. With that htmlText, the text is rendered without a link and no linkClicked message is sent. Instead you can use this to get the name data: get the linkText of the clickChunk ...or any other chunk expression like: get the linkText of word 5 of fld 1 As useful as that is, note that including an href for that segment will cause the name attribute data to be lost: this is a test. If you don't need links in the runs you need to apply metadata to, the name attribute should do what you need. If you may also have links in some of those runs, you may be interested in this request for a linkData chunk property, which would allow us to use any number of attributes in tags, returned in an array as with clipboardData and dragData: -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From janschenkel at yahoo.com Thu Jan 27 09:06:16 2011 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 27 Jan 2011 06:06:16 -0800 (PST) Subject: Answer file with type BMPf? In-Reply-To: <4A5B8125-3C24-440D-98A8-445C80E1A463@gmail.com> Message-ID: <887275.75334.qm@web65405.mail.ac4.yahoo.com> --- On Thu, 1/27/11, William de Smet wrote: > Hi Bernd, > > I use this script in an image area: > on mouseup > ? ? answer file "Kies een foto:" with type "All > Images|jpg,gif,png,bmp|JPEG,GIFf,PNGf,BMPf" > ? ? ? ? ? ? > ???if it = empty > ? ? ? ? ? ? > ???then > ? ? ? ? ? ? ? ? > ? put empty into img "foto1" > ? ? ? ? ? ? ? ? > ? ? exit mouseUp > ? ? ? ? ? ? ? > ???end if > ? ? ? ? ? ? > ???put url ("binfile:" & it) into img > "foto1" > end mouseup > > Like I said: tested on Windows 7 and OSX 10.6 with LC > 4.5.3. All images show up in img "foto1". No luck with any > bmp file. > > Greetings, > > William > I'm afraid that putting it into the image control may fail. Try this instead: ???set the fileName of img "foto1" to it if the result is not empty then answer error the result 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 benr_mc at cogapp.com Thu Jan 27 09:20:59 2011 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Thu, 27 Jan 2011 14:20:59 +0000 Subject: Htmltext: storing data in markup In-Reply-To: References: Message-ID: <4D417F4B.3070506@cogapp.com> On 27/01/2011 13:38, David Bovill wrote: > Anyone got any suggestions / experience in using htmltext to store data / > metadata. Most of the time is strips out any additional tags you might add > (which is a great pity) - but I've found it useful to use markup like: > > For this text > > Are there any other tags that can be used to markup text with metadata? David, A technique I used a few years ago, which worked out well, was to use the low-order bits of the colour to code an ID that my code could associate with whatever it liked. By reserving two bits each from R/G/B one immediately gets an ID space of 128, and I doubt if any user could tell the difference in the colour of the text. An advantage of using the colour in this way is that it is independent of other text attributes such as style, font, size etc; and that as the user edits, it adjusts naturally. It did depend on the fact that in this context my app had complete control over the styling of the text: any changes the user made, other than typing, went through my code, so that for example if text was linked, my code could preserve the low-order bits of the colour as the text changed from 'black' to 'blue'; and when text was pasted, again my code had to step in to fiddle with colours. But as I say it was a very satisfactory solution. However I do recall that last time I mentioned it on a Rev list someone had what sounded like a far superior and simpler technique! But I offer it for what it's worth. Ben From andre at andregarzia.com Thu Jan 27 09:37:36 2011 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 27 Jan 2011 12:37:36 -0200 Subject: OAuth In-Reply-To: References: <5E89336C-E9D0-4A14-A421-66EFE4A20D55@economy-x-talk.com> <1381D2D3-6223-4A2F-8474-F28C8EF2ACAD@etcpp.de> Message-ID: On Thu, Jan 27, 2011 at 11:42 AM, David Bovill wrote: > I'll work on it with you Harald, we could take some steps looking at this > next weekend at a LiveCode TV event? I think Andre has some code knocking > about? > > I am trying to finish it. The main issue right now is time to finish it. :D -- http://www.andregarzia.com All We Do Is Code. From mcgrath3 at mac.com Thu Jan 27 09:55:59 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 27 Jan 2011 09:55:59 -0500 Subject: usb driver problem In-Reply-To: <144894070781.20110126170803@ahsoftware.net> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> <90570741250.20110122231914@ahsoftware.net> <"655D7 C24-63FF-434F-81A0-98C01C4D86C5"@mac.com> <8E8C596B-4378-44B6-9DE4-69A2AC924C77@jhj.com> <69D174AB-D4F7-4499-8272-56D04988E572@mac.com> <4A568B4D-0EE4-4BE4-989C-47D749B855CA@mac.com> <798CC7B6-218C-4EB1-8581-13EF164FAE8C@fiberworld.nl> <144894070781.20110126170803@ahsoftware.net> Message-ID: Good catch Mark, I notice the getbuffer line and then the read to eof -- Claudi can answer if that was a loop but from looking at his code, in the stack he shared with me, the read from driver until eof is where this crashed: > if the hilitedButtonName of grp "driverFile radioGrp" = "driver" then > read from driver tDriver until EOF -- end EOF > else > read from file tDriver until empty --EOF -- empty as in dictionary > end if He didn't do a 'repeat loop' but rather the read from driver is reading until it finds an EOF which must be looping with no EOF. Right? This is/was the way to read the port in previous FTDI instances and in Sarah's serialTest stack as well. It's possible/ is it possible that we can't read this way with the Atmega8u2 due to OSX 10.6.6 and how it handles the serial/usb buffer. Or is it more like the EOF is wrong. I still have not found a definitive answer on the Arduino Uno forums as to what the line endings are when the Uno fills the buffer or how big the buffer is on the board. I understand that the Mac side is rather larger than the Uno side. I am trying to write a software flow control sketch and LC combo now to see if it will work (with out resetting the Uno each time). The question remains that this piece of code works in previous OS versions so what has changed in 10.6.6 and what needs changed in LC to read until EOF with out crashing. Or is that what you meant by That is Not a Good Thing? ;-) Thanks for catching that. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 26, 2011, at 8:08 PM, Mark Wieder wrote: > Claudi- > > Wednesday, January 26, 2011, 2:48:22 AM, you wrote: > >> Thread 0 Crashed: >> 0 libSystem.B.dylib 0x91ddde42 __kill + 10 >> 1 libSystem.B.dylib 0x91e5023a raise + 26 >> 2 libSystem.B.dylib 0x91e5c622 __abort + 97 >> 3 libSystem.B.dylib 0x91e5c68a _cproc_fork_child + 0 >> 4 libstdc++.6.dylib 0x92049005 0x92001000 + 294917 >> 5 libstdc++.6.dylib 0x9204710c __gxx_personality_v0 + 1108 >> 6 libstdc++.6.dylib 0x9204714b std::terminate() + 29 >> 7 libstdc++.6.dylib 0x92047261 __cxa_throw + 101 >> 8 libstdc++.6.dylib 0x920475d8 operator new(unsigned long) + 100 >> 9 libstdc++.6.dylib 0x92047689 operator new[](unsigned long) + 17 >> 10 com.runrev.livecode 0x000a3048 >> MCExecPoint::getbuffer(unsigned int) + 56 >> 11 com.runrev.livecode 0x00141134 >> IO_read_to_eof(IO_header*, MCExecPoint&) + 52 >> 12 com.runrev.livecode 0x0006d3bb >> MCRead::exec(MCExecPoint&) + 2555 >> 13 com.runrev.livecode 0x00103a64 >> MCHandler::doscript(MCExecPoint&, unsigned short, unsigned short) + > > Well, from a quick look at things, I'd say you started a script that > did a "repeat until EOF" and LC crashed trying to allocate memory > space for the read. That is Not a Good Thing. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harald at etcpp.de Thu Jan 27 09:59:36 2011 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Thu, 27 Jan 2011 15:59:36 +0100 Subject: OAuth In-Reply-To: References: <5E89336C-E9D0-4A14-A421-66EFE4A20D55@economy-x-talk.com> <1381D2D3-6223-4A2F-8474-F28C8EF2ACAD@etcpp.de> Message-ID: Hi Mark, I managed posting to Facebook also, but not via clean OAuth. Anyway: Good luck with your commercial attempt! You are right, the open-source attempt with the Wiki didn't work well and I don't know how this can be done as "group work". But I think it's not clever when each of us goes the same road, we could take a bus and share cost/time. Perhaps the key point is to find a platform which was made for things like that. http://www.subethaedit.net/ perhaps, or something like that. Best regards, Harald. | Harald M?ller (app.etcpp.de) | Theodor-K?rner-Stra?e 4, 97072 W?rzburg | Telefon + 49-[0]931-8049170 Am 27.01.2011 um 14:33 schrieb Mark Schonewille: > Hi Harald, > > I made a system that successfully logs in on Facebook and posts messages. It isn't a general solution and it is still work in progress, but I think I am now able to do it for other systems as well, such as Twitter. > > Unfortunately, the open-source attempt failed completely and what I have now is a commercial solution. I can't share it for free but I can sell custom solutions. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qery.us/ce > > On 27 jan 2011, at 14:18, Harald M?ller wrote: > >> Hi all, >> >> has anybody made it thru OAuth already? There will be no way around OAuth >> for me and after looking at all those infos I found a very interesting playground: >> >> http://googlecodesamples.com/oauth_playground/index.php? >> >> Once again I would like to work with others on this. Step by step, something easy >> to handle, perhaps a script which can be edited and commented together online? >> Anyone interested? Mark? Another try? >> >> Best regards, >> Harald. >> >> | Harald M?ller (app.etcpp.de) >> | Theodor-K?rner-Stra?e 4, 97072 W?rzburg >> | Telefon + 49-[0]931-8049170 > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From niggemann at uni-wh.de Thu Jan 27 09:59:57 2011 From: niggemann at uni-wh.de (BNig) Date: Thu, 27 Jan 2011 06:59:57 -0800 (PST) Subject: Answer file with type BMPf? In-Reply-To: <4A5B8125-3C24-440D-98A8-445C80E1A463@gmail.com> References: <8471CEDA-E596-4192-A521-44219685AB05@gmail.com> <1296132184119-3242119.post@n4.nabble.com> <4A5B8125-3C24-440D-98A8-445C80E1A463@gmail.com> Message-ID: <1296140397365-3242389.post@n4.nabble.com> Hi William, Jan's solution works for me with bmp to set the filename of the image If you want to detach the image from the filename and to turn it from a referenced image to an local/stack resident image you could issue the following command set the imagedata of image "foto1" to the imagedata of img "foto1" Although this may sound funny it effectively detaches the image from the file on disk and makes it an independent image object. kind regards Bernd >> I use this script in an image area: >> on mouseup >> answer file "Kies een foto:" with type "All >> Images|jpg,gif,png,bmp|JPEG,GIFf,PNGf,BMPf" >> >> if it = empty >> >> then >> >> put empty into img "foto1" >> >> exit mouseUp >> >> end if >> >> put url ("binfile:" & it) into img >> "foto1" >> end mouseup >> >> Like I said: tested on Windows 7 and OSX 10.6 with LC >> 4.5.3. All images show up in img "foto1". No luck with any >> bmp file. >> >> Greetings, >> >> William >> > ... [show rest of quote] > > I'm afraid that putting it into the image control may fail. > Try this instead: > set the fileName of img "foto1" to it > if the result is not empty then answer error the result > > 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) > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Answer-file-with-type-BMPf-tp3236720p3242389.html Sent from the Revolution - User mailing list archive at Nabble.com. From harald at etcpp.de Thu Jan 27 10:04:18 2011 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Thu, 27 Jan 2011 16:04:18 +0100 Subject: OAuth In-Reply-To: References: <5E89336C-E9D0-4A14-A421-66EFE4A20D55@economy-x-talk.com> <1381D2D3-6223-4A2F-8474-F28C8EF2ACAD@etcpp.de> Message-ID: <85928BE5-8AD7-4EF3-8307-57A9D7C489CC@etcpp.de> Sounds good! (I haven't seen anything on LiveCode TV until now , but I'll try ...) Am 27.01.2011 um 14:42 schrieb David Bovill: > I'll work on it with you Harald, we could take some steps looking at this > next weekend at a LiveCode TV event? I think Andre has some code knocking > about? > > On 27 jan 2011, at 14:18, Harald M?ller wrote: >> >>> Hi all, >>> >>> has anybody made it thru OAuth already? There will be no way around OAuth >>> for me and after looking at all those infos I found a very interesting >> playground: >>> >>> http://googlecodesamples.com/oauth_playground/index.php? >>> >>> Once again I would like to work with others on this. Step by step, >> something easy >>> to handle, perhaps a script which can be edited and commented together >> online? >>> Anyone interested? Mark? Another try? >>> >>> Best regards, >>> Harald. >>> >>> | Harald M?ller (app.etcpp.de) >>> | Theodor-K?rner-Stra?e 4, 97072 W?rzburg >>> | Telefon + 49-[0]931-8049170 >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From harald at etcpp.de Thu Jan 27 10:04:23 2011 From: harald at etcpp.de (=?iso-8859-1?Q?Harald_M=FCller?=) Date: Thu, 27 Jan 2011 16:04:23 +0100 Subject: OAuth In-Reply-To: References: <5E89336C-E9D0-4A14-A421-66EFE4A20D55@economy-x-talk.com> <1381D2D3-6223-4A2F-8474-F28C8EF2ACAD@etcpp.de> Message-ID: Cool! Am 27.01.2011 um 15:37 schrieb Andre Garzia: > On Thu, Jan 27, 2011 at 11:42 AM, David Bovill wrote: > >> I'll work on it with you Harald, we could take some steps looking at this >> next weekend at a LiveCode TV event? I think Andre has some code knocking >> about? >> >> > I am trying to finish it. The main issue right now is time to finish it. > > :D > > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From david at vaudevillecourt.tv Thu Jan 27 10:38:00 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Thu, 27 Jan 2011 15:38:00 +0000 Subject: Htmltext: storing data in markup In-Reply-To: <4D417F4B.3070506@cogapp.com> References: <4D417F4B.3070506@cogapp.com> Message-ID: Sounds good Ben On 27 January 2011 14:20, Ben Rubinstein wrote: > > A technique I used a few years ago, which worked out well, was to use the > low-order bits of the colour to code an ID that my code could associate with > whatever it liked. By reserving two bits each from R/G/B one immediately > gets an ID space of 128, and I doubt if any user could tell the difference > in the colour of the text. > ... > However I do recall that last time I mentioned it on a Rev list someone had > what sounded like a far superior and simpler technique! > This sounds better :) Shake it a bit and maybe it will come back to you? From david at vaudevillecourt.tv Thu Jan 27 11:09:46 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Thu, 27 Jan 2011 16:09:46 +0000 Subject: OAuth In-Reply-To: References: <5E89336C-E9D0-4A14-A421-66EFE4A20D55@economy-x-talk.com> <1381D2D3-6223-4A2F-8474-F28C8EF2ACAD@etcpp.de> Message-ID: On 27 January 2011 14:37, Andre Garzia wrote: > On Thu, Jan 27, 2011 at 11:42 AM, David Bovill >wrote: > > > I'll work on it with you Harald, we could take some steps looking at this > > next weekend at a LiveCode TV event? I think Andre has some code knocking > > about? > > > > > I am trying to finish it. The main issue right now is time to finish it. > Awwe.... don't finish it - you'll ruin all the fun for the rest of us - just send it my way so me and Harald can enjoy getting our heads around it. Voila - time problems gets turned into hackers challenge :) From mwieder at ahsoftware.net Thu Jan 27 11:13:19 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 27 Jan 2011 08:13:19 -0800 Subject: usb driver problem In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> <90570741250.20110122231914@ahsoftware.net> <"655D7 C24-63FF-434F-81A0-98C01C4D86C5"@mac.com> <8E8C596B-4378-44B6-9DE4-69A2AC924C77@jhj.com> <69D174AB-D4F7-4499-8272-56D04988E572@mac.com> <4A568B4D-0EE4-4BE4-989C-47D749B855CA@mac.com> <798CC7B6-218C-4EB1-8581-13EF164FAE8C@fiberworld.nl> <144894070781.20110126170803@ahsoftware.net> Message-ID: <92948386546.20110127081319@ahsoftware.net> Tom- Thursday, January 27, 2011, 6:55:59 AM, you wrote: > The question remains that this piece of code works in previous OS > versions so what has changed in 10.6.6 and what needs changed in LC > to read until EOF with out crashing. Or is that what you meant by > That is Not a Good Thing? ;-) Yeah, that's my take - it looks to me like LC isn't getting as far as the read because it's crashing trying to allocate a buffer for incoming chars. The last thing the engine executes is getbuffer(), and then there's a crash in the libstdc library. My guess would be that getbuffer() is being handed an invalid argument, but I'll leave it to the rev team to figure this out. -- -Mark Wieder mwieder at ahsoftware.net From harrison at all-auctions.com Thu Jan 27 11:17:35 2011 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 27 Jan 2011 11:17:35 -0500 Subject: On-rev Rename problem In-Reply-To: References: <5E89336C-E9D0-4A14-A421-66EFE4A20D55@economy-x-talk.com> <1381D2D3-6223-4A2F-8474-F28C8EF2ACAD@etcpp.de> Message-ID: <67CC08A9-8FF0-4DAA-8EAD-1C81E7910CBC@all-auctions.com> Hi there, I've been trying to use rename file in an irev script on On-Rev without success. Is this a known bug? If so, what is the work around? Rename works fine on my local Macintosh. I have the pathname correct on On-Rev as I'm able to list the files programmatically. Can anyone else verify that this is a bug? Ideas? Suggestions? Thanks in advance! Rick From bvg at mac.com Thu Jan 27 11:38:04 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 27 Jan 2011 17:38:04 +0100 Subject: Build for Server Basics In-Reply-To: <002101cbbe28$622285b0$26679110$@LinkIt.Com> References: <002101cbbe28$622285b0$26679110$@LinkIt.Com> Message-ID: <699B9CFB-FEF2-4CF8-BFFB-778AD3326220@mac.com> you do not need to build a standalone for server. instead, the server is a package that you can install on an apache web server, and then use rev code in an php-like fashion, using rev code in text files that the server interprets. On 27 Jan 2011, at 14:44, Ray Horsley wrote: > Greetings, > > Could anybody point me to some documentation on building standalones for > servers. I recently purchased the license for it but I don't see it in the > Standalone Application Settings. I'm wondering what the benefits are to > this approach as compared to, for example, running a normal standalone under > Fire Daemon (which simply assures the app stays open on the server when you > log out). > > Any insight appreciated, > > Ray Horsley > LinkIt! 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 alex at tweedly.net Thu Jan 27 11:41:13 2011 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 27 Jan 2011 16:41:13 +0000 Subject: On-rev Rename problem In-Reply-To: <67CC08A9-8FF0-4DAA-8EAD-1C81E7910CBC@all-auctions.com> References: <5E89336C-E9D0-4A14-A421-66EFE4A20D55@economy-x-talk.com> <1381D2D3-6223-4A2F-8474-F28C8EF2ACAD@etcpp.de> <67CC08A9-8FF0-4DAA-8EAD-1C81E7910CBC@all-auctions.com> Message-ID: <4D41A029.4050207@tweedly.net> works OK for me .... " & CR in t put "
" & t rename "a.txt" "b.txt" put the detailed files into t replace CR with "
" & CR in t put "
" & t ?> -- Alex. On 27/01/2011 16:17, Rick Harrison wrote: > Hi there, > > I've been trying to use rename file in an irev script > on On-Rev without success. Is this a known bug? > If so, what is the work around? Rename works fine > on my local Macintosh. I have the pathname correct > on On-Rev as I'm able to list the files programmatically. > > Can anyone else verify that this is a bug? > > Ideas? Suggestions? > > Thanks in advance! > > Rick > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bvg at mac.com Thu Jan 27 11:42:21 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 27 Jan 2011 17:42:21 +0100 Subject: On-rev Rename problem In-Reply-To: <67CC08A9-8FF0-4DAA-8EAD-1C81E7910CBC@all-auctions.com> References: <5E89336C-E9D0-4A14-A421-66EFE4A20D55@economy-x-talk.com> <1381D2D3-6223-4A2F-8474-F28C8EF2ACAD@etcpp.de> <67CC08A9-8FF0-4DAA-8EAD-1C81E7910CBC@all-auctions.com> Message-ID: <257573AF-20A1-4AF9-BB97-FC5458CA7E03@mac.com> Should work, i think. Most likely you don't have write permission, or the paths are somehow mixed up? Did you try to create a file at the same place? Or delete a file? because if I'm wrong with the permissions, you could read the file in, delete the file, then make a new file with the new name. On 27 Jan 2011, at 17:17, Rick Harrison wrote: > Hi there, > > I've been trying to use rename file in an irev script > on On-Rev without success. Is this a known bug? > If so, what is the work around? Rename works fine > on my local Macintosh. I have the pathname correct > on On-Rev as I'm able to list the files programmatically. > > Can anyone else verify that this is a bug? > > Ideas? Suggestions? > > Thanks in advance! > > Rick > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Jan 27 11:45:23 2011 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 27 Jan 2011 18:45:23 +0200 Subject: [ANN] TimeMachine In-Reply-To: <95F3C093-7FBC-49B5-AF4F-09C8E7701093@twft.com> References: <90E32952-4C0B-417D-B1AB-07831540E900@wanadoo.fr> <1094AD94-E6E5-4D43-9FBF-F54EE04E68BD@economy-x-talk.com> <4D40966E.7040003@eml.cc> <95F3C093-7FBC-49B5-AF4F-09C8E7701093@twft.com> Message-ID: <4D41A123.9040704@gmail.com> On 01/27/2011 12:22 AM, Bob Sneidar wrote: > I liked the movie better than the book. The movie had a nice love story and all ended well. The book dropped you off in a decidedly unfriendly section of the slums of Norganza on planet FriedZig without any explanation. Or did I dream that? > > Bob > We "purists" preferred the TV series; especially the bit with Hot Black De Satio. From ray at linkit.com Thu Jan 27 12:12:38 2011 From: ray at linkit.com (Ray Horsley) Date: Thu, 27 Jan 2011 12:12:38 -0500 Subject: Build for Server Basics In-Reply-To: <699B9CFB-FEF2-4CF8-BFFB-778AD3326220@mac.com> References: <002101cbbe28$622285b0$26679110$@LinkIt.Com> <699B9CFB-FEF2-4CF8-BFFB-778AD3326220@mac.com> Message-ID: <003b01cbbe45$668bcd10$33a36730$@LinkIt.Com> Thanks for this explanation. Our server is Windows 2008. Do you know where I'd get a similar package for Windows servers? -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bj?rnke von Gierke Sent: Thursday, January 27, 2011 11:38 AM To: How to use LiveCode Subject: Re: Build for Server Basics you do not need to build a standalone for server. instead, the server is a package that you can install on an apache web server, and then use rev code in an php-like fashion, using rev code in text files that the server interprets. On 27 Jan 2011, at 14:44, Ray Horsley wrote: > Greetings, > > Could anybody point me to some documentation on building standalones > for servers. I recently purchased the license for it but I don't see > it in the Standalone Application Settings. I'm wondering what the > benefits are to this approach as compared to, for example, running a > normal standalone under Fire Daemon (which simply assures the app > stays open on the server when you log out). > > Any insight appreciated, > > Ray Horsley > LinkIt! 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 runrev260805 at m-r-d.de Thu Jan 27 12:30:18 2011 From: runrev260805 at m-r-d.de (Matthias Rebbe) Date: Thu, 27 Jan 2011 18:30:18 +0100 Subject: Build for Server Basics In-Reply-To: <003b01cbbe45$668bcd10$33a36730$@LinkIt.Com> References: <002101cbbe28$622285b0$26679110$@LinkIt.Com> <699B9CFB-FEF2-4CF8-BFFB-778AD3326220@mac.com> <003b01cbbe45$668bcd10$33a36730$@LinkIt.Com> Message-ID: <03C1FCBB-BDA4-41AC-8841-228E578B3D35@m-r-d.de> Hi Ray, unfortunately a windows version is not released yet. I am waiting for that, too. Regards, Matthias Am 27.01.2011 um 18:12 schrieb Ray Horsley: > Thanks for this explanation. Our server is Windows 2008. Do you know where > I'd get a similar package for Windows servers? > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bj?rnke von > Gierke > Sent: Thursday, January 27, 2011 11:38 AM > To: How to use LiveCode > Subject: Re: Build for Server Basics > > you do not need to build a standalone for server. instead, the server is a > package that you can install on an apache web server, and then use rev code > in an php-like fashion, using rev code in text files that the server > interprets. > > On 27 Jan 2011, at 14:44, Ray Horsley wrote: > >> Greetings, >> >> Could anybody point me to some documentation on building standalones >> for servers. I recently purchased the license for it but I don't see >> it in the Standalone Application Settings. I'm wondering what the >> benefits are to this approach as compared to, for example, running a >> normal standalone under Fire Daemon (which simply assures the app >> stays open on the server when you log out). >> >> Any insight appreciated, >> >> Ray Horsley >> LinkIt! 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 bvg at mac.com Thu Jan 27 12:32:38 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 27 Jan 2011 18:32:38 +0100 Subject: Build for Server Basics In-Reply-To: <003b01cbbe45$668bcd10$33a36730$@LinkIt.Com> References: <002101cbbe28$622285b0$26679110$@LinkIt.Com> <699B9CFB-FEF2-4CF8-BFFB-778AD3326220@mac.com> <003b01cbbe45$668bcd10$33a36730$@LinkIt.Com> Message-ID: Uhm... i'm not sure.. do you mean IIS? because rev server is _only_ for web servers. for a normal file server, you do not need a server edition, because there you'd need normal standalones. Rev server currently only works for hosting websites on an apache server. you can install apache on windows, but rev server does not run there. On 27 Jan 2011, at 18:12, Ray Horsley wrote: > Thanks for this explanation. Our server is Windows 2008. Do you know where > I'd get a similar package for Windows servers? > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bj?rnke von > Gierke > Sent: Thursday, January 27, 2011 11:38 AM > To: How to use LiveCode > Subject: Re: Build for Server Basics > > you do not need to build a standalone for server. instead, the server is a > package that you can install on an apache web server, and then use rev code > in an php-like fashion, using rev code in text files that the server > interprets. > > On 27 Jan 2011, at 14:44, Ray Horsley wrote: > >> Greetings, >> >> Could anybody point me to some documentation on building standalones >> for servers. I recently purchased the license for it but I don't see >> it in the Standalone Application Settings. I'm wondering what the >> benefits are to this approach as compared to, for example, running a >> normal standalone under Fire Daemon (which simply assures the app >> stays open on the server when you log out). >> >> Any insight appreciated, >> >> Ray Horsley >> LinkIt! 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 devin_asay at byu.edu Thu Jan 27 12:55:28 2011 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 27 Jan 2011 10:55:28 -0700 Subject: irev scripting and libURL Message-ID: <591A98AE-CCCB-4736-B8A8-801BB6CDFDEA@byu.edu> Have searched but can't find the answer to this: Are libURL calls available in the revServer environment? How is libURL implemented? Is it an external or integrated into the engine? Thanks, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From williamdesmet at gmail.com Thu Jan 27 13:00:12 2011 From: williamdesmet at gmail.com (William de Smet) Date: Thu, 27 Jan 2011 19:00:12 +0100 Subject: Answer file with type BMPf? In-Reply-To: <1296140397365-3242389.post@n4.nabble.com> References: <8471CEDA-E596-4192-A521-44219685AB05@gmail.com> <1296132184119-3242119.post@n4.nabble.com> <4A5B8125-3C24-440D-98A8-445C80E1A463@gmail.com> <1296140397365-3242389.post@n4.nabble.com> Message-ID: Thanks everyone for taking the time to look into my problem. @Jan: Thanks! Bedankt! Your suggestion did it. @ Bernd: I will use your latest suggestion as well. Till next time :-) greetings, William 2011/1/27 BNig > > Hi William, > > Jan's solution works for me with bmp to set the filename of the image > > If you want to detach the image from the filename and to turn it from a > referenced image to an local/stack resident image you could issue the > following command > > set the imagedata of image "foto1" to the imagedata of img "foto1" > > Although this may sound funny it effectively detaches the image from the > file on disk and makes it an independent image object. > > kind regards > > Bernd > > > > >> I use this script in an image area: > >> on mouseup > >> answer file "Kies een foto:" with type "All > >> Images|jpg,gif,png,bmp|JPEG,GIFf,PNGf,BMPf" > >> > >> if it = empty > >> > >> then > >> > >> put empty into img "foto1" > >> > >> exit mouseUp > >> > >> end if > >> > >> put url ("binfile:" & it) into img > >> "foto1" > >> end mouseup > >> > >> Like I said: tested on Windows 7 and OSX 10.6 with LC > >> 4.5.3. All images show up in img "foto1". No luck with any > >> bmp file. > >> > >> Greetings, > >> > >> William > >> > > ... [show rest of quote] > > > > I'm afraid that putting it into the image control may fail. > > Try this instead: > > set the fileName of img "foto1" to it > > if the result is not empty then answer error the result > > > > 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) > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Answer-file-with-type-BMPf-tp3236720p3242389.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 bvg at mac.com Thu Jan 27 13:05:10 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 27 Jan 2011 19:05:10 +0100 Subject: irev scripting and libURL In-Reply-To: <591A98AE-CCCB-4736-B8A8-801BB6CDFDEA@byu.edu> References: <591A98AE-CCCB-4736-B8A8-801BB6CDFDEA@byu.edu> Message-ID: i remember mark wadd. saying that it uses curl calls on the server, because liburl would need stack loading, which it doesn't have. because of that, it only has a few capabilities compared to liburl. on the other hand, that was more then a year ago, so they might have changed that by now? There where server-specific documentations back then, similar to todays iOS pdf's. maybe you have one of those available? On 27 Jan 2011, at 18:55, Devin Asay wrote: > Have searched but can't find the answer to this: > > Are libURL calls available in the revServer environment? How is libURL implemented? Is it an external or integrated into the engine? > > Thanks, > > Devin > > > Devin Asay > Humanities Technology and Research Support Center > 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 ray at linkit.com Thu Jan 27 13:17:26 2011 From: ray at linkit.com (Ray Horsley) Date: Thu, 27 Jan 2011 13:17:26 -0500 Subject: Build for Server Basics In-Reply-To: References: <002101cbbe28$622285b0$26679110$@LinkIt.Com> <699B9CFB-FEF2-4CF8-BFFB-778AD3326220@mac.com> <003b01cbbe45$668bcd10$33a36730$@LinkIt.Com> Message-ID: <004201cbbe4e$74194210$5c4bc630$@LinkIt.Com> Actually, yes. It is IIS, however, I understand there's no server package for Windows at this time. No problem, though, since Fire Daemon is working well for us. Thanks, Ray Horsley LinkIt! Software -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bj?rnke von Gierke Sent: Thursday, January 27, 2011 12:33 PM To: How to use LiveCode Subject: Re: Build for Server Basics Uhm... i'm not sure.. do you mean IIS? because rev server is _only_ for web servers. for a normal file server, you do not need a server edition, because there you'd need normal standalones. Rev server currently only works for hosting websites on an apache server. you can install apache on windows, but rev server does not run there. On 27 Jan 2011, at 18:12, Ray Horsley wrote: > Thanks for this explanation. Our server is Windows 2008. Do you know > where I'd get a similar package for Windows servers? > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bj?rnke > von Gierke > Sent: Thursday, January 27, 2011 11:38 AM > To: How to use LiveCode > Subject: Re: Build for Server Basics > > you do not need to build a standalone for server. instead, the server > is a package that you can install on an apache web server, and then > use rev code in an php-like fashion, using rev code in text files that > the server interprets. > > On 27 Jan 2011, at 14:44, Ray Horsley wrote: > >> Greetings, >> >> Could anybody point me to some documentation on building standalones >> for servers. I recently purchased the license for it but I don't see >> it in the Standalone Application Settings. I'm wondering what the >> benefits are to this approach as compared to, for example, running a >> normal standalone under Fire Daemon (which simply assures the app >> stays open on the server when you log out). >> >> Any insight appreciated, >> >> Ray Horsley >> LinkIt! Software >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bvg at mac.com Thu Jan 27 13:28:47 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 27 Jan 2011 19:28:47 +0100 Subject: Build for Server Basics In-Reply-To: <004201cbbe4e$74194210$5c4bc630$@LinkIt.Com> References: <002101cbbe28$622285b0$26679110$@LinkIt.Com> <699B9CFB-FEF2-4CF8-BFFB-778AD3326220@mac.com> <003b01cbbe45$668bcd10$33a36730$@LinkIt.Com> <004201cbbe4e$74194210$5c4bc630$@LinkIt.Com> Message-ID: <06155850-C014-4B06-ACC9-BEE415C434B4@mac.com> oh in that case, you can alternatively also use rev 3.5 as cgi. there have been only some minor changes to the faceless-relevant stuff since then. as a bonus, you'll be able to open stacks and use externals, all in iis. if you do not have 3.5 you can ask support to send it to you (and ask them to create a backlog-download capability while you're at it). On 27 Jan 2011, at 19:17, Ray Horsley wrote: > Actually, yes. It is IIS, however, I understand there's no server package > for Windows at this time. No problem, though, since Fire Daemon is working > well for us. > > Thanks, > > Ray Horsley > LinkIt! Software > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bj?rnke von > Gierke > Sent: Thursday, January 27, 2011 12:33 PM > To: How to use LiveCode > Subject: Re: Build for Server Basics > > Uhm... i'm not sure.. do you mean IIS? because rev server is _only_ for web > servers. for a normal file server, you do not need a server edition, because > there you'd need normal standalones. > > > Rev server currently only works for hosting websites on an apache server. > you can install apache on windows, but rev server does not run there. > > On 27 Jan 2011, at 18:12, Ray Horsley wrote: > >> Thanks for this explanation. Our server is Windows 2008. Do you know >> where I'd get a similar package for Windows servers? >> >> -----Original Message----- >> From: use-livecode-bounces at lists.runrev.com >> [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bj?rnke >> von Gierke >> Sent: Thursday, January 27, 2011 11:38 AM >> To: How to use LiveCode >> Subject: Re: Build for Server Basics >> >> you do not need to build a standalone for server. instead, the server >> is a package that you can install on an apache web server, and then >> use rev code in an php-like fashion, using rev code in text files that >> the server interprets. >> >> On 27 Jan 2011, at 14:44, Ray Horsley wrote: >> >>> Greetings, >>> >>> Could anybody point me to some documentation on building standalones >>> for servers. I recently purchased the license for it but I don't see >>> it in the Standalone Application Settings. I'm wondering what the >>> benefits are to this approach as compared to, for example, running a >>> normal standalone under Fire Daemon (which simply assures the app >>> stays open on the server when you log out). >>> >>> Any insight appreciated, >>> >>> Ray Horsley >>> LinkIt! Software >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From devin_asay at byu.edu Thu Jan 27 13:34:40 2011 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 27 Jan 2011 11:34:40 -0700 Subject: irev scripting and libURL In-Reply-To: References: <591A98AE-CCCB-4736-B8A8-801BB6CDFDEA@byu.edu> Message-ID: On Jan 27, 2011, at 11:05 AM, Bj?rnke von Gierke wrote: > i remember mark wadd. saying that it uses curl calls on the server, because liburl would need stack loading, which it doesn't have. because of that, it only has a few capabilities compared to liburl. > > on the other hand, that was more then a year ago, so they might have changed that by now? There where server-specific documentations back then, similar to todays iOS pdf's. maybe you have one of those available? Yes, I do have that. Thanks for the answer, Bj?ernke. I thought it was something like that. Devin > > > On 27 Jan 2011, at 18:55, Devin Asay wrote: > >> Have searched but can't find the answer to this: >> >> Are libURL calls available in the revServer environment? How is libURL implemented? Is it an external or integrated into the engine? >> >> Thanks, >> >> Devin >> >> >> Devin Asay >> Humanities Technology and Research Support Center >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Humanities Technology and Research Support Center Brigham Young University From harrison at all-auctions.com Thu Jan 27 13:56:01 2011 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 27 Jan 2011 13:56:01 -0500 Subject: On-rev Rename quotes work. Vars don't! In-Reply-To: <896F9B6B-86FE-4790-BB0A-6B450A6BD915@leftbrainmedia.com> References: <453511.61296.qm@web65408.mail.ac4.yahoo.com> <896F9B6B-86FE-4790-BB0A-6B450A6BD915@leftbrainmedia.com> Message-ID: <15E4EF5B-DF9D-4DBE-8359-9EF8D102F09D@all-auctions.com> Hi again, The following works: rename "imac27.jpg" "imac2012.jpg" what's below doesn't work: put "imac27.jpg" into NameOfOldFile put "imac2012.jpg" into NameOfNewFile rename NameOfOldFile NameOfNewFile also this doesn't work: put "imac27.jpg" into NameOfOldFile put "imac2012.jpg" into NameOfNewFile put quote & NameOfOldFile & quote into NameOfOldFile put quote & NameOfNewFile & quote into NameOfNewFile rename NameOfOldFile NameOfNewFile Unfortunately, I need to be able to use variables as I have a large number of files I will be renaming, so the simple quotes solution will not work for me. Ideas? Thanks, Rick From bvg at mac.com Thu Jan 27 13:58:58 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 27 Jan 2011 19:58:58 +0100 Subject: On-rev Rename quotes work. Vars don't! In-Reply-To: <15E4EF5B-DF9D-4DBE-8359-9EF8D102F09D@all-auctions.com> References: <453511.61296.qm@web65408.mail.ac4.yahoo.com> <896F9B6B-86FE-4790-BB0A-6B450A6BD915@leftbrainmedia.com> <15E4EF5B-DF9D-4DBE-8359-9EF8D102F09D@all-auctions.com> Message-ID: On 27 Jan 2011, at 19:56, Rick Harrison wrote: > rename "imac27.jpg" "imac2012.jpg" > > what's below doesn't work: > > put "imac27.jpg" into NameOfOldFile > put "imac2012.jpg" into NameOfNewFile > rename NameOfOldFile NameOfNewFile Uhm that's wrong syntax, it should be: rename NameOfOldFile to NameOfNewFile rename "imac27.jpg" to "imac2012.jpg" maybe that's the problem? From form at nonsanity.com Thu Jan 27 14:04:48 2011 From: form at nonsanity.com (form) Date: Thu, 27 Jan 2011 14:04:48 -0500 Subject: An idea on multithreading implementation In-Reply-To: References: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> <970379.700.qm@web65406.mail.ac4.yahoo.com> Message-ID: Just mulling the thought over... If a substack was tagged as being Threaded, then it couldn't "see" objects or events outside of itself. It would have its own event list that runs separately. So if the main stack is in the middle of a long process, the substack would still be interactive. The threaded stack CAN see the message list of the mainstack's thread, or at least it can drop something onto it. That would be how they pass information between them, sending messages. So you could make a threaded substack with a progress bar and a Cancel button. the mainstack can be deep in a single long function, sending progress update events to the threaded substack. While the mainstack would be unresponsive to the user - as it would be now - the progress dialog would still work. Clicking the Cancel button would send a message to the mainstack, to be executed when possible. Or while in a long function, the code can check to see if the cancel event is queued up, and abort early. The advantage to this method of threading is that it doesn't require the users to handle resource locking (which is a pain) or require the engine to have built-in resource locking on EVERY command (which would slow everything down). It puts the built-in locking in just one place, the message queue. My example can also be turned around so that the substack is doing the heavy lifting, and might not even be visible to the user. Probably a better design pattern. When its done it can send the results of its labors to the mainstack as an event with parameters. Meanwhile, the mainstack remains fully interactive to the user. Anyway, just an idle thought about how to quickly add a very usable version of threading to LiveCode without major code changes. ~ Chris Innanen ~ Nonsanity From form at nonsanity.com Thu Jan 27 14:15:52 2011 From: form at nonsanity.com (form) Date: Thu, 27 Jan 2011 14:15:52 -0500 Subject: File naming convention In-Reply-To: References: Message-ID: I think the #2 option should be fine. Apple uses the .app extension for folders, after all. (Not that humans ever see them...) But how about this: docs/ help.txt.dir/ index.html image1.png teapot.png.dir/ index.html to go with this: apps/ help.txt teapot.png That way the names and structure matches, and the doc "folders" are tagged as such to human eyes. As a bonus you could dump the contents of docs into apps and there won't be any name conflicts and the items and their doc folders will alphabetize next to each other. (Though in that case I might go with .info instead of .dir) ~ Chris Innanen ~ Nonsanity On Tue, Jan 25, 2011 at 8:11 AM, David Bovill wrote: > I have the need for an ugly file name hack. I need to store documentation > about arbitrary files (.html, .png, .livecode etc files) in a separate > folder (called "docs"). These files will be served by a web server - and > map > directly to the original source code files so that a file "hello.txt" with > correspond to a file named something like: > > 1. docs/hello.txt.html > 2. docs/hello.txt/index.html > 3. docs/hello_txt/index.html > > I can then write simple functions to enable navigation back and forth > between the documentation and the source code file (in LiveCode or > JavaScript). The question is how to name the documentation file / folder? > > I am leaning towards 2), as a folder allows me to put images and other > things inside that may be useful to the docs - but it feels mightily > strange > to have folders with names that have file extensions! I also don't know how > well this works on the different (particularly windows based) platforms? > > Has anyone any tips on how best to name a path that works on all platforms, > and can be mapped back to the source file with a simple reliable function? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Jan 27 14:48:32 2011 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 27 Jan 2011 14:48:32 -0500 Subject: On-rev Rename quotes work. Vars don't! In-Reply-To: <15E4EF5B-DF9D-4DBE-8359-9EF8D102F09D@all-auctions.com> References: <453511.61296.qm@web65408.mail.ac4.yahoo.com> <896F9B6B-86FE-4790-BB0A-6B450A6BD915@leftbrainmedia.com> <15E4EF5B-DF9D-4DBE-8359-9EF8D102F09D@all-auctions.com> Message-ID: <1E55D729-98CC-40F8-B047-4D8D62615741@all-auctions.com> Hi Richard, The addition of the "to" keyword surprisingly made even what was working stop working! The bug needs to be fixed or the dictionary updated or both. Tim's suggestion of building the entire statement, and then executing it as a "do" command worked great! Thanks Tim for the great work around!!! Does anyone else want to figure this puzzle out? Thanks for your help guys! Rick On Jan 27, 2011, at 1:59 PM, Richard Gaskin wrote: > On 1/27/11 10:56 AM, Rick Harrison wrote: >> Hi again, >> >> The following works: >> >> rename "imac27.jpg" "imac2012.jpg" > > Curious that it works at all; the dictionary says it needs the "to" keyword between the files: > > rename "imac27.jpg" to "imac2012.jpg" > > I wonder if adding the "to" keyword will let your code work with vars.... > > -- > Richard Gaskin (snip) > i wonder if as a work around you could build the complete statement: > >> rename "imac27.jpg" "imac2012.jpg" > > Then use a DO command. > > > Tim Bobo From form at nonsanity.com Thu Jan 27 12:55:14 2011 From: form at nonsanity.com (form) Date: Thu, 27 Jan 2011 12:55:14 -0500 Subject: [ANN] TimeMachine In-Reply-To: <4D41A123.9040704@gmail.com> References: <90E32952-4C0B-417D-B1AB-07831540E900@wanadoo.fr> <1094AD94-E6E5-4D43-9FBF-F54EE04E68BD@economy-x-talk.com> <4D40966E.7040003@eml.cc> <95F3C093-7FBC-49B5-AF4F-09C8E7701093@twft.com> <4D41A123.9040704@gmail.com> Message-ID: On Thu, Jan 27, 2011 at 11:45 AM, Richmond wrote: > >> We "purists" preferred the TV series; especially the bit with Hot Black > De Satio. *Makes a all-black interface to his next LiveCode app in honor of Adams* ~ Chris Innanen ~ Nonsanity From klaus at major.on-rev.com Thu Jan 27 14:56:22 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 27 Jan 2011 20:56:22 +0100 Subject: On-rev Rename quotes work. Vars don't! In-Reply-To: <1E55D729-98CC-40F8-B047-4D8D62615741@all-auctions.com> References: <453511.61296.qm@web65408.mail.ac4.yahoo.com> <896F9B6B-86FE-4790-BB0A-6B450A6BD915@leftbrainmedia.com> <15E4EF5B-DF9D-4DBE-8359-9EF8D102F09D@all-auctions.com> <1E55D729-98CC-40F8-B047-4D8D62615741@all-auctions.com> Message-ID: <35485437-EFF2-41EB-ADA6-FBFE043A3567@major.on-rev.com> Hi Rick, > Hi Richard, > > The addition of the "to" keyword surprisingly made even > what was working stop working! The bug needs to be > fixed or the dictionary updated or both. > > Tim's suggestion of building the entire statement, and > then executing it as a "do" command worked great! > Thanks Tim for the great work around!!! > > Does anyone else want to figure this puzzle out? > > Thanks for your help guys! the correct syntax is: rename FILE "xyz" to "zyx" or rename FOLDER "xyz" to "zyx" I have been using this for years in desktop apps withput problems. > Rick Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From ray at linkit.com Thu Jan 27 15:32:46 2011 From: ray at linkit.com (Ray Horsley) Date: Thu, 27 Jan 2011 15:32:46 -0500 Subject: Build for Server Basics In-Reply-To: <06155850-C014-4B06-ACC9-BEE415C434B4@mac.com> References: <002101cbbe28$622285b0$26679110$@LinkIt.Com> <699B9CFB-FEF2-4CF8-BFFB-778AD3326220@mac.com> <003b01cbbe45$668bcd10$33a36730$@LinkIt.Com> <004201cbbe4e$74194210$5c4bc630$@LinkIt.Com> <06155850-C014-4B06-ACC9-BEE415C434B4@mac.com> Message-ID: <005201cbbe61$5befabd0$13cf0370$@LinkIt.Com> Many thanks for this helpful information! Ray -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bj?rnke von Gierke Sent: Thursday, January 27, 2011 1:29 PM To: How to use LiveCode Subject: Re: Build for Server Basics oh in that case, you can alternatively also use rev 3.5 as cgi. there have been only some minor changes to the faceless-relevant stuff since then. as a bonus, you'll be able to open stacks and use externals, all in iis. if you do not have 3.5 you can ask support to send it to you (and ask them to create a backlog-download capability while you're at it). On 27 Jan 2011, at 19:17, Ray Horsley wrote: > Actually, yes. It is IIS, however, I understand there's no server > package for Windows at this time. No problem, though, since Fire > Daemon is working well for us. > > Thanks, > > Ray Horsley > LinkIt! Software > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bj?rnke > von Gierke > Sent: Thursday, January 27, 2011 12:33 PM > To: How to use LiveCode > Subject: Re: Build for Server Basics > > Uhm... i'm not sure.. do you mean IIS? because rev server is _only_ > for web servers. for a normal file server, you do not need a server > edition, because there you'd need normal standalones. > > > Rev server currently only works for hosting websites on an apache server. > you can install apache on windows, but rev server does not run there. > > On 27 Jan 2011, at 18:12, Ray Horsley wrote: > >> Thanks for this explanation. Our server is Windows 2008. Do you >> know where I'd get a similar package for Windows servers? >> >> -----Original Message----- >> From: use-livecode-bounces at lists.runrev.com >> [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bj?rnke >> von Gierke >> Sent: Thursday, January 27, 2011 11:38 AM >> To: How to use LiveCode >> Subject: Re: Build for Server Basics >> >> you do not need to build a standalone for server. instead, the server >> is a package that you can install on an apache web server, and then >> use rev code in an php-like fashion, using rev code in text files >> that the server interprets. >> >> On 27 Jan 2011, at 14:44, Ray Horsley wrote: >> >>> Greetings, >>> >>> Could anybody point me to some documentation on building standalones >>> for servers. I recently purchased the license for it but I don't >>> see it in the Standalone Application Settings. I'm wondering what >>> the benefits are to this approach as compared to, for example, >>> running a normal standalone under Fire Daemon (which simply assures >>> the app stays open on the server when you log out). >>> >>> Any insight appreciated, >>> >>> Ray Horsley >>> LinkIt! Software >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From claudi.c at fiberworld.nl Thu Jan 27 17:15:37 2011 From: claudi.c at fiberworld.nl (Claudi Cornaz) Date: Thu, 27 Jan 2011 23:15:37 +0100 Subject: usb driver problem In-Reply-To: <144894070781.20110126170803@ahsoftware.net> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> <90570741250.20110122231914@ahsoftware.net> <"655D7 C24-63FF-434F-81A0-98C01C4D86C5"@mac.com> <8E8C596B-4378-44B6-9DE4-69A2AC924C77@jhj.com> <69D174AB-D4F7-4499-8272-56D04988E572@mac.com> <4A568B4D-0EE4-4BE4-989C-47D749B855CA@mac.com> <798CC7B6-218C-4EB1-8581-13EF164FAE8C@fiberworld.nl> <144894070781.20110126170803@ahsoftware.net> Message-ID: <177E56DA-6579-4249-94C0-436CA3D2B356@fiberworld.nl> Hi all yea, 17.23 CET. Finaly we have contact!!!! 12345678 / 1296144957195 12345678 / 1296144957802 12345678 / 1296144958107 12345678 / 1296144958412 12345678 / 1296144959018 12345678 / 1296144959322 12345678 / 1296144959629 data kept on comming. Now I knew there was life outthere. WE finaly had contact. Marks mail set me thinking. > Well, from a quick look at things, I'd say you started a script that > did a "repeat until EOF" and LC crashed trying to allocate memory > space for the read. That is Not a Good Thing. Well I didn't have a repeat loop in my code, so where could it be. I had used read from driver "xxx" until end. I had somewhere read in the dictionairi to use the "until end" part for serial ports. There is on the other hand another form to read the driver which is like" "for x" . Like read for 3 (read 3 chars) or read for 1 line etc. This gives the exact number of bytes to read. No loop or repeat is required. There is a specific offset, whereas the "until x" form most likely will use a repeat loop some where in it's code. probably that's the culprit. Well there is a bit more going on. Uptill now I have found one "mAGIc" form which seems to work on OS 10.5 and 10.6 in a stable manner. This means I can drag the window around and LC still responds to clicks in the way it should,instantaniously. step one, open the connection with: open driver "/dev/cu.usbmodemxxx" text for update -- xx is the version of driver that was installed. -- don't use binary since it will hang LC, at least it did on, I beliefe, both of my systems. -- use update for 2 way communication. then use a send in time form to see if there's data. As far as I know there isn't a serialAvailable kind of thingy so just read the serial port and see if you got something. Do this like: on serialRead read from driver "/dev/cu.usbmodem3d11" for 1 line -- the arduino scetch repeatly sends Serial.println("12345678") with a cr with each send -- or 8 (chars) or something similar. [see dictionary and try at your personal risk] if it <> "" then -- ok we have some data. for now put it into a field. put it & " / " & the millisecs into fld "recieved" end if send serialRead to me in 20 end serialRead If you use a "until end | eof | empty" instead of read from driver "/dev/cu.usbmodem3d11" for 1 line LC will choke and in my case a hard crash. There is a second problem solved aswell. I was able to send 1 char at a time with 10.5. I wasn't able to send more chars at a time. The strange thing was I needed to send out a char before I would see anything returned. As soon as a char was send the input buffer was read and I saw suddenly quite some data in one go. This also happened when I send 2 or more chars from the arduino but then LC would hang and dye. Probably the first time the serialRead cal got invoked with the "until x" form something in the engine became a bit upset, which wasn't to bad as long as it only recieved a char at the time. With 2 chars at the time or worse even more, it just blew. It couldn't cope anymore. It just needs to get ver specific instructions otherwise it just spaces out on all posi bi li ty 's. Anyway as I was saying, once I used the "for x" form as soon as I opend the driver data started streaming in like at the beginning of this mail. I still have to do some more testing because in my tests I also found some kind of intermittend forms. The data kept comming in but LC had becom unresponsif. I couldn't move my window around or click on buttons etc. This forced me to force quit. So although I haven't figured it all out yet, this seems very promissing and I will upload my test stack to revOnline as soon as I have it a bit decent. I hope this turns out to be a universal solution, for now at least. I believe these driver/file commands need a tune up. I guess it would be a good thing for me to do, is to add a comment in the dictionary I will do some more testing but It looks like there is a workourand and we can all start using the fascinating world of micro conrollers. For me this is very funny. I started out prying open / cq smashing valves as a young kid. Then I started playing with transistors, building all kinds of stuff. Then came the first logic chips. AND OR EXOR multivabrator, clocks, dividers. This became some kind of new lego for me. I could build all kinds of stuff with these building blocks. I devised my own cheap mans universal mega breadboard sometime in the 70's. It was a graet system. Take a wooden plank about 80cm X 35 cm and make a lot of little circuitboards which can hold one IC socked and have little strips of copper pointing outwards. The sockets were mounted so the copper would be facing up. Wherever you needed a some logic just screw one of these little circuit boards in the plank and solder wires to connected to the other ic. I made a system to sync up my film projector with my revox. I could just hit rewind on my revox and my filmprojector would start playing the film in reverse to try to catch up with my revox. Naturaly it always lost. The revox would start playing again and the flm would rewind till it found the right spot and start playing normally again. I had never made a schematic of it but just builded it on the go, the way my ideas flowed and need arose.This masive plank with all these little boards strewn all ove,r with some buttons and meters as a cenral block somewhere in the middle, wires in all colors going all over the place. Sometimes using a unused AND gate half way across the plank because space was getting at a prenium as the project unfolded and became more complex by the week. It worked great and once I even managed to repair it when rehearsing for a show with dancers all dressed in white performing in front of a film I made. The plank, by the way that realy is the name that was given to this contraption I had created, refused to work as it should. All he dancers where there, I was there with the revox, my projector and my film. Just like life, sometimes things don't work. Well the plank certainly was broken. Looking through it's bowels I found a loose wire somewhere in the mesh of wires which was like a some kind of funghis all over the plank , which obviously wasn't meant to be. I could deduce, and see the empty spot on the ic where it should have been. I didn't have any tools with me but fortunatly there was a kitchen wit a gas stove. I also found a very big nail, which I could heat on the stove and use it to weld the wire back in place. This worked out beatifully. This was really a, perhaps mixedup, chaotic, absolutly impossible, but beatiful and robust system. I still keep it as a trofy. It looks like with LC and the arduino I may finally do the stuff I used to dream of, so I better start those dreams up again. Now with all those new lego like computer-pieces, which we can interface with LC, creates a really fascinating new world of possibility's. All kind of practical 'real world' applications can be designed. The arduino is just one of the many new devices out there, altought the arduino does come with a rather a nice IDE and a variaty of library's and hardware ad-ons. Beside that from what I understand, and I am just a noob, a clomplete freshman in this, they have a project called firmata. The goal of firmata is to expose all pins of the arduino to the computer it's connected to, without you having to program the micro conroller. As far as I understand this means load the frimata software on the arduino connect the arduino to your computer and you can acces and assign all pins of the arduino without programming one line of code on the arduino. Nice. Also really educational. You can control all kinds of stuff with just LC for the programming. Please, everybody with a arduino try this and see if we can get this working on all systems. Sorry for the long mail but I guess, if you made till here, you must have kind of liked it. For me, being a long time reader and fan of this list, this seemed like a nice way to introduce myself a bit. I'll keep posting my further tests and in the mean time, Best wishes, Claudi On 27 jan 2011, at 02:08, Mark Wieder wrote: > Claudi- > > Wednesday, January 26, 2011, 2:48:22 AM, you wrote: > >> Thread 0 Crashed: >> 0 libSystem.B.dylib 0x91ddde42 __kill + 10 >> 1 libSystem.B.dylib 0x91e5023a raise + 26 >> 2 libSystem.B.dylib 0x91e5c622 __abort + 97 >> 3 libSystem.B.dylib 0x91e5c68a _cproc_fork_child + 0 >> 4 libstdc++.6.dylib 0x92049005 0x92001000 + 294917 >> 5 libstdc++.6.dylib 0x9204710c __gxx_personality_v0 + 1108 >> 6 libstdc++.6.dylib 0x9204714b std::terminate() + 29 >> 7 libstdc++.6.dylib 0x92047261 __cxa_throw + 101 >> 8 libstdc++.6.dylib 0x920475d8 operator new(unsigned long) + 100 >> 9 libstdc++.6.dylib 0x92047689 operator new[](unsigned long) + 17 >> 10 com.runrev.livecode 0x000a3048 >> MCExecPoint::getbuffer(unsigned int) + 56 >> 11 com.runrev.livecode 0x00141134 >> IO_read_to_eof(IO_header*, MCExecPoint&) + 52 >> 12 com.runrev.livecode 0x0006d3bb >> MCRead::exec(MCExecPoint&) + 2555 >> 13 com.runrev.livecode 0x00103a64 >> MCHandler::doscript(MCExecPoint&, unsigned short, unsigned short) + > > Well, from a quick look at things, I'd say you started a script that > did a "repeat until EOF" and LC crashed trying to allocate memory > space for the read. That is Not a Good Thing. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Thu Jan 27 17:19:19 2011 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 27 Jan 2011 17:19:19 -0500 Subject: On-rev Rename quotes work. Vars don't! In-Reply-To: <35485437-EFF2-41EB-ADA6-FBFE043A3567@major.on-rev.com> References: <453511.61296.qm@web65408.mail.ac4.yahoo.com> <896F9B6B-86FE-4790-BB0A-6B450A6BD915@leftbrainmedia.com> <15E4EF5B-DF9D-4DBE-8359-9EF8D102F09D@all-auctions.com> <1E55D729-98CC-40F8-B047-4D8D62615741@all-auctions.com> <35485437-EFF2-41EB-ADA6-FBFE043A3567@major.on-rev.com> Message-ID: <2C9A2B44-48A4-42F6-9DFA-B3F87DE94295@all-auctions.com> Hi Klaus, I started out using the correct syntax with FILE, and it didn't work on On-Rev. I've verified that the pathname is correct. rename FILE "xyz" to "zyx" works fine on On-Rev however: put "xyz" into MyOldFileName put "zyx" into MyNewFileName rename FILE MyOldFileName to MyNewFileName does not work on On-Rev. It yields the error: "can't rename file". Try it yourself on On-Rev, and see if you can duplicate the error. Thanks for your help! Rick On Jan 27, 2011, at 2:56 PM, Klaus on-rev wrote: > Hi Rick, > > the correct syntax is: > rename FILE "xyz" to "zyx" > or > rename FOLDER "xyz" to "zyx" > > I have been using this for years in desktop apps withput problems. > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > From jhj at jhj.com Thu Jan 27 17:39:34 2011 From: jhj at jhj.com (Jerry J) Date: Thu, 27 Jan 2011 14:39:34 -0800 Subject: usb driver problem In-Reply-To: <177E56DA-6579-4249-94C0-436CA3D2B356@fiberworld.nl> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> <90570741250.20110122231914@ahsoftware.net> <"655D 7 C24-63FF-434F-81A0-98C01C4D86C5"@mac.com> <8E8C596B-4378-44B6-9DE4-69A2AC924C77@jhj.com> <69D174AB-D4F7-4499-8272-56D04988E572@mac.com> <4A568B4D-0EE4-4BE4-989C-47D749B855CA@mac.com> <798CC7B6-218C-4EB1-8581-13EF164FAE8C@fiberworld.nl> <144894070781.20110126170803@ahsoftware.net> <177E56DA-6579-4249-94C0-436CA3D2B356@fiberworld.nl> Message-ID: On Jan 27, 2011, at 2:15 PM, Claudi Cornaz wrote: > Hi all yea, > > 17.23 CET. Finaly we have contact!!!! Congratulations! Just in time for me. I'm just about to have to hook up to two serial devices in a project to replace a HC stack that has been running for about 12 years on a PowerBook G3 Pismo out in a blockhouse on a ranch. Those things run forever! I'm replacing it with another Pismo that I made like new from maybe 4 other donors. I'll obviously be running OSX 10.4, so we'll we if that has any surprises for us! Onward! --Jerry Jensen From klaus at major.on-rev.com Thu Jan 27 17:54:33 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 27 Jan 2011 23:54:33 +0100 Subject: On-rev Rename quotes work. Vars don't! In-Reply-To: <2C9A2B44-48A4-42F6-9DFA-B3F87DE94295@all-auctions.com> References: <453511.61296.qm@web65408.mail.ac4.yahoo.com> <896F9B6B-86FE-4790-BB0A-6B450A6BD915@leftbrainmedia.com> <15E4EF5B-DF9D-4DBE-8359-9EF8D102F09D@all-auctions.com> <1E55D729-98CC-40F8-B047-4D8D62615741@all-auctions.com> <35485437-EFF2-41EB-ADA6-FBFE043A3567@major.on-rev.com> <2C9A2B44-48A4-42F6-9DFA-B3F87DE94295@all-auctions.com> Message-ID: <23AF49A9-7B5C-43B6-B745-3F37A4316A1F@major.on-rev.com> Hi Rick, > Hi Klaus, > > I started out using the correct syntax with FILE, and it > didn't work on On-Rev. > > I've verified that the pathname is correct. > > rename FILE "xyz" to "zyx" > > works fine on On-Rev > > however: > > put "xyz" into MyOldFileName > put "zyx" into MyNewFileName > > rename FILE MyOldFileName to MyNewFileName > does not work on On-Rev. It yields the error: "can't rename file". > Try it yourself on On-Rev, and see if you can duplicate the error. I have no need to rename my files :-D > Thanks for your help! are you sure that the path is correct? Maybe the defaultfolder is not correct? Did you try with an abolute path? > Rick Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From alex at tweedly.net Thu Jan 27 20:34:25 2011 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 28 Jan 2011 01:34:25 +0000 Subject: [OT] Re: [ANN] TimeMachine In-Reply-To: <4D41A123.9040704@gmail.com> References: <90E32952-4C0B-417D-B1AB-07831540E900@wanadoo.fr> <1094AD94-E6E5-4D43-9FBF-F54EE04E68BD@economy-x-talk.com> <4D40966E.7040003@eml.cc> <95F3C093-7FBC-49B5-AF4F-09C8E7701093@twft.com> <4D41A123.9040704@gmail.com> Message-ID: <4D421D21.1030009@tweedly.net> Surely a purist would prefer the original, i.e. the radio series. -- Alex. On 27/01/2011 16:45, Richmond wrote: > On 01/27/2011 12:22 AM, Bob Sneidar wrote: >> I liked the movie better than the book. The movie had a nice love >> story and all ended well. The book dropped you off in a decidedly >> unfriendly section of the slums of Norganza on planet FriedZig >> without any explanation. Or did I dream that? >> >> Bob >> > We "purists" preferred the TV series; especially the bit with Hot > Black De Satio. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Jan 27 21:06:18 2011 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 27 Jan 2011 21:06:18 -0500 Subject: On-rev Rename quotes work. Vars don't! In-Reply-To: <4D41F34D.1010603@fourthworld.com> References: <453511.61296.qm@web65408.mail.ac4.yahoo.com> <896F9B6B-86FE-4790-BB0A-6B450A6BD915@leftbrainmedia.com> <15E4EF5B-DF9D-4DBE-8359-9EF8D102F09D@all-auctions.com> <1E55D729-98CC-40F8-B047-4D8D62615741@all-auctions.com> <4D41CD38.8000204@fourthworld.com> <4D41F34D.1010603@fourthworld.com> Message-ID: <5A41501D-C86B-4BD1-9C39-1964C0A43E30@all-auctions.com> Hi Richard & Klaus, I set the default folder to the correct path before the rename statement. I've checked it, and it is correct. I've also tried to fully qualify the path name for both variables. It still doesn't work. Someone other than myself should try to reproduce the error on On-Rev when they get the chance. For now the work around with the "Do" command is fine. Thanks guys! Rick On Jan 27, 2011, at 5:35 PM, Richard Gaskin wrote: > On 1/27/11 2:11 PM, Rick Harrison wrote: >> Hi Richard, >> >> The paths are valid. >> >> The value of "the result" was "can't rename file" >> >> SysError() was "2" > > 2 = "file not found": > > > Since you're using short paths, you might try checking that the default folder is what you'd expect it to be. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > livecode-dev mailing list > livecode-dev at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/livecode-dev From mwieder at ahsoftware.net Thu Jan 27 21:49:19 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 27 Jan 2011 18:49:19 -0800 Subject: usb driver problem In-Reply-To: <177E56DA-6579-4249-94C0-436CA3D2B356@fiberworld.nl> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> <90570741250.20110122231914@ahsoftware.net> <"655D7 C24-63FF-434F-81A0-98C01C4D86C5"@mac.com> <8E8C596B-4378-44B6-9DE4-69A2AC924C77@jhj.com> <69D174AB-D4F7-4499-8272-56D04988E572@mac.com> <4A568B4D-0EE4-4BE4-989C-47D749B855CA@mac.com> <798CC7B6-218C-4EB1-8581-13EF164FAE8C@fiberworld.nl> <144894070781.20110126170803@ahsoftware.net> <177E56DA-6579-4249-94C0-436CA3D2B356@fiberworld.nl> Message-ID: <8986545984.20110127184919@ahsoftware.net> Claudi- Congratulations on getting this working. And that's quite a story. I see a bright future ahead for LiveCode-Arduino cyborgs. -- -Mark Wieder mwieder at ahsoftware.net From mcgrath3 at mac.com Fri Jan 28 00:46:44 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 28 Jan 2011 00:46:44 -0500 Subject: usb driver problem In-Reply-To: <8986545984.20110127184919@ahsoftware.net> References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> <90570741250.20110122231914@ahsoftware.net> <"655D7 C24-63FF-434F-81A0-98C01C4D86C5"@mac.com> <8E8C596B-4378-44B6-9DE4-69A2AC924C77@jhj.com> <69D174AB-D4F7-4499-8272-56D04988E572@mac.com> <4A568B4D-0EE4-4BE4-989C-47D749B855CA@mac.com> <798CC7B6-218C-4EB1-8581-13EF164FAE8C@fiberworld.nl> <144894070781.20110126170803@ahsoftware.net> <177E56DA-6579-4249-94C0-436CA3D2B356@fiberworld.nl> <8986545984.20110127184919@ahsoftware.net> Message-ID: Well, Claudi and I have been very busy sharing code snippets and stories and what not and I have also come to most of the same conclusions as he has. The problem is definitely in the "until EOF" "until empty" etc. and in trying to access the serial buffer. My solution is a little different and it seems we are both getting some real data back. The main thing that seems to be a work around is to simulate a software Flow Control by having the Arduino Uno wait to read a char and then send it's data back. Then LC can read with out hanging up on the buffer. I have a photo resistor hooked up to analog input pin 2 and code to read the analog data and send it out to LC only when an "A" is received. I put the code into different fields in LC and then a do command to run (so no mouseUps etc. here): To get the port I use Marks method to get the /dev/cu.usbmodem1a21 on my machine and put it into thePort also with this method of Flow Control there is a slight time delay on starting the data send to get back results but the board doesn't reset as before so this is good and it is a slight delay just to do the handshake. To open the port: put "BAUD=" & "9600" & " PARITY="& "N" & " DATA=" & "8" & " STOP=" & "1" into tSerial -- Typical setup set the serialControlString to tSerial put the result into field "Results" -- Empty is good open driver thePort for text update -- binary will hard crash the cu put the result after field "Results" -- Empty is good For a simple one time read of three values and a return i.e. 489\r : write "A" & CR to driver thePort -- Flow Control wait 25 read from driver thePort for 4 char -- Empty buffer and collect data put it after field "Data" For a continuous read: -- Wake up the Arduino write "A" & CR to driver thePort -- Flow Control wait 25 -- Additional time may remove the extra line of data shown below read from driver thePort for 4 chars -- Just clear the buffer - no need for data at this time repeat until it is empty -- no hang continuous loop if the mouse is down then exit repeat -- hold mouse to interrupt the Flow Control write "A" & cr to driver thePort -- Flow Control wait 1 read from driver thePort for 4 chars -- This time we do want the data and process it as it comes in - very smooth put it into theData if the last char of theData is LF then delete the last char of theData -- Clean up so it is all on one line to see better if the last char of theData is CR then delete the last char of theData -- Clean up so it is all on one line to see better put theData & comma & " " after field "Data" -- Output so it is all on one line to see better set the vscroll of field "Data" to 6000 -- Not needed if all on one line end repeat To close the port, of course: close driver thePort ----------------- ARDUINO CODE for Flow Control ----------------- //Language: Arduino //Reads one analog input and outputs the value //Connections: analog sensors on analog input pin 2 int lightSensor = 2; int lightValue = 0; void setup() { Serial.begin(9600); // configure the serial connection: pinMode(lightSensor, INPUT); // configure the digital input: while (Serial.available() <= 0) { delay(500); Serial.println("A"); delay(300); } } void loop() { // check to see whether there is a byte available to read in the serial buffer: if (Serial.available() > 0) { // read the serial buffer: we don't care about the value now of the incoming byte, // just that one was sent and removed from buffer: int inByte = Serial.read(); // Serial.peek() will leave the byte untouched lightValue = analogRead(lightSensor); // read the analog sensors: Serial.println(lightValue, DEC); // send the value to LiveCode } } The first Serial.println("A"); is sending out a call to serial so that it can be received by LC when an "A" is sent from LC Output looks like this (The A's are the Flow Control) -- Notice that he first line is left over in the buffer and then the rest is real time results as I place my hand over the photosensor Lower numbers are darker. A Serial.flush() may help in cleaning up the first line but it is easy enough to count how many chars in a line and know that it is not continous : AA 4 489 485 487 488 486 490 490 485 490 491 486 490 488 490 488 486 493 486 492 490 486 492 491 487 487 490 492 487 487 488 490 491 486 491 486 490 487 491 485 491 486 492 486 490 487 489 489 489 487 489 489 491 489 489 345 270 192 156 135 87 53 38 35 32 30 29 27 25 23 22 25 56 162 210 243 260 288 365 463 482 482 488 485 485 491 484 491 488 489 490 487 489 490 mouseDown Still would like a way to wake from incoming serial input but that is next up in the Arduino Uno saga. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 27, 2011, at 9:49 PM, Mark Wieder wrote: > Claudi- > > Congratulations on getting this working. And that's quite a story. I > see a bright future ahead for LiveCode-Arduino cyborgs. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Fri Jan 28 00:52:27 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 28 Jan 2011 00:52:27 -0500 Subject: usb driver problem In-Reply-To: References: <5999DFD6-2D54-49DB-BC02-7D9A45FDCC59@mac.com> <4D326692.4030608@hyperactivesw.com> <91922909312.20110115193759@ahsoftware.net> <54A0D51B-A519-4638-91B9-61AB40430397@mac.com> <335D8D54-CA85-40EF-9896-2AD10C881F6C@mac.com> <5B69DB4B-E3F4-42C9-BF1A-14CD88AEE3FE@fiberworld.nl> <6F561D1F-5456-486A-B4B7-47864F794B33@mac.com> <7B64D11E-B24F-4315-96A7-07C657FD66CF@mac.com> <49E8ECD2-FBF2-404F-94E0-9ACEF1DD8ED0@pacifier.com> <8719D931-E225-4A40-BB29-4431ED9D0C40@mac.com> <7E3EFE8D-3148-4ACB-8463-03E6D8735EBF@mac.com> <06D51876-009D-4007-A9A9-F123C5A82BE2@jhj.com> <90570741250.20110122231914@ahsoftware.net> <"655D7 C24-63FF-434F-81A0-98C01C4D86C5"@mac.com> <8E8C596B-4378-44B6-9DE4-69A2AC924C77@jhj.com> <69D174AB-D4F7-4499-8272-56D04988E572@mac.com> <4A568B4D-0EE4-4BE4-989C-47D749B855CA@mac.com> <798CC7B6-218C-4EB1-8581-13EF164FAE8C@fiberworld.nl> <144894070781.20110126170803@ahsoftware.net> <177E56DA-6579-4249-94C0-436CA3D2B356@fiberworld.nl> <8986545984.20110127184919@ahsoftware.net> Message-ID: <8A3174A5-F06D-4940-A539-79FEE6DC7936@mac.com> Minor correction: put theData & comma & " " after field "Data" -- Output so it is all on one line to see better is now just: put theData & " " after field "Data" -- no comma needed -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 28, 2011, at 12:46 AM, Thomas McGrath III wrote: > put theData & comma & " " after field "Data" -- Output so it is all on one line to see better From gcanyon+rev at gmail.com Fri Jan 28 00:54:12 2011 From: gcanyon+rev at gmail.com (Geoff Canyon Rev) Date: Thu, 27 Jan 2011 23:54:12 -0600 Subject: An idea on multithreading implementation In-Reply-To: References: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> <970379.700.qm@web65406.mail.ac4.yahoo.com> Message-ID: I'd suggest coroutines: http://en.wikipedia.org/wiki/Coroutine They have the advantage of being fairly similar to what some of us have done already with send.in to get this sort of behavior, and probably wouldn't break existing syntax. From massung at gmail.com Fri Jan 28 02:16:21 2011 From: massung at gmail.com (Jeffrey Massung) Date: Fri, 28 Jan 2011 00:16:21 -0700 Subject: An idea on multithreading implementation In-Reply-To: References: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> <970379.700.qm@web65406.mail.ac4.yahoo.com> Message-ID: On Jan 27, 2011, at 10:54 PM, Geoff Canyon Rev wrote: > I'd suggest coroutines: http://en.wikipedia.org/wiki/Coroutine > > They have the advantage of being fairly similar to what some of us have done > already with send.in to get this sort of behavior, and probably wouldn't > break existing syntax. Coroutines have absolutely no advantage over what's already provided by LC. There's zero difference between saying "yield()" and "wait 0 ticks with messages". The purpose of mutli-threading is to take advantage of one or more of the following: a completely separate hardware thread (program/code runs 100% in parallel with another program/set of code - the only bottlenecks being memory and I/O) or preemptive threading, typically by way of hyper-threading on a single hardware thread (basically letting the hardware or OS decide when to context switch for you). Sorry. :-( Jeff M. From gcanyon+rev at gmail.com Fri Jan 28 03:18:02 2011 From: gcanyon+rev at gmail.com (Geoff Canyon Rev) Date: Fri, 28 Jan 2011 02:18:02 -0600 Subject: An idea on multithreading implementation In-Reply-To: References: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> <970379.700.qm@web65406.mail.ac4.yahoo.com> Message-ID: The example given at wikipedia makes it obvious that this isn't true. Coroutines are inherently stateful. Managing that by hand using wait 0 ticks with messages is a disaster. I've done it. As one brief example, suppose you have two lists that need to be processed simultaneously. With coroutines you could use repeat for each line L in whatever for each of the routines. With wait 0 ticks you would have to break both lists up into arrays ahead of time or otherwise pay the performance penalty. Yes, threading and coroutines are not the same things. There are advantages to threads, but as has already been pointed out, there are significant disadvantages as well. Coroutines would enable many techniques that today are awkward or impossible, with seemingly minimal muss and fuss. gc On Fri, Jan 28, 2011 at 1:16 AM, Jeffrey Massung wrote: > > On Jan 27, 2011, at 10:54 PM, Geoff Canyon Rev wrote: > > > I'd suggest coroutines: http://en.wikipedia.org/wiki/Coroutine > > > > They have the advantage of being fairly similar to what some of us have > done > > already with send.in to get this sort of behavior, and probably wouldn't > > break existing syntax. > > > Coroutines have absolutely no advantage over what's already provided by LC. > There's zero difference between saying "yield()" and "wait 0 ticks with > messages". > > The purpose of mutli-threading is to take advantage of one or more of the > following: a completely separate hardware thread (program/code runs 100% in > parallel with another program/set of code - the only bottlenecks being > memory and I/O) or preemptive threading, typically by way of hyper-threading > on a single hardware thread (basically letting the hardware or OS decide > when to context switch for you). > > Sorry. :-( > > Jeff M. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From david at vaudevillecourt.tv Fri Jan 28 03:54:40 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Fri, 28 Jan 2011 08:54:40 +0000 Subject: An idea on multithreading implementation In-Reply-To: References: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> <970379.700.qm@web65406.mail.ac4.yahoo.com> Message-ID: Hi Chris - I'd agree with this way of thinking about things for multi-threading. I think it is intuitive, I don't think that restricting any threaded code to it's own stack will cause any real limitations, and is probably good practice. I do think conceptually it gives us a solid visual metaphor of what is going on and how we can use messages to communicate between processes. My thoughts on this would be absolutely not to reveal the internal message list of stacks, but rather use explicit "send" / dispatch syntax possibly with some specific new system messages. I think the more radically the internals of the thread are shielded from the rest of the environment the better. Finally I'd say we can do this already, without any changes to the existing engine, simply by using multiple compiled apps within the existing IDE set up. That way we get full threaded implementation with each thread running in it's own process. All we need to add is some minimal message handling support by the way of a standard library and a port mapper . Ok - each thread may be 1mb or so larger in size than "needed" - but such RAM requirements only rule out a subset of applications. Later RunRev can add smaller footprint multithreading using the stack metaphor and existing syntax, which would enable larger thread pools in server applications and so forth. Using the StackRunner / glxApp framework approach it would be entirely possible for dynamic creation of threads simply by duplicating a standard engine - stacks can be launched by these dynamic pools of engines, and indeed be created on one process and used by another. I can see no reason at all not to use the operating system to provide threads in their own OS processes, as indeed other (low level) architectures do. We can start simple, and produce useful multi-threaded additions to the IDE and distributed applications without needing to wait for engine enhancements. RunRev can pick up on this and help optimise things - but there is nothing stopping us doing this in a fully robust way right now. All our environments would be dramatically enhanced if we ran the IDE using multiple engines - people are doing it already in a haphazard way. Trevor and others like to run a separate engine for packaging apps - PowerDebug and tRev (now something horsey) use this method to debug and edit scripts. A few tweaks and we could all do this easily with existing syntax. Or have I missed something. Anything wrong with the above? On 27 January 2011 19:04, form
wrote: > Just mulling the thought over... If a substack was tagged as being > Threaded, > then it couldn't "see" objects or events outside of itself. It would have > its own event list that runs separately. So if the main stack is in the > middle of a long process, the substack would still be interactive. > > The threaded stack CAN see the message list of the mainstack's thread, or > at > least it can drop something onto it. That would be how they pass > information > between them, sending messages. > > So you could make a threaded substack with a progress bar and a Cancel > button. the mainstack can be deep in a single long function, sending > progress update events to the threaded substack. While the mainstack would > be unresponsive to the user - as it would be now - the progress dialog > would > still work. > > Clicking the Cancel button would send a message to the mainstack, to be > executed when possible. Or while in a long function, the code can check to > see if the cancel event is queued up, and abort early. > > The advantage to this method of threading is that it doesn't require the > users to handle resource locking (which is a pain) or require the engine to > have built-in resource locking on EVERY command (which would slow > everything > down). It puts the built-in locking in just one place, the message queue. > > My example can also be turned around so that the substack is doing the > heavy > lifting, and might not even be visible to the user. Probably a better > design > pattern. When its done it can send the results of its labors to the > mainstack as an event with parameters. Meanwhile, the mainstack remains > fully interactive to the user. > > Anyway, just an idle thought about how to quickly add a very usable version > of threading to LiveCode without major code changes. > > ~ Chris Innanen > ~ Nonsanity > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From katir at hindu.org Fri Jan 28 04:06:53 2011 From: katir at hindu.org (Sivakatirswami) Date: Thu, 27 Jan 2011 23:06:53 -1000 Subject: Web PlugIn Install Fails because it thinks a browser is active (not) Message-ID: <4D42872D.5050102@hindu.org> I doing some testing of the web browser plug in here among our small group of 20. This is all on Mac OS X 10.6.6 The good news is, someone was prompted that they had an old version of the browser plug in and they need to update. The bad news is, when they clicked OK, the installer did something (they think) but gave zero feed back so the user was left with that "gee, did it really work?" feeling. Subsequently the stack I deployed did work for him, so he assumed the upgrade ran. But the installer really needs to have a visual feed back mechanism and a "success" dialog at the end of the upgrade (assuming it actually did upgrade otherwise the stack may have been running on the old version of the plug in) Second User writes me saying: "The plugin won't install. Says I have a browser open (I don't, same issue even after a reboot). Oh well. Could have been neat!" Sivakatirswami From m.schonewille at economy-x-talk.com Fri Jan 28 06:25:26 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 28 Jan 2011 12:25:26 +0100 Subject: Live LiveCode Code Event #8 Message-ID: <53BE8295-0C5D-4ABA-B4A8-D31A5983A85B@economy-x-talk.com> Hi everybody, This Saturday, 29 January 2010 at 19:00h GMT (Sat. 22:00 in Moscow, Sat. 20:00 in Paris, Sat. 14:00 in New York, Sat. 11:00 in Los Angeles, Sun. 04:00 in Tokyo, Sun. 3:00 in Beijing), the 8th edition of the Live LiveCode Event will go live. Bj?rnke will be unavailable and I'm taking up the challenge of organising the event this time. Kresten Bjerg will talk about his Phenomenalog project, a personal electronic diary created with LiveCode. Chris Innanen will discuss RESTful web API's and will demonstrate some applications he worked on that use them. David Bovil will wrap it up with Sockets and threads the simple way. Direct links to the video presentations will be available at http://livecode.tv shortly before the event starts. Provided that the presenters will record their presentations, videos and materials will be available afterwards. During the event, there will be discussions about LiveCode and an opportunity to ask the speakers questions on ChatRev. You can find ChatRev at http://bjoernke.com/chatrev . If you log in on ChatRev during the event, you will be able to buy the Installer Maker Plugin for LiveCode at a 25% discount. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qery.us/ce From richmondmathewson at gmail.com Fri Jan 28 06:34:41 2011 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 28 Jan 2011 13:34:41 +0200 Subject: [OT] Re: [ANN] TimeMachine In-Reply-To: <4D421D21.1030009@tweedly.net> References: <90E32952-4C0B-417D-B1AB-07831540E900@wanadoo.fr> <1094AD94-E6E5-4D43-9FBF-F54EE04E68BD@economy-x-talk.com> <4D40966E.7040003@eml.cc> <95F3C093-7FBC-49B5-AF4F-09C8E7701093@twft.com> <4D41A123.9040704@gmail.com> <4D421D21.1030009@tweedly.net> Message-ID: <4D42A9D1.7000003@gmail.com> On 01/28/2011 03:34 AM, Alex Tweedly wrote: > > Surely a purist would prefer the original, i.e. the radio series. Well; that is like purists preferring Hypercard over Metacard (no colour, no cross-platform); one can carry one's purity too far . . . :) > > -- Alex. > > On 27/01/2011 16:45, Richmond wrote: >> On 01/27/2011 12:22 AM, Bob Sneidar wrote: >>> I liked the movie better than the book. The movie had a nice love >>> story and all ended well. The book dropped you off in a decidedly >>> unfriendly section of the slums of Norganza on planet FriedZig >>> without any explanation. Or did I dream that? >>> >>> Bob >>> >> We "purists" preferred the TV series; especially the bit with Hot >> Black De Satio. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 28 08:03:49 2011 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 28 Jan 2011 11:03:49 -0200 Subject: [OT] Friday morning humor Message-ID: Folks, Since it is friday and we're all tired and deserving some refreshment, I share with you the following mock cover for the upcoming O'Reilly book: http://www.angryduck.com/pictures/2010_11/Coding_Drunk.jpg This could be a new methodology, while it may lack the momentum of agile and scrum-stuff, it is definitely a tradition in many places. Cheers andre -- http://www.andregarzia.com All We Do Is Code. From revolution at derbrill.de Fri Jan 28 08:17:24 2011 From: revolution at derbrill.de (Malte Brill) Date: Fri, 28 Jan 2011 14:17:24 +0100 Subject: [OT] Friday morning humor In-Reply-To: References: Message-ID: <4D20BA8E-EE37-4690-A0D5-7128E2DF37A5@derbrill.de> http://xkcd.com/323/ From andre at andregarzia.com Fri Jan 28 08:28:13 2011 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 28 Jan 2011 11:28:13 -0200 Subject: [OT] Friday morning humor In-Reply-To: <4D20BA8E-EE37-4690-A0D5-7128E2DF37A5@derbrill.de> References: <4D20BA8E-EE37-4690-A0D5-7128E2DF37A5@derbrill.de> Message-ID: so true, so true! Today I need to code facebook integration, I wish I had some lagger here, it is 40C outside, marvelous day to go to the beach and I am here coding... anyway, I will settle for some fruit thing. On Fri, Jan 28, 2011 at 11:17 AM, Malte Brill wrote: > http://xkcd.com/323/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From mcgrath3 at mac.com Fri Jan 28 08:40:24 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 28 Jan 2011 08:40:24 -0500 Subject: Live LiveCode Code Event #8 In-Reply-To: <53BE8295-0C5D-4ABA-B4A8-D31A5983A85B@economy-x-talk.com> References: <53BE8295-0C5D-4ABA-B4A8-D31A5983A85B@economy-x-talk.com> Message-ID: Thanks for taking this on this saturday Mark. I hope to be there again this week (unless I'm out ice fishing) -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 28, 2011, at 6:25 AM, Mark Schonewille wrote: > Hi everybody, > > This Saturday, 29 January 2010 at 19:00h GMT (Sat. 22:00 in Moscow, Sat. 20:00 in Paris, Sat. 14:00 in New York, Sat. 11:00 in Los Angeles, Sun. 04:00 in Tokyo, Sun. 3:00 in Beijing), the 8th edition of the Live LiveCode Event will go live. Bj?rnke will be unavailable and I'm taking up the challenge of organising the event this time. > > Kresten Bjerg will talk about his Phenomenalog project, a personal electronic diary created with LiveCode. Chris Innanen will discuss RESTful web API's and will demonstrate some applications he worked on that use them. David Bovil will wrap it up with Sockets and threads the simple way. > > Direct links to the video presentations will be available at http://livecode.tv shortly before the event starts. Provided that the presenters will record their presentations, videos and materials will be available afterwards. > > During the event, there will be discussions about LiveCode and an opportunity to ask the speakers questions on ChatRev. You can find ChatRev at http://bjoernke.com/chatrev . > > If you log in on ChatRev during the event, you will be able to buy the Installer Maker Plugin for LiveCode at a 25% discount. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qery.us/ce > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mkoob at rogers.com Fri Jan 28 09:03:30 2011 From: mkoob at rogers.com (Martin Koob) Date: Fri, 28 Jan 2011 14:03:30 +0000 (UTC) Subject: Rev Online Upload Problems References: <5F0A783A-6EBC-4116-AB20-55FF4BF94064@mac.com> Message-ID: Roger Guay writes: > > I know that there has been some discussion about the unreliability of > uploading to > Rev Online, but does > anyone know if there is size limit? > > Thanks and cheers, > > Roger Guay > Hi. I have just done some testing and the largest file I can get to upload to on-rev servervia HTTP POST is 10.1 MB. I was testing with movie files of different sizes and a file of 10.2 MB will create a movie file that has no data in it. I guess this is a limitation set in the server. To get larger uploads I am thinking of Amazon S3. Has anyone done Amazon S3 Browser based uploads via POST using on-rev? Martin From gcanyon+rev at gmail.com Fri Jan 28 09:59:17 2011 From: gcanyon+rev at gmail.com (Geoff Canyon Rev) Date: Fri, 28 Jan 2011 08:59:17 -0600 Subject: An idea on multithreading implementation In-Reply-To: References: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> <970379.700.qm@web65406.mail.ac4.yahoo.com> Message-ID: On Fri, Jan 28, 2011 at 1:16 AM, Jeffrey Massung wrote: > > Coroutines have absolutely no advantage over what's already provided by LC. > There's zero difference between saying "yield()" and "wait 0 ticks with > messages". > I realized that, apart from the fact that this isn't true, it's also kind of my point: from a developer standpoint, coroutines work fairly similarly to what many already do when they want to have two or three things going at once. Hence they would be a significant improvement (because they maintain state automatically) with very little effort required on the part of livecode developers. > > The purpose of mutli-threading is to take advantage of one or more of the > following: a completely separate hardware thread (program/code runs 100% in > parallel with another program/set of code - the only bottlenecks being > memory and I/O) or preemptive threading, typically by way of hyper-threading > on a single hardware thread (basically letting the hardware or OS decide > when to context switch for you). > This is true, but it's not a fair description of the current limitations of livecode. Currently it is very difficult simply to program any sort of background task whatsoever: processing a log file, making aliens attack, etc. "wait 0 ticks" simply isn't a good answer for those sorts of issues. Ask Malte what he could do for animationEngine (and how much more simply) with coroutines. Yes, threads are filled with awesome powah, but they're also a lot of work to get right, and filled with pitfalls. Coroutines, by comparison, are easy, and would make a lot of things easy to do that are currently hard or impossible. One other thing, just in case -- anyone who thinks threads will make livecode a powerhouse for developing videogames is mistaken. That would require an overhaul of the graphics engine. You can devote 100% of livecode's attention to moving stuff around on the screen and come up short on performance by a couple orders of magnitude. I don't say that to criticize livecode, it's just that graphics performance isn't their focus, never has been, and doesn't seem as though it will be any time soon. Flight Control is well within livecode's capabilities now. Angry Birds might be a stretch. Fruit Ninja would be a real achievement, and forget about Real Racing. I'd be happy to be proven wrong. Ooo -- I just had an idea for a flight-control-like game. Guess I need to get that iOS license after all... gc From mkoob at rogers.com Fri Jan 28 10:05:51 2011 From: mkoob at rogers.com (Martin Koob) Date: Fri, 28 Jan 2011 07:05:51 -0800 (PST) Subject: on-rev upload limits and Amazon S3 as an alternative Message-ID: <1296227151863-3244672.post@n4.nabble.com> I have been testing uploading via post to on-rev and have found the limit is about 10.1 MB. I was using movie files of various sizes and the largest I could successfully upload was 10.1 MB. If I tried one of 10.2 Mb it would write a Quicktime file that had no data in it, it was 0 MB file. If I tried to open it Quicktime gave a 'This is not a movie file' error. I guess this is a limit set in the on-rev server. As a way of accommodating larger file uploads for a site hosted on on-rev I am thinking of using Amazon S3. I want to use browser based uploads to have users upload a movie to the server and then use authenticated URLs to access the movie files. Has anyone done something like this? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-upload-limits-and-Amazon-S3-as-an-alternative-tp3244672p3244672.html Sent from the Revolution - User mailing list archive at Nabble.com. From david at vaudevillecourt.tv Fri Jan 28 10:43:26 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Fri, 28 Jan 2011 15:43:26 +0000 Subject: on-rev upload limits and Amazon S3 as an alternative In-Reply-To: <1296227151863-3244672.post@n4.nabble.com> References: <1296227151863-3244672.post@n4.nabble.com> Message-ID: Mark Smith made some S3 libraries - trying to get hold of him is a little futile :) I'm not sure where you can find them online - but I can send a copy off list - I've not used them - this is from the README: s3.setSecure > command > > s3.setSecure true|false > > If set to true, https connections will be used, otherewise http. > It's set to true by default > see curl.setStrictSsl > ---------- > s3.store > command > blocking > > s3.store objectKey, dataToStore, accessControl > > stores the given data to the object named. > > objectKey is the full name (including bucket) of the object you want to > store the data in eg "someBucket/someObject" > > The data can be any kind of text or binary data. > > accessControl can be one of "private", "public-read", "public-read-write", > "authenticated-read". If not specified, "private" is the default. > > If you want to upload a file directly from disc, then use the full path of > the file you want to upload, and prefix it with "file:" > > put "/Users/me/Desktop/someFile.txt" into tFile > s3.store "/someBucket/someFile.txt", "file:" & tFile > > If an error occurs, there will be a description in 'the result', which will > otherwise be empty. > ---------- > s3.fetch > function > blocking > > put s3.fetch(objectKey) into variable > get s3.fetch(objectKey, destinationFile) > > objectName is the full name (including bucket) of the object you want to > fetch eg. "someBucket/someObject" > > destinationFile (if used) is the full path to the file you want to put the > downloaded data in. > > If no destination file is provided, the function simply returns the data, > otherwise, it writes the data to the provided file. > > In either case, if there was an error, the description of the error is > returned. > ---------- > s3.info > function > blocking > > put s3.info() -- shows a list of your buckets > put s3.info(bucketName) -- shows a list of the objects in a bucket > put s3.info(objectKey) -- shows a list of properties of the object > > The properties listed for an object include: > > an md5 digest of the object > the last modified date of the object in seconds (unix time) > any meta-data that was attached to the object when uploaded. > ---------- > s3.delete > command > blocking > > s3.delete objectKey > s3.delete bucketName > > Deletes the specified object. If a bucket is specified, it will be deleted > only if it is empty. > > The result will be set to empty on success, otherwise it will contain an > error description. > ---------- > s3.uploadFile.curl > function > > put s3.uploadFile.curl(tObject, tFile) into tCurl. > this creates a curl instance that is initialised and ready to upload the > given file to the given bucket/object. The id of that curl instance is > returned. > ---------- On 28 January 2011 15:05, Martin Koob wrote: > > I have been testing uploading via post to on-rev and have found the limit > is > about 10.1 MB. I was using movie files of various sizes and the largest I > could successfully upload was 10.1 MB. If I tried one of 10.2 Mb it would > write a Quicktime file that had no data in it, it was 0 MB file. If I > tried to open it Quicktime gave a 'This is not a movie file' error. > > I guess this is a limit set in the on-rev server. > > As a way of accommodating larger file uploads for a site hosted on on-rev I > am thinking of using Amazon S3. > > I want to use browser based uploads to have users upload a movie to the > server and then use authenticated URLs to access the movie files. > > Has anyone done something like this? > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/on-rev-upload-limits-and-Amazon-S3-as-an-alternative-tp3244672p3244672.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 zryip.theslug at gmail.com Fri Jan 28 10:58:17 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Fri, 28 Jan 2011 16:58:17 +0100 Subject: Rev Online Upload Problems In-Reply-To: References: <5F0A783A-6EBC-4116-AB20-55FF4BF94064@mac.com> Message-ID: On Fri, Jan 28, 2011 at 3:03 PM, Martin Koob wrote: Hi Roger and Martin, I have no experience with the rev online server however you can try adding these two lines in the .htaccess file of your domain: php_value post_max_size 20M php_value upload_max_filesize 20M where 20M (20 MBytes) is the new max size of this example. Best Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From ambassador at fourthworld.com Fri Jan 28 11:23:57 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 28 Jan 2011 08:23:57 -0800 Subject: [Semi-OT] SoCal Linux Expo: Feb 25-27 Message-ID: <4D42ED9D.3070404@fourthworld.com> SCaLE 9x is coming next month: If any of you live in the San Gabriel Valley or downtown LA and are planning to attend, let me know and maybe we can work out a carpool. I'm signed up and very much looking forward to it. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From massung at gmail.com Fri Jan 28 11:29:28 2011 From: massung at gmail.com (Jeffrey Massung) Date: Fri, 28 Jan 2011 09:29:28 -0700 Subject: An idea on multithreading implementation In-Reply-To: References: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> <970379.700.qm@web65406.mail.ac4.yahoo.com> Message-ID: On Jan 28, 2011, at 7:59 AM, Geoff Canyon Rev wrote: > On Fri, Jan 28, 2011 at 1:16 AM, Jeffrey Massung wrote: > >> >> Coroutines have absolutely no advantage over what's already provided by LC. >> There's zero difference between saying "yield()" and "wait 0 ticks with >> messages". >> > > I realized that, apart from the fact that this isn't true, .... It is. I'm sorry. I wish it weren't. :-( >> The purpose of mutli-threading is to take advantage of one or more of the >> following: a completely separate hardware thread (program/code runs 100% in >> parallel with another program/set of code - the only bottlenecks being >> memory and I/O) or preemptive threading, typically by way of hyper-threading >> on a single hardware thread (basically letting the hardware or OS decide >> when to context switch for you). >> > > This is true, but it's not a fair description of the current limitations of > livecode. Currently it is very difficult simply to program any sort of > background task whatsoever: processing a log file, making aliens attack, > etc. "wait 0 ticks" simply isn't a good answer for those sorts of issues. > Ask Malte what he could do for animationEngine (and how much more simply) > with coroutines. Agreed that "wait 0 ticks" isn't a good solution to these sorts of issues, and I wasn't trying to imply that it was (if my original email came across that way). > [... Snipped some iPhone video game examples ..] > > I'd be happy to be proven wrong. Coroutines are not pre-emptive. They are called "cooperative threads" because you have to manage them with your own scheduling. That means yielding within a single hardware thread, which means you get no more benefit out of them than what LC already provides (except maybe a slightly different engine architecture that *might* be faster, but that's unprovable - or disprovable - by us without the LC source code). This isn't to say coroutines aren't great - Lua and other languages use them to much fanfare. Just that you pretty much have them already. As far as games go, I also have to disagree there (that LC will always be too slow by orders of magnitude). This is an area I know a *lot* about and do this for a living. Now, I'm not suggesting that LC is what I would jump up and down to use to make my next video game with, but most video games are broken into two bits: simulation and rendering. As long as someone took the time to make an OpenGL plugin for LC, rendering could be made fast enough for most simple 2D games (the real issue would be the fact that "Everthing Is A String" in LC - and manipulating matrices with strings would be **SLOW**). So that leaves simulation. The problem with yielding (or "waiting" in LC terms) is that it basically puts me back into the Atari 2600 days of cycle counting, without the precision of being able to actually count cycles ;-). I have no idea how often I should yield in order to make things nice and smooth. It would be SOOO much more convenient if I could just make LC pre-emptive and wait for me like so: send "renderFrame" to me every 30 milliseconds And I'm done with it. It's like pretending to be a fake "green thread". All I care about is that it's pre-emptive. Anyway, I'd love to talk about this more offline if you want -- just shoot me an email. Summary: * What people seem to want here is pre-emption (however that happens). * Coroutines are cooperative threads, which means they are not pre-emptive. * If you have to yield, it doesn't matter how many HW threads you use. Jeff M, From mkoob at rogers.com Fri Jan 28 11:45:51 2011 From: mkoob at rogers.com (Martin Koob) Date: Fri, 28 Jan 2011 08:45:51 -0800 (PST) Subject: on-rev upload limits and Amazon S3 as an alternative In-Reply-To: References: <1296227151863-3244672.post@n4.nabble.com> Message-ID: <1296233151928-3244924.post@n4.nabble.com> Hi David I have those libraries. They are on his on-rev site: http://marksmith.on-rev.com/refstuff/index.html I have tried using a few of the S3 functions from the AWS library in a stack such as list buckets etc to try and learn how to use them but I am not sure how I would include these in an on-rev site. Could the different libraries be put into irev files and used as includes? I only need a sub set of the S3 functions. I want to use browser based uploads to S3 and creating timelimited authenticated URLS for the stored movies. It seems that mainly I need a way to construct and sign the requests with HMAC SHA1. I am trying to figure out what commands from the libraries I would need to put in an include irev file to give the necessary functionality. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-upload-limits-and-Amazon-S3-as-an-alternative-tp3244672p3244924.html Sent from the Revolution - User mailing list archive at Nabble.com. From mkoob at rogers.com Fri Jan 28 11:54:19 2011 From: mkoob at rogers.com (Martin Koob) Date: Fri, 28 Jan 2011 08:54:19 -0800 (PST) Subject: Rev Online Upload Problems In-Reply-To: References: <5F0A783A-6EBC-4116-AB20-55FF4BF94064@mac.com> Message-ID: <1296233659140-3244942.post@n4.nabble.com> Hi Roger. I tried adding those two lines to the .htaccess files and the server really did not like that. I got a 500 server error when I tried to load the site. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Rev-Online-Upload-Problems-tp3230860p3244942.html Sent from the Revolution - User mailing list archive at Nabble.com. From zryip.theslug at gmail.com Fri Jan 28 12:05:00 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Fri, 28 Jan 2011 18:05:00 +0100 Subject: Rev Online Upload Problems In-Reply-To: <1296233659140-3244942.post@n4.nabble.com> References: <5F0A783A-6EBC-4116-AB20-55FF4BF94064@mac.com> <1296233659140-3244942.post@n4.nabble.com> Message-ID: On Fri, Jan 28, 2011 at 5:54 PM, Martin Koob wrote: > > Hi Roger. > > I tried adding those two lines to the .htaccess files and the server really > did not like that. ? I got a 500 server error when I tried to load the site. Martin, In the .htaccess file of the httpdocs directory? Hm, the Rev Online server should not work as I thought, so I do apologize for the bad info. Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From andre at andregarzia.com Fri Jan 28 12:07:28 2011 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 28 Jan 2011 15:07:28 -0200 Subject: on-rev upload limits and Amazon S3 as an alternative In-Reply-To: <1296227151863-3244672.post@n4.nabble.com> References: <1296227151863-3244672.post@n4.nabble.com> Message-ID: Martin, How big are those files? I am not one to tell other people about their design or business, but uploading huge files over HTTP is not wise. When I say huge, I am not saying 20 mb, I am saying stuff like 300 mb or things like it. If you're uploading stuff the size of a CD or DVD, you might want to explore other venues. S3 should work, there are libraries for it as others have posted. On Fri, Jan 28, 2011 at 1:05 PM, Martin Koob wrote: > > I have been testing uploading via post to on-rev and have found the limit > is > about 10.1 MB. I was using movie files of various sizes and the largest I > could successfully upload was 10.1 MB. If I tried one of 10.2 Mb it would > write a Quicktime file that had no data in it, it was 0 MB file. If I > tried to open it Quicktime gave a 'This is not a movie file' error. > > I guess this is a limit set in the on-rev server. > > As a way of accommodating larger file uploads for a site hosted on on-rev I > am thinking of using Amazon S3. > > I want to use browser based uploads to have users upload a movie to the > server and then use authenticated URLs to access the movie files. > > Has anyone done something like this? > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/on-rev-upload-limits-and-Amazon-S3-as-an-alternative-tp3244672p3244672.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 > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Fri Jan 28 12:15:11 2011 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 28 Jan 2011 15:15:11 -0200 Subject: Rev Online Upload Problems In-Reply-To: References: <5F0A783A-6EBC-4116-AB20-55FF4BF94064@mac.com> Message-ID: Dear Slug et al, I think we're mixing a lot of things in here right now. First the OP asked about Rev Online which is not RevServer. Rev Online is the little underused network sharing stack we all love that lives inside LiveCode IDE and we use to pick other people stacks. RevServer (aka LiveCode Server Deployment Option) will not be affected by the directives in the .htaccess file below: > php_value post_max_size 20M > php_value upload_max_filesize 20M > > where 20M (20 MBytes) is the new max size of this example. > > Those entries are valid only for PHP and I believe no sane hosting company will ever allow you to set those in a .htaccess file. Thos commands will be prohibited and probably will render a 500 error. If anyone was allowed to do that, you could set your limit to 45GB and then proceed to do concurrent uploads of full Blueray Disks and starve the system of its resources, thus creating a distributted denial of service, things everyone tries to avoid. RevServer engine under On-Rev service have hardcoded limits for the following items: * script execution time, if it takes to long, kill it * script memory usage, if it takes too much, kill it * file upload, if it is too big, kill it It uses a combination of factors regarding these issues before killing a process and this is good. Runaway process hurt the whole server and its users. The engine which is not released but you can buy from the store does not have this hardcoded limits, so if you own your VPS, you could install it and be happy. (PS: check with mothership if the limits are not in the engine that is sold, this was true before but I haven't checked lately) cheers andre -- http://www.andregarzia.com All We Do Is Code. From zryip.theslug at gmail.com Fri Jan 28 12:17:16 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Fri, 28 Jan 2011 18:17:16 +0100 Subject: Rev Online Upload Problems In-Reply-To: References: <5F0A783A-6EBC-4116-AB20-55FF4BF94064@mac.com> <1296233659140-3244942.post@n4.nabble.com> Message-ID: On Fri, Jan 28, 2011 at 6:05 PM, zryip theSlug wrote: > On Fri, Jan 28, 2011 at 5:54 PM, Martin Koob wrote: >> >> Hi Roger. >> >> I tried adding those two lines to the .htaccess files and the server really >> did not like that. ? I got a 500 server error when I tried to load the site. > > Martin, > > In the .htaccess file of the httpdocs directory? > > Hm, the Rev Online server should not work as I thought, so I do > apologize for the bad info. Note for myself: the next time do not confusing on-rev server and rev online. Throw me cheeses if you want... Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From harrison at all-auctions.com Fri Jan 28 12:24:55 2011 From: harrison at all-auctions.com (Rick Harrison) Date: Fri, 28 Jan 2011 12:24:55 -0500 Subject: On-rev Rename quotes work. Vars don't! In-Reply-To: <5A41501D-C86B-4BD1-9C39-1964C0A43E30@all-auctions.com> References: <453511.61296.qm@web65408.mail.ac4.yahoo.com> <896F9B6B-86FE-4790-BB0A-6B450A6BD915@leftbrainmedia.com> <15E4EF5B-DF9D-4DBE-8359-9EF8D102F09D@all-auctions.com> <1E55D729-98CC-40F8-B047-4D8D62615741@all-auctions.com> <4D41CD38.8000204@fourthworld.com> <4D41F34D.1010603@fourthworld.com> <5A41501D-C86B-4BD1-9C39-1964C0A43E30@all-auctions.com> Message-ID: <3A241BAB-0C4F-4087-927D-B891D4609FBC@all-auctions.com> Hi Guys, Ok, so I wanted to track down that "file not found error". It turns out that my variable which came from a database was declared as 80 in length, so it was padding the variable with invisible spaces. Hence the "file not found" message. Getting rid of the spaces to leave just the name of the file fixed the problem. The standard rename file OldFileName NewFileName syntax works just fine after all. Sorry for any confusion I may have caused. Thanks for helping me to work out the problem! Rick On Jan 27, 2011, at 9:06 PM, Rick Harrison wrote: > Hi Richard & Klaus, > > I set the default folder to the correct path > before the rename statement. I've checked it, > and it is correct. I've also tried to fully qualify > the path name for both variables. It still doesn't work. > > Someone other than myself should try to reproduce > the error on On-Rev when they get the chance. > For now the work around with the "Do" command is fine. > > Thanks guys! > > Rick > > On Jan 27, 2011, at 5:35 PM, Richard Gaskin wrote: > >> On 1/27/11 2:11 PM, Rick Harrison wrote: >>> Hi Richard, >>> >>> The paths are valid. >>> >>> The value of "the result" was "can't rename file" >>> >>> SysError() was "2" >> >> 2 = "file not found": >> >> >> Since you're using short paths, you might try checking that the default folder is what you'd expect it to be. >> >> -- >> Richard Gaskin >> Fourth World >> LiveCode training and consulting: http://www.fourthworld.com >> Webzine for LiveCode developers: http://www.LiveCodeJournal.com >> LiveCode Journal blog: http://LiveCodejournal.com/blog.irv >> >> _______________________________________________ >> livecode-dev mailing list >> livecode-dev at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/livecode-dev > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode __________________________________ Rick Harrison You can buy my $10 music album "Funny Time Machine" digital CD on the iTunes Store Now! To visit the iTunes Store now to listen to samples of my CD please click on the following link. (Please note you must have iTunes installed on your computer for this link to work.) http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?playListId=213668290 From cjw at eml.cc Fri Jan 28 12:29:56 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Fri, 28 Jan 2011 17:29:56 +0000 Subject: Rev Online Upload Problems In-Reply-To: References: <5F0A783A-6EBC-4116-AB20-55FF4BF94064@mac.com> Message-ID: <1788503532-1296235796-cardhu_decombobulator_blackberry.rim.net-1685042331-@bda876.bisx.prod.on.blackberry> Hi, If "VPS" is not an abbreviation for "Virtual Personal Server," please advise. Thank you, Calvin Sent from my Verizon Wireless BlackBerry -----Original Message----- From: Andre Garzia Sender: use-livecode-bounces at lists.runrev.com Date: Fri, 28 Jan 2011 15:15:11 To: How to use LiveCode Reply-To: How to use LiveCode Subject: Re: Rev Online Upload Problems Dear Slug et al, I think we're mixing a lot of things in here right now. First the OP asked about Rev Online which is not RevServer. Rev Online is the little underused network sharing stack we all love that lives inside LiveCode IDE and we use to pick other people stacks. RevServer (aka LiveCode Server Deployment Option) will not be affected by the directives in the .htaccess file below: > php_value post_max_size 20M > php_value upload_max_filesize 20M > > where 20M (20 MBytes) is the new max size of this example. > > Those entries are valid only for PHP and I believe no sane hosting company will ever allow you to set those in a .htaccess file. Thos commands will be prohibited and probably will render a 500 error. If anyone was allowed to do that, you could set your limit to 45GB and then proceed to do concurrent uploads of full Blueray Disks and starve the system of its resources, thus creating a distributted denial of service, things everyone tries to avoid. RevServer engine under On-Rev service have hardcoded limits for the following items: * script execution time, if it takes to long, kill it * script memory usage, if it takes too much, kill it * file upload, if it is too big, kill it It uses a combination of factors regarding these issues before killing a process and this is good. Runaway process hurt the whole server and its users. The engine which is not released but you can buy from the store does not have this hardcoded limits, so if you own your VPS, you could install it and be happy. (PS: check with mothership if the limits are not in the engine that is sold, this was true before but I haven't checked lately) cheers andre -- http://www.andregarzia.com All We Do Is Code. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Fri Jan 28 12:51:58 2011 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 28 Jan 2011 15:51:58 -0200 Subject: Rev Online Upload Problems In-Reply-To: <1788503532-1296235796-cardhu_decombobulator_blackberry.rim.net-1685042331-@bda876.bisx.prod.on.blackberry> References: <5F0A783A-6EBC-4116-AB20-55FF4BF94064@mac.com> <1788503532-1296235796-cardhu_decombobulator_blackberry.rim.net-1685042331-@bda876.bisx.prod.on.blackberry> Message-ID: On Fri, Jan 28, 2011 at 3:29 PM, Calvin Waterbury wrote: > Hi, > > If "VPS" is not an abbreviation for "Virtual Personal Server," please > advise. > Virtual Private Server If getting one for RevServer development, don't pick 64bits. it is easier to deal with 32bits due to library hell. (at least, I don't know how to solve 64bits library dependencies with 32bits binaries) > > Thank you, > Calvin > Sent from my Verizon Wireless BlackBerry > > -----Original Message----- > From: Andre Garzia > Sender: use-livecode-bounces at lists.runrev.com > Date: Fri, 28 Jan 2011 15:15:11 > To: How to use LiveCode > Reply-To: How to use LiveCode > Subject: Re: Rev Online Upload Problems > > Dear Slug et al, > > I think we're mixing a lot of things in here right now. First the OP asked > about Rev Online which is not RevServer. Rev Online is the little underused > network sharing stack we all love that lives inside LiveCode IDE and we use > to pick other people stacks. > > RevServer (aka LiveCode Server Deployment Option) will not be affected by > the directives in the .htaccess file below: > > > > php_value post_max_size 20M > > php_value upload_max_filesize 20M > > > > where 20M (20 MBytes) is the new max size of this example. > > > > > Those entries are valid only for PHP and I believe no sane hosting company > will ever allow you to set those in a .htaccess file. Thos commands will be > prohibited and probably will render a 500 error. If anyone was allowed to > do > that, you could set your limit to 45GB and then proceed to do concurrent > uploads of full Blueray Disks and starve the system of its resources, thus > creating a distributted denial of service, things everyone tries to avoid. > > RevServer engine under On-Rev service have hardcoded limits for the > following items: > > * script execution time, if it takes to long, kill it > * script memory usage, if it takes too much, kill it > * file upload, if it is too big, kill it > > It uses a combination of factors regarding these issues before killing a > process and this is good. Runaway process hurt the whole server and its > users. > > The engine which is not released but you can buy from the store does not > have this hardcoded limits, so if you own your VPS, you could install it > and > be happy. (PS: check with mothership if the limits are not in the engine > that is sold, this was true before but I haven't checked lately) > > cheers > andre > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From david at vaudevillecourt.tv Fri Jan 28 12:58:20 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Fri, 28 Jan 2011 17:58:20 +0000 Subject: Nearly: bash spawn expect and dns-sd Message-ID: Not quite able to get this cross platform command line to work for Bonjour - it hangs around waiting for input. I've tried open process and that nearly works, but think this is the way to go: set expectCode to " > spawn -noecho dns-sd -B _ssh._tcp > expect -timeout 5 eof {} > " > do shell script "echo " & quoted form of expectCode & "|/usr/bin/expect -f > -" > It's an AppleScript... but I'm not quite getting it. This is what I want to do: 1. Register a service - "dns-sd -R 'LiveCode Port Mapper' _livecode._udp. . 45000 pdl=application/livecode" does this on the command line but waits around 2. List services available - "dns-sd -L 'LiveCode Port Mapper' _livecode._udp. ." does this on the command line But I want to use LiveCode's shell (or open process) for this - any ideas? From andre at andregarzia.com Fri Jan 28 13:27:08 2011 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 28 Jan 2011 16:27:08 -0200 Subject: Nearly: bash spawn expect and dns-sd In-Reply-To: References: Message-ID: David, I, Andre Alves Garzia, Bailiff of Hacks give you the following solution: for registering: use tempname() to obtain a safe file. Output bash script into tempfile. Chmod +x tempfile and then execute it. for listening: same trick as before but redirect all output of the command to text file such as: dns-sd -L 'LiveCode Port Mapper'_livecode._udp. . >> mylog.txt 2>&1 then keep a send in time loop reading mylog.txt for new data. Andre On Fri, Jan 28, 2011 at 3:58 PM, David Bovill wrote: > > Not quite able to get this cross platform command line to work for Bonjour - > it hangs around waiting for input. I've tried open process and that nearly > works, but think this is the way to go: > > set expectCode to " > > spawn -noecho dns-sd -B _ssh._tcp > > expect -timeout 5 eof {} > > " > > do shell script "echo " & quoted form of expectCode & "|/usr/bin/expect -f > > -" > > > > It's an AppleScript... but I'm not quite getting it. This is what I want to > do: > > ? 1. Register a service - "dns-sd -R 'LiveCode Port Mapper' _livecode._udp. > ? . 45000 pdl=application/livecode" does this on the command line but waits > ? around > ? 2. List services available - "dns-sd -L 'LiveCode Port Mapper' > ? _livecode._udp. ." does this on the command line > > But I want to use LiveCode's shell (or open process) for this - any ideas? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.andregarzia.com All We Do Is Code. From mkoob at rogers.com Fri Jan 28 13:32:44 2011 From: mkoob at rogers.com (Martin Koob) Date: Fri, 28 Jan 2011 10:32:44 -0800 (PST) Subject: on-rev upload limits and Amazon S3 as an alternative In-Reply-To: References: <1296227151863-3244672.post@n4.nabble.com> Message-ID: <1296239564352-3245122.post@n4.nabble.com> Hi Andre The files would be about 100 MB movie files. Are the libraries you are referring to the ones from Mark Smith which seem to be intended for stack use or are there ones that are more geared for on-rev. I am looking at Mark Smiths libAWS and libS3 to try and put together a library for on-rev that would handle creating timed authenticated URLs and also browser based uploads. Is there something that for on-rev exists already for these tasks? Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-upload-limits-and-Amazon-S3-as-an-alternative-tp3244672p3245122.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Fri Jan 28 13:33:56 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 28 Jan 2011 10:33:56 -0800 Subject: Send In Time Message-ID: <7533D0E1-C598-4D8A-9904-B543C2940CBA@twft.com> So correct me if I am wrong, but send in time is not really a parallel process is it? It just means that given a send in time of 5 seconds, that after 5 seconds the engine will wait for the first idle message and then execute, and while it's executing nothing else can occur till it's finished? Or do I have that wrong? Bob From andre at andregarzia.com Fri Jan 28 13:38:20 2011 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 28 Jan 2011 16:38:20 -0200 Subject: on-rev upload limits and Amazon S3 as an alternative In-Reply-To: <1296239564352-3245122.post@n4.nabble.com> References: <1296227151863-3244672.post@n4.nabble.com> <1296239564352-3245122.post@n4.nabble.com> Message-ID: Martin, right now there are no libraries for AWS usage for RevServer but I suspect that if you simply copy the stackscript of Marks libraries to a text file and use it with the require command, it might work, better check with him. :-D On Fri, Jan 28, 2011 at 4:32 PM, Martin Koob wrote: > > Hi Andre > > The files would be about 100 MB movie files. > > > Are the libraries you are referring to the ones from Mark Smith which seem > to be intended for stack use or are there ones that are more geared for > on-rev. > > I am looking at Mark Smiths libAWS and libS3 to try and put together a > library for on-rev that would handle creating timed authenticated URLs and > also browser based uploads. ?Is there something that for on-rev exists > already for these tasks? > > Martin > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-upload-limits-and-Amazon-S3-as-an-alternative-tp3244672p3245122.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 > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Fri Jan 28 13:39:55 2011 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 28 Jan 2011 16:39:55 -0200 Subject: Send In Time In-Reply-To: <7533D0E1-C598-4D8A-9904-B543C2940CBA@twft.com> References: <7533D0E1-C598-4D8A-9904-B543C2940CBA@twft.com> Message-ID: not parallel processing but wishful programming, you use a send in time and hope that no other command block the engine long enough for its scheduling thing to go bananas. since you control everything, when you program with send in time, you keep your code out of blocking situations so that the engine can work its magic. On Fri, Jan 28, 2011 at 4:33 PM, Bob Sneidar wrote: > So correct me if I am wrong, but send in time is not really a parallel process is it? It just means that given a send in time of 5 seconds, that after 5 seconds the engine will wait for the first idle message and then execute, and while it's executing nothing else can occur till it's finished? > > Or do I have that wrong? > > 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 > -- http://www.andregarzia.com All We Do Is Code. From massung at gmail.com Fri Jan 28 13:43:07 2011 From: massung at gmail.com (Jeff Massung) Date: Fri, 28 Jan 2011 11:43:07 -0700 Subject: Send In Time In-Reply-To: <7533D0E1-C598-4D8A-9904-B543C2940CBA@twft.com> References: <7533D0E1-C598-4D8A-9904-B543C2940CBA@twft.com> Message-ID: I don't know about the "idle" part, but yes, it isn't parallel. It's easy enough to test... see if helloWorld ever happens: on mouseUp send "myInfiniteLoop" to me in 5 seconds send "helloWorld" to me in 10 seconds end on myInfiniteLoop put "About to hose LC..." repeat forever # do nothing end end on helloWorld answer "Hello, world!" end Jeff M. On Fri, Jan 28, 2011 at 11:33 AM, Bob Sneidar wrote: > So correct me if I am wrong, but send in time is not really a parallel > process is it? It just means that given a send in time of 5 seconds, that > after 5 seconds the engine will wait for the first idle message and then > execute, and while it's executing nothing else can occur till it's finished? > > Or do I have that wrong? > > 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 > From cjw at eml.cc Fri Jan 28 13:43:53 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Fri, 28 Jan 2011 12:43:53 -0600 Subject: Rev Online Upload Problems In-Reply-To: References: <5F0A783A-6EBC-4116-AB20-55FF4BF94064@mac.com> <1788503532-1296235796-cardhu_decombobulator_blackberry.rim.net-1685042331-@bda876.bisx.prod.on.blackberry> Message-ID: <4D430E69.1040708@eml.cc> Hi Andre, Thanks for the clarification! I'll keep the 64/32 info in mind when the time comes. :) Calvin From andre at andregarzia.com Fri Jan 28 13:53:17 2011 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 28 Jan 2011 16:53:17 -0200 Subject: Rev Online Upload Problems In-Reply-To: <4D430E69.1040708@eml.cc> References: <5F0A783A-6EBC-4116-AB20-55FF4BF94064@mac.com> <1788503532-1296235796-cardhu_decombobulator_blackberry.rim.net-1685042331-@bda876.bisx.prod.on.blackberry> <4D430E69.1040708@eml.cc> Message-ID: On Fri, Jan 28, 2011 at 4:43 PM, Calvin Waterbury wrote: > Hi Andre, > > Thanks for the clarification! ?I'll keep the 64/32 info in mind when the > time comes. ?:) from what I've seen, 64bit linux is able to run and load 32bit executables and libraries but in practice, I could never make RevServer 32bits run under 64bit linux because of the missing libraries, I could not install 32 bits library under 64bits linux, it kept building 64bits argh... > > Calvin > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Fri Jan 28 14:04:37 2011 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 28 Jan 2011 17:04:37 -0200 Subject: [Semi-OT] some images from our upcomming iOS LiveCode built game Message-ID: Folks, Following the friday spirit, I share with you guys some images from our upcoming LiveCode built iOS Game. Be aware that all this is still work in progress. Our game is a unique twist on code breaking + adventure game. (our development phase main screen) http://dl.dropbox.com/u/1340110/img_0432.png (our maian level) http://dl.dropbox.com/u/1340110/img_0433.png (our japan level) http://dl.dropbox.com/u/1340110/img_0434.png (our norsk level) http://dl.dropbox.com/u/1340110/img_0435.png The game is being developed by me and my friends on our spare time and we hope will reach beta status soon. I am not the artist, I am just the coder, my friend Raphael is the artist and he is quite gifted. Cheers andre PS: as soon as it is ready, we'll let everyone here know -- http://www.andregarzia.com All We Do Is Code. From zryip.theslug at gmail.com Fri Jan 28 14:10:22 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Fri, 28 Jan 2011 20:10:22 +0100 Subject: Rev Online Upload Problems In-Reply-To: References: <5F0A783A-6EBC-4116-AB20-55FF4BF94064@mac.com> Message-ID: On Fri, Jan 28, 2011 at 6:15 PM, Andre Garzia wrote: Andre, > Those entries are valid only for PHP and I believe no sane hosting company > will ever allow you to set those in a .htaccess file. Hmmm, I could say I'm doing this all the time, but.. no comment 8-) Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From andre at andregarzia.com Fri Jan 28 14:37:59 2011 From: andre at andregarzia.com (andre at andregarzia.com) Date: Fri, 28 Jan 2011 17:37:59 -0200 Subject: Rev Online Upload Problems In-Reply-To: References: <5F0A783A-6EBC-4116-AB20-55FF4BF94064@mac.com> Message-ID: Enviado via iPhone Em 28/01/2011, ?s 17:10, zryip theSlug escreveu: > On Fri, Jan 28, 2011 at 6:15 PM, Andre Garzia wrote: > > Andre, > >> Those entries are valid only for PHP and I believe no sane hosting company >> will ever allow you to set those in a .htaccess file. > > Hmmm, > > I could say I'm doing this all the time, but.. no comment 8-) > But But But... I *want* comments!!!! Is it a VPS or Shared account? Cheers! > > Best regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 28 14:51:53 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 28 Jan 2011 11:51:53 -0800 Subject: Live LiveCode Code Event #8 In-Reply-To: References: <53BE8295-0C5D-4ABA-B4A8-D31A5983A85B@economy-x-talk.com> Message-ID: <531047900484.20110128115153@ahsoftware.net> Tom- Friday, January 28, 2011, 5:40:24 AM, you wrote: > Thanks for taking this on this saturday Mark. I hope to be there > again this week (unless I'm out ice fishing) Dude - you shouldn't have to go fishing for ice. It's everywhere. I'll email you some when I get a chance. -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Fri Jan 28 14:52:16 2011 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 28 Jan 2011 21:52:16 +0200 Subject: [OT] Friday morning humor In-Reply-To: References: <4D20BA8E-EE37-4690-A0D5-7128E2DF37A5@derbrill.de> Message-ID: <4D431E70.7030301@gmail.com> On 01/28/2011 03:28 PM, Andre Garzia wrote: > so true, so true! > > Today I need to code facebook integration, I wish I had some lagger here, it > is 40C outside, marvelous day to go to the beach and I am here coding... > anyway, I will settle for some fruit thing. > * ALERT * From the EFL man * ALERT * The word "fruit" is polysemantic . . . From andre at andregarzia.com Fri Jan 28 15:27:07 2011 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 28 Jan 2011 18:27:07 -0200 Subject: [OT] Friday morning humor In-Reply-To: <4D431E70.7030301@gmail.com> References: <4D20BA8E-EE37-4690-A0D5-7128E2DF37A5@derbrill.de> <4D431E70.7030301@gmail.com> Message-ID: On Fri, Jan 28, 2011 at 5:52 PM, Richmond wrote: > On 01/28/2011 03:28 PM, Andre Garzia wrote: > >> so true, so true! >> >> Today I need to code facebook integration, I wish I had some lagger here, >> it >> is 40C outside, marvelous day to go to the beach and I am here coding... >> anyway, I will settle for some fruit thing. >> >> * ALERT * From the EFL man * ALERT * > > The word "fruit" is polysemantic . . . I am old fashined, don't know anything about polysemancy.... :-) > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From katir at hindu.org Fri Jan 28 15:57:37 2011 From: katir at hindu.org (Sivakatirswami) Date: Fri, 28 Jan 2011 10:57:37 -1000 Subject: Web Plug In - Audio Options Message-ID: <4D432DC1.4060802@hindu.org> Since the developer list is totally focus on iOS and the full web-plug in is deferred for, now, I posted this but got no response. Anyone here on the Use List actively using the web Plug in as is? I want to keep pushing it and do testing... Can anyone share their experience with audio? I know this has been asked and answered over and over again, and the lamentations and wailings of LiveCode being so behind in this arena.. I will refrain from re-iterating at length here. Perhaps some of you have made headway with work arounds: Do we have *any* fully cross platform options for playing multiple sounds? AS we know, we can only play a single audio clip at at time. Does the player object reliably call the native, platform specific A/V components on Windows and Linux if QT is not installed? and if so, what control do we have over those components? the dictionary does not distinquish what properties (like currenttime) are or are not available for a player that is running on another platform without Quicktime. (I know that players do run on Windows without QT installed, but no controls appear as this is my cue to tell some of my users to install QT, but that option will not be there with the plug in...) and I don't see the documentation on what exactly we can and cannot control other than start and stop, if QT is not installed and I have no clue what happens on Linux) I'm hoping someone can share the minimal baseline of cross platform options that works, so I can save myself a lot of grief testing things that are definitely not going to work. (I don't have any linux box here...) Thanks Sivakatirswami From mcgrath3 at mac.com Fri Jan 28 16:13:23 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 28 Jan 2011 16:13:23 -0500 Subject: Project Madness Message-ID: <189BA668-7FCB-4D0D-ADAE-9251F63C99D3@mac.com> So, after coming up with the Flow Control for serial communications and playing with the Arduino Uno for a couple of days I now have added the ability to present Commands and Arguments from LC to the Arduino Uno. This could have been where we were a few weeks ago if the read until EOF worked with the Uno and if we had more Buffer tools in LC. That said this is actually so much better than the MacBrick and previous versions of I/O boards. Madness: So I can read the Uno and send to the Uno and then now I can send commands w/args to the Uno. What can I do with it? I know! I'll write a program that reads the brightness of the screen on my TV and since most Commercials are brighter than the show or movie I am watching I can determine if a commercial is on and turn down the sound for a minute or two and then turn it back up after the commercial. I take photoresistor readings and based on those look up the time and channel using EyeTV for the channel (TV is mirrored on pc) and the time from LC and the Tv Show that is on from TitanTV. I determine that the brightness should be a commercial via how long and how bright the screen is (very suspect code here) at this moment. And if it is a commercial then I use iRed and an irTrans blaster to turn down the volume. Now I wait until either the brightness gets darker (movie is back on) with a check every 30 seconds or a preset time passes and then turn the volume back up. I print to the screen in LC to let me know what show and time it is and that we think it is a commercial. I flash some LEDs and buzz a piezo to the tune of twinkle twinkle little star (since I can take the lack of noise now that the TV volume is down). Then the volume comes back up and we wait again. If I quickly change the channel up and then back down then I can also see that the TV was muted on my iPhone using eyeTV's iPhone app. Well, since my code thinks most flashes are commercials and I have very bad timing issues on both the reading of serial data and with my logic code in LC the Tv goes up really LOUD and after a bit it goes down really low then up really LOUD and then down really low. That is why I call this Madness V4.2 But hey the next project is the fully autonomous lawnmower with remote control options via the iPhone, network, ethernet shield and motor shield which will serve double duty as an ice fishing shanty mover and GPS ice fishing spot locator. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net From mkoob at rogers.com Fri Jan 28 16:14:14 2011 From: mkoob at rogers.com (Martin Koob) Date: Fri, 28 Jan 2011 13:14:14 -0800 (PST) Subject: on-rev upload limits and Amazon S3 as an alternative In-Reply-To: References: <1296227151863-3244672.post@n4.nabble.com> <1296239564352-3245122.post@n4.nabble.com> Message-ID: <1296249254873-3245411.post@n4.nabble.com> Hi Andre I have tried to combine a suggested bit of code from you to do HMACSHA1 and some of the handlers from Marksmith's LibS3. It generates a signature but it is not accepted by AmazonS#. It gives the error: "SignatureDoesNotMatchThe request signature we calculated does not match the signature you provided. Check your key and signing method." in a file called s3auth.irev i put the following _______________________________________ ##From Andre Garzia function _oauthHMACSHA1 pContent, pPassword put tempname() into tFile put pContent into url ("binfile:" & tFile) put format("cat %s | openssl dgst -sha1 -hmac %s", tFile, pPassword) into tCMD get shell(tCMD) delete file tFile return it end _oauthHMACSHA1 ##adapted from Mark Smith's LibS3 ## - I replaced his hmacSha1.b64 handler to Andre Garzia's _oauthHMACSHA1 handler ##AWS_SK is the AWS secret key which is set earlier function makeQauth pBucket, pObject, pExpiry put makeObject(pBucket, pObject) into tObject put "GET" & cr & cr & cr & pExpiry & cr & tObject into stringToSign return urlencode(_oauthHMACSHA1(stringToSign, AWS_SK)) end makeQauth ##from Mark Smith's LibS3 ##AWS_AK is the AWS access key which is set earlier function s3.timeLimitURL pBucket, pObject, pExpiry put "http://" & pBucket & ".s3.amazonaws.com/" & pObject & "?AWSAccessKeyId=" & AWS_AK into tUrl put "&Expires=" & pExpiry & "&Signature=" & makeQauth(pBucket, pObject, pExpiry) after tUrl return tUrl end s3.timeLimitURL ____________________ in another file 's3getfile.irev' I include the 's3auth.irev' file and call the s.3timeLimitURL function __________________________ put the seconds + (60 * 15) into tExpiry --15 minutes put "avlicces" into tBucket put "testmovie.m4v" into tObject put s3.timeLimitURL(tBucket, tObject, tExpiry) into tFileURL ________________________ the tFileURL has all the elements it should have but the signature appears longer than the one generated by Mark Smith's sample S3 application. Any ideas why the signature does not get generated correctly by the FrankenCode I have thrown together? Thanks Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-upload-limits-and-Amazon-S3-as-an-alternative-tp3244672p3245411.html Sent from the Revolution - User mailing list archive at Nabble.com. From mkoob at rogers.com Fri Jan 28 16:18:16 2011 From: mkoob at rogers.com (Martin Koob) Date: Fri, 28 Jan 2011 13:18:16 -0800 (PST) Subject: on-rev upload limits and Amazon S3 as an alternative In-Reply-To: References: <1296227151863-3244672.post@n4.nabble.com> <1296239564352-3245122.post@n4.nabble.com> Message-ID: <1296249496187-3245419.post@n4.nabble.com> Hi Andre I have tried to combine a suggested bit of code from you to do HMACSHA1 and some of the handlers from Marksmith's LibS3. It generates a signature but it is not accepted by AmazonS#. It gives the error: "SignatureDoesNotMatchThe request signature we calculated does not match the signature you provided. Check your key and signing method." in a file called s3auth.irev i put the following _______________________________________ ##From Andre Garzia function _oauthHMACSHA1 pContent, pPassword put tempname() into tFile put pContent into url ("binfile:" & tFile) put format("cat %s | openssl dgst -sha1 -hmac %s", tFile, pPassword) into tCMD get shell(tCMD) delete file tFile return it end _oauthHMACSHA1 ##adapted from Mark Smith's LibS3 ## - I replaced his hmacSha1.b64 handler to Andre Garzia's _oauthHMACSHA1 handler ##AWS_SK is the AWS secret key which is set earlier function makeQauth pBucket, pObject, pExpiry put makeObject(pBucket, pObject) into tObject put "GET" & cr & cr & cr & pExpiry & cr & tObject into stringToSign return urlencode(_oauthHMACSHA1(stringToSign, AWS_SK)) end makeQauth ##from Mark Smith's LibS3 ##AWS_AK is the AWS access key which is set earlier function s3.timeLimitURL pBucket, pObject, pExpiry put "http://" & pBucket & ".s3.amazonaws.com/" & pObject & "?AWSAccessKeyId=" & AWS_AK into tUrl put "&Expires=" & pExpiry & "&Signature=" & makeQauth(pBucket, pObject, pExpiry) after tUrl return tUrl end s3.timeLimitURL ____________________ in another file 's3getfile.irev' I include the 's3auth.irev' file and call the s.3timeLimitURL function __________________________ put the seconds + (60 * 15) into tExpiry --15 minutes put "myveryownbucket" into tBucket put "myowntestmovie.m4v" into tObject put s3.timeLimitURL(tBucket, tObject, tExpiry) into tFileURL ________________________ the tFileURL has all the elements it should have but the signature appears longer than the one generated by Mark Smith's sample S3 application. Any ideas why the signature does not get generated correctly by the FrankenCode I have thrown together? Thanks Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-upload-limits-and-Amazon-S3-as-an-alternative-tp3244672p3245419.html Sent from the Revolution - User mailing list archive at Nabble.com. From mcgrath3 at mac.com Fri Jan 28 16:19:31 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 28 Jan 2011 16:19:31 -0500 Subject: Live LiveCode Code Event #8 In-Reply-To: <531047900484.20110128115153@ahsoftware.net> References: <53BE8295-0C5D-4ABA-B4A8-D31A5983A85B@economy-x-talk.com> <531047900484.20110128115153@ahsoftware.net> Message-ID: <6CFED2B7-FDE0-4910-A0A2-D0CCB0BBF24F@mac.com> ;-} The elusive ice fish floats right under the surface and is very slippery to catch. The only true way to catch them is to use string and salt and sit and wait. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 28, 2011, at 2:51 PM, Mark Wieder wrote: > Tom- > > Friday, January 28, 2011, 5:40:24 AM, you wrote: > >> Thanks for taking this on this saturday Mark. I hope to be there >> again this week (unless I'm out ice fishing) > > Dude - you shouldn't have to go fishing for ice. It's everywhere. I'll > email you some when I get a chance. > > -- > -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 francois.chaplais at mines-paristech.fr Fri Jan 28 16:28:59 2011 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Fri, 28 Jan 2011 22:28:59 +0100 Subject: on-rev upload limits and Amazon S3 as an alternative In-Reply-To: <1296227151863-3244672.post@n4.nabble.com> References: <1296227151863-3244672.post@n4.nabble.com> Message-ID: <2EDEC546-2EFB-4275-B58F-FE3966DAC050@mines-paristech.fr> Have you tried Dropbox on local/cloud storage and syncing? They have a free 2 gig account and it is very, very convenient. It has Windows, Mac, Iphone, IPad (and Linux I believe), and it can also be used from an internet browser. It syncs local dropbox folders on your PC/device; you can also send http links for files in the public subfolder. www.dropbox.com Best, Fran?ois Le 28 janv. 2011 ? 16:05, Martin Koob a ?crit : > > I have been testing uploading via post to on-rev and have found the limit is > about 10.1 MB. I was using movie files of various sizes and the largest I > could successfully upload was 10.1 MB. If I tried one of 10.2 Mb it would > write a Quicktime file that had no data in it, it was 0 MB file. If I > tried to open it Quicktime gave a 'This is not a movie file' error. > > I guess this is a limit set in the on-rev server. > > As a way of accommodating larger file uploads for a site hosted on on-rev I > am thinking of using Amazon S3. > > I want to use browser based uploads to have users upload a movie to the > server and then use authenticated URLs to access the movie files. > > Has anyone done something like this? > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-upload-limits-and-Amazon-S3-as-an-alternative-tp3244672p3244672.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Fri Jan 28 16:31:44 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 28 Jan 2011 13:31:44 -0800 Subject: Project Madness In-Reply-To: <189BA668-7FCB-4D0D-ADAE-9251F63C99D3@mac.com> References: <189BA668-7FCB-4D0D-ADAE-9251F63C99D3@mac.com> Message-ID: *They* know what you are doing! That's exactly why one will not see *fade to black scene transitions* on commercial TV any more, and will see random ads tacked on other random spots during commercial breaks, with a hard cuts and no black. This makes for some interesting juxtapositions, as the human mind is still processing the previous message, then thrust into another world without warning. On 28 January 2011 13:13, Thomas McGrath III wrote: > > I know! I'll write a program that reads the brightness of the screen on my > TV and since most Commercials are brighter than the show or movie I am > watching I can determine if a commercial is on and turn down the sound for a > minute or two and then turn it back up after the commercial. I take > photoresistor readings and based on those look up the time Stephen Barncard San Francisco Ca. USA more about sqb From stephenREVOLUTION2 at barncard.com Fri Jan 28 16:36:26 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 28 Jan 2011 13:36:26 -0800 Subject: on-rev upload limits and Amazon S3 as an alternative In-Reply-To: <2EDEC546-2EFB-4275-B58F-FE3966DAC050@mines-paristech.fr> References: <1296227151863-3244672.post@n4.nabble.com> <2EDEC546-2EFB-4275-B58F-FE3966DAC050@mines-paristech.fr> Message-ID: I use dropbox for syncing my entire Livecode folder. Plugins, Remo settings, etc. 2011/1/28 Fran?ois Chaplais > Have you tried Dropbox on local/cloud storage and syncing? They have a free > 2 gig account and it is very, very convenient. It has Windows, Mac, Iphone, > IPad (and Linux I believe), and it can also be used from an internet > browser. It syncs local dropbox folders on your PC/device; you can also send > http links for files in the public subfolder. > www.dropbox.com > Best, > Fran?ois > Le 28 janv. 2011 ? 16:05, Martin Koob a ?crit : > > > > > I have been testing uploading via post to on-rev and have found the limit > is > > about 10.1 MB. I was using movie files of various sizes and the largest > I > > could successfully upload was 10.1 MB. If I tried one of 10.2 Mb it > would > > write a Quicktime file that had no data in it, it was 0 MB file. If I > > tried to open it Quicktime gave a 'This is not a movie file' error. > > > > I guess this is a limit set in the on-rev server. > > > > As a way of accommodating larger file uploads for a site hosted on on-rev > I > > am thinking of using Amazon S3. > > > > I want to use browser based uploads to have users upload a movie to the > > server and then use authenticated URLs to access the movie files. > > > > Has anyone done something like this? > > > > -- > > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/on-rev-upload-limits-and-Amazon-S3-as-an-alternative-tp3244672p3244672.html > > Sent from the Revolution - User mailing list archive at Nabble.com. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From scott at tactilemedia.com Fri Jan 28 16:55:38 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 28 Jan 2011 13:55:38 -0800 Subject: Alternating Column Colors? Message-ID: Hi List: The data grid nicely incorporates alternating line colors. But does anyone know if it's possible to make alternating column colors or cell colors? I'm building a control that has a horizontal scrolling data grid with only one row. I'd like to be able to set alternating colors for cells or columns in the row. Possible? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX Design From mkoob at rogers.com Fri Jan 28 17:01:45 2011 From: mkoob at rogers.com (Martin Koob) Date: Fri, 28 Jan 2011 14:01:45 -0800 (PST) Subject: on-rev upload limits and Amazon S3 as an alternative In-Reply-To: <1296249496187-3245419.post@n4.nabble.com> References: <1296227151863-3244672.post@n4.nabble.com> <1296239564352-3245122.post@n4.nabble.com> <1296249496187-3245419.post@n4.nabble.com> Message-ID: <1296252105813-3245520.post@n4.nabble.com> I just realized I forgot one function that is in the s3auth.irev file ##from Mark Smith's LibS3 function makeObject pBucket, pKey replace "/" with empty in pBucket put "/" & pBucket into tObject if pKey is not empty then if char 1 of pKey is not "/" then put "/" after tObject put pKey after tObject end if return tObject end makeObject -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-upload-limits-and-Amazon-S3-as-an-alternative-tp3244672p3245520.html Sent from the Revolution - User mailing list archive at Nabble.com. From mkoob at rogers.com Fri Jan 28 17:12:50 2011 From: mkoob at rogers.com (Martin Koob) Date: Fri, 28 Jan 2011 14:12:50 -0800 (PST) Subject: on-rev upload limits and Amazon S3 as an alternative In-Reply-To: References: <1296227151863-3244672.post@n4.nabble.com> <2EDEC546-2EFB-4275-B58F-FE3966DAC050@mines-paristech.fr> Message-ID: <1296252770540-3245540.post@n4.nabble.com> I am looking at AmazonS3 because of the ability to have time limited authenticated URLs to specific files. I was looking at the documentation for DropBox and it has shared folders but can it have links to individual files. With AmazonS3 should be able to generate authenticated URLs on the fly using on-rev server.(haven't figured out how to do it correctly yet though. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-upload-limits-and-Amazon-S3-as-an-alternative-tp3244672p3245540.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at mollysrevenge.com Fri Jan 28 18:03:36 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 28 Jan 2011 15:03:36 -0800 Subject: on-rev upload limits and Amazon S3 as an alternative In-Reply-To: <2EDEC546-2EFB-4275-B58F-FE3966DAC050@mines-paristech.fr> References: <1296227151863-3244672.post@n4.nabble.com> <2EDEC546-2EFB-4275-B58F-FE3966DAC050@mines-paristech.fr> Message-ID: <6E1F75CC-BE11-47F6-97B3-12E5C1AD1CE8@mollysrevenge.com> Another good one is box.net. You get 5gigs free with them but there is a 25meg(?) limit on individual file size. Pete Haworth On Jan 28, 2011, at 1:28 PM, Fran?ois Chaplais wrote: > Have you tried Dropbox on local/cloud storage and syncing? They have a free 2 gig account and it is very, very convenient. It has Windows, Mac, Iphone, IPad (and Linux I believe), and it can also be used from an internet browser. It syncs local dropbox folders on your PC/device; you can also send http links for files in the public subfolder. > www.dropbox.com > Best, > Fran?ois > Le 28 janv. 2011 ? 16:05, Martin Koob a ?crit : > >> >> I have been testing uploading via post to on-rev and have found the limit is >> about 10.1 MB. I was using movie files of various sizes and the largest I >> could successfully upload was 10.1 MB. If I tried one of 10.2 Mb it would >> write a Quicktime file that had no data in it, it was 0 MB file. If I >> tried to open it Quicktime gave a 'This is not a movie file' error. >> >> I guess this is a limit set in the on-rev server. >> >> As a way of accommodating larger file uploads for a site hosted on on-rev I >> am thinking of using Amazon S3. >> >> I want to use browser based uploads to have users upload a movie to the >> server and then use authenticated URLs to access the movie files. >> >> Has anyone done something like this? >> >> -- >> View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-upload-limits-and-Amazon-S3-as-an-alternative-tp3244672p3244672.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mcgrath3 at mac.com Fri Jan 28 18:05:51 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 28 Jan 2011 18:05:51 -0500 Subject: SPAM Square Up Message-ID: <4E2F85CB-FCDF-4723-8048-00318BE931A0@mac.com> FYI -- I am not connected with these guys at all. I just got my credit card reader from squareup.com for free and can now accept credit card payments for my work (American Express too.) Very cool and free. They send you the reader after signing up for the app. It works on iPhone, iPad and Android. At first I thought it was weird and suspect but after major research it turns out they are the creator of Twitter along with the guy from digg and a bunch of investors offering this. Anyway I think - get it while it's free. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net From mkoob at rogers.com Fri Jan 28 18:30:05 2011 From: mkoob at rogers.com (Martin Koob) Date: Fri, 28 Jan 2011 15:30:05 -0800 (PST) Subject: on-rev upload limits and Amazon S3 as an alternative In-Reply-To: <1296252105813-3245520.post@n4.nabble.com> References: <1296227151863-3244672.post@n4.nabble.com> <1296239564352-3245122.post@n4.nabble.com> <1296249496187-3245419.post@n4.nabble.com> <1296252105813-3245520.post@n4.nabble.com> Message-ID: <1296257405014-3245634.post@n4.nabble.com> One other thing. I noticed from the Amazon S3 docs about the signature of the request should be "The URL encoding of the Base64 encoding of the HMAC-SHA1 of StringToSign." http://docs.amazonwebservices.com/AmazonS3/latest/dev/index.html?RESTAuthentication.html so instead of return urlencode(_oauthHMACSHA1(stringToSign, AWS_SK)) I tried base64encoding the HMAC-SHA1 digest return urlencode(base64encode(_oauthHMACSHA1(stringToSign, AWS_SK))) That did not work. I also tried encoding the stringtosign with UTF8 before the HMACSHA1 digest return urlencode(base64encode(_oauthHMACSHA1(uniEncode(stringToSign,"UTF8"), AWS_SK))) still no luck. I think there are three possible sources of the error. -my string to sign is wrong (I have checked with the docs and from my understanding it is correct.) -my encoding is wrong(I am following the one that works with Mark Smith's Lib S3 Stack) -the _oauthHMACSHA1 handler (is this only for oAuth and does something different need to be done for S3?) Thanks for any suggestions. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-upload-limits-and-Amazon-S3-as-an-alternative-tp3244672p3245634.html Sent from the Revolution - User mailing list archive at Nabble.com. From johnpatten at mac.com Fri Jan 28 18:36:55 2011 From: johnpatten at mac.com (John Patten) Date: Fri, 28 Jan 2011 15:36:55 -0800 Subject: Resizing text field with line of text and Dragging Objects in Group? In-Reply-To: References: Message-ID: Hi All! I have two questions I've been struggling with. The first is related to text fields. Is there a way to resize a text field that has a single line of text in it so that it is as wide as the text inside it? My attempts have been to determine the number of characters in the field and multiply that by some number to create the width of the field. That doesn't work too well. My second question is related to groups. I'm dragging some fields around in a group and the group does not resize when i go beyond the boundingRect of the group like I've read it should. I'm setting the boundingRect to empty and setting the locklocation property to false but when i drag the field to edge of the group it disappears ;-) ... i did see there were some issues with BoundingRect described in previous posts... Thank you! John Patten SUSD From bobs at twft.com Fri Jan 28 18:38:17 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 28 Jan 2011 15:38:17 -0800 Subject: Project Madness In-Reply-To: References: <189BA668-7FCB-4D0D-ADAE-9251F63C99D3@mac.com> Message-ID: <74AEB3C0-79AF-4415-87E0-DE08E4E0013D@twft.com> Someone sent me an email with a bunch of math questions that I was supposed to answer as quickly as I could and then at the end it asked me to name a color and a tool. I randomly (I thought) picked red hammer. I scrolled down to the end and to my horror and disbelief the email said, "You picked red hammer didn't you?" It then went on to explain that over 98% of people will say red hammer. Now I KNOW I did not come out of the womb that way! I've been PROGRAMMED DAMMIT! o.O Bob On Jan 28, 2011, at 1:31 PM, stephen barncard wrote: > *They* know what you are doing! > That's exactly why one will not see *fade to black scene transitions* on > commercial TV any more, and will see random ads tacked on other random spots > during commercial breaks, with a hard cuts and no black. This makes for some > interesting juxtapositions, as the human mind is still processing the > previous message, then thrust into another world without warning. > > On 28 January 2011 13:13, Thomas McGrath III wrote: > >> >> I know! I'll write a program that reads the brightness of the screen on my >> TV and since most Commercials are brighter than the show or movie I am >> watching I can determine if a commercial is on and turn down the sound for a >> minute or two and then turn it back up after the commercial. I take >> photoresistor readings and based on those look up the 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 dixonja at hotmail.co.uk Fri Jan 28 18:40:57 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Fri, 28 Jan 2011 23:40:57 +0000 Subject: Resizing text field with line of text and Dragging Objects in Group? In-Reply-To: References: , , Message-ID: To answer your first question... set the width of fld 1 to the formattedWidth of fld 1 > Hi All! > > I have two questions I've been struggling with. The first is related > to text fields. Is there a way to resize a text field that has a > single line of text in it so that it is as wide as the text inside > it? My attempts have been to determine the number of characters in > the field and multiply that by some number to create the width of the > field. That doesn't work too well. > > My second question is related to groups. I'm dragging some fields > around in a group and the group does not resize when i go beyond the > boundingRect of the group like I've read it should. > > I'm setting the boundingRect to empty and setting the locklocation > property to false but when i drag the field to edge of the group it > disappears ;-) ... i did see there were some issues with BoundingRect > described in previous posts... > > Thank you! > > John Patten > SUSD From bobs at twft.com Fri Jan 28 18:54:58 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 28 Jan 2011 15:54:58 -0800 Subject: Alternating Column Colors? In-Reply-To: References: Message-ID: <689BFF5A-E660-461B-B188-E8120C77FDEA@twft.com> Oh cool! Then you could make a chess or checkers game! I get it! I read the API and none of the properties suggests you can do this. I think you will have to find the part of the parent script that draws the cells and change the background color on each one individually for odd or even rows. The problem will then become, what happens if there is no data? Rows get colored even if there is no data, but no actual cells (cloned fields) get created until there is data. I tried to edit the row template and put a colored square over the gray bar, but mine is a table not a form. You might be able to do it in a form, I'm not sure. At any rate it didn't work for me. Bob On Jan 28, 2011, at 1:55 PM, Scott Rossi wrote: > Hi List: > > The data grid nicely incorporates alternating line colors. But does anyone > know if it's possible to make alternating column colors or cell colors? > > I'm building a control that has a horizontal scrolling data grid with only > one row. I'd like to be able to set alternating colors for cells or columns > in the row. Possible? > > 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 mwieder at ahsoftware.net Fri Jan 28 20:17:29 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 28 Jan 2011 17:17:29 -0800 Subject: Project Madness In-Reply-To: <74AEB3C0-79AF-4415-87E0-DE08E4E0013D@twft.com> References: <189BA668-7FCB-4D0D-ADAE-9251F63C99D3@mac.com> <74AEB3C0-79AF-4415-87E0-DE08E4E0013D@twft.com> Message-ID: <901067436156.20110128171729@ahsoftware.net> Bob- Friday, January 28, 2011, 3:38:17 PM, you wrote: > Someone sent me an email with a bunch of math questions that I > was supposed to answer as quickly as I could and then at the end it > asked me to name a color and a tool. I randomly (I thought) picked > red hammer. > I scrolled down to the end and to my horror and disbelief the > email said, "You picked red hammer didn't you?" It then went on to > explain that over 98% of people will say red hammer. Now I KNOW I > did not come out of the womb that way! I've been PROGRAMMED DAMMIT! ...to a boy with a sickle, everything looks like a red hammer... -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Jan 28 20:24:34 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 28 Jan 2011 17:24:34 -0800 Subject: SPAM Square Up In-Reply-To: <4E2F85CB-FCDF-4723-8048-00318BE931A0@mac.com> References: <4E2F85CB-FCDF-4723-8048-00318BE931A0@mac.com> Message-ID: <331067861359.20110128172434@ahsoftware.net> Thomas- Friday, January 28, 2011, 3:05:51 PM, you wrote: > FYI -- I am not connected with these guys at all. I just got my > credit card reader from squareup.com for free and can now accept > credit card payments for my work (American Express too.) Very cool > and free. They send you the reader after signing up for the app. It > works on iPhone, iPad and Android. At first I thought it was weird > and suspect but after major research it turns out they are the > creator of Twitter along with the guy from digg and a bunch of > investors offering this. I opted out when they wanted my FEIN and Social Security number. -- -Mark Wieder mwieder at ahsoftware.net From bobs at twft.com Fri Jan 28 20:27:15 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 28 Jan 2011 17:27:15 -0800 Subject: SPAM Square Up In-Reply-To: <331067861359.20110128172434@ahsoftware.net> References: <4E2F85CB-FCDF-4723-8048-00318BE931A0@mac.com> <331067861359.20110128172434@ahsoftware.net> Message-ID: <73D39F0B-C9A7-45E4-AE06-6A9DC65422BD@twft.com> REALLY?? Gah!! On Jan 28, 2011, at 5:24 PM, Mark Wieder wrote: > Thomas- > > Friday, January 28, 2011, 3:05:51 PM, you wrote: > >> FYI -- I am not connected with these guys at all. I just got my >> credit card reader from squareup.com for free and can now accept >> credit card payments for my work (American Express too.) Very cool >> and free. They send you the reader after signing up for the app. It >> works on iPhone, iPad and Android. At first I thought it was weird >> and suspect but after major research it turns out they are the >> creator of Twitter along with the guy from digg and a bunch of >> investors offering this. > > I opted out when they wanted my FEIN and Social Security number. > > -- > -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 stephenREVOLUTION2 at barncard.com Fri Jan 28 20:28:45 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 28 Jan 2011 17:28:45 -0800 Subject: SPAM Square Up In-Reply-To: <331067861359.20110128172434@ahsoftware.net> References: <4E2F85CB-FCDF-4723-8048-00318BE931A0@mac.com> <331067861359.20110128172434@ahsoftware.net> Message-ID: yeah, I did the same thing - I just closed the browser abruptly before it got too personal. On 28 January 2011 17:24, Mark Wieder wrote: > Thomas- > > Friday, January 28, 2011, 3:05:51 PM, you wrote: > > > FYI -- I am not connected with these guys at all. I just got my > > credit card reader from squareup.com for free and can now accept > > credit card payments for my work (American Express too.) Very cool > > and free. They send you the reader after signing up for the app. It > > works on iPhone, iPad and Android. At first I thought it was weird > > and suspect but after major research it turns out they are the > > creator of Twitter along with the guy from digg and a bunch of > > investors offering this. > > I opted out when they wanted my FEIN and Social Security number. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From mwieder at ahsoftware.net Fri Jan 28 20:29:25 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 28 Jan 2011 17:29:25 -0800 Subject: on-rev upload limits and Amazon S3 as an alternative In-Reply-To: <1296252770540-3245540.post@n4.nabble.com> References: <1296227151863-3244672.post@n4.nabble.com> <2EDEC546-2EFB-4275-B58F-FE3966DAC050@mines-paristech.fr> <1296252770540-3245540.post@n4.nabble.com> Message-ID: <1471068152453.20110128172925@ahsoftware.net> Martin- Friday, January 28, 2011, 2:12:50 PM, you wrote: > I was looking at the documentation for DropBox and it has shared > folders but can it have links to individual files. https://www.dropbox.com/help/16 -- -Mark Wieder mwieder at ahsoftware.net From mcgrath3 at mac.com Fri Jan 28 21:49:23 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 28 Jan 2011 21:49:23 -0500 Subject: SPAM Square Up In-Reply-To: References: <4E2F85CB-FCDF-4723-8048-00318BE931A0@mac.com> <331067861359.20110128172434@ahsoftware.net> Message-ID: <1186C1AD-5666-49FF-B2C4-780BE62A0B09@mac.com> Yeah that's why I put spam in the subject cause I got the same feeling at first. But after researching awhile I realized that that was how they keep people honest with the thing. Still the process was a bit creepy. So they are legit BUT I don't know how much info a normal credit card company reader would ask for and they are not free. I can enter numbers directly too and that means I can accept credit card orders over the internet if by hand any way.... YMMV -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 28, 2011, at 8:28 PM, stephen barncard wrote: > yeah, I did the same thing - I just closed the browser abruptly before it > got too personal. > > On 28 January 2011 17:24, Mark Wieder wrote: > >> Thomas- >> >> Friday, January 28, 2011, 3:05:51 PM, you wrote: >> >>> FYI -- I am not connected with these guys at all. I just got my >>> credit card reader from squareup.com for free and can now accept >>> credit card payments for my work (American Express too.) Very cool >>> and free. They send you the reader after signing up for the app. It >>> works on iPhone, iPad and Android. At first I thought it was weird >>> and suspect but after major research it turns out they are the >>> creator of Twitter along with the guy from digg and a bunch of >>> investors offering this. >> >> I opted out when they wanted my FEIN and Social Security number. >> >> -- >> -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 johnpatten at mac.com Sat Jan 29 00:17:56 2011 From: johnpatten at mac.com (John Patten) Date: Fri, 28 Jan 2011 21:17:56 -0800 Subject: Getting Contents of Multiple fields in order (Left-to-Right&Down) In-Reply-To: References: Message-ID: <0B9266DE-CFEA-4D58-B020-16472FC8DCE7@mac.com> Hi All... I have a card with four fields. The field can be dragged around by the user. I want to get the contents of each field and put them all in one container. My attempt is below. I attempted to sort the list of fld locations but that is susceptible to the y coordinate being above the previous field and throwing off the sort. Here is what I tried: on mouseUp -- sort item 1 of the field locations put 1 into x put 2 into y put the number of lines in cd fld "data" into tCount repeat for tCount-1 put item x of line x of cd fld "data" into tFirstTest put item x of line y of cd fld "data" into tSecondTest if tFirstTest > tSecondTest then put line y of cd fld "data" & return after cd fld "sortedData" delete line y of cd fld "data" else put line x of cd fld "data" & return after cd fld "sortedData" delete line x of cd fld "data" end if end repeat put line 1 of cd fld "data" after cd fld "sortedData" delete line 1 of cd fld "data" -- sort item 2 of the fld locations put 1 into x put 2 into y put the number of lines in cd fld "sortedData" into tCount repeat for tCount-1 put item y of line x of cd fld "sorteddata" into tFirstTest put item y of line y of cd fld "sorteddata" into tSecondTest if tFirstTest > tSecondTest then put line y of cd fld "sorteddata" & return after cd fld "Data" delete line y of cd fld "sorteddata" else put line x of cd fld "sorteddata" & return after cd fld "Data" delete line x of cd fld "sorteddata" end if end repeat put line 1 of cd fld "sorteddata" after cd fld "Data" delete line 1 of cd fld "sorteddata" --put the field contents in the user's order put the number of lines in cd fld "data" into tCount put 1 into x repeat tCount put item 3 of line x of cd fld "data" into tTargetField put cd fld tTargetField of group "theFields" & " " after tWholeenchilada add 1 to x end repeat put tWholeenchilada end mouseUp Thank you! John Patten SUSD From pete at mollysrevenge.com Sat Jan 29 01:35:29 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Fri, 28 Jan 2011 22:35:29 -0800 Subject: SPAM Square Up In-Reply-To: <1186C1AD-5666-49FF-B2C4-780BE62A0B09@mac.com> References: <4E2F85CB-FCDF-4723-8048-00318BE931A0@mac.com> <331067861359.20110128172434@ahsoftware.net> <1186C1AD-5666-49FF-B2C4-780BE62A0B09@mac.com> Message-ID: <80685100-EE6D-4825-81C1-6C458F5C104C@mollysrevenge.com> I have a wireless credit card terminal and they all want at least this level of personal info if not more. Not saying if it's right or wrong, just that if you want a credit card account, that's what's required. I got the terminal for free in exchange for signing up for a 2-year contract, so yes free swipers are available in exchange for commitments, just like cell phones. Tom - watch out for keying in numbers rather than swiping the card - they will ding you a hefty surcharge for doing that. For online orders, try Paypal - people can pay by credit card without having a PayPal account and their fees are pretty comparable to the credit card processors, especially for casual use. Pete Haworth On Jan 28, 2011, at 6:49 PM, Thomas McGrath III wrote: > Yeah that's why I put spam in the subject cause I got the same feeling at first. But after researching awhile I realized that that was how they keep people honest with the thing. Still the process was a bit creepy. > > So they are legit BUT I don't know how much info a normal credit card company reader would ask for and they are not free. > > I can enter numbers directly too and that means I can accept credit card orders over the internet if by hand any way.... > > YMMV > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Jan 28, 2011, at 8:28 PM, stephen barncard wrote: > >> yeah, I did the same thing - I just closed the browser abruptly before it >> got too personal. >> >> On 28 January 2011 17:24, Mark Wieder wrote: >> >>> Thomas- >>> >>> Friday, January 28, 2011, 3:05:51 PM, you wrote: >>> >>>> FYI -- I am not connected with these guys at all. I just got my >>>> credit card reader from squareup.com for free and can now accept >>>> credit card payments for my work (American Express too.) Very cool >>>> and free. They send you the reader after signing up for the app. It >>>> works on iPhone, iPad and Android. At first I thought it was weird >>>> and suspect but after major research it turns out they are the >>>> creator of Twitter along with the guy from digg and a bunch of >>>> investors offering this. >>> >>> I opted out when they wanted my FEIN and Social Security number. >>> >>> -- >>> -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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jimaultwins at yahoo.com Sat Jan 29 07:12:22 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Sat, 29 Jan 2011 04:12:22 -0800 Subject: Getting Contents of Multiple fields in order (Left-to-Right&Down) In-Reply-To: <0B9266DE-CFEA-4D58-B020-16472FC8DCE7@mac.com> References: <0B9266DE-CFEA-4D58-B020-16472FC8DCE7@mac.com> Message-ID: <08592DC8-12CD-4E96-A442-83DF1C0347C9@yahoo.com> Assuming all fields on a card are the target fields to sort and combine on sortFlds repeat with k = 1 to the number of fields put the rect of field k after fieldList put comma & k after fieldList put cr after fieldList end repeat sort fieldList numeric by item 2 of each -- Y sort fieldList numeric by item 1 of each -- X repeat for each line LNN in fieldList put fld (item 5 of LNN) after tWholeenchilada put cr after tWholeenchilada end repeat put tWholeenchilada into msg box end sortFlds -- in the second repeat loop you could use ... -- put item 5 of LNN into fldNum -- put fld fldNum after tWholeenchilada Hope this helps. On Jan 28, 2011, at 9:17 PM, John Patten wrote: > > I have a card with four fields. The field can be dragged around by > the user. I want to get the contents of each field and put them all > in one container. > > My attempt is below. I attempted to sort the list of fld locations > but that is susceptible to the y coordinate being above the previous > field and throwing off the sort. > > Here is what I tried: > > on mouseUp > -- sort item 1 of the field locations > put 1 into x > put 2 into y > put the number of lines in cd fld "data" into tCount > repeat for tCount-1 > put item x of line x of cd fld "data" into tFirstTest > put item x of line y of cd fld "data" into tSecondTest > if tFirstTest > tSecondTest then > put line y of cd fld "data" & return after cd fld "sortedData" > delete line y of cd fld "data" > else > put line x of cd fld "data" & return after cd fld "sortedData" > delete line x of cd fld "data" > end if > end repeat > put line 1 of cd fld "data" after cd fld "sortedData" > delete line 1 of cd fld "data" > > > -- sort item 2 of the fld locations > put 1 into x > put 2 into y > put the number of lines in cd fld "sortedData" into tCount > repeat for tCount-1 > put item y of line x of cd fld "sorteddata" into tFirstTest > put item y of line y of cd fld "sorteddata" into tSecondTest > if tFirstTest > tSecondTest then > put line y of cd fld "sorteddata" & return after cd fld "Data" > delete line y of cd fld "sorteddata" > else > put line x of cd fld "sorteddata" & return after cd fld "Data" > delete line x of cd fld "sorteddata" > end if > end repeat > put line 1 of cd fld "sorteddata" after cd fld "Data" > delete line 1 of cd fld "sorteddata" > > > --put the field contents in the user's order > put the number of lines in cd fld "data" into tCount > put 1 into x > repeat tCount > put item 3 of line x of cd fld "data" into tTargetField > put cd fld tTargetField of group "theFields" & " " after > tWholeenchilada > add 1 to x > end repeat > put tWholeenchilada > end mouseUp > Jim Ault Las Vegas From mcgrath3 at mac.com Sat Jan 29 08:55:55 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 29 Jan 2011 08:55:55 -0500 Subject: SPAM Square Up In-Reply-To: <80685100-EE6D-4825-81C1-6C458F5C104C@mollysrevenge.com> References: <4E2F85CB-FCDF-4723-8048-00318BE931A0@mac.com> <331067861359.20110128172434@ahsoftware.net> <1186C1AD-5666-49FF-B2C4-780BE62A0B09@mac.com> <80685100-EE6D-4825-81C1-6C458F5C104C@mollysrevenge.com> Message-ID: <60D520A2-9BB6-43F6-BF4B-9FA6C8A564F0@mac.com> Thanks Pete, This is all new to me. But I did have fun last night looking for things to sell my friends so I could swipe their cards into my iPhone... Hmmmm what else can I sell..... -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 29, 2011, at 1:35 AM, Peter Haworth wrote: > I have a wireless credit card terminal and they all want at least this level of personal info if not more. Not saying if it's right or wrong, just that if you want a credit card account, that's what's required. I got the terminal for free in exchange for signing up for a 2-year contract, so yes free swipers are available in exchange for commitments, just like cell phones. > > Tom - watch out for keying in numbers rather than swiping the card - they will ding you a hefty surcharge for doing that. For online orders, try Paypal - people can pay by credit card without having a PayPal account and their fees are pretty comparable to the credit card processors, especially for casual use. > > Pete Haworth > > On Jan 28, 2011, at 6:49 PM, Thomas McGrath III wrote: > >> Yeah that's why I put spam in the subject cause I got the same feeling at first. But after researching awhile I realized that that was how they keep people honest with the thing. Still the process was a bit creepy. >> >> So they are legit BUT I don't know how much info a normal credit card company reader would ask for and they are not free. >> >> I can enter numbers directly too and that means I can accept credit card orders over the internet if by hand any way.... >> >> YMMV >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> 3mcgrath at comcast.net >> >> On Jan 28, 2011, at 8:28 PM, stephen barncard wrote: >> >>> yeah, I did the same thing - I just closed the browser abruptly before it >>> got too personal. >>> >>> On 28 January 2011 17:24, Mark Wieder wrote: >>> >>>> Thomas- >>>> >>>> Friday, January 28, 2011, 3:05:51 PM, you wrote: >>>> >>>>> FYI -- I am not connected with these guys at all. I just got my >>>>> credit card reader from squareup.com for free and can now accept >>>>> credit card payments for my work (American Express too.) Very cool >>>>> and free. They send you the reader after signing up for the app. It >>>>> works on iPhone, iPad and Android. At first I thought it was weird >>>>> and suspect but after major research it turns out they are the >>>>> creator of Twitter along with the guy from digg and a bunch of >>>>> investors offering this. >>>> >>>> I opted out when they wanted my FEIN and Social Security number. >>>> >>>> -- >>>> -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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jemirandav at gmail.com Sat Jan 29 10:31:47 2011 From: jemirandav at gmail.com (Javier Miranda V.) Date: Sat, 29 Jan 2011 11:31:47 -0400 Subject: LiveCode for e-book production Message-ID: Dear friends, can you please give me your opinions on using LiveCode for e-book production?. I know LiveCode, being so powerful, can handle complex projects involving lots of logic and structures, but is it suitable / practical to use it for e-book production?. The possibility of compile for the new mobile operating systems is something wonderful that I would like to to use coupled with the multimedia capabilities. I will be looking forward for your impressions about this. Saludos, Javier Miranda V. From mkoob at rogers.com Sat Jan 29 10:34:46 2011 From: mkoob at rogers.com (Martin Koob) Date: Sat, 29 Jan 2011 07:34:46 -0800 (PST) Subject: on-rev upload limits and Amazon S3 as an alternative In-Reply-To: References: <1296227151863-3244672.post@n4.nabble.com> <1296239564352-3245122.post@n4.nabble.com> Message-ID: <1296315286999-3246264.post@n4.nabble.com> Hi Andre I copied the stack script of Mark Smith's AWS libraries and with some tweaking to make them conform to how rev server works I got it to work to sign and Authenticated URL using HMACSHA1. However I get the same result as when I use the Shell command, the signature does not match. So It seems I was going at this from the wrong angle. I think the stringtosign I am using is wrong. Mark Smith's library is using the following as the string to sign. GET\n \n \n expiry\n URI I suspect that on-rev is sending a different set of headers than the string to sign so when Amazon compares the GET request and the string that was signed they don't match. I tried to use libURLlastHTTPheaders() to see what headers are being sent but that does not work with on-rev. Does anyone know what headers are sent? Should I set my own headers to conform with what amazon is expecting with the on-rev header command? Thanks. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-upload-limits-and-Amazon-S3-as-an-alternative-tp3244672p3246264.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at mollysrevenge.com Sat Jan 29 12:08:08 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Sat, 29 Jan 2011 09:08:08 -0800 Subject: SPAM Square Up In-Reply-To: <60D520A2-9BB6-43F6-BF4B-9FA6C8A564F0@mac.com> References: <4E2F85CB-FCDF-4723-8048-00318BE931A0@mac.com> <331067861359.20110128172434@ahsoftware.net> <1186C1AD-5666-49FF-B2C4-780BE62A0B09@mac.com> <80685100-EE6D-4825-81C1-6C458F5C104C@mollysrevenge.com> <60D520A2-9BB6-43F6-BF4B-9FA6C8A564F0@mac.com> Message-ID: Don't know about these guys but the credit card processing market is full of hidden charges - very much like cell phone plans. For example, I get charged $10/month as a "statement fee"!!! Pete Haworth On Jan 29, 2011, at 5:55 AM, Thomas McGrath III wrote: > Thanks Pete, > > This is all new to me. But I did have fun last night looking for things to sell my friends so I could swipe their cards into my iPhone... Hmmmm what else can I sell..... > > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Jan 29, 2011, at 1:35 AM, Peter Haworth wrote: > >> I have a wireless credit card terminal and they all want at least this level of personal info if not more. Not saying if it's right or wrong, just that if you want a credit card account, that's what's required. I got the terminal for free in exchange for signing up for a 2-year contract, so yes free swipers are available in exchange for commitments, just like cell phones. >> >> Tom - watch out for keying in numbers rather than swiping the card - they will ding you a hefty surcharge for doing that. For online orders, try Paypal - people can pay by credit card without having a PayPal account and their fees are pretty comparable to the credit card processors, especially for casual use. >> >> Pete Haworth >> >> On Jan 28, 2011, at 6:49 PM, Thomas McGrath III wrote: >> >>> Yeah that's why I put spam in the subject cause I got the same feeling at first. But after researching awhile I realized that that was how they keep people honest with the thing. Still the process was a bit creepy. >>> >>> So they are legit BUT I don't know how much info a normal credit card company reader would ask for and they are not free. >>> >>> I can enter numbers directly too and that means I can accept credit card orders over the internet if by hand any way.... >>> >>> YMMV >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> 3mcgrath at comcast.net >>> >>> On Jan 28, 2011, at 8:28 PM, stephen barncard wrote: >>> >>>> yeah, I did the same thing - I just closed the browser abruptly before it >>>> got too personal. >>>> >>>> On 28 January 2011 17:24, Mark Wieder wrote: >>>> >>>>> Thomas- >>>>> >>>>> Friday, January 28, 2011, 3:05:51 PM, you wrote: >>>>> >>>>>> FYI -- I am not connected with these guys at all. I just got my >>>>>> credit card reader from squareup.com for free and can now accept >>>>>> credit card payments for my work (American Express too.) Very cool >>>>>> and free. They send you the reader after signing up for the app. It >>>>>> works on iPhone, iPad and Android. At first I thought it was weird >>>>>> and suspect but after major research it turns out they are the >>>>>> creator of Twitter along with the guy from digg and a bunch of >>>>>> investors offering this. >>>>> >>>>> I opted out when they wanted my FEIN and Social Security number. >>>>> >>>>> -- >>>>> -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 >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at mollysrevenge.com Sat Jan 29 12:17:44 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Sat, 29 Jan 2011 09:17:44 -0800 Subject: on-rev upload limits and Amazon S3 as an alternative In-Reply-To: <1471068152453.20110128172925@ahsoftware.net> References: <1296227151863-3244672.post@n4.nabble.com> <2EDEC546-2EFB-4275-B58F-FE3966DAC050@mines-paristech.fr> <1296252770540-3245540.post@n4.nabble.com> <1471068152453.20110128172925@ahsoftware.net> Message-ID: Hi Mark, I've successfully linked to individual files in dropbox but I don;t know if it would work for someone who didn't have a dropbox account. I just opened the file from dropbox, copied the url, and pasted it in as a link on the web page I wanted to access the file from. Pete Haworth On Jan 28, 2011, at 5:29 PM, Mark Wieder wrote: > Martin- > > Friday, January 28, 2011, 2:12:50 PM, you wrote: > >> I was looking at the documentation for DropBox and it has shared >> folders but can it have links to individual files. > > https://www.dropbox.com/help/16 > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Sat Jan 29 12:27:48 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 29 Jan 2011 09:27:48 -0800 Subject: on-rev upload limits and Amazon S3 as an alternative In-Reply-To: References: <1296227151863-3244672.post@n4.nabble.com> <2EDEC546-2EFB-4275-B58F-FE3966DAC050@mines-paristech.fr> <1296252770540-3245540.post@n4.nabble.com> <1471068152453.20110128172925@ahsoftware.net> Message-ID: <1841125655093.20110129092748@ahsoftware.net> Pete- Saturday, January 29, 2011, 9:17:44 AM, you wrote: > Hi Mark, > I've successfully linked to individual files in dropbox but I > don;t know if it would work for someone who didn't have a dropbox > account. I just opened the file from dropbox, copied the url, and > pasted it in as a link on the web page I wanted to access the file > from. I copy links from my Public folder and email them around. Works fine. -- -Mark Wieder mwieder at ahsoftware.net From gcanyon+rev at gmail.com Sat Jan 29 12:53:05 2011 From: gcanyon+rev at gmail.com (Geoff Canyon Rev) Date: Sat, 29 Jan 2011 11:53:05 -0600 Subject: An idea on multithreading implementation In-Reply-To: References: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> <970379.700.qm@web65406.mail.ac4.yahoo.com> Message-ID: I think we're talking apples and oranges. As I said, the difference between yield() and wait 0 ticks is that one supports two (or more) pieces of code running in parallel (not simultaneously) with state, and the other doesn't. This would be a big benefit when programming things like: > > Currently it is very difficult simply to program any sort of > > background task whatsoever: processing a log file, making aliens attack, > > etc. "wait 0 ticks" simply isn't a good answer for those sorts of issues. > > Ask Malte what he could do for animationEngine (and how much more simply) > > with coroutines. > > Agreed that "wait 0 ticks" isn't a good solution to these sorts of issues, > and I wasn't trying to imply that it was (if my original email came across > that way). > So I think we're agreed that coroutines would make this easier than wait 0 ticks. > Coroutines are not pre-emptive. > I didn't say they were. I also didn't say they'd improve performance. Coroutines would make several types of programming problems much easier to code. I'm not saying they'd make them run faster, except that there are things that are prohibitively hard to do with wait that would be easy with yield. Those things would run much faster, since they can't run at all now. > As long as someone took the time to make an OpenGL plugin for LC, rendering > could be made fast enough for most simple 2D games > Yes, of course if you bolt an engine on your bicycle it will go faster. I'm not saying LiveCode _can't_ be made faster, just that threads + the current architecture is still way too slow. Threading current LiveCode graphics across 2, 4, or even 8 cores is going to give you a sucky game that eats batteries and still can't compete with Flash on graphics, let alone native code. The problem with yielding (or "waiting" in LC terms) is that it basically > puts me back into the Atari 2600 days of cycle counting, without the > precision of being able to actually count cycles ;-). I have no idea how > often I should yield in order to make things nice and smooth. It would be > SOOO much more convenient if I could just make LC pre-emptive and wait for > me like so: > > send "renderFrame" to me every 30 milliseconds > Agreed that pre-emptive threads (or messages if you like) would make this easier to manage. Summary: > > * What people seem to want here is pre-emption (however that happens). > Well, _I_ would be happy with coroutines, and I think I I understand what I'm asking for ;-) > * Coroutines are cooperative threads, which means they are not pre-emptive. > Yep, totally agreed. I still want them. > * If you have to yield, it doesn't matter how many HW threads you use. > Perhaps agreed. If the underlying engine breaks up tasks and can run them across multiple cores your whole app will be faster, but that's independent of what we're doing above the engine. And based on your OpenGL comment, I think we're both agreed that for game-style graphics performance, neither coroutines nor threads will fix the problem -- what's needed (if indeed people want this) is a new graphics library, either as a plugin or directly in the engine. regards, Geoff From scott at tactilemedia.com Sat Jan 29 13:09:17 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 29 Jan 2011 10:09:17 -0800 Subject: An idea on multithreading implementation In-Reply-To: References: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> <970379.700.qm@web65406.mail.ac4.yahoo.com> Message-ID: <71CF74F8-A6C0-4E25-9A7B-AABE36134CE7@tactilemedia.com> On Jan 29, 2011, at 9:53 AM, Geoff Canyon Rev wrote: > based on your OpenGL comment, I > think we're both agreed that for game-style graphics performance, neither > coroutines nor threads will fix the problem -- what's needed (if indeed > people want this) is a new graphics library, either as a plugin or directly > in the engine. +100 Have wanted this for years. Even moving a single object around on a card can result in tearing (though after recently learning about the syncRate property, one might be able work around this to a degree). But fast graphics processing would be a very welcome addition. Regards, Scott Rossi Creative Director Tactile Media, UX Design From m.schonewille at economy-x-talk.com Sat Jan 29 13:13:26 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 29 Jan 2011 19:13:26 +0100 Subject: Live LiveCode Code Event #8 is about to start Message-ID: <758CDEAC-9CA5-4946-8C93-093D18819BF6@economy-x-talk.com> Dear LiveCoders, The 8th edition of the Live LiveCode Code Event will start in just over 45 minutes. You can download ChatRev at http://bjoernke.com/chatrev . More info is available at http://www.livecode.tv . I hope to see you there. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.5 for LiveCode here http://qery.us/ce From jacque at hyperactivesw.com Sat Jan 29 13:43:14 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 29 Jan 2011 12:43:14 -0600 Subject: Getting Contents of Multiple fields in order (Left-to-Right&Down) In-Reply-To: <08592DC8-12CD-4E96-A442-83DF1C0347C9@yahoo.com> References: <0B9266DE-CFEA-4D58-B020-16472FC8DCE7@mac.com> <08592DC8-12CD-4E96-A442-83DF1C0347C9@yahoo.com> Message-ID: <4D445FC2.1030500@hyperactivesw.com> On 1/29/11 6:12 AM, Jim Ault wrote: > Assuming all fields on a card are the target fields to sort and combine > > on sortFlds > repeat with k = 1 to the number of fields > put the rect of field k after fieldList > put comma & k after fieldList > put cr after fieldList > end repeat > sort fieldList numeric by item 2 of each -- Y > sort fieldList numeric by item 1 of each -- X > > repeat for each line LNN in fieldList > put fld (item 5 of LNN) after tWholeenchilada > put cr after tWholeenchilada > end repeat > put tWholeenchilada into msg box > end sortFlds > > -- in the second repeat loop you could use ... > -- put item 5 of LNN into fldNum > -- put fld fldNum after tWholeenchilada > I tried something almost identical and it didn't work, so I was waiting to see if anyone else could come up with a solution. The task is harder than you'd think at first. For testing, stagger the fields a little bit so their tops and lefts aren't aligned in any way. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jimaultwins at yahoo.com Sat Jan 29 13:47:34 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Sat, 29 Jan 2011 10:47:34 -0800 Subject: LiveCode for e-book production In-Reply-To: References: Message-ID: <0483344B-7130-4C40-90C4-5ED1A53BCA3F@yahoo.com> On Jan 29, 2011, at 7:31 AM, Javier Miranda V. wrote: > Dear friends, can you please give me your opinions on using LiveCode > for e-book production?. I know LiveCode, being so powerful, can > handle complex projects involving lots of logic and structures, but > is it suitable / practical to use it for e-book production?. The > possibility of compile for the new mobile operating systems is > something wonderful that I would like to to use coupled with the > multimedia capabilities. > It depends on what you mean by eBook. These links were posted in the last day or so, and this shows a fine example of non-linear story telling. The material is compelling, and the layout makes navigating the main text and sub-level text easy. Three movies http://xfiles.funnygarbage.com/~colinholgate/video/planetarium/SS.mp4 http://xfiles.funnygarbage.com/~colinholgate/video/planetarium/TL.mp4 http://xfiles.funnygarbage.com/~colinholgate/video/planetarium/FE.mp4 Also, don't forget that Livecode can access databases, such as MySQL & Valentina, and display content in static containers as well as provide many kind of animation, blend levels, and transition effects. Jim Ault Las Vegas From jimaultwins at yahoo.com Sat Jan 29 14:05:14 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Sat, 29 Jan 2011 11:05:14 -0800 Subject: Getting Contents of Multiple fields in order (Left-to-Right&Down) In-Reply-To: <4D445FC2.1030500@hyperactivesw.com> References: <0B9266DE-CFEA-4D58-B020-16472FC8DCE7@mac.com> <08592DC8-12CD-4E96-A442-83DF1C0347C9@yahoo.com> <4D445FC2.1030500@hyperactivesw.com> Message-ID: <0605BB02-52DD-4DF4-8F3B-D9843D7E8639@yahoo.com> On Jan 29, 2011, at 10:43 AM, J. Landman Gay wrote: > On 1/29/11 6:12 AM, Jim Ault wrote: >> Assuming all fields on a card are the target fields to sort and >> combine >> >> on sortFlds >> repeat with k = 1 to the number of fields >> put the rect of field k after fieldList >> put comma & k after fieldList >> put cr after fieldList >> end repeat >> sort fieldList numeric by item 2 of each -- Y >> sort fieldList numeric by item 1 of each -- X >> >> repeat for each line LNN in fieldList >> put fld (item 5 of LNN) after tWholeenchilada >> put cr after tWholeenchilada >> end repeat >> put tWholeenchilada into msg box >> end sortFlds >> >> -- in the second repeat loop you could use ... >> -- put item 5 of LNN into fldNum >> -- put fld fldNum after tWholeenchilada >> > > I tried something almost identical and it didn't work, so I was > waiting to see if anyone else could come up with a solution. The > task is harder than you'd think at first. > > For testing, stagger the fields a little bit so their tops and lefts > aren't aligned in any way. My test I used did have scattered fields, but if all the X values are different, then that becomes the sort order and the Y values have no effect on the final order. I think the idea is to sort based on the X- Y ratio, rather than the raw values. Any algorithm will work and the result become the sort value, such as get the rect of fleld k get (item 2 of IT) div (item 1 of IT) after fieldList put comma & k after fieldList put cr after fieldList It depends on the authors desired logic. Jim Ault Las Vegas From revdev at pdslabs.net Sat Jan 29 14:25:05 2011 From: revdev at pdslabs.net (Phil Davis) Date: Sat, 29 Jan 2011 11:25:05 -0800 Subject: Alternating Column Colors? In-Reply-To: <689BFF5A-E660-461B-B188-E8120C77FDEA@twft.com> References: <689BFF5A-E660-461B-B188-E8120C77FDEA@twft.com> Message-ID: <4D446991.9060204@pdslabs.net> Scott, Each cell in a data grid is a field, so it seems like it should be doable. I created a DG and put some data in it. Then I did this from msg: put the number of flds in selobj -- DG was selected --> 57 put the name of fld 44 of selobj --> field "Status 0008" My DG has a column named "Status". After further poking around, I see: - each DG cell is a field - the number of fields is related to the display rect of the DG, not to the number of lines of data in it - fields are recreated when the DG's data is changed - every field in the DG has a style of 'transparent' - you can set a field's style to opaque and then any backColor you apply to it will show up - the style changes you make seem to stick until the DG data is changed Maybe some of the above will help you on your way. Phil On 1/28/11 3:54 PM, Bob Sneidar wrote: > Oh cool! Then you could make a chess or checkers game! I get it! > > I read the API and none of the properties suggests you can do this. I think you will have to find the part of the parent script that draws the cells and change the background color on each one individually for odd or even rows. > > The problem will then become, what happens if there is no data? Rows get colored even if there is no data, but no actual cells (cloned fields) get created until there is data. > > I tried to edit the row template and put a colored square over the gray bar, but mine is a table not a form. You might be able to do it in a form, I'm not sure. At any rate it didn't work for me. > > Bob > > > On Jan 28, 2011, at 1:55 PM, Scott Rossi wrote: > >> Hi List: >> >> The data grid nicely incorporates alternating line colors. But does anyone >> know if it's possible to make alternating column colors or cell colors? >> >> I'm building a control that has a horizontal scrolling data grid with only >> one row. I'd like to be able to set alternating colors for cells or columns >> in the row. Possible? >> >> 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 > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From zryip.theslug at gmail.com Sat Jan 29 14:32:35 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sat, 29 Jan 2011 20:32:35 +0100 Subject: Alternating Column Colors? In-Reply-To: References: Message-ID: On Fri, Jan 28, 2011 at 10:55 PM, Scott Rossi wrote: Hi Scott, > The data grid nicely incorporates alternating line colors. ?But does anyone > know if it's possible to make alternating column colors or cell colors? > > I'm building a control that has a horizontal scrolling data grid with only > one row. ?I'd like to be able to set alternating colors for cells or columns > in the row. ?Possible? The datagrid object has no direct property for changing the color of a column, but changing color of a cell or a column (in fact all the cells of a column) is possible. Here is an experiment demonstrating how to change the color of a cell, a column and a column header: go url "http://www.aslugontheroad.co.cc/index.php?option=com_phocadownload&view=category&download=20:experiment-020-change-colors-of-columns-and-cells&id=7:data-grid&Itemid=63" As pointed out by Bob, this possible solution works only if the datagrid has data. Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From jacque at hyperactivesw.com Sat Jan 29 14:35:31 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 29 Jan 2011 13:35:31 -0600 Subject: Getting Contents of Multiple fields in order (Left-to-Right&Down) In-Reply-To: <0605BB02-52DD-4DF4-8F3B-D9843D7E8639@yahoo.com> References: <0B9266DE-CFEA-4D58-B020-16472FC8DCE7@mac.com> <08592DC8-12CD-4E96-A442-83DF1C0347C9@yahoo.com> <4D445FC2.1030500@hyperactivesw.com> <0605BB02-52DD-4DF4-8F3B-D9843D7E8639@yahoo.com> Message-ID: <4D446C03.4030102@hyperactivesw.com> On 1/29/11 1:05 PM, Jim Ault wrote: > It depends on the authors desired logic. From the subject title, I'm assuming he wants "natural" reading order. Right to left, top to bottom. One of the problems I ran into (and the OP mentioned) is that if a field has a Y value slightly below another field, but not by much, our eye will see it as "in line" with the field next to it, but a sorting algorithm will see it as "below" the field next to it. I tried looping to find successive topleft fields repeatedly, and that almost works, but you still get Y-offset problem. I'm thinking you'd need to define a cutoff point where a field location is arbitrarily defined as "below" the current line; probably the height of the field, I guess. To John: I think I'd cop out and avoid the whole issue by providing "drop boxes" where fields will snap to known locations so that I know what order to read them in. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jhurley0305 at sbcglobal.net Sat Jan 29 14:54:12 2011 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Sat, 29 Jan 2011 11:54:12 -0800 Subject: The many faces of the thumb position In-Reply-To: References: Message-ID: <3657890D-9A06-46A1-A2F0-0FBFEF605055@sbcglobal.net> I dissevered this the hard way. Put this into the script of a scrollbar: on scrollbardrag put the thumbposition of me into x put x into field 1 put x*1 into field 2 end scrollbardrag You will find that field 1 gets the round(x) while field 2 gets the decimal value of the thumb position, that is you may see 2 into field 1 but 2.3455 in field 2. Furthermore, if one puts x into a variable, the script window shows only the round value. But if you use that value in a calculation the value becomes the decimal value. It is helpful to have access to the decimal value of the thumb position, but it is confusing to see only the round of that value in the editor. Is this an old issue that I am just stumbling over? Jim Hurley P.S. If you use "On scrollbardrag x" in the script of the scroll bar, then x is ONLY the whole number value of the scrollbar value. Beware of other scripts that use the scrollbar thumb position. That position will be DISPLAYED as the whole number in the script, but will ACT as the decimal value of the thump position. This really hung me up. From massung at gmail.com Sat Jan 29 16:31:17 2011 From: massung at gmail.com (Jeffrey Massung) Date: Sat, 29 Jan 2011 14:31:17 -0700 Subject: An idea on multithreading implementation In-Reply-To: References: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> <970379.700.qm@web65406.mail.ac4.yahoo.com> Message-ID: Geoff (btw, Jeff here ;-)), Okay, I think I completely understand where the disconnect lies - and it's with my understanding of the LC internals. I put together a very simple stack that's nothing more than a field "Test" and a button. The button script looks like this: on mouseUp putNumbers putLetters end mouseUp command putNumbers repeat with i = 1 to 26 put i & cr after fld "Test" wait 0 ticks with messages end repeat end putNumbers command putLetters repeat for each char x in "abcdefghijklmnopqrstuvwxyz" put x & cr after fld "Test" wait 0 ticks with messages end repeat end putLetters Now, if LC essentially already had coroutines, when done, the output in the field should be something like "1a2b3c..." (with newlines of course). However, that's not what's in the field. Instead the output is "123456...abcdef..." This is likely what you were alluding to and I wasn't getting, and this puts an entirely different face on the conversation. The issue isn't coroutines vs. whatever so much as LC doesn't actually allow (from what I can tell) for multiple execution contexts. Coroutines - obviously - is one method of achieving this goal, and I would agree that it is a preferred solution. I hope the test above puts this discussion to rest and is a hint to the Rev team on a direction they can take. Now, not to be pedantic, but your last paragraph didn't really make much sense [to me]. Coroutines - since they must yield and don't run in parallel - are are still single-threaded. This means that you could run 100 contexts on 100 HW threads, and your program will run at exactly the same speed as if they were on 1 HW thread (this assumes that the OS isn't hyperthreading your application with others). Anyway, yes, coroutines is one very nice way of achieving "parallelism" is LC w/o needing locks. However, I still think LC needs pre-emption in at least a basic form (like my example of forcing a coroutine to become live every so often). Cheers, and hope you are having a good weekend! Jeff M. From ambassador at fourthworld.com Sat Jan 29 17:12:13 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 29 Jan 2011 14:12:13 -0800 Subject: An idea on multithreading implementation Message-ID: <4D4490BD.3010705@fourthworld.com> Scott Rossi wrote: > But fast graphics processing would be a very welcome addition. Here's one option that would give order-of-magnitude speed increases to any object that takes advantage of the current graphic effects, implementable by merely extending existing syntax to allow an "alwaysBuffer" property for all controls: As it is, any object that uses the otherwise-powerful graphic effects cannot be selected, moved or animated without prohibitive cost to performance. We could convert such objects to bitmaps ourselves if not for a design decision not to allow it: I'd be okay with the current lack of buffering of the rendering of graphic effects and a default of not allowing one to export snapshots of such objects as long as there were options to do otherwise. But as it is, I find myself not using graphic effect nearly as often as I'd like to, instead making such treatments in other programs and then importing the masked PNGs.... -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From cjw at eml.cc Sat Jan 29 17:53:05 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Sat, 29 Jan 2011 16:53:05 -0600 Subject: Live LiveCode Code Event looking for presenters In-Reply-To: <4D408733.3020407@gmail.com> References: <111C0E08-9231-4FB7-9E8D-7DCFAEEC2D0C@economy-x-talk.com> <15DE64D1-56BE-4D61-89D3-7CB024C64049@economy-x-talk.com> <4D408536.7050209@eml.cc> <4D408733.3020407@gmail.com> Message-ID: <4D449A51.1090202@eml.cc> Hi Richmond, I tend to be more optimistic on people's responses. :) As afar as Linux is concerned, you piqued mu interest as I have been watching Linux with a keen eye for years. When I went to check out how Torvald's O/S was doing, I found this... http://gs.statcounter.com/#os-ww-monthly-200807-201101-bar Not very encouraging, is it. Linux may not be a "wild coyote lurking on the fringes," but at #5 of 5 and only 0.75%, Linux has it's work cut out for itself. FMI - If you know of other sites that have different results, please let me know. I always like to get a comprehensive perspective. Fair winds, Calvin > ------------------------------------------------------------------------ > > Richmond > Wednesday, January 26, 2011 2:42 PM > > > > > First off: it seems well-nigh impossible to get a balanced comparison > from anyone. > > Second off: Linux is not "out there" like some wild coyote lurking on > the fringes; it > is already mainstream. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ------------------------------------------------------------------------ > > Calvin Waterbury > Wednesday, January 26, 2011 2:33 PM > > > Howdy from Texas, Y'all! > > I would like to do my part in good time, but I am still learning; > however, if somebody out there does work on Macs and Microsoft, I > would really like to see an unbiased, or at least a fair comparison > between strengths/weaknesses of these two titans of the personal O/S. > Sort of down the lines of, "Macs really are much better at stringing > foobars, but Windows wins out when it comes to gizwort constructs" and > "Did you know Windows can do this...,but on a Mac you have to use this > work around." > > I have been a Microsoft user since DOS (1984), but have been quite > intrigued by what I have garnered from the Mac discussions on the mail > list. > > Any takers? > > Calvin > > PS - I realize Lnx is out there too! :) > From davidocoker at gmail.com Sat Jan 29 18:55:27 2011 From: davidocoker at gmail.com (David C.) Date: Sat, 29 Jan 2011 17:55:27 -0600 Subject: Live LiveCode Code Event looking for presenters In-Reply-To: <4D449A51.1090202@eml.cc> References: <111C0E08-9231-4FB7-9E8D-7DCFAEEC2D0C@economy-x-talk.com> <15DE64D1-56BE-4D61-89D3-7CB024C64049@economy-x-talk.com> <4D408536.7050209@eml.cc> <4D408733.3020407@gmail.com> <4D449A51.1090202@eml.cc> Message-ID: On Sat, Jan 29, 2011 at 4:53 PM, Calvin wrote: > As afar as Linux is concerned, you piqued mu interest as I have been > watching Linux with a keen eye for years. ?When I went to check out how > Torvald's O/S was doing, I found this... > > http://gs.statcounter.com/#os-ww-monthly-200807-201101-bar > > Not very encouraging, is it. ?Linux may not be a "wild coyote lurking on the > fringes," but at #5 of 5 and only 0.75%, Linux has it's work cut out for > itself. > I always like to get a comprehensive perspective. Hi there Calvin, With respect to all of the "other" operating systems and their various adherents, if you really want a comprehensive perspective as described, then you need to stop "watching with interest" and start TRYING it for yourself. If all of the waiting and watching is based on popularity of brand x, then you will never know the difference. ;-) Almost every modern Linux distro "out there" will have a Live CD for their offering, which means you can easily test it for yourself. Download the iso file, burn it to a blank CD (there's your only cost) and simply reboot with it in the tray. >From a user experience, if you regularly watch commercial movie DVD's on the computer --or if-- you absolutely must run proprietary Windows/Mac software, -or if- you are joined at the hip with iTunes due of your choice in mobile devices and/or past music purchases, you may not like Linux very much (or at least for very long). If those things do not apply, you have a very high chance of actually enjoying the Linux experience completely. Dealing with the DVD issue is pretty simple and inexpensive to correct... don't know what to say about the iTunes ball and chain. Linux is certainly not for everyone, but you'll never know for sure by sitting and watching from the sidelines. Best regards, David C. From cjw at eml.cc Sat Jan 29 19:29:26 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Sat, 29 Jan 2011 18:29:26 -0600 Subject: O/S Statistics and a SERIOUS Steak Dinner In-Reply-To: References: <111C0E08-9231-4FB7-9E8D-7DCFAEEC2D0C@economy-x-talk.com> <15DE64D1-56BE-4D61-89D3-7CB024C64049@economy-x-talk.com> <4D408536.7050209@eml.cc> <4D408733.3020407@gmail.com> <4D449A51.1090202@eml.cc> Message-ID: <4D44B0E6.2070704@eml.cc> Hi David, [Note: I changed the subject so I would not hijack the thread any further.] You are correct about the only way I will *know* about an O/S (or anything) is to try it myself. I appreciate your encouragement. Unfortunately, there may be some confusion. I have already tried some distros of Linux and possess an iPad. Right now I am very content with Win 7 64 (personal choice) for the present. Being able to use LiveCode on any O/S I chose was the strongest drawing card for me choosing LC as my development platform. Perhaps some clarification will help... This whole "statistics" thing is motivated by a *serious* steak dinner wager that was planned in 2004, courtesy of either myself or my friend. Back in '04 my friend and I entered into a wager about *where* which O/S's would be by 12/31/2015. Now, the loser of this wager gets to treat the other to a *serious* steak dinner, i.e, the loser has to pay all costs, except the tip(s). When I say *serious*, I mean the winner gets to choose the restaurant of his choice anywhere in the USA and the loser gets to foot the bill for both round trip airfares, car rentals, hotel, dinner, etc. It's all in fun, but I need to determine if my piggy bank is going to start needing some attention soon! ;) The end result is I am looking for the *real* statistics (or as close as I can I get). What I really want to know is... "How many servers/desktops/laptops/tablets/etc. are running how many O/S's today?" Hope this straightens everything out. Like I said, this is all just for fun... *serious* fun! :) Fair winds, Calvin > ------------------------------------------------------------------------ > > David C. > Saturday, January 29, 2011 5:55 PM > > > On Sat, Jan 29, 2011 at 4:53 PM, Calvin wrote: > >> As afar as Linux is concerned, you piqued mu interest as I have been >> watching Linux with a keen eye for years. When I went to check out how >> Torvald's O/S was doing, I found this... >> >> http://gs.statcounter.com/#os-ww-monthly-200807-201101-bar >> >> Not very encouraging, is it. Linux may not be a "wild coyote lurking on the >> fringes," but at #5 of 5 and only 0.75%, Linux has it's work cut out for >> itself. > > > >> I always like to get a comprehensive perspective. > > Hi there Calvin, > With respect to all of the "other" operating systems and their various > adherents, if you really want a comprehensive perspective as > described, then you need to stop "watching with interest" and start > TRYING it for yourself. If all of the waiting and watching is based on > popularity of brand x, then you will never know the difference. ;-) > > Almost every modern Linux distro "out there" will have a Live CD for > their offering, which means you can easily test it for yourself. > Download the iso file, burn it to a blank CD (there's your only cost) > and simply reboot with it in the tray. > > From a user experience, if you regularly watch commercial movie DVD's > on the computer --or if-- you absolutely must run proprietary > Windows/Mac software, -or if- you are joined at the hip with iTunes > due of your choice in mobile devices and/or past music purchases, you > may not like Linux very much (or at least for very long). If those > things do not apply, you have a very high chance of actually enjoying > the Linux experience completely. Dealing with the DVD issue is pretty > simple and inexpensive to correct... don't know what to say about the > iTunes ball and chain. > > Linux is certainly not for everyone, but you'll never know for sure by > sitting and watching from the sidelines. > > 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 > ------------------------------------------------------------------------ > > Calvin Waterbury > Saturday, January 29, 2011 4:53 PM > > > Hi Richmond, > > I tend to be more optimistic on people's responses. :) > > As afar as Linux is concerned, you piqued mu interest as I have been > watching Linux with a keen eye for years. When I went to check out > how Torvald's O/S was doing, I found this... > > http://gs.statcounter.com/#os-ww-monthly-200807-201101-bar > > Not very encouraging, is it. Linux may not be a "wild coyote lurking > on the fringes," but at #5 of 5 and only 0.75%, Linux has it's work > cut out for itself. > > FMI - If you know of other sites that have different results, please > let me know. I always like to get a comprehensive perspective. > > Fair winds, > Calvin > From ambassador at fourthworld.com Sat Jan 29 19:45:08 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 29 Jan 2011 16:45:08 -0800 Subject: Live LiveCode Code Event looking for presenters Message-ID: <4D44B494.9080800@fourthworld.com> David C. wrote: > Hi there Calvin, > With respect to all of the "other" operating systems and their various > adherents, if you really want a comprehensive perspective as > described, then you need to stop "watching with interest" and start > TRYING it for yourself. If all of the waiting and watching is based on > popularity of brand x, then you will never know the difference. ;-) Well said. Long-time Mac users know how difficult it is to be taken seriously based on market share alone, esp. considering how much such numbers vary: W3CSchools.com says 5% of their visitors are running Linux: Wikipedia says 1.53% worldwide: What do those percentages mean in terms of numbers of happy people? Gerry Carr at Canonical says there are 12 million users of Ubuntu alone: And it looks like Red Hat is on target to make more than US$1 billion in revenue for 2011: Not bad for free software. :) Mac people should be the least concerned about what other people use, since here we are in 2011 at Apple's peak and we still see almost 90% of the world using Windows. Use what makes you happy. There are plenty of choices for OSes these days, and if you're thinking of giving Linux a spin there's a vast world of helpful support in the Ubuntu, Fedora, Debian, and other forums. I read the Ubuntu forums almost daily, and have been having a great time there. > Almost every modern Linux distro "out there" will have a Live CD for > their offering, which means you can easily test it for yourself. > Download the iso file, burn it to a blank CD (there's your only cost) > and simply reboot with it in the tray. The Ubuntu disk image can be installed on a USB drive as well, so you can try it out on a netbook before install. I imagine many of the other popular distros have a similar option. I keep a bootable USB drive handy for whenever I get a new machine: if it'll run Ubuntu off the USB, it gets partitioned right away for a dual-boot. :) I have one machine that's so old it barely runs Ubuntu, so I switched it to Puppy and it's been running very well. There's hardly any hardware out there for which you can't find a good Linux distro for - even ultra-tiny boxes like this one: >>From a user experience, if you regularly watch commercial movie DVD's > on the computer --or if-- you absolutely must run proprietary > Windows/Mac software, -or if- you are joined at the hip with iTunes > due of your choice in mobile devices and/or past music purchases, you > may not like Linux very much (or at least for very long). For licensing reasons Ubuntu doesn't ship with the proprietary codecs to run many commercial DVDs, but they maintain a repository where those can be downloaded and installed easily. I've been able to watch DVDs well with that install. The NVdia chip in my Dell blows the pants off the ATI x1600 in my MacBook Pro, so not only do I get smoother video performance but Google Earth just flies on that machine. > Linux is certainly not for everyone, but you'll never know for sure by > sitting and watching from the sidelines. It's so easy to deploy to Linux using LiveCode it's almost a shame not to explore it for some markets, esp. for EDU software since Linux has a massive base in EDU throughout Europe and the developing world. One of the things I've been enjoying as I migrate ever more of my work from my Mac to Ubuntu is having so much choice available over hardware configs, and at prices I had only dreamed of back when I used to buy Macs exclusively. :) This video shows off some of the effects available with Compiz, the compositing engine available for every machine with a decent video card running Ubuntu and most of the other popular distros: This is a more down-to-earth demo showing more practical workflows: And here the famous Nixie Pixel shows you how to install Ubuntu in under 5 minutes: It's not her best video, but helpful. I still think OS X has an edge in the "it just works" category, something no one else can do because it requires the uniquely tight integration between the hardware and software possible only when both come from a single company. But for flexibility, not so much. Mac OS offers a choice between gray and blue in its Appearance Manager; check out Ubuntu's themes and then drop into Compiz Config and you get a very different idea of what it means to personalize your computing experience. Ubuntu offers all the security we enjoy on our Macs, but IMNSHO a better user experience than Windows. It boots much faster (under 20 seconds on my Dell), and I don't have to run my system and anti-virus updates for several minutes at the start of each session - I just boot and enjoy. :) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From ambassador at fourthworld.com Sat Jan 29 19:49:01 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 29 Jan 2011 16:49:01 -0800 Subject: O/S Statistics and a SERIOUS Steak Dinner Message-ID: <4D44B57D.7070300@fourthworld.com> Calvin Waterbury wrote: > Perhaps some clarification will help... > > This whole "statistics" thing is motivated by a *serious* steak dinner > wager that was planned in 2004, courtesy of either myself or my friend. > Back in '04 my friend and I entered into a wager about *where* which > O/S's would be by 12/31/2015. Now, the loser of this wager gets to > treat the other to a *serious* steak dinner, i.e, the loser has to pay > all costs, except the tip(s). When I say *serious*, I mean the winner > gets to choose the restaurant of his choice anywhere in the USA and the > loser gets to foot the bill for both round trip airfares, car rentals, > hotel, dinner, etc. It's all in fun, but I need to determine if my piggy > bank is going to start needing some attention soon! ;) > > The end result is I am looking for the *real* statistics (or as close as > I can I get). What I really want to know is... > > "How many servers/desktops/laptops/tablets/etc. are running how many > O/S's today?" Good news: you both get to keep your money. It's impossible to know with any certainty the absolute market share of any OS, more so with one that's free where most of the hardware it runs on came bundled with another OS. Maybe you should still have that dinner, just go Dutch. :) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From davidocoker at gmail.com Sat Jan 29 19:58:45 2011 From: davidocoker at gmail.com (David C.) Date: Sat, 29 Jan 2011 18:58:45 -0600 Subject: Live LiveCode Code Event looking for presenters In-Reply-To: <4D44B494.9080800@fourthworld.com> References: <4D44B494.9080800@fourthworld.com> Message-ID: Thanks for the additional info Richard!! Perfect. :-) Best regards, David C. From capellan2000 at gmail.com Sat Jan 29 20:06:14 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 29 Jan 2011 21:06:14 -0400 Subject: An idea on multithreading implementation Message-ID: Hi All, It's nice to read discussions about features that enhance this platform, but now I have one doubt: How many developers (who use Livecode) want to see this platform converted in a game engine? Notice that the only DLL in my wish list for this platform is a SWF player, that allows to run movies inside a stack, just like the Quicktime externals. I do not want to see a Timeline in this platform... At least in my mind, you could not build (easily) the kind of applications created with Livecode if it were a game engine. Am I wrong? Or There are no boundaries anymore among Software Development tools? Al From cjw at eml.cc Sat Jan 29 20:16:43 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Sun, 30 Jan 2011 01:16:43 +0000 Subject: Live LiveCode Code Event looking for presenters In-Reply-To: <4D44B494.9080800@fourthworld.com> References: <4D44B494.9080800@fourthworld.com> Message-ID: <1044240729-1296350204-cardhu_decombobulator_blackberry.rim.net-1942929268-@bda871.bisx.prod.on.blackberry> Excellent post! It will take a while before I get a chance to digest it all. Thanks to you and David for being so thorough. Fair winds, Calvin Sent from my Verizon Wireless BlackBerry -----Original Message----- From: Richard Gaskin Sender: use-livecode-bounces at lists.runrev.com Date: Sat, 29 Jan 2011 16:45:08 To: How to use LiveCode Reply-To: How to use LiveCode Subject: Re: Live LiveCode Code Event looking for presenters David C. wrote: > Hi there Calvin, > With respect to all of the "other" operating systems and their various > adherents, if you really want a comprehensive perspective as > described, then you need to stop "watching with interest" and start > TRYING it for yourself. If all of the waiting and watching is based on > popularity of brand x, then you will never know the difference. ;-) Well said. Long-time Mac users know how difficult it is to be taken seriously based on market share alone, esp. considering how much such numbers vary: W3CSchools.com says 5% of their visitors are running Linux: Wikipedia says 1.53% worldwide: What do those percentages mean in terms of numbers of happy people? Gerry Carr at Canonical says there are 12 million users of Ubuntu alone: And it looks like Red Hat is on target to make more than US$1 billion in revenue for 2011: Not bad for free software. :) Mac people should be the least concerned about what other people use, since here we are in 2011 at Apple's peak and we still see almost 90% of the world using Windows. Use what makes you happy. There are plenty of choices for OSes these days, and if you're thinking of giving Linux a spin there's a vast world of helpful support in the Ubuntu, Fedora, Debian, and other forums. I read the Ubuntu forums almost daily, and have been having a great time there. > Almost every modern Linux distro "out there" will have a Live CD for > their offering, which means you can easily test it for yourself. > Download the iso file, burn it to a blank CD (there's your only cost) > and simply reboot with it in the tray. The Ubuntu disk image can be installed on a USB drive as well, so you can try it out on a netbook before install. I imagine many of the other popular distros have a similar option. I keep a bootable USB drive handy for whenever I get a new machine: if it'll run Ubuntu off the USB, it gets partitioned right away for a dual-boot. :) I have one machine that's so old it barely runs Ubuntu, so I switched it to Puppy and it's been running very well. There's hardly any hardware out there for which you can't find a good Linux distro for - even ultra-tiny boxes like this one: >>From a user experience, if you regularly watch commercial movie DVD's > on the computer --or if-- you absolutely must run proprietary > Windows/Mac software, -or if- you are joined at the hip with iTunes > due of your choice in mobile devices and/or past music purchases, you > may not like Linux very much (or at least for very long). For licensing reasons Ubuntu doesn't ship with the proprietary codecs to run many commercial DVDs, but they maintain a repository where those can be downloaded and installed easily. I've been able to watch DVDs well with that install. The NVdia chip in my Dell blows the pants off the ATI x1600 in my MacBook Pro, so not only do I get smoother video performance but Google Earth just flies on that machine. > Linux is certainly not for everyone, but you'll never know for sure by > sitting and watching from the sidelines. It's so easy to deploy to Linux using LiveCode it's almost a shame not to explore it for some markets, esp. for EDU software since Linux has a massive base in EDU throughout Europe and the developing world. One of the things I've been enjoying as I migrate ever more of my work from my Mac to Ubuntu is having so much choice available over hardware configs, and at prices I had only dreamed of back when I used to buy Macs exclusively. :) This video shows off some of the effects available with Compiz, the compositing engine available for every machine with a decent video card running Ubuntu and most of the other popular distros: This is a more down-to-earth demo showing more practical workflows: And here the famous Nixie Pixel shows you how to install Ubuntu in under 5 minutes: It's not her best video, but helpful. I still think OS X has an edge in the "it just works" category, something no one else can do because it requires the uniquely tight integration between the hardware and software possible only when both come from a single company. But for flexibility, not so much. Mac OS offers a choice between gray and blue in its Appearance Manager; check out Ubuntu's themes and then drop into Compiz Config and you get a very different idea of what it means to personalize your computing experience. Ubuntu offers all the security we enjoy on our Macs, but IMNSHO a better user experience than Windows. It boots much faster (under 20 seconds on my Dell), and I don't have to run my system and anti-virus updates for several minutes at the start of each session - I just boot and enjoy. :) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From cjw at eml.cc Sat Jan 29 20:19:11 2011 From: cjw at eml.cc (Calvin Waterbury) Date: Sun, 30 Jan 2011 01:19:11 +0000 Subject: O/S Statistics and a SERIOUS Steak Dinner In-Reply-To: <4D44B57D.7070300@fourthworld.com> References: <4D44B57D.7070300@fourthworld.com> Message-ID: <1001799183-1296350352-cardhu_decombobulator_blackberry.rim.net-1807789194-@bda871.bisx.prod.on.blackberry> Excellent suggestion! After digging for about a month, I'm not very far from where I started. Fair winds, Calvin Sent from my Verizon Wireless BlackBerry -----Original Message----- From: Richard Gaskin Sender: use-livecode-bounces at lists.runrev.com Date: Sat, 29 Jan 2011 16:49:01 To: How to use LiveCode Reply-To: How to use LiveCode Subject: Re: O/S Statistics and a SERIOUS Steak Dinner Calvin Waterbury wrote: > Perhaps some clarification will help... > > This whole "statistics" thing is motivated by a *serious* steak dinner > wager that was planned in 2004, courtesy of either myself or my friend. > Back in '04 my friend and I entered into a wager about *where* which > O/S's would be by 12/31/2015. Now, the loser of this wager gets to > treat the other to a *serious* steak dinner, i.e, the loser has to pay > all costs, except the tip(s). When I say *serious*, I mean the winner > gets to choose the restaurant of his choice anywhere in the USA and the > loser gets to foot the bill for both round trip airfares, car rentals, > hotel, dinner, etc. It's all in fun, but I need to determine if my piggy > bank is going to start needing some attention soon! ;) > > The end result is I am looking for the *real* statistics (or as close as > I can I get). What I really want to know is... > > "How many servers/desktops/laptops/tablets/etc. are running how many > O/S's today?" Good news: you both get to keep your money. It's impossible to know with any certainty the absolute market share of any OS, more so with one that's free where most of the hardware it runs on came bundled with another OS. Maybe you should still have that dinner, just go Dutch. :) -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From davidocoker at gmail.com Sat Jan 29 20:28:48 2011 From: davidocoker at gmail.com (David C.) Date: Sat, 29 Jan 2011 19:28:48 -0600 Subject: An idea on multithreading implementation In-Reply-To: References: Message-ID: On Sat, Jan 29, 2011 at 7:06 PM, Alejandro wrote: > Notice that the only DLL in my wish list for this > platform is a SWF player, that allows to run > movies inside a stack, just like the Quicktime > externals. I do not want to see a Timeline > in this platform... Hi Al, An SWF player that will work on all three platforms and/or at least a browser control (and plugin) for Linux would be awesome! Where do we sign up? ;-) Best regards, David C. From dunbarx at aol.com Sat Jan 29 21:13:20 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 29 Jan 2011 21:13:20 -0500 Subject: The many faces of the thumb position In-Reply-To: <3657890D-9A06-46A1-A2F0-0FBFEF605055@sbcglobal.net> References: <3657890D-9A06-46A1-A2F0-0FBFEF605055@sbcglobal.net> Message-ID: <8CD8E3A661E0DB0-1B84-10257@Webmail-m113.sysops.aol.com> Jim: And setting the numberformat property, which I thought might force the value x to show decimals, does not. That number is indeed always an integer. It does force the "x+1 value to display according to the format, useless as that is. Here is one for you. Set the numberFormat to "0.0". Now drag slowly. The "x+1" value tracks the "x" value, but always changes by 0.1. That is, the decimal value simply counts up or down by 0.1 at regular intervals as you drag either left or right. No longer odd, or even buggy. Bogus. I guess you always need to set the numberformat to "0" before trying anything as outlandish as you did. Craig Newman -----Original Message----- From: James Hurley To: use-livecode at lists.runrev.com Sent: Sat, Jan 29, 2011 2:54 pm Subject: The many faces of the thumb position I dissevered this the hard way. Put this into the script of a scrollbar: on scrollbardrag put the thumbposition of me into x put x into field 1 put x*1 into field 2 end scrollbardrag You will find that field 1 gets the round(x) while field 2 gets the decimal value of the thumb position, that is you may see 2 into field 1 but 2.3455 in field 2. Furthermore, if one puts x into a variable, the script window shows only the round value. But if you use that value in a calculation the value becomes the decimal value. It is helpful to have access to the decimal value of the thumb position, but it is confusing to see only the round of that value in the editor. Is this an old issue that I am just stumbling over? Jim Hurley P.S. If you use "On scrollbardrag x" in the script of the scroll bar, then x is ONLY the whole number value of the scrollbar value. Beware of other scripts that use the scrollbar thumb position. That position will be DISPLAYED as the whole number in the script, but will ACT as the decimal value of the thump position. This really hung me up. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From johnpatten at mac.com Sat Jan 29 21:28:37 2011 From: johnpatten at mac.com (John Patten) Date: Sat, 29 Jan 2011 18:28:37 -0800 Subject: Getting Contents of Multiple fields in order (Left-to-Right&Down) In-Reply-To: <4D446C03.4030102@hyperactivesw.com> References: <0B9266DE-CFEA-4D58-B020-16472FC8DCE7@mac.com> <08592DC8-12CD-4E96-A442-83DF1C0347C9@yahoo.com> <4D445FC2.1030500@hyperactivesw.com> <0605BB02-52DD-4DF4-8F3B-D9843D7E8639@yahoo.com> <4D446C03.4030102@hyperactivesw.com> Message-ID: Thanks for looking into this with me! The way you (Jim) appear to take what I did and turn it around in a fraction of the lines is amazing! Someday I want to be able to do that :-) Jacqueline is correct. The fields make up a mixed up paragraph. I have it working where it lines up the mixed up fields nicely across and down the window. The user is to put the fields back in order. If one of the fields is a pixel lower on a line, or when the user has to start another line of fields below the first, there is a problem. I like your idea Jacqueline about the drop down fields but I'm afraid not being able to see all parts of the paragraph will make it too challenging at a beginning level. I thought I could make each row of fields on the window a separate group. This could be done when the stack creates the fields for each line. However, that would mean that I would only have mixed up content for each line going across, and I couldn't make the user drag fields between lines. I want more mixed up flexibility... Maybe I could have the fields snap to alignment some how when the user checks their answer and before the sort...but that still would not eliminate the issue with the subsequent lines of fields and their order over all... LiveCode doesn't do character recognition does it (OCR)? I could do a screen capture, covert the pict to text and then check its content ;-) ... Hmmm? What if the user drags the fields over a target...the target could "suck the text" out of the field and spit it out in another field. (This essentially would be eliminating the user to type out their words on a keyboard.) However, how would I handle the user wanting to change their order? Could the text chunks they drag into the target be "special chunks" that act as quasi buttons that when clicked on by the users recreates that specific chunk text and deletes itself from the answer field? The user could still drag their fields around on the screen to order them the way they want, and then just drag them into the target one at a time. What do you think? This seem doable? Thank you! John Patten SUSD On Jan 29, 2011, at 11:35 AM, J. Landman Gay wrote: > On 1/29/11 1:05 PM, Jim Ault wrote: > >> It depends on the authors desired logic. > > From the subject title, I'm assuming he wants "natural" reading order. Right to left, top to bottom. One of the problems I ran into (and the OP mentioned) is that if a field has a Y value slightly below another field, but not by much, our eye will see it as "in line" with the field next to it, but a sorting algorithm will see it as "below" the field next to it. > > I tried looping to find successive topleft fields repeatedly, and that almost works, but you still get Y-offset problem. I'm thinking you'd need to define a cutoff point where a field location is arbitrarily defined as "below" the current line; probably the height of the field, I guess. > > To John: I think I'd cop out and avoid the whole issue by providing "drop boxes" where fields will snap to known locations so that I know what order to read them in. > > -- > 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 gcanyon+rev at gmail.com Sat Jan 29 21:56:33 2011 From: gcanyon+rev at gmail.com (Geoff Canyon Rev) Date: Sat, 29 Jan 2011 20:56:33 -0600 Subject: An idea on multithreading implementation In-Reply-To: References: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> <970379.700.qm@web65406.mail.ac4.yahoo.com> Message-ID: On Sat, Jan 29, 2011 at 3:31 PM, Jeffrey Massung wrote: > Geoff (btw, Jeff here ;-)), > > Okay, I think I completely understand where the disconnect lies - and it's > with my understanding of the LC internals. I put together a very simple > stack that's nothing more than a field "Test" and a button. The button > script looks like this: > ... > > Now, if LC essentially already had coroutines, when done, the output in the > field should be something like "1a2b3c..." (with newlines of course). > However, that's not what's in the field. Instead the output is > "123456...abcdef..." This is likely what you were alluding to and I wasn't > getting, and this puts an entirely different face on the conversation. > Yep, that's what I was talking about. Sorry I wasn't clearer. > > The issue isn't coroutines vs. whatever so much as LC doesn't actually > allow (from what I can tell) for multiple execution contexts. Coroutines - > obviously - is one method of achieving this goal, and I would agree that it > is a preferred solution. > I hope the test above puts this discussion to rest and is a hint to the Rev > team on a direction they can take. > I'd vote for that. > > Now, not to be pedantic, but your last paragraph didn't really make much > sense [to me]. Coroutines - since they must yield and don't run in parallel > - are are still single-threaded. This means that you could run 100 contexts > on 100 HW threads, and your program will run at exactly the same speed as if > they were on 1 HW thread (this assumes that the OS isn't hyperthreading your > application with others). > > In what way do you think threads would speed up performance? From gcanyon+rev at gmail.com Sat Jan 29 21:58:31 2011 From: gcanyon+rev at gmail.com (Geoff Canyon Rev) Date: Sat, 29 Jan 2011 20:58:31 -0600 Subject: An idea on multithreading implementation In-Reply-To: References: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> <970379.700.qm@web65406.mail.ac4.yahoo.com> Message-ID: To those proposing a SWF player, why would that be better than an improvement in native LC graphics performance? From coiin at verizon.net Sat Jan 29 22:21:37 2011 From: coiin at verizon.net (Colin Holgate) Date: Sat, 29 Jan 2011 22:21:37 -0500 Subject: LiveCode for e-book production In-Reply-To: References: Message-ID: A week tomorrow is the 19th anniversary of me moving to the US. Just before that date I had written the Expanded Books software, and the first task I had when I moved was to cowrite an Expanded Books Toolkit, that would allow you to publish your own Expanded Books. If we could do all that in HyperCard 19 years ago, I suspect you could do something similar with LC now. From capellan2000 at gmail.com Sat Jan 29 22:32:29 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 29 Jan 2011 19:32:29 -0800 (PST) Subject: An idea on multithreading implementation In-Reply-To: References: Message-ID: <1296358349668-3246832.post@n4.nabble.com> Hi Geoff, Geoff Canyon Rev wrote: > > To those proposing a SWF player, why would that be better than an > improvement in native LC graphics performance? > Better? No, I could not say this, but less time to implement... Yes, definitively less time. Notice that NeoBook had a SWF player as an optional DLL many years ago and now it's part of the default installation. And Now, for a completely unrelated display of awesomeness, visit this page with Google Chrome: http://www.effectgames.com/demos/canvascycle/ 8 bit color cycling was my second help request to Scott Raney, back in the beginning of time... :-D Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/An-idea-on-multithreading-implementation-tp3224097p3246832.html Sent from the Revolution - User mailing list archive at Nabble.com. From davidocoker at gmail.com Sat Jan 29 22:34:25 2011 From: davidocoker at gmail.com (David C.) Date: Sat, 29 Jan 2011 21:34:25 -0600 Subject: An idea on multithreading implementation In-Reply-To: References: <2922A2FA-6BA1-44C8-89D3-731B7760B15A@twft.com> <970379.700.qm@web65406.mail.ac4.yahoo.com> Message-ID: Geoff wrote: > To those proposing a SWF player, why would that be better than an > improvement in native LC graphics performance? Sorry for taking this discussion in a different direction folks as I never even looked at the title of the thread... just replied to what I read. ooophs. But since you ask Geoff, can't speak for anyone else, but the static graphics that I use for (a very few) of my projects don't require any performance enhancements. A browser control and working plugin for Linux as well as an embeddable SWF player however, opens up a lot of new territory. It's all just a matter of perspective and I hope that each group gets what they need eventually. ;) ...now back your *your* topic at hand that I'm stomping around in and trashing unmercifully. Best regards, David C. From katir at hindu.org Sun Jan 30 04:09:46 2011 From: katir at hindu.org (Sivakatirswami) Date: Sat, 29 Jan 2011 23:09:46 -1000 Subject: Htmltext: storing data in markup In-Reply-To: <4D417BB0.5060002@fourthworld.com> References: <4D417BB0.5060002@fourthworld.com> Message-ID: <4D452ADA.1050802@hindu.org> On 1/27/11 4:05 AM, Richard Gaskin wrote: > > If you may also have links in some of those runs, you may be > interested in this request for a linkData chunk property, which would > allow us to use any number of attributes in tags, returned in an > array as with clipboardData and dragData: > > "Oh Man!" how useful that would be.. get's my vote... Just thinking of what you could do: attach image(s) sound(s) custom menus to text. "magic text" for kids (think little video popping up over one word, slideshow of animals over another..) Seriously useful reference links for students and "info mining" types. Hypertext to the max. skts From david at vaudevillecourt.tv Sun Jan 30 04:34:04 2011 From: david at vaudevillecourt.tv (David Bovill) Date: Sun, 30 Jan 2011 09:34:04 +0000 Subject: Htmltext: storing data in markup In-Reply-To: <4D452ADA.1050802@hindu.org> References: <4D417BB0.5060002@fourthworld.com> <4D452ADA.1050802@hindu.org> Message-ID: linkdata would be nice, but most of the benefit we can have already by associating an array with a keyword stored in the linktext ("name=") htmltext markup. What I'm missing is the ability to markup text content and apply styles of easily extract semantic chunks of that content - the way you can do in HTML. It is also the way we could do it in LiveCode if only it did not strip out all the tags it does not care to display. What I'd like to do is apply "
....
" to sections of text in a field. I don;t care that this is not visible, because I can use that info to style the text with code - I can also store/view HTML / CSS / Javascript versions of the data. My vote would be for LiveCode to have an option to keep all the html tags it was given, but act like a basic browser control only displaying certain ones of them. An alternative would be to resurrect the "grouped text" syntax - and use div tags for this one scenario - which would make intuitive sense even if it breaks backward compatibility. On 30 January 2011 09:09, Sivakatirswami wrote: > On 1/27/11 4:05 AM, Richard Gaskin wrote: > >> >> If you may also have links in some of those runs, you may be interested in >> this request for a linkData chunk property, which would allow us to use any >> number of attributes in
tags, returned in an array as with clipboardData >> and dragData: >> >> >> > > "Oh Man!" how useful that would be.. get's my vote... > > Just thinking of what you could do: attach image(s) sound(s) custom menus > to text. > > "magic text" for kids (think little video popping up over one word, > slideshow of animals over another..) > > Seriously useful reference links for students and "info mining" types. > > Hypertext to the max. > > skts > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 30 09:19:20 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Sun, 30 Jan 2011 09:19:20 -0500 Subject: LiveCode for e-book production In-Reply-To: References: Message-ID: <504CFA5A-6DE0-44D2-B116-B8B448AFF415@gmail.com> On Jan 29, 2011, at 10:31 AM, Javier Miranda V. wrote: > Dear friends, can you please give me your opinions on using LiveCode > for e-book production?. I know LiveCode, being so powerful, can > handle complex projects involving lots of logic and structures, but > is it suitable / practical to use it for e-book production?. The > possibility of compile for the new mobile operating systems is > something wonderful that I would like to to use coupled with the > multimedia capabilities. > > I will be looking forward for your impressions about this. > > Saludos, > > Javier Miranda V. If you're talking about a system to prepare ebooks for publishing in various formats, I would be optimistic about LC's ability to manage text processing -- that is one of its strengths. The question is getting at the APIs for the ebook formats, unless you just want to prepare plain text in a decent format to be uploaded as is. Others will know more about the technical end of the various formats, but as far as text and string manipulation goes, LC is very flexible and fast. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From mkoob at rogers.com Sun Jan 30 09:20:39 2011 From: mkoob at rogers.com (Martin Koob) Date: Sun, 30 Jan 2011 06:20:39 -0800 (PST) Subject: on-rev upload limits and Amazon S3 as an alternative In-Reply-To: <1296315286999-3246264.post@n4.nabble.com> References: <1296227151863-3244672.post@n4.nabble.com> <1296239564352-3245122.post@n4.nabble.com> <1296315286999-3246264.post@n4.nabble.com> Message-ID: <1296397239883-3247176.post@n4.nabble.com> In case anyone is interested I was able to get the HMACSHA1 handlers from Mark Smith's Lib AWS to work on on-rev. It was not working because I was putting an incorrect S3path in. I was using the command s3.authenticatedUrl(tObject, tExpiry) from libAWS. I had been using the function makeobject(tBucket, tKey) from the libAWS which returned '/thebucket/theobject' which I put into tObject. When I just put "thebucket/theobject" into tObject the S3.authenticatedUrl functioned correctly created a time limited S3 URL. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-upload-limits-and-Amazon-S3-as-an-alternative-tp3244672p3247176.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Sun Jan 30 09:29:52 2011 From: coiin at verizon.net (Colin Holgate) Date: Sun, 30 Jan 2011 09:29:52 -0500 Subject: LiveCode for e-book production In-Reply-To: <504CFA5A-6DE0-44D2-B116-B8B448AFF415@gmail.com> References: <504CFA5A-6DE0-44D2-B116-B8B448AFF415@gmail.com> Message-ID: If the plan is to have LC just be a tool for gathering the bits together, and then to spit out an e-book that other tools can read, look at the EPUB format: http://en.wikipedia.org/wiki/EPUB If instead you want use LC as the book reader itself, and bring external text into it and then format it into pages and chapters, it might be worth limiting the input text to RTF. When we did this in 1992 we used a Claris extension that could read many different text formats, but I doubt that software still exists, or could work inside LC. From pmbrig at gmail.com Sun Jan 30 10:27:03 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Sun, 30 Jan 2011 10:27:03 -0500 Subject: Getting Contents of Multiple fields in order (Left-to-Right&Down) In-Reply-To: References: <0B9266DE-CFEA-4D58-B020-16472FC8DCE7@mac.com> <08592DC8-12CD-4E96-A442-83DF1C0347C9@yahoo.com> <4D445FC2.1030500@hyperactivesw.com> <0605BB02-52DD-4DF4-8F3B-D9843D7E8639@yahoo.com> <4D446C03.4030102@hyperactivesw.com> Message-ID: <496A39C6-1776-49DA-931A-DF0062DFCB87@gmail.com> On Jan 29, 2011, at 9:28 PM, John Patten wrote: > Thanks for looking into this with me! The way you (Jim) appear to > take what I did and turn it around in a fraction of the lines is > amazing! Someday I want to be able to do that :-) > > Jacqueline is correct. The fields make up a mixed up paragraph. I > have it working where it lines up the mixed up fields nicely across > and down the window. The user is to put the fields back in order. If > one of the fields is a pixel lower on a line, or when the user has > to start another line of fields below the first, there is a problem. > I like your idea Jacqueline about the drop down fields but I'm > afraid not being able to see all parts of the paragraph will make it > too challenging at a beginning level. > > I thought I could make each row of fields on the window a separate > group. This could be done when the stack creates the fields for each > line. However, that would mean that I would only have mixed up > content for each line going across, and I couldn't make the user > drag fields between lines. I want more mixed up flexibility... > > Maybe I could have the fields snap to alignment some how when the > user checks their answer and before the sort...but that still would > not eliminate the issue with the subsequent lines of fields and > their order over all... > > LiveCode doesn't do character recognition does it (OCR)? I could do > a screen capture, covert the pict to text and then check its > content ;-) ... > > Hmmm? What if the user drags the fields over a target...the target > could "suck the text" out of the field and spit it out in another > field. (This essentially would be eliminating the user to type out > their words on a keyboard.) However, how would I handle the user > wanting to change their order? Could the text chunks they drag into > the target be "special chunks" that act as quasi buttons that when > clicked on by the users recreates that specific chunk text and > deletes itself from the answer field? The user could still drag > their fields around on the screen to order them the way they want, > and then just drag them into the target one at a time. What do you > think? This seem doable? Sure. Create a number of small text fields with behavior set to a behavior button and a target button. In the behavior button script set up mousedown and mousemove handlers to handle dragging (see the archives for how to do this), and in the mousemove handler include a 'if the mouseloc is within the rect of btn "target then eatme" '. Then the on eatme handler in the card script takes the text of the target field and appends it to the display field and deletes the target field. In the display field, put a mouseup handler that hilites the clicked line briefly for user feedback then creates a new small field, sets it behavior to the behavior button, loads it with the line text, then deletes the clicked line. If that's what you want to do. Not sure why you prefer this to just dragging the lines around to reorder them in the display field. I guess it's a game that you have in mind? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From keith.clarke at clarkeandclarke.co.uk Sun Jan 30 10:39:02 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sun, 30 Jan 2011 15:39:02 +0000 Subject: Do Revlet pages have unique URLs? Message-ID: <3B6C7CF3-7757-42CC-9FB8-6FA6DC0E8BF2@clarkeandclarke.co.uk> Hi Folks, I'm looking to pull together various rev wire-frame/prototype/experiment pages for a web app project into a more structured development environment. If I migrate my various experiments into sub-stacks of a single GLX framework app (and then save this as a revlet) would individual revlet pages be externally addressable via urls within a requirements mgt database? Or does revweb work as a self-contained 'player', suggesting that I'd need to keep the various pages separate? TIA, Keith.. From jacque at hyperactivesw.com Sun Jan 30 13:35:50 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 30 Jan 2011 12:35:50 -0600 Subject: Getting Contents of Multiple fields in order (Left-to-Right&Down) In-Reply-To: References: <0B9266DE-CFEA-4D58-B020-16472FC8DCE7@mac.com> <08592DC8-12CD-4E96-A442-83DF1C0347C9@yahoo.com> <4D445FC2.1030500@hyperactivesw.com> <0605BB02-52DD-4DF4-8F3B-D9843D7E8639@yahoo.com> <4D446C03.4030102@hyperactivesw.com> Message-ID: <4D45AF86.5040604@hyperactivesw.com> On 1/29/11 8:28 PM, John Patten wrote: > I > like your idea Jacqueline about the drop down fields but I'm afraid > not being able to see all parts of the paragraph will make it too > challenging at a beginning level. I didn't exactly mean drop-down fields, I meant more what you describe here: > Hmmm? What if the user drags the fields over a target...the target > could "suck the text" out of the field and spit it out in another > field. That's pretty much what I meant, only I'd snap the whole draggable field to the desired location. I do this in my card games, where the user needs to drag an image to a stack of playing cards; when they drop the image, it snaps to the location of the "card stack". Dragging a field would be an identical process. The basic idea: Place four fields where the "sentence" should go. Turn on the showborder for the fields (so the user can see the target areas) and set traversalOn to false. These are the "target" regions. When the user drags and then drops a field, check to see if it intersects any of the target regions (you can use the "intersect" function.) If so, set the location of the dragged field to the location of the target field. That "snaps" it into place (and if you add a sound effect, it's very satisfying.) Now that the visual part is complete, put the text of the dragged field into the target field so you can read it later. The dragged field is still covering the target region so it doesn't matter what the text underneath looks like or how it's formatted. When it's time to read the sentence, you already know the order of the target fields, so you just collect their text and then empty out the targets, ready for the next time. My Klondike game is on RevOnline if you want to look, though there's probably more in there than is worth plowing through just for this example. The whole game uses this "snap" method, but it is easiest to see when you drop cards onto the top piles that build from aces up. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mcgrath3 at mac.com Sun Jan 30 15:09:00 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sun, 30 Jan 2011 15:09:00 -0500 Subject: Printing Message-ID: <760FF563-FF98-452C-8521-525180AF11E7@mac.com> Is anyone having a problem with printing? The card is offset by about 1.5 inches from the top left and no settings that I change will get it to print from the upper left corner. Thanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net From rman at free.fr Sun Jan 30 16:50:40 2011 From: rman at free.fr (Robert Mann) Date: Sun, 30 Jan 2011 13:50:40 -0800 (PST) Subject: Printing In-Reply-To: <760FF563-FF98-452C-8521-525180AF11E7@mac.com> References: <760FF563-FF98-452C-8521-525180AF11E7@mac.com> Message-ID: <1296424240132-3247709.post@n4.nabble.com> I just discovered today the magic of printing : set the printmargins property check the doc... it worked for me!! Very strange though when you don't know about it!! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Printing-tp3247599p3247709.html Sent from the Revolution - User mailing list archive at Nabble.com. From pepetoo at cox.net Sun Jan 30 17:50:30 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Sun, 30 Jan 2011 14:50:30 -0800 Subject: Printing In-Reply-To: <760FF563-FF98-452C-8521-525180AF11E7@mac.com> References: <760FF563-FF98-452C-8521-525180AF11E7@mac.com> Message-ID: Hi Tom, My current program prints centered cards with these: case "Page Setup..." set the printMargins to 48,18,18,18 answer page setup as sheet break case "Print Card" print this cd break The size of the stack is 754 x 1092 HTH, Joe Lewis Wilkins Architect & Director of Product Development for GSI On Jan 30, 2011, at 12:09 PM, Thomas McGrath III wrote: > Is anyone having a problem with printing? The card is offset by about 1.5 inches from the top left and no settings that I change will get it to print from the upper left corner. > > Thanks > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.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 pepetoo at cox.net Sun Jan 30 17:54:39 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Sun, 30 Jan 2011 14:54:39 -0800 Subject: Printing In-Reply-To: References: <760FF563-FF98-452C-8521-525180AF11E7@mac.com> Message-ID: Oh, I forgot: I also have the magnification set to 72% so that it fits on an 8.5x 11 sheet of paper. Joe Lewis Wilkins Architect & Director of Product Development for GSI On Jan 30, 2011, at 2:50 PM, Joe Lewis Wilkins wrote: > Hi Tom, > > My current program prints centered cards with these: > > case "Page Setup..." > set the printMargins to 48,18,18,18 > answer page setup as sheet > break > case "Print Card" > print this cd > break > > The size of the stack is 754 x 1092 > > HTH, > > Joe Lewis Wilkins > Architect & Director of Product Development for GSI > > > > > > > > > On Jan 30, 2011, at 12:09 PM, Thomas McGrath III wrote: > >> Is anyone having a problem with printing? The card is offset by about 1.5 inches from the top left and no settings that I change will get it to print from the upper left corner. >> >> Thanks >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> 3mcgrath at comcast.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 zryip.theslug at gmail.com Sun Jan 30 18:57:06 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Mon, 31 Jan 2011 00:57:06 +0100 Subject: [Preview]DGH adds new properties for datagrids WAS Alternating Column Colors Message-ID: Dear DataGrid users and DGH aficionados, Here is a preview video of DGH working on column colors. We worked especially to add new special properties for datagrids. An extension of the datagrid API prefixed by "dgh", such as - the dghProp["Alternate column colors"] of grp "myDataGrid" to pBoolean - the dghProp["Column color"] of grp "myDataGrid" to pColor - etc The video of DGH in action: http://www.youtube.com/user/TheSlugOnTheRoad#p/u/0/FEY18vzsFJs This feature will be available in the next version of DGH. Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From capellan2000 at gmail.com Sun Jan 30 19:58:31 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 30 Jan 2011 16:58:31 -0800 (PST) Subject: [Semi-OT] some images from our upcomming iOS LiveCode built game In-Reply-To: References: Message-ID: <1296435511301-3247885.post@n4.nabble.com> Looks great! :-D Will you post a locked stack for the rest of us, the desktop users? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Semi-OT-some-images-from-our-upcomming-iOS-LiveCode-built-game-tp3245177p3247885.html Sent from the Revolution - User mailing list archive at Nabble.com. From revdev at pdslabs.net Sun Jan 30 20:54:50 2011 From: revdev at pdslabs.net (Phil Davis) Date: Sun, 30 Jan 2011 17:54:50 -0800 Subject: Printing In-Reply-To: <760FF563-FF98-452C-8521-525180AF11E7@mac.com> References: <760FF563-FF98-452C-8521-525180AF11E7@mac.com> Message-ID: <4D46166A.7050404@pdslabs.net> Maybe the "print... into " option will make it fill the page. Phil Davis On 1/30/11 12:09 PM, Thomas McGrath III wrote: > Is anyone having a problem with printing? The card is offset by about 1.5 inches from the top left and no settings that I change will get it to print from the upper left corner. > > Thanks > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.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 > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From ambassador at fourthworld.com Sun Jan 30 21:14:31 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 30 Jan 2011 18:14:31 -0800 Subject: [OT] convert CWK to PowerPoint or OpenOffice Message-ID: <4D461B07.2020307@fourthworld.com> My gal has a few presentations she'd done in AppleWorks' SlideShow program, and she needs to run them from a Windows box in the office. I've looked all over, and I can't find a converter from AppleWorks to either PPT or OOo (other than dropping $79 for iWorks for this one-time conversion). Any other alternatives you know of to get AppleWorks slide shows into either PowerPoint of OpenOffice? Thanks - - Richard Gaskin Fourth World From simplsol at aol.com Sun Jan 30 21:27:00 2011 From: simplsol at aol.com (Paul Looney) Date: Sun, 30 Jan 2011 18:27:00 -0800 Subject: [OT] convert CWK to PowerPoint or OpenOffice In-Reply-To: <4D461B07.2020307@fourthworld.com> References: <4D461B07.2020307@fourthworld.com> Message-ID: <56CE8FF7-B304-49BD-815C-A6C55E855CE5@aol.com> Richard, This is one way: http://books.google.com/books? id=FWKPqxI2s4MC&pg=PA373&lpg=PA373&dq=export+appleworks +slides&source=bl&ots=YWD7ePxANW&sig=OcWsSCP4allOB567LYVnze7q0R8&hl=en&e i=6hxGTYS9MI7EsAPOp_iRCg&sa=X&oi=book_result&ct=result&resnum=1&ved=0CBM Q6AEwAA#v=onepage&q=export%20appleworks%20slides&f=false Probably not what you were hoping for. Paul Looney On Jan 30, 2011, at 6:14 PM, Richard Gaskin wrote: > My gal has a few presentations she'd done in AppleWorks' SlideShow > program, and she needs to run them from a Windows box in the office. > > I've looked all over, and I can't find a converter from AppleWorks > to either PPT or OOo (other than dropping $79 for iWorks for this > one-time conversion). > > Any other alternatives you know of to get AppleWorks slide shows > into either PowerPoint of OpenOffice? > > Thanks - > > - Richard Gaskin > Fourth World > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From martyknapp at comcast.net Sun Jan 30 21:30:56 2011 From: martyknapp at comcast.net (Marty Knapp) Date: Sun, 30 Jan 2011 18:30:56 -0800 Subject: [OT] convert CWK to PowerPoint or OpenOffice In-Reply-To: <4D461B07.2020307@fourthworld.com> References: <4D461B07.2020307@fourthworld.com> Message-ID: <4D461EE0.5010504@comcast.net> Richard, The Mac App Store has the individual programs of the iWorks package available for $20 each. Marty Knapp > My gal has a few presentations she'd done in AppleWorks' SlideShow > program, and she needs to run them from a Windows box in the office. > > I've looked all over, and I can't find a converter from AppleWorks to > either PPT or OOo (other than dropping $79 for iWorks for this > one-time conversion). > > Any other alternatives you know of to get AppleWorks slide shows into > either PowerPoint of OpenOffice? > > Thanks - > > - Richard Gaskin > Fourth World > From mcgrath3 at mac.com Sun Jan 30 21:50:48 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sun, 30 Jan 2011 21:50:48 -0500 Subject: [OT] convert CWK to PowerPoint or OpenOffice In-Reply-To: <4D461B07.2020307@fourthworld.com> References: <4D461B07.2020307@fourthworld.com> Message-ID: Richard, If you don't find a solution please feel free to send them to me and I will be glad to convert them for you. I have iWork and PPT but no longer have Appleworks. If I don't need the AW and can open them in iWork then go ahead and send them to me. I'm up for another hour or so here tonight. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Jan 30, 2011, at 9:14 PM, Richard Gaskin wrote: > My gal has a few presentations she'd done in AppleWorks' SlideShow program, and she needs to run them from a Windows box in the office. > > I've looked all over, and I can't find a converter from AppleWorks to either PPT or OOo (other than dropping $79 for iWorks for this one-time conversion). > > Any other alternatives you know of to get AppleWorks slide shows into either PowerPoint of OpenOffice? > > Thanks - > > - Richard Gaskin > Fourth World > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Sun Jan 30 22:51:59 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 30 Jan 2011 19:51:59 -0800 Subject: [OT] convert CWK to PowerPoint or OpenOffice Message-ID: <4D4631DF.8090000@fourthworld.com> Thank you Marty, Paul, and esp. Thomas with this generous offer: > Richard, If you don't find a solution please feel free to send > them to me and I will be glad to convert them for you. I have > iWork and PPT but no longer have Appleworks. If I don't need > the AW and can open them in iWork then go ahead and send them > to me. I'm up for another hour or so here tonight. For the moment we've decided to just print to PDF from the Mac and use the PDF player's presentation mode to run it. Since it just need to be run on Window and not edited there, the PDF option works well for now. Later on we'll migrate all of the old CWKs to a new format - and definitely not one from a sole-source proprietary vendor, but will be using OpenOffice for storage going forward. At this point every serious tool supports OO in an out, and being open source OO can never die. Thanks again for the tips, and Thomas your generosity is much appreciated here. - Richard Gaskin Fourth World From irog at mac.com Sun Jan 30 22:53:53 2011 From: irog at mac.com (Roger Guay) Date: Sun, 30 Jan 2011 20:53:53 -0700 Subject: [ANN] Revision to TimeMachine Message-ID: <40D457E1-6CF0-459C-8736-B121BA131802@mac.com> I revised TimeMachine to include David Bovill's suggestions of including an auto-run mode and the ability to add and edit events. I also cleaned it up a bit. You may recall that TimeMachine is intended to promote a truer sense of perspective of the timescales of events relative to the enormous 13.7 billion year age of the universe. It allows the user to select various timescales, and then to move through that time span to view images of events. Since I have been unsuccessful in uploading the real stack to Rev Online, I uploaded a faux stack that links to the download page of my website: http://web.me.com/irog/Roger_Guay/Downloads.html So you can go to RevOnline, or go to my website directly . . . your choice. Thanks, cheers and enjoy, Roger Guay From alex at harryscollar.com Sun Jan 30 23:03:46 2011 From: alex at harryscollar.com (Alex Shaw) Date: Mon, 31 Jan 2011 14:03:46 +1000 Subject: MP3 audio playback on iOS In-Reply-To: <40D457E1-6CF0-459C-8736-B121BA131802@mac.com> References: <40D457E1-6CF0-459C-8736-B121BA131802@mac.com> Message-ID: <4D4634A2.4090808@harryscollar.com> Hi Just read the short article in the latest revup on playing audio on iOS. I don't have lc for iOS and was wandering if it is possible to play MP3 audio on iOS? or Can you use a player object to playback any quicktime compatible file? regards alex From pete at mollysrevenge.com Mon Jan 31 00:56:29 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Sun, 30 Jan 2011 21:56:29 -0800 Subject: [OT] convert CWK to PowerPoint or OpenOffice In-Reply-To: <4D4631DF.8090000@fourthworld.com> References: <4D4631DF.8090000@fourthworld.com> Message-ID: <3764A547-AF7B-409A-AF68-934240D61C85@mollysrevenge.com> Richard, I haven't used its Presentation tool, but Google docs has served me well for both word processing and Spreadsheets and can import/Export in WOrd/OO format for those types of docs. Pete Haworth On Jan 30, 2011, at 7:51 PM, Richard Gaskin wrote: > Thank you Marty, Paul, and esp. Thomas with this generous offer: > > > Richard, If you don't find a solution please feel free to send > > them to me and I will be glad to convert them for you. I have > > iWork and PPT but no longer have Appleworks. If I don't need > > the AW and can open them in iWork then go ahead and send them > > to me. I'm up for another hour or so here tonight. > > For the moment we've decided to just print to PDF from the Mac and use the PDF player's presentation mode to run it. Since it just need to be run on Window and not edited there, the PDF option works well for now. > > Later on we'll migrate all of the old CWKs to a new format - and definitely not one from a sole-source proprietary vendor, but will be using OpenOffice for storage going forward. At this point every serious tool supports OO in an out, and being open source OO can never die. > > Thanks again for the tips, and Thomas your generosity is much appreciated here. > > - Richard Gaskin > Fourth World > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From john at splash21.com Mon Jan 31 04:02:02 2011 From: john at splash21.com (John Craig) Date: Mon, 31 Jan 2011 09:02:02 +0000 Subject: [Semi-OT] some images from our upcomming iOS LiveCode built game In-Reply-To: References: Message-ID: <4D467A8A.1010609@splash21.com> Great teaser - I'm looking forward to the game! On 28/01/2011 19:04, Andre Garzia wrote: > Folks, > > Following the friday spirit, I share with you guys some images from > our upcoming LiveCode built iOS Game. Be aware that all this is still > work in progress. Our game is a unique twist on code breaking + > adventure game. > > (our development phase main screen) > http://dl.dropbox.com/u/1340110/img_0432.png > > (our maian level) > http://dl.dropbox.com/u/1340110/img_0433.png > > (our japan level) > http://dl.dropbox.com/u/1340110/img_0434.png > > (our norsk level) > http://dl.dropbox.com/u/1340110/img_0435.png > > The game is being developed by me and my friends on our spare time and > we hope will reach beta status soon. > > I am not the artist, I am just the coder, my friend Raphael is the > artist and he is quite gifted. > > Cheers > andre > PS: as soon as it is ready, we'll let everyone here know > From tkuypers at telenet.be Mon Jan 31 06:41:36 2011 From: tkuypers at telenet.be (tkuypers at telenet.be) Date: Mon, 31 Jan 2011 12:41:36 +0100 Subject: semi[OT] Preview of Intelli-Pubs Message-ID: Just a shameless message, because I'm kinda proud of my latest LiveCode project... I know that there are a few graphical coders are among us, so it is not only "showing off", but some of you might actually have use to it. Intelli-Pubs is a range of editions of InDesign tools, assisting graphic designers to manage their InDesign files, when dealing with various output formats. The challenge at this moment is the following: 1 master design e.g. and advertisement at A4 size. This master design needs to be converted to 5 different sizes for different magazines. This brings the total to 6 source artwork files. 3 magazines also have an iPad version of the magazine, 2 different sizes needed of each ad This brings the total to 12 source artwork files. 1 of them also publishes on the Galaxy Pad, so 2 more sizes need to be created: total of 14 source InDesign documents. And 2 magazines also run an iPhone version, 4 jPeg files needed of each, so in the worst case, 22 source files in total. For print, the first 5 ads need to be exported to PDF files, some of them PDF-X4, other publishers demand different output settings for their PDFs. And for the iPhone, iPad and GalaxyPad the publishers need Jpeg Files. And about 10 minutes before deadline, the customer calls and demands the phone number to be changed... It is just a small change, so please make it happen... Changing the phone number means opening 22 InDesign files and exporting them again to the correct output format. No, of course there won't be any mistakes, no of course we will meet deadlines... NOT!!! That's where Intelli-Pubs kicks in :-) Managing and using all different specs of publishers, smart-conversion of InDesign artwork to various sizes, and much more. Please take a look at some screenshots at http://www.intelli-pubs.com, look forward to some reactions. Met vriendelijke groeten, Warm Regards, Ton Kuypers +32 (0) 477 739 530 Aardbemden 11 ? B-2400 ? Mol ? Belgium www.publishingtools4u.com From coiin at verizon.net Mon Jan 31 07:01:26 2011 From: coiin at verizon.net (Colin Holgate) Date: Mon, 31 Jan 2011 07:01:26 -0500 Subject: knowing when there is no activity Message-ID: <9F59A4C7-84A9-4362-A425-48C3C3FA45A7@verizon.net> In Director you can set a timeoutlength, after which a timeout event is sent. The length represents the amount of time that there is no user activity. Is there a similar thing in LC? From bvg at mac.com Mon Jan 31 07:18:45 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 31 Jan 2011 13:18:45 +0100 Subject: knowing when there is no activity In-Reply-To: <9F59A4C7-84A9-4362-A425-48C3C3FA45A7@verizon.net> References: <9F59A4C7-84A9-4362-A425-48C3C3FA45A7@verizon.net> Message-ID: <4CCD4251-8D29-4B11-AA0E-501FB97D94A4@mac.com> there's idle, but adjusting the idleRate has several, mostly unwanted side effects with repeating, build in messages like mouseStillDown. Still, if you remember to reset it to default at the correct moments, it's probably useable for what you want. On 31 Jan 2011, at 13:01, Colin Holgate wrote: > In Director you can set a timeoutlength, after which a timeout event is sent. The length represents the amount of time that there is no user activity. Is there a similar thing in LC? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 31 07:23:52 2011 From: coiin at verizon.net (Colin Holgate) Date: Mon, 31 Jan 2011 07:23:52 -0500 Subject: knowing when there is no activity In-Reply-To: <4CCD4251-8D29-4B11-AA0E-501FB97D94A4@mac.com> References: <9F59A4C7-84A9-4362-A425-48C3C3FA45A7@verizon.net> <4CCD4251-8D29-4B11-AA0E-501FB97D94A4@mac.com> Message-ID: On Jan 31, 2011, at 7:18 AM, Bj?rnke von Gierke wrote: > there's idle, but adjusting the idleRate has several, mostly unwanted side effects with repeating, build in messages like mouseStillDown. Still, if you remember to reset it to default at the correct moments, it's probably useable for what you want. I know of many different work arounds if LC doesn't have a timeout feature, but thought that it's worth asking first. From andre at andregarzia.com Mon Jan 31 07:57:02 2011 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 31 Jan 2011 10:57:02 -0200 Subject: on livecode based idea (was Re: An idea on multithreading implementation) Message-ID: Folks, >From working with livecode based servers for some year, I've drafted a little plan about co-routines. I don't have access to the engine internals, so when I think about solving a problem, I try to think in terms of the livecode interface that is exposed to us. Even though I would welcome threads, process forking and whatever, there is a way to create co-routines in livecode by extending some simple routines. What I will tell on this email will not add performance but it may add some advantadge on how to express things. The problem with "wait with 0 ticks" and other send in time routines is that state is not preserved and that we cannot yield to the middle of a handler. Our problem is not switching handlers, our problem is state maintenance. So let us get the ball rolling. The first thing we need is a way to freeze a computation in time. By checking "the variableNames" (http://docs.runrev.com/Function/variableNames) and looping thru "the executionContexts" (http://docs.runrev.com/Property/executionContexts) it is possible to get an "instantaneous image" of what the engine is doing. Now, looping "the pendingMessages" (http://docs.runrev.com/Property/pendingMessages) as well would get what more is happening alongside the given script. We could then save all this information in what I will call for the lack of better term "the current continuation" (it is not a true continuation). So after the above steps we have a chunk of what is happening saved and stored. We now need a way to invoke a continuation, to restore a given piece of state. Right now, I think the only way to do it (or to fake it) is to use the debug routines. I think that is is possible to create a script runtime breakpoint, then, by execution it with the debug routines and stopping there, it is possible to manipulate the environment to load the state that was preserved before. This script should have the local and script local and global declarations needed for the given state, then we change all these variables to contain the data preserved from the desired continuation, we schedule the pendingMessages as well. Now the tricky thing is, we need an enhancement to the debugDo or some other debug internal command to start executing a script from a specific line. The executionContexts need to be used both ways, not only to peer on how we got to some place but set so that we can restore a previous state. If we could set the executionContexts and the next debugDo command would follow the natural computation from the current set executionContexts, we would be all set. So trough the use of a save state routine in pure LiveCode script we could save a continuation for later use. Using LiveCode powerful debug routines with some enhancements, we would then be able to restore to a given state in time. These two routines would be the basis that would enable us to do the following items: CO-ROUTINES (cooperative) A simple scheduler would save and restore states using cooperative threads where a given handler would call "yield" which would save his current state and then be restored to that exact point when the scheduler calls it again BACKTRACKING Some powerful decision making algorithms could be implemented. A script could branch into multiple paths to solve a problem and if found a wrong answer, it could chain call the restore state function effectively backtracking in time all its contexts and variables till the point of the branching where it could then follow some other branch. Backtracking is cool because once you found the correct decision path you were looking for it appears that you have a straight path since all the wrong options were erased due to backtracking. Think of it like solving a maze, every time you take a wrong turn, you erase everything until the given turn and then you continue from there to the other turn. When you solve the maze, you can see a straight path from your start position to the exit with not a single error. If you can't think of a practical use for backtracking, let me tell you two: 1) Error handling: Oops an error happened, backtrack until you solve it, no side effects. 2) Brute force anything: brute force something until you have the correct answer. CONTINUATION-PASSING STYLE WEB PROGRAMMING This is the big one for me. The main bad thing that hurt all web developers is that the web is stateless. There is a lot of code in anyones project to deal with sessions and finding where in the computation (in time) some user is. Requests all looks the same, you need to peek into cookies, hidden vars, urls until you find what you should be doing. This is a pain when trying to do things that need to happen in order with input from the user. For example, doing multiple page forms with runtime decisions about what to show is hard due to all the state maintenance. If we had continuations, we could simply save all the computation, present the page to the user and when he return, we restore the computation. This makes stateless web code look stateful, you can code like there is a single user going from point A to point B with no interruption. more info at: (http://en.wikipedia.org/wiki/Continuation-passing_style) CONCLUSION See with some simple additions to executionContexts so that it is settable, we can have so many goodies that would make our language so much powerful. If state can be saved and restored, it can also be manipulated and shared. This open up so many possibilities that simple threading or forking cannot compare. Even if this system is slow and not on par for doing fast game graphics, it still has its place. From andre at andregarzia.com Mon Jan 31 08:00:04 2011 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 31 Jan 2011 11:00:04 -0200 Subject: LiveCode for e-book production In-Reply-To: References: <504CFA5A-6DE0-44D2-B116-B8B448AFF415@gmail.com> Message-ID: EPUB format is easy but it is full of namespaces. LiveCode can generate and read epubs but you need some hacks to change those namespaces. I did some research on that and so did Sivakatirswami. On Sun, Jan 30, 2011 at 12:29 PM, Colin Holgate wrote: > If the plan is to have LC just be a tool for gathering the bits together, and then to spit out an e-book that other tools can read, look at the EPUB format: > > http://en.wikipedia.org/wiki/EPUB > > If instead you want use LC as the book reader itself, and bring external text into it and then format it into pages and chapters, it might be worth limiting the input text to RTF. When we did this in 1992 we used a Claris extension that could read many different text formats, but I doubt that software still exists, or could work inside LC. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Mon Jan 31 08:01:41 2011 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 31 Jan 2011 11:01:41 -0200 Subject: Do Revlet pages have unique URLs? In-Reply-To: <3B6C7CF3-7757-42CC-9FB8-6FA6DC0E8BF2@clarkeandclarke.co.uk> References: <3B6C7CF3-7757-42CC-9FB8-6FA6DC0E8BF2@clarkeandclarke.co.uk> Message-ID: Keith, One revlet will not be able to access other revlet unless you load them all in the same page and use something like "do ... in browser" to communicate which would be hard since you would need to create all the communication channel. Why not loading all the stacks in the same revlet? Andre On Sun, Jan 30, 2011 at 1:39 PM, Keith Clarke wrote: > Hi Folks, > I'm looking to pull together various rev wire-frame/prototype/experiment pages for a web app project into a more structured development environment. If I migrate my various experiments into sub-stacks of a single GLX framework app (and then save this as a revlet) would individual revlet pages be externally addressable via urls within a requirements mgt database? Or does revweb work as a self-contained 'player', suggesting that I'd need to keep the various pages separate? > TIA, > Keith.. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Mon Jan 31 08:09:10 2011 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 31 Jan 2011 11:09:10 -0200 Subject: [Semi-OT] some images from our upcomming iOS LiveCode built game In-Reply-To: <4D467A8A.1010609@splash21.com> References: <4D467A8A.1010609@splash21.com> Message-ID: Folks, we'll also have a desktop version! :-D As soon as it is ready, I will let all know, happy you guys liked it! Cheers andre On Mon, Jan 31, 2011 at 7:02 AM, John Craig wrote: > Great teaser - I'm looking forward to the game! > > > > On 28/01/2011 19:04, Andre Garzia wrote: >> >> Folks, >> >> Following the friday spirit, I share with you guys some images from >> our upcoming LiveCode built iOS Game. Be aware that all this is still >> work in progress. Our game is a unique twist on code breaking + >> adventure game. >> >> (our development phase main screen) >> http://dl.dropbox.com/u/1340110/img_0432.png >> >> (our maian level) >> http://dl.dropbox.com/u/1340110/img_0433.png >> >> (our japan level) >> http://dl.dropbox.com/u/1340110/img_0434.png >> >> (our norsk level) >> http://dl.dropbox.com/u/1340110/img_0435.png >> >> The game is being developed by me and my friends on our spare time and >> we hope will reach beta status soon. >> >> I am not the artist, I am just the coder, my friend Raphael is the >> artist and he is quite gifted. >> >> Cheers >> andre >> PS: as soon as it is ready, we'll let everyone here 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 > -- http://www.andregarzia.com All We Do Is Code. From keith.clarke at clarkeandclarke.co.uk Mon Jan 31 08:27:00 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Mon, 31 Jan 2011 13:27:00 +0000 Subject: Do Revlet pages have unique URLs? In-Reply-To: References: <3B6C7CF3-7757-42CC-9FB8-6FA6DC0E8BF2@clarkeandclarke.co.uk> Message-ID: <0FD0420B-F8EB-4FC7-911D-DCD6D8107FEA@clarkeandclarke.co.uk> Andre, Thanks for responding. The question isn't about whether revlets can access other revlets but whether specific revlet stack/card/pages have externally available URLs to open them directly. I'm collaborating on a functional specification document (probably in a Google Doc) and would like to embed hyperlinks to specific cards within a 'wire-frames' revlet that I upload onto my VPS. I therefore need either: 1. A single revlet, with externally addressable URLs for each page that it generates - if page-specific URLs are created and available outside the revplayer; 2. Separate revlets for each wire-frame or demo environment - if each revlet is self-contained; I'd prefer option (1) if it is possible, so that requirements can be linked to different start-points within a single prototype application, but can I access multiple URLs within a revlet - or pass parameters after a single main URL to open a specific stack or card? Best, Keith.. On 31 Jan 2011, at 13:01, Andre Garzia wrote: > Keith, > > One revlet will not be able to access other revlet unless you load > them all in the same page and use something like "do ... in browser" > to communicate which would be hard since you would need to create all > the communication channel. > > Why not loading all the stacks in the same revlet? > > Andre > > On Sun, Jan 30, 2011 at 1:39 PM, Keith Clarke > wrote: >> Hi Folks, >> I'm looking to pull together various rev wire-frame/prototype/experiment pages for a web app project into a more structured development environment. If I migrate my various experiments into sub-stacks of a single GLX framework app (and then save this as a revlet) would individual revlet pages be externally addressable via urls within a requirements mgt database? Or does revweb work as a self-contained 'player', suggesting that I'd need to keep the various pages separate? >> TIA, >> Keith.. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jemirandav at gmail.com Mon Jan 31 08:31:03 2011 From: jemirandav at gmail.com (Javier Miranda V.) Date: Mon, 31 Jan 2011 09:31:03 -0400 Subject: LiveCode for e-book production Message-ID: <5E3CE5BC-78EA-4B52-A034-F7715DD236A1@gmail.com> As I can tell by your responses I find LC can effectively be used as tool for e-book preparation and also as a reader. Thank you for your responses, now it?s something related on establishing the scope of the project. The idea would be to produce a reader capable to reading publications created with LC, which would include all the multimedia amenities, navigation, internal and external links. Saludos, Javier Miranda V. From andre at andregarzia.com Mon Jan 31 08:33:32 2011 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 31 Jan 2011 11:33:32 -0200 Subject: Do Revlet pages have unique URLs? In-Reply-To: <0FD0420B-F8EB-4FC7-911D-DCD6D8107FEA@clarkeandclarke.co.uk> References: <3B6C7CF3-7757-42CC-9FB8-6FA6DC0E8BF2@clarkeandclarke.co.uk> <0FD0420B-F8EB-4FC7-911D-DCD6D8107FEA@clarkeandclarke.co.uk> Message-ID: Keith, The revlet is hosted at a web page, you can have different web pages for each revlet so they will have unique urls. If doing revlets, check out my library at http://hg.andregarzia.com/revletobject (check the wiki) it has some nice loading routines for revlets, easier than using the one RunRev is using. Andre On Mon, Jan 31, 2011 at 11:27 AM, Keith Clarke wrote: > Andre, Thanks for responding. The question isn't about whether revlets can access other revlets but whether specific revlet stack/card/pages have externally available URLs to open them directly. > > I'm collaborating on a functional specification document (probably in a Google Doc) and would like to embed hyperlinks to specific cards within a 'wire-frames' revlet that I upload onto my VPS. I therefore need either: > 1. A single revlet, with externally addressable URLs for each page that it generates - if page-specific URLs are created and available outside the revplayer; > 2. Separate revlets for each wire-frame or demo environment - if each revlet is self-contained; > > I'd prefer option (1) if it is possible, so that requirements can be linked to different start-points within a single prototype application, but can I access multiple URLs within a revlet - or pass parameters after a single main URL to open a specific stack or card? > Best, > Keith.. > > On 31 Jan 2011, at 13:01, Andre Garzia wrote: > >> Keith, >> >> One revlet will not be able to access other revlet unless you load >> them all in the same page and use something like "do ... in browser" >> to communicate which would be hard since you would need to create all >> the communication channel. >> >> Why not loading all the stacks in the same revlet? >> >> Andre >> >> On Sun, Jan 30, 2011 at 1:39 PM, Keith Clarke >> wrote: >>> Hi Folks, >>> I'm looking to pull together various rev wire-frame/prototype/experiment pages for a web app project into a more structured development environment. If I migrate my various experiments into sub-stacks of a single GLX framework app (and then save this as a revlet) would individual revlet pages be externally addressable via urls within a requirements mgt database? Or does revweb work as a self-contained 'player', suggesting that I'd need to keep the various pages separate? >>> TIA, >>> Keith.. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> >> -- >> http://www.andregarzia.com All We Do Is Code. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Mon Jan 31 08:35:39 2011 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 31 Jan 2011 11:35:39 -0200 Subject: LiveCode for e-book production In-Reply-To: <5E3CE5BC-78EA-4B52-A034-F7715DD236A1@gmail.com> References: <5E3CE5BC-78EA-4B52-A034-F7715DD236A1@gmail.com> Message-ID: Javier, It will be hard to do pure livecode solution for reading epubs, but if you mix in some revbrowser magic, then it can be done easily. Just unzip the epub container, rewrite some HTMLs to a temp place and load them. Andre On Mon, Jan 31, 2011 at 11:31 AM, Javier Miranda V. wrote: > As I can tell by your responses I find LC can effectively be used as tool for e-book preparation and also as a reader. ?Thank you for your responses, now it?s something related on establishing the scope of the project. ?The idea would be to produce a reader capable to reading publications created with LC, which would include all the multimedia amenities, navigation, internal and external links. > > > > Saludos, > > Javier Miranda V. > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From keith.clarke at clarkeandclarke.co.uk Mon Jan 31 10:22:54 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Mon, 31 Jan 2011 15:22:54 +0000 Subject: Do Revlet pages have unique URLs? In-Reply-To: References: <3B6C7CF3-7757-42CC-9FB8-6FA6DC0E8BF2@clarkeandclarke.co.uk> <0FD0420B-F8EB-4FC7-911D-DCD6D8107FEA@clarkeandclarke.co.uk> Message-ID: <0A414458-7891-4F12-BC57-25AE5F742B4C@clarkeandclarke.co.uk> Andre, Thanks for sharing. As your revletobject.load script has 'src', 'stack' and 'id' parameters, it looks like I can get 'inside' the revlet, to open on a specific stack - that makes the single revlet with multiple start-points seem feasible. Great! If I understand this correctly, if I place this javascript into a holding page for a demo revlet - and then hard-code the stack parameters - the page will launch the demo revlet, focused on the desired stack - nice! Furthermore, a single demo page could be used to dynamically launch the revlet with the desired stack focus. If I create my functional specification in a spreadsheet or database, with columns for the demonstration revlet & stack parameters, a formula can generate the 'demo' URL with these parameters after a '?' character. Then, I can add to your Javascript, some code that extracts the URL parameters into variables and then launches the demo revlet into the correct stack. I'm off to learn a bit about Javascript URL extract functions! Thanks, Keith.. On 31 Jan 2011, at 13:33, Andre Garzia wrote: > Keith, > > The revlet is hosted at a web page, you can have different web pages > for each revlet so they will have unique urls. If doing revlets, check > out my library at http://hg.andregarzia.com/revletobject (check the > wiki) it has some nice loading routines for revlets, easier than using > the one RunRev is using. > > Andre > > On Mon, Jan 31, 2011 at 11:27 AM, Keith Clarke > wrote: >> Andre, Thanks for responding. The question isn't about whether revlets can access other revlets but whether specific revlet stack/card/pages have externally available URLs to open them directly. >> >> I'm collaborating on a functional specification document (probably in a Google Doc) and would like to embed hyperlinks to specific cards within a 'wire-frames' revlet that I upload onto my VPS. I therefore need either: >> 1. A single revlet, with externally addressable URLs for each page that it generates - if page-specific URLs are created and available outside the revplayer; >> 2. Separate revlets for each wire-frame or demo environment - if each revlet is self-contained; >> >> I'd prefer option (1) if it is possible, so that requirements can be linked to different start-points within a single prototype application, but can I access multiple URLs within a revlet - or pass parameters after a single main URL to open a specific stack or card? >> Best, >> Keith.. >> >> On 31 Jan 2011, at 13:01, Andre Garzia wrote: >> >>> Keith, >>> >>> One revlet will not be able to access other revlet unless you load >>> them all in the same page and use something like "do ... in browser" >>> to communicate which would be hard since you would need to create all >>> the communication channel. >>> >>> Why not loading all the stacks in the same revlet? >>> >>> Andre >>> >>> On Sun, Jan 30, 2011 at 1:39 PM, Keith Clarke >>> wrote: >>>> Hi Folks, >>>> I'm looking to pull together various rev wire-frame/prototype/experiment pages for a web app project into a more structured development environment. If I migrate my various experiments into sub-stacks of a single GLX framework app (and then save this as a revlet) would individual revlet pages be externally addressable via urls within a requirements mgt database? Or does revweb work as a self-contained 'player', suggesting that I'd need to keep the various pages separate? >>>> TIA, >>>> Keith.. >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> >>> -- >>> http://www.andregarzia.com All We Do Is Code. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Mon Jan 31 10:40:06 2011 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 31 Jan 2011 13:40:06 -0200 Subject: Do Revlet pages have unique URLs? In-Reply-To: <0A414458-7891-4F12-BC57-25AE5F742B4C@clarkeandclarke.co.uk> References: <3B6C7CF3-7757-42CC-9FB8-6FA6DC0E8BF2@clarkeandclarke.co.uk> <0FD0420B-F8EB-4FC7-911D-DCD6D8107FEA@clarkeandclarke.co.uk> <0A414458-7891-4F12-BC57-25AE5F742B4C@clarkeandclarke.co.uk> Message-ID: Keith, Yes, I think it is feasible to have a single revlet with multiple stacks and different entry points based on the stack parameter. Or you can have a dispatch stack and use the javascript params array to hold information which will be used by the dispatch stack load load whatever stack you need. This way you can have more arbitration than just a stack name if needed. Extracting URL parameters is not hard but if you want to make it extremely easy check out: http://menacingcloud.com/?c=uriProcessing this is just one of the many libraries that make it easy to do it. If you want to do it by hand, it is just a manipulation on "window.location" and its members. Cheers andre On Mon, Jan 31, 2011 at 1:22 PM, Keith Clarke wrote: > Andre, > Thanks for sharing. > > As your revletobject.load script has 'src', 'stack' and 'id' parameters, it looks like I can get 'inside' the revlet, to open on a specific stack - that makes the single revlet with multiple start-points seem feasible. Great! > > If I understand this correctly, if I place this javascript into a holding page for a demo revlet - and then hard-code the stack parameters - the page will launch the demo revlet, focused on the desired stack - nice! > > Furthermore, a single demo page could be used to dynamically launch the revlet with the desired stack focus. If I create my functional specification in a spreadsheet or database, with columns for the demonstration revlet & stack parameters, a formula can generate the 'demo' URL with these parameters after a '?' character. Then, I can add to your Javascript, some code that extracts the URL parameters into variables and then launches the demo revlet into the correct stack. > > I'm off to learn a bit about Javascript URL extract functions! > Thanks, > Keith.. > > On 31 Jan 2011, at 13:33, Andre Garzia wrote: > >> Keith, >> >> The revlet is hosted at a web page, you can have different web pages >> for each revlet so they will have unique urls. If doing revlets, check >> out my library at http://hg.andregarzia.com/revletobject (check the >> wiki) it has some nice loading routines for revlets, easier than using >> the one RunRev is using. >> >> Andre >> >> On Mon, Jan 31, 2011 at 11:27 AM, Keith Clarke >> wrote: >>> Andre, Thanks for responding. The question isn't about whether revlets can access other revlets but whether specific revlet stack/card/pages have externally available URLs to open them directly. >>> >>> I'm collaborating on a functional specification document (probably in a Google Doc) and would like to embed hyperlinks to specific cards within a 'wire-frames' revlet that I upload onto my VPS. I therefore need either: >>> 1. A single revlet, with externally addressable URLs for each page that it generates - if page-specific URLs are created and available outside the revplayer; >>> 2. Separate revlets for each wire-frame or demo environment - if each revlet is self-contained; >>> >>> I'd prefer option (1) if it is possible, so that requirements can be linked to different start-points within a single prototype application, but can I access multiple URLs within a revlet - or pass parameters after a single main URL to open a specific stack or card? >>> Best, >>> Keith.. >>> >>> On 31 Jan 2011, at 13:01, Andre Garzia wrote: >>> >>>> Keith, >>>> >>>> One revlet will not be able to access other revlet unless you load >>>> them all in the same page and use something like "do ... in browser" >>>> to communicate which would be hard since you would need to create all >>>> the communication channel. >>>> >>>> Why not loading all the stacks in the same revlet? >>>> >>>> Andre >>>> >>>> On Sun, Jan 30, 2011 at 1:39 PM, Keith Clarke >>>> wrote: >>>>> Hi Folks, >>>>> I'm looking to pull together various rev wire-frame/prototype/experiment pages for a web app project into a more structured development environment. If I migrate my various experiments into sub-stacks of a single GLX framework app (and then save this as a revlet) would individual revlet pages be externally addressable via urls within a requirements mgt database? Or does revweb work as a self-contained 'player', suggesting that I'd need to keep the various pages separate? >>>>> TIA, >>>>> Keith.. >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> >>>> >>>> -- >>>> http://www.andregarzia.com All We Do Is Code. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> >> -- >> http://www.andregarzia.com All We Do Is Code. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From DunbarX at aol.com Mon Jan 31 10:51:13 2011 From: DunbarX at aol.com (DunbarX at aol.com) Date: Mon, 31 Jan 2011 10:51:13 EST Subject: dgText Message-ID: <3c3e.746f30cc.3a783471@aol.com> There is no entry for this property in the dictionary. Or any other datagrid properties. Is it just me? From bobs at twft.com Mon Jan 31 11:51:59 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 31 Jan 2011 08:51:59 -0800 Subject: Alternating Column Colors? In-Reply-To: <4D446991.9060204@pdslabs.net> References: <689BFF5A-E660-461B-B188-E8120C77FDEA@twft.com> <4D446991.9060204@pdslabs.net> Message-ID: Wait, you can do this even if there is no data if the data grid? Bob On Jan 29, 2011, at 11:25 AM, Phil Davis wrote: > Scott, > > Each cell in a data grid is a field, so it seems like it should be doable. > > I created a DG and put some data in it. Then I did this from msg: > > put the number of flds in selobj -- DG was selected > --> 57 > > put the name of fld 44 of selobj > --> field "Status 0008" > > My DG has a column named "Status". > > After further poking around, I see: > - each DG cell is a field > - the number of fields is related to the display rect of the DG, not to the number of lines of data in it > - fields are recreated when the DG's data is changed > - every field in the DG has a style of 'transparent' > - you can set a field's style to opaque and then any backColor you apply to it will show up > - the style changes you make seem to stick until the DG data is changed > > Maybe some of the above will help you on your way. > > Phil > > > > On 1/28/11 3:54 PM, Bob Sneidar wrote: >> Oh cool! Then you could make a chess or checkers game! I get it! >> >> I read the API and none of the properties suggests you can do this. I think you will have to find the part of the parent script that draws the cells and change the background color on each one individually for odd or even rows. >> >> The problem will then become, what happens if there is no data? Rows get colored even if there is no data, but no actual cells (cloned fields) get created until there is data. >> >> I tried to edit the row template and put a colored square over the gray bar, but mine is a table not a form. You might be able to do it in a form, I'm not sure. At any rate it didn't work for me. >> >> Bob >> >> >> On Jan 28, 2011, at 1:55 PM, Scott Rossi wrote: >> >>> Hi List: >>> >>> The data grid nicely incorporates alternating line colors. But does anyone >>> know if it's possible to make alternating column colors or cell colors? >>> >>> I'm building a control that has a horizontal scrolling data grid with only >>> one row. I'd like to be able to set alternating colors for cells or columns >>> in the row. Possible? >>> >>> 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 >> > > -- > Phil Davis > > PDS Labs > Professional Software Development > http://pdslabs.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Jan 31 11:57:48 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 31 Jan 2011 08:57:48 -0800 Subject: An idea on multithreading implementation In-Reply-To: References: Message-ID: <26FF0242-ECC8-4ADD-B955-E29F7F6B1A95@twft.com> Well now that there is Livecode for iApps, a lot of people may want it, but I for one am never going to develop a game, even a simple one. Bob On Jan 29, 2011, at 5:06 PM, Alejandro Tejada wrote: > Hi All, > > It's nice to read discussions about features that > enhance this platform, but now I have one doubt: > > How many developers (who use Livecode) want > to see this platform converted in a game engine? > > Notice that the only DLL in my wish list for this > platform is a SWF player, that allows to run > movies inside a stack, just like the Quicktime > externals. I do not want to see a Timeline > in this platform... > > At least in my mind, you could not build (easily) > the kind of applications created with Livecode > if it were a game engine. Am I wrong? > > Or There are no boundaries anymore among > Software Development tools? > > Al > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Jan 31 12:02:22 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 31 Jan 2011 09:02:22 -0800 Subject: [Preview]DGH adds new properties for datagrids WAS Alternating Column Colors In-Reply-To: References: Message-ID: <1D5A8AED-4D10-4965-9754-98B41FDD5E8D@twft.com> All I can say is wow. Bob On Jan 30, 2011, at 3:57 PM, zryip theSlug wrote: > Dear DataGrid users and DGH aficionados, > > Here is a preview video of DGH working on column colors. > > We worked especially to add new special properties for datagrids. An > extension of the datagrid API prefixed by "dgh", such as > - the dghProp["Alternate column colors"] of grp "myDataGrid" to pBoolean > - the dghProp["Column color"] of grp "myDataGrid" to pColor > - etc > > The video of DGH in action: > > http://www.youtube.com/user/TheSlugOnTheRoad#p/u/0/FEY18vzsFJs > > > This feature will be available in the next version of DGH. > > > Best regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 31 12:08:10 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 31 Jan 2011 09:08:10 -0800 Subject: LiveCode for e-book production In-Reply-To: References: Message-ID: <97DB98BF-DC4E-464E-BC6D-715D63592FDE@twft.com> I'll be the wet blanket. If there are already economical epub converters out there, or even free ones, then unless you include some functionality that is unique, one might as the question, why? http://www.2epub.com/ Bob On Jan 29, 2011, at 7:31 AM, Javier Miranda V. wrote: > Dear friends, can you please give me your opinions on using LiveCode for e-book production?. I know LiveCode, being so powerful, can handle complex projects involving lots of logic and structures, but is it suitable / practical to use it for e-book production?. The possibility of compile for the new mobile operating systems is something wonderful that I would like to to use coupled with the multimedia capabilities. > > I will be looking forward for your impressions about this. > > > Saludos, > > Javier Miranda V. > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 31 12:09:52 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 31 Jan 2011 09:09:52 -0800 Subject: dgText In-Reply-To: <3c3e.746f30cc.3a783471@aol.com> References: <3c3e.746f30cc.3a783471@aol.com> Message-ID: You have to go to the web page for learning to use data grids. There is a whole API and yes, dgText is in there. There is also a tutorial on how to use data grids. http://revolution.screenstepslive.com/spaces/revolution_tools/manuals/datagrid Bob On Jan 31, 2011, at 7:51 AM, DunbarX at aol.com wrote: > There is no entry for this property in the dictionary. Or any other > datagrid properties. > > Is it just me? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From form at nonsanity.com Mon Jan 31 12:11:22 2011 From: form at nonsanity.com (form) Date: Mon, 31 Jan 2011 12:11:22 -0500 Subject: SPAM Square Up In-Reply-To: References: <4E2F85CB-FCDF-4723-8048-00318BE931A0@mac.com> <331067861359.20110128172434@ahsoftware.net> <1186C1AD-5666-49FF-B2C4-780BE62A0B09@mac.com> <80685100-EE6D-4825-81C1-6C458F5C104C@mollysrevenge.com> <60D520A2-9BB6-43F6-BF4B-9FA6C8A564F0@mac.com> Message-ID: On Sat, Jan 29, 2011 at 12:08 PM, Peter Haworth wrote: > Don't know about these guys but the credit card processing market is full > of hidden charges - very much like cell phone plans. For example, I get > charged $10/month as a "statement fee"!!! Now that's making a statement... I've got one of these Square readers in my pocket. Haven't had the opportunity to test it, and haven't felt like losing the cut they take from every transaction just to swipe my own card. Probably the biggest roadblock to its use is getting people to trust their credit card to it. Went to lunch with some co-workers and couldn't convince them to let me consolidate our shares of the cost with it. They preferred to pay me cash. (Now that I think of it, one of them was a little short, and now he's no longer with the company... DAMN!) ~ Chris Innanen ~ Nonsanity From DunbarX at aol.com Mon Jan 31 12:24:13 2011 From: DunbarX at aol.com (DunbarX at aol.com) Date: Mon, 31 Jan 2011 12:24:13 EST Subject: dgText Message-ID: Thanks. Bob. I know anout the lesson. I just am surprised that an entire section of the language is missing from the dictionary. Craig In a message dated 1/31/11 12:12:10 PM, bobs at twft.com writes: > > http://revolution.screenstepslive.com/spaces/revolution_tools/manuals/datag > rid > From jacque at hyperactivesw.com Mon Jan 31 12:33:32 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 31 Jan 2011 11:33:32 -0600 Subject: dgText In-Reply-To: References: Message-ID: <4D46F26C.3010409@hyperactivesw.com> On 1/31/11 11:24 AM, DunbarX at aol.com wrote: > Thanks. Bob. I know anout the lesson. I just am surprised that an entire > section of the language is missing from the dictionary. Datagrids aren't "real" controls like the others, they are scripted groups written by a third party, and were later added to the tool palette for convenient access. So while they appear to be part of the engine, they're actually a little more like plugins or add-ons. That doesn't excuse the lack of integrated documentation, but maybe explains it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From form at nonsanity.com Mon Jan 31 12:35:07 2011 From: form at nonsanity.com (form) Date: Mon, 31 Jan 2011 12:35:07 -0500 Subject: An idea on multithreading implementation In-Reply-To: <26FF0242-ECC8-4ADD-B955-E29F7F6B1A95@twft.com> References: <26FF0242-ECC8-4ADD-B955-E29F7F6B1A95@twft.com> Message-ID: Even discounting games, I'd love to be able to designate a substack to being "threaded", disabling its access to objects in other stacks, and limiting communication to event/message passing. It would be very much like using the open process command with a Windows command line program. (WHY doesn't it work with Mac command line programs?!?!) I use open process is a stack to start a makefile and monitor its output while keeping the interface perfectly responsive. I do the same on a mac using a shell command outputting to a text file that I sample the tail from in another shell command. Hackier, but it gets the basic job done. But if I have LiveCode that I want to start and monitor, I'm out of luck. (Without getting REALLY hacky, that is.) ~ Chris Innanen ~ Nonsanity On Mon, Jan 31, 2011 at 11:57 AM, Bob Sneidar wrote: > Well now that there is Livecode for iApps, a lot of people may want it, but > I for one am never going to develop a game, even a simple one. > > Bob > > > On Jan 29, 2011, at 5:06 PM, Alejandro Tejada wrote: > > > Hi All, > > > > It's nice to read discussions about features that > > enhance this platform, but now I have one doubt: > > > > How many developers (who use Livecode) want > > to see this platform converted in a game engine? > > > > Notice that the only DLL in my wish list for this > > platform is a SWF player, that allows to run > > movies inside a stack, just like the Quicktime > > externals. I do not want to see a Timeline > > in this platform... > > > > At least in my mind, you could not build (easily) > > the kind of applications created with Livecode > > if it were a game engine. Am I wrong? > > > > Or There are no boundaries anymore among > > Software Development tools? > > > > Al > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 31 12:56:02 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 31 Jan 2011 09:56:02 -0800 Subject: An idea on multithreading implementation In-Reply-To: References: <26FF0242-ECC8-4ADD-B955-E29F7F6B1A95@twft.com> Message-ID: <05480475-2ADB-4300-A77E-3D28B4911B39@twft.com> When I started this whole thread, what I had in mind was a simple method for allowing commands and even whole stacks to run concurrently with other stacks, while still being able to communicate with each other through the engine. All the stuff about enabling and disabling communications between things is to me irrelevant. Just compile 2 apps and they will not be able to talk natively to each other. Done deal. Some tell me that multithreading is not that simple. Well nothing under the hood of any app is simple, and triply so for a development environment. My idea was for the engine to handle communications between all of it's objects the way it does now, but have concurrent processes IF YOU WANTED. By default, I envision LiveCode working just the way it does now, with the OPTION to say something like: open stack "Accounts Receivable" with new thread or do ReportGen with new thread I could then check in on the state of a global from time to time in my Progress Bar modal stack or switch back to my "Order Entry" stack and continue entering my customer's order while the report generator was running. See? I personally do not have any interest whatsoever managing all the threading myself. I use LiveCode so I do not HAVE to know or understand that sort of thing. I am only one person. One of the things that LiveCode allows us to do, which is not talked about much, is to produce really nice and functional applications with incredibly minimal resources (like only one developer!) Bob On Jan 31, 2011, at 9:35 AM, form wrote: > Even discounting games, I'd love to be able to designate a substack to being > "threaded", disabling its access to objects in other stacks, and limiting > communication to event/message passing. > > It would be very much like using the open process command with a Windows > command line program. (WHY doesn't it work with Mac command line > programs?!?!) > > I use open process is a stack to start a makefile and monitor its output > while keeping the interface perfectly responsive. I do the same on a mac > using a shell command outputting to a text file that I sample the tail from > in another shell command. Hackier, but it gets the basic job done. > > But if I have LiveCode that I want to start and monitor, I'm out of luck. > (Without getting REALLY hacky, that is.) > > ~ Chris Innanen > ~ Nonsanity > > > On Mon, Jan 31, 2011 at 11:57 AM, Bob Sneidar wrote: > >> Well now that there is Livecode for iApps, a lot of people may want it, but >> I for one am never going to develop a game, even a simple one. >> >> Bob >> >> >> On Jan 29, 2011, at 5:06 PM, Alejandro Tejada wrote: >> >>> Hi All, >>> >>> It's nice to read discussions about features that >>> enhance this platform, but now I have one doubt: >>> >>> How many developers (who use Livecode) want >>> to see this platform converted in a game engine? >>> >>> Notice that the only DLL in my wish list for this >>> platform is a SWF player, that allows to run >>> movies inside a stack, just like the Quicktime >>> externals. I do not want to see a Timeline >>> in this platform... >>> >>> At least in my mind, you could not build (easily) >>> the kind of applications created with Livecode >>> if it were a game engine. Am I wrong? >>> >>> Or There are no boundaries anymore among >>> Software Development tools? >>> >>> Al >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Mon Jan 31 12:59:50 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Mon, 31 Jan 2011 09:59:50 -0800 Subject: dgText In-Reply-To: References: Message-ID: Yep, I agree. Datagrids are mentioned in the Reference manual as an available control, they're on the IDE Tool palette but the dictionary is silent about them. Trevor has very thoroughly documented datagrids at the provided link but but their properties and messages should be in the dictionary. Pete Haworth On Jan 31, 2011, at 9:24 AM, DunbarX at aol.com wrote: > Thanks. Bob. I know anout the lesson. I just am surprised that an entire > section of the language is missing from the dictionary. > > Craig > > In a message dated 1/31/11 12:12:10 PM, bobs at twft.com writes: > > >> >> http://revolution.screenstepslive.com/spaces/revolution_tools/manuals/datag >> rid >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gcanyon+rev at gmail.com Mon Jan 31 13:25:52 2011 From: gcanyon+rev at gmail.com (Geoff Canyon Rev) Date: Mon, 31 Jan 2011 12:25:52 -0600 Subject: An idea on multithreading implementation In-Reply-To: <05480475-2ADB-4300-A77E-3D28B4911B39@twft.com> References: <26FF0242-ECC8-4ADD-B955-E29F7F6B1A95@twft.com> <05480475-2ADB-4300-A77E-3D28B4911B39@twft.com> Message-ID: How would you handle race conditions and deadlock in a livecode-like way? If the engine could make it as easy as "with new thread" that would be awesome, but I think we'd also need ways to prevent/handle the issues that come with concurrency. gc On Mon, Jan 31, 2011 at 11:56 AM, Bob Sneidar wrote: > When I started this whole thread, what I had in mind was a simple method > for allowing commands and even whole stacks to run concurrently with other > stacks, while still being able to communicate with each other through the > engine. All the stuff about enabling and disabling communications between > things is to me irrelevant. Just compile 2 apps and they will not be able to > talk natively to each other. Done deal. > > Some tell me that multithreading is not that simple. Well nothing under the > hood of any app is simple, and triply so for a development environment. My > idea was for the engine to handle communications between all of it's objects > the way it does now, but have concurrent processes IF YOU WANTED. > > By default, I envision LiveCode working just the way it does now, with the > OPTION to say something like: > > open stack "Accounts Receivable" with new thread > or > do ReportGen with new thread > > I could then check in on the state of a global from time to time in my > Progress Bar modal stack or switch back to my "Order Entry" stack and > continue entering my customer's order while the report generator was > running. See? I personally do not have any interest whatsoever managing all > the threading myself. I use LiveCode so I do not HAVE to know or understand > that sort of thing. I am only one person. One of the things that LiveCode > allows us to do, which is not talked about much, is to produce really nice > and functional applications with incredibly minimal resources (like only one > developer!) > > Bob > > > On Jan 31, 2011, at 9:35 AM, form wrote: > > > Even discounting games, I'd love to be able to designate a substack to > being > > "threaded", disabling its access to objects in other stacks, and limiting > > communication to event/message passing. > > > > It would be very much like using the open process command with a Windows > > command line program. (WHY doesn't it work with Mac command line > > programs?!?!) > > > > I use open process is a stack to start a makefile and monitor its output > > while keeping the interface perfectly responsive. I do the same on a mac > > using a shell command outputting to a text file that I sample the tail > from > > in another shell command. Hackier, but it gets the basic job done. > > > > But if I have LiveCode that I want to start and monitor, I'm out of luck. > > (Without getting REALLY hacky, that is.) > > > > ~ Chris Innanen > > ~ Nonsanity > > > > > > On Mon, Jan 31, 2011 at 11:57 AM, Bob Sneidar wrote: > > > >> Well now that there is Livecode for iApps, a lot of people may want it, > but > >> I for one am never going to develop a game, even a simple one. > >> > >> Bob > >> > >> > >> On Jan 29, 2011, at 5:06 PM, Alejandro Tejada wrote: > >> > >>> Hi All, > >>> > >>> It's nice to read discussions about features that > >>> enhance this platform, but now I have one doubt: > >>> > >>> How many developers (who use Livecode) want > >>> to see this platform converted in a game engine? > >>> > >>> Notice that the only DLL in my wish list for this > >>> platform is a SWF player, that allows to run > >>> movies inside a stack, just like the Quicktime > >>> externals. I do not want to see a Timeline > >>> in this platform... > >>> > >>> At least in my mind, you could not build (easily) > >>> the kind of applications created with Livecode > >>> if it were a game engine. Am I wrong? > >>> > >>> Or There are no boundaries anymore among > >>> Software Development tools? > >>> > >>> Al > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 31 13:30:47 2011 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 31 Jan 2011 16:30:47 -0200 Subject: An idea on multithreading implementation In-Reply-To: References: <26FF0242-ECC8-4ADD-B955-E29F7F6B1A95@twft.com> <05480475-2ADB-4300-A77E-3D28B4911B39@twft.com> Message-ID: Folks, I've posted an email to this list with subject "on livecode idea" dealing with some solutions for cooperative threading with state. cheers andre On Mon, Jan 31, 2011 at 4:25 PM, Geoff Canyon Rev wrote: > How would you handle race conditions and deadlock in a livecode-like way? If > the engine could make it as easy as "with new thread" that would be awesome, > but I think we'd also need ways to prevent/handle the issues that come with > concurrency. > > gc > > On Mon, Jan 31, 2011 at 11:56 AM, Bob Sneidar wrote: > >> When I started this whole thread, what I had in mind was a simple method >> for allowing commands and even whole stacks to run concurrently with other >> stacks, while still being able to communicate with each other through the >> engine. All the stuff about enabling and disabling communications between >> things is to me irrelevant. Just compile 2 apps and they will not be able to >> talk natively to each other. Done deal. >> >> Some tell me that multithreading is not that simple. Well nothing under the >> hood of any app is simple, and triply so for a development environment. My >> idea was for the engine to handle communications between all of it's objects >> the way it does now, but have concurrent processes IF YOU WANTED. >> >> By default, I envision LiveCode working just the way it does now, with the >> OPTION to say something like: >> >> open stack "Accounts Receivable" with new thread >> or >> do ReportGen with new thread >> >> I could then check in on the state of a global from time to time in my >> Progress Bar modal stack or switch back to my "Order Entry" stack and >> continue entering my customer's order while the report generator was >> running. See? I personally do not have any interest whatsoever managing all >> the threading myself. I use LiveCode so I do not HAVE to know or understand >> that sort of thing. I am only one person. One of the things that LiveCode >> allows us to do, which is not talked about much, is to produce really nice >> and functional applications with incredibly minimal resources (like only one >> developer!) >> >> Bob >> >> >> On Jan 31, 2011, at 9:35 AM, form wrote: >> >> > Even discounting games, I'd love to be able to designate a substack to >> being >> > "threaded", disabling its access to objects in other stacks, and limiting >> > communication to event/message passing. >> > >> > It would be very much like using the open process command with a Windows >> > command line program. (WHY doesn't it work with Mac command line >> > programs?!?!) >> > >> > I use open process is a stack to start a makefile and monitor its output >> > while keeping the interface perfectly responsive. I do the same on a mac >> > using a shell command outputting to a text file that I sample the tail >> from >> > in another shell command. Hackier, but it gets the basic job done. >> > >> > But if I have LiveCode that I want to start and monitor, I'm out of luck. >> > (Without getting REALLY hacky, that is.) >> > >> > ~ Chris Innanen >> > ~ Nonsanity >> > >> > >> > On Mon, Jan 31, 2011 at 11:57 AM, Bob Sneidar wrote: >> > >> >> Well now that there is Livecode for iApps, a lot of people may want it, >> but >> >> I for one am never going to develop a game, even a simple one. >> >> >> >> Bob >> >> >> >> >> >> On Jan 29, 2011, at 5:06 PM, Alejandro Tejada wrote: >> >> >> >>> Hi All, >> >>> >> >>> It's nice to read discussions about features that >> >>> enhance this platform, but now I have one doubt: >> >>> >> >>> How many developers (who use Livecode) want >> >>> to see this platform converted in a game engine? >> >>> >> >>> Notice that the only DLL in my wish list for this >> >>> platform is a SWF player, that allows to run >> >>> movies inside a stack, just like the Quicktime >> >>> externals. I do not want to see a Timeline >> >>> in this platform... >> >>> >> >>> At least in my mind, you could not build (easily) >> >>> the kind of applications created with Livecode >> >>> if it were a game engine. Am I wrong? >> >>> >> >>> Or There are no boundaries anymore among >> >>> Software Development tools? >> >>> >> >>> Al >> >>> >> >>> _______________________________________________ >> >>> use-livecode mailing list >> >>> use-livecode at lists.runrev.com >> >>> Please visit this url to subscribe, unsubscribe and manage your >> >> subscription preferences: >> >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> >> _______________________________________________ >> >> use-livecode mailing list >> >> use-livecode at lists.runrev.com >> >> Please visit this url to subscribe, unsubscribe and manage your >> >> subscription preferences: >> >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From richmondmathewson at gmail.com Mon Jan 31 13:32:14 2011 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 31 Jan 2011 20:32:14 +0200 Subject: SPAM Square Up In-Reply-To: References: <4E2F85CB-FCDF-4723-8048-00318BE931A0@mac.com> <331067861359.20110128172434@ahsoftware.net> <1186C1AD-5666-49FF-B2C4-780BE62A0B09@mac.com> <80685100-EE6D-4825-81C1-6C458F5C104C@mollysrevenge.com> <60D520A2-9BB6-43F6-BF4B-9FA6C8A564F0@mac.com> Message-ID: <4D47002E.6030409@gmail.com> On 01/31/2011 07:11 PM, form wrote: > On Sat, Jan 29, 2011 at 12:08 PM, Peter Haworthwrote: > >> Don't know about these guys but the credit card processing market is full >> of hidden charges - very much like cell phone plans. For example, I get >> charged $10/month as a "statement fee"!!! > > Now that's making a statement... > > I've got one of these Square readers in my pocket. Haven't had the > opportunity to test it, and haven't felt like losing the cut they take from > every transaction just to swipe my own card. > > Probably the biggest roadblock to its use is getting people to trust their > credit card to it. Went to lunch with some co-workers and couldn't convince > them to let me consolidate our shares of the cost with it. They preferred to > pay me cash. (Now that I think of it, one of them was a little short, and > now he's no longer with the company... DAMN!) He was "a little short"; do I detect prejudice against PORGs (People Of Restricted Growth)? Credit cards have always struck me as iniquitous; spending money you don't have and then getting charged interest on it. Personally I always use my Debit card (obviously, for the benefit of lovers of the Brazil-Bulgaria Axis of Bentness (BBAB) out there, I don't mean a Bulgarian debit card) when I make online payments. No interest, and no risk of spending money I don't have . . . :) I, also, always do it via . . . Tor : http://www.torproject.org Call me "an*l", call me "over cautious"; but, frankly, I'd rather you called me those things rather than find that some member of the BBAB has been buying his girlfriend thongs, or himself leopard-skin posing pouches with my debit card . . . :) > ~ Chris Innanen > ~ Nonsanity > _______________________________________________ Disclaimer: Richmond Mathewson is not, and never has been, associated with the Brazil-Bulgaria Axis of Bentness . . . :) From bobs at twft.com Mon Jan 31 13:35:07 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 31 Jan 2011 10:35:07 -0800 Subject: An idea on multithreading implementation In-Reply-To: References: <26FF0242-ECC8-4ADD-B955-E29F7F6B1A95@twft.com> <05480475-2ADB-4300-A77E-3D28B4911B39@twft.com> Message-ID: <70B16CCA-FB86-4388-B824-2C50486B6CCE@twft.com> I don't understand how you could have a deadlock. If you mean call something from one threaded stack which in turn calls something in the first threaded stack, then I would say, don't do that! Same as I would say, don't write an infinite loop! Sure you can, why would you? Bob On Jan 31, 2011, at 10:25 AM, Geoff Canyon Rev wrote: > How would you handle race conditions and deadlock in a livecode-like way? If > the engine could make it as easy as "with new thread" that would be awesome, > but I think we'd also need ways to prevent/handle the issues that come with > concurrency. > > gc > > On Mon, Jan 31, 2011 at 11:56 AM, Bob Sneidar wrote: > >> When I started this whole thread, what I had in mind was a simple method >> for allowing commands and even whole stacks to run concurrently with other >> stacks, while still being able to communicate with each other through the >> engine. All the stuff about enabling and disabling communications between >> things is to me irrelevant. Just compile 2 apps and they will not be able to >> talk natively to each other. Done deal. >> >> Some tell me that multithreading is not that simple. Well nothing under the >> hood of any app is simple, and triply so for a development environment. My >> idea was for the engine to handle communications between all of it's objects >> the way it does now, but have concurrent processes IF YOU WANTED. >> >> By default, I envision LiveCode working just the way it does now, with the >> OPTION to say something like: >> >> open stack "Accounts Receivable" with new thread >> or >> do ReportGen with new thread >> >> I could then check in on the state of a global from time to time in my >> Progress Bar modal stack or switch back to my "Order Entry" stack and >> continue entering my customer's order while the report generator was >> running. See? I personally do not have any interest whatsoever managing all >> the threading myself. I use LiveCode so I do not HAVE to know or understand >> that sort of thing. I am only one person. One of the things that LiveCode >> allows us to do, which is not talked about much, is to produce really nice >> and functional applications with incredibly minimal resources (like only one >> developer!) >> >> Bob >> >> >> On Jan 31, 2011, at 9:35 AM, form wrote: >> >>> Even discounting games, I'd love to be able to designate a substack to >> being >>> "threaded", disabling its access to objects in other stacks, and limiting >>> communication to event/message passing. >>> >>> It would be very much like using the open process command with a Windows >>> command line program. (WHY doesn't it work with Mac command line >>> programs?!?!) >>> >>> I use open process is a stack to start a makefile and monitor its output >>> while keeping the interface perfectly responsive. I do the same on a mac >>> using a shell command outputting to a text file that I sample the tail >> from >>> in another shell command. Hackier, but it gets the basic job done. >>> >>> But if I have LiveCode that I want to start and monitor, I'm out of luck. >>> (Without getting REALLY hacky, that is.) >>> >>> ~ Chris Innanen >>> ~ Nonsanity >>> >>> >>> On Mon, Jan 31, 2011 at 11:57 AM, Bob Sneidar wrote: >>> >>>> Well now that there is Livecode for iApps, a lot of people may want it, >> but >>>> I for one am never going to develop a game, even a simple one. >>>> >>>> Bob >>>> >>>> >>>> On Jan 29, 2011, at 5:06 PM, Alejandro Tejada wrote: >>>> >>>>> Hi All, >>>>> >>>>> It's nice to read discussions about features that >>>>> enhance this platform, but now I have one doubt: >>>>> >>>>> How many developers (who use Livecode) want >>>>> to see this platform converted in a game engine? >>>>> >>>>> Notice that the only DLL in my wish list for this >>>>> platform is a SWF player, that allows to run >>>>> movies inside a stack, just like the Quicktime >>>>> externals. I do not want to see a Timeline >>>>> in this platform... >>>>> >>>>> At least in my mind, you could not build (easily) >>>>> the kind of applications created with Livecode >>>>> if it were a game engine. Am I wrong? >>>>> >>>>> Or There are no boundaries anymore among >>>>> Software Development tools? >>>>> >>>>> Al >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 31 13:36:53 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 31 Jan 2011 10:36:53 -0800 Subject: An idea on multithreading implementation In-Reply-To: References: <26FF0242-ECC8-4ADD-B955-E29F7F6B1A95@twft.com> <05480475-2ADB-4300-A77E-3D28B4911B39@twft.com> Message-ID: Thanks Andre I read that. Good stuff. I was thinking it might be possible to do really simply internally to the engine so pea brains like me wouldn't have to wrap their minds around stateful programming. Maybe I am barking up the wrong data tree. Bob On Jan 31, 2011, at 10:30 AM, Andre Garzia wrote: > Folks, > > I've posted an email to this list with subject "on livecode idea" > dealing with some solutions for cooperative threading with state. > > cheers > andre From pete at mollysrevenge.com Mon Jan 31 13:41:11 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Mon, 31 Jan 2011 10:41:11 -0800 Subject: An idea on multithreading implementation In-Reply-To: <05480475-2ADB-4300-A77E-3D28B4911B39@twft.com> References: <26FF0242-ECC8-4ADD-B955-E29F7F6B1A95@twft.com> <05480475-2ADB-4300-A77E-3D28B4911B39@twft.com> Message-ID: <83A6820F-72F1-49B7-A402-14BF253633E8@mollysrevenge.com> I'll admit that I've never had the need to do this with LC but it feels like it should be possible. How about this. Make your "Accounts Receivable" a separate standalone LC application and start it up from your main application when it starts up. The AR program would have an appleEvent handler in it looking for messages sent to it with a "send to program" command from your main App and use the request appleEvent command to get whatever data you send to it. Or your main app could put the data in some place accessible to both programs, perhaps an SQL table of pending requests. On receipt of the appleEvent, the AR program would do it's thing and send an AppleEvent back to your main program when it's done or report progress back at regular intervals, whatever you need it to do. When it's done, it would sit there waiting for another appleEvent to tell it what to do next. There don't seem to be equivalents to send to program and appleEvent for Windows but I'll bet some of the smart people on this list can suggest something (and perhaps a better way of doing it on a Mac) I'm sure this is an over-simplistic description but it seems like it oughta work? Pete Haworth On Jan 31, 2011, at 9:56 AM, Bob Sneidar wrote: > When I started this whole thread, what I had in mind was a simple method for allowing commands and even whole stacks to run concurrently with other stacks, while still being able to communicate with each other through the engine. All the stuff about enabling and disabling communications between things is to me irrelevant. Just compile 2 apps and they will not be able to talk natively to each other. Done deal. > > Some tell me that multithreading is not that simple. Well nothing under the hood of any app is simple, and triply so for a development environment. My idea was for the engine to handle communications between all of it's objects the way it does now, but have concurrent processes IF YOU WANTED. > > By default, I envision LiveCode working just the way it does now, with the OPTION to say something like: > > open stack "Accounts Receivable" with new thread > or > do ReportGen with new thread > > I could then check in on the state of a global from time to time in my Progress Bar modal stack or switch back to my "Order Entry" stack and continue entering my customer's order while the report generator was running. See? I personally do not have any interest whatsoever managing all the threading myself. I use LiveCode so I do not HAVE to know or understand that sort of thing. I am only one person. One of the things that LiveCode allows us to do, which is not talked about much, is to produce really nice and functional applications with incredibly minimal resources (like only one developer!) > > Bob > > > On Jan 31, 2011, at 9:35 AM, form wrote: > >> Even discounting games, I'd love to be able to designate a substack to being >> "threaded", disabling its access to objects in other stacks, and limiting >> communication to event/message passing. >> >> It would be very much like using the open process command with a Windows >> command line program. (WHY doesn't it work with Mac command line >> programs?!?!) >> >> I use open process is a stack to start a makefile and monitor its output >> while keeping the interface perfectly responsive. I do the same on a mac >> using a shell command outputting to a text file that I sample the tail from >> in another shell command. Hackier, but it gets the basic job done. >> >> But if I have LiveCode that I want to start and monitor, I'm out of luck. >> (Without getting REALLY hacky, that is.) >> >> ~ Chris Innanen >> ~ Nonsanity >> >> >> On Mon, Jan 31, 2011 at 11:57 AM, Bob Sneidar wrote: >> >>> Well now that there is Livecode for iApps, a lot of people may want it, but >>> I for one am never going to develop a game, even a simple one. >>> >>> Bob >>> >>> >>> On Jan 29, 2011, at 5:06 PM, Alejandro Tejada wrote: >>> >>>> Hi All, >>>> >>>> It's nice to read discussions about features that >>>> enhance this platform, but now I have one doubt: >>>> >>>> How many developers (who use Livecode) want >>>> to see this platform converted in a game engine? >>>> >>>> Notice that the only DLL in my wish list for this >>>> platform is a SWF player, that allows to run >>>> movies inside a stack, just like the Quicktime >>>> externals. I do not want to see a Timeline >>>> in this platform... >>>> >>>> At least in my mind, you could not build (easily) >>>> the kind of applications created with Livecode >>>> if it were a game engine. Am I wrong? >>>> >>>> Or There are no boundaries anymore among >>>> Software Development tools? >>>> >>>> Al >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From keith.clarke at clarkeandclarke.co.uk Mon Jan 31 13:43:53 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Mon, 31 Jan 2011 18:43:53 +0000 Subject: Do Revlet pages have unique URLs? In-Reply-To: References: <3B6C7CF3-7757-42CC-9FB8-6FA6DC0E8BF2@clarkeandclarke.co.uk> <0FD0420B-F8EB-4FC7-911D-DCD6D8107FEA@clarkeandclarke.co.uk> <0A414458-7891-4F12-BC57-25AE5F742B4C@clarkeandclarke.co.uk> Message-ID: Andre, Great advice, thanks. I think for now, I'll adopt: ? Revlet: A single demo revlet, as a container for all the work-inprogress prototype UI stacks. This will mean that they can grow together, in their sparkling new GLX framework and with their shared libraries, etc. ? Demo page: A single page, with your Javascript revletobject.load script, modified with URL extract capabilities (I'll share this if/when I get it working) ? Requirements mgt system: a simple spreadsheet-based environment, with formula-based URLs to access the relevant revlet demo start-point. That'll do nicely! Thanks again, Andre. Keith.. On 31 Jan 2011, at 15:40, Andre Garzia wrote: > Keith, > > Yes, I think it is feasible to have a single revlet with multiple > stacks and different entry points based on the stack parameter. Or you > can have a dispatch stack and use the javascript params array to hold > information which will be used by the dispatch stack load load > whatever stack you need. This way you can have more arbitration than > just a stack name if needed. > > Extracting URL parameters is not hard but if you want to make it > extremely easy check out: http://menacingcloud.com/?c=uriProcessing > this is just one of the many libraries that make it easy to do it. > > If you want to do it by hand, it is just a manipulation on > "window.location" and its members. > > Cheers > andre > > On Mon, Jan 31, 2011 at 1:22 PM, Keith Clarke > wrote: >> Andre, >> Thanks for sharing. >> >> As your revletobject.load script has 'src', 'stack' and 'id' parameters, it looks like I can get 'inside' the revlet, to open on a specific stack - that makes the single revlet with multiple start-points seem feasible. Great! >> >> If I understand this correctly, if I place this javascript into a holding page for a demo revlet - and then hard-code the stack parameters - the page will launch the demo revlet, focused on the desired stack - nice! >> >> Furthermore, a single demo page could be used to dynamically launch the revlet with the desired stack focus. If I create my functional specification in a spreadsheet or database, with columns for the demonstration revlet & stack parameters, a formula can generate the 'demo' URL with these parameters after a '?' character. Then, I can add to your Javascript, some code that extracts the URL parameters into variables and then launches the demo revlet into the correct stack. >> >> I'm off to learn a bit about Javascript URL extract functions! >> Thanks, >> Keith.. >> >> On 31 Jan 2011, at 13:33, Andre Garzia wrote: >> >>> Keith, >>> >>> The revlet is hosted at a web page, you can have different web pages >>> for each revlet so they will have unique urls. If doing revlets, check >>> out my library at http://hg.andregarzia.com/revletobject (check the >>> wiki) it has some nice loading routines for revlets, easier than using >>> the one RunRev is using. >>> >>> Andre >>> >>> On Mon, Jan 31, 2011 at 11:27 AM, Keith Clarke >>> wrote: >>>> Andre, Thanks for responding. The question isn't about whether revlets can access other revlets but whether specific revlet stack/card/pages have externally available URLs to open them directly. >>>> >>>> I'm collaborating on a functional specification document (probably in a Google Doc) and would like to embed hyperlinks to specific cards within a 'wire-frames' revlet that I upload onto my VPS. I therefore need either: >>>> 1. A single revlet, with externally addressable URLs for each page that it generates - if page-specific URLs are created and available outside the revplayer; >>>> 2. Separate revlets for each wire-frame or demo environment - if each revlet is self-contained; >>>> >>>> I'd prefer option (1) if it is possible, so that requirements can be linked to different start-points within a single prototype application, but can I access multiple URLs within a revlet - or pass parameters after a single main URL to open a specific stack or card? >>>> Best, >>>> Keith.. >>>> >>>> On 31 Jan 2011, at 13:01, Andre Garzia wrote: >>>> >>>>> Keith, >>>>> >>>>> One revlet will not be able to access other revlet unless you load >>>>> them all in the same page and use something like "do ... in browser" >>>>> to communicate which would be hard since you would need to create all >>>>> the communication channel. >>>>> >>>>> Why not loading all the stacks in the same revlet? >>>>> >>>>> Andre >>>>> >>>>> On Sun, Jan 30, 2011 at 1:39 PM, Keith Clarke >>>>> wrote: >>>>>> Hi Folks, >>>>>> I'm looking to pull together various rev wire-frame/prototype/experiment pages for a web app project into a more structured development environment. If I migrate my various experiments into sub-stacks of a single GLX framework app (and then save this as a revlet) would individual revlet pages be externally addressable via urls within a requirements mgt database? Or does revweb work as a self-contained 'player', suggesting that I'd need to keep the various pages separate? >>>>>> TIA, >>>>>> Keith.. >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> http://www.andregarzia.com All We Do Is Code. >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> >>> -- >>> http://www.andregarzia.com All We Do Is Code. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Jan 31 13:54:38 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 31 Jan 2011 10:54:38 -0800 Subject: dgText In-Reply-To: References: Message-ID: <36FDB2CE-3C5C-4905-9149-43AB18F3CDAF@twft.com> Yes, after the initial euphoria of going gold with a product, who wants to return to the tedium of documentation? I have foresworn to never document anything I do. If the end user cannot figure it out on his own, I've designed a lousy interface. That's my excuse and I'm sticking with it! heh heh Bob On Jan 31, 2011, at 9:59 AM, Peter Haworth wrote: > Yep, I agree. Datagrids are mentioned in the Reference manual as an available control, they're on the IDE Tool palette but the dictionary is silent about them. Trevor has very thoroughly documented datagrids at the provided link but but their properties and messages should be in the dictionary. > > Pete Haworth From form at nonsanity.com Mon Jan 31 14:00:33 2011 From: form at nonsanity.com (form) Date: Mon, 31 Jan 2011 14:00:33 -0500 Subject: Getting Contents of Multiple fields in order (Left-to-Right&Down) In-Reply-To: <4D45AF86.5040604@hyperactivesw.com> References: <0B9266DE-CFEA-4D58-B020-16472FC8DCE7@mac.com> <08592DC8-12CD-4E96-A442-83DF1C0347C9@yahoo.com> <4D445FC2.1030500@hyperactivesw.com> <0605BB02-52DD-4DF4-8F3B-D9843D7E8639@yahoo.com> <4D446C03.4030102@hyperactivesw.com> <4D45AF86.5040604@hyperactivesw.com> Message-ID: I'm thinking you're going for refrigerator poetry magnets, or something like it. To that end, I made something that reads the order similar to the way a human would. I haven't tested it a lot, but this was the arrangement I used: http://dl.dropbox.com/u/144280/btnorder.png There are a dozen buttons, named with their btn number. (So button 6 is named "6".) Notice that word 8 is at about the same level as word 9, but still counts as part of the second row. Running the following script sets properties on all the buttons (and one on the card) that lets you easily walk through them from other scripts. The scanrwords command needs to be re-run after moving the buttons, but only then. The last chunk of the scanwords command does a sample walkthrough and outputs the buttons in "word" order to the messagebox. Use that code in other functions that need to move through the words. on scanwords -- clear the custom properties repeat with a = 1 to the number of btns set the nextbtn of btn a to "0" set the lastbtn of btn a to "0" set the startsline of btn a to "0" set the linenumber of btn a to "0" set the nextline of btn a to "0" end repeat repeat with a = 1 to the number of btns put item 1 of the loc of btn a into x put item 2 of the loc of btn a into y put "" into nxtbtn put 100000000 into nxtd repeat with b = 1 to the number of btns if a = b then next repeat put dist( loc of btn a, loc of btn b ) into d put item 1 of the loc of btn b into x1 put item 2 of the loc of btn b into y1 if x < x1 and abs(x1 - x) >= abs(y1 - y) and d < nxtd then put d into nxtd put b into nxtbtn end if end repeat if nxtbtn is not empty then set the nextbtn of btn a to nxtbtn set the lastbtn of btn nxtbtn to a end if end repeat put "" into sortlines repeat with a = 1 to the number of btns if the lastbtn of btn a < 1 then put item 2 of the loc of btn a &","& a & return after sortlines end repeat sort lines of sortlines numeric by item 1 of each repeat with a = 1 to the number of lines in sortlines set the startsline of btn (item 2 of line a of sortlines) to a end repeat set the firstbtn of this card to item 2 of line 1 of sortlines put 0 into lasttgt repeat with a = 1 to the number of lines in sortlines put item 2 of line a of sortlines into tgt set the linenumber of btn tgt to a if lasttgt > 0 then set the nextline of btn lasttgt to tgt put the short name of btn tgt &"," after output put tgt into lasttgt put the nextbtn of btn tgt into tgt repeat while tgt > 0 set the linenumber of btn tgt to a put the short name of btn tgt &"," after output put tgt into lasttgt put the nextbtn of btn tgt into tgt end repeat end repeat -- all buttons are now tagged with the information needed to read them -- the first button is in the firstbtn of this card -- buttons that start a new line have a startsline property of the line they start -- the line each button is on is in its linenumber property -- the nextbtn and lastbtn point to the next and last button in that line, respectively -- buttons at the end of a line have a nextline property with -- the number of the next line's first button -- output the "words" in order to the msg box put "" into output put the firstbtn of this card into tgt repeat while tgt > 0 put tgt &"," after output get the nextbtn of btn tgt if it < 1 then get the nextline of btn tgt put it into tgt end repeat delete last char of output put output into msg end scanwords function dist a, b return sqrt( (item 1 of b - item 1 of a)*(item 1 of b - item 1 of a) + (item 2 of b - item 2 of a)*(item 2 of b - item 2 of a) ) end dist ~ Chris Innanen ~ Nonsanity From richmondmathewson at gmail.com Mon Jan 31 14:06:34 2011 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 31 Jan 2011 21:06:34 +0200 Subject: [OT] Microsoft SOS Message-ID: <4D47083A.7090009@gmail.com> Here we go again: http://www.bbc.co.uk/news/technology-12325139 From andre at andregarzia.com Mon Jan 31 14:10:13 2011 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 31 Jan 2011 17:10:13 -0200 Subject: An idea on multithreading implementation In-Reply-To: References: <26FF0242-ECC8-4ADD-B955-E29F7F6B1A95@twft.com> <05480475-2ADB-4300-A77E-3D28B4911B39@twft.com> Message-ID: Bob, thanks for the kind words. My idea is that if we just had some more introspection power from the engine, we could implement this and even more in pure livecode script, if we did that in some smart way, others would benefit without understanding the internals, just like SSL, I have no clue how that work but I use it all the time! :-D Cheers andre On Mon, Jan 31, 2011 at 4:36 PM, Bob Sneidar wrote: > Thanks Andre I read that. Good stuff. I was thinking it might be possible to do really simply internally to the engine so pea brains like me wouldn't have to wrap their minds around stateful programming. Maybe I am barking up the wrong data tree.Bob > > Bob > > > On Jan 31, 2011, at 10:30 AM, Andre Garzia wrote: > >> Folks, >> >> I've posted an email to this list with subject "on livecode idea" >> dealing with some solutions for cooperative threading with state. >> >> cheers >> andre > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com All We Do Is Code. From form at nonsanity.com Mon Jan 31 14:11:08 2011 From: form at nonsanity.com (form) Date: Mon, 31 Jan 2011 14:11:08 -0500 Subject: Getting Contents of Multiple fields in order (Left-to-Right&Down) In-Reply-To: References: <0B9266DE-CFEA-4D58-B020-16472FC8DCE7@mac.com> <08592DC8-12CD-4E96-A442-83DF1C0347C9@yahoo.com> <4D445FC2.1030500@hyperactivesw.com> <0605BB02-52DD-4DF4-8F3B-D9843D7E8639@yahoo.com> <4D446C03.4030102@hyperactivesw.com> <4D45AF86.5040604@hyperactivesw.com> Message-ID: Slight fix to the code: if x < x1 and abs(x1 - x) >= abs(y1 - y) and d < nxtd and the lastbtn of btn b < 1 then Needed to make sure the button wasn't already used in the previous line. ~ Chris Innanen ~ Nonsanity On Mon, Jan 31, 2011 at 2:00 PM, form wrote: > I'm thinking you're going for refrigerator poetry magnets, or something > like it. To that end, I made something that reads the order similar to the > way a human would. I haven't tested it a lot, but this was the arrangement I > used: > > http://dl.dropbox.com/u/144280/btnorder.png > > There are a dozen buttons, named with their btn number. (So button 6 is > named "6".) Notice that word 8 is at about the same level as word 9, but > still counts as part of the second row. > > Running the following script sets properties on all the buttons (and one on > the card) that lets you easily walk through them from other scripts. The > scanrwords command needs to be re-run after moving the buttons, but only > then. > > The last chunk of the scanwords command does a sample walkthrough and > outputs the buttons in "word" order to the messagebox. Use that code in > other functions that need to move through the words. > > > on scanwords > -- clear the custom properties > repeat with a = 1 to the number of btns > set the nextbtn of btn a to "0" > set the lastbtn of btn a to "0" > set the startsline of btn a to "0" > set the linenumber of btn a to "0" > set the nextline of btn a to "0" > end repeat > > repeat with a = 1 to the number of btns > put item 1 of the loc of btn a into x > put item 2 of the loc of btn a into y > put "" into nxtbtn > put 100000000 into nxtd > repeat with b = 1 to the number of btns > if a = b then next repeat > put dist( loc of btn a, loc of btn b ) into d > put item 1 of the loc of btn b into x1 > put item 2 of the loc of btn b into y1 > if x < x1 and abs(x1 - x) >= abs(y1 - y) and d < nxtd then > put d into nxtd > put b into nxtbtn > end if > end repeat > if nxtbtn is not empty then > set the nextbtn of btn a to nxtbtn > set the lastbtn of btn nxtbtn to a > end if > end repeat > > put "" into sortlines > repeat with a = 1 to the number of btns > if the lastbtn of btn a < 1 > then put item 2 of the loc of btn a &","& a & return after sortlines > end repeat > sort lines of sortlines numeric by item 1 of each > repeat with a = 1 to the number of lines in sortlines > set the startsline of btn (item 2 of line a of sortlines) to a > end repeat > > set the firstbtn of this card to item 2 of line 1 of sortlines > put 0 into lasttgt > repeat with a = 1 to the number of lines in sortlines > put item 2 of line a of sortlines into tgt > set the linenumber of btn tgt to a > if lasttgt > 0 then set the nextline of btn lasttgt to tgt > put the short name of btn tgt &"," after output > put tgt into lasttgt > put the nextbtn of btn tgt into tgt > repeat while tgt > 0 > set the linenumber of btn tgt to a > put the short name of btn tgt &"," after output > put tgt into lasttgt > put the nextbtn of btn tgt into tgt > end repeat > end repeat > > -- all buttons are now tagged with the information needed to read them > -- the first button is in the firstbtn of this card > -- buttons that start a new line have a startsline property of the line > they start > -- the line each button is on is in its linenumber property > -- the nextbtn and lastbtn point to the next and last button in that > line, respectively > -- buttons at the end of a line have a nextline property with > -- the number of the next line's first button > > -- output the "words" in order to the msg box > put "" into output > put the firstbtn of this card into tgt > repeat while tgt > 0 > put tgt &"," after output > get the nextbtn of btn tgt > if it < 1 then get the nextline of btn tgt > put it into tgt > end repeat > delete last char of output > put output into msg > end scanwords > > > function dist a, b > return sqrt( (item 1 of b - item 1 of a)*(item 1 of b - item 1 of a) + > (item 2 of b - item 2 of a)*(item 2 of b - item 2 of a) ) > end dist > > > ~ Chris Innanen > ~ Nonsanity > > From keith.clarke at clarkeandclarke.co.uk Mon Jan 31 14:12:26 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Mon, 31 Jan 2011 19:12:26 +0000 Subject: An idea on multithreading implementation In-Reply-To: <83A6820F-72F1-49B7-A402-14BF253633E8@mollysrevenge.com> References: <26FF0242-ECC8-4ADD-B955-E29F7F6B1A95@twft.com> <05480475-2ADB-4300-A77E-3D28B4911B39@twft.com> <83A6820F-72F1-49B7-A402-14BF253633E8@mollysrevenge.com> Message-ID: <599F74E3-4967-4C6A-B800-41D4B077E636@clarkeandclarke.co.uk> Taking Pete's idea a tad further, is there any mileage in considering shifting the 'threading' problem up from within the engine to the level of distributed computing/integration? What if the main application could call upon an LC 'governor' library - with message broker/load balancer/workflow capabilities that could worry about state and overall application workflow, whilst using an SOA-like architecture, to spawn instances of LC engines, as needed, to run discrete processes (the 'threads') and pass results back through the 'governor' application? Could a set of LiveCode, platform-independent REST-type messages - request, acknowledgement, response - be used to manage the communications? The governor app could also provide process control, monitoring the triggered LC engine instances and if necessary, killing and restarting, etc. Would such an approach also allow greater scalability, with multiple LC 'work-horse' engines running on one or more boxes? That might be tempting for Revserver situations? I don't really know what I'm talking about here - this is probably all metabollocks. However, perhaps the problems of managing a network of simple things might be easier than creating a bigger, monolithic, slower, riskier, multi-threading engine? Best, Keith.. On 31 Jan 2011, at 18:41, Peter Haworth wrote: > I'll admit that I've never had the need to do this with LC but it feels like it should be possible. How about this. > > Make your "Accounts Receivable" a separate standalone LC application and start it up from your main application when it starts up. > > The AR program would have an appleEvent handler in it looking for messages sent to it with a "send to program" command from your main App and use the request appleEvent command to get whatever data you send to it. Or your main app could put the data in some place accessible to both programs, perhaps an SQL table of pending requests. > > On receipt of the appleEvent, the AR program would do it's thing and send an AppleEvent back to your main program when it's done or report progress back at regular intervals, whatever you need it to do. > > When it's done, it would sit there waiting for another appleEvent to tell it what to do next. > > There don't seem to be equivalents to send to program and appleEvent for Windows but I'll bet some of the smart people on this list can suggest something (and perhaps a better way of doing it on a Mac) > > I'm sure this is an over-simplistic description but it seems like it oughta work? > > Pete Haworth > > On Jan 31, 2011, at 9:56 AM, Bob Sneidar wrote: > >> When I started this whole thread, what I had in mind was a simple method for allowing commands and even whole stacks to run concurrently with other stacks, while still being able to communicate with each other through the engine. All the stuff about enabling and disabling communications between things is to me irrelevant. Just compile 2 apps and they will not be able to talk natively to each other. Done deal. >> >> Some tell me that multithreading is not that simple. Well nothing under the hood of any app is simple, and triply so for a development environment. My idea was for the engine to handle communications between all of it's objects the way it does now, but have concurrent processes IF YOU WANTED. >> >> By default, I envision LiveCode working just the way it does now, with the OPTION to say something like: >> >> open stack "Accounts Receivable" with new thread >> or >> do ReportGen with new thread >> >> I could then check in on the state of a global from time to time in my Progress Bar modal stack or switch back to my "Order Entry" stack and continue entering my customer's order while the report generator was running. See? I personally do not have any interest whatsoever managing all the threading myself. I use LiveCode so I do not HAVE to know or understand that sort of thing. I am only one person. One of the things that LiveCode allows us to do, which is not talked about much, is to produce really nice and functional applications with incredibly minimal resources (like only one developer!) >> >> Bob >> >> >> On Jan 31, 2011, at 9:35 AM, form wrote: >> >>> Even discounting games, I'd love to be able to designate a substack to being >>> "threaded", disabling its access to objects in other stacks, and limiting >>> communication to event/message passing. >>> >>> It would be very much like using the open process command with a Windows >>> command line program. (WHY doesn't it work with Mac command line >>> programs?!?!) >>> >>> I use open process is a stack to start a makefile and monitor its output >>> while keeping the interface perfectly responsive. I do the same on a mac >>> using a shell command outputting to a text file that I sample the tail from >>> in another shell command. Hackier, but it gets the basic job done. >>> >>> But if I have LiveCode that I want to start and monitor, I'm out of luck. >>> (Without getting REALLY hacky, that is.) >>> >>> ~ Chris Innanen >>> ~ Nonsanity >>> >>> >>> On Mon, Jan 31, 2011 at 11:57 AM, Bob Sneidar wrote: >>> >>>> Well now that there is Livecode for iApps, a lot of people may want it, but >>>> I for one am never going to develop a game, even a simple one. >>>> >>>> Bob >>>> >>>> >>>> On Jan 29, 2011, at 5:06 PM, Alejandro Tejada wrote: >>>> >>>>> Hi All, >>>>> >>>>> It's nice to read discussions about features that >>>>> enhance this platform, but now I have one doubt: >>>>> >>>>> How many developers (who use Livecode) want >>>>> to see this platform converted in a game engine? >>>>> >>>>> Notice that the only DLL in my wish list for this >>>>> platform is a SWF player, that allows to run >>>>> movies inside a stack, just like the Quicktime >>>>> externals. I do not want to see a Timeline >>>>> in this platform... >>>>> >>>>> At least in my mind, you could not build (easily) >>>>> the kind of applications created with Livecode >>>>> if it were a game engine. Am I wrong? >>>>> >>>>> Or There are no boundaries anymore among >>>>> Software Development tools? >>>>> >>>>> Al >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 31 14:39:45 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 31 Jan 2011 11:39:45 -0800 Subject: [OT] Microsoft SOS In-Reply-To: <4D47083A.7090009@gmail.com> References: <4D47083A.7090009@gmail.com> Message-ID: <0B10C5B5-23FB-49B7-9E6E-B72E2CC93B38@twft.com> I am so very, very tired. Bob On Jan 31, 2011, at 11:06 AM, Richmond wrote: > Here we go again: > > http://www.bbc.co.uk/news/technology-12325139 > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 31 14:43:04 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 31 Jan 2011 11:43:04 -0800 Subject: An idea on multithreading implementation In-Reply-To: <599F74E3-4967-4C6A-B800-41D4B077E636@clarkeandclarke.co.uk> References: <26FF0242-ECC8-4ADD-B955-E29F7F6B1A95@twft.com> <05480475-2ADB-4300-A77E-3D28B4911B39@twft.com> <83A6820F-72F1-49B7-A402-14BF253633E8@mollysrevenge.com> <599F74E3-4967-4C6A-B800-41D4B077E636@clarkeandclarke.co.uk> Message-ID: <80374BE4-4970-446E-8D80-3E32DF705910@twft.com> Wha?? Metal Buttocks?? I think we have a new ban category!! All in fun, Bob On Jan 31, 2011, at 11:12 AM, Keith Clarke wrote: > I don't really know what I'm talking about here - this is probably all metabollocks. From keith.clarke at clarkeandclarke.co.uk Mon Jan 31 14:58:17 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Mon, 31 Jan 2011 19:58:17 +0000 Subject: An idea on multithreading implementation In-Reply-To: <80374BE4-4970-446E-8D80-3E32DF705910@twft.com> References: <26FF0242-ECC8-4ADD-B955-E29F7F6B1A95@twft.com> <05480475-2ADB-4300-A77E-3D28B4911B39@twft.com> <83A6820F-72F1-49B7-A402-14BF253633E8@mollysrevenge.com> <599F74E3-4967-4C6A-B800-41D4B077E636@clarkeandclarke.co.uk> <80374BE4-4970-446E-8D80-3E32DF705910@twft.com> Message-ID: <9606ADA8-50C4-4FB9-BD91-760E7E72BDBC@clarkeandclarke.co.uk> Bollox is the detailed rubbish - metabollox is the multi-faceted architecture of the detailed rubbish. A kind of virtual landfill! Metal Buttocks is a completely different website! ;-) ...I'll get my coat... On 31 Jan 2011, at 19:43, Bob Sneidar wrote: > Wha?? Metal Buttocks?? I think we have a new ban category!! > > All in fun, > Bob > > > On Jan 31, 2011, at 11:12 AM, Keith Clarke wrote: > >> I don't really know what I'm talking about here - this is probably all metabollocks. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ma at snowcamp.org Mon Jan 31 15:20:38 2011 From: ma at snowcamp.org (Mike Arnold) Date: Mon, 31 Jan 2011 15:20:38 -0500 Subject: Linux standalone Message-ID: <5D9CAC97-9E0F-4E52-BD04-2A3E017D8E7A@snowcamp.org> I am working on the multi-platform distribution of a simple application that uses revBrowser function. The mac standalone (development system too) is working, Windows in about 95% (still haven't figured out how to handle separators & disabled items which seem to not work in Windows), but now that I am moving on to Linux, I am seeing more problems. The Windows implementation of revBrowser had some interesting unique differences and it seems Linux does too. In particular, I create a substack and display a revBrowser window there with 'in-memory' html, the new substack window is empty. Is there something I must do differently for Linux? thanks, Mike. From bornstein at designeq.com Mon Jan 31 15:12:23 2011 From: bornstein at designeq.com (Howard Bornstein) Date: Mon, 31 Jan 2011 12:12:23 -0800 Subject: semi[OT] Preview of Intelli-Pubs In-Reply-To: References: Message-ID: On Mon, Jan 31, 2011 at 3:41 AM, wrote: > Please take a look at some screenshots at http://www.intelli-pubs.com, > look forward to some reactions. > Couldn't get this link to work: "the server where this page is located isn?t responding." -- Regards, Howard Bornstein ----------------------- www.designeq.com From katir at hindu.org Mon Jan 31 15:50:30 2011 From: katir at hindu.org (Sivakatirswami) Date: Mon, 31 Jan 2011 10:50:30 -1000 Subject: LiveCode for e-book production In-Reply-To: References: Message-ID: <4D472096.30009@hindu.org> I know LiveCode, being so powerful, can handle complex projects involving lots of logic and structures, but is it suitable / practical to use it for e-book production? > Saludos, > > Javier Miranda V. > Like Jim said and Colin implied, "It depends on what you mean by eBook. " We are deep into eBooks here. Probably more than you want to know here, but here goes anyway: What LiveCode can do or not do for you in the production process depends both on your source content and target channels. If you are "man in the middle" with a client shoving you MSWord docs, images and files and they want to deliver to: 1) ePub for iBooks or Adobe Digital Editions 2) .mobi for Kindle or .epub for Nook then you might find your best tools are to create the book in Adobe indesign and then outsource the job to a company in India that specializes in creating the above formats (for incredibly low prices, e.g. 75 cents a page) Atritex in Chennai. (amazing team there) The above formats are .xhtml files with some metadata files + CSS that all conform to a relatively dumbed down html mark up but very precise. (see our first offerings here: all free: http://www.himalayanacademy.com/donations/ddd LiveCode is really not the platform for creating ePub (mobi, nook) because the html-text of fields is very limited. And to code all the tools for that in LiveCode when InDesign does it for you automatically (more or less) would be a bit insane. That said, I use LiveCode for decades to drive in house publishing production processes. e.g. for eBook i have a widget that can upzip the epub, get an index of the files and pass off the launching to BBEdit, save the .xhtml files, then launch them for preview in Safari (which let 's you see pretty much everything you will on the iPad except for page breaks.) i.e. Livecode is just acting as a file manager and GUI for work flows and not really doing anything at all for the "product." I was going to develop this even more, but then, thanks to someone here on this list pointing out about getting artwork done on eLance, we found this incredible company in Chennai and outsourced the work to them... via eLance I'm sooooo glad, because getting in the trenches with epub format felt like horrible neanderthal regression to html circa 1998. see latest releases here: http://www.himalayanacademy.com/resources/ebooks/ Atritex turned and entire issue of Hinduism Today magazine into an ebook in less than a week! We got back to them with a few refinement requests and we had a finished product in under 3 weeks for less thatn $2.00 a page... and here our team of 6 had been sweating out days and days of learning curve learning how to dumb down complex publications to ebook formats, going nuts over minute details of getting CSS to just deliver a proper margin underneath and image on the iPad, "Oh Gawd Please!" really, you don't want to go there if you don't have to... It was painful but now we outsource it. But frankly, even though we are focused now on moving *all* of our print content in to the above epub formats, as a matter of course, so to speak on our road map, all indications from early deployment are that while you will always have a segment of people who just like to sit back and "read stuff" in their old comfortable chair with a Kindle or at breakfast with their iPad, the next generation really does not consume information like that any more, even if you stick a SomeCoolNovel.epub in their face in the iBook store, they necessarily won't go for it. Over 40 maybe... still like to read walls of type... And don't think they are not smart and don't think "they don't read any more." both are stereotypes that miss the truth, it's just that "walls of words." (Pages and pages of type with occasional images) are no longer very magnetic for many of them. ON THE OTHER HAND If you are not man in the middle and are also the "creative" you could certainly create marvelous interactive LiveCode stacks, which would include enough reading material and some kind of "pagination" model that fit the old paradigm just enough for you to still call it a "book" and deploy it as an application and then just label it "eBook" ... the young generation (freshmen at college thru two-five years out from graduation) won't care what you call it. You can check out my still popular: http://himalayanacademy.com/resources/children/dws_youth/ (made in 2002, still runs!) get the stack if you want here: go stack url "http://himalayanacademy.com/resources/children/dws_youth/dwsYouthCourse.rev" If I added a little sound and video to that thing it would be suddenly "hot" But, it would not be accepted in iBooks or other eBook channels that require the epub or mobi standard for content. So, are these things really an "eBooks" or an "applications" with lots of information and type? So, even though we *are* going to get all publications dumbed down to *.xhtml-epub... internally we probably will be moving in the other direction, right now we are already taking edu KeyNotes, segmenting these and putting up on YouTube. I've been waiting for 2 years! for the RevWeb Plug in.. and then we can leverage this new model for content delivery... but I don't think we can call them eBooks. And, not to forget. even today, people are downloading my few standalone stacks some made nearly 10 years ago for delivery off line to kids classes (via PC and projectors) if we get a revWeb plug in for browsers on Android and/or we can deliver standalone apps to the new wave of tablets, Much of whether we can do much in this direction (for those not really focused on iOS) depends if LiveCode gets their web-multi-media end of the product up enough, soon enough. They are 2-5 years behind the rest of the digital world in this arena. And "iOS Fever" is only delaying it even more....e.g. a a smart young newbie with the chops for coding, buying this product for creative content delivery, will be shocked to discover he cannot even play multiple sounds simultaneously. (oops, don't get me going again -- on the multi-media issues...) But I still keep hoping. Meanwhile for production-business tools LiveCode is the best. Aum Shanti, Sivakatirswami Kauai's Hindu Monastery www.himalayanacademy.com www.hinduismtoday.com From richmondmathewson at gmail.com Mon Jan 31 15:52:23 2011 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 31 Jan 2011 22:52:23 +0200 Subject: An idea on multithreading implementation In-Reply-To: <9606ADA8-50C4-4FB9-BD91-760E7E72BDBC@clarkeandclarke.co.uk> References: <26FF0242-ECC8-4ADD-B955-E29F7F6B1A95@twft.com> <05480475-2ADB-4300-A77E-3D28B4911B39@twft.com> <83A6820F-72F1-49B7-A402-14BF253633E8@mollysrevenge.com> <599F74E3-4967-4C6A-B800-41D4B077E636@clarkeandclarke.co.uk> <80374BE4-4970-446E-8D80-3E32DF705910@twft.com> <9606ADA8-50C4-4FB9-BD91-760E7E72BDBC@clarkeandclarke.co.uk> Message-ID: <4D472107.7070708@gmail.com> On 01/31/2011 09:58 PM, Keith Clarke wrote: > Bollox is the detailed rubbish - metabollox is the multi-faceted architecture of the detailed rubbish. A kind of virtual landfill! > > Metal Buttocks is a completely different website! ;-) > > ...I'll get my coat... Oh Dear: just don't start "Flash"-ing . . . :) > On 31 Jan 2011, at 19:43, Bob Sneidar wrote: > >> Wha?? Metal Buttocks?? I think we have a new ban category!! >> >> All in fun, >> Bob >> >> >> On Jan 31, 2011, at 11:12 AM, Keith Clarke wrote: >> >>> I don't really know what I'm talking about here - this is probably all metabollocks. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Jan 31 15:54:36 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 31 Jan 2011 12:54:36 -0800 Subject: Linux standalone Message-ID: <4D47218C.5080508@fourthworld.com> Mike Arnold wrote: > The Windows implementation of revBrowser had some interesting > unique differences and it seems Linux does too. > > In particular, I create a substack and display a revBrowser window > there with 'in-memory' html, the new substack window is empty. Is > there something I must do differently for Linux? Where do I get revBrowser for Linux? I've been wanting this for some time, but I haven't seen notice that one was made and I don't see it in my LC 3.5.3/Contents/Runtime/Linux/x86-32/Externals/ folder. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From pete at mollysrevenge.com Mon Jan 31 15:56:57 2011 From: pete at mollysrevenge.com (Peter Haworth) Date: Mon, 31 Jan 2011 12:56:57 -0800 Subject: Enhancement Vote Message-ID: <738B04DC-8795-4F90-A7BC-80ED60C2838B@mollysrevenge.com> I submitted a request a while back to have an option to sort the substacks of a main stack in alpha name order in the IDE Application Browser Window. It's report number 9299. I have no idea if the dev team place any weight on the number of votes a request receives but if this is something you would like to see, give it a vote at http://quality.runrev.com/qacenter/show_bug.cgi?id=9299 Thanks, Pete Haworth From revdev at pdslabs.net Mon Jan 31 16:03:24 2011 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 31 Jan 2011 13:03:24 -0800 Subject: Alternating Column Colors? In-Reply-To: References: <689BFF5A-E660-461B-B188-E8120C77FDEA@twft.com> <4D446991.9060204@pdslabs.net> Message-ID: <4D47239C.7060600@pdslabs.net> I don't think so - the fields don't exist until you put some data into the grid. Phil On 1/31/11 8:51 AM, Bob Sneidar wrote: > Wait, you can do this even if there is no data if the data grid? > > Bob > > > On Jan 29, 2011, at 11:25 AM, Phil Davis wrote: > >> Scott, >> >> Each cell in a data grid is a field, so it seems like it should be doable. >> >> I created a DG and put some data in it. Then I did this from msg: >> >> put the number of flds in selobj -- DG was selected >> --> 57 >> >> put the name of fld 44 of selobj >> --> field "Status 0008" >> >> My DG has a column named "Status". >> >> After further poking around, I see: >> - each DG cell is a field >> - the number of fields is related to the display rect of the DG, not to the number of lines of data in it >> - fields are recreated when the DG's data is changed >> - every field in the DG has a style of 'transparent' >> - you can set a field's style to opaque and then any backColor you apply to it will show up >> - the style changes you make seem to stick until the DG data is changed >> >> Maybe some of the above will help you on your way. >> >> Phil >> >> >> >> On 1/28/11 3:54 PM, Bob Sneidar wrote: >>> Oh cool! Then you could make a chess or checkers game! I get it! >>> >>> I read the API and none of the properties suggests you can do this. I think you will have to find the part of the parent script that draws the cells and change the background color on each one individually for odd or even rows. >>> >>> The problem will then become, what happens if there is no data? Rows get colored even if there is no data, but no actual cells (cloned fields) get created until there is data. >>> >>> I tried to edit the row template and put a colored square over the gray bar, but mine is a table not a form. You might be able to do it in a form, I'm not sure. At any rate it didn't work for me. >>> >>> Bob >>> >>> >>> On Jan 28, 2011, at 1:55 PM, Scott Rossi wrote: >>> >>>> Hi List: >>>> >>>> The data grid nicely incorporates alternating line colors. But does anyone >>>> know if it's possible to make alternating column colors or cell colors? >>>> >>>> I'm building a control that has a horizontal scrolling data grid with only >>>> one row. I'd like to be able to set alternating colors for cells or columns >>>> in the row. Possible? >>>> >>>> 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 >>> >> -- >> Phil Davis >> >> PDS Labs >> Professional Software Development >> http://pdslabs.net >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From warren at warrensweb.us Mon Jan 31 16:15:13 2011 From: warren at warrensweb.us (Warren Samples) Date: Mon, 31 Jan 2011 15:15:13 -0600 Subject: Linux standalone In-Reply-To: <5D9CAC97-9E0F-4E52-BD04-2A3E017D8E7A@snowcamp.org> References: <5D9CAC97-9E0F-4E52-BD04-2A3E017D8E7A@snowcamp.org> Message-ID: <1296508513.8083.83.camel@mint-i7> On Mon, 2011-01-31 at 15:20 -0500, Mike Arnold wrote: > I am working on the multi-platform distribution of a simple application that uses revBrowser function. The mac standalone (development system too) is working, Windows in about 95% (still haven't figured out how to handle separators & disabled items which seem to not work in Windows), but now that I am moving on to Linux, I am seeing more problems. The Windows implementation of revBrowser had some interesting unique differences and it seems Linux does too. > > In particular, I create a substack and display a revBrowser window there with 'in-memory' html, the new substack window is empty. Is there something I must do differently for Linux? > > thanks, > Mike. > _______________________________________________ Hi Mike, revBrowser doesn't exist for Linux :( That explains the blank window. If you check the dictionary, you'll notice all the revBrowser stuff is only for Windows and Mac. As Richard suggests, when a browser object becomes available for Linux, there will be some very happy Livecoders! Best, Warren From bobs at twft.com Mon Jan 31 17:04:34 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 31 Jan 2011 14:04:34 -0800 Subject: Alternating Column Colors? In-Reply-To: <4D47239C.7060600@pdslabs.net> References: <689BFF5A-E660-461B-B188-E8120C77FDEA@twft.com> <4D446991.9060204@pdslabs.net> <4D47239C.7060600@pdslabs.net> Message-ID: And yet see Zryip's new feature for DGH! He seems to have pulled it off nicely. Bob On Jan 31, 2011, at 1:03 PM, Phil Davis wrote: > I don't think so - the fields don't exist until you put some data into the grid. > Phil > > > On 1/31/11 8:51 AM, Bob Sneidar wrote: >> Wait, you can do this even if there is no data if the data grid? >> >> Bob >> >> >> On Jan 29, 2011, at 11:25 AM, Phil Davis wrote: >> >>> Scott, >>> >>> Each cell in a data grid is a field, so it seems like it should be doable. >>> >>> I created a DG and put some data in it. Then I did this from msg: >>> >>> put the number of flds in selobj -- DG was selected >>> --> 57 >>> >>> put the name of fld 44 of selobj >>> --> field "Status 0008" >>> >>> My DG has a column named "Status". >>> >>> After further poking around, I see: >>> - each DG cell is a field >>> - the number of fields is related to the display rect of the DG, not to the number of lines of data in it >>> - fields are recreated when the DG's data is changed >>> - every field in the DG has a style of 'transparent' >>> - you can set a field's style to opaque and then any backColor you apply to it will show up >>> - the style changes you make seem to stick until the DG data is changed >>> >>> Maybe some of the above will help you on your way. >>> >>> Phil >>> >>> >>> >>> On 1/28/11 3:54 PM, Bob Sneidar wrote: >>>> Oh cool! Then you could make a chess or checkers game! I get it! >>>> >>>> I read the API and none of the properties suggests you can do this. I think you will have to find the part of the parent script that draws the cells and change the background color on each one individually for odd or even rows. >>>> >>>> The problem will then become, what happens if there is no data? Rows get colored even if there is no data, but no actual cells (cloned fields) get created until there is data. >>>> >>>> I tried to edit the row template and put a colored square over the gray bar, but mine is a table not a form. You might be able to do it in a form, I'm not sure. At any rate it didn't work for me. >>>> >>>> Bob >>>> >>>> >>>> On Jan 28, 2011, at 1:55 PM, Scott Rossi wrote: >>>> >>>>> Hi List: >>>>> >>>>> The data grid nicely incorporates alternating line colors. But does anyone >>>>> know if it's possible to make alternating column colors or cell colors? >>>>> >>>>> I'm building a control that has a horizontal scrolling data grid with only >>>>> one row. I'd like to be able to set alternating colors for cells or columns >>>>> in the row. Possible? >>>>> >>>>> 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 >>>> >>> -- >>> Phil Davis >>> >>> PDS Labs >>> Professional Software Development >>> http://pdslabs.net >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > -- > Phil Davis > > PDS Labs > Professional Software Development > http://pdslabs.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From johnpatten at mac.com Mon Jan 31 17:12:18 2011 From: johnpatten at mac.com (John Patten) Date: Mon, 31 Jan 2011 14:12:18 -0800 Subject: Getting Contents of Multiple fields in order (Left-to-Right&Down) In-Reply-To: References: <0B9266DE-CFEA-4D58-B020-16472FC8DCE7@mac.com> <08592DC8-12CD-4E96-A442-83DF1C0347C9@yahoo.com> <4D445FC2.1030500@hyperactivesw.com> <0605BB02-52DD-4DF4-8F3B-D9843D7E8639@yahoo.com> <4D446C03.4030102@hyperactivesw.com> <4D45AF86.5040604@hyperactivesw.com> Message-ID: <978227C0-DA0D-4EF2-B31A-3F5625AE4222@mac.com> Thanks Chris! I still seem to be getting some inconsistencies related to your script. I thought I'd align each button by its bottom, but that did not seem to help. It seems it reads a partial correct order. I've placed a copy of the stack here: http://dl.dropbox.com/u/6767916/RefrigMagnetTest.livecode It seems like some of the custom properties are not registering correctly...? Thanks for your help! John Patten SUSD On Jan 31, 2011, at 11:11 AM, form wrote: > Slight fix to the code: > > if x < x1 and abs(x1 - x) >= abs(y1 - y) and d < nxtd and the > lastbtn of btn > b < 1 then > > Needed to make sure the button wasn't already used in the previous > line. > > ~ Chris Innanen > ~ Nonsanity > > > > On Mon, Jan 31, 2011 at 2:00 PM, form wrote: > >> I'm thinking you're going for refrigerator poetry magnets, or >> something >> like it. To that end, I made something that reads the order similar >> to the >> way a human would. I haven't tested it a lot, but this was the >> arrangement I >> used: >> >> http://dl.dropbox.com/u/144280/btnorder.png >> >> There are a dozen buttons, named with their btn number. (So button >> 6 is >> named "6".) Notice that word 8 is at about the same level as word >> 9, but >> still counts as part of the second row. >> >> Running the following script sets properties on all the buttons >> (and one on >> the card) that lets you easily walk through them from other >> scripts. The >> scanrwords command needs to be re-run after moving the buttons, but >> only >> then. >> >> The last chunk of the scanwords command does a sample walkthrough and >> outputs the buttons in "word" order to the messagebox. Use that >> code in >> other functions that need to move through the words. >> >> >> on scanwords >> -- clear the custom properties >> repeat with a = 1 to the number of btns >> set the nextbtn of btn a to "0" >> set the lastbtn of btn a to "0" >> set the startsline of btn a to "0" >> set the linenumber of btn a to "0" >> set the nextline of btn a to "0" >> end repeat >> >> repeat with a = 1 to the number of btns >> put item 1 of the loc of btn a into x >> put item 2 of the loc of btn a into y >> put "" into nxtbtn >> put 100000000 into nxtd >> repeat with b = 1 to the number of btns >> if a = b then next repeat >> put dist( loc of btn a, loc of btn b ) into d >> put item 1 of the loc of btn b into x1 >> put item 2 of the loc of btn b into y1 >> if x < x1 and abs(x1 - x) >= abs(y1 - y) and d < nxtd then >> put d into nxtd >> put b into nxtbtn >> end if >> end repeat >> if nxtbtn is not empty then >> set the nextbtn of btn a to nxtbtn >> set the lastbtn of btn nxtbtn to a >> end if >> end repeat >> >> put "" into sortlines >> repeat with a = 1 to the number of btns >> if the lastbtn of btn a < 1 >> then put item 2 of the loc of btn a &","& a & return after >> sortlines >> end repeat >> sort lines of sortlines numeric by item 1 of each >> repeat with a = 1 to the number of lines in sortlines >> set the startsline of btn (item 2 of line a of sortlines) to a >> end repeat >> >> set the firstbtn of this card to item 2 of line 1 of sortlines >> put 0 into lasttgt >> repeat with a = 1 to the number of lines in sortlines >> put item 2 of line a of sortlines into tgt >> set the linenumber of btn tgt to a >> if lasttgt > 0 then set the nextline of btn lasttgt to tgt >> put the short name of btn tgt &"," after output >> put tgt into lasttgt >> put the nextbtn of btn tgt into tgt >> repeat while tgt > 0 >> set the linenumber of btn tgt to a >> put the short name of btn tgt &"," after output >> put tgt into lasttgt >> put the nextbtn of btn tgt into tgt >> end repeat >> end repeat >> >> -- all buttons are now tagged with the information needed to read >> them >> -- the first button is in the firstbtn of this card >> -- buttons that start a new line have a startsline property of >> the line >> they start >> -- the line each button is on is in its linenumber property >> -- the nextbtn and lastbtn point to the next and last button in >> that >> line, respectively >> -- buttons at the end of a line have a nextline property with >> -- the number of the next line's first button >> >> -- output the "words" in order to the msg box >> put "" into output >> put the firstbtn of this card into tgt >> repeat while tgt > 0 >> put tgt &"," after output >> get the nextbtn of btn tgt >> if it < 1 then get the nextline of btn tgt >> put it into tgt >> end repeat >> delete last char of output >> put output into msg >> end scanwords >> >> >> function dist a, b >> return sqrt( (item 1 of b - item 1 of a)*(item 1 of b - item 1 of >> a) + >> (item 2 of b - item 2 of a)*(item 2 of b - item 2 of a) ) >> end dist >> >> >> ~ Chris Innanen >> ~ Nonsanity >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ma at snowcamp.org Mon Jan 31 17:24:47 2011 From: ma at snowcamp.org (Mike Arnold) Date: Mon, 31 Jan 2011 17:24:47 -0500 Subject: Linux standalone In-Reply-To: <1296508513.8083.83.camel@mint-i7> References: <5D9CAC97-9E0F-4E52-BD04-2A3E017D8E7A@snowcamp.org> <1296508513.8083.83.camel@mint-i7> Message-ID: Warren & Richard, Thank you for your responses. Yep, right there in the doc it says that its Windows & Mac only. That is quite disappointing (but at least it is documented, unlike a number of other mac vs windows behaviors). Its not that I expect many (if any) linux users for this particular application, but its just disappointing for such a common function to not be available across all platforms. Though the fact that menus (comboxes, etc) are missing commonly supported features like separator lines & disabled item are missing from windows is also a big disappointment. (is there a way to implement these?) sorry for the whine, Mike. From ambassador at fourthworld.com Mon Jan 31 17:43:34 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 31 Jan 2011 14:43:34 -0800 Subject: Linux standalone Message-ID: <4D473B16.8070806@fourthworld.com> Mike Arnold wrote: > Yep, right there in the doc it says that its Windows & Mac only. > That is quite disappointing (but at least it is documented, unlike > a number of other mac vs windows behaviors). > Its not that I expect many (if any) linux users for this particular > application, but its just disappointing for such a common function to > not be available across all platforms. There will likely be an option for us to see a Linux version of RevBrowser relatively soon, but how soon is anyone's guess right now. Hopefully Kevin can chime in with details. > Though the fact that menus (comboxes, etc) are missing commonly > supported features like separator lines & disabled item are missing > from windows is also a big disappointment. (is there a way to > implement these?) Microsoft says "no"; there's no support for that in their HIG. :( I wouldn't mind if RunRev rolled their own on that one; I think MS' position on it is wrong. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From revmaillist at positivme.com Mon Jan 31 18:12:08 2011 From: revmaillist at positivme.com (Thunder) Date: Mon, 31 Jan 2011 15:12:08 -0800 (PST) Subject: semi[OT] Preview of Intelli-Pubs In-Reply-To: References: Message-ID: <1296515528415-3250158.post@n4.nabble.com> Ditto ... -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/semi-OT-Preview-of-Intelli-Pubs-tp3248530p3250158.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Mon Jan 31 18:55:49 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 31 Jan 2011 15:55:49 -0800 (PST) Subject: [ANN] Revision to TimeMachine In-Reply-To: <40D457E1-6CF0-459C-8736-B121BA131802@mac.com> References: <40D457E1-6CF0-459C-8736-B121BA131802@mac.com> Message-ID: <1296518149001-3250202.post@n4.nabble.com> Hi Roger, Many thanks for updating your stack with ideas proposed in this list. Have you test it in Windows? http://dl.dropbox.com/u/3834621/TimeMachine_screenshot.PNG When I open the stack on Windows, I receive many warnings: compiling at 7:17:22 PM Type if: missing 'then' Object play Line if gTP  eval then send "mouseUp" to btn "strtOvr" Hint   (Probably, you used a Mac Only character instead of <>) Cant find handler "clearFlds" Line: send "clearFlds" to stack "eventControl" How could I fix these warnings? Thanks in advance. Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Revision-to-TimeMachine-tp3248071p3250202.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Mon Jan 31 19:19:42 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 31 Jan 2011 16:19:42 -0800 Subject: [ANN] Revision to TimeMachine In-Reply-To: <1296518149001-3250202.post@n4.nabble.com> References: <40D457E1-6CF0-459C-8736-B121BA131802@mac.com> <1296518149001-3250202.post@n4.nabble.com> Message-ID: Try changing it to is or is not. I always use words instead of operators because it makes the code easy to read, and I don't run into these kinds of problems. Bob On Jan 31, 2011, at 3:55 PM, Alejandro Tejada wrote: > > Hi Roger, > > Many thanks for updating > your stack with ideas > proposed in this list. > > Have you test it in Windows? > http://dl.dropbox.com/u/3834621/TimeMachine_screenshot.PNG > > When I open the stack on Windows, > I receive many warnings: > > compiling at 7:17:22 PM > Type if: missing 'then' > Object play > Line if gTP  eval then send "mouseUp" to btn "strtOvr" > Hint   > > (Probably, you used a Mac Only character instead of <>) > > Cant find handler "clearFlds" > Line: send "clearFlds" to stack "eventControl" > > How could I fix these warnings? > Thanks in advance. > > Alejandro > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Revision-to-TimeMachine-tp3248071p3250202.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